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.
 
 
 
 
 
fms/api/sm/responses/comamnds.ts

36 lines
757 B

export interface OptionInterface {
name: string,
description: string | null,
default: any,
value: any,
shortcut: string | null,
isArray: boolean,
isNegatable: boolean,
isValueOptional: boolean,
isValueRequired: boolean
acceptValue: boolean
}
export interface ArgumentInterface {
name: string,
description: string|null,
default: any,
isArray: boolean,
isRequired: boolean,
}
export interface ArgumentInterface {
name: string,
description: string|null,
default: any,
isArray: boolean,
isRequired: boolean,
}
export interface CommandInterface {
class: string,
name: string,
description: string,
options: OptionInterface[],
arguments: ArgumentInterface[],
}