dataset-types 3.2.8 → 3.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +32 -0
- package/package.json +1 -1
- package/dataset-types-3.2.8.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -76,6 +76,37 @@ export interface IModelService {
|
|
|
76
76
|
upsert: (type: string, entity: any[]) => Promise<IPersistResult>;
|
|
77
77
|
upsertBatch: (type: string, entity: any[]) => Promise<IPersistResult>;
|
|
78
78
|
}
|
|
79
|
+
export interface IColumn {
|
|
80
|
+
name: string;
|
|
81
|
+
displayName?: string;
|
|
82
|
+
tooltip?: string;
|
|
83
|
+
type: string;
|
|
84
|
+
label: string;
|
|
85
|
+
options: string[];
|
|
86
|
+
valueRange?: string;
|
|
87
|
+
default?: string;
|
|
88
|
+
derivation?: string;
|
|
89
|
+
required?: boolean;
|
|
90
|
+
distinct?: boolean;
|
|
91
|
+
width?: string;
|
|
92
|
+
truncate?: boolean;
|
|
93
|
+
defaultValue?: string | number;
|
|
94
|
+
groupName?: string;
|
|
95
|
+
}
|
|
96
|
+
export interface IColumnGroup {
|
|
97
|
+
name: string;
|
|
98
|
+
columns: string[];
|
|
99
|
+
}
|
|
100
|
+
export interface ITable {
|
|
101
|
+
file: string;
|
|
102
|
+
name: string;
|
|
103
|
+
dataname?: string;
|
|
104
|
+
options: string[];
|
|
105
|
+
rows?: string[];
|
|
106
|
+
columns: IColumn[];
|
|
107
|
+
columnGroups?: IColumnGroup[];
|
|
108
|
+
helpFileName?: string;
|
|
109
|
+
}
|
|
79
110
|
export interface IFileResult {
|
|
80
111
|
content: string;
|
|
81
112
|
contenttype: string;
|
|
@@ -253,6 +284,7 @@ export interface IManageDataSetConfiguration {
|
|
|
253
284
|
[datatype: string]: HOOK_USE_DATA;
|
|
254
285
|
};
|
|
255
286
|
validators: any;
|
|
287
|
+
groupColumns: (dt: IDatasetTable, b: boolean) => ITable | undefined;
|
|
256
288
|
}
|
|
257
289
|
export type API_POST_SAMPLE = (source: string) => Promise<ICommandResult>;
|
|
258
290
|
export type API_POST_REPLAY = (source: string, logs: ILog[]) => Promise<ICommandResult>;
|
package/package.json
CHANGED
package/dataset-types-3.2.8.tgz
DELETED
|
Binary file
|