@puzzlin/models 0.8.2 → 0.9.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,8 +1,9 @@
1
1
  import { PaginationArgs } from '../../utils';
2
- import { EegReportTypeEnum } from '@puzzlin/enums';
2
+ import { EegReportStatusEnum, EegReportTypeEnum } from '@puzzlin/enums';
3
3
  export declare class EegReportsArgs extends PaginationArgs {
4
4
  explorerId?: string;
5
5
  practitionerId?: string;
6
+ status?: EegReportStatusEnum;
6
7
  type?: EegReportTypeEnum;
7
8
  }
8
9
  //# sourceMappingURL=eeg-reports.args.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eeg-reports.args.d.ts","sourceRoot":"","sources":["../../../src/eeg-reports/args/eeg-reports.args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,qBACa,cAAe,SAAQ,cAAc;IAKhD,UAAU,CAAC,EAAE,MAAM,CAAC;IAMpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAMxB,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B"}
1
+ {"version":3,"file":"eeg-reports.args.d.ts","sourceRoot":"","sources":["../../../src/eeg-reports/args/eeg-reports.args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExE,qBACa,cAAe,SAAQ,cAAc;IAKhD,UAAU,CAAC,EAAE,MAAM,CAAC;IAMpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAMxB,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAM7B,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B"}
@@ -29,6 +29,13 @@ __decorate([
29
29
  }),
30
30
  __metadata("design:type", String)
31
31
  ], EegReportsArgs.prototype, "practitionerId", void 0);
32
+ __decorate([
33
+ (0, graphql_1.Field)(() => enums_1.EegReportStatusEnum, {
34
+ description: 'Select reports with a specific status.',
35
+ nullable: true,
36
+ }),
37
+ __metadata("design:type", String)
38
+ ], EegReportsArgs.prototype, "status", void 0);
32
39
  __decorate([
33
40
  (0, graphql_1.Field)(() => enums_1.EegReportTypeEnum, {
34
41
  description: 'Select reports with this type.',
@@ -1 +1 @@
1
- {"version":3,"file":"eeg-reports.args.js","sourceRoot":"","sources":["../../../src/eeg-reports/args/eeg-reports.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAAyC;AACzC,6CAAsD;AACtD,0CAAmD;AAG5C,IAAM,cAAc,4BAApB,MAAM,cAAe,SAAQ,sBAAc;CAkBjD,CAAA;AAbC;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,iDAAiD;QAC9D,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACkB;AAMpB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,wDAAwD;QACrE,QAAQ,EAAE,IAAI;KACf,CAAC;;sDACsB;AAMxB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yBAAiB,EAAE;QAC9B,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;4CACuB;yBAjBd,cAAc;IAD1B,IAAA,kBAAQ,GAAE;GACE,cAAc,CAkB1B"}
1
+ {"version":3,"file":"eeg-reports.args.js","sourceRoot":"","sources":["../../../src/eeg-reports/args/eeg-reports.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAAyC;AACzC,6CAAsD;AACtD,0CAAwE;AAGjE,IAAM,cAAc,4BAApB,MAAM,cAAe,SAAQ,sBAAc;CAwBjD,CAAA;AAnBC;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,iDAAiD;QAC9D,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACkB;AAMpB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,wDAAwD;QACrE,QAAQ,EAAE,IAAI;KACf,CAAC;;sDACsB;AAMxB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAmB,EAAE;QAChC,WAAW,EAAE,wCAAwC;QACrD,QAAQ,EAAE,IAAI;KACf,CAAC;;8CAC2B;AAM7B;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yBAAiB,EAAE;QAC9B,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;4CACuB;yBAvBd,cAAc;IAD1B,IAAA,kBAAQ,GAAE;GACE,cAAc,CAwB1B"}
@@ -1,5 +1,5 @@
1
1
  import { EegReportUnion } from '../unions';
2
2
  export declare class UpdateEegReportPayload {
3
- report?: typeof EegReportUnion;
3
+ report: typeof EegReportUnion;
4
4
  }
5
5
  //# sourceMappingURL=update-eeg-report.payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-eeg-report.payload.d.ts","sourceRoot":"","sources":["../../../src/eeg-reports/payloads/update-eeg-report.payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG3C,qBACa,sBAAsB;IAIjC,MAAM,CAAC,EAAE,OAAO,cAAc,CAAC;CAChC"}
1
+ {"version":3,"file":"update-eeg-report.payload.d.ts","sourceRoot":"","sources":["../../../src/eeg-reports/payloads/update-eeg-report.payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG3C,qBACa,sBAAsB;IAEjC,MAAM,EAAE,OAAO,cAAc,CAAC;CAC/B"}
@@ -15,9 +15,7 @@ const graphql_1 = require("@nestjs/graphql");
15
15
  let UpdateEegReportPayload = exports.UpdateEegReportPayload = class UpdateEegReportPayload {
16
16
  };
17
17
  __decorate([
18
- (0, graphql_1.Field)(() => unions_1.EegReportUnion, {
19
- nullable: true,
20
- }),
18
+ (0, graphql_1.Field)(() => unions_1.EegReportUnion),
21
19
  __metadata("design:type", Object)
22
20
  ], UpdateEegReportPayload.prototype, "report", void 0);
23
21
  exports.UpdateEegReportPayload = UpdateEegReportPayload = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"update-eeg-report.payload.js","sourceRoot":"","sources":["../../../src/eeg-reports/payloads/update-eeg-report.payload.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAA2C;AAC3C,6CAAoD;AAG7C,IAAM,sBAAsB,oCAA5B,MAAM,sBAAsB;CAKlC,CAAA;AADC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,uBAAc,EAAE;QAC3B,QAAQ,EAAE,IAAI;KACf,CAAC;;sDAC6B;iCAJpB,sBAAsB;IADlC,IAAA,oBAAU,GAAE;GACA,sBAAsB,CAKlC"}
1
+ {"version":3,"file":"update-eeg-report.payload.js","sourceRoot":"","sources":["../../../src/eeg-reports/payloads/update-eeg-report.payload.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAA2C;AAC3C,6CAAoD;AAG7C,IAAM,sBAAsB,oCAA5B,MAAM,sBAAsB;CAGlC,CAAA;AADC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,uBAAc,CAAC;;sDACE;iCAFnB,sBAAsB;IADlC,IAAA,oBAAU,GAAE;GACA,sBAAsB,CAGlC"}
@@ -1,5 +1,5 @@
1
1
  import { Email } from '../../emails/objects';
2
2
  export declare class EmailPayload {
3
- email?: Email;
3
+ email?: Email | null;
4
4
  }
5
5
  //# sourceMappingURL=email-payload.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"email-payload.interface.d.ts","sourceRoot":"","sources":["../../../src/emails/interfaces/email-payload.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGzC,qBACa,YAAY;IAIvB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf"}
1
+ {"version":3,"file":"email-payload.interface.d.ts","sourceRoot":"","sources":["../../../src/emails/interfaces/email-payload.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGzC,qBACa,YAAY;IAIvB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACtB"}
@@ -18,7 +18,7 @@ __decorate([
18
18
  (0, graphql_1.Field)(() => objects_1.Email, {
19
19
  nullable: true,
20
20
  }),
21
- __metadata("design:type", objects_1.Email)
21
+ __metadata("design:type", Object)
22
22
  ], EmailPayload.prototype, "email", void 0);
23
23
  exports.EmailPayload = EmailPayload = __decorate([
24
24
  (0, graphql_1.InterfaceType)()
@@ -1 +1 @@
1
- {"version":3,"file":"email-payload.interface.js","sourceRoot":"","sources":["../../../src/emails/interfaces/email-payload.interface.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAyC;AACzC,6CAAuD;AAGhD,IAAM,YAAY,0BAAlB,MAAM,YAAY;CAKxB,CAAA;AADC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAK,EAAE;QAClB,QAAQ,EAAE,IAAI;KACf,CAAC;8BACM,eAAK;2CAAC;uBAJH,YAAY;IADxB,IAAA,uBAAa,GAAE;GACH,YAAY,CAKxB"}
1
+ {"version":3,"file":"email-payload.interface.js","sourceRoot":"","sources":["../../../src/emails/interfaces/email-payload.interface.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAyC;AACzC,6CAAuD;AAGhD,IAAM,YAAY,0BAAlB,MAAM,YAAY;CAKxB,CAAA;AADC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAK,EAAE;QAClB,QAAQ,EAAE,IAAI;KACf,CAAC;;2CACmB;uBAJV,YAAY;IADxB,IAAA,uBAAa,GAAE;GACH,YAAY,CAKxB"}