@puzzlin/models 4.1.0 → 4.1.1

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.
@@ -1,6 +1,8 @@
1
1
  import { EegReport } from '../../../../apps/brain-imaging/eeg-reports/objects';
2
+ import { AssessmentResult } from '../../../../apps/platform';
2
3
  import { EegReportTypeEnum } from '@puzzlin/enums';
3
4
  export declare class BigFiveEegReport extends EegReport {
5
+ assessmentResult?: AssessmentResult;
4
6
  type: EegReportTypeEnum.EEG_REPORT_BIG_FIVE;
5
7
  }
6
8
  //# sourceMappingURL=big-five-eeg-report.object.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"big-five-eeg-report.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAKrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,qBAIa,gBAAiB,SAAQ,SAAS;IAE7C,IAAI,EAAE,iBAAiB,CAAC,mBAAmB,CAAC;CAC7C"}
1
+ {"version":3,"file":"big-five-eeg-report.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,iBAAiB,CAAC;AAGpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,qBAIa,gBAAiB,SAAQ,SAAS;IAI7C,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAGpC,IAAI,EAAE,iBAAiB,CAAC,mBAAmB,CAAC;CAC7C"}
@@ -19,6 +19,12 @@ const enums_1 = require("@puzzlin/enums");
19
19
  let BigFiveEegReport = class BigFiveEegReport extends objects_1.EegReport {
20
20
  };
21
21
  exports.BigFiveEegReport = BigFiveEegReport;
22
+ __decorate([
23
+ (0, graphql_1.Field)(() => platform_1.AssessmentResult, {
24
+ nullable: true,
25
+ }),
26
+ __metadata("design:type", platform_1.AssessmentResult)
27
+ ], BigFiveEegReport.prototype, "assessmentResult", void 0);
22
28
  __decorate([
23
29
  (0, graphql_1.Field)(() => enums_1.EegReportTypeEnum),
24
30
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"big-five-eeg-report.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAqE;AACrE,sDAAsE;AACtE,8CAAkD;AAClD,qCAAgC;AAChC,6CAAoD;AACpD,0CAAmD;AAM5C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,mBAAS;CAG9C,CAAA;AAHY,4CAAgB;AAE3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC;;8CACa;2BAFjC,gBAAgB;IAJ5B,IAAA,oBAAU,EAAC,gCAAwB,CAAC,yBAAiB,CAAC,mBAAmB,CAAC,EAAE;QAC3E,WAAW,EAAE,qBAAqB;QAClC,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,aAAI,EAAE,mBAAS,EAAE,0BAAe,CAAC;KACrD,CAAC;GACW,gBAAgB,CAG5B","sourcesContent":["import { EegReport } from '@/apps/brain-imaging/eeg-reports/objects';\nimport { EEG_REPORT_RESOLVE_TYPES } from '@/apps/brain-imaging/utils';\nimport { AssetBackedNode } from '@/apps/platform';\nimport { Node } from '@/shared';\nimport { Field, ObjectType } from '@nestjs/graphql';\nimport { EegReportTypeEnum } from '@puzzlin/enums';\n\n@ObjectType(EEG_REPORT_RESOLVE_TYPES[EegReportTypeEnum.EEG_REPORT_BIG_FIVE], {\n description: 'Big Five EEG report',\n implements: () => [Node, EegReport, AssetBackedNode],\n})\nexport class BigFiveEegReport extends EegReport {\n @Field(() => EegReportTypeEnum)\n type: EegReportTypeEnum.EEG_REPORT_BIG_FIVE;\n}\n"]}
1
+ {"version":3,"file":"big-five-eeg-report.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAqE;AACrE,sDAAsE;AACtE,8CAAoE;AACpE,qCAAgC;AAChC,6CAAoD;AACpD,0CAAmD;AAM5C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,mBAAS;CAQ9C,CAAA;AARY,4CAAgB;AAI3B;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAgB,EAAE;QAC7B,QAAQ,EAAE,IAAI;KACf,CAAC;8BACiB,2BAAgB;0DAAC;AAGpC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC;;8CACa;2BAPjC,gBAAgB;IAJ5B,IAAA,oBAAU,EAAC,gCAAwB,CAAC,yBAAiB,CAAC,mBAAmB,CAAC,EAAE;QAC3E,WAAW,EAAE,qBAAqB;QAClC,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,aAAI,EAAE,mBAAS,EAAE,0BAAe,CAAC;KACrD,CAAC;GACW,gBAAgB,CAQ5B","sourcesContent":["import { EegReport } from '@/apps/brain-imaging/eeg-reports/objects';\nimport { EEG_REPORT_RESOLVE_TYPES } from '@/apps/brain-imaging/utils';\nimport { AssessmentResult, AssetBackedNode } from '@/apps/platform';\nimport { Node } from '@/shared';\nimport { Field, ObjectType } from '@nestjs/graphql';\nimport { EegReportTypeEnum } from '@puzzlin/enums';\n\n@ObjectType(EEG_REPORT_RESOLVE_TYPES[EegReportTypeEnum.EEG_REPORT_BIG_FIVE], {\n description: 'Big Five EEG report',\n implements: () => [Node, EegReport, AssetBackedNode],\n})\nexport class BigFiveEegReport extends EegReport {\n @Field(() => AssessmentResult, {\n nullable: true,\n })\n assessmentResult?: AssessmentResult;\n\n @Field(() => EegReportTypeEnum)\n type: EegReportTypeEnum.EEG_REPORT_BIG_FIVE;\n}\n"]}