@eventista/ticketing-common 1.3.19-dev.7 → 1.3.19-dev.9

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/README.md CHANGED
@@ -1,22 +1,22 @@
1
- # 1.Lệnh build
2
- ```bash
3
- npm run build
4
- ```
5
-
6
- # 2.1 Lệnh Push lên NPM dev.Code được MR vào develop Lưu ý phải commit code trước khi chạy
7
- ```bash
8
- npm run publish:dev
9
- ```
10
-
11
- # 2.2 Lệnh Push lên NPM product . Code phải được MR vào master
12
- ```bash
13
- npm publish
14
- ```
15
-
16
- # Tên thư viện
17
- @eventista/ticketing-common
18
-
19
- # Lệnh cài đặt thư viện
20
- ```bash
21
- npm install @eventista/ticketing-common
1
+ # 1.Lệnh build
2
+ ```bash
3
+ npm run build
4
+ ```
5
+
6
+ # 2.1 Lệnh Push lên NPM dev.Code được MR vào develop Lưu ý phải commit code trước khi chạy
7
+ ```bash
8
+ npm run publish:dev
9
+ ```
10
+
11
+ # 2.2 Lệnh Push lên NPM product . Code phải được MR vào master
12
+ ```bash
13
+ npm publish
14
+ ```
15
+
16
+ # Tên thư viện
17
+ @eventista/ticketing-common
18
+
19
+ # Lệnh cài đặt thư viện
20
+ ```bash
21
+ npm install @eventista/ticketing-common
22
22
  ```
@@ -277,12 +277,12 @@ let RedisService = class RedisService {
277
277
  return false;
278
278
  }
279
279
  async releaseLock(lockKey, value) {
280
- const script = `
281
- if redis.call("get", KEYS[1]) == ARGV[1] then
282
- return redis.call("del", KEYS[1])
283
- else
284
- return 0
285
- end
280
+ const script = `
281
+ if redis.call("get", KEYS[1]) == ARGV[1] then
282
+ return redis.call("del", KEYS[1])
283
+ else
284
+ return 0
285
+ end
286
286
  `;
287
287
  try {
288
288
  const result = await this.redis.eval(script, 1, lockKey, value);
@@ -23,3 +23,5 @@ export * from './event-ticket/event-ticket.schema';
23
23
  export * from './import/import.schema';
24
24
  export * from './gift-record/gift-record.interfaces';
25
25
  export * from './gift-record/gift-record.schema';
26
+ export * from './resale/resale-listing.interfaces';
27
+ export * from './resale/resale-listing.schema';
@@ -39,4 +39,6 @@ __exportStar(require("./event-ticket/event-ticket.schema"), exports);
39
39
  __exportStar(require("./import/import.schema"), exports);
40
40
  __exportStar(require("./gift-record/gift-record.interfaces"), exports);
41
41
  __exportStar(require("./gift-record/gift-record.schema"), exports);
42
+ __exportStar(require("./resale/resale-listing.interfaces"), exports);
43
+ __exportStar(require("./resale/resale-listing.schema"), exports);
42
44
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,6EAA2D;AAC3D,yEAAuD;AACvD,6EAA2D;AAC3D,0EAAwD;AACxD,yDAAuC;AACvC,qDAAmC;AACnC,2DAAyC;AACzC,uDAAqC;AACrC,2DAAyC;AACzC,uDAAqC;AACrC,yEAAuD;AACvD,sEAAoD;AACpD,qEAAmD;AACnD,iEAA+C;AAC/C,0DAAwC;AACxC,sDAAoC;AACpC,+DAA6C;AAC7C,2DAAyC;AACzC,+EAA6D;AAC7D,qEAAmD;AACnD,yDAAuC;AAEvC,uEAAqD;AACrD,mEAAiD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,6EAA2D;AAC3D,yEAAuD;AACvD,6EAA2D;AAC3D,0EAAwD;AACxD,yDAAuC;AACvC,qDAAmC;AACnC,2DAAyC;AACzC,uDAAqC;AACrC,2DAAyC;AACzC,uDAAqC;AACrC,yEAAuD;AACvD,sEAAoD;AACpD,qEAAmD;AACnD,iEAA+C;AAC/C,0DAAwC;AACxC,sDAAoC;AACpC,+DAA6C;AAC7C,2DAAyC;AACzC,+EAA6D;AAC7D,qEAAmD;AACnD,yDAAuC;AAEvC,uEAAqD;AACrD,mEAAiD;AAEjD,qEAAmD;AACnD,iEAA+C"}
@@ -0,0 +1,19 @@
1
+ export declare enum ResaleListingStatus {
2
+ ACTIVE = "ACTIVE",
3
+ RESERVED = "RESERVED",
4
+ SOLD = "SOLD",
5
+ CANCELLED = "CANCELLED",
6
+ EXPIRED = "EXPIRED"
7
+ }
8
+ export declare enum ResaleListingType {
9
+ SINGLE = "single",
10
+ COMBO = "combo"
11
+ }
12
+ export declare enum ResalePayoutStatus {
13
+ NONE = "NONE",
14
+ PENDING = "PENDING",
15
+ PROCESSING = "PROCESSING",
16
+ COMPLETED = "COMPLETED",
17
+ FAILED = "FAILED",
18
+ REVERTED = "REVERTED"
19
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResalePayoutStatus = exports.ResaleListingType = exports.ResaleListingStatus = void 0;
4
+ var ResaleListingStatus;
5
+ (function (ResaleListingStatus) {
6
+ ResaleListingStatus["ACTIVE"] = "ACTIVE";
7
+ ResaleListingStatus["RESERVED"] = "RESERVED";
8
+ ResaleListingStatus["SOLD"] = "SOLD";
9
+ ResaleListingStatus["CANCELLED"] = "CANCELLED";
10
+ ResaleListingStatus["EXPIRED"] = "EXPIRED";
11
+ })(ResaleListingStatus || (exports.ResaleListingStatus = ResaleListingStatus = {}));
12
+ var ResaleListingType;
13
+ (function (ResaleListingType) {
14
+ ResaleListingType["SINGLE"] = "single";
15
+ ResaleListingType["COMBO"] = "combo";
16
+ })(ResaleListingType || (exports.ResaleListingType = ResaleListingType = {}));
17
+ var ResalePayoutStatus;
18
+ (function (ResalePayoutStatus) {
19
+ ResalePayoutStatus["NONE"] = "NONE";
20
+ ResalePayoutStatus["PENDING"] = "PENDING";
21
+ ResalePayoutStatus["PROCESSING"] = "PROCESSING";
22
+ ResalePayoutStatus["COMPLETED"] = "COMPLETED";
23
+ ResalePayoutStatus["FAILED"] = "FAILED";
24
+ ResalePayoutStatus["REVERTED"] = "REVERTED";
25
+ })(ResalePayoutStatus || (exports.ResalePayoutStatus = ResalePayoutStatus = {}));
26
+ //# sourceMappingURL=resale-listing.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resale-listing.interfaces.js","sourceRoot":"","sources":["../../../src/schemas/resale/resale-listing.interfaces.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,0CAAmB,CAAA;AACvB,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,oCAAe,CAAA;AACnB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC1B,mCAAa,CAAA;IACb,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;IACvB,uCAAiB,CAAA;IACjB,2CAAqB,CAAA;AACzB,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B"}
@@ -0,0 +1,52 @@
1
+ import { HydratedDocument, Schema as MongooseSchema } from 'mongoose';
2
+ export declare class ResaleTicketItem {
3
+ ticketId: string;
4
+ ticketClassId: string;
5
+ zoneId: string;
6
+ seatLabel?: string;
7
+ originalPriceVn: number;
8
+ netPriceVn: number;
9
+ ticketClassName?: string;
10
+ zoneName?: string;
11
+ }
12
+ export declare class PayoutInfo {
13
+ bankCode: string;
14
+ bankAccountNumber: string;
15
+ bankAccountName: string;
16
+ }
17
+ export type ResaleListingDocument = HydratedDocument<ResaleListing>;
18
+ export declare class ResaleListing {
19
+ listingType: string;
20
+ eventId: string;
21
+ calendarId: string;
22
+ sellerId: string;
23
+ originalOrderId: string;
24
+ tickets: ResaleTicketItem[];
25
+ totalNetVn: number;
26
+ platformFeeAmount: number;
27
+ vatAmount: number;
28
+ pitAmount: number;
29
+ subsidyAmount: number;
30
+ buyerPaysTotal: number;
31
+ sellerReceives: number;
32
+ payoutInfo: PayoutInfo;
33
+ status: string;
34
+ reservedBy?: string;
35
+ reservedAt?: Date;
36
+ buyerOrderId?: string;
37
+ payoutStatus: string;
38
+ payoutProcessedAt?: Date;
39
+ payoutTransferId?: string;
40
+ payoutTransactionId?: string;
41
+ payoutRetryCount: number;
42
+ payoutError?: string;
43
+ }
44
+ export declare const ResaleListingSchema: MongooseSchema<ResaleListing, import("mongoose").Model<ResaleListing, any, any, any, import("mongoose").Document<unknown, any, ResaleListing, any> & ResaleListing & {
45
+ _id: import("mongoose").Types.ObjectId;
46
+ } & {
47
+ __v: number;
48
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ResaleListing, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ResaleListing>, {}> & import("mongoose").FlatRecord<ResaleListing> & {
49
+ _id: import("mongoose").Types.ObjectId;
50
+ } & {
51
+ __v: number;
52
+ }>;
@@ -0,0 +1,190 @@
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.ResaleListingSchema = exports.ResaleListing = exports.PayoutInfo = exports.ResaleTicketItem = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ const mongoose_2 = require("mongoose");
15
+ const resale_listing_interfaces_1 = require("./resale-listing.interfaces");
16
+ class ResaleTicketItem {
17
+ }
18
+ exports.ResaleTicketItem = ResaleTicketItem;
19
+ __decorate([
20
+ (0, mongoose_1.Prop)({ type: String, required: true }),
21
+ __metadata("design:type", String)
22
+ ], ResaleTicketItem.prototype, "ticketId", void 0);
23
+ __decorate([
24
+ (0, mongoose_1.Prop)({ type: String, required: true }),
25
+ __metadata("design:type", String)
26
+ ], ResaleTicketItem.prototype, "ticketClassId", void 0);
27
+ __decorate([
28
+ (0, mongoose_1.Prop)({ type: String, required: true }),
29
+ __metadata("design:type", String)
30
+ ], ResaleTicketItem.prototype, "zoneId", void 0);
31
+ __decorate([
32
+ (0, mongoose_1.Prop)({ type: String }),
33
+ __metadata("design:type", String)
34
+ ], ResaleTicketItem.prototype, "seatLabel", void 0);
35
+ __decorate([
36
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
37
+ __metadata("design:type", Number)
38
+ ], ResaleTicketItem.prototype, "originalPriceVn", void 0);
39
+ __decorate([
40
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
41
+ __metadata("design:type", Number)
42
+ ], ResaleTicketItem.prototype, "netPriceVn", void 0);
43
+ __decorate([
44
+ (0, mongoose_1.Prop)({ type: String }),
45
+ __metadata("design:type", String)
46
+ ], ResaleTicketItem.prototype, "ticketClassName", void 0);
47
+ __decorate([
48
+ (0, mongoose_1.Prop)({ type: String }),
49
+ __metadata("design:type", String)
50
+ ], ResaleTicketItem.prototype, "zoneName", void 0);
51
+ class PayoutInfo {
52
+ }
53
+ exports.PayoutInfo = PayoutInfo;
54
+ __decorate([
55
+ (0, mongoose_1.Prop)({ type: String, required: true }),
56
+ __metadata("design:type", String)
57
+ ], PayoutInfo.prototype, "bankCode", void 0);
58
+ __decorate([
59
+ (0, mongoose_1.Prop)({ type: String, required: true }),
60
+ __metadata("design:type", String)
61
+ ], PayoutInfo.prototype, "bankAccountNumber", void 0);
62
+ __decorate([
63
+ (0, mongoose_1.Prop)({ type: String, required: true }),
64
+ __metadata("design:type", String)
65
+ ], PayoutInfo.prototype, "bankAccountName", void 0);
66
+ let ResaleListing = class ResaleListing {
67
+ };
68
+ exports.ResaleListing = ResaleListing;
69
+ __decorate([
70
+ (0, mongoose_1.Prop)({
71
+ type: String,
72
+ enum: Object.values(resale_listing_interfaces_1.ResaleListingType),
73
+ required: true,
74
+ }),
75
+ __metadata("design:type", String)
76
+ ], ResaleListing.prototype, "listingType", void 0);
77
+ __decorate([
78
+ (0, mongoose_1.Prop)({ type: String, required: true, index: true }),
79
+ __metadata("design:type", String)
80
+ ], ResaleListing.prototype, "eventId", void 0);
81
+ __decorate([
82
+ (0, mongoose_1.Prop)({ type: String, required: true, index: true }),
83
+ __metadata("design:type", String)
84
+ ], ResaleListing.prototype, "calendarId", void 0);
85
+ __decorate([
86
+ (0, mongoose_1.Prop)({ type: String, required: true, index: true }),
87
+ __metadata("design:type", String)
88
+ ], ResaleListing.prototype, "sellerId", void 0);
89
+ __decorate([
90
+ (0, mongoose_1.Prop)({ type: String, required: true }),
91
+ __metadata("design:type", String)
92
+ ], ResaleListing.prototype, "originalOrderId", void 0);
93
+ __decorate([
94
+ (0, mongoose_1.Prop)({ type: [mongoose_2.Schema.Types.Mixed], required: true }),
95
+ __metadata("design:type", Array)
96
+ ], ResaleListing.prototype, "tickets", void 0);
97
+ __decorate([
98
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
99
+ __metadata("design:type", Number)
100
+ ], ResaleListing.prototype, "totalNetVn", void 0);
101
+ __decorate([
102
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
103
+ __metadata("design:type", Number)
104
+ ], ResaleListing.prototype, "platformFeeAmount", void 0);
105
+ __decorate([
106
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
107
+ __metadata("design:type", Number)
108
+ ], ResaleListing.prototype, "vatAmount", void 0);
109
+ __decorate([
110
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
111
+ __metadata("design:type", Number)
112
+ ], ResaleListing.prototype, "pitAmount", void 0);
113
+ __decorate([
114
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
115
+ __metadata("design:type", Number)
116
+ ], ResaleListing.prototype, "subsidyAmount", void 0);
117
+ __decorate([
118
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
119
+ __metadata("design:type", Number)
120
+ ], ResaleListing.prototype, "buyerPaysTotal", void 0);
121
+ __decorate([
122
+ (0, mongoose_1.Prop)({ type: Number, required: true }),
123
+ __metadata("design:type", Number)
124
+ ], ResaleListing.prototype, "sellerReceives", void 0);
125
+ __decorate([
126
+ (0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.Mixed, required: true }),
127
+ __metadata("design:type", PayoutInfo)
128
+ ], ResaleListing.prototype, "payoutInfo", void 0);
129
+ __decorate([
130
+ (0, mongoose_1.Prop)({
131
+ type: String,
132
+ enum: Object.values(resale_listing_interfaces_1.ResaleListingStatus),
133
+ default: resale_listing_interfaces_1.ResaleListingStatus.ACTIVE,
134
+ index: true,
135
+ }),
136
+ __metadata("design:type", String)
137
+ ], ResaleListing.prototype, "status", void 0);
138
+ __decorate([
139
+ (0, mongoose_1.Prop)({ type: String }),
140
+ __metadata("design:type", String)
141
+ ], ResaleListing.prototype, "reservedBy", void 0);
142
+ __decorate([
143
+ (0, mongoose_1.Prop)({ type: Date }),
144
+ __metadata("design:type", Date)
145
+ ], ResaleListing.prototype, "reservedAt", void 0);
146
+ __decorate([
147
+ (0, mongoose_1.Prop)({ type: String }),
148
+ __metadata("design:type", String)
149
+ ], ResaleListing.prototype, "buyerOrderId", void 0);
150
+ __decorate([
151
+ (0, mongoose_1.Prop)({
152
+ type: String,
153
+ enum: Object.values(resale_listing_interfaces_1.ResalePayoutStatus),
154
+ default: resale_listing_interfaces_1.ResalePayoutStatus.NONE,
155
+ }),
156
+ __metadata("design:type", String)
157
+ ], ResaleListing.prototype, "payoutStatus", void 0);
158
+ __decorate([
159
+ (0, mongoose_1.Prop)({ type: Date }),
160
+ __metadata("design:type", Date)
161
+ ], ResaleListing.prototype, "payoutProcessedAt", void 0);
162
+ __decorate([
163
+ (0, mongoose_1.Prop)({ type: String }),
164
+ __metadata("design:type", String)
165
+ ], ResaleListing.prototype, "payoutTransferId", void 0);
166
+ __decorate([
167
+ (0, mongoose_1.Prop)({ type: String }),
168
+ __metadata("design:type", String)
169
+ ], ResaleListing.prototype, "payoutTransactionId", void 0);
170
+ __decorate([
171
+ (0, mongoose_1.Prop)({ type: Number, default: 0 }),
172
+ __metadata("design:type", Number)
173
+ ], ResaleListing.prototype, "payoutRetryCount", void 0);
174
+ __decorate([
175
+ (0, mongoose_1.Prop)({ type: String }),
176
+ __metadata("design:type", String)
177
+ ], ResaleListing.prototype, "payoutError", void 0);
178
+ exports.ResaleListing = ResaleListing = __decorate([
179
+ (0, mongoose_1.Schema)({
180
+ collection: 'resale_listings',
181
+ timestamps: true,
182
+ })
183
+ ], ResaleListing);
184
+ exports.ResaleListingSchema = mongoose_1.SchemaFactory.createForClass(ResaleListing);
185
+ exports.ResaleListingSchema.index({ eventId: 1, status: 1 });
186
+ exports.ResaleListingSchema.index({ sellerId: 1, status: 1 });
187
+ exports.ResaleListingSchema.index({ status: 1, reservedAt: 1 });
188
+ exports.ResaleListingSchema.index({ 'tickets.ticketId': 1 });
189
+ exports.ResaleListingSchema.index({ status: 1, payoutStatus: 1 });
190
+ //# sourceMappingURL=resale-listing.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resale-listing.schema.js","sourceRoot":"","sources":["../../../src/schemas/resale/resale-listing.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAsE;AACtE,2EAIqC;AAIrC,MAAa,gBAAgB;CAyB5B;AAzBD,4CAyBC;AAvBG;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;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AAE,IAAI;KACnB,CAAC;GACW,aAAa,CA4FzB;AAEY,QAAA,mBAAmB,GAAG,wBAAa,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;AAG/E,2BAAmB,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACrD,2BAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACtD,2BAAmB,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC;AACxD,2BAAmB,CAAC,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC,EAAE,CAAC,CAAC;AACrD,2BAAmB,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC"}
@@ -22,6 +22,7 @@ const dead_letter_queue_schema_1 = require("./dead-letter-queue/dead-letter-queu
22
22
  const event_ticket_schema_1 = require("./event-ticket/event-ticket.schema");
23
23
  const import_schema_1 = require("./import/import.schema");
24
24
  const gift_record_schema_1 = require("./gift-record/gift-record.schema");
25
+ const resale_listing_schema_1 = require("./resale/resale-listing.schema");
25
26
  const SCHEMAS = [
26
27
  { name: order_schema_1.Order.name, schema: order_schema_1.OrderSchema },
27
28
  { name: event_schema_1.Event.name, schema: event_schema_1.EventSchema },
@@ -36,6 +37,7 @@ const SCHEMAS = [
36
37
  { name: event_ticket_schema_1.EventTicket.name, schema: event_ticket_schema_1.EventTicketSchema },
37
38
  { name: import_schema_1.Import.name, schema: import_schema_1.ImportSchema },
38
39
  { name: gift_record_schema_1.GiftRecord.name, schema: gift_record_schema_1.GiftRecordSchema },
40
+ { name: resale_listing_schema_1.ResaleListing.name, schema: resale_listing_schema_1.ResaleListingSchema },
39
41
  ];
40
42
  let SchemaModule = class SchemaModule {
41
43
  };
@@ -1 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