@ikas/storefront-models 4.0.0-alpha.36 → 4.0.0-alpha.38
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/build-cjs/index.d.ts +1 -0
- package/build-cjs/models/product/attribute/index.d.ts +3 -1
- package/build-cjs/models/product/attribute/index.js +1 -1
- package/build-cjs/models/product/attribute/index.js.map +1 -1
- package/build-cjs/models/product-option-file/index.d.ts +5 -0
- package/package.json +1 -1
- package/src/index.ts +3 -0
- package/src/models/product/attribute/index.ts +2 -0
- package/src/models/product-option-file/index.ts +5 -0
package/build-cjs/index.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ export * from "./models/product/variant-type/init";
|
|
|
128
128
|
export * from "./models/product/variant-type";
|
|
129
129
|
export * from "./models/product/init";
|
|
130
130
|
export * from "./models/product";
|
|
131
|
+
export * from "./models/product-option-file";
|
|
131
132
|
export * from "./models/raffle/init";
|
|
132
133
|
export * from "./models/raffle/";
|
|
133
134
|
export * from "./models/sales-channel";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductAttributeType=void 0,(t=exports.IkasProductAttributeType||(exports.IkasProductAttributeType={})).CHOICE="CHOICE",t.MULTIPLE_CHOICE="MULTIPLE_CHOICE",t.TEXT="TEXT",t.BOOLEAN="BOOLEAN",t.NUMERIC="NUMERIC",t.DATETIME="DATETIME",t.HTML="HTML",t.TABLE="TABLE";
|
|
1
|
+
"use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductAttributeType=void 0,(t=exports.IkasProductAttributeType||(exports.IkasProductAttributeType={})).CHOICE="CHOICE",t.MULTIPLE_CHOICE="MULTIPLE_CHOICE",t.TEXT="TEXT",t.BOOLEAN="BOOLEAN",t.NUMERIC="NUMERIC",t.DATETIME="DATETIME",t.HTML="HTML",t.TABLE="TABLE",t.IMAGE="IMAGE",t.PRODUCT="PRODUCT";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/models/product/attribute/index.ts"],"sourcesContent":["import { IkasProductAttributeTableTemplate } from \"./table-template\";\nimport { IkasProductAttributeOption } from \"./option\";\nimport { IkasProductAttributeTranslation } from \"./translation\";\n\nexport type IkasProductAttribute = {\n id: string;\n name: string;\n description: string | null;\n type: IkasProductAttributeType;\n options: IkasProductAttributeOption[] | null;\n tableTemplate: IkasProductAttributeTableTemplate | null;\n translations?: IkasProductAttributeTranslation[] | null;\n};\n\nexport enum IkasProductAttributeType {\n CHOICE = \"CHOICE\",\n MULTIPLE_CHOICE = \"MULTIPLE_CHOICE\",\n TEXT = \"TEXT\",\n BOOLEAN = \"BOOLEAN\",\n NUMERIC = \"NUMERIC\",\n DATETIME = \"DATETIME\",\n HTML = \"HTML\",\n TABLE = \"TABLE\",\n}\n"],"names":["IkasProductAttributeType"],"mappings":"aAcA,IAAYA,yDAAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/models/product/attribute/index.ts"],"sourcesContent":["import { IkasProductAttributeTableTemplate } from \"./table-template\";\nimport { IkasProductAttributeOption } from \"./option\";\nimport { IkasProductAttributeTranslation } from \"./translation\";\n\nexport type IkasProductAttribute = {\n id: string;\n name: string;\n description: string | null;\n type: IkasProductAttributeType;\n options: IkasProductAttributeOption[] | null;\n tableTemplate: IkasProductAttributeTableTemplate | null;\n translations?: IkasProductAttributeTranslation[] | null;\n};\n\nexport enum IkasProductAttributeType {\n CHOICE = \"CHOICE\",\n MULTIPLE_CHOICE = \"MULTIPLE_CHOICE\",\n TEXT = \"TEXT\",\n BOOLEAN = \"BOOLEAN\",\n NUMERIC = \"NUMERIC\",\n DATETIME = \"DATETIME\",\n HTML = \"HTML\",\n TABLE = \"TABLE\",\n IMAGE = \"IMAGE\",\n PRODUCT = \"PRODUCT\",\n}\n"],"names":["IkasProductAttributeType"],"mappings":"aAcA,IAAYA,yDAAAA,QAWXA,8BAAA,GAXWA,EAAAA,QAAwBA,2BAAxBA,iCAWX,KAVC,OAAA,SACAA,EAAA,gBAAA,kBACAA,EAAA,KAAA,OACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,KAAA,OACAA,EAAA,MAAA,QACAA,EAAA,MAAA,QACAA,EAAA,QAAA"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -172,6 +172,9 @@ export * from "./models/product/variant-type";
|
|
|
172
172
|
export * from "./models/product/init";
|
|
173
173
|
export * from "./models/product";
|
|
174
174
|
|
|
175
|
+
// FILE-UPLOAD
|
|
176
|
+
export * from "./models/product-option-file";
|
|
177
|
+
|
|
175
178
|
// RAFFLE
|
|
176
179
|
export * from "./models/raffle/init";
|
|
177
180
|
export * from "./models/raffle/";
|