@blackcode_sa/metaestetics-api 1.12.41 → 1.12.43
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/admin/index.d.mts +4 -4
- package/dist/admin/index.d.ts +4 -4
- package/dist/backoffice/index.d.mts +105 -7
- package/dist/backoffice/index.d.ts +105 -7
- package/dist/backoffice/index.js +552 -8
- package/dist/backoffice/index.mjs +566 -21
- package/dist/index.d.mts +93 -7
- package/dist/index.d.ts +93 -7
- package/dist/index.js +493 -8
- package/dist/index.mjs +493 -8
- package/package.json +1 -1
- package/src/backoffice/services/brand.service.ts +86 -0
- package/src/backoffice/services/category.service.ts +84 -0
- package/src/backoffice/services/constants.service.ts +77 -0
- package/src/backoffice/services/product.service.ts +113 -10
- package/src/backoffice/services/requirement.service.ts +76 -0
- package/src/backoffice/services/subcategory.service.ts +87 -0
- package/src/backoffice/services/technology.service.ts +178 -0
- package/src/backoffice/types/product.types.ts +7 -6
|
@@ -41,15 +41,16 @@ export interface Product {
|
|
|
41
41
|
indications?: string[];
|
|
42
42
|
contraindications?: ContraindicationDynamic[];
|
|
43
43
|
|
|
44
|
-
//
|
|
45
|
-
// These fields
|
|
46
|
-
|
|
44
|
+
// LEGACY FIELDS: Only present in technology subcollections (/technologies/{id}/products/)
|
|
45
|
+
// These fields are synced by Cloud Functions for backward compatibility
|
|
46
|
+
// NOT stored in top-level /products collection
|
|
47
|
+
/** Present only in subcollections - synced from technology metadata */
|
|
47
48
|
technologyId?: string;
|
|
48
|
-
/**
|
|
49
|
+
/** Present only in subcollections - synced from technology name */
|
|
49
50
|
technologyName?: string;
|
|
50
|
-
/**
|
|
51
|
+
/** Present only in subcollections - synced from technology categoryId */
|
|
51
52
|
categoryId?: string;
|
|
52
|
-
/**
|
|
53
|
+
/** Present only in subcollections - synced from technology subcategoryId */
|
|
53
54
|
subcategoryId?: string;
|
|
54
55
|
}
|
|
55
56
|
|