@happyvertical/smrt-products 0.55.7 → 0.55.8
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/{ProductAssetCollection-BZBV2HDk.js → ProductAssetCollection-pTm67_Vn.js} +3 -3
- package/dist/lib/chunks/{ProductAssetCollection-BZBV2HDk.js.map → ProductAssetCollection-pTm67_Vn.js.map} +1 -1
- package/dist/lib/chunks/{ProductCollection-BvRm14q5.js → ProductCollection-BJXVIE6A.js} +2 -2
- package/dist/lib/chunks/{ProductCollection-BvRm14q5.js.map → ProductCollection-BJXVIE6A.js.map} +1 -1
- package/dist/lib/chunks/{Sku-BN7ydk5h.js → Sku-CdhhTtjd.js} +23 -6
- package/dist/lib/chunks/Sku-CdhhTtjd.js.map +1 -0
- package/dist/lib/chunks/__smrt-register__-gVFEye5S.js +6 -0
- package/dist/lib/chunks/__smrt-register__-gVFEye5S.js.map +1 -0
- package/dist/lib/chunks/{collections-CqifjBOG.js → collections-jXx-DX7-.js} +5 -5
- package/dist/lib/chunks/{collections-CqifjBOG.js.map → collections-jXx-DX7-.js.map} +1 -1
- package/dist/lib/chunks/{generated-CUnONwMT.js → generated-DubZj9rG.js} +2 -2
- package/dist/lib/chunks/{generated-CUnONwMT.js.map → generated-DubZj9rG.js.map} +1 -1
- package/dist/lib/chunks/models-B3mKXkTB.js +2 -0
- package/dist/lib/collections.js +3 -3
- package/dist/lib/generated.js +1 -1
- package/dist/lib/index.js +163 -9
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/lib/index.d.ts +1 -0
- package/dist/lib/lib/index.d.ts.map +1 -1
- package/dist/lib/lib/models/Product.d.ts.map +1 -1
- package/dist/lib/lib/models/ProductVariant.d.ts.map +1 -1
- package/dist/lib/lib/models/Sku.d.ts.map +1 -1
- package/dist/lib/lib/recipes.d.ts +211 -0
- package/dist/lib/lib/recipes.d.ts.map +1 -0
- package/dist/lib/manifest.json +335 -13
- package/dist/lib/models.js +2 -2
- package/dist/lib/smrt-knowledge.json +310 -16
- package/package.json +14 -14
- package/dist/lib/chunks/Sku-BN7ydk5h.js.map +0 -1
- package/dist/lib/chunks/__smrt-register__-DTpJWzEc.js +0 -6
- package/dist/lib/chunks/__smrt-register__-DTpJWzEc.js.map +0 -1
- package/dist/lib/chunks/models-A3KLrfkP.js +0 -2
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.55.
|
|
5
|
+
"packageVersion": "0.55.8",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-products:CategoryCollection": {
|
|
8
8
|
"name": "categorycollection",
|
|
@@ -1530,11 +1530,19 @@
|
|
|
1530
1530
|
},
|
|
1531
1531
|
"name": {
|
|
1532
1532
|
"type": "text",
|
|
1533
|
-
"required": false
|
|
1533
|
+
"required": false,
|
|
1534
|
+
"description": "The product name, as customers see it.",
|
|
1535
|
+
"_meta": {
|
|
1536
|
+
"description": "The product name, as customers see it."
|
|
1537
|
+
}
|
|
1534
1538
|
},
|
|
1535
1539
|
"description": {
|
|
1536
1540
|
"type": "text",
|
|
1537
|
-
"required": false
|
|
1541
|
+
"required": false,
|
|
1542
|
+
"description": "A few words on what the product is and who it is for.",
|
|
1543
|
+
"_meta": {
|
|
1544
|
+
"description": "A few words on what the product is and who it is for."
|
|
1545
|
+
}
|
|
1538
1546
|
},
|
|
1539
1547
|
"category": {
|
|
1540
1548
|
"type": "text",
|
|
@@ -1551,7 +1559,11 @@
|
|
|
1551
1559
|
"price": {
|
|
1552
1560
|
"type": "integer",
|
|
1553
1561
|
"required": true,
|
|
1554
|
-
"default": 0
|
|
1562
|
+
"default": 0,
|
|
1563
|
+
"description": "The price in minor units (cents), for example 1999 for 19.99.",
|
|
1564
|
+
"_meta": {
|
|
1565
|
+
"description": "The price in minor units (cents), for example 1999 for 19.99."
|
|
1566
|
+
}
|
|
1555
1567
|
},
|
|
1556
1568
|
"inStock": {
|
|
1557
1569
|
"type": "boolean",
|
|
@@ -1889,11 +1901,19 @@
|
|
|
1889
1901
|
},
|
|
1890
1902
|
"name": {
|
|
1891
1903
|
"type": "text",
|
|
1892
|
-
"required": false
|
|
1904
|
+
"required": false,
|
|
1905
|
+
"description": "The product name, as customers see it.",
|
|
1906
|
+
"_meta": {
|
|
1907
|
+
"description": "The product name, as customers see it."
|
|
1908
|
+
}
|
|
1893
1909
|
},
|
|
1894
1910
|
"description": {
|
|
1895
1911
|
"type": "text",
|
|
1896
|
-
"required": false
|
|
1912
|
+
"required": false,
|
|
1913
|
+
"description": "A few words on what the product is and who it is for.",
|
|
1914
|
+
"_meta": {
|
|
1915
|
+
"description": "A few words on what the product is and who it is for."
|
|
1916
|
+
}
|
|
1897
1917
|
},
|
|
1898
1918
|
"category": {
|
|
1899
1919
|
"type": "text",
|
|
@@ -1910,7 +1930,11 @@
|
|
|
1910
1930
|
"price": {
|
|
1911
1931
|
"type": "integer",
|
|
1912
1932
|
"required": true,
|
|
1913
|
-
"default": 0
|
|
1933
|
+
"default": 0,
|
|
1934
|
+
"description": "The price in minor units (cents), for example 1999 for 19.99.",
|
|
1935
|
+
"_meta": {
|
|
1936
|
+
"description": "The price in minor units (cents), for example 1999 for 19.99."
|
|
1937
|
+
}
|
|
1914
1938
|
},
|
|
1915
1939
|
"inStock": {
|
|
1916
1940
|
"type": "boolean",
|
|
@@ -2408,16 +2432,20 @@
|
|
|
2408
2432
|
"type": "text",
|
|
2409
2433
|
"required": true,
|
|
2410
2434
|
"default": "",
|
|
2435
|
+
"description": "The product this choice belongs to.",
|
|
2411
2436
|
"_meta": {
|
|
2412
|
-
"required": true
|
|
2437
|
+
"required": true,
|
|
2438
|
+
"description": "The product this choice belongs to."
|
|
2413
2439
|
}
|
|
2414
2440
|
},
|
|
2415
2441
|
"axisName": {
|
|
2416
2442
|
"type": "text",
|
|
2417
2443
|
"required": true,
|
|
2418
2444
|
"default": "",
|
|
2445
|
+
"description": "What the product varies by, for example size or color.",
|
|
2419
2446
|
"_meta": {
|
|
2420
|
-
"required": true
|
|
2447
|
+
"required": true,
|
|
2448
|
+
"description": "What the product varies by, for example size or color."
|
|
2421
2449
|
}
|
|
2422
2450
|
},
|
|
2423
2451
|
"label": {
|
|
@@ -2428,7 +2456,11 @@
|
|
|
2428
2456
|
"allowedValues": {
|
|
2429
2457
|
"type": "text",
|
|
2430
2458
|
"required": false,
|
|
2431
|
-
"default": "[]"
|
|
2459
|
+
"default": "[]",
|
|
2460
|
+
"description": "The values on offer, for example S, M and L, stored as a JSON list.",
|
|
2461
|
+
"_meta": {
|
|
2462
|
+
"description": "The values on offer, for example S, M and L, stored as a JSON list."
|
|
2463
|
+
}
|
|
2432
2464
|
},
|
|
2433
2465
|
"sortOrder": {
|
|
2434
2466
|
"type": "integer",
|
|
@@ -2638,16 +2670,20 @@
|
|
|
2638
2670
|
"type": "text",
|
|
2639
2671
|
"required": true,
|
|
2640
2672
|
"default": "",
|
|
2673
|
+
"description": "The product this item is a version of.",
|
|
2641
2674
|
"_meta": {
|
|
2642
|
-
"required": true
|
|
2675
|
+
"required": true,
|
|
2676
|
+
"description": "The product this item is a version of."
|
|
2643
2677
|
}
|
|
2644
2678
|
},
|
|
2645
2679
|
"code": {
|
|
2646
2680
|
"type": "text",
|
|
2647
2681
|
"required": true,
|
|
2648
2682
|
"default": "",
|
|
2683
|
+
"description": "The short code that identifies this exact item, such as a UPC or part number.",
|
|
2649
2684
|
"_meta": {
|
|
2650
|
-
"required": true
|
|
2685
|
+
"required": true,
|
|
2686
|
+
"description": "The short code that identifies this exact item, such as a UPC or part number."
|
|
2651
2687
|
}
|
|
2652
2688
|
},
|
|
2653
2689
|
"barcode": {
|
|
@@ -2663,7 +2699,11 @@
|
|
|
2663
2699
|
"attributes": {
|
|
2664
2700
|
"type": "text",
|
|
2665
2701
|
"required": false,
|
|
2666
|
-
"default": "{}"
|
|
2702
|
+
"default": "{}",
|
|
2703
|
+
"description": "Which attribute values, such as size and color, this item has, stored as JSON.",
|
|
2704
|
+
"_meta": {
|
|
2705
|
+
"description": "Which attribute values, such as size and color, this item has, stored as JSON."
|
|
2706
|
+
}
|
|
2667
2707
|
},
|
|
2668
2708
|
"weightGrams": {
|
|
2669
2709
|
"type": "decimal",
|
|
@@ -2870,10 +2910,292 @@
|
|
|
2870
2910
|
}
|
|
2871
2911
|
},
|
|
2872
2912
|
"moduleType": "smrt",
|
|
2913
|
+
"recipes": [
|
|
2914
|
+
{
|
|
2915
|
+
"id": "products.clothing",
|
|
2916
|
+
"className": "ClothingProductsRecipe",
|
|
2917
|
+
"label": "Clothing",
|
|
2918
|
+
"summary": "Products that come in sizes and colors, with a stock-keeping unit for each combination.",
|
|
2919
|
+
"synonyms": [
|
|
2920
|
+
"apparel",
|
|
2921
|
+
"garments",
|
|
2922
|
+
"sizes",
|
|
2923
|
+
"variants"
|
|
2924
|
+
],
|
|
2925
|
+
"models": [
|
|
2926
|
+
"@happyvertical/smrt-products:Product",
|
|
2927
|
+
"@happyvertical/smrt-products:ProductVariant",
|
|
2928
|
+
"@happyvertical/smrt-products:Sku"
|
|
2929
|
+
],
|
|
2930
|
+
"nav": [
|
|
2931
|
+
{
|
|
2932
|
+
"label": "Products",
|
|
2933
|
+
"model": "@happyvertical/smrt-products:Product",
|
|
2934
|
+
"icon": "package",
|
|
2935
|
+
"description": "What you sell, with prices and details."
|
|
2936
|
+
}
|
|
2937
|
+
],
|
|
2938
|
+
"requires": [],
|
|
2939
|
+
"group": {
|
|
2940
|
+
"id": "products",
|
|
2941
|
+
"label": "Products",
|
|
2942
|
+
"summary": "Sell goods: simple items, or clothing that comes in sizes and colors."
|
|
2943
|
+
},
|
|
2944
|
+
"section": {
|
|
2945
|
+
"id": "catalog",
|
|
2946
|
+
"label": "Catalog",
|
|
2947
|
+
"icon": "package",
|
|
2948
|
+
"description": "Products, ingredients and the stock you hold."
|
|
2949
|
+
},
|
|
2950
|
+
"options": {
|
|
2951
|
+
"@happyvertical/smrt-products:Product": {
|
|
2952
|
+
"fields": {
|
|
2953
|
+
"productType": {
|
|
2954
|
+
"visibility": "hidden"
|
|
2955
|
+
},
|
|
2956
|
+
"category": {
|
|
2957
|
+
"visibility": "hidden"
|
|
2958
|
+
},
|
|
2959
|
+
"manufacturer": {
|
|
2960
|
+
"visibility": "hidden"
|
|
2961
|
+
},
|
|
2962
|
+
"model": {
|
|
2963
|
+
"visibility": "hidden"
|
|
2964
|
+
},
|
|
2965
|
+
"inStock": {
|
|
2966
|
+
"visibility": "hidden"
|
|
2967
|
+
},
|
|
2968
|
+
"specifications": {
|
|
2969
|
+
"visibility": "hidden"
|
|
2970
|
+
},
|
|
2971
|
+
"tags": {
|
|
2972
|
+
"visibility": "hidden"
|
|
2973
|
+
},
|
|
2974
|
+
"description": {
|
|
2975
|
+
"visibility": "hidden"
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
"@happyvertical/smrt-products:ProductVariant": {
|
|
2980
|
+
"fields": {
|
|
2981
|
+
"label": {
|
|
2982
|
+
"visibility": "hidden"
|
|
2983
|
+
},
|
|
2984
|
+
"sortOrder": {
|
|
2985
|
+
"visibility": "hidden"
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
"@happyvertical/smrt-products:Sku": {
|
|
2990
|
+
"fields": {
|
|
2991
|
+
"barcode": {
|
|
2992
|
+
"visibility": "hidden"
|
|
2993
|
+
},
|
|
2994
|
+
"name": {
|
|
2995
|
+
"visibility": "hidden"
|
|
2996
|
+
},
|
|
2997
|
+
"weightGrams": {
|
|
2998
|
+
"visibility": "hidden"
|
|
2999
|
+
},
|
|
3000
|
+
"parentSkuId": {
|
|
3001
|
+
"visibility": "hidden"
|
|
3002
|
+
},
|
|
3003
|
+
"active": {
|
|
3004
|
+
"visibility": "hidden"
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3008
|
+
},
|
|
3009
|
+
"help": {
|
|
3010
|
+
"markdown": "## Overview\n\nClothing is for products that come in sizes and colors. You describe the product\nonce, say which sizes and colors you offer, and each combination becomes its own\nitem you can sell and count separately: a shirt in three sizes and two colors is\nsix items.\n\n## Tasks\n\n### Add a clothing item\n\n1. Create a product with a **{field:name}** and a **{field:price}**.\n2. Add a variant axis for sizes and list the values you offer, for example XS to\n XL. Leave out the ones you do not make.\n3. Add a variant axis for colors the same way.\n4. Create an item (SKU) for each size and color combination, with its own code\n and its size and color attributes.\n\n### Add a size or a color later\n\n1. Add the new value to the size or color axis of the product.\n2. Create items for the new combinations. Items you already had keep their\n codes.\n\n### Stop selling a size\n\n1. Remove the size from the product's size axis.\n2. Remove the items for that size.\n",
|
|
3011
|
+
"fieldRefs": [
|
|
3012
|
+
"name",
|
|
3013
|
+
"price"
|
|
3014
|
+
]
|
|
3015
|
+
},
|
|
3016
|
+
"demo": {
|
|
3017
|
+
"mode": "server",
|
|
3018
|
+
"reasons": [
|
|
3019
|
+
"Needs a server because its package does not build for a browser: server bootstrap (startRestServer, express/cors), core generators/mcp; and its package depends on @happyvertical/smrt-tenancy, which do not build for a browser (#3616, #3624, #3626)."
|
|
3020
|
+
]
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"id": "products.ingredients",
|
|
3025
|
+
"className": "IngredientsRecipe",
|
|
3026
|
+
"label": "Ingredients",
|
|
3027
|
+
"summary": "Things you buy in to make what you sell, kept as products of the material kind with their own list.",
|
|
3028
|
+
"synonyms": [
|
|
3029
|
+
"materials",
|
|
3030
|
+
"raw materials",
|
|
3031
|
+
"supplies",
|
|
3032
|
+
"stock items"
|
|
3033
|
+
],
|
|
3034
|
+
"models": [
|
|
3035
|
+
"@happyvertical/smrt-products:Product"
|
|
3036
|
+
],
|
|
3037
|
+
"nav": [
|
|
3038
|
+
{
|
|
3039
|
+
"label": "Ingredients",
|
|
3040
|
+
"model": "@happyvertical/smrt-products:Product",
|
|
3041
|
+
"icon": "package",
|
|
3042
|
+
"description": "What you buy to make what you sell, with what each costs.",
|
|
3043
|
+
"key": "ingredients",
|
|
3044
|
+
"noun": "ingredient",
|
|
3045
|
+
"filter": {
|
|
3046
|
+
"field": "productType",
|
|
3047
|
+
"value": "material"
|
|
3048
|
+
}
|
|
3049
|
+
}
|
|
3050
|
+
],
|
|
3051
|
+
"requires": [
|
|
3052
|
+
"products.simple"
|
|
3053
|
+
],
|
|
3054
|
+
"group": {
|
|
3055
|
+
"id": "products",
|
|
3056
|
+
"label": "Products",
|
|
3057
|
+
"summary": "Sell goods: simple items, or clothing that comes in sizes and colors."
|
|
3058
|
+
},
|
|
3059
|
+
"section": {
|
|
3060
|
+
"id": "catalog",
|
|
3061
|
+
"label": "Catalog",
|
|
3062
|
+
"icon": "package",
|
|
3063
|
+
"description": "Products, ingredients and the stock you hold."
|
|
3064
|
+
},
|
|
3065
|
+
"options": {
|
|
3066
|
+
"@happyvertical/smrt-products:Product": {
|
|
3067
|
+
"fields": {
|
|
3068
|
+
"productType": {
|
|
3069
|
+
"visibility": "hidden"
|
|
3070
|
+
},
|
|
3071
|
+
"category": {
|
|
3072
|
+
"visibility": "hidden"
|
|
3073
|
+
},
|
|
3074
|
+
"manufacturer": {
|
|
3075
|
+
"visibility": "hidden"
|
|
3076
|
+
},
|
|
3077
|
+
"model": {
|
|
3078
|
+
"visibility": "hidden"
|
|
3079
|
+
},
|
|
3080
|
+
"inStock": {
|
|
3081
|
+
"visibility": "hidden"
|
|
3082
|
+
},
|
|
3083
|
+
"specifications": {
|
|
3084
|
+
"visibility": "hidden"
|
|
3085
|
+
},
|
|
3086
|
+
"tags": {
|
|
3087
|
+
"visibility": "hidden"
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
},
|
|
3092
|
+
"help": {
|
|
3093
|
+
"markdown": "## Overview\n\nIngredients are the things you buy in to make what you sell: flour, butter,\nsteel, fabric. They are products of the material kind, so they have the same\nname, price and description as anything you sell, and they are listed apart from\nthe products you sell. Count them with inventory like any other item.\n\n## Tasks\n\n### Add an ingredient\n\n1. Create a new ingredient.\n2. Give it a **{field:name}** that includes the pack size, for example \"Bread flour, 25 kg\".\n3. Enter what you pay in the **{field:price}**, in minor units (cents).\n4. Add a **{field:description}** such as the brand or grade.\n5. Save. It appears in the ingredients list, not in the products you sell.\n\n### Update what you pay\n\n1. Find the ingredient.\n2. Change the **{field:price}** and save.\n",
|
|
3094
|
+
"fieldRefs": [
|
|
3095
|
+
"description",
|
|
3096
|
+
"name",
|
|
3097
|
+
"price"
|
|
3098
|
+
]
|
|
3099
|
+
},
|
|
3100
|
+
"demo": {
|
|
3101
|
+
"mode": "server",
|
|
3102
|
+
"reasons": [
|
|
3103
|
+
"Needs a server because its package does not build for a browser: server bootstrap (startRestServer, express/cors), core generators/mcp; and its package depends on @happyvertical/smrt-tenancy, which do not build for a browser (#3616, #3624, #3626)."
|
|
3104
|
+
]
|
|
3105
|
+
}
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
"id": "products.simple",
|
|
3109
|
+
"className": "SimpleProductsRecipe",
|
|
3110
|
+
"label": "Simple products",
|
|
3111
|
+
"summary": "Items with a name, a price and a description.",
|
|
3112
|
+
"synonyms": [
|
|
3113
|
+
"items",
|
|
3114
|
+
"goods",
|
|
3115
|
+
"catalog"
|
|
3116
|
+
],
|
|
3117
|
+
"models": [
|
|
3118
|
+
"@happyvertical/smrt-products:Product"
|
|
3119
|
+
],
|
|
3120
|
+
"nav": [
|
|
3121
|
+
{
|
|
3122
|
+
"label": "Products",
|
|
3123
|
+
"model": "@happyvertical/smrt-products:Product",
|
|
3124
|
+
"icon": "package",
|
|
3125
|
+
"description": "What you sell, with prices and details."
|
|
3126
|
+
}
|
|
3127
|
+
],
|
|
3128
|
+
"requires": [],
|
|
3129
|
+
"group": {
|
|
3130
|
+
"id": "products",
|
|
3131
|
+
"label": "Products",
|
|
3132
|
+
"summary": "Sell goods: simple items, or clothing that comes in sizes and colors."
|
|
3133
|
+
},
|
|
3134
|
+
"section": {
|
|
3135
|
+
"id": "catalog",
|
|
3136
|
+
"label": "Catalog",
|
|
3137
|
+
"icon": "package",
|
|
3138
|
+
"description": "Products, ingredients and the stock you hold."
|
|
3139
|
+
},
|
|
3140
|
+
"options": {
|
|
3141
|
+
"@happyvertical/smrt-products:Product": {
|
|
3142
|
+
"fields": {
|
|
3143
|
+
"productType": {
|
|
3144
|
+
"visibility": "hidden"
|
|
3145
|
+
},
|
|
3146
|
+
"category": {
|
|
3147
|
+
"visibility": "hidden"
|
|
3148
|
+
},
|
|
3149
|
+
"manufacturer": {
|
|
3150
|
+
"visibility": "hidden"
|
|
3151
|
+
},
|
|
3152
|
+
"model": {
|
|
3153
|
+
"visibility": "hidden"
|
|
3154
|
+
},
|
|
3155
|
+
"inStock": {
|
|
3156
|
+
"visibility": "hidden"
|
|
3157
|
+
},
|
|
3158
|
+
"specifications": {
|
|
3159
|
+
"visibility": "hidden"
|
|
3160
|
+
},
|
|
3161
|
+
"tags": {
|
|
3162
|
+
"visibility": "hidden"
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
},
|
|
3167
|
+
"help": {
|
|
3168
|
+
"markdown": "## Overview\n\nSimple products are things you sell that come in one form: one name, one price,\none description. Keep a record for each so you can see everything you offer in\none list, with the price next to it, and change it whenever it moves.\n\n## Tasks\n\n### Add a simple product\n\n1. Create a new product.\n2. Give it a **{field:name}**, for example \"Ceramic mug\".\n3. Enter the **{field:price}** in minor units (cents).\n4. Add a **{field:description}** so anyone reading the list knows what it is.\n5. Save. The product is now on your list.\n\n### Change a price\n\n1. Find the product.\n2. Change the **{field:price}** and save.\n",
|
|
3169
|
+
"fieldRefs": [
|
|
3170
|
+
"description",
|
|
3171
|
+
"name",
|
|
3172
|
+
"price"
|
|
3173
|
+
]
|
|
3174
|
+
},
|
|
3175
|
+
"demo": {
|
|
3176
|
+
"mode": "server",
|
|
3177
|
+
"reasons": [
|
|
3178
|
+
"Needs a server because its package does not build for a browser: server bootstrap (startRestServer, express/cors), core generators/mcp; and its package depends on @happyvertical/smrt-tenancy, which do not build for a browser (#3616, #3624, #3626)."
|
|
3179
|
+
]
|
|
3180
|
+
}
|
|
3181
|
+
}
|
|
3182
|
+
],
|
|
2873
3183
|
"smrtDependencies": [
|
|
2874
3184
|
"@happyvertical/smrt-assets",
|
|
2875
3185
|
"@happyvertical/smrt-core",
|
|
2876
3186
|
"@happyvertical/smrt-tenancy"
|
|
2877
3187
|
],
|
|
3188
|
+
"browser": {
|
|
3189
|
+
"status": "server-only",
|
|
3190
|
+
"issues": [
|
|
3191
|
+
"#3616",
|
|
3192
|
+
"#3624",
|
|
3193
|
+
"#3626"
|
|
3194
|
+
],
|
|
3195
|
+
"reason": "server bootstrap (startRestServer, express/cors), core generators/mcp",
|
|
3196
|
+
"via": [
|
|
3197
|
+
"@happyvertical/smrt-tenancy"
|
|
3198
|
+
]
|
|
3199
|
+
},
|
|
2878
3200
|
"stampsConstructors": true
|
|
2879
3201
|
}
|
package/dist/lib/models.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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-
|
|
2
|
-
import "./chunks/models-
|
|
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-CdhhTtjd.js";
|
|
2
|
+
import "./chunks/models-B3mKXkTB.js";
|
|
3
3
|
export { Category, Material, Product, ProductAsset, ProductType, ProductVariant, Sku };
|