You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
621 B
30 lines
621 B
type FenceParameterType = |
|
| 'boolean' |
|
| 'integer' |
|
| 'second' |
|
| 'select' |
|
| 'string'; |
|
|
|
type APIFenceTemplate = { |
|
[fenceId: string]: { |
|
actions: string[]; |
|
description: string; |
|
parameters: { |
|
[parameterId: string]: { |
|
content_type: FenceParameterType; |
|
default?: string; |
|
deprecated: number; |
|
description: string; |
|
obsoletes: number; |
|
options?: string[]; |
|
replacement: string; |
|
required: '0' | '1'; |
|
switches: string; |
|
unique: '0' | '1'; |
|
}; |
|
}; |
|
switch: { |
|
[switchId: string]: { name: string }; |
|
}; |
|
}; |
|
};
|
|
|