@puzzlin/models 4.11.3 → 4.11.4

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.
@@ -2,7 +2,7 @@ import { Node } from '../../../../shared';
2
2
  import { ActivityEnum } from '@puzzlin/enums';
3
3
  export declare class Activity extends Node {
4
4
  from: number;
5
- kind?: ActivityEnum;
5
+ kind?: ActivityEnum | null;
6
6
  observation?: string;
7
7
  title: string;
8
8
  to: number;
@@ -1 +1 @@
1
- {"version":3,"file":"activity.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/activities/objects/activity.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAIa,QAAS,SAAQ,IAAI;IAIhC,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,CAAC,EAAE,YAAY,CAAC;IAMpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,KAAK,EAAE,MAAM,CAAC;IAKd,EAAE,EAAE,MAAM,CAAC;CACZ"}
1
+ {"version":3,"file":"activity.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/activities/objects/activity.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,qBAIa,QAAS,SAAQ,IAAI;IAIhC,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAM3B,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,KAAK,EAAE,MAAM,CAAC;IAKd,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -28,7 +28,7 @@ __decorate([
28
28
  description: 'Activity kind inferred from the title.',
29
29
  nullable: true,
30
30
  }),
31
- __metadata("design:type", String)
31
+ __metadata("design:type", Object)
32
32
  ], Activity.prototype, "kind", void 0);
33
33
  __decorate([
34
34
  (0, graphql_1.Field)({
@@ -1 +1 @@
1
- {"version":3,"file":"activity.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/activities/objects/activity.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgC;AAChC,6CAAoD;AACpD,0CAA8C;AAC9C,qDAAsG;AAM/F,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,aAAI;CA2BjC,CAAA;AA3BY,4BAAQ;AAInB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,WAAW,EAAE,8FAA8F;KAC5G,CAAC;;sCACW;AAMb;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oBAAY,EAAE;QACzB,WAAW,EAAE,wCAAwC;QACrD,QAAQ,EAAE,IAAI;KACf,CAAC;;sCACkB;AAMpB;IAJC,IAAA,eAAK,EAAC;QACL,WAAW,EAAE,iCAAiC;QAC9C,QAAQ,EAAE,IAAI;KACf,CAAC;;6CACmB;AAKrB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,WAAW,EAAE,oBAAoB;KAClC,CAAC;;uCACY;AAKd;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,qCAAmB,EAAE;QAChC,WAAW,EAAE,8FAA8F;KAC5G,CAAC;;oCACS;mBA1BA,QAAQ;IAJpB,IAAA,oBAAU,EAAC;QACV,WAAW,EAAE,gEAAgE;QAC7E,UAAU,EAAE,CAAC,aAAI,CAAC;KACnB,CAAC;GACW,QAAQ,CA2BpB","sourcesContent":["import { Node } from '@/shared';\r\nimport { Field, ObjectType } from '@nestjs/graphql';\r\nimport { ActivityEnum } from '@puzzlin/enums';\r\nimport { NonEmptyStringResolver, NonNegativeIntResolver, PositiveIntResolver } from 'graphql-scalars';\r\n\r\n@ObjectType({\r\n description: \"Activity with a time lapsed relative to a parent's start time.\",\r\n implements: [Node],\r\n})\r\nexport class Activity extends Node {\r\n @Field(() => NonNegativeIntResolver, {\r\n description: \"Time elapsed in milliseconds till the activity started in relation to a parent's start time.\",\r\n })\r\n from: number;\r\n\r\n @Field(() => ActivityEnum, {\r\n description: 'Activity kind inferred from the title.',\r\n nullable: true,\r\n })\r\n kind?: ActivityEnum;\r\n\r\n @Field({\r\n description: 'Observation about the activity.',\r\n nullable: true,\r\n })\r\n observation?: string;\r\n\r\n @Field(() => NonEmptyStringResolver, {\r\n description: 'Title of activity.',\r\n })\r\n title: string;\r\n\r\n @Field(() => PositiveIntResolver, {\r\n description: \"Time elapsed in milliseconds till the activity stopped in relation to a parent's start time.\",\r\n })\r\n to: number;\r\n}\r\n"]}
1
+ {"version":3,"file":"activity.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/activities/objects/activity.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgC;AAChC,6CAAoD;AACpD,0CAA8C;AAC9C,qDAAsG;AAM/F,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,aAAI;CA2BjC,CAAA;AA3BY,4BAAQ;AAInB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,WAAW,EAAE,8FAA8F;KAC5G,CAAC;;sCACW;AAMb;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oBAAY,EAAE;QACzB,WAAW,EAAE,wCAAwC;QACrD,QAAQ,EAAE,IAAI;KACf,CAAC;;sCACyB;AAM3B;IAJC,IAAA,eAAK,EAAC;QACL,WAAW,EAAE,iCAAiC;QAC9C,QAAQ,EAAE,IAAI;KACf,CAAC;;6CACmB;AAKrB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,WAAW,EAAE,oBAAoB;KAClC,CAAC;;uCACY;AAKd;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,qCAAmB,EAAE;QAChC,WAAW,EAAE,8FAA8F;KAC5G,CAAC;;oCACS;mBA1BA,QAAQ;IAJpB,IAAA,oBAAU,EAAC;QACV,WAAW,EAAE,gEAAgE;QAC7E,UAAU,EAAE,CAAC,aAAI,CAAC;KACnB,CAAC;GACW,QAAQ,CA2BpB","sourcesContent":["import { Node } from '@/shared';\r\nimport { Field, ObjectType } from '@nestjs/graphql';\r\nimport { ActivityEnum } from '@puzzlin/enums';\r\nimport { NonEmptyStringResolver, NonNegativeIntResolver, PositiveIntResolver } from 'graphql-scalars';\r\n\r\n@ObjectType({\r\n description: \"Activity with a time lapsed relative to a parent's start time.\",\r\n implements: [Node],\r\n})\r\nexport class Activity extends Node {\r\n @Field(() => NonNegativeIntResolver, {\r\n description: \"Time elapsed in milliseconds till the activity started in relation to a parent's start time.\",\r\n })\r\n from: number;\r\n\r\n @Field(() => ActivityEnum, {\r\n description: 'Activity kind inferred from the title.',\r\n nullable: true,\r\n })\r\n kind?: ActivityEnum | null;\r\n\r\n @Field({\r\n description: 'Observation about the activity.',\r\n nullable: true,\r\n })\r\n observation?: string;\r\n\r\n @Field(() => NonEmptyStringResolver, {\r\n description: 'Title of activity.',\r\n })\r\n title: string;\r\n\r\n @Field(() => PositiveIntResolver, {\r\n description: \"Time elapsed in milliseconds till the activity stopped in relation to a parent's start time.\",\r\n })\r\n to: number;\r\n}\r\n"]}