@puzzlin/models 4.0.0 → 4.1.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.
- package/dist/apps/brain-imaging/big-five-eeg-reports/index.d.ts +2 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/index.d.ts.map +1 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/index.js +18 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/index.js.map +1 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.d.ts +6 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.d.ts.map +1 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.js +32 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.js.map +1 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/objects/index.d.ts +2 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/objects/index.d.ts.map +1 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/objects/index.js +18 -0
- package/dist/apps/brain-imaging/big-five-eeg-reports/objects/index.js.map +1 -0
- package/dist/apps/brain-imaging/eeg-recordings/objects/eeg-recording.object.d.ts +2 -2
- package/dist/apps/brain-imaging/eeg-recordings/objects/eeg-recording.object.d.ts.map +1 -1
- package/dist/apps/brain-imaging/eeg-recordings/objects/eeg-recording.object.js +1 -7
- package/dist/apps/brain-imaging/eeg-recordings/objects/eeg-recording.object.js.map +1 -1
- package/dist/apps/brain-imaging/eeg-report-unions/index.d.ts +1 -2
- package/dist/apps/brain-imaging/eeg-report-unions/index.d.ts.map +1 -1
- package/dist/apps/brain-imaging/eeg-report-unions/index.js +1 -2
- package/dist/apps/brain-imaging/eeg-report-unions/index.js.map +1 -1
- package/dist/apps/brain-imaging/eeg-report-unions/types/eeg-report-union.type.d.ts +4 -0
- package/dist/apps/brain-imaging/eeg-report-unions/types/eeg-report-union.type.d.ts.map +1 -0
- package/dist/apps/brain-imaging/eeg-report-unions/types/eeg-report-union.type.js +3 -0
- package/dist/apps/brain-imaging/eeg-report-unions/types/eeg-report-union.type.js.map +1 -0
- package/dist/apps/brain-imaging/eeg-report-unions/types/index.d.ts +2 -0
- package/dist/apps/brain-imaging/eeg-report-unions/types/index.d.ts.map +1 -0
- package/dist/apps/brain-imaging/eeg-report-unions/types/index.js +18 -0
- package/dist/apps/brain-imaging/eeg-report-unions/types/index.js.map +1 -0
- package/dist/apps/brain-imaging/eeg-reports/objects/eeg-report.object.js +2 -2
- package/dist/apps/brain-imaging/eeg-reports/objects/eeg-report.object.js.map +1 -1
- package/dist/apps/brain-imaging/index.d.ts +2 -0
- package/dist/apps/brain-imaging/index.d.ts.map +1 -1
- package/dist/apps/brain-imaging/index.js +2 -0
- package/dist/apps/brain-imaging/index.js.map +1 -1
- package/dist/apps/brain-imaging/nardi-eeg-reports/models/nardi-eeg-analyses/inputs/update-nardi-eeg-analysis.input.d.ts +1 -1
- package/dist/apps/brain-imaging/nardi-eeg-reports/objects/nardi-eeg-report.object.d.ts.map +1 -1
- package/dist/apps/brain-imaging/nardi-eeg-reports/objects/nardi-eeg-report.object.js +3 -1
- package/dist/apps/brain-imaging/nardi-eeg-reports/objects/nardi-eeg-report.object.js.map +1 -1
- package/dist/apps/brain-imaging/utils/eeg-report-resolve-types.d.ts +3 -0
- package/dist/apps/brain-imaging/utils/eeg-report-resolve-types.d.ts.map +1 -0
- package/dist/apps/brain-imaging/utils/eeg-report-resolve-types.js +9 -0
- package/dist/apps/brain-imaging/utils/eeg-report-resolve-types.js.map +1 -0
- package/dist/apps/brain-imaging/utils/index.d.ts +2 -0
- package/dist/apps/brain-imaging/utils/index.d.ts.map +1 -0
- package/dist/apps/brain-imaging/utils/index.js +18 -0
- package/dist/apps/brain-imaging/utils/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/apps/brain-imaging/eeg-report-unions/eeg-report-union.connection.d.ts +0 -5
- package/dist/apps/brain-imaging/eeg-report-unions/eeg-report-union.connection.d.ts.map +0 -1
- package/dist/apps/brain-imaging/eeg-report-unions/eeg-report-union.connection.js +0 -19
- package/dist/apps/brain-imaging/eeg-report-unions/eeg-report-union.connection.js.map +0 -1
- package/dist/apps/brain-imaging/eeg-report-unions/eeg-report.union.d.ts +0 -8
- package/dist/apps/brain-imaging/eeg-report-unions/eeg-report.union.d.ts.map +0 -1
- package/dist/apps/brain-imaging/eeg-report-unions/eeg-report.union.js +0 -18
- package/dist/apps/brain-imaging/eeg-report-unions/eeg-report.union.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/big-five-eeg-reports/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./objects"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/big-five-eeg-reports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B","sourcesContent":["export * from './objects';\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EegReport } from '../../../../apps/brain-imaging/eeg-reports/objects';
|
|
2
|
+
import { EegReportTypeEnum } from '@puzzlin/enums';
|
|
3
|
+
export declare class BigFiveEegReport extends EegReport {
|
|
4
|
+
type: EegReportTypeEnum.EEG_REPORT_BIG_FIVE;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=big-five-eeg-report.object.d.ts.map
|
package/dist/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.d.ts.map
ADDED
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BigFiveEegReport = void 0;
|
|
13
|
+
const objects_1 = require("../../../../apps/brain-imaging/eeg-reports/objects");
|
|
14
|
+
const utils_1 = require("../../../../apps/brain-imaging/utils");
|
|
15
|
+
const platform_1 = require("../../../../apps/platform");
|
|
16
|
+
const shared_1 = require("../../../../shared");
|
|
17
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
18
|
+
const enums_1 = require("@puzzlin/enums");
|
|
19
|
+
let BigFiveEegReport = class BigFiveEegReport extends objects_1.EegReport {
|
|
20
|
+
};
|
|
21
|
+
exports.BigFiveEegReport = BigFiveEegReport;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, graphql_1.Field)(() => enums_1.EegReportTypeEnum),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], BigFiveEegReport.prototype, "type", void 0);
|
|
26
|
+
exports.BigFiveEegReport = BigFiveEegReport = __decorate([
|
|
27
|
+
(0, graphql_1.ObjectType)(utils_1.EEG_REPORT_RESOLVE_TYPES[enums_1.EegReportTypeEnum.EEG_REPORT_BIG_FIVE], {
|
|
28
|
+
description: 'Big Five EEG report',
|
|
29
|
+
implements: () => [shared_1.Node, objects_1.EegReport, platform_1.AssetBackedNode],
|
|
30
|
+
})
|
|
31
|
+
], BigFiveEegReport);
|
|
32
|
+
//# sourceMappingURL=big-five-eeg-report.object.js.map
|
package/dist/apps/brain-imaging/big-five-eeg-reports/objects/big-five-eeg-report.object.js.map
ADDED
|
@@ -0,0 +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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/big-five-eeg-reports/objects/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./big-five-eeg-report.object"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/big-five-eeg-reports/objects/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C","sourcesContent":["export * from './big-five-eeg-report.object';\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Activity } from '../../../../apps/brain-imaging/activities';
|
|
2
|
-
import {
|
|
2
|
+
import { EegReport } from '../../../../apps/brain-imaging/eeg-reports/objects';
|
|
3
3
|
import { Subject } from '../../../../apps/brain-imaging/subjects';
|
|
4
4
|
import { AssetBackedNode } from '../../../../apps/platform/asset-backed-nodes';
|
|
5
5
|
import { User } from '../../../../apps/platform/users';
|
|
@@ -17,7 +17,7 @@ export declare class EegRecording extends EegRecording_base {
|
|
|
17
17
|
originalFileName?: string;
|
|
18
18
|
practitioners?: User[];
|
|
19
19
|
practitionerIds: string[];
|
|
20
|
-
reports?:
|
|
20
|
+
reports?: EegReport[];
|
|
21
21
|
reportIds: string[];
|
|
22
22
|
samplingRate?: number;
|
|
23
23
|
sharedAt?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eeg-recording.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-recordings/objects/eeg-recording.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"eeg-recording.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-recordings/objects/eeg-recording.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAGrC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;;AAIjD,qBAGa,YAAa,SAAQ,iBAA4C;IAK5E,UAAU,CAAC,EAAE,QAAQ,EAAE,CAAC;IAMxB,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAM7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAKhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,aAAa,CAAC,EAAE,IAAI,EAAE,CAAC;IAGvB,eAAe,EAAE,MAAM,EAAE,CAAC;IAM1B,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IAGtB,SAAS,EAAE,MAAM,EAAE,CAAC;IAMpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -11,7 +11,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.EegRecording = void 0;
|
|
13
13
|
const activities_1 = require("../../../../apps/brain-imaging/activities");
|
|
14
|
-
const eeg_report_unions_1 = require("../../../../apps/brain-imaging/eeg-report-unions");
|
|
15
14
|
const objects_1 = require("../../../../apps/brain-imaging/eeg-reports/objects");
|
|
16
15
|
const subjects_1 = require("../../../../apps/brain-imaging/subjects");
|
|
17
16
|
const asset_backed_nodes_1 = require("../../../../apps/platform/asset-backed-nodes");
|
|
@@ -90,12 +89,7 @@ __decorate([
|
|
|
90
89
|
(0, graphql_1.Field)(() => [objects_1.EegReport], {
|
|
91
90
|
nullable: true,
|
|
92
91
|
}),
|
|
93
|
-
(0, class_transformer_1.Type)(() => objects_1.EegReport,
|
|
94
|
-
discriminator: {
|
|
95
|
-
property: 'type',
|
|
96
|
-
subTypes: Object.entries(eeg_report_unions_1.EEG_REPORT_UNION_CLASSES).map(([name, value]) => ({ value, name })),
|
|
97
|
-
},
|
|
98
|
-
}),
|
|
92
|
+
(0, class_transformer_1.Type)(() => objects_1.EegReport),
|
|
99
93
|
__metadata("design:type", Array)
|
|
100
94
|
], EegRecording.prototype, "reports", void 0);
|
|
101
95
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eeg-recording.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-recordings/objects/eeg-recording.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAA2D;AAC3D,
|
|
1
|
+
{"version":3,"file":"eeg-recording.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-recordings/objects/eeg-recording.object.ts"],"names":[],"mappings":"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","sourcesContent":["import { Activity } from '@/apps/brain-imaging/activities';\r\nimport { EegReport } from '@/apps/brain-imaging/eeg-reports/objects';\r\nimport { Subject } from '@/apps/brain-imaging/subjects';\r\nimport { AssetBackedNode } from '@/apps/platform/asset-backed-nodes';\r\nimport { User } from '@/apps/platform/users';\r\nimport { Timestamp } from '@/shared';\r\nimport { DateTimeISOWithOffsetScalar } from '@/utils';\r\nimport { Field, ID, IntersectionType, ObjectType } from '@nestjs/graphql';\r\nimport { BrainRegionEnum } from '@puzzlin/enums';\r\nimport { Type } from 'class-transformer';\r\nimport { GraphQLDateTimeISO, NonEmptyStringResolver, PositiveIntResolver } from 'graphql-scalars';\r\n\r\n@ObjectType({\r\n implements: AssetBackedNode,\r\n})\r\nexport class EegRecording extends IntersectionType(AssetBackedNode, Timestamp) {\r\n @Field(() => [Activity], {\r\n nullable: true,\r\n })\r\n @Type(() => Activity)\r\n activities?: Activity[];\r\n\r\n @Field(() => [BrainRegionEnum], {\r\n description: 'List of EEG channels.',\r\n nullable: true,\r\n })\r\n channels?: BrainRegionEnum[];\r\n\r\n @Field(() => PositiveIntResolver, {\r\n description: 'Duration in milliseconds.',\r\n nullable: true,\r\n })\r\n duration?: number;\r\n\r\n @Field(() => User, {\r\n nullable: true,\r\n })\r\n @Type(() => User)\r\n explorer?: User;\r\n\r\n @Field(() => ID, {\r\n nullable: true,\r\n })\r\n explorerId?: string;\r\n\r\n @Field(() => String, {\r\n nullable: true,\r\n })\r\n fileUrl?: string;\r\n\r\n @Field(() => NonEmptyStringResolver, {\r\n nullable: true,\r\n })\r\n name?: string;\r\n\r\n @Field(() => NonEmptyStringResolver, {\r\n nullable: true,\r\n })\r\n originalFileName?: string;\r\n\r\n @Field(() => [User])\r\n @Type(() => User)\r\n practitioners?: User[];\r\n\r\n @Field(() => [ID])\r\n practitionerIds: string[];\r\n\r\n @Field(() => [EegReport], {\r\n nullable: true,\r\n })\r\n @Type(() => EegReport)\r\n reports?: EegReport[];\r\n\r\n @Field(() => [ID])\r\n reportIds: string[];\r\n\r\n @Field(() => PositiveIntResolver, {\r\n description: 'Sampling rate in hertz.',\r\n nullable: true,\r\n })\r\n samplingRate?: number;\r\n\r\n @Field(() => GraphQLDateTimeISO, {\r\n description: 'Date and time at which the subject was invited to access their recording using ISO 8601 format.',\r\n nullable: true,\r\n })\r\n sharedAt?: string;\r\n\r\n @Field(() => DateTimeISOWithOffsetScalar, {\r\n description: 'Date and time (with offset) the recording started at using ISO 8601 format.',\r\n nullable: true,\r\n })\r\n startedAt?: string;\r\n\r\n @Field(() => Subject)\r\n @Type(() => Subject)\r\n subject?: Subject;\r\n}\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/eeg-report-unions/index.ts"],"names":[],"mappings":"AAAA,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/eeg-report-unions/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./eeg-report.union"), exports);
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/eeg-report-unions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/eeg-report-unions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB","sourcesContent":["export * from './types';\r\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BigFiveEegReport } from '../../../../apps/brain-imaging/big-five-eeg-reports/objects';
|
|
2
|
+
import type { NardiEegReport } from '../../../../apps/brain-imaging/nardi-eeg-reports/objects';
|
|
3
|
+
export type EegReportUnionType = BigFiveEegReport | NardiEegReport;
|
|
4
|
+
//# sourceMappingURL=eeg-report-union.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eeg-report-union.type.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-report-unions/types/eeg-report-union.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eeg-report-union.type.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-report-unions/types/eeg-report-union.type.ts"],"names":[],"mappings":"","sourcesContent":["import type { BigFiveEegReport } from '@/apps/brain-imaging/big-five-eeg-reports/objects';\r\nimport type { NardiEegReport } from '@/apps/brain-imaging/nardi-eeg-reports/objects';\r\n\r\nexport type EegReportUnionType = BigFiveEegReport | NardiEegReport;\r\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-report-unions/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./eeg-report-union.type"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-report-unions/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC","sourcesContent":["export * from './eeg-report-union.type';\n"]}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.EegReport = void 0;
|
|
13
13
|
const eeg_recordings_1 = require("../../../../apps/brain-imaging/eeg-recordings");
|
|
14
|
-
const
|
|
14
|
+
const utils_1 = require("../../../../apps/brain-imaging/utils");
|
|
15
15
|
const asset_backed_nodes_1 = require("../../../../apps/platform/asset-backed-nodes");
|
|
16
16
|
const shared_1 = require("../../../../shared");
|
|
17
17
|
const graphql_1 = require("@nestjs/graphql");
|
|
@@ -47,7 +47,7 @@ exports.EegReport = EegReport = __decorate([
|
|
|
47
47
|
description: 'EEG report to extend from.',
|
|
48
48
|
implements: asset_backed_nodes_1.AssetBackedNode,
|
|
49
49
|
isAbstract: true,
|
|
50
|
-
resolveType: (value) =>
|
|
50
|
+
resolveType: (value) => utils_1.EEG_REPORT_RESOLVE_TYPES[value.type],
|
|
51
51
|
})
|
|
52
52
|
], EegReport);
|
|
53
53
|
//# sourceMappingURL=eeg-report.object.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eeg-report.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/objects/eeg-report.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wEAAmE;AACnE,
|
|
1
|
+
{"version":3,"file":"eeg-report.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/objects/eeg-report.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wEAAmE;AACnE,sDAAsE;AACtE,2EAAqE;AACrE,qCAAqC;AACrC,6CAAyE;AACzE,0CAAwE;AACxE,yDAAyC;AACzC,qDAAyD;AAQlD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,IAAA,0BAAgB,EAAC,oCAAe,EAAE,kBAAS,CAAC;CAiB1E,CAAA;AAjBY,8BAAS;AAGpB;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,6BAAY,CAAC,CAAC;IAC3B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAY,CAAC;;6CACG;AAK5B;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAmB,EAAE;QAChC,WAAW,EAAE,6DAA6D;KAC3E,CAAC;;yCAC0B;AAK5B;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;wCACa;AAGf;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC;;uCACP;oBAhBb,SAAS;IANrB,IAAA,uBAAa,EAAC;QACb,WAAW,EAAE,4BAA4B;QACzC,UAAU,EAAE,oCAAe;QAC3B,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,CAAC,KAAkC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC;KAC1F,CAAC;GACW,SAAS,CAiBrB","sourcesContent":["import { EegRecording } from '@/apps/brain-imaging/eeg-recordings';\r\nimport { EEG_REPORT_RESOLVE_TYPES } from '@/apps/brain-imaging/utils';\r\nimport { AssetBackedNode } from '@/apps/platform/asset-backed-nodes';\r\nimport { Timestamp } from '@/shared';\r\nimport { Field, InterfaceType, IntersectionType } from '@nestjs/graphql';\r\nimport { EegReportStatusEnum, EegReportTypeEnum } from '@puzzlin/enums';\r\nimport { Type } from 'class-transformer';\r\nimport { NonEmptyStringResolver } from 'graphql-scalars';\r\n\r\n@InterfaceType({\r\n description: 'EEG report to extend from.',\r\n implements: AssetBackedNode,\r\n isAbstract: true,\r\n resolveType: (value: { type: EegReportTypeEnum }) => EEG_REPORT_RESOLVE_TYPES[value.type],\r\n})\r\nexport class EegReport extends IntersectionType(AssetBackedNode, Timestamp) {\r\n @Field(() => [EegRecording])\r\n @Type(() => EegRecording)\r\n recordings?: EegRecording[];\r\n\r\n @Field(() => EegReportStatusEnum, {\r\n description: 'Report status; Explorers may access published reports only.',\r\n })\r\n status: EegReportStatusEnum;\r\n\r\n @Field(() => NonEmptyStringResolver, {\r\n nullable: true,\r\n })\r\n title?: string;\r\n\r\n @Field(() => EegReportTypeEnum)\r\n type: EegReportTypeEnum;\r\n}\r\n"]}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from './activities';
|
|
2
|
+
export * from './big-five-eeg-reports';
|
|
2
3
|
export * from './eeg-recordings';
|
|
3
4
|
export * from './eeg-report-unions';
|
|
4
5
|
export * from './eeg-reports';
|
|
5
6
|
export * from './nardi-eeg-reports';
|
|
6
7
|
export * from './subjects';
|
|
8
|
+
export * from './utils';
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/apps/brain-imaging/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/apps/brain-imaging/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
@@ -15,9 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./activities"), exports);
|
|
18
|
+
__exportStar(require("./big-five-eeg-reports"), exports);
|
|
18
19
|
__exportStar(require("./eeg-recordings"), exports);
|
|
19
20
|
__exportStar(require("./eeg-report-unions"), exports);
|
|
20
21
|
__exportStar(require("./eeg-reports"), exports);
|
|
21
22
|
__exportStar(require("./nardi-eeg-reports"), exports);
|
|
22
23
|
__exportStar(require("./subjects"), exports);
|
|
24
|
+
__exportStar(require("./utils"), exports);
|
|
23
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/apps/brain-imaging/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,mDAAiC;AACjC,sDAAoC;AACpC,gDAA8B;AAC9B,sDAAoC;AACpC,6CAA2B","sourcesContent":["export * from './activities';\r\nexport * from './eeg-recordings';\r\nexport * from './eeg-report-unions';\r\nexport * from './eeg-reports';\r\nexport * from './nardi-eeg-reports';\r\nexport * from './subjects';\r\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/apps/brain-imaging/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,yDAAuC;AACvC,mDAAiC;AACjC,sDAAoC;AACpC,gDAA8B;AAC9B,sDAAoC;AACpC,6CAA2B;AAC3B,0CAAwB","sourcesContent":["export * from './activities';\r\nexport * from './big-five-eeg-reports';\r\nexport * from './eeg-recordings';\r\nexport * from './eeg-report-unions';\r\nexport * from './eeg-reports';\r\nexport * from './nardi-eeg-reports';\r\nexport * from './subjects';\r\nexport * from './utils';\r\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NodeInput } from '../../../../../../shared';
|
|
2
2
|
import { CreateNardiEegAnalysisInput } from './create-nardi-eeg-analysis.input';
|
|
3
|
-
declare const UpdateNardiEegAnalysisInput_base: import("@nestjs/common").Type<Partial<Omit<CreateNardiEegAnalysisInput, "channels" | "
|
|
3
|
+
declare const UpdateNardiEegAnalysisInput_base: import("@nestjs/common").Type<Partial<Omit<CreateNardiEegAnalysisInput, "channels" | "recordings" | "frequencyBandwidths">> & NodeInput>;
|
|
4
4
|
export declare class UpdateNardiEegAnalysisInput extends UpdateNardiEegAnalysisInput_base {
|
|
5
5
|
}
|
|
6
6
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nardi-eeg-report.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/nardi-eeg-reports/objects/nardi-eeg-report.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"nardi-eeg-report.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/nardi-eeg-reports/objects/nardi-eeg-report.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAKrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,qBAIa,cAAe,SAAQ,SAAS;IAK3C,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAE9B,IAAI,EAAE,iBAAiB,CAAC,gBAAgB,CAAC;CAC1C"}
|
|
@@ -11,9 +11,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.NardiEegReport = void 0;
|
|
13
13
|
const objects_1 = require("../../../../apps/brain-imaging/eeg-reports/objects");
|
|
14
|
+
const utils_1 = require("../../../../apps/brain-imaging/utils");
|
|
14
15
|
const platform_1 = require("../../../../apps/platform");
|
|
15
16
|
const shared_1 = require("../../../../shared");
|
|
16
17
|
const graphql_1 = require("@nestjs/graphql");
|
|
18
|
+
const enums_1 = require("@puzzlin/enums");
|
|
17
19
|
const class_transformer_1 = require("class-transformer");
|
|
18
20
|
const models_1 = require("../models");
|
|
19
21
|
let NardiEegReport = class NardiEegReport extends objects_1.EegReport {
|
|
@@ -27,7 +29,7 @@ __decorate([
|
|
|
27
29
|
__metadata("design:type", Array)
|
|
28
30
|
], NardiEegReport.prototype, "analyses", void 0);
|
|
29
31
|
exports.NardiEegReport = NardiEegReport = __decorate([
|
|
30
|
-
(0, graphql_1.ObjectType)({
|
|
32
|
+
(0, graphql_1.ObjectType)(utils_1.EEG_REPORT_RESOLVE_TYPES[enums_1.EegReportTypeEnum.EEG_REPORT_NARDI], {
|
|
31
33
|
description: 'EEG report by Dario Nardi.',
|
|
32
34
|
implements: () => [shared_1.Node, objects_1.EegReport, platform_1.AssetBackedNode],
|
|
33
35
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nardi-eeg-report.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/nardi-eeg-reports/objects/nardi-eeg-report.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAqE;AACrE,8CAAkD;AAClD,qCAAgC;AAChC,6CAAoD;
|
|
1
|
+
{"version":3,"file":"nardi-eeg-report.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/nardi-eeg-reports/objects/nardi-eeg-report.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAqE;AACrE,sDAAsE;AACtE,8CAAkD;AAClD,qCAAgC;AAChC,6CAAoD;AACpD,0CAAmD;AACnD,yDAAyC;AACzC,sCAA6C;AAMtC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,mBAAS;CAQ5C,CAAA;AARY,wCAAc;AAKzB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,yBAAgB,CAAC,EAAE;QAC/B,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAgB,CAAC;;gDACC;yBALnB,cAAc;IAJ1B,IAAA,oBAAU,EAAC,gCAAwB,CAAC,yBAAiB,CAAC,gBAAgB,CAAC,EAAE;QACxE,WAAW,EAAE,4BAA4B;QACzC,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,aAAI,EAAE,mBAAS,EAAE,0BAAe,CAAC;KACrD,CAAC;GACW,cAAc,CAQ1B","sourcesContent":["import { EegReport } from '@/apps/brain-imaging/eeg-reports/objects';\r\nimport { EEG_REPORT_RESOLVE_TYPES } from '@/apps/brain-imaging/utils';\r\nimport { 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 { NardiEegAnalysis } from '../models';\r\n\r\n@ObjectType(EEG_REPORT_RESOLVE_TYPES[EegReportTypeEnum.EEG_REPORT_NARDI], {\r\n description: 'EEG report by Dario Nardi.',\r\n implements: () => [Node, EegReport, AssetBackedNode],\r\n})\r\nexport class NardiEegReport extends EegReport {\r\n @Field(() => [NardiEegAnalysis], {\r\n nullable: true,\r\n })\r\n @Type(() => NardiEegAnalysis)\r\n analyses?: NardiEegAnalysis[];\r\n\r\n type: EegReportTypeEnum.EEG_REPORT_NARDI;\r\n}\r\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eeg-report-resolve-types.d.ts","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/utils/eeg-report-resolve-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAGtE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EEG_REPORT_RESOLVE_TYPES = void 0;
|
|
4
|
+
const enums_1 = require("@puzzlin/enums");
|
|
5
|
+
exports.EEG_REPORT_RESOLVE_TYPES = {
|
|
6
|
+
[enums_1.EegReportTypeEnum.EEG_REPORT_BIG_FIVE]: 'BigFiveEegReport',
|
|
7
|
+
[enums_1.EegReportTypeEnum.EEG_REPORT_NARDI]: 'NardiEegReport',
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=eeg-report-resolve-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eeg-report-resolve-types.js","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/utils/eeg-report-resolve-types.ts"],"names":[],"mappings":";;;AAAA,0CAAmD;AAEtC,QAAA,wBAAwB,GAAsC;IACzE,CAAC,yBAAiB,CAAC,mBAAmB,CAAC,EAAE,kBAAkB;IAC3D,CAAC,yBAAiB,CAAC,gBAAgB,CAAC,EAAE,gBAAgB;CACvD,CAAC","sourcesContent":["import { EegReportTypeEnum } from '@puzzlin/enums';\n\nexport const EEG_REPORT_RESOLVE_TYPES: Record<EegReportTypeEnum, string> = {\n [EegReportTypeEnum.EEG_REPORT_BIG_FIVE]: 'BigFiveEegReport',\n [EegReportTypeEnum.EEG_REPORT_NARDI]: 'NardiEegReport',\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./eeg-report-resolve-types"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/apps/brain-imaging/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C","sourcesContent":["export * from './eeg-report-resolve-types';\n"]}
|