@happyvertical/smrt-products 0.56.1 → 0.56.2
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/lib/chunks/__smrt-register__-CJ2Uym6T.js +6 -0
- package/dist/lib/chunks/__smrt-register__-CJ2Uym6T.js.map +1 -0
- package/dist/lib/chunks/{collections-jjd6E0-X.js → collections-DD9nJecp.js} +2 -2
- package/dist/lib/chunks/{collections-jjd6E0-X.js.map → collections-DD9nJecp.js.map} +1 -1
- package/dist/lib/chunks/{generated-BRu5u4MB.js → generated-DH3DyJcQ.js} +2 -2
- package/dist/lib/chunks/{generated-BRu5u4MB.js.map → generated-DH3DyJcQ.js.map} +1 -1
- package/dist/lib/chunks/models-BR8_apA1.js +2 -0
- package/dist/lib/collections.js +1 -1
- package/dist/lib/generated.js +1 -1
- package/dist/lib/index.js +4 -4
- package/dist/lib/manifest.json +78 -6
- package/dist/lib/models.js +1 -1
- package/dist/lib/smrt-knowledge.json +89 -478
- package/package.json +9 -9
- package/dist/lib/chunks/__smrt-register__-HGJYeOvL.js +0 -6
- package/dist/lib/chunks/__smrt-register__-HGJYeOvL.js.map +0 -1
- package/dist/lib/chunks/models-BdmcYsGO.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-
|
|
1
|
+
{"version":3,"file":"generated-DH3DyJcQ.js","names":[],"sources":["../../../src/lib/generated/index.ts"],"sourcesContent":["/**\n * Auto-generated SMRT Components\n *\n * This file is automatically generated by the SMRT Vite plugin.\n * It exports UI components that are auto-generated from @smrt() decorated classes.\n *\n * DO NOT EDIT THIS FILE MANUALLY - it will be overwritten.\n */\n\n// Self-register this package's manifest for consumers that import via this\n// subpath without the main entry. See src/__smrt-register__.ts (issue #1132).\nimport '../../__smrt-register__.js';\n\n// Auto-generated components will be exported here by the SMRT Vite plugin\n// Examples:\n// export { default as SmrtProductForm } from './SmrtProductForm.svelte';\n// export { default as SmrtProductTable } from './SmrtProductTable.svelte';\n// export { default as SmrtCategoryForm } from './SmrtCategoryForm.svelte';\n\n// For now, export an empty object to prevent import errors\nexport const autoGeneratedComponents = {};\n"],"mappings":";;AAoBA,IAAa,0BAA0B,CAAC"}
|
package/dist/lib/collections.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as CategoryCollection, n as ProductVariantCollection, r as MaterialCollection, t as SkuCollection } from "./chunks/collections-
|
|
1
|
+
import { i as CategoryCollection, n as ProductVariantCollection, r as MaterialCollection, t as SkuCollection } from "./chunks/collections-DD9nJecp.js";
|
|
2
2
|
import { t as ProductCollection } from "./chunks/ProductCollection-DG_vHXBB.js";
|
|
3
3
|
import { t as ProductAssetCollection } from "./chunks/ProductAssetCollection-BuvXAMhk.js";
|
|
4
4
|
export { CategoryCollection, MaterialCollection, ProductAssetCollection, ProductCollection, ProductVariantCollection, SkuCollection };
|
package/dist/lib/generated.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as autoGeneratedComponents } from "./chunks/generated-
|
|
1
|
+
import { t as autoGeneratedComponents } from "./chunks/generated-DH3DyJcQ.js";
|
|
2
2
|
export { autoGeneratedComponents };
|
package/dist/lib/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunks/rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import "./chunks/__smrt-register__-
|
|
2
|
+
import "./chunks/__smrt-register__-CJ2Uym6T.js";
|
|
3
3
|
import { a as Product, i as Material, n as ProductVariant, o as ProductType, r as ProductAsset, s as Category, t as Sku } from "./chunks/Sku-DOFW6Izt.js";
|
|
4
|
-
import { i as CategoryCollection, n as ProductVariantCollection, r as MaterialCollection, t as SkuCollection } from "./chunks/collections-
|
|
4
|
+
import { i as CategoryCollection, n as ProductVariantCollection, r as MaterialCollection, t as SkuCollection } from "./chunks/collections-DD9nJecp.js";
|
|
5
5
|
import { t as ProductCollection } from "./chunks/ProductCollection-DG_vHXBB.js";
|
|
6
6
|
import { t as ProductAssetCollection } from "./chunks/ProductAssetCollection-BuvXAMhk.js";
|
|
7
7
|
import { n as ProductCard, t as ProductForm } from "./chunks/components-DMJz1geh.js";
|
|
8
|
-
import { t as autoGeneratedComponents } from "./chunks/generated-
|
|
9
|
-
import "./chunks/models-
|
|
8
|
+
import { t as autoGeneratedComponents } from "./chunks/generated-DH3DyJcQ.js";
|
|
9
|
+
import "./chunks/models-BR8_apA1.js";
|
|
10
10
|
import { n as productStore, t as ProductStoreClass } from "./chunks/stores-CB0SI1c5.js";
|
|
11
11
|
import { i as slugify, n as formatPrice, r as generateId, t as formatDate } from "./chunks/utils-BgTqlQoH.js";
|
|
12
12
|
import { SmrtRecipe, startRestServer } from "@happyvertical/smrt-core";
|
package/dist/lib/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-products",
|
|
5
|
-
"packageVersion": "0.56.
|
|
5
|
+
"packageVersion": "0.56.2",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-products:CategoryCollection": {
|
|
8
8
|
"name": "categorycollection",
|
|
@@ -22,7 +22,22 @@
|
|
|
22
22
|
"isPublic": true
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
"decoratorConfig": {
|
|
25
|
+
"decoratorConfig": {
|
|
26
|
+
"api": {
|
|
27
|
+
"include": [
|
|
28
|
+
"list",
|
|
29
|
+
"get",
|
|
30
|
+
"create",
|
|
31
|
+
"update"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"mcp": {
|
|
35
|
+
"include": [
|
|
36
|
+
"list",
|
|
37
|
+
"get"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
26
41
|
"extends": "SmrtCollection",
|
|
27
42
|
"extendsTypeArg": "Category",
|
|
28
43
|
"exportName": "CategoryCollection",
|
|
@@ -260,7 +275,21 @@
|
|
|
260
275
|
}
|
|
261
276
|
},
|
|
262
277
|
"decoratorConfig": {
|
|
263
|
-
"tableName": "products"
|
|
278
|
+
"tableName": "products",
|
|
279
|
+
"api": {
|
|
280
|
+
"include": [
|
|
281
|
+
"list",
|
|
282
|
+
"get",
|
|
283
|
+
"create",
|
|
284
|
+
"update"
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
"mcp": {
|
|
288
|
+
"include": [
|
|
289
|
+
"list",
|
|
290
|
+
"get"
|
|
291
|
+
]
|
|
292
|
+
}
|
|
264
293
|
},
|
|
265
294
|
"extends": "ProductCollection",
|
|
266
295
|
"exportName": "MaterialCollection",
|
|
@@ -814,7 +843,22 @@
|
|
|
814
843
|
"isPublic": true
|
|
815
844
|
}
|
|
816
845
|
},
|
|
817
|
-
"decoratorConfig": {
|
|
846
|
+
"decoratorConfig": {
|
|
847
|
+
"api": {
|
|
848
|
+
"include": [
|
|
849
|
+
"list",
|
|
850
|
+
"get",
|
|
851
|
+
"create",
|
|
852
|
+
"update"
|
|
853
|
+
]
|
|
854
|
+
},
|
|
855
|
+
"mcp": {
|
|
856
|
+
"include": [
|
|
857
|
+
"list",
|
|
858
|
+
"get"
|
|
859
|
+
]
|
|
860
|
+
}
|
|
861
|
+
},
|
|
818
862
|
"extends": "SmrtCollection",
|
|
819
863
|
"extendsTypeArg": "Product",
|
|
820
864
|
"exportName": "ProductCollection",
|
|
@@ -1002,7 +1046,21 @@
|
|
|
1002
1046
|
}
|
|
1003
1047
|
},
|
|
1004
1048
|
"decoratorConfig": {
|
|
1005
|
-
"tableName": "product_variants"
|
|
1049
|
+
"tableName": "product_variants",
|
|
1050
|
+
"api": {
|
|
1051
|
+
"include": [
|
|
1052
|
+
"list",
|
|
1053
|
+
"get",
|
|
1054
|
+
"create",
|
|
1055
|
+
"update"
|
|
1056
|
+
]
|
|
1057
|
+
},
|
|
1058
|
+
"mcp": {
|
|
1059
|
+
"include": [
|
|
1060
|
+
"list",
|
|
1061
|
+
"get"
|
|
1062
|
+
]
|
|
1063
|
+
}
|
|
1006
1064
|
},
|
|
1007
1065
|
"extends": "SmrtCollection",
|
|
1008
1066
|
"extendsTypeArg": "ProductVariant",
|
|
@@ -1185,7 +1243,21 @@
|
|
|
1185
1243
|
}
|
|
1186
1244
|
},
|
|
1187
1245
|
"decoratorConfig": {
|
|
1188
|
-
"tableName": "product_skus"
|
|
1246
|
+
"tableName": "product_skus",
|
|
1247
|
+
"api": {
|
|
1248
|
+
"include": [
|
|
1249
|
+
"list",
|
|
1250
|
+
"get",
|
|
1251
|
+
"create",
|
|
1252
|
+
"update"
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1255
|
+
"mcp": {
|
|
1256
|
+
"include": [
|
|
1257
|
+
"list",
|
|
1258
|
+
"get"
|
|
1259
|
+
]
|
|
1260
|
+
}
|
|
1189
1261
|
},
|
|
1190
1262
|
"extends": "SmrtCollection",
|
|
1191
1263
|
"extendsTypeArg": "Sku",
|
package/dist/lib/models.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as Product, i as Material, n as ProductVariant, o as ProductType, r as ProductAsset, s as Category, t as Sku } from "./chunks/Sku-DOFW6Izt.js";
|
|
2
|
-
import "./chunks/models-
|
|
2
|
+
import "./chunks/models-BR8_apA1.js";
|
|
3
3
|
export { Category, Material, Product, ProductAsset, ProductType, ProductVariant, Sku };
|