@experts_hub/shared 1.0.698 → 1.0.700
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/entities/plan.entity.d.ts +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -2
- package/dist/index.mjs +8 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5080,6 +5080,7 @@ declare class Plan extends BaseEntity {
|
|
|
5080
5080
|
isActive: boolean;
|
|
5081
5081
|
planType: PlanTypeEnum;
|
|
5082
5082
|
metadata: Record<string, unknown>;
|
|
5083
|
+
stripeProductId: string | null;
|
|
5083
5084
|
createSlug(): void;
|
|
5084
5085
|
features: PlanFeature[];
|
|
5085
5086
|
pricing: PlanPricing[];
|
package/dist/index.d.ts
CHANGED
|
@@ -5080,6 +5080,7 @@ declare class Plan extends BaseEntity {
|
|
|
5080
5080
|
isActive: boolean;
|
|
5081
5081
|
planType: PlanTypeEnum;
|
|
5082
5082
|
metadata: Record<string, unknown>;
|
|
5083
|
+
stripeProductId: string | null;
|
|
5083
5084
|
createSlug(): void;
|
|
5084
5085
|
features: PlanFeature[];
|
|
5085
5086
|
pricing: PlanPricing[];
|
package/dist/index.js
CHANGED
|
@@ -5678,7 +5678,7 @@ __decorateClass([
|
|
|
5678
5678
|
(0, import_typeorm57.Column)({ name: "name", type: "varchar" })
|
|
5679
5679
|
], CompanyRole.prototype, "name", 2);
|
|
5680
5680
|
__decorateClass([
|
|
5681
|
-
(0, import_typeorm57.Column)({ name: "slug", type: "varchar", nullable: true
|
|
5681
|
+
(0, import_typeorm57.Column)({ name: "slug", type: "varchar", nullable: true }),
|
|
5682
5682
|
(0, import_typeorm57.Index)()
|
|
5683
5683
|
], CompanyRole.prototype, "slug", 2);
|
|
5684
5684
|
__decorateClass([
|
|
@@ -14821,6 +14821,9 @@ __decorateClass([
|
|
|
14821
14821
|
__decorateClass([
|
|
14822
14822
|
(0, import_typeorm99.Column)({ name: "metadata", type: "jsonb", default: {} })
|
|
14823
14823
|
], Plan.prototype, "metadata", 2);
|
|
14824
|
+
__decorateClass([
|
|
14825
|
+
(0, import_typeorm99.Column)({ name: "stripe_product_id", type: "varchar", length: 100, nullable: true })
|
|
14826
|
+
], Plan.prototype, "stripeProductId", 2);
|
|
14824
14827
|
__decorateClass([
|
|
14825
14828
|
(0, import_typeorm99.BeforeInsert)(),
|
|
14826
14829
|
(0, import_typeorm99.BeforeUpdate)()
|
|
@@ -14837,7 +14840,10 @@ __decorateClass([
|
|
|
14837
14840
|
], Plan.prototype, "pricing", 2);
|
|
14838
14841
|
Plan = __decorateClass([
|
|
14839
14842
|
(0, import_typeorm99.Entity)("plans"),
|
|
14840
|
-
(0, import_typeorm99.Index)("
|
|
14843
|
+
(0, import_typeorm99.Index)("idx_plans_slug_plan_type", ["slug", "planType"], {
|
|
14844
|
+
unique: true,
|
|
14845
|
+
where: '"is_deleted" IS FALSE'
|
|
14846
|
+
}),
|
|
14841
14847
|
(0, import_typeorm99.Index)("idx_plans_active_sort", ["isActive", "sortOrder"]),
|
|
14842
14848
|
(0, import_typeorm99.Check)("chk_plans_sort_order_positive", '"sort_order" >= 0')
|
|
14843
14849
|
], Plan);
|
package/dist/index.mjs
CHANGED
|
@@ -5452,7 +5452,7 @@ __decorateClass([
|
|
|
5452
5452
|
Column57({ name: "name", type: "varchar" })
|
|
5453
5453
|
], CompanyRole.prototype, "name", 2);
|
|
5454
5454
|
__decorateClass([
|
|
5455
|
-
Column57({ name: "slug", type: "varchar", nullable: true
|
|
5455
|
+
Column57({ name: "slug", type: "varchar", nullable: true }),
|
|
5456
5456
|
Index49()
|
|
5457
5457
|
], CompanyRole.prototype, "slug", 2);
|
|
5458
5458
|
__decorateClass([
|
|
@@ -14999,6 +14999,9 @@ __decorateClass([
|
|
|
14999
14999
|
__decorateClass([
|
|
15000
15000
|
Column96({ name: "metadata", type: "jsonb", default: {} })
|
|
15001
15001
|
], Plan.prototype, "metadata", 2);
|
|
15002
|
+
__decorateClass([
|
|
15003
|
+
Column96({ name: "stripe_product_id", type: "varchar", length: 100, nullable: true })
|
|
15004
|
+
], Plan.prototype, "stripeProductId", 2);
|
|
15002
15005
|
__decorateClass([
|
|
15003
15006
|
BeforeInsert2(),
|
|
15004
15007
|
BeforeUpdate2()
|
|
@@ -15015,7 +15018,10 @@ __decorateClass([
|
|
|
15015
15018
|
], Plan.prototype, "pricing", 2);
|
|
15016
15019
|
Plan = __decorateClass([
|
|
15017
15020
|
Entity95("plans"),
|
|
15018
|
-
Index78("
|
|
15021
|
+
Index78("idx_plans_slug_plan_type", ["slug", "planType"], {
|
|
15022
|
+
unique: true,
|
|
15023
|
+
where: '"is_deleted" IS FALSE'
|
|
15024
|
+
}),
|
|
15019
15025
|
Index78("idx_plans_active_sort", ["isActive", "sortOrder"]),
|
|
15020
15026
|
Check4("chk_plans_sort_order_positive", '"sort_order" >= 0')
|
|
15021
15027
|
], Plan);
|