Type Aliases
ColumnType
ColumnType: "text" | "textarea" | "richText" | "singleImage" | "multipleImage" | "video" | "multipleDocument" | "dateTime" | "date" | "time"
DataHierarchies
Data
Hierarchies
<T>: { dataHierarchies
: DataHierarchies<T>; detail
: T; id
: string; index
: string; name
: string }[]Type Parameters
T extends Record<string, string> = Record<string, string>
DataHierarchy
Data
Hierarchy
<T, P>: { dataHierarchy
: DataHierarchy<T, P>; dataRow
?: { detail
: P; id
: string }; detail
: T; id
: string; name
: string }Type Parameters
Type declaration
Optional dataRow?: { detail: P; id: string }
detail: T
id: string
name: string
DataHierarchyTemplate
Data
Hierarchy
Template
: { dataColumns
: DataTemplates[number]["dataColumns"][]; dataModuleId
: string; id
: string }Type declaration
dataColumns: DataTemplates[number]["dataColumns"][]
dataModuleId: string
id: string
DataItem
Data
Item
<T, P>: { createTime
: string; dataHierarchyIds
?: string[]; dataRows
?: DataItem<P>[]; dataTemplateId
: string; detail
: T; id
: string; status
: DataStatus[number]; tagIds
?: string[] }Type Parameters
T extends Record<string, string> = Record<string, string>
P extends Record<string, string> = Record<string, string>
Type declaration
createTime: string
Optional dataHierarchyIds?: string[]
Optional dataRows?: DataItem<P>[]
dataTemplateId: string
detail: T
id: string
Optional tagIds?: string[]
DataPaths
Data
Paths
<T, P>: ({ dataHierarchy
: DataHierarchy<T, P> } & Pick<ModulesRsp<T>[number], "id" | "name" | "image" | "summary">)[]Type Parameters
T extends Record<string, string>
P extends Record<string, string> = Record<string, string>
DataRowsOrder
DataRowsOrder<needIndex, T>: "key" | "createtime" | "updateTime" | (needIndex extends true ? "index" : unknown) | keyof T
Type Parameters
needIndex = true
T = Record<string, string>
DataStatus
DataStatus: ("Enable" | "Test" | "Disable")[]
DataTemplates
Data
Templates
: { createTime
: string; dataColumns
: { columnName
: string; columnType
: ColumnType; customId
: string; id
: string; index
: string; isKey
: false }[]; dataPoolId
: string; id
: string; name
: string; updateTime
: string }[]ModulesRsp
Modules
Rsp
<T>: { createTime
: string; dataHierarchies
: DataHierarchies<T>; dataHierarchyTemplate
: DataHierarchyTemplate; dataPoolId
: string; dataTemplates
: DataTemplates; description
?: string; id
: string; image
: string; name
: string; summary
?: string; updateTime
: string }[]Type Parameters
T extends Record<string, string>
RecursiveData
RecursiveData<P>: {}
Type Parameters
Type declaration
[key: string]: P extends [string] ? DataItem[] : P extends [string, string] ? Record<string, DataItem[]> : Record<string, Record<string, DataItem[]>>
SearchDataRowsParamsItem
SearchDataRowsParamsItem: { dataTemplates: { customIds?: string[]; id: string }[]; id: string }[]
SearchGroupBy
SearchGroupBy: ("dataModule" | "dataHierarchy" | "dataTemplate")[]
SearchQuery
SearchQuery: { recursive?: boolean; searchKey?: string; searchTags?: boolean; separator?: string }
Type declaration
Optional recursive?: boolean
Optional searchKey?: string
Optional searchTags?: boolean
Optional separator?: string
dataQueryOptions
dataQueryOptions: { includeDataHierarchies?: boolean; recursive?: boolean }
Type declaration
Optional includeDataHierarchies?: boolean
Optional recursive?: boolean
所有字段的类型