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.
24 lines
561 B
24 lines
561 B
2 years ago
|
type APIFenceTemplate = {
|
||
|
[fenceId: string]: {
|
||
|
actions: string[];
|
||
|
description: string;
|
||
|
parameters: {
|
||
|
[parameterId: string]: {
|
||
|
content_type: 'boolean' | 'integer' | 'second' | 'select' | 'string';
|
||
|
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 };
|
||
|
};
|
||
|
};
|
||
|
};
|