@lyxa.ai/core 1.4.235 → 1.4.236

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.
@@ -24,7 +24,7 @@ __decorate([
24
24
  __metadata("design:type", String)
25
25
  ], ProductBrand.prototype, "name", void 0);
26
26
  __decorate([
27
- (0, typegoose_1.prop)({ type: enum_1.ProductBrandType }),
27
+ (0, typegoose_1.prop)({ type: () => String, enum: enum_1.ProductBrandType }),
28
28
  __metadata("design:type", String)
29
29
  ], ProductBrand.prototype, "brandType", void 0);
30
30
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"product-brand.model.js","sourceRoot":"/","sources":["libraries/mongo/models/product-brand.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiE;AACjE,4EAAqE;AACrE,kDAAqE;AAI9D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,2BAAU;IAEjC,IAAI,CAAU;IAGd,SAAS,CAAoB;IAG7B,QAAQ,CAAU;CAC5B,CAAA;AATY,oCAAY;AAEd;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;;0CAC7C;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,uBAAgB,EAAE,CAAC;;+CACG;AAG7B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;8CACE;uBARhB,YAAY;IAFxB,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,EAAE,CAAC;IAChE,IAAA,iBAAK,EAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;GACtE,YAAY,CASxB","sourcesContent":["import { Index, modelOptions, prop } from '@typegoose/typegoose';\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\nimport { ItemType, ProductBrandType } from '../../../utilities/enum';\n\n@modelOptions({ schemaOptions: { collection: 'productBrands' } })\n@Index({ name: 1 }, { unique: true, partialFilterExpression: { deletedAt: null } })\nexport class ProductBrand extends TimeStamps {\n @prop({ required: true, type: String, trim: true, maxlength: 50 })\n public name!: string;\n\n @prop({ type: ProductBrandType })\n public brandType?: ProductBrandType;\n\n @prop({ type: String })\n public imageUrl?: string;\n}\n"]}
1
+ {"version":3,"file":"product-brand.model.js","sourceRoot":"/","sources":["libraries/mongo/models/product-brand.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiE;AACjE,4EAAqE;AACrE,kDAAqE;AAI9D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,2BAAU;IAEjC,IAAI,CAAU;IAGd,SAAS,CAAoB;IAG7B,QAAQ,CAAU;CAC5B,CAAA;AATY,oCAAY;AAEd;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;;0CAC7C;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,uBAAgB,EAAE,CAAC;;+CACjB;AAG7B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;8CACE;uBARhB,YAAY;IAFxB,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,EAAE,CAAC;IAChE,IAAA,iBAAK,EAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;GACtE,YAAY,CASxB","sourcesContent":["import { Index, modelOptions, prop } from '@typegoose/typegoose';\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\nimport { ItemType, ProductBrandType } from '../../../utilities/enum';\n\n@modelOptions({ schemaOptions: { collection: 'productBrands' } })\n@Index({ name: 1 }, { unique: true, partialFilterExpression: { deletedAt: null } })\nexport class ProductBrand extends TimeStamps {\n @prop({ required: true, type: String, trim: true, maxlength: 50 })\n public name!: string;\n\n @prop({ type: () => String, enum: ProductBrandType })\n public brandType?: ProductBrandType;\n\n @prop({ type: String })\n public imageUrl?: string;\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.235
25
+ Version: 1.4.236
26
26
 
27
27
  ## Dependencies
28
28
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/types",
3
- "version": "1.4.235",
3
+ "version": "1.4.236",
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.235",
3
+ "version": "1.4.236",
4
4
  "description": "The Core system of the Lyxa services.",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",