@cimplify/sdk 0.45.1 → 0.45.3
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/{chunk-GCSZYC5C.js → chunk-B2MJQ7SU.js} +45 -137
- package/dist/{chunk-D3TVW7JP.mjs → chunk-J7BUGTAG.mjs} +1 -1
- package/dist/{chunk-T4E4R4YG.js → chunk-KD2HHETX.js} +2 -2
- package/dist/{chunk-W72W6M6M.mjs → chunk-ZTPP7PDU.mjs} +45 -137
- package/dist/mock/cli.mjs +45 -137
- package/dist/mock/library.js +45 -137
- package/dist/mock/library.mjs +45 -137
- package/dist/mock/msw.js +45 -137
- package/dist/mock/msw.mjs +45 -137
- package/dist/styles.css +1 -1
- package/dist/testing/msw.js +2 -2
- package/dist/testing/msw.mjs +1 -1
- package/dist/testing/suite.js +21 -21
- package/dist/testing/suite.mjs +2 -2
- package/dist/testing.js +77 -77
- package/dist/testing.mjs +3 -3
- package/package.json +1 -1
|
@@ -5676,17 +5676,15 @@ function createLinkService({ clock, ids }) {
|
|
|
5676
5676
|
}
|
|
5677
5677
|
|
|
5678
5678
|
// src/mock/seeds/image.ts
|
|
5679
|
-
var
|
|
5680
|
-
function seedImage(industry, slug
|
|
5681
|
-
{
|
|
5682
|
-
return `${CIMPLIFY_CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
|
|
5683
|
-
}
|
|
5679
|
+
var CDN_BASE_URL = "https://static-tmp.cimplify.io";
|
|
5680
|
+
function seedImage(industry, slug) {
|
|
5681
|
+
return `${CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
|
|
5684
5682
|
}
|
|
5685
5683
|
|
|
5686
5684
|
// src/mock/seeds/default.ts
|
|
5687
5685
|
var ISO = "2026-01-01T00:00:00.000Z";
|
|
5688
5686
|
var BUSINESS_ID = "bus_default_akua_bakery";
|
|
5689
|
-
var img = (
|
|
5687
|
+
var img = (photoId) => seedImage("bakery", photoId);
|
|
5690
5688
|
function makeProduct(input, categoryIds) {
|
|
5691
5689
|
const catId = categoryIds.get(input.category);
|
|
5692
5690
|
return {
|
|
@@ -5743,7 +5741,7 @@ function seedDefault(registry) {
|
|
|
5743
5741
|
default_address: "12 Independence Ave, Accra",
|
|
5744
5742
|
default_offers_table_service: true,
|
|
5745
5743
|
default_accepts_online_orders: true,
|
|
5746
|
-
image: img("
|
|
5744
|
+
image: img("business-hero"),
|
|
5747
5745
|
status: "active",
|
|
5748
5746
|
created_at: ISO,
|
|
5749
5747
|
updated_at: ISO,
|
|
@@ -5798,8 +5796,8 @@ function seedDefault(registry) {
|
|
|
5798
5796
|
price: "25.00",
|
|
5799
5797
|
description: "24-hour fermented country loaf with our heritage starter \u2014 open crumb, blistered crust, naturally tangy. Baked fresh every morning.",
|
|
5800
5798
|
category: "breads",
|
|
5801
|
-
imageUrl: img("
|
|
5802
|
-
images: [img("
|
|
5799
|
+
imageUrl: img("sourdough-loaf"),
|
|
5800
|
+
images: [img("sourdough-loaf"), img("whole-wheat")],
|
|
5803
5801
|
tags: ["bread", "vegan", "signature"],
|
|
5804
5802
|
isSignature: true,
|
|
5805
5803
|
ingredients: ["Wheat flour", "Sourdough starter", "Sea salt", "Filtered water"],
|
|
@@ -5814,7 +5812,7 @@ function seedDefault(registry) {
|
|
|
5814
5812
|
price: "20.00",
|
|
5815
5813
|
description: "Hearty 100% whole wheat with sunflower, sesame, and pumpkin seeds. Slow-fermented for a soft crumb and nutty depth.",
|
|
5816
5814
|
category: "breads",
|
|
5817
|
-
imageUrl: img("
|
|
5815
|
+
imageUrl: img("whole-wheat"),
|
|
5818
5816
|
tags: ["bread", "vegan", "high-fibre"],
|
|
5819
5817
|
ingredients: ["Whole wheat flour", "Sunflower seeds", "Sesame", "Pumpkin seeds"],
|
|
5820
5818
|
allergies: ["wheat", "gluten", "sesame"],
|
|
@@ -5827,7 +5825,7 @@ function seedDefault(registry) {
|
|
|
5827
5825
|
price: "15.00",
|
|
5828
5826
|
description: "Crackling crust, airy crumb. Best eaten warm, within an hour of baking.",
|
|
5829
5827
|
category: "breads",
|
|
5830
|
-
imageUrl: img("
|
|
5828
|
+
imageUrl: img("baguette"),
|
|
5831
5829
|
tags: ["bread", "vegan"],
|
|
5832
5830
|
ingredients: ["Wheat flour", "Yeast", "Sea salt", "Water"],
|
|
5833
5831
|
allergies: ["wheat", "gluten"],
|
|
@@ -5840,7 +5838,7 @@ function seedDefault(registry) {
|
|
|
5840
5838
|
price: "30.00",
|
|
5841
5839
|
description: "High-hydration focaccia drenched in olive oil, scattered with sea salt and fresh rosemary. Sold whole or by the slab.",
|
|
5842
5840
|
category: "breads",
|
|
5843
|
-
imageUrl: img("
|
|
5841
|
+
imageUrl: img("focaccia"),
|
|
5844
5842
|
tags: ["bread", "vegetarian"],
|
|
5845
5843
|
ingredients: ["00 flour", "Olive oil", "Rosemary", "Maldon salt"],
|
|
5846
5844
|
pairings: ["Burrata", "Prosciutto", "Caponata"],
|
|
@@ -5854,7 +5852,7 @@ function seedDefault(registry) {
|
|
|
5854
5852
|
price: "18.00",
|
|
5855
5853
|
description: "Caramelised brown butter, three over-ripe bananas, walnuts, finished with a salted maple glaze.",
|
|
5856
5854
|
category: "breads",
|
|
5857
|
-
imageUrl: img("
|
|
5855
|
+
imageUrl: img("banana-bread"),
|
|
5858
5856
|
tags: ["sweet", "comfort"],
|
|
5859
5857
|
ingredients: ["Bananas", "Brown butter", "Walnuts", "Maple syrup"],
|
|
5860
5858
|
allergies: ["wheat", "gluten", "dairy", "nuts", "eggs"],
|
|
@@ -5869,8 +5867,8 @@ function seedDefault(registry) {
|
|
|
5869
5867
|
price: "12.00",
|
|
5870
5868
|
description: "27 layers of laminated dough wrapped around French butter. Crisp, shattering crust and a tender honeycomb interior.",
|
|
5871
5869
|
category: "pastries",
|
|
5872
|
-
imageUrl: img("
|
|
5873
|
-
images: [img("
|
|
5870
|
+
imageUrl: img("croissant"),
|
|
5871
|
+
images: [img("croissant"), img("pain-au-chocolat")],
|
|
5874
5872
|
tags: ["pastry", "vegetarian", "signature"],
|
|
5875
5873
|
isSignature: true,
|
|
5876
5874
|
ingredients: ["French butter", "Wheat flour", "Milk", "Eggs"],
|
|
@@ -5884,7 +5882,7 @@ function seedDefault(registry) {
|
|
|
5884
5882
|
price: "14.00",
|
|
5885
5883
|
description: "Our croissant dough wrapped around two batons of 70% Valrhona dark chocolate.",
|
|
5886
5884
|
category: "pastries",
|
|
5887
|
-
imageUrl: img("
|
|
5885
|
+
imageUrl: img("pain-au-chocolat"),
|
|
5888
5886
|
tags: ["pastry", "chocolate"],
|
|
5889
5887
|
ingredients: ["Croissant dough", "Valrhona chocolate"],
|
|
5890
5888
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -5897,7 +5895,7 @@ function seedDefault(registry) {
|
|
|
5897
5895
|
price: "16.00",
|
|
5898
5896
|
description: "Flaky pastry filled with almond cream, dusted with toasted slivers and powdered sugar.",
|
|
5899
5897
|
category: "pastries",
|
|
5900
|
-
imageUrl: img("
|
|
5898
|
+
imageUrl: img("almond-danish"),
|
|
5901
5899
|
tags: ["pastry", "nuts"],
|
|
5902
5900
|
ingredients: ["Pastry dough", "Almond cream", "Toasted almonds"],
|
|
5903
5901
|
allergies: ["wheat", "gluten", "dairy", "eggs", "nuts"],
|
|
@@ -5910,7 +5908,7 @@ function seedDefault(registry) {
|
|
|
5910
5908
|
price: "13.00",
|
|
5911
5909
|
description: "Soft enriched dough swirled with butter and Ceylon cinnamon, finished with cream-cheese glaze.",
|
|
5912
5910
|
category: "pastries",
|
|
5913
|
-
imageUrl: img("
|
|
5911
|
+
imageUrl: img("cinnamon-roll"),
|
|
5914
5912
|
tags: ["pastry", "comfort"],
|
|
5915
5913
|
ingredients: ["Enriched dough", "Cinnamon", "Brown sugar", "Cream cheese"],
|
|
5916
5914
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -5923,7 +5921,7 @@ function seedDefault(registry) {
|
|
|
5923
5921
|
price: "12.00",
|
|
5924
5922
|
description: "Dark, dense, fudgy brownie with a glossy shell. Chocolate four ways. Best slightly warm.",
|
|
5925
5923
|
category: "pastries",
|
|
5926
|
-
imageUrl: img("
|
|
5924
|
+
imageUrl: img("brownie"),
|
|
5927
5925
|
tags: ["chocolate", "vegetarian"],
|
|
5928
5926
|
ingredients: ["Dark chocolate", "Cocoa", "Brown butter", "Eggs"],
|
|
5929
5927
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -5936,7 +5934,7 @@ function seedDefault(registry) {
|
|
|
5936
5934
|
price: "60.00",
|
|
5937
5935
|
description: "Six French macarons \u2014 pistachio, raspberry, salted caramel, espresso, vanilla bean, and dark chocolate ganache.",
|
|
5938
5936
|
category: "pastries",
|
|
5939
|
-
imageUrl: img("
|
|
5937
|
+
imageUrl: img("macaron-box"),
|
|
5940
5938
|
tags: ["pastry", "gift", "premium"],
|
|
5941
5939
|
ingredients: ["Almond flour", "Egg whites", "Sugar", "Various fillings"],
|
|
5942
5940
|
allergies: ["nuts", "eggs", "dairy"],
|
|
@@ -5950,7 +5948,7 @@ function seedDefault(registry) {
|
|
|
5950
5948
|
price: "22.00",
|
|
5951
5949
|
description: "Three layers of dark chocolate sponge with chocolate ganache and cr\xE8me p\xE2tissi\xE8re, finished with a mirror glaze. (Slice)",
|
|
5952
5950
|
category: "cakes",
|
|
5953
|
-
imageUrl: img("
|
|
5951
|
+
imageUrl: img("chocolate-cake"),
|
|
5954
5952
|
tags: ["cake", "chocolate", "signature"],
|
|
5955
5953
|
isSignature: true,
|
|
5956
5954
|
ingredients: ["Dark chocolate", "Cr\xE8me p\xE2tissi\xE8re", "Cocoa", "Eggs"],
|
|
@@ -5965,7 +5963,7 @@ function seedDefault(registry) {
|
|
|
5965
5963
|
price: "22.00",
|
|
5966
5964
|
description: "Classic red velvet with cream cheese frosting and white chocolate shavings.",
|
|
5967
5965
|
category: "cakes",
|
|
5968
|
-
imageUrl: img("
|
|
5966
|
+
imageUrl: img("red-velvet"),
|
|
5969
5967
|
tags: ["cake"],
|
|
5970
5968
|
ingredients: ["Buttermilk", "Cocoa", "Cream cheese", "Beetroot"],
|
|
5971
5969
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -5978,7 +5976,7 @@ function seedDefault(registry) {
|
|
|
5978
5976
|
price: "20.00",
|
|
5979
5977
|
description: "Spiced carrot cake with toasted walnuts, golden raisins, and cream-cheese frosting.",
|
|
5980
5978
|
category: "cakes",
|
|
5981
|
-
imageUrl: img("
|
|
5979
|
+
imageUrl: img("carrot-cake"),
|
|
5982
5980
|
tags: ["cake", "spiced"],
|
|
5983
5981
|
ingredients: ["Carrot", "Walnuts", "Cinnamon", "Cream cheese"],
|
|
5984
5982
|
allergies: ["wheat", "gluten", "dairy", "eggs", "nuts"],
|
|
@@ -5991,7 +5989,7 @@ function seedDefault(registry) {
|
|
|
5991
5989
|
price: "24.00",
|
|
5992
5990
|
description: "Dense, creamy New York cheesecake on a butter graham crust. Topped with seasonal berry compote.",
|
|
5993
5991
|
category: "cakes",
|
|
5994
|
-
imageUrl: img("
|
|
5992
|
+
imageUrl: img("cheesecake"),
|
|
5995
5993
|
tags: ["cake", "premium"],
|
|
5996
5994
|
ingredients: ["Cream cheese", "Sour cream", "Graham crust", "Vanilla"],
|
|
5997
5995
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -6004,8 +6002,8 @@ function seedDefault(registry) {
|
|
|
6004
6002
|
price: "250.00",
|
|
6005
6003
|
description: "Made-to-order three-tier cake. Choose size, flavour, and frosting. 48-hour notice required for personalisation.",
|
|
6006
6004
|
category: "cakes",
|
|
6007
|
-
imageUrl: img("
|
|
6008
|
-
images: [img("
|
|
6005
|
+
imageUrl: img("birthday-cake"),
|
|
6006
|
+
images: [img("birthday-cake"), img("chocolate-cake")],
|
|
6009
6007
|
tags: ["cake", "made-to-order", "premium"],
|
|
6010
6008
|
ingredients: ["Sponge cake", "Buttercream", "Custom decoration"],
|
|
6011
6009
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -6019,7 +6017,7 @@ function seedDefault(registry) {
|
|
|
6019
6017
|
price: "10.00",
|
|
6020
6018
|
description: "Locally roasted Arabica from Volta Region. Notes of cocoa, dark fruit, and brown sugar.",
|
|
6021
6019
|
category: "drinks",
|
|
6022
|
-
imageUrl: img("
|
|
6020
|
+
imageUrl: img("coffee"),
|
|
6023
6021
|
tags: ["drink", "coffee", "vegan"],
|
|
6024
6022
|
ingredients: ["Single-origin Arabica beans"],
|
|
6025
6023
|
pairings: ["Croissant", "Brownie"],
|
|
@@ -6032,7 +6030,7 @@ function seedDefault(registry) {
|
|
|
6032
6030
|
price: "8.00",
|
|
6033
6031
|
description: "Choice of English breakfast, Earl Grey, green sencha, or chamomile.",
|
|
6034
6032
|
category: "drinks",
|
|
6035
|
-
imageUrl: img("
|
|
6033
|
+
imageUrl: img("tea"),
|
|
6036
6034
|
tags: ["drink", "tea", "vegan"],
|
|
6037
6035
|
calories: 0
|
|
6038
6036
|
},
|
|
@@ -6043,7 +6041,7 @@ function seedDefault(registry) {
|
|
|
6043
6041
|
price: "12.00",
|
|
6044
6042
|
description: "Iced hibiscus tea with ginger, pineapple peel, and a hint of clove. Tart, refreshing, lightly sweet.",
|
|
6045
6043
|
category: "drinks",
|
|
6046
|
-
imageUrl: img("
|
|
6044
|
+
imageUrl: img("sobolo"),
|
|
6047
6045
|
tags: ["drink", "vegan", "ghana"],
|
|
6048
6046
|
isSignature: true,
|
|
6049
6047
|
ingredients: ["Hibiscus", "Ginger", "Pineapple", "Clove"],
|
|
@@ -6056,7 +6054,7 @@ function seedDefault(registry) {
|
|
|
6056
6054
|
price: "15.00",
|
|
6057
6055
|
description: "Hand-pressed at sunrise from Ghanaian Valencia oranges. No sugar, no concentrate.",
|
|
6058
6056
|
category: "drinks",
|
|
6059
|
-
imageUrl: img("
|
|
6057
|
+
imageUrl: img("orange-juice"),
|
|
6060
6058
|
tags: ["drink", "vegan"],
|
|
6061
6059
|
calories: 110
|
|
6062
6060
|
},
|
|
@@ -6068,8 +6066,8 @@ function seedDefault(registry) {
|
|
|
6068
6066
|
price: "30.00",
|
|
6069
6067
|
description: "A buttery croissant, a single-origin coffee, and a fresh-pressed orange juice. Everything you need to start the day. Save GH\u20B57 vs buying separately.",
|
|
6070
6068
|
category: "boxes",
|
|
6071
|
-
imageUrl: img("
|
|
6072
|
-
images: [img("
|
|
6069
|
+
imageUrl: img("breakfast-box"),
|
|
6070
|
+
images: [img("breakfast-box"), img("coffee")],
|
|
6073
6071
|
tags: ["bundle", "breakfast"],
|
|
6074
6072
|
productType: "bundle"
|
|
6075
6073
|
},
|
|
@@ -6080,7 +6078,7 @@ function seedDefault(registry) {
|
|
|
6080
6078
|
price: "60.00",
|
|
6081
6079
|
description: "Pick 6 to 12 of our pastries \u2014 mix and match. Freshly boxed for sharing.",
|
|
6082
6080
|
category: "boxes",
|
|
6083
|
-
imageUrl: img("
|
|
6081
|
+
imageUrl: img("pastry-box"),
|
|
6084
6082
|
tags: ["composite", "build-your-own", "gift"],
|
|
6085
6083
|
productType: "composite"
|
|
6086
6084
|
},
|
|
@@ -6092,7 +6090,7 @@ function seedDefault(registry) {
|
|
|
6092
6090
|
price: "85.00",
|
|
6093
6091
|
description: "Heavy-weight cotton-canvas apron with leather neck strap, embroidered logo, and two front pockets. Made in Accra.",
|
|
6094
6092
|
category: "merch",
|
|
6095
|
-
imageUrl: img("
|
|
6093
|
+
imageUrl: img("apron"),
|
|
6096
6094
|
tags: ["merch", "physical"],
|
|
6097
6095
|
renderHint: "physical"
|
|
6098
6096
|
},
|
|
@@ -6103,7 +6101,7 @@ function seedDefault(registry) {
|
|
|
6103
6101
|
price: "35.00",
|
|
6104
6102
|
description: "12oz natural canvas tote, screen-printed with our wheat-stalk crest. Roomy enough for two loaves.",
|
|
6105
6103
|
category: "merch",
|
|
6106
|
-
imageUrl: img("
|
|
6104
|
+
imageUrl: img("tote-bag"),
|
|
6107
6105
|
tags: ["merch", "physical", "gift"],
|
|
6108
6106
|
renderHint: "physical",
|
|
6109
6107
|
isNew: true
|
|
@@ -6116,7 +6114,7 @@ function seedDefault(registry) {
|
|
|
6116
6114
|
price: "320.00",
|
|
6117
6115
|
description: "Stone-milled heritage wheat flour, the same we use in our country sourdough. Tiered pricing for caf\xE9s, restaurants, and home-baking co-ops.",
|
|
6118
6116
|
category: "merch",
|
|
6119
|
-
imageUrl: img("
|
|
6117
|
+
imageUrl: img("flour-25kg"),
|
|
6120
6118
|
tags: ["wholesale", "physical", "trade"],
|
|
6121
6119
|
renderHint: "physical",
|
|
6122
6120
|
quantityPricing: [
|
|
@@ -6134,7 +6132,7 @@ function seedDefault(registry) {
|
|
|
6134
6132
|
price: "45.00",
|
|
6135
6133
|
description: "PDF + EPUB walkthrough of our sourdough programme \u2014 starter, levain, autolyse, bulk fermentation, shaping, scoring. Lifetime updates.",
|
|
6136
6134
|
category: "merch",
|
|
6137
|
-
imageUrl: img("
|
|
6135
|
+
imageUrl: img("sourdough-ebook"),
|
|
6138
6136
|
tags: ["digital", "download"],
|
|
6139
6137
|
productType: "digital",
|
|
6140
6138
|
digitalProductType: "download"
|
|
@@ -6146,7 +6144,7 @@ function seedDefault(registry) {
|
|
|
6146
6144
|
price: "100.00",
|
|
6147
6145
|
description: "Send instantly. Redeemable in-store and online toward any product. Choose any amount from GH\u20B550 upward.",
|
|
6148
6146
|
category: "merch",
|
|
6149
|
-
imageUrl: img("
|
|
6147
|
+
imageUrl: img("gift-card"),
|
|
6150
6148
|
tags: ["digital", "gift"],
|
|
6151
6149
|
productType: "digital",
|
|
6152
6150
|
digitalProductType: "gift_code",
|
|
@@ -6160,7 +6158,7 @@ function seedDefault(registry) {
|
|
|
6160
6158
|
price: "320.00",
|
|
6161
6159
|
description: "Two-hour hands-on class: shape your own boule, score it, and take home a baked loaf and a starter jar. Held Saturdays, 10am\u201312pm.",
|
|
6162
6160
|
category: "classes",
|
|
6163
|
-
imageUrl: img("
|
|
6161
|
+
imageUrl: img("baking-class"),
|
|
6164
6162
|
tags: ["class", "service", "hands-on"],
|
|
6165
6163
|
productType: "service",
|
|
6166
6164
|
durationMinutes: 120
|
|
@@ -6172,7 +6170,7 @@ function seedDefault(registry) {
|
|
|
6172
6170
|
price: "480.00",
|
|
6173
6171
|
description: "Three-hour deep-dive on laminated dough. We cover croissants, danishes, kouign-amann. Aprons supplied; pastries to take home.",
|
|
6174
6172
|
category: "classes",
|
|
6175
|
-
imageUrl: img("
|
|
6173
|
+
imageUrl: img("pastry-workshop"),
|
|
6176
6174
|
tags: ["class", "service", "advanced"],
|
|
6177
6175
|
productType: "service",
|
|
6178
6176
|
durationMinutes: 180,
|
|
@@ -6186,7 +6184,7 @@ function seedDefault(registry) {
|
|
|
6186
6184
|
price: "180.00",
|
|
6187
6185
|
description: "Rent our commercial bakery after hours. Deck oven, retarder-proofer, mixers, scales \u2014 bring your team or shoot your content. Hourly.",
|
|
6188
6186
|
category: "classes",
|
|
6189
|
-
imageUrl: img("
|
|
6187
|
+
imageUrl: img("kitchen-rental"),
|
|
6190
6188
|
tags: ["rental", "service", "commercial"],
|
|
6191
6189
|
productType: "service",
|
|
6192
6190
|
durationUnit: "hours"
|
|
@@ -6199,7 +6197,7 @@ function seedDefault(registry) {
|
|
|
6199
6197
|
price: "650.00",
|
|
6200
6198
|
description: "One-bedroom loft above the bakery. Wakes up to fresh croissants, ends with a private dinner. Ghana Tourism-licensed. Per night.",
|
|
6201
6199
|
category: "classes",
|
|
6202
|
-
imageUrl: img("
|
|
6200
|
+
imageUrl: img("loft-stay"),
|
|
6203
6201
|
tags: ["stay", "service", "premium"],
|
|
6204
6202
|
productType: "service",
|
|
6205
6203
|
durationUnit: "nights"
|
|
@@ -6212,7 +6210,7 @@ function seedDefault(registry) {
|
|
|
6212
6210
|
price: "0.00",
|
|
6213
6211
|
description: "A fresh loaf delivered to your door every week. Pause or skip any time. Choose monthly or quarterly billing for a discount.",
|
|
6214
6212
|
category: "classes",
|
|
6215
|
-
imageUrl: img("
|
|
6213
|
+
imageUrl: img("loaf-subscription"),
|
|
6216
6214
|
tags: ["subscription", "service", "delivery"],
|
|
6217
6215
|
productType: "service",
|
|
6218
6216
|
billingPlans: [
|
|
@@ -7040,31 +7038,7 @@ function seedReesa(registry) {
|
|
|
7040
7038
|
|
|
7041
7039
|
// src/mock/seeds/restaurant.ts
|
|
7042
7040
|
var ISO4 = "2026-01-01T00:00:00.000Z";
|
|
7043
|
-
var
|
|
7044
|
-
"business-hero": "1414235077428-338989a2e8c0",
|
|
7045
|
-
kelewele: "1599487488170-d11ec9c172f0",
|
|
7046
|
-
"spring-rolls": "1559339352-11d035aa65de",
|
|
7047
|
-
"soup-of-the-day": "1547592180-85f173990554",
|
|
7048
|
-
"jollof-rice": "1546069901-d5bfd2cbfb1f",
|
|
7049
|
-
"banku-tilapia": "1485921325833-c519f76c4927",
|
|
7050
|
-
"fufu-light-soup": "1602253057119-44d745d9b860",
|
|
7051
|
-
waakye: "1565299624946-b28f40a0ae38",
|
|
7052
|
-
"grilled-chicken": "1598103442097-8b74394b95c6",
|
|
7053
|
-
burger: "1568901346375-23c9450c58cd",
|
|
7054
|
-
"yam-fries": "1576107232684-1279f390859f",
|
|
7055
|
-
"fried-plantain": "1493770348161-369560ae357d",
|
|
7056
|
-
salad: "1512621776951-a57141f2eefd",
|
|
7057
|
-
"ice-cream": "1488900128323-21503983a07e",
|
|
7058
|
-
"cake-slice": "1565958011703-44f9829ba187",
|
|
7059
|
-
"fruit-bowl": "1490474418585-ba9bad8fd0ea",
|
|
7060
|
-
"soft-drink": "1581636625402-29b2a704ef13",
|
|
7061
|
-
sobolo: "1556679343-c7306c1976bc",
|
|
7062
|
-
"fresh-juice": "1610970881699-44a5587cabec",
|
|
7063
|
-
water: "1564325724739-bae0bd08762c",
|
|
7064
|
-
feast: "1559847844-5315695dadae",
|
|
7065
|
-
byo: "1551782450-a2132b4ba21d"
|
|
7066
|
-
};
|
|
7067
|
-
var photoFor = (slug) => seedImage("restaurant", slug, PHOTO[slug] ?? "1414235077428-338989a2e8c0");
|
|
7041
|
+
var photoFor = (slug) => seedImage("restaurant", slug);
|
|
7068
7042
|
function seedRestaurant(registry) {
|
|
7069
7043
|
const businessId = "bus_mamas_kitchen";
|
|
7070
7044
|
const business = {
|
|
@@ -7997,29 +7971,7 @@ function seedRetail(registry) {
|
|
|
7997
7971
|
|
|
7998
7972
|
// src/mock/seeds/services.ts
|
|
7999
7973
|
var ISO6 = "2026-01-01T00:00:00.000Z";
|
|
8000
|
-
var
|
|
8001
|
-
"business-hero": "1540555700478-4be289fbecef",
|
|
8002
|
-
"swedish-massage-60": "1544161515-4ab6ce6db874",
|
|
8003
|
-
"swedish-massage-90": "1519823551278-64ac92734fb1",
|
|
8004
|
-
"deep-tissue-60": "1571019613454-1cb2f99b2d8b",
|
|
8005
|
-
"couples-massage": "1591343395082-e120087004b4",
|
|
8006
|
-
"hot-stone-90": "1620733723572-11c53f73a416",
|
|
8007
|
-
"facial-classic": "1487412947147-5cebf100ffc2",
|
|
8008
|
-
"facial-anti-aging": "1487412947147-5cebf100ffc2",
|
|
8009
|
-
"facial-acne": "1556228720-195a672e8a03",
|
|
8010
|
-
manicure: "1604654894610-df63bc536371",
|
|
8011
|
-
pedicure: "1519415943484-9fa1873496d4",
|
|
8012
|
-
"gel-manicure": "1607779097040-26e80aa78e66",
|
|
8013
|
-
haircut: "1622286342621-4bd786c2447c",
|
|
8014
|
-
"hair-treatment": "1633681926022-84c23e8cb2d6",
|
|
8015
|
-
color: "1560066984-138dadb4c035",
|
|
8016
|
-
"yoga-session": "1545205597-3d9d02c29597",
|
|
8017
|
-
meditation: "1506126613408-eca07ce68773",
|
|
8018
|
-
"spa-day": "1571019613454-1cb2f99b2d8b",
|
|
8019
|
-
couples: "1591343395082-e120087004b4",
|
|
8020
|
-
custom: "1540555700478-4be289fbecef"
|
|
8021
|
-
};
|
|
8022
|
-
var photoFor3 = (slug) => seedImage("services", slug, PHOTO3[slug] ?? "1540555700478-4be289fbecef");
|
|
7974
|
+
var photoFor3 = (slug) => seedImage("services", slug);
|
|
8023
7975
|
function seedServices(registry) {
|
|
8024
7976
|
const businessId = "bus_serene_spa";
|
|
8025
7977
|
const business = {
|
|
@@ -8399,35 +8351,7 @@ function seedServices(registry) {
|
|
|
8399
8351
|
|
|
8400
8352
|
// src/mock/seeds/grocery.ts
|
|
8401
8353
|
var ISO7 = "2026-01-01T00:00:00.000Z";
|
|
8402
|
-
var
|
|
8403
|
-
"business-hero": "1542838132-92c53300491e",
|
|
8404
|
-
"tomatoes-1kg": "1592924357228-91a4daadcfea",
|
|
8405
|
-
"onions-1kg": "1620574387735-3624d75b2dbc",
|
|
8406
|
-
"ginger-200g": "1594631252845-29fc4cc8cde9",
|
|
8407
|
-
"bananas-bunch": "1571771019784-3ff35f4f4277",
|
|
8408
|
-
pineapple: "1550258987-190a2d41a8ba",
|
|
8409
|
-
"spinach-bunch": "1576045057995-568f588f82fb",
|
|
8410
|
-
"milk-1l": "1563636619-e9143da7973b",
|
|
8411
|
-
"yogurt-500g": "1488477181946-6428a0291777",
|
|
8412
|
-
"eggs-12": "1582722872445-44dc5f7e3c8f",
|
|
8413
|
-
"cheese-200g": "1486297678162-eb2a19b0a32d",
|
|
8414
|
-
"chicken-1kg": "1604503468506-a8da13d82791",
|
|
8415
|
-
"beef-mince-500g": "1607623814075-e51df1bdc82f",
|
|
8416
|
-
"tilapia-each": "1535473895227-bdecb20fb157",
|
|
8417
|
-
"rice-5kg": "1586201375761-83865001e31c",
|
|
8418
|
-
"garri-2kg": "1582284540020-8acbe03f4924",
|
|
8419
|
-
"palm-oil-1l": "1611078489935-0cb964de46d6",
|
|
8420
|
-
"vegetable-oil-1l": "1474979266404-7eaacbcd87c5",
|
|
8421
|
-
"salt-1kg": "1607301406259-dfb186e15de8",
|
|
8422
|
-
"sugar-1kg": "1610725664285-7c57e6eeac3f",
|
|
8423
|
-
"tomato-paste": "1561136594-7f68413baa99",
|
|
8424
|
-
"soap-bar": "1600857062241-98e5dba7f214",
|
|
8425
|
-
"detergent-1kg": "1582735689369-4fe89db7114c",
|
|
8426
|
-
"tissue-pack": "1583947215259-38e31be8751f",
|
|
8427
|
-
"trash-bags": "1605600659908-0ef719419d41",
|
|
8428
|
-
essentials: "1542838132-92c53300491e"
|
|
8429
|
-
};
|
|
8430
|
-
var photoFor4 = (slug) => seedImage("grocery", slug, PHOTO4[slug] ?? "1542838132-92c53300491e");
|
|
8354
|
+
var photoFor4 = (slug) => seedImage("grocery", slug);
|
|
8431
8355
|
function seedGrocery(registry) {
|
|
8432
8356
|
const businessId = "bus_freshmart";
|
|
8433
8357
|
const business = {
|
|
@@ -8690,23 +8614,7 @@ function seedGrocery(registry) {
|
|
|
8690
8614
|
|
|
8691
8615
|
// src/mock/seeds/fashion.ts
|
|
8692
8616
|
var ISO8 = "2026-01-01T00:00:00.000Z";
|
|
8693
|
-
var
|
|
8694
|
-
"heavyweight-hoodie-charcoal": "1556905055-8f358a7a47b2",
|
|
8695
|
-
"heavyweight-hoodie-cream": "1576566588028-4147f3842f27",
|
|
8696
|
-
"heavyweight-hoodie-cobalt": "1542838686-37da4a9fd1b3",
|
|
8697
|
-
"studio-tee-black": "1521572163474-6864f9cf17ab",
|
|
8698
|
-
"studio-tee-natural": "1485518882345-15568b007407",
|
|
8699
|
-
"graphic-tee-frx-mark": "1521223890158-f9f7c3d5d504",
|
|
8700
|
-
"carbon-bomber": "1591047139829-d91aecb6caea",
|
|
8701
|
-
"field-jacket-olive": "1564859228273-274232fdb516",
|
|
8702
|
-
"wide-leg-trouser": "1542272604-787c3835535d",
|
|
8703
|
-
"track-pant-charcoal": "1604176354204-9268737828e4",
|
|
8704
|
-
"studio-cap": "1620799140408-edc6dcb6d633",
|
|
8705
|
-
"tote-natural": "1591195853828-11db59a44f6b",
|
|
8706
|
-
"knit-beanie": "1542838132-92c53300491e",
|
|
8707
|
-
"studio-sock-3pack": "1602810318383-e386cc2a3ccf"
|
|
8708
|
-
};
|
|
8709
|
-
var photoFor5 = (slug) => seedImage("fashion", slug, PHOTO5[slug] ?? "1556905055-8f358a7a47b2", 900);
|
|
8617
|
+
var photoFor5 = (slug) => seedImage("fashion", slug);
|
|
8710
8618
|
var SIZES = ["XS", "S", "M", "L", "XL", "2XL"];
|
|
8711
8619
|
function seedFashion(registry) {
|
|
8712
8620
|
const businessId = "bus_studio_frx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkLLZZMHSU_js = require('./chunk-LLZZMHSU.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkB2MJQ7SU_js = require('./chunk-B2MJQ7SU.js');
|
|
5
5
|
var zod = require('zod');
|
|
6
6
|
|
|
7
7
|
var cimplifyRegistry = zod.z.registry();
|
|
@@ -595,7 +595,7 @@ async function toForwardedRequest(input, init) {
|
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
function createTestClient(options = {}) {
|
|
598
|
-
const mock =
|
|
598
|
+
const mock = chunkB2MJQ7SU_js.createMockApp(options);
|
|
599
599
|
let sessionToken;
|
|
600
600
|
const fetchImpl = async (input, init) => {
|
|
601
601
|
const url = typeof input === "string" ? input : input instanceof URL ? input.toString() : input.url;
|