@puzzlin/models 3.24.0 → 3.25.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.
- package/dist/apps/brain-imaging/eeg-reports/args/eeg-reports.args.d.ts +0 -1
- package/dist/apps/brain-imaging/eeg-reports/args/eeg-reports.args.d.ts.map +1 -1
- package/dist/apps/brain-imaging/eeg-reports/args/eeg-reports.args.js +0 -6
- package/dist/apps/brain-imaging/eeg-reports/args/eeg-reports.args.js.map +1 -1
- package/dist/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.d.ts +2 -1
- package/dist/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.d.ts.map +1 -1
- package/dist/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.js +2 -1
- package/dist/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.js.map +1 -1
- package/dist/apps/brain-imaging/eeg-reports/objects/eeg-report.object.d.ts +3 -3
- package/dist/apps/brain-imaging/eeg-reports/objects/eeg-report.object.d.ts.map +1 -1
- package/dist/apps/brain-imaging/eeg-reports/objects/eeg-report.object.js +3 -6
- package/dist/apps/brain-imaging/eeg-reports/objects/eeg-report.object.js.map +1 -1
- package/dist/apps/platform/assets/objects/asset-purchase.object.js +1 -1
- package/dist/apps/platform/assets/objects/asset-purchase.object.js.map +1 -1
- package/dist/apps/platform/credits/inputs/create-credit-ledger-entry.input.d.ts +2 -2
- package/dist/apps/platform/credits/inputs/create-credit-ledger-entry.input.d.ts.map +1 -1
- package/dist/apps/platform/credits/inputs/create-credit-ledger-entry.input.js +10 -10
- package/dist/apps/platform/credits/inputs/create-credit-ledger-entry.input.js.map +1 -1
- package/dist/apps/platform/credits/inputs/index.d.ts +2 -2
- package/dist/apps/platform/credits/inputs/index.d.ts.map +1 -1
- package/dist/apps/platform/credits/inputs/index.js +2 -2
- package/dist/apps/platform/credits/inputs/index.js.map +1 -1
- package/dist/apps/platform/credits/inputs/redeem-credits.input.d.ts +6 -0
- package/dist/apps/platform/credits/inputs/redeem-credits.input.d.ts.map +1 -0
- package/dist/apps/platform/credits/inputs/{redeem-credits-for-resources.input.js → redeem-credits.input.js} +10 -10
- package/dist/apps/platform/credits/inputs/redeem-credits.input.js.map +1 -0
- package/dist/apps/platform/credits/inputs/user-asset.input.d.ts +7 -0
- package/dist/apps/platform/credits/inputs/user-asset.input.d.ts.map +1 -0
- package/dist/apps/platform/credits/inputs/{user-resource.input.js → user-asset.input.js} +10 -15
- package/dist/apps/platform/credits/inputs/user-asset.input.js.map +1 -0
- package/dist/apps/platform/credits/objects/credit-ledger-entry.object.d.ts +2 -2
- package/dist/apps/platform/credits/objects/credit-ledger-entry.object.d.ts.map +1 -1
- package/dist/apps/platform/credits/objects/credit-ledger-entry.object.js +10 -10
- package/dist/apps/platform/credits/objects/credit-ledger-entry.object.js.map +1 -1
- package/dist/apps/platform/credits/payloads/index.d.ts +1 -1
- package/dist/apps/platform/credits/payloads/index.d.ts.map +1 -1
- package/dist/apps/platform/credits/payloads/index.js +1 -1
- package/dist/apps/platform/credits/payloads/index.js.map +1 -1
- package/dist/apps/platform/credits/payloads/redeem-credits.payload.d.ts +4 -0
- package/dist/apps/platform/credits/payloads/redeem-credits.payload.d.ts.map +1 -0
- package/dist/apps/platform/credits/payloads/{redeem-credits-for-resources.payload.js → redeem-credits.payload.js} +7 -7
- package/dist/apps/platform/credits/payloads/redeem-credits.payload.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/apps/platform/credits/inputs/redeem-credits-for-resources.input.d.ts +0 -6
- package/dist/apps/platform/credits/inputs/redeem-credits-for-resources.input.d.ts.map +0 -1
- package/dist/apps/platform/credits/inputs/redeem-credits-for-resources.input.js.map +0 -1
- package/dist/apps/platform/credits/inputs/user-resource.input.d.ts +0 -9
- package/dist/apps/platform/credits/inputs/user-resource.input.d.ts.map +0 -1
- package/dist/apps/platform/credits/inputs/user-resource.input.js.map +0 -1
- package/dist/apps/platform/credits/payloads/redeem-credits-for-resources.payload.d.ts +0 -4
- package/dist/apps/platform/credits/payloads/redeem-credits-for-resources.payload.d.ts.map +0 -1
- package/dist/apps/platform/credits/payloads/redeem-credits-for-resources.payload.js.map +0 -1
|
@@ -2,7 +2,6 @@ import { PaginationArgs } from '../../../../shared';
|
|
|
2
2
|
import { EegReportStatusEnum, EegReportTypeEnum } from '@puzzlin/enums';
|
|
3
3
|
export declare class EegReportsArgs extends PaginationArgs {
|
|
4
4
|
explorerId?: string;
|
|
5
|
-
isUnlocked?: boolean;
|
|
6
5
|
practitionerId?: string;
|
|
7
6
|
practitioner?: string;
|
|
8
7
|
recordingId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eeg-reports.args.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/args/eeg-reports.args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExE,qBACa,cAAe,SAAQ,cAAc;IAKhD,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"eeg-reports.args.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/args/eeg-reports.args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,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,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAM7B,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B"}
|
|
@@ -23,12 +23,6 @@ __decorate([
|
|
|
23
23
|
}),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], EegReportsArgs.prototype, "explorerId", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, graphql_1.Field)(() => Boolean, {
|
|
28
|
-
nullable: true,
|
|
29
|
-
}),
|
|
30
|
-
__metadata("design:type", Boolean)
|
|
31
|
-
], EegReportsArgs.prototype, "isUnlocked", void 0);
|
|
32
26
|
__decorate([
|
|
33
27
|
(0, graphql_1.Field)(() => graphql_1.ID, {
|
|
34
28
|
description: 'Select reports for a user who acted as a practitioner.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eeg-reports.args.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/args/eeg-reports.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA0C;AAC1C,6CAAsD;AACtD,0CAAwE;AAGjE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,uBAAc;
|
|
1
|
+
{"version":3,"file":"eeg-reports.args.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/args/eeg-reports.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA0C;AAC1C,6CAAsD;AACtD,0CAAwE;AAGjE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,uBAAc;CA0CjD,CAAA;AA1CY,wCAAc;AAKzB;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,MAAM,EAAE;QACnB,WAAW,EAAE,8DAA8D;QAC3E,QAAQ,EAAE,IAAI;KACf,CAAC;;oDACoB;AAMtB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,sCAAsC;QACnD,QAAQ,EAAE,IAAI;KACf,CAAC;;mDACmB;AAMrB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,WAAW,EAAE,yDAAyD;QACtE,QAAQ,EAAE,IAAI;KACf,CAAC;;+CACe;AAMjB;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;yBAzCd,cAAc;IAD1B,IAAA,kBAAQ,GAAE;GACE,cAAc,CA0C1B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { CreateAssetBackedNodeInput } from '../../../../apps/platform';
|
|
2
|
+
export declare class CreateIndividualEegReportInput extends CreateAssetBackedNodeInput {
|
|
2
3
|
recordingId: string;
|
|
3
4
|
}
|
|
4
5
|
//# sourceMappingURL=create-individual-eeg-report.input.d.ts.map
|
package/dist/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-individual-eeg-report.input.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-individual-eeg-report.input.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAG7D,qBACa,8BAA+B,SAAQ,0BAA0B;IAI5E,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -10,8 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateIndividualEegReportInput = void 0;
|
|
13
|
+
const platform_1 = require("../../../../apps/platform");
|
|
13
14
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
let CreateIndividualEegReportInput = class CreateIndividualEegReportInput {
|
|
15
|
+
let CreateIndividualEegReportInput = class CreateIndividualEegReportInput extends platform_1.CreateAssetBackedNodeInput {
|
|
15
16
|
};
|
|
16
17
|
exports.CreateIndividualEegReportInput = CreateIndividualEegReportInput;
|
|
17
18
|
__decorate([
|
package/dist/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-individual-eeg-report.input.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAuD;AAGhD,IAAM,8BAA8B,GAApC,MAAM,
|
|
1
|
+
{"version":3,"file":"create-individual-eeg-report.input.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/inputs/create-individual-eeg-report.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA6D;AAC7D,6CAAuD;AAGhD,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,qCAA0B;CAK7E,CAAA;AALY,wEAA8B;AAIzC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,8CAA8C;KAC5D,CAAC;;mEACkB;yCAJT,8BAA8B;IAD1C,IAAA,mBAAS,GAAE;GACC,8BAA8B,CAK1C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EegAnalysis } from '../../../../apps/brain-imaging/eeg-analyses';
|
|
2
|
-
import {
|
|
2
|
+
import { AssetBackedNode } from '../../../../apps/platform';
|
|
3
|
+
import { Timestamp } from '../../../../shared';
|
|
3
4
|
import { EegReportStatusEnum, EegReportTypeEnum } from '@puzzlin/enums';
|
|
4
|
-
declare const EegReport_base: import("@nestjs/common").Type<
|
|
5
|
+
declare const EegReport_base: import("@nestjs/common").Type<AssetBackedNode & Timestamp>;
|
|
5
6
|
export declare class EegReport extends EegReport_base {
|
|
6
7
|
analyses?: EegAnalysis[];
|
|
7
|
-
isUnlocked: boolean;
|
|
8
8
|
status: EegReportStatusEnum;
|
|
9
9
|
title?: string;
|
|
10
10
|
type: EegReportTypeEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eeg-report.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/objects/eeg-report.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"eeg-report.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/objects/eeg-report.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;;AAGxE,qBAKa,SAAU,SAAQ,cAA4C;IAIzE,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAKzB,MAAM,EAAE,mBAAmB,CAAC;IAK5B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,iBAAiB,CAAC;CACzB"}
|
|
@@ -11,11 +11,12 @@ 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_analyses_1 = require("../../../../apps/brain-imaging/eeg-analyses");
|
|
14
|
+
const platform_1 = require("../../../../apps/platform");
|
|
14
15
|
const shared_1 = require("../../../../shared");
|
|
15
16
|
const graphql_1 = require("@nestjs/graphql");
|
|
16
17
|
const enums_1 = require("@puzzlin/enums");
|
|
17
18
|
const graphql_scalars_1 = require("graphql-scalars");
|
|
18
|
-
let EegReport = class EegReport extends (0, graphql_1.IntersectionType)(
|
|
19
|
+
let EegReport = class EegReport extends (0, graphql_1.IntersectionType)(platform_1.AssetBackedNode, shared_1.Timestamp) {
|
|
19
20
|
};
|
|
20
21
|
exports.EegReport = EegReport;
|
|
21
22
|
__decorate([
|
|
@@ -24,10 +25,6 @@ __decorate([
|
|
|
24
25
|
}),
|
|
25
26
|
__metadata("design:type", Array)
|
|
26
27
|
], EegReport.prototype, "analyses", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, graphql_1.Field)(() => Boolean),
|
|
29
|
-
__metadata("design:type", Boolean)
|
|
30
|
-
], EegReport.prototype, "isUnlocked", void 0);
|
|
31
28
|
__decorate([
|
|
32
29
|
(0, graphql_1.Field)(() => enums_1.EegReportStatusEnum, {
|
|
33
30
|
description: 'Report status; Explorers may access published reports only.',
|
|
@@ -47,7 +44,7 @@ __decorate([
|
|
|
47
44
|
exports.EegReport = EegReport = __decorate([
|
|
48
45
|
(0, graphql_1.InterfaceType)({
|
|
49
46
|
description: 'EEG report to extend from.',
|
|
50
|
-
implements:
|
|
47
|
+
implements: platform_1.AssetBackedNode,
|
|
51
48
|
isAbstract: true,
|
|
52
49
|
})
|
|
53
50
|
], EegReport);
|
|
@@ -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,oEAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"eeg-report.object.js","sourceRoot":"","sources":["../../../../../src/apps/brain-imaging/eeg-reports/objects/eeg-report.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oEAAgE;AAChE,8CAAkD;AAClD,qCAAqC;AACrC,6CAAyE;AACzE,0CAAwE;AACxE,qDAAyD;AAOlD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,IAAA,0BAAgB,EAAC,0BAAe,EAAE,kBAAS,CAAC;CAkB1E,CAAA;AAlBY,8BAAS;AAIpB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,0BAAW,CAAC,EAAE;QAC1B,QAAQ,EAAE,IAAI;KACf,CAAC;;2CACuB;AAKzB;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;oBAjBb,SAAS;IALrB,IAAA,uBAAa,EAAC;QACb,WAAW,EAAE,4BAA4B;QACzC,UAAU,EAAE,0BAAe;QAC3B,UAAU,EAAE,IAAI;KACjB,CAAC;GACW,SAAS,CAkBrB"}
|
|
@@ -15,7 +15,7 @@ const graphql_1 = require("@nestjs/graphql");
|
|
|
15
15
|
const graphql_scalars_1 = require("graphql-scalars");
|
|
16
16
|
// NOTE: This is not in use yet.
|
|
17
17
|
// Use it maybe once subscriptions are implemented.
|
|
18
|
-
// Until then, the credit ledger owns the info of who did what on which
|
|
18
|
+
// Until then, the credit ledger owns the info of who did what on which asset, regarding credits.
|
|
19
19
|
let AssetPurchase = class AssetPurchase extends shared_1.Node {
|
|
20
20
|
};
|
|
21
21
|
exports.AssetPurchase = AssetPurchase;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-purchase.object.js","sourceRoot":"","sources":["../../../../../src/apps/platform/assets/objects/asset-purchase.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgC;AAChC,6CAAwD;AACxD,qDAA+E;AAE/E,gCAAgC;AAChC,mDAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"asset-purchase.object.js","sourceRoot":"","sources":["../../../../../src/apps/platform/assets/objects/asset-purchase.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgC;AAChC,6CAAwD;AACxD,qDAA+E;AAE/E,gCAAgC;AAChC,mDAAmD;AACnD,iGAAiG;AAK1F,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,aAAI;CActC,CAAA;AAdY,sCAAa;AAExB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;+CACC;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0CAAwB,CAAC;;kDAClB;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAkB,CAAC;;kDACZ;AAKpB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAkB,EAAE;QAC/B,QAAQ,EAAE,IAAI;KACf,CAAC;;iDACkB;wBAbT,aAAa;IAHzB,IAAA,oBAAU,EAAC;QACV,UAAU,EAAE,aAAI;KACjB,CAAC;GACW,aAAa,CAczB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CreditLedgerEntryReasonEnum, ProductTypeEnum } from '@puzzlin/enums';
|
|
2
2
|
export declare class CreateCreditLedgerEntryInput {
|
|
3
|
+
assetId?: string;
|
|
3
4
|
bySystem?: string;
|
|
4
5
|
byUserId?: string;
|
|
5
6
|
notes?: string;
|
|
6
|
-
productType: ProductTypeEnum;
|
|
7
7
|
orderId?: string;
|
|
8
|
+
productType: ProductTypeEnum;
|
|
8
9
|
quantity: number;
|
|
9
10
|
reason: CreditLedgerEntryReasonEnum;
|
|
10
|
-
resourceId?: string;
|
|
11
11
|
userId: string;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=create-credit-ledger-entry.input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-credit-ledger-entry.input.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/create-credit-ledger-entry.input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE9E,qBACa,4BAA4B;IAIvC,
|
|
1
|
+
{"version":3,"file":"create-credit-ledger-entry.input.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/create-credit-ledger-entry.input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE9E,qBACa,4BAA4B;IAIvC,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,eAAe,CAAC;IAG7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,2BAA2B,CAAC;IAGpC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -15,6 +15,12 @@ const enums_1 = require("@puzzlin/enums");
|
|
|
15
15
|
let CreateCreditLedgerEntryInput = class CreateCreditLedgerEntryInput {
|
|
16
16
|
};
|
|
17
17
|
exports.CreateCreditLedgerEntryInput = CreateCreditLedgerEntryInput;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, graphql_1.Field)(() => graphql_1.ID, {
|
|
20
|
+
nullable: true,
|
|
21
|
+
}),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateCreditLedgerEntryInput.prototype, "assetId", void 0);
|
|
18
24
|
__decorate([
|
|
19
25
|
(0, graphql_1.Field)(() => String, {
|
|
20
26
|
nullable: true,
|
|
@@ -33,16 +39,16 @@ __decorate([
|
|
|
33
39
|
}),
|
|
34
40
|
__metadata("design:type", String)
|
|
35
41
|
], CreateCreditLedgerEntryInput.prototype, "notes", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, graphql_1.Field)(() => enums_1.ProductTypeEnum),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], CreateCreditLedgerEntryInput.prototype, "productType", void 0);
|
|
40
42
|
__decorate([
|
|
41
43
|
(0, graphql_1.Field)(() => graphql_1.ID, {
|
|
42
44
|
nullable: true,
|
|
43
45
|
}),
|
|
44
46
|
__metadata("design:type", String)
|
|
45
47
|
], CreateCreditLedgerEntryInput.prototype, "orderId", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)(() => enums_1.ProductTypeEnum),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CreateCreditLedgerEntryInput.prototype, "productType", void 0);
|
|
46
52
|
__decorate([
|
|
47
53
|
(0, graphql_1.Field)(() => graphql_1.Int),
|
|
48
54
|
__metadata("design:type", Number)
|
|
@@ -51,12 +57,6 @@ __decorate([
|
|
|
51
57
|
(0, graphql_1.Field)(() => enums_1.CreditLedgerEntryReasonEnum),
|
|
52
58
|
__metadata("design:type", String)
|
|
53
59
|
], CreateCreditLedgerEntryInput.prototype, "reason", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, graphql_1.Field)(() => graphql_1.ID, {
|
|
56
|
-
nullable: true,
|
|
57
|
-
}),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], CreateCreditLedgerEntryInput.prototype, "resourceId", void 0);
|
|
60
60
|
__decorate([
|
|
61
61
|
(0, graphql_1.Field)(() => graphql_1.ID),
|
|
62
62
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-credit-ledger-entry.input.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/create-credit-ledger-entry.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA4D;AAC5D,0CAA8E;AAGvE,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAqCxC,CAAA;AArCY,oEAA4B;AAIvC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"create-credit-ledger-entry.input.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/create-credit-ledger-entry.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA4D;AAC5D,0CAA8E;AAGvE,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAqCxC,CAAA;AArCY,oEAA4B;AAIvC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,QAAQ,EAAE,IAAI;KACf,CAAC;;6DACe;AAKjB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;8DACgB;AAKlB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,QAAQ,EAAE,IAAI;KACf,CAAC;;8DACgB;AAKlB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;2DACa;AAKf;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,QAAQ,EAAE,IAAI;KACf,CAAC;;6DACe;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,uBAAe,CAAC;;iEACA;AAG7B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;8DACA;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;;4DACL;AAGpC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;4DACD;uCApCJ,4BAA4B;IADxC,IAAA,mBAAS,GAAE;GACC,4BAA4B,CAqCxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC"}
|
|
@@ -15,6 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./create-credit-ledger-entry.input"), exports);
|
|
18
|
-
__exportStar(require("./redeem-credits
|
|
19
|
-
__exportStar(require("./user-
|
|
18
|
+
__exportStar(require("./redeem-credits.input"), exports);
|
|
19
|
+
__exportStar(require("./user-asset.input"), exports);
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,yDAAuC;AACvC,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redeem-credits.input.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/redeem-credits.input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,kBAAkB;IAE7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,UAAU,EAAE,cAAc,EAAE,CAAC;CAC9B"}
|
|
@@ -9,21 +9,21 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.RedeemCreditsInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const
|
|
15
|
-
let
|
|
14
|
+
const user_asset_input_1 = require("./user-asset.input");
|
|
15
|
+
let RedeemCreditsInput = class RedeemCreditsInput {
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
17
|
+
exports.RedeemCreditsInput = RedeemCreditsInput;
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, graphql_1.Field)(() => graphql_1.ID),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
21
|
+
], RedeemCreditsInput.prototype, "byUserId", void 0);
|
|
22
22
|
__decorate([
|
|
23
|
-
(0, graphql_1.Field)(() => [
|
|
23
|
+
(0, graphql_1.Field)(() => [user_asset_input_1.UserAssetInput]),
|
|
24
24
|
__metadata("design:type", Array)
|
|
25
|
-
],
|
|
26
|
-
exports.
|
|
25
|
+
], RedeemCreditsInput.prototype, "userAssets", void 0);
|
|
26
|
+
exports.RedeemCreditsInput = RedeemCreditsInput = __decorate([
|
|
27
27
|
(0, graphql_1.InputType)()
|
|
28
|
-
],
|
|
29
|
-
//# sourceMappingURL=redeem-credits
|
|
28
|
+
], RedeemCreditsInput);
|
|
29
|
+
//# sourceMappingURL=redeem-credits.input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redeem-credits.input.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/redeem-credits.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAuD;AACvD,yDAAoD;AAG7C,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAM9B,CAAA;AANY,gDAAkB;AAE7B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;oDACC;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,iCAAc,CAAC,CAAC;;sDACD;6BALlB,kBAAkB;IAD9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAM9B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CreateCreditLedgerEntryInput } from './create-credit-ledger-entry.input';
|
|
2
|
+
export declare class UserAssetInput implements Pick<CreateCreditLedgerEntryInput, 'assetId' | 'quantity' | 'userId'> {
|
|
3
|
+
assetId: string;
|
|
4
|
+
quantity: number;
|
|
5
|
+
userId: string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=user-asset.input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-asset.input.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/user-asset.input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAElF,qBACa,cAAe,YAAW,IAAI,CAAC,4BAA4B,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;IAE1G,OAAO,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -9,30 +9,25 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.UserAssetInput = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const enums_1 = require("@puzzlin/enums");
|
|
15
14
|
const graphql_scalars_1 = require("graphql-scalars");
|
|
16
|
-
let
|
|
15
|
+
let UserAssetInput = class UserAssetInput {
|
|
17
16
|
};
|
|
18
|
-
exports.
|
|
17
|
+
exports.UserAssetInput = UserAssetInput;
|
|
19
18
|
__decorate([
|
|
20
|
-
(0, graphql_1.Field)(() =>
|
|
19
|
+
(0, graphql_1.Field)(() => graphql_1.ID),
|
|
21
20
|
__metadata("design:type", String)
|
|
22
|
-
],
|
|
21
|
+
], UserAssetInput.prototype, "assetId", void 0);
|
|
23
22
|
__decorate([
|
|
24
23
|
(0, graphql_1.Field)(() => graphql_scalars_1.PositiveIntResolver),
|
|
25
24
|
__metadata("design:type", Number)
|
|
26
|
-
],
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, graphql_1.Field)(() => graphql_1.ID),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], UserResourceInput.prototype, "resourceId", void 0);
|
|
25
|
+
], UserAssetInput.prototype, "quantity", void 0);
|
|
31
26
|
__decorate([
|
|
32
27
|
(0, graphql_1.Field)(() => graphql_1.ID),
|
|
33
28
|
__metadata("design:type", String)
|
|
34
|
-
],
|
|
35
|
-
exports.
|
|
29
|
+
], UserAssetInput.prototype, "userId", void 0);
|
|
30
|
+
exports.UserAssetInput = UserAssetInput = __decorate([
|
|
36
31
|
(0, graphql_1.InputType)()
|
|
37
|
-
],
|
|
38
|
-
//# sourceMappingURL=user-
|
|
32
|
+
], UserAssetInput);
|
|
33
|
+
//# sourceMappingURL=user-asset.input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-asset.input.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/inputs/user-asset.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAuD;AACvD,qDAAsD;AAI/C,IAAM,cAAc,GAApB,MAAM,cAAc;CAS1B,CAAA;AATY,wCAAc;AAEzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;+CACA;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,qCAAmB,CAAC;;gDAChB;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;8CACD;yBARJ,cAAc;IAD1B,IAAA,mBAAS,GAAE;GACC,cAAc,CAS1B"}
|
|
@@ -3,14 +3,14 @@ import { CreditLedgerEntryReasonEnum, ProductTypeEnum } from '@puzzlin/enums';
|
|
|
3
3
|
import { CreateCreditLedgerEntryInput } from '../inputs';
|
|
4
4
|
declare const CreditLedgerEntry_base: import("@nestjs/common").Type<Node & Timestamp>;
|
|
5
5
|
export declare class CreditLedgerEntry extends CreditLedgerEntry_base implements CreateCreditLedgerEntryInput {
|
|
6
|
+
assetId?: string;
|
|
6
7
|
bySystem?: string;
|
|
7
8
|
byUserId?: string;
|
|
8
9
|
notes?: string;
|
|
9
|
-
productType: ProductTypeEnum;
|
|
10
10
|
orderId?: string;
|
|
11
|
+
productType: ProductTypeEnum;
|
|
11
12
|
quantity: number;
|
|
12
13
|
reason: CreditLedgerEntryReasonEnum;
|
|
13
|
-
resourceId?: string;
|
|
14
14
|
userId: string;
|
|
15
15
|
}
|
|
16
16
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit-ledger-entry.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/objects/credit-ledger-entry.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;;AAEzD,qBAGa,iBAAkB,SAAQ,sBAAkC,YAAW,4BAA4B;IAI9G,
|
|
1
|
+
{"version":3,"file":"credit-ledger-entry.object.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/objects/credit-ledger-entry.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;;AAEzD,qBAGa,iBAAkB,SAAQ,sBAAkC,YAAW,4BAA4B;IAI9G,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,WAAW,EAAE,eAAe,CAAC;IAG7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,2BAA2B,CAAC;IAGpC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -16,6 +16,12 @@ const enums_1 = require("@puzzlin/enums");
|
|
|
16
16
|
let CreditLedgerEntry = class CreditLedgerEntry extends (0, graphql_1.IntersectionType)(shared_1.Node, shared_1.Timestamp) {
|
|
17
17
|
};
|
|
18
18
|
exports.CreditLedgerEntry = CreditLedgerEntry;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, graphql_1.Field)(() => graphql_1.ID, {
|
|
21
|
+
nullable: true,
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreditLedgerEntry.prototype, "assetId", void 0);
|
|
19
25
|
__decorate([
|
|
20
26
|
(0, graphql_1.Field)(() => String, {
|
|
21
27
|
nullable: true,
|
|
@@ -34,16 +40,16 @@ __decorate([
|
|
|
34
40
|
}),
|
|
35
41
|
__metadata("design:type", String)
|
|
36
42
|
], CreditLedgerEntry.prototype, "notes", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, graphql_1.Field)(() => enums_1.ProductTypeEnum),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], CreditLedgerEntry.prototype, "productType", void 0);
|
|
41
43
|
__decorate([
|
|
42
44
|
(0, graphql_1.Field)(() => graphql_1.ID, {
|
|
43
45
|
nullable: true,
|
|
44
46
|
}),
|
|
45
47
|
__metadata("design:type", String)
|
|
46
48
|
], CreditLedgerEntry.prototype, "orderId", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, graphql_1.Field)(() => enums_1.ProductTypeEnum),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CreditLedgerEntry.prototype, "productType", void 0);
|
|
47
53
|
__decorate([
|
|
48
54
|
(0, graphql_1.Field)(() => graphql_1.Float),
|
|
49
55
|
__metadata("design:type", Number)
|
|
@@ -52,12 +58,6 @@ __decorate([
|
|
|
52
58
|
(0, graphql_1.Field)(() => enums_1.CreditLedgerEntryReasonEnum),
|
|
53
59
|
__metadata("design:type", String)
|
|
54
60
|
], CreditLedgerEntry.prototype, "reason", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, graphql_1.Field)(() => graphql_1.ID, {
|
|
57
|
-
nullable: true,
|
|
58
|
-
}),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], CreditLedgerEntry.prototype, "resourceId", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, graphql_1.Field)(() => graphql_1.ID),
|
|
63
63
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit-ledger-entry.object.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/objects/credit-ledger-entry.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2C;AAC3C,6CAAiF;AACjF,0CAA8E;AAMvE,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,IAAA,0BAAgB,EAAC,aAAI,EAAE,kBAAS,CAAC;CAqCvE,CAAA;AArCY,8CAAiB;AAI5B;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"credit-ledger-entry.object.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/objects/credit-ledger-entry.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2C;AAC3C,6CAAiF;AACjF,0CAA8E;AAMvE,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,IAAA,0BAAgB,EAAC,aAAI,EAAE,kBAAS,CAAC;CAqCvE,CAAA;AArCY,8CAAiB;AAI5B;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACe;AAKjB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;mDACgB;AAKlB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,QAAQ,EAAE,IAAI;KACf,CAAC;;mDACgB;AAKlB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;gDACa;AAKf;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACe;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,uBAAe,CAAC;;sDACA;AAG7B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,eAAK,CAAC;;mDACF;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;;iDACL;AAGpC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;iDACD;4BApCJ,iBAAiB;IAH7B,IAAA,oBAAU,EAAC;QACV,UAAU,EAAE,aAAI;KACjB,CAAC;GACW,iBAAiB,CAqC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC"}
|
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./create-credit-ledger-entry.payload"), exports);
|
|
18
|
-
__exportStar(require("./redeem-credits
|
|
18
|
+
__exportStar(require("./redeem-credits.payload"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,2DAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redeem-credits.payload.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/payloads/redeem-credits.payload.ts"],"names":[],"mappings":"AAEA,qBACa,oBAAoB;IAE/B,QAAQ,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -9,16 +9,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.RedeemCreditsPayload = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
let
|
|
14
|
+
let RedeemCreditsPayload = class RedeemCreditsPayload {
|
|
15
15
|
};
|
|
16
|
-
exports.
|
|
16
|
+
exports.RedeemCreditsPayload = RedeemCreditsPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, graphql_1.Field)(() => Boolean),
|
|
19
19
|
__metadata("design:type", Boolean)
|
|
20
|
-
],
|
|
21
|
-
exports.
|
|
20
|
+
], RedeemCreditsPayload.prototype, "redeemed", void 0);
|
|
21
|
+
exports.RedeemCreditsPayload = RedeemCreditsPayload = __decorate([
|
|
22
22
|
(0, graphql_1.ObjectType)()
|
|
23
|
-
],
|
|
24
|
-
//# sourceMappingURL=redeem-credits
|
|
23
|
+
], RedeemCreditsPayload);
|
|
24
|
+
//# sourceMappingURL=redeem-credits.payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redeem-credits.payload.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/payloads/redeem-credits.payload.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AAG7C,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAGhC,CAAA;AAHY,oDAAoB;AAE/B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;sDACH;+BAFP,oBAAoB;IADhC,IAAA,oBAAU,GAAE;GACA,oBAAoB,CAGhC"}
|