@lyxa.ai/core 1.4.244 → 1.4.245

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.
@@ -16,7 +16,7 @@ export declare class UserAppSectionSetting extends TimeStamps {
16
16
  sortingOrder?: number;
17
17
  customizedShops?: Ref<Shop>[];
18
18
  customizedProductBrands?: Ref<ProductBrand>[];
19
- shopParentCategoires?: Ref<Category>[];
19
+ shopParentCategories?: Ref<Category>[];
20
20
  customizedItems?: Ref<Product>[];
21
21
  customizedVendors?: Ref<Vendor>[];
22
22
  customizedServicePackages?: Ref<ServicePackage>[];
@@ -30,7 +30,7 @@ let UserAppSectionSetting = class UserAppSectionSetting extends defaultClasses_1
30
30
  sortingOrder;
31
31
  customizedShops;
32
32
  customizedProductBrands;
33
- shopParentCategoires;
33
+ shopParentCategories;
34
34
  customizedItems;
35
35
  customizedVendors;
36
36
  customizedServicePackages;
@@ -68,7 +68,7 @@ __decorate([
68
68
  __decorate([
69
69
  (0, typegoose_1.prop)({ ref: () => category_model_1.Category }),
70
70
  __metadata("design:type", Array)
71
- ], UserAppSectionSetting.prototype, "shopParentCategoires", void 0);
71
+ ], UserAppSectionSetting.prototype, "shopParentCategories", void 0);
72
72
  __decorate([
73
73
  (0, typegoose_1.prop)({ ref: () => product_model_1.Product }),
74
74
  __metadata("design:type", Array)
@@ -1 +1 @@
1
- {"version":3,"file":"user-app-section-setting.model.js","sourceRoot":"/","sources":["libraries/mongo/models/user-app-section-setting.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,6CAAoC;AACpC,6CAAoC;AACpC,iDAAwC;AACxC,mDAA0C;AAC1C,qDAA4C;AAC5C,0EAG0C;AAC1C,wBAA+C;AAC/C,+DAAqD;AACrD,mEAAyD;AACzD,4EAAqE;AACrE,oDAAoE;AACpE,kDAA6F;AAoBtF,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,2BAAU;IAE7C,QAAQ,CAA0B;IAGlC,OAA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,EAAE,GAAG,EAAE,CAAC,qBAAM,EAAE,CAAC;;gEACa;AAGlC;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,sCAAc,EAAE,CAAC;;wEACqB;AAGlD;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,iBAAI,EAAE,CAAC;;2DACQ;gCAnCtB,qBAAqB;IAlBjC,IAAA,wBAAY,EAAC;QACb,aAAa,EAAE;YACd,UAAU,EAAE,uBAAuB;SACnC;KACD,CAAC;IACD,IAAA,eAAG,EAAwB,MAAM,EAAE,KAAK,WAAW,IAAI;QACvD,MAAM,uDAAiC,CAAC,IAAI,CAAC,IAAI,EAAE,6BAA0B,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAE5G,IAAI,EAAE,CAAC;IACR,CAAC,CAAC;IACD,IAAA,eAAG,EACH,kBAAkB,EAClB,KAAK,WAAoD,IAAI;QAC5D,MAAM,yDAAmC,CAAC,IAAI,CAAC,IAAI,EAAE,6BAA0B,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;QAE/F,IAAI,EAAE,CAAC;IACR,CAAC,CACD;GACY,qBAAqB,CAoCjC","sourcesContent":["import { Query } from 'mongoose';\nimport { Zone } from './zone.model';\nimport { Shop } from './shop.model';\nimport { Vendor } from './vendor.model';\nimport { Product } from './product.model';\nimport { Category } from './category.model';\nimport {\n\thandlePreSaveForSortingWithStatus,\n\thandlePreUpdateForSortingWithStatus,\n} from '../utilities/sorting-order.hooks';\nimport { UserAppSectionSettingModel } from '.';\nimport { ProductBrand } from './product-brand.model';\nimport { ServicePackage } from './service-package.model';\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\nimport { modelOptions, pre, prop, Ref } from '@typegoose/typegoose';\nimport { Status, UserAppSectionItemType, UserAppSectionType } from '../../../utilities/enum';\n\n@modelOptions({\n\tschemaOptions: {\n\t\tcollection: 'userAppSectionSetting',\n\t},\n})\n@pre<UserAppSectionSetting>('save', async function (next) {\n\tawait handlePreSaveForSortingWithStatus.call(this, UserAppSectionSettingModel, { itemType: this.itemType });\n\n\tnext();\n})\n@pre<UserAppSectionSetting>(\n\t'findOneAndUpdate',\n\tasync function (this: Query<any, UserAppSectionSetting>, next) {\n\t\tawait handlePreUpdateForSortingWithStatus.call(this, UserAppSectionSettingModel, ['itemType']);\n\n\t\tnext();\n\t}\n)\nexport class UserAppSectionSetting extends TimeStamps {\n\t@prop({ required: true, type: String, enum: UserAppSectionItemType })\n\tpublic itemType!: UserAppSectionItemType;\n\n\t@prop({ required: true, type: String, enum: UserAppSectionType })\n\tpublic section!: UserAppSectionType;\n\n\t@prop({ required: true, type: String })\n\tpublic alias!: string;\n\n\t@prop({ type: String, enum: Status, default: Status.ACTIVE })\n\tpublic status?: Status;\n\n\t@prop({ type: Number })\n\tpublic sortingOrder?: number;\n\n\t@prop({ ref: () => Shop })\n\tpublic customizedShops?: Ref<Shop>[];\n\n\t@prop({ ref: () => ProductBrand })\n\tpublic customizedProductBrands?: Ref<ProductBrand>[];\n\n\t@prop({ ref: () => Category })\n\tpublic shopParentCategoires?: Ref<Category>[];\n\n\t@prop({ ref: () => Product })\n\tpublic customizedItems?: Ref<Product>[];\n\n\t@prop({ ref: () => Vendor })\n\tpublic customizedVendors?: Ref<Vendor>[];\n\n\t@prop({ ref: () => ServicePackage })\n\tpublic customizedServicePackages?: Ref<ServicePackage>[];\n\n\t@prop({ ref: () => Zone })\n\tpublic visibleZones?: Ref<Zone>[];\n}\n"]}
1
+ {"version":3,"file":"user-app-section-setting.model.js","sourceRoot":"/","sources":["libraries/mongo/models/user-app-section-setting.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,6CAAoC;AACpC,6CAAoC;AACpC,iDAAwC;AACxC,mDAA0C;AAC1C,qDAA4C;AAC5C,0EAG0C;AAC1C,wBAA+C;AAC/C,+DAAqD;AACrD,mEAAyD;AACzD,4EAAqE;A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,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,uBAAO,EAAE,CAAC;;8DACW;AAGjC;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,qBAAM,EAAE,CAAC;;gEACa;AAGlC;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,sCAAc,EAAE,CAAC;;wEACqB;AAGlD;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,iBAAI,EAAE,CAAC;;2DACQ;gCAnCtB,qBAAqB;IAlBjC,IAAA,wBAAY,EAAC;QACb,aAAa,EAAE;YACd,UAAU,EAAE,uBAAuB;SACnC;KACD,CAAC;IACD,IAAA,eAAG,EAAwB,MAAM,EAAE,KAAK,WAAW,IAAI;QACvD,MAAM,uDAAiC,CAAC,IAAI,CAAC,IAAI,EAAE,6BAA0B,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAE5G,IAAI,EAAE,CAAC;IACR,CAAC,CAAC;IACD,IAAA,eAAG,EACH,kBAAkB,EAClB,KAAK,WAAoD,IAAI;QAC5D,MAAM,yDAAmC,CAAC,IAAI,CAAC,IAAI,EAAE,6BAA0B,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;QAE/F,IAAI,EAAE,CAAC;IACR,CAAC,CACD;GACY,qBAAqB,CAoCjC","sourcesContent":["import { Query } from 'mongoose';\nimport { Zone } from './zone.model';\nimport { Shop } from './shop.model';\nimport { Vendor } from './vendor.model';\nimport { Product } from './product.model';\nimport { Category } from './category.model';\nimport {\n\thandlePreSaveForSortingWithStatus,\n\thandlePreUpdateForSortingWithStatus,\n} from '../utilities/sorting-order.hooks';\nimport { UserAppSectionSettingModel } from '.';\nimport { ProductBrand } from './product-brand.model';\nimport { ServicePackage } from './service-package.model';\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\nimport { modelOptions, pre, prop, Ref } from '@typegoose/typegoose';\nimport { Status, UserAppSectionItemType, UserAppSectionType } from '../../../utilities/enum';\n\n@modelOptions({\n\tschemaOptions: {\n\t\tcollection: 'userAppSectionSetting',\n\t},\n})\n@pre<UserAppSectionSetting>('save', async function (next) {\n\tawait handlePreSaveForSortingWithStatus.call(this, UserAppSectionSettingModel, { itemType: this.itemType });\n\n\tnext();\n})\n@pre<UserAppSectionSetting>(\n\t'findOneAndUpdate',\n\tasync function (this: Query<any, UserAppSectionSetting>, next) {\n\t\tawait handlePreUpdateForSortingWithStatus.call(this, UserAppSectionSettingModel, ['itemType']);\n\n\t\tnext();\n\t}\n)\nexport class UserAppSectionSetting extends TimeStamps {\n\t@prop({ required: true, type: String, enum: UserAppSectionItemType })\n\tpublic itemType!: UserAppSectionItemType;\n\n\t@prop({ required: true, type: String, enum: UserAppSectionType })\n\tpublic section!: UserAppSectionType;\n\n\t@prop({ required: true, type: String })\n\tpublic alias!: string;\n\n\t@prop({ type: String, enum: Status, default: Status.ACTIVE })\n\tpublic status?: Status;\n\n\t@prop({ type: Number })\n\tpublic sortingOrder?: number;\n\n\t@prop({ ref: () => Shop })\n\tpublic customizedShops?: Ref<Shop>[];\n\n\t@prop({ ref: () => ProductBrand })\n\tpublic customizedProductBrands?: Ref<ProductBrand>[];\n\n\t@prop({ ref: () => Category })\n\tpublic shopParentCategories?: Ref<Category>[];\n\n\t@prop({ ref: () => Product })\n\tpublic customizedItems?: Ref<Product>[];\n\n\t@prop({ ref: () => Vendor })\n\tpublic customizedVendors?: Ref<Vendor>[];\n\n\t@prop({ ref: () => ServicePackage })\n\tpublic customizedServicePackages?: Ref<ServicePackage>[];\n\n\t@prop({ ref: () => Zone })\n\tpublic visibleZones?: Ref<Zone>[];\n}\n"]}
@@ -22,7 +22,7 @@ Perfect for sharing types between frontend and backend applications.
22
22
 
23
23
  ## Version
24
24
 
25
- Version: 1.4.244
25
+ Version: 1.4.245
26
26
 
27
27
  ## Dependencies
28
28
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/types",
3
- "version": "1.4.244",
3
+ "version": "1.4.245",
4
4
  "description": "Lyxa type definitions and validation schemas for both frontend and backend",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/core",
3
- "version": "1.4.244",
3
+ "version": "1.4.245",
4
4
  "description": "The Core system of the Lyxa services.",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",