@sildeswj/thechium-schema 2.1.0 → 2.2.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.
|
@@ -5,6 +5,7 @@ export declare class CollectionCompany {
|
|
|
5
5
|
retailBrands?: mongoose.Schema.Types.ObjectId[];
|
|
6
6
|
contact?: mongoose.Schema.Types.ObjectId;
|
|
7
7
|
code: string;
|
|
8
|
+
subscriptionPlan?: 'free' | 'basic' | 'premium';
|
|
8
9
|
status: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const CollectionCompanySchema: mongoose.Schema<CollectionCompany, mongoose.Model<CollectionCompany, any, any, any, mongoose.Document<unknown, any, CollectionCompany> & CollectionCompany & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectionCompany.schema.d.ts","sourceRoot":"","sources":["../src/collectionCompany.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,qBACa,iBAAiB;IAE5B,IAAI,EAAE,MAAM,CAAC;IAMb,uBAAuB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAMzD,YAAY,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IAMhD,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAGzC,IAAI,EAAE,MAAM,CAAC;IAOb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,uBAAuB;;;;;;;;EAAkD,CAAC"}
|
|
1
|
+
{"version":3,"file":"collectionCompany.schema.d.ts","sourceRoot":"","sources":["../src/collectionCompany.schema.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,qBACa,iBAAiB;IAE5B,IAAI,EAAE,MAAM,CAAC;IAMb,uBAAuB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAMzD,YAAY,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IAMhD,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;IAGzC,IAAI,EAAE,MAAM,CAAC;IAOb,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IAOhD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,uBAAuB;;;;;;;;EAAkD,CAAC"}
|
|
@@ -46,6 +46,14 @@ __decorate([
|
|
|
46
46
|
(0, mongoose_1.Prop)({ required: true, unique: true }),
|
|
47
47
|
__metadata("design:type", String)
|
|
48
48
|
], CollectionCompany.prototype, "code", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, mongoose_1.Prop)({
|
|
51
|
+
required: false,
|
|
52
|
+
enum: ['free', 'basic', 'premium'],
|
|
53
|
+
default: 'free',
|
|
54
|
+
}),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], CollectionCompany.prototype, "subscriptionPlan", void 0);
|
|
49
57
|
__decorate([
|
|
50
58
|
(0, mongoose_1.Prop)({
|
|
51
59
|
required: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectionCompany.schema.js","sourceRoot":"","sources":["../src/collectionCompany.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,wDAAgC;AAEhC,YAAY;AAEL,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;
|
|
1
|
+
{"version":3,"file":"collectionCompany.schema.js","sourceRoot":"","sources":["../src/collectionCompany.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAoC;AACpC,wDAAgC;AAEhC,YAAY;AAEL,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAsC7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