UNPKG

@lcap/asl

Version:

NetEase Application Specific Language

417 lines (416 loc) 8.14 kB
App level: LEVEL_ENUM id: string appId: string name: string title: string icon: string description: string dnsAddr: string officialType: 'offical' | 'nonofficial' ideVersion: string projectId: string tenantId: string userGroupId: string services: Array<Service> firstWebService: WebService firstMicroService: MicroService Service level: LEVEL_ENUM type: SERVICE_TYPE id: string name: string title: string icon: string appId: string data: DataNode interfaces: Array<Interface> app: App expanded: boolean WebService type: SERVICE_TYPE status: 'UNPUBLISHED' | 'PUBLISHED' | 'REPOSITORYCREATED' | 'FSSTARTED' | 'APPINIT' | 'CODESYNCED' | 'CICDCREATED' officialType: 'official' | 'nonofficial' dnsAddr: string packageInfo: { template: { name: string; version: string; }; ui: { name: string; version: string; }; componentDependencies: { [name: string]: string; }; } config: string api: { features: { [name: string]: boolean; }; builtInFunctions: { [name: string]: any; }; } pages: Array<Page> MicroService type: SERVICE_TYPE packageName: string serverPort: number interfaces: Array<Interface> EventEmitter _events: { [name: string]: Array<EventListener>; } Vertex _mutable: undefined level: LEVEL_ENUM JSON_EXCLUDED_KEYS: Set<string> id: string createdBy: string createdTime: string updatedBy: string updatedTime: string ideVersion: string editable: boolean editing: boolean expanded: boolean isLeaf: boolean DataNode level: LEVEL_ENUM type: 'entities' | 'structures' entities: Array<Entity> structures: Array<Structure> enums: Array<Enum> erdiagrams: Array<any> entityExpanded: boolean structureExpanded: boolean enumExpanded: boolean service: Service Entity level: LEVEL_ENUM id: string schemaRef: string name: string description: string type: 'object' propertyList: Array<EntityProperty> resolvers: Array<Resolver> serviceId: string serviceType: string service: MicroService dataNode: DataNode existingNames: Array<string> EntityProperty level: LEVEL_ENUM id: string name: string label: string description: string type: string format: string $ref: string $refId: string relationship: string rules: Array<string> display: Display defaultValue: string | boolean | number entityId: string root: Entity isLeaf: boolean existingNames: Array<string> Enum level: LEVEL_ENUM id: string schemaRef: string name: string label: string description: string type: 'enum' enumItemList: Array<EnumItem> serviceId: string serviceType: string service: Service dataNode: DataNode existingNames: Array<string> EnumItem id: string value: string label: string root: Enum Interface level: LEVEL_ENUM id: string key: string name: string protocol: string host: string port: string path: string method: string description: string logicId: string logic: Logic serviceType: 'micro' | 'entity' | 'microservice' serviceId: string entityId: string serviceName: string service: MicroService parameters: string responses: string requestBody: string moreChildrenFields: Array<string> existingNames: Array<string> Structure level: LEVEL_ENUM id: string schemaRef: string name: string description: string type: 'object' propertyList: Array<StructureProperty> resolvers: string serviceId: string serviceType: string entityId: string service: Service dataNode: DataNode existingNames: Array<string> StructureProperty level: LEVEL_ENUM id: string name: string label: string description: string type: string format: string required: boolean $ref: string isArray: boolean rules: any defaultValue: string | boolean | number structureId: string root: Structure isLeaf: undefined existingNames: Array<string> BaseVariable level: LEVEL_ENUM type: undefined id: string code: string name: string description: string _posIndex: number logicId: string logic: Logic schema: Schema schemaChildren: Array<Schema> required: boolean isLeaf: undefined Logic level: LEVEL_ENUM id: string name: string description: string moduleId: string moduleType: 'view' | 'microService' serviceId: string serviceType: 'view' | 'entity' | 'microService' entityId: string params: Array<Param> returns: Array<Return> variables: Array<Variable> body: Array<LogicItem> playgroundId: string playground: Array<LogicItem> interface: Interface view: View moreChildrenFields: Array<string> LogicItem level: LEVEL_ENUM id: string parentId: string parentAttr: string parent: LogicItem logicId: string logic: Logic label: string offsetX: string offsetY: string type: string refTarget: any callInterParam: any callInterParamValue: any builtInFuncParamValue: any pageParamKey: any pageParamKeyValue: any LogicNode type: LOGIC_TYPE test: ExpressionNode consequent: Array<LogicNode> alternate: Array<LogicNode> cases: Array<LogicNode> each: ExpressionNode item: ExpressionNode index: ExpressionNode start: ExpressionNode end: ExpressionNode body: Array<LogicNode> operator: string left: LogicItem right: LogicItem arguments: Array<ExpressionNode> value: string method: string entity: string action: string processDefinitionKey: string taskId: string finished: string processInstanceId: string schemaRef: string cron: string page: string url: string code: string calleeCode: string name: string ExpressionNode type: LOGIC_TYPE left: LogicItem right: LogicItem code: string name: string key: ExpressionNode value: string | ExpressionNode object: ExpressionNode property: ExpressionNode operator: string properties: Array<ExpressionNode> elements: Array<ExpressionNode> callee: ExpressionNode schemaRef: string Param level: LEVEL_ENUM in: string entityFieldId: string defaultValue: string Return level: LEVEL_ENUM Variable level: LEVEL_ENUM defaultValue: string Attr level: LEVEL_ENUM type: 'string' | 'static' | 'dynamic' id: string name: string value: string model: boolean sync: boolean expression: ExpressionNode elementId: string element: Element Block level: LEVEL_ENUM id: string name: string title: string template: string $html: Element definition: string $def: { logics: Array<Logic>; params: Array<ViewParam>; variables: Array<Variable>; lifecycles: Array<Lifecycle>; } style: string script: string Directive level: LEVEL_ENUM type: 'string' | 'static' | 'dynamic' id: string name: string rawName: string value: string arg: string modifiers: { [key: string]: boolean; } expression: ExpressionNode elementId: string element: Element Element level: LEVEL_ENUM type: number id: string tag: string name: string attrList: Array<Attr> eventList: Array<Event> directiveList: Array<Directive> slotTarget: string slotScope: string staticClass: string staticStyle: string nodePath: string parentId: string parent: Element viewId: string view: View children: Array<Element> Event level: LEVEL_ENUM id: string name: string value: string logicId: string logic: string elementId: string element: Element Lifecycle level: LEVEL_ENUM id: string name: string logicId: string viewId: string view: View Page level: LEVEL_ENUM id: string name: string title: string auth: boolean isIndex: boolean rootView: View serviceId: string service: WebService childrenField: string moreChildrenFields: Array<string> View level: LEVEL_ENUM id: string name: string path: string tempPath: string code: string title: string crumb: string first: string parentId: string script: string page: Page parent: View children: Array<View> moreChildrenFields: Array<string> ViewParam level: LEVEL_ENUM view: View defaultValue: string ViewVariable view: View viewId: string defaultValue: string