@puzzlin/models 4.8.0 → 4.9.0

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.
@@ -5,6 +5,7 @@ import { BigFiveEegAnalysis } from './big-five-eeg-analysis.object';
5
5
  export declare class BigFiveEegReport extends EegReport {
6
6
  analysis?: BigFiveEegAnalysis | null;
7
7
  assessmentResult?: AssessmentResult | null;
8
+ summaryPrompt?: string | null;
8
9
  type: EegReportTypeEnum.EEG_REPORT_BIG_FIVE;
9
10
  }
10
11
  //# 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;AAErE,OAAO,EAAE,gBAAgB,EAAmB,MAAM,iBAAiB,CAAC;AAGpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,qBAGa,gBAAiB,SAAQ,SAAS;IAK7C,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAKrC,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAG3C,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,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,qBAGa,gBAAiB,SAAQ,SAAS;IAK7C,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAKrC,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAM3C,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG9B,IAAI,EAAE,iBAAiB,CAAC,mBAAmB,CAAC;CAC7C"}
@@ -34,6 +34,13 @@ __decorate([
34
34
  }),
35
35
  __metadata("design:type", Object)
36
36
  ], BigFiveEegReport.prototype, "assessmentResult", void 0);
37
+ __decorate([
38
+ (0, graphql_1.Field)(() => String, {
39
+ description: 'Prompt used to generate a practitioner-facing summary for this report.',
40
+ nullable: true,
41
+ }),
42
+ __metadata("design:type", Object)
43
+ ], BigFiveEegReport.prototype, "summaryPrompt", void 0);
37
44
  __decorate([
38
45
  (0, graphql_1.Field)(() => enums_1.EegReportTypeEnum),
39
46
  __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,8CAAoE;AACpE,qCAAgC;AAChC,6CAAoD;AACpD,0CAAmD;AACnD,yDAAyC;AACzC,iFAAoE;AAK7D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,mBAAS;CAc9C,CAAA;AAdY,4CAAgB;AAK3B;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iDAAkB,EAAE;QAC/B,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iDAAkB,CAAC;;kDACM;AAKrC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAgB,EAAE;QAC7B,QAAQ,EAAE,IAAI;KACf,CAAC;;0DACyC;AAG3C;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC;;8CACa;2BAbjC,gBAAgB;IAH5B,IAAA,oBAAU,EAAC,gCAAwB,CAAC,yBAAiB,CAAC,mBAAmB,CAAC,EAAE;QAC3E,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,aAAI,EAAE,mBAAS,EAAE,0BAAe,CAAC;KACrD,CAAC;GACW,gBAAgB,CAc5B","sourcesContent":["import { EegReport } from '@/apps/brain-imaging/eeg-reports/objects';\r\nimport { EEG_REPORT_RESOLVE_TYPES } from '@/apps/brain-imaging/utils';\r\nimport { AssessmentResult, AssetBackedNode } from '@/apps/platform';\r\nimport { Node } from '@/shared';\r\nimport { Field, ObjectType } from '@nestjs/graphql';\r\nimport { EegReportTypeEnum } from '@puzzlin/enums';\r\nimport { Type } from 'class-transformer';\r\nimport { BigFiveEegAnalysis } from './big-five-eeg-analysis.object';\r\n\r\n@ObjectType(EEG_REPORT_RESOLVE_TYPES[EegReportTypeEnum.EEG_REPORT_BIG_FIVE], {\r\n implements: () => [Node, EegReport, AssetBackedNode],\r\n})\r\nexport class BigFiveEegReport extends EegReport {\r\n @Field(() => BigFiveEegAnalysis, {\r\n nullable: true,\r\n })\r\n @Type(() => BigFiveEegAnalysis)\r\n analysis?: BigFiveEegAnalysis | null;\r\n\r\n @Field(() => AssessmentResult, {\r\n nullable: true,\r\n })\r\n assessmentResult?: AssessmentResult | null;\r\n\r\n @Field(() => EegReportTypeEnum)\r\n type: EegReportTypeEnum.EEG_REPORT_BIG_FIVE;\r\n}\r\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;AACnD,yDAAyC;AACzC,iFAAoE;AAK7D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,mBAAS;CAoB9C,CAAA;AApBY,4CAAgB;AAK3B;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,iDAAkB,EAAE;QAC/B,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iDAAkB,CAAC;;kDACM;AAKrC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAgB,EAAE;QAC7B,QAAQ,EAAE,IAAI;KACf,CAAC;;0DACyC;AAM3C;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,WAAW,EAAE,wEAAwE;QACrF,QAAQ,EAAE,IAAI;KACf,CAAC;;uDAC4B;AAG9B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC;;8CACa;2BAnBjC,gBAAgB;IAH5B,IAAA,oBAAU,EAAC,gCAAwB,CAAC,yBAAiB,CAAC,mBAAmB,CAAC,EAAE;QAC3E,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,aAAI,EAAE,mBAAS,EAAE,0BAAe,CAAC;KACrD,CAAC;GACW,gBAAgB,CAoB5B","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';\nimport { Type } from 'class-transformer';\nimport { BigFiveEegAnalysis } from './big-five-eeg-analysis.object';\n\n@ObjectType(EEG_REPORT_RESOLVE_TYPES[EegReportTypeEnum.EEG_REPORT_BIG_FIVE], {\n implements: () => [Node, EegReport, AssetBackedNode],\n})\nexport class BigFiveEegReport extends EegReport {\n @Field(() => BigFiveEegAnalysis, {\n nullable: true,\n })\n @Type(() => BigFiveEegAnalysis)\n analysis?: BigFiveEegAnalysis | null;\n\n @Field(() => AssessmentResult, {\n nullable: true,\n })\n assessmentResult?: AssessmentResult | null;\n\n @Field(() => String, {\n description: 'Prompt used to generate a practitioner-facing summary for this report.',\n nullable: true,\n })\n summaryPrompt?: string | null;\n\n @Field(() => EegReportTypeEnum)\n type: EegReportTypeEnum.EEG_REPORT_BIG_FIVE;\n}\n"]}