@things-factory/dataset 7.0.86 → 7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/client/pages/data-set/data-item-list.ts +1 -1
- package/dist-client/pages/data-set/data-item-list.js +1 -1
- package/dist-client/pages/data-set/data-item-list.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/service/data-ooc/index.d.ts +1 -1
- package/dist-server/service/data-set/data-item-type.d.ts +2 -1
- package/dist-server/service/data-set/data-item-type.js +1 -0
- package/dist-server/service/data-set/data-item-type.js.map +1 -1
- package/dist-server/service/data-set/index.d.ts +1 -1
- package/dist-server/service/index.d.ts +2 -2
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -13
- package/server/service/data-set/data-item-type.ts +10 -5
@@ -3,4 +3,4 @@ import { DataOocMutation } from './data-ooc-mutation';
|
|
3
3
|
import { DataOocQuery } from './data-ooc-query';
|
4
4
|
import { DataOocSubscription } from './data-ooc-subscription';
|
5
5
|
export declare const entities: (typeof DataOoc)[];
|
6
|
-
export declare const resolvers: (typeof
|
6
|
+
export declare const resolvers: (typeof DataOocQuery | typeof DataOocMutation | typeof DataOocSubscription)[];
|
@@ -14,6 +14,7 @@ var DataItemType;
|
|
14
14
|
DataItemType["date"] = "date";
|
15
15
|
DataItemType["datetime"] = "datetime";
|
16
16
|
DataItemType["file"] = "file";
|
17
|
+
DataItemType["signature"] = "signature";
|
17
18
|
})(DataItemType || (exports.DataItemType = DataItemType = {}));
|
18
19
|
(0, type_graphql_1.registerEnumType)(DataItemType, {
|
19
20
|
name: 'DataItemType',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"data-item-type.js","sourceRoot":"","sources":["../../../server/service/data-set/data-item-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAkF;AAElF,iDAAoD;AAEpD,IAAY,
|
1
|
+
{"version":3,"file":"data-item-type.js","sourceRoot":"","sources":["../../../server/service/data-set/data-item-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAkF;AAElF,iD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,EAAE,WAAW,EAAE,sCAAsC,EAAE,CAAC;;6CAC/D;AAMhB;IAJC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,oBAAY,EAAE;QAC3B,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,+DAA+D;KAC7E,CAAC;;2CAC2B;wBAvDlB,aAAa;IADzB,IAAA,wBAAS,GAAE;GACC,aAAa,CAwDzB","sourcesContent":["import { Field, InputType, Int, ObjectType, registerEnumType } from 'type-graphql'\n\nimport { ScalarObject } from '@things-factory/shell'\n\nexport enum DataItemType {\n number = 'number',\n text = 'text',\n boolean = 'boolean',\n select = 'select',\n radio = 'radio',\n date = 'date',\n datetime = 'datetime',\n file = 'file',\n signature = 'signature'\n}\n\nregisterEnumType(DataItemType, {\n name: 'DataItemType',\n description: 'type enumeration of a data-item'\n})\n\nexport enum DataItemStatType {\n sum = 'sum',\n mean = 'mean',\n stddev = 'stddev',\n variance = 'variance',\n min = 'min',\n max = 'max',\n range = 'range',\n median = 'median',\n mode = 'mode'\n}\n\nregisterEnumType(DataItemStatType, {\n name: 'DataItemStatType',\n description: 'stat/agg type enumeration of a data-item'\n})\n\n@ObjectType({ description: 'Entity for DataItem' })\nexport class DataItem {\n @Field({ description: 'The name of the data item' })\n name: string\n\n @Field({ nullable: true, description: 'A description of the data item' })\n description?: string\n\n @Field({\n nullable: true,\n description:\n 'Specifies a key name to be used as a property in a JSON-like object, representing a subfield of a dataset record.'\n })\n tag?: string\n\n @Field({\n nullable: true,\n description:\n 'Specifies a grouping identifier for data items with related content, allowing them to be displayed as subgroups within the overall dataset.'\n })\n group?: string\n\n @Field({ nullable: true, description: 'Indicates if the data item is active' })\n active?: boolean\n\n @Field({ nullable: true, description: 'Indicates if the data item is hidden' })\n hidden?: boolean\n\n @Field({ nullable: true, description: 'The type of the data item' })\n type?: DataItemType\n\n @Field(type => ScalarObject, { nullable: true, description: 'Options associated with the data item type' })\n options?: { [option: string]: any }\n\n @Field({\n nullable: true,\n description: 'The grouping logic for data finalize in the given field during periodic task deadlines.'\n })\n stat?: DataItemStatType\n\n @Field({\n nullable: true,\n description: 'Aggregation functions to be used in data summarizing logic for a given period.'\n })\n agg?: DataItemStatType\n\n @Field({ nullable: true, description: 'The unit of measurement for the data item' })\n unit?: string\n\n @Field(type => Int, { nullable: true, description: 'The maximum number of data values allowed for this field' })\n quota?: number\n\n @Field(type => ScalarObject, {\n nullable: true,\n description: 'Specifies the valid ranges and parameters for this data item.'\n })\n spec?: { [key: string]: any }\n}\n\n@InputType()\nexport class DataItemPatch {\n @Field({ nullable: true, description: 'The name of the data item' })\n name?: string\n\n @Field({ nullable: true, description: 'A description of the data item' })\n description?: string\n\n @Field({\n nullable: true,\n description:\n 'Specifies a key name to be used as a property in a JSON-like object, representing a subfield of a dataset record.'\n })\n tag?: string\n\n @Field({\n nullable: true,\n description:\n 'Specifies a grouping identifier for data items with related content, allowing them to be displayed as subgroups within the overall dataset.'\n })\n group?: string\n\n @Field(type => DataItemType, { nullable: true, description: 'The type of the data item' })\n type?: DataItemType\n\n @Field(type => ScalarObject, { nullable: true, description: 'Options associated with the data item type' })\n options?: { [option: string]: any }\n\n @Field({\n nullable: true,\n description: 'The grouping logic for data summarization in the given field during periodic task deadlines.'\n })\n stat?: DataItemStatType\n\n @Field({\n nullable: true,\n description: 'Aggregation functions to be used in data summarizing logic for a given period.'\n })\n agg?: DataItemStatType\n\n @Field({ nullable: true, description: 'The unit of measurement for the data item' })\n unit?: string\n\n @Field(type => Int, { nullable: true, description: 'The maximum number of data values allowed for this field' })\n quota?: number\n\n @Field({ nullable: true, description: 'Indicates if the data item is active' })\n active?: boolean\n\n @Field({ nullable: true, description: 'Indicates if the data item is hidden' })\n hidden?: boolean\n\n @Field(type => ScalarObject, {\n nullable: true,\n description: 'Specifies the valid ranges and parameters for this data item.'\n })\n spec?: { [key: string]: any }\n}\n"]}
|
@@ -2,4 +2,4 @@ import { DataSet } from './data-set';
|
|
2
2
|
import { DataSetMutation } from './data-set-mutation';
|
3
3
|
import { DataSetQuery } from './data-set-query';
|
4
4
|
export declare const entities: (typeof DataSet)[];
|
5
|
-
export declare const resolvers: (typeof
|
5
|
+
export declare const resolvers: (typeof DataSetQuery | typeof DataSetMutation)[];
|
@@ -7,8 +7,8 @@ export * from './data-set/data-set';
|
|
7
7
|
export * from './data-set-history/data-set-history';
|
8
8
|
export * from './data-set/data-item-type';
|
9
9
|
export * from './data-spec/data-spec';
|
10
|
-
export declare const entities: (typeof import("./data-
|
10
|
+
export declare const entities: (typeof import("./data-summary/data-summary").DataSummary | typeof import("./data-key-set/data-key-set").DataKeySet | typeof import("./data-ooc/data-ooc").DataOoc | typeof import("./data-sensor/data-sensor").DataSensor | typeof import("./data-sample/data-sample").DataSample | typeof import("./data-set/data-set").DataSet | typeof import("./data-set-history/data-set-history").DataSetHistory | typeof import("./data-spec/data-spec").DataSpec | typeof import("./data-archive/data-archive").DataArchive)[];
|
11
11
|
export declare const subscribers: typeof import("./data-set-history/event-subscriber").DataSetHistoryEntitySubscriber[];
|
12
12
|
export declare const schema: {
|
13
|
-
resolverClasses: (typeof import("./data-
|
13
|
+
resolverClasses: (typeof import("./data-summary/data-summary-query").DataSummaryQuery | typeof import("./data-summary/data-summary-mutation").DataSummaryMutation | typeof import("./data-key-set/data-key-set-query").DataKeySetQuery | typeof import("./data-key-set/data-key-set-mutation").DataKeySetMutation | typeof import("./data-ooc/data-ooc-query").DataOocQuery | typeof import("./data-ooc/data-ooc-mutation").DataOocMutation | typeof import("./data-ooc/data-ooc-subscription").DataOocSubscription | typeof import("./data-sensor/data-sensor-query").DataSensorQuery | typeof import("./data-sensor/data-sensor-mutation").DataSensorMutation | typeof import("./data-sample/data-sample-query").DataSampleQuery | typeof import("./data-sample/data-sample-mutation").DataSampleMutation | typeof import("./data-set/data-set-query").DataSetQuery | typeof import("./data-set/data-set-mutation").DataSetMutation | typeof import("./data-set-history/data-set-history-query").DataSetHistoryQuery | typeof import("./data-spec/data-spec-query").DataSpecQuery | typeof import("./data-archive/data-archive-query").DataArchiveQuery | typeof import("./data-archive/data-archive-mutation").DataArchiveMutation)[];
|
14
14
|
};
|