@puzzlin/models 4.30.0 → 4.31.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/platform/credits/args/credit-ledger-entries.args.d.ts +10 -0
- package/dist/apps/platform/credits/args/credit-ledger-entries.args.d.ts.map +1 -0
- package/dist/apps/platform/credits/args/credit-ledger-entries.args.js +57 -0
- package/dist/apps/platform/credits/args/credit-ledger-entries.args.js.map +1 -0
- package/dist/apps/platform/credits/args/index.d.ts +1 -0
- package/dist/apps/platform/credits/args/index.d.ts.map +1 -1
- package/dist/apps/platform/credits/args/index.js +1 -0
- package/dist/apps/platform/credits/args/index.js.map +1 -1
- package/dist/apps/platform/credits/connections/credit-ledger-entry.connection.d.ts +6 -0
- package/dist/apps/platform/credits/connections/credit-ledger-entry.connection.d.ts.map +1 -0
- package/dist/apps/platform/credits/connections/credit-ledger-entry.connection.js +19 -0
- package/dist/apps/platform/credits/connections/credit-ledger-entry.connection.js.map +1 -0
- package/dist/apps/platform/credits/connections/index.d.ts +2 -0
- package/dist/apps/platform/credits/connections/index.d.ts.map +1 -0
- package/dist/apps/platform/credits/connections/index.js +18 -0
- package/dist/apps/platform/credits/connections/index.js.map +1 -0
- package/dist/apps/platform/credits/index.d.ts +1 -0
- package/dist/apps/platform/credits/index.d.ts.map +1 -1
- package/dist/apps/platform/credits/index.js +1 -0
- package/dist/apps/platform/credits/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PaginationArgs } from '../../../../shared';
|
|
2
|
+
import { CreditLedgerEntryReasonEnum, ProductTypeEnum } from '@puzzlin/enums';
|
|
3
|
+
export declare class CreditLedgerEntriesArgs extends PaginationArgs {
|
|
4
|
+
assetId?: string;
|
|
5
|
+
byUser?: string;
|
|
6
|
+
productTypes?: ProductTypeEnum[];
|
|
7
|
+
reasons?: CreditLedgerEntryReasonEnum[];
|
|
8
|
+
user?: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=credit-ledger-entries.args.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-ledger-entries.args.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/args/credit-ledger-entries.args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE9E,qBACa,uBAAwB,SAAQ,cAAc;IAKzD,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;IAMjC,OAAO,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAMxC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.CreditLedgerEntriesArgs = void 0;
|
|
13
|
+
const shared_1 = require("../../../../shared");
|
|
14
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
15
|
+
const enums_1 = require("@puzzlin/enums");
|
|
16
|
+
let CreditLedgerEntriesArgs = class CreditLedgerEntriesArgs extends shared_1.PaginationArgs {
|
|
17
|
+
};
|
|
18
|
+
exports.CreditLedgerEntriesArgs = CreditLedgerEntriesArgs;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, graphql_1.Field)(() => graphql_1.ID, {
|
|
21
|
+
description: 'Select entries for an asset.',
|
|
22
|
+
nullable: true,
|
|
23
|
+
}),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreditLedgerEntriesArgs.prototype, "assetId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, graphql_1.Field)(() => String, {
|
|
28
|
+
description: "Select entries by this search string on the adding user's name.",
|
|
29
|
+
nullable: true,
|
|
30
|
+
}),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreditLedgerEntriesArgs.prototype, "byUser", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, graphql_1.Field)(() => [enums_1.ProductTypeEnum], {
|
|
35
|
+
description: 'Select entries for any of these product types.',
|
|
36
|
+
nullable: true,
|
|
37
|
+
}),
|
|
38
|
+
__metadata("design:type", Array)
|
|
39
|
+
], CreditLedgerEntriesArgs.prototype, "productTypes", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, graphql_1.Field)(() => [enums_1.CreditLedgerEntryReasonEnum], {
|
|
42
|
+
description: 'Select entries with any of these reasons.',
|
|
43
|
+
nullable: true,
|
|
44
|
+
}),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], CreditLedgerEntriesArgs.prototype, "reasons", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, graphql_1.Field)(() => String, {
|
|
49
|
+
description: "Select entries by this search string on the user's name.",
|
|
50
|
+
nullable: true,
|
|
51
|
+
}),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], CreditLedgerEntriesArgs.prototype, "user", void 0);
|
|
54
|
+
exports.CreditLedgerEntriesArgs = CreditLedgerEntriesArgs = __decorate([
|
|
55
|
+
(0, graphql_1.ArgsType)()
|
|
56
|
+
], CreditLedgerEntriesArgs);
|
|
57
|
+
//# sourceMappingURL=credit-ledger-entries.args.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-ledger-entries.args.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/args/credit-ledger-entries.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA0C;AAC1C,6CAAsD;AACtD,0CAA8E;AAGvE,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,uBAAc;CA8B1D,CAAA;AA9BY,0DAAuB;AAKlC;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;;wDACe;AAMjB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,WAAW,EAAE,iEAAiE;QAC9E,QAAQ,EAAE,IAAI;KACf,CAAC;;uDACc;AAMhB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,uBAAe,CAAC,EAAE;QAC9B,WAAW,EAAE,gDAAgD;QAC7D,QAAQ,EAAE,IAAI;KACf,CAAC;;6DAC+B;AAMjC;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,mCAA2B,CAAC,EAAE;QAC1C,WAAW,EAAE,2CAA2C;QACxD,QAAQ,EAAE,IAAI;KACf,CAAC;;wDACsC;AAMxC;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,WAAW,EAAE,0DAA0D;QACvE,QAAQ,EAAE,IAAI;KACf,CAAC;;qDACY;kCA7BH,uBAAuB;IADnC,IAAA,kBAAQ,GAAE;GACE,uBAAuB,CA8BnC","sourcesContent":["import { PaginationArgs } from '@/shared';\nimport { ArgsType, Field, ID } from '@nestjs/graphql';\nimport { CreditLedgerEntryReasonEnum, ProductTypeEnum } from '@puzzlin/enums';\n\n@ArgsType()\nexport class CreditLedgerEntriesArgs extends PaginationArgs {\n @Field(() => ID, {\n description: 'Select entries for an asset.',\n nullable: true,\n })\n assetId?: string;\n\n @Field(() => String, {\n description: \"Select entries by this search string on the adding user's name.\",\n nullable: true,\n })\n byUser?: string;\n\n @Field(() => [ProductTypeEnum], {\n description: 'Select entries for any of these product types.',\n nullable: true,\n })\n productTypes?: ProductTypeEnum[];\n\n @Field(() => [CreditLedgerEntryReasonEnum], {\n description: 'Select entries with any of these reasons.',\n nullable: true,\n })\n reasons?: CreditLedgerEntryReasonEnum[];\n\n @Field(() => String, {\n description: \"Select entries by this search string on the user's name.\",\n nullable: true,\n })\n user?: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/args/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/args/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./credit-balance.args"), exports);
|
|
18
|
+
__exportStar(require("./credit-ledger-entries.args"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/args/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC","sourcesContent":["export * from './credit-balance.args';\
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/args/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,+DAA6C","sourcesContent":["export * from './credit-balance.args';\nexport * from './credit-ledger-entries.args';\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CreditLedgerEntry } from '../objects';
|
|
2
|
+
declare const CreditLedgerEntryConnection_base: import("@nestjs/common").Type<import("../../../../shared").IConnectionType<CreditLedgerEntry>>;
|
|
3
|
+
export declare class CreditLedgerEntryConnection extends CreditLedgerEntryConnection_base {
|
|
4
|
+
}
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=credit-ledger-entry.connection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-ledger-entry.connection.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/connections/credit-ledger-entry.connection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;;AAE/C,qBACa,2BAA4B,SAAQ,gCAA6B;CAAG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.CreditLedgerEntryConnection = void 0;
|
|
10
|
+
const shared_1 = require("../../../../shared");
|
|
11
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
12
|
+
const objects_1 = require("../objects");
|
|
13
|
+
let CreditLedgerEntryConnection = class CreditLedgerEntryConnection extends (0, shared_1.Connection)(objects_1.CreditLedgerEntry) {
|
|
14
|
+
};
|
|
15
|
+
exports.CreditLedgerEntryConnection = CreditLedgerEntryConnection;
|
|
16
|
+
exports.CreditLedgerEntryConnection = CreditLedgerEntryConnection = __decorate([
|
|
17
|
+
(0, graphql_1.ObjectType)()
|
|
18
|
+
], CreditLedgerEntryConnection);
|
|
19
|
+
//# sourceMappingURL=credit-ledger-entry.connection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-ledger-entry.connection.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/connections/credit-ledger-entry.connection.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qCAAsC;AACtC,6CAA6C;AAC7C,wCAA+C;AAGxC,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,IAAA,mBAAU,EAAC,2BAAiB,CAAC;CAAG,CAAA;AAApE,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,oBAAU,GAAE;GACA,2BAA2B,CAAyC","sourcesContent":["import { Connection } from '@/shared';\nimport { ObjectType } from '@nestjs/graphql';\nimport { CreditLedgerEntry } from '../objects';\n\n@ObjectType()\nexport class CreditLedgerEntryConnection extends Connection(CreditLedgerEntry) {}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/connections/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,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("./credit-ledger-entry.connection"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/credits/connections/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD","sourcesContent":["export * from './credit-ledger-entry.connection';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apps/platform/credits/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apps/platform/credits/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./args"), exports);
|
|
18
|
+
__exportStar(require("./connections"), exports);
|
|
18
19
|
__exportStar(require("./inputs"), exports);
|
|
19
20
|
__exportStar(require("./objects"), exports);
|
|
20
21
|
__exportStar(require("./payloads"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/apps/platform/credits/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B","sourcesContent":["export * from './args';\
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/apps/platform/credits/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,gDAA8B;AAC9B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B","sourcesContent":["export * from './args';\nexport * from './connections';\nexport * from './inputs';\nexport * from './objects';\nexport * from './payloads';\n"]}
|