Options
All
  • Public
  • Public/Protected
  • All
Menu

Module index

Index

References

App

Re-exports App

Attr

Re-exports Attr

BaseVariable

Re-exports BaseVariable

Block

Re-exports Block

DataNode

Re-exports DataNode

Directive

Re-exports Directive

Element

Re-exports Element

Entity

Re-exports Entity

EntityProperty

Re-exports EntityProperty

Enum

Re-exports Enum

EnumItem

Re-exports EnumItem

Event

Re-exports Event

EventEmitter

Re-exports EventEmitter

ExpressionNode

Re-exports ExpressionNode

Interface

Re-exports Interface

Lifecycle

Re-exports Lifecycle

Logic

Re-exports Logic

LogicItem

Re-exports LogicItem

LogicNode

Re-exports LogicNode

MicroService

Re-exports MicroService

Nuims

Re-exports Nuims

PackageJSON

Renames and exports default

Page

Re-exports Page

Param

Re-exports Param

Process

Re-exports Process

ProcessComponent

Re-exports ProcessComponent

ProcessComponentAttribute

Re-exports ProcessComponentAttribute

ProcessComponentProperty

Re-exports ProcessComponentProperty

ProcessComponentReturn

Re-exports ProcessComponentReturn

ProcessComponentVariable

Re-exports ProcessComponentVariable

ProcessInterface

Re-exports ProcessInterface

ProcessParam

Re-exports ProcessParam

ProcessProperty

Re-exports ProcessProperty

ProcessReturn

Re-exports ProcessReturn

Return

Re-exports Return

SERVICE_TYPE

Re-exports SERVICE_TYPE

Service

Re-exports Service

Structure

Re-exports Structure

StructureProperty

Re-exports StructureProperty

Variable

Re-exports Variable

Vertex

Re-exports Vertex

View

Re-exports View

ViewParam

Re-exports ViewParam

ViewVariable

Re-exports ViewVariable

WebService

Re-exports WebService

config

Renames and exports default

evaluate

Re-exports evaluate

genFinalCode

Re-exports genFinalCode

generator

Re-exports generator

history

Renames and exports default

typeCheck

Renames and exports default

updateAllVariablesChildrenSchema

Re-exports updateAllVariablesChildrenSchema

updateVariablesChildrenSchema

Re-exports updateVariablesChildrenSchema

utils

Re-exports utils

vertexsMap

Re-exports vertexsMap

Variables

Const LEVEL_NAME_MAP

LEVEL_NAME_MAP: { app: string; attr: string; block: string; dataNode: string; directive: string; element: string; entity: string; enum: string; enumItem: string; event: string; expressionNode: string; interface: string; lifecycle: string; logic: string; logicItem: string; logicNode: string; page: string; param: string; property: string; return: string; service: string; structure: string; variable: string; view: string } = ...

Type declaration

  • app: string
  • attr: string
  • block: string
  • dataNode: string
  • directive: string
  • element: string
  • entity: string
  • enum: string
  • enumItem: string
  • event: string
  • expressionNode: string
  • interface: string
  • lifecycle: string
  • logic: string
  • logicItem: string
  • logicNode: string
  • page: string
  • param: string
  • property: string
  • return: string
  • service: string
  • structure: string
  • variable: string
  • view: string

Const dataTypeList

dataTypeList: { children: { kind: string; text: string; value: string }[]; title: string }[] = ...

Const dataTypesMap

dataTypesMap: {} = ...

Type declaration

Functions

convert2RefType

  • 会改变原来的结构,最好自己做深拷贝

    example

    RefType - 用于前端界面的类型描述 { asset: { type: 'object', propertyList: [ { name: 'id', $ref: '#/basicType/Long' }, { name: 'name', $ref: '#/basicType/String' }, ], }, assetType: { type: 'enum', enumItemList: [ { value: 'COMPUTER', label: '台式机' }, { value: 'TABLET', label: '平板电脑' }, { value: 'MOBILE', label: '移动电话' }, }, }, assets: { isArray: true, $ref: '#/xxxx/entity/asset' }, test: { $ref: '#/basicType/Date' } }

    Parameters

    Returns Schema

convert2SchemaType

  • convert2SchemaType(schema: Schema, options?: { enum?: string }): Schema
  • 会改变原来的结构,最好自己做深拷贝

    example

    SchemaType - 非标准的 JSON Schema 结构 { asset: { type: 'object', propertyList: [ { type: 'int', format: 'long' }, { type: 'string' }, ], }, assetType: { type: 'enum', enumItemList: [ { value: 'COMPUTER', label: '台式机' }, { value: 'TABLET', label: '平板电脑' }, { value: 'MOBILE', label: '移动电话' }, }, }, assets: { isArray: true, items: { $ref: '#/xxxx/entity/asset' } }, test: { type: 'string', format: 'date' } }

    Parameters

    • schema: Schema
    • options: { enum?: string } = ...
      • Optional enum?: string

    Returns Schema

genFullRefSchemaChildren

  • genFullRefSchemaChildren(schema: Schema, code: string, usedSchemaRefs?: {}): any[]
  • 根据 Ref Schema 生成子节点

    Parameters

    • schema: Schema
    • code: string
    • usedSchemaRefs: {} = ...
      • [name: string]: boolean

    Returns any[]

genInitData

  • genInitData(schema: Schema, relationship?: string, usedSchemaRefs?: {}): any
  • Parameters

    • schema: Schema
    • relationship: string = 'None'
    • usedSchemaRefs: {} = ...
      • [name: string]: boolean

    Returns any

genRefSchemaChildren

  • genRefSchemaChildren(schema: Schema, code: string, usedSchemaRefs?: {}): any[]
  • 根据 Ref Schema 生成子节点

    Parameters

    • schema: Schema
    • code: string
    • usedSchemaRefs: {} = ...
      • [name: string]: boolean

    Returns any[]

genSchemaChildren

  • genSchemaChildren(schema: Schema, code?: string, usedSchemaRefs?: {}): any[]
  • 根据 Ref Schema 生成子节点

    Parameters

    • schema: Schema
    • code: string = ''
    • usedSchemaRefs: {} = ...
      • [name: string]: boolean

    Returns any[]

updateDataTypeList

  • updateDataTypeList(): void
  • Returns void

Generated using TypeDoc