1 | // Copyright (c) .NET Foundation. All rights reserved.
|
2 | // Licensed under the MIT License.
|
3 |
|
4 | import { FunctionOptions, RetryOptions } from './index';
|
5 |
|
6 | export 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 |
|
14 | export interface GenericTriggerOptions extends Record<string, unknown> {
|
15 | type: string;
|
16 | }
|
17 |
|
18 | export interface GenericInputOptions extends Record<string, unknown> {
|
19 | type: string;
|
20 | }
|
21 |
|
22 | export interface GenericOutputOptions extends Record<string, unknown> {
|
23 | type: string;
|
24 | }
|