UNPKG

816 BTypeScriptView Raw
1// Copyright (c) .NET Foundation. All rights reserved.
2// Licensed under the MIT License.
3
4import { FunctionOptions, RetryOptions } from './index';
5
6export interface GenericFunctionOptions extends FunctionOptions {
7 /**
8 * An optional retry policy to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached.
9 * Learn more [here](https://learn.microsoft.com/azure/azure-functions/functions-bindings-error-pages)
10 */
11 retry?: RetryOptions;
12}
13
14export interface GenericTriggerOptions extends Record<string, unknown> {
15 type: string;
16}
17
18export interface GenericInputOptions extends Record<string, unknown> {
19 type: string;
20}
21
22export interface GenericOutputOptions extends Record<string, unknown> {
23 type: string;
24}