@things-factory/dataset 8.0.11 → 8.0.12

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.
@@ -10,6 +10,8 @@ export declare class NewDataSensor {
10
10
  model?: string;
11
11
  netmask?: string;
12
12
  tag?: string;
13
+ capacity?: number;
14
+ unit?: string;
13
15
  refBy?: string;
14
16
  appliance?: ObjectRef;
15
17
  dataSet?: ObjectRef;
@@ -26,6 +28,8 @@ export declare class DataSensorPatch {
26
28
  model?: string;
27
29
  netmask?: string;
28
30
  tag?: string;
31
+ capacity?: number;
32
+ unit?: string;
29
33
  refBy?: string;
30
34
  appliance?: ObjectRef;
31
35
  dataSet?: ObjectRef;
@@ -44,6 +44,14 @@ tslib_1.__decorate([
44
44
  (0, type_graphql_1.Field)({ nullable: true }),
45
45
  tslib_1.__metadata("design:type", String)
46
46
  ], NewDataSensor.prototype, "tag", void 0);
47
+ tslib_1.__decorate([
48
+ (0, type_graphql_1.Field)({ nullable: true }),
49
+ tslib_1.__metadata("design:type", Number)
50
+ ], NewDataSensor.prototype, "capacity", void 0);
51
+ tslib_1.__decorate([
52
+ (0, type_graphql_1.Field)({ nullable: true }),
53
+ tslib_1.__metadata("design:type", String)
54
+ ], NewDataSensor.prototype, "unit", void 0);
47
55
  tslib_1.__decorate([
48
56
  (0, type_graphql_1.Field)({ nullable: true }),
49
57
  tslib_1.__metadata("design:type", String)
@@ -106,6 +114,14 @@ tslib_1.__decorate([
106
114
  (0, type_graphql_1.Field)({ nullable: true }),
107
115
  tslib_1.__metadata("design:type", String)
108
116
  ], DataSensorPatch.prototype, "tag", void 0);
117
+ tslib_1.__decorate([
118
+ (0, type_graphql_1.Field)({ nullable: true }),
119
+ tslib_1.__metadata("design:type", Number)
120
+ ], DataSensorPatch.prototype, "capacity", void 0);
121
+ tslib_1.__decorate([
122
+ (0, type_graphql_1.Field)({ nullable: true }),
123
+ tslib_1.__metadata("design:type", String)
124
+ ], DataSensorPatch.prototype, "unit", void 0);
109
125
  tslib_1.__decorate([
110
126
  (0, type_graphql_1.Field)({ nullable: true }),
111
127
  tslib_1.__metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"data-sensor-type.js","sourceRoot":"","sources":["../../../server/service/data-sensor/data-sensor-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAoE;AAEpE,iDAAiD;AAEjD,+CAA0C;AAGnC,IAAM,aAAa,GAAnB,MAAM,aAAa;CAuCzB,CAAA;AAvCY,sCAAa;AAExB;IADC,IAAA,oBAAK,GAAE;;2CACI;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACN;AAGpB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACZ;AAGd;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACZ;AAGd;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACd;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACZ;AAGd;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACjC,iBAAS;gDAAA;AAGrB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAS,EAAE,EAA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,iBAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACjC,iBAAS;kDAAA;AAGrB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACnC,iBAAS;gDAAA;AAGnB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACnC,iBAAS;gDAAA;AAGnB;IADC,IAAA,oBAAK,GAAE;;+CACM;0BA5CH,eAAe;IAD3B,IAAA,wBAAS,GAAE;GACC,eAAe,CA6C3B;AAGM,IAAM,cAAc,GAApB,MAAM,cAAc;CAM1B,CAAA;AANY,wCAAc;AAEzB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,wBAAU,CAAC,CAAC;;6CACT;AAGnB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;6CACN;yBALF,cAAc;IAD1B,IAAA,yBAAU,GAAE;GACA,cAAc,CAM1B","sourcesContent":["import { Field, ID, InputType, Int, ObjectType } from 'type-graphql'\n\nimport { ObjectRef } from '@things-factory/shell'\n\nimport { DataSensor } from './data-sensor'\n\n@InputType()\nexport class NewDataSensor {\n @Field()\n name: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n active?: boolean\n\n @Field({ nullable: true })\n deviceId?: string\n\n @Field({ nullable: true })\n serialNo?: string\n\n @Field({ nullable: true })\n brand?: string\n\n @Field({ nullable: true })\n model?: string\n\n @Field({ nullable: true })\n netmask?: string\n\n @Field({ nullable: true })\n tag?: string\n\n @Field({ nullable: true })\n refBy?: string\n\n @Field(type => ObjectRef, { nullable: true })\n appliance?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n dataSet?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n decoder?: ObjectRef\n}\n\n@InputType()\nexport class DataSensorPatch {\n @Field(type => ID, { nullable: true })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n active?: boolean\n\n @Field({ nullable: true })\n deviceId?: string\n\n @Field({ nullable: true })\n serialNo?: string\n\n @Field({ nullable: true })\n brand?: string\n\n @Field({ nullable: true })\n model?: string\n\n @Field({ nullable: true })\n netmask?: string\n\n @Field({ nullable: true })\n tag?: string\n\n @Field({ nullable: true })\n refBy?: string\n\n @Field(type => ObjectRef, { nullable: true })\n appliance?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n dataSet?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n decoder?: ObjectRef\n\n @Field()\n cuFlag: string\n}\n\n@ObjectType()\nexport class DataSensorList {\n @Field(type => [DataSensor])\n items: DataSensor[]\n\n @Field(type => Int)\n total: number\n}\n"]}
1
+ {"version":3,"file":"data-sensor-type.js","sourceRoot":"","sources":["../../../server/service/data-sensor/data-sensor-type.ts"],"names":[],"mappings":";;;;AAAA,+CAAoE;AAEpE,iDAAiD;AAEjD,+CAA0C;AAGnC,IAAM,aAAa,GAAnB,MAAM,aAAa;CA6CzB,CAAA;AA7CY,sCAAa;AAExB;IADC,IAAA,oBAAK,GAAE;;2CACI;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACN;AAGpB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACT;AAGjB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACZ;AAGd;IADC,IAAA,oBAAK,EAAC,EAA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CAM1B,CAAA;AANY,wCAAc;AAEzB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,wBAAU,CAAC,CAAC;;6CACT;AAGnB;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,CAAC;;6CACN;yBALF,cAAc;IAD1B,IAAA,yBAAU,GAAE;GACA,cAAc,CAM1B","sourcesContent":["import { Field, ID, InputType, Int, ObjectType } from 'type-graphql'\n\nimport { ObjectRef } from '@things-factory/shell'\n\nimport { DataSensor } from './data-sensor'\n\n@InputType()\nexport class NewDataSensor {\n @Field()\n name: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n active?: boolean\n\n @Field({ nullable: true })\n deviceId?: string\n\n @Field({ nullable: true })\n serialNo?: string\n\n @Field({ nullable: true })\n brand?: string\n\n @Field({ nullable: true })\n model?: string\n\n @Field({ nullable: true })\n netmask?: string\n\n @Field({ nullable: true })\n tag?: string\n\n @Field({ nullable: true })\n capacity?: number\n\n @Field({ nullable: true })\n unit?: string\n\n @Field({ nullable: true })\n refBy?: string\n\n @Field(type => ObjectRef, { nullable: true })\n appliance?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n dataSet?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n decoder?: ObjectRef\n}\n\n@InputType()\nexport class DataSensorPatch {\n @Field(type => ID, { nullable: true })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n active?: boolean\n\n @Field({ nullable: true })\n deviceId?: string\n\n @Field({ nullable: true })\n serialNo?: string\n\n @Field({ nullable: true })\n brand?: string\n\n @Field({ nullable: true })\n model?: string\n\n @Field({ nullable: true })\n netmask?: string\n\n @Field({ nullable: true })\n tag?: string\n\n @Field({ nullable: true })\n capacity?: number\n\n @Field({ nullable: true })\n unit?: string\n\n @Field({ nullable: true })\n refBy?: string\n\n @Field(type => ObjectRef, { nullable: true })\n appliance?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n dataSet?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n decoder?: ObjectRef\n\n @Field()\n cuFlag: string\n}\n\n@ObjectType()\nexport class DataSensorList {\n @Field(type => [DataSensor])\n items: DataSensor[]\n\n @Field(type => Int)\n total: number\n}\n"]}
@@ -2,4 +2,4 @@ import { DataSensor } from './data-sensor';
2
2
  import { DataSensorQuery } from './data-sensor-query';
3
3
  import { DataSensorMutation } from './data-sensor-mutation';
4
4
  export declare const entities: (typeof DataSensor)[];
5
- export declare const resolvers: (typeof DataSensorQuery | typeof DataSensorMutation)[];
5
+ export declare const resolvers: (typeof DataSensorMutation | typeof DataSensorQuery)[];
@@ -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-key-set/data-key-set").DataKeySet | typeof import("./data-set/data-set").DataSet | typeof import("./data-ooc/data-ooc").DataOoc | typeof import("./data-sample/data-sample").DataSample | typeof import("./data-sensor/data-sensor").DataSensor | typeof import("./data-summary/data-summary").DataSummary | typeof import("./data-set-history/data-set-history").DataSetHistory | typeof import("./data-spec/data-spec").DataSpec | typeof import("./data-archive/data-archive").DataArchive)[];
10
+ export declare const entities: (typeof import("./data-sensor/data-sensor").DataSensor | typeof import("./data-set/data-set").DataSet | 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-sample/data-sample").DataSample | 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-key-set/data-key-set-query").DataKeySetQuery | typeof import("./data-key-set/data-key-set-mutation").DataKeySetMutation | typeof import("./data-ooc/data-ooc-mutation").DataOocMutation | typeof import("./data-ooc/data-ooc-query").DataOocQuery | typeof import("./data-ooc/data-ooc-subscription").DataOocSubscription | typeof import("./data-sample/data-sample-query").DataSampleQuery | typeof import("./data-sample/data-sample-mutation").DataSampleMutation | typeof import("./data-sensor/data-sensor-query").DataSensorQuery | typeof import("./data-sensor/data-sensor-mutation").DataSensorMutation | typeof import("./data-set/data-set-mutation").DataSetMutation | typeof import("./data-set/data-set-query").DataSetQuery | typeof import("./data-set-history/data-set-history-query").DataSetHistoryQuery | typeof import("./data-summary/data-summary-query").DataSummaryQuery | typeof import("./data-summary/data-summary-mutation").DataSummaryMutation | typeof import("./data-spec/data-spec-query").DataSpecQuery | typeof import("./data-archive/data-archive-mutation").DataArchiveMutation | typeof import("./data-archive/data-archive-query").DataArchiveQuery)[];
13
+ resolverClasses: (typeof import("./data-sensor/data-sensor-mutation").DataSensorMutation | typeof import("./data-sensor/data-sensor-query").DataSensorQuery | 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-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
  };