rsi.cli
Version:
The swiss army knife for RSI related tasks.
34 lines (30 loc) • 567 B
text/typescript
export interface ISchemaClass {
name: string,
properties?: {
type: string,
name: string
}[]
}
export interface ISchemaEnum {
name: string,
belongsTo: string,
properties: string[]
}
export interface ISchemaType {
name: string
}
export interface ISchemaReference {
from: string,
to: string,
property: string
}
export interface ISchemaNameSpace {
name: string,
classes?: ISchemaClass[],
enums?: ISchemaEnum[],
types?: ISchemaType[],
references?: ISchemaReference[]
}
export interface ISchema {
namespaces: ISchemaNameSpace[]
}