@cimplify/sdk 0.45.2 → 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-F4CGIOIJ.js → chunk-B2MJQ7SU.js} +45 -157
- package/dist/{chunk-YVIIBCJR.mjs → chunk-J7BUGTAG.mjs} +1 -1
- package/dist/{chunk-JNXCY43J.js → chunk-KD2HHETX.js} +2 -2
- package/dist/{chunk-EMEUSFSR.mjs → chunk-ZTPP7PDU.mjs} +45 -157
- package/dist/mock/cli.mjs +45 -157
- package/dist/mock/library.js +45 -157
- package/dist/mock/library.mjs +45 -157
- package/dist/mock/msw.js +45 -157
- package/dist/mock/msw.mjs +45 -157
- 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
|
@@ -5677,8 +5677,8 @@ function createLinkService({ clock, ids }) {
|
|
|
5677
5677
|
|
|
5678
5678
|
// src/mock/seeds/image.ts
|
|
5679
5679
|
var CDN_BASE_URL = "https://static-tmp.cimplify.io";
|
|
5680
|
-
function seedImage(industry,
|
|
5681
|
-
return `${CDN_BASE_URL}/seed/${industry}/${
|
|
5680
|
+
function seedImage(industry, slug) {
|
|
5681
|
+
return `${CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
|
|
5682
5682
|
}
|
|
5683
5683
|
|
|
5684
5684
|
// src/mock/seeds/default.ts
|
|
@@ -5741,7 +5741,7 @@ function seedDefault(registry) {
|
|
|
5741
5741
|
default_address: "12 Independence Ave, Accra",
|
|
5742
5742
|
default_offers_table_service: true,
|
|
5743
5743
|
default_accepts_online_orders: true,
|
|
5744
|
-
image: img("
|
|
5744
|
+
image: img("business-hero"),
|
|
5745
5745
|
status: "active",
|
|
5746
5746
|
created_at: ISO,
|
|
5747
5747
|
updated_at: ISO,
|
|
@@ -5796,8 +5796,8 @@ function seedDefault(registry) {
|
|
|
5796
5796
|
price: "25.00",
|
|
5797
5797
|
description: "24-hour fermented country loaf with our heritage starter \u2014 open crumb, blistered crust, naturally tangy. Baked fresh every morning.",
|
|
5798
5798
|
category: "breads",
|
|
5799
|
-
imageUrl: img("
|
|
5800
|
-
images: [img("
|
|
5799
|
+
imageUrl: img("sourdough-loaf"),
|
|
5800
|
+
images: [img("sourdough-loaf"), img("whole-wheat")],
|
|
5801
5801
|
tags: ["bread", "vegan", "signature"],
|
|
5802
5802
|
isSignature: true,
|
|
5803
5803
|
ingredients: ["Wheat flour", "Sourdough starter", "Sea salt", "Filtered water"],
|
|
@@ -5812,7 +5812,7 @@ function seedDefault(registry) {
|
|
|
5812
5812
|
price: "20.00",
|
|
5813
5813
|
description: "Hearty 100% whole wheat with sunflower, sesame, and pumpkin seeds. Slow-fermented for a soft crumb and nutty depth.",
|
|
5814
5814
|
category: "breads",
|
|
5815
|
-
imageUrl: img("
|
|
5815
|
+
imageUrl: img("whole-wheat"),
|
|
5816
5816
|
tags: ["bread", "vegan", "high-fibre"],
|
|
5817
5817
|
ingredients: ["Whole wheat flour", "Sunflower seeds", "Sesame", "Pumpkin seeds"],
|
|
5818
5818
|
allergies: ["wheat", "gluten", "sesame"],
|
|
@@ -5825,7 +5825,7 @@ function seedDefault(registry) {
|
|
|
5825
5825
|
price: "15.00",
|
|
5826
5826
|
description: "Crackling crust, airy crumb. Best eaten warm, within an hour of baking.",
|
|
5827
5827
|
category: "breads",
|
|
5828
|
-
imageUrl: img("
|
|
5828
|
+
imageUrl: img("baguette"),
|
|
5829
5829
|
tags: ["bread", "vegan"],
|
|
5830
5830
|
ingredients: ["Wheat flour", "Yeast", "Sea salt", "Water"],
|
|
5831
5831
|
allergies: ["wheat", "gluten"],
|
|
@@ -5838,7 +5838,7 @@ function seedDefault(registry) {
|
|
|
5838
5838
|
price: "30.00",
|
|
5839
5839
|
description: "High-hydration focaccia drenched in olive oil, scattered with sea salt and fresh rosemary. Sold whole or by the slab.",
|
|
5840
5840
|
category: "breads",
|
|
5841
|
-
imageUrl: img("
|
|
5841
|
+
imageUrl: img("focaccia"),
|
|
5842
5842
|
tags: ["bread", "vegetarian"],
|
|
5843
5843
|
ingredients: ["00 flour", "Olive oil", "Rosemary", "Maldon salt"],
|
|
5844
5844
|
pairings: ["Burrata", "Prosciutto", "Caponata"],
|
|
@@ -5852,7 +5852,7 @@ function seedDefault(registry) {
|
|
|
5852
5852
|
price: "18.00",
|
|
5853
5853
|
description: "Caramelised brown butter, three over-ripe bananas, walnuts, finished with a salted maple glaze.",
|
|
5854
5854
|
category: "breads",
|
|
5855
|
-
imageUrl: img("
|
|
5855
|
+
imageUrl: img("banana-bread"),
|
|
5856
5856
|
tags: ["sweet", "comfort"],
|
|
5857
5857
|
ingredients: ["Bananas", "Brown butter", "Walnuts", "Maple syrup"],
|
|
5858
5858
|
allergies: ["wheat", "gluten", "dairy", "nuts", "eggs"],
|
|
@@ -5867,8 +5867,8 @@ function seedDefault(registry) {
|
|
|
5867
5867
|
price: "12.00",
|
|
5868
5868
|
description: "27 layers of laminated dough wrapped around French butter. Crisp, shattering crust and a tender honeycomb interior.",
|
|
5869
5869
|
category: "pastries",
|
|
5870
|
-
imageUrl: img("
|
|
5871
|
-
images: [img("
|
|
5870
|
+
imageUrl: img("croissant"),
|
|
5871
|
+
images: [img("croissant"), img("pain-au-chocolat")],
|
|
5872
5872
|
tags: ["pastry", "vegetarian", "signature"],
|
|
5873
5873
|
isSignature: true,
|
|
5874
5874
|
ingredients: ["French butter", "Wheat flour", "Milk", "Eggs"],
|
|
@@ -5882,7 +5882,7 @@ function seedDefault(registry) {
|
|
|
5882
5882
|
price: "14.00",
|
|
5883
5883
|
description: "Our croissant dough wrapped around two batons of 70% Valrhona dark chocolate.",
|
|
5884
5884
|
category: "pastries",
|
|
5885
|
-
imageUrl: img("
|
|
5885
|
+
imageUrl: img("pain-au-chocolat"),
|
|
5886
5886
|
tags: ["pastry", "chocolate"],
|
|
5887
5887
|
ingredients: ["Croissant dough", "Valrhona chocolate"],
|
|
5888
5888
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -5895,7 +5895,7 @@ function seedDefault(registry) {
|
|
|
5895
5895
|
price: "16.00",
|
|
5896
5896
|
description: "Flaky pastry filled with almond cream, dusted with toasted slivers and powdered sugar.",
|
|
5897
5897
|
category: "pastries",
|
|
5898
|
-
imageUrl: img("
|
|
5898
|
+
imageUrl: img("almond-danish"),
|
|
5899
5899
|
tags: ["pastry", "nuts"],
|
|
5900
5900
|
ingredients: ["Pastry dough", "Almond cream", "Toasted almonds"],
|
|
5901
5901
|
allergies: ["wheat", "gluten", "dairy", "eggs", "nuts"],
|
|
@@ -5908,7 +5908,7 @@ function seedDefault(registry) {
|
|
|
5908
5908
|
price: "13.00",
|
|
5909
5909
|
description: "Soft enriched dough swirled with butter and Ceylon cinnamon, finished with cream-cheese glaze.",
|
|
5910
5910
|
category: "pastries",
|
|
5911
|
-
imageUrl: img("
|
|
5911
|
+
imageUrl: img("cinnamon-roll"),
|
|
5912
5912
|
tags: ["pastry", "comfort"],
|
|
5913
5913
|
ingredients: ["Enriched dough", "Cinnamon", "Brown sugar", "Cream cheese"],
|
|
5914
5914
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -5921,7 +5921,7 @@ function seedDefault(registry) {
|
|
|
5921
5921
|
price: "12.00",
|
|
5922
5922
|
description: "Dark, dense, fudgy brownie with a glossy shell. Chocolate four ways. Best slightly warm.",
|
|
5923
5923
|
category: "pastries",
|
|
5924
|
-
imageUrl: img("
|
|
5924
|
+
imageUrl: img("brownie"),
|
|
5925
5925
|
tags: ["chocolate", "vegetarian"],
|
|
5926
5926
|
ingredients: ["Dark chocolate", "Cocoa", "Brown butter", "Eggs"],
|
|
5927
5927
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -5934,7 +5934,7 @@ function seedDefault(registry) {
|
|
|
5934
5934
|
price: "60.00",
|
|
5935
5935
|
description: "Six French macarons \u2014 pistachio, raspberry, salted caramel, espresso, vanilla bean, and dark chocolate ganache.",
|
|
5936
5936
|
category: "pastries",
|
|
5937
|
-
imageUrl: img("
|
|
5937
|
+
imageUrl: img("macaron-box"),
|
|
5938
5938
|
tags: ["pastry", "gift", "premium"],
|
|
5939
5939
|
ingredients: ["Almond flour", "Egg whites", "Sugar", "Various fillings"],
|
|
5940
5940
|
allergies: ["nuts", "eggs", "dairy"],
|
|
@@ -5948,7 +5948,7 @@ function seedDefault(registry) {
|
|
|
5948
5948
|
price: "22.00",
|
|
5949
5949
|
description: "Three layers of dark chocolate sponge with chocolate ganache and cr\xE8me p\xE2tissi\xE8re, finished with a mirror glaze. (Slice)",
|
|
5950
5950
|
category: "cakes",
|
|
5951
|
-
imageUrl: img("
|
|
5951
|
+
imageUrl: img("chocolate-cake"),
|
|
5952
5952
|
tags: ["cake", "chocolate", "signature"],
|
|
5953
5953
|
isSignature: true,
|
|
5954
5954
|
ingredients: ["Dark chocolate", "Cr\xE8me p\xE2tissi\xE8re", "Cocoa", "Eggs"],
|
|
@@ -5963,7 +5963,7 @@ function seedDefault(registry) {
|
|
|
5963
5963
|
price: "22.00",
|
|
5964
5964
|
description: "Classic red velvet with cream cheese frosting and white chocolate shavings.",
|
|
5965
5965
|
category: "cakes",
|
|
5966
|
-
imageUrl: img("
|
|
5966
|
+
imageUrl: img("red-velvet"),
|
|
5967
5967
|
tags: ["cake"],
|
|
5968
5968
|
ingredients: ["Buttermilk", "Cocoa", "Cream cheese", "Beetroot"],
|
|
5969
5969
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -5976,7 +5976,7 @@ function seedDefault(registry) {
|
|
|
5976
5976
|
price: "20.00",
|
|
5977
5977
|
description: "Spiced carrot cake with toasted walnuts, golden raisins, and cream-cheese frosting.",
|
|
5978
5978
|
category: "cakes",
|
|
5979
|
-
imageUrl: img("
|
|
5979
|
+
imageUrl: img("carrot-cake"),
|
|
5980
5980
|
tags: ["cake", "spiced"],
|
|
5981
5981
|
ingredients: ["Carrot", "Walnuts", "Cinnamon", "Cream cheese"],
|
|
5982
5982
|
allergies: ["wheat", "gluten", "dairy", "eggs", "nuts"],
|
|
@@ -5989,7 +5989,7 @@ function seedDefault(registry) {
|
|
|
5989
5989
|
price: "24.00",
|
|
5990
5990
|
description: "Dense, creamy New York cheesecake on a butter graham crust. Topped with seasonal berry compote.",
|
|
5991
5991
|
category: "cakes",
|
|
5992
|
-
imageUrl: img("
|
|
5992
|
+
imageUrl: img("cheesecake"),
|
|
5993
5993
|
tags: ["cake", "premium"],
|
|
5994
5994
|
ingredients: ["Cream cheese", "Sour cream", "Graham crust", "Vanilla"],
|
|
5995
5995
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -6002,8 +6002,8 @@ function seedDefault(registry) {
|
|
|
6002
6002
|
price: "250.00",
|
|
6003
6003
|
description: "Made-to-order three-tier cake. Choose size, flavour, and frosting. 48-hour notice required for personalisation.",
|
|
6004
6004
|
category: "cakes",
|
|
6005
|
-
imageUrl: img("
|
|
6006
|
-
images: [img("
|
|
6005
|
+
imageUrl: img("birthday-cake"),
|
|
6006
|
+
images: [img("birthday-cake"), img("chocolate-cake")],
|
|
6007
6007
|
tags: ["cake", "made-to-order", "premium"],
|
|
6008
6008
|
ingredients: ["Sponge cake", "Buttercream", "Custom decoration"],
|
|
6009
6009
|
allergies: ["wheat", "gluten", "dairy", "eggs"],
|
|
@@ -6017,7 +6017,7 @@ function seedDefault(registry) {
|
|
|
6017
6017
|
price: "10.00",
|
|
6018
6018
|
description: "Locally roasted Arabica from Volta Region. Notes of cocoa, dark fruit, and brown sugar.",
|
|
6019
6019
|
category: "drinks",
|
|
6020
|
-
imageUrl: img("
|
|
6020
|
+
imageUrl: img("coffee"),
|
|
6021
6021
|
tags: ["drink", "coffee", "vegan"],
|
|
6022
6022
|
ingredients: ["Single-origin Arabica beans"],
|
|
6023
6023
|
pairings: ["Croissant", "Brownie"],
|
|
@@ -6030,7 +6030,7 @@ function seedDefault(registry) {
|
|
|
6030
6030
|
price: "8.00",
|
|
6031
6031
|
description: "Choice of English breakfast, Earl Grey, green sencha, or chamomile.",
|
|
6032
6032
|
category: "drinks",
|
|
6033
|
-
imageUrl: img("
|
|
6033
|
+
imageUrl: img("tea"),
|
|
6034
6034
|
tags: ["drink", "tea", "vegan"],
|
|
6035
6035
|
calories: 0
|
|
6036
6036
|
},
|
|
@@ -6041,7 +6041,7 @@ function seedDefault(registry) {
|
|
|
6041
6041
|
price: "12.00",
|
|
6042
6042
|
description: "Iced hibiscus tea with ginger, pineapple peel, and a hint of clove. Tart, refreshing, lightly sweet.",
|
|
6043
6043
|
category: "drinks",
|
|
6044
|
-
imageUrl: img("
|
|
6044
|
+
imageUrl: img("sobolo"),
|
|
6045
6045
|
tags: ["drink", "vegan", "ghana"],
|
|
6046
6046
|
isSignature: true,
|
|
6047
6047
|
ingredients: ["Hibiscus", "Ginger", "Pineapple", "Clove"],
|
|
@@ -6054,7 +6054,7 @@ function seedDefault(registry) {
|
|
|
6054
6054
|
price: "15.00",
|
|
6055
6055
|
description: "Hand-pressed at sunrise from Ghanaian Valencia oranges. No sugar, no concentrate.",
|
|
6056
6056
|
category: "drinks",
|
|
6057
|
-
imageUrl: img("
|
|
6057
|
+
imageUrl: img("orange-juice"),
|
|
6058
6058
|
tags: ["drink", "vegan"],
|
|
6059
6059
|
calories: 110
|
|
6060
6060
|
},
|
|
@@ -6066,8 +6066,8 @@ function seedDefault(registry) {
|
|
|
6066
6066
|
price: "30.00",
|
|
6067
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.",
|
|
6068
6068
|
category: "boxes",
|
|
6069
|
-
imageUrl: img("
|
|
6070
|
-
images: [img("
|
|
6069
|
+
imageUrl: img("breakfast-box"),
|
|
6070
|
+
images: [img("breakfast-box"), img("coffee")],
|
|
6071
6071
|
tags: ["bundle", "breakfast"],
|
|
6072
6072
|
productType: "bundle"
|
|
6073
6073
|
},
|
|
@@ -6078,7 +6078,7 @@ function seedDefault(registry) {
|
|
|
6078
6078
|
price: "60.00",
|
|
6079
6079
|
description: "Pick 6 to 12 of our pastries \u2014 mix and match. Freshly boxed for sharing.",
|
|
6080
6080
|
category: "boxes",
|
|
6081
|
-
imageUrl: img("
|
|
6081
|
+
imageUrl: img("pastry-box"),
|
|
6082
6082
|
tags: ["composite", "build-your-own", "gift"],
|
|
6083
6083
|
productType: "composite"
|
|
6084
6084
|
},
|
|
@@ -6090,7 +6090,7 @@ function seedDefault(registry) {
|
|
|
6090
6090
|
price: "85.00",
|
|
6091
6091
|
description: "Heavy-weight cotton-canvas apron with leather neck strap, embroidered logo, and two front pockets. Made in Accra.",
|
|
6092
6092
|
category: "merch",
|
|
6093
|
-
imageUrl: img("
|
|
6093
|
+
imageUrl: img("apron"),
|
|
6094
6094
|
tags: ["merch", "physical"],
|
|
6095
6095
|
renderHint: "physical"
|
|
6096
6096
|
},
|
|
@@ -6101,7 +6101,7 @@ function seedDefault(registry) {
|
|
|
6101
6101
|
price: "35.00",
|
|
6102
6102
|
description: "12oz natural canvas tote, screen-printed with our wheat-stalk crest. Roomy enough for two loaves.",
|
|
6103
6103
|
category: "merch",
|
|
6104
|
-
imageUrl: img("
|
|
6104
|
+
imageUrl: img("tote-bag"),
|
|
6105
6105
|
tags: ["merch", "physical", "gift"],
|
|
6106
6106
|
renderHint: "physical",
|
|
6107
6107
|
isNew: true
|
|
@@ -6114,7 +6114,7 @@ function seedDefault(registry) {
|
|
|
6114
6114
|
price: "320.00",
|
|
6115
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.",
|
|
6116
6116
|
category: "merch",
|
|
6117
|
-
imageUrl: img("
|
|
6117
|
+
imageUrl: img("flour-25kg"),
|
|
6118
6118
|
tags: ["wholesale", "physical", "trade"],
|
|
6119
6119
|
renderHint: "physical",
|
|
6120
6120
|
quantityPricing: [
|
|
@@ -6132,7 +6132,7 @@ function seedDefault(registry) {
|
|
|
6132
6132
|
price: "45.00",
|
|
6133
6133
|
description: "PDF + EPUB walkthrough of our sourdough programme \u2014 starter, levain, autolyse, bulk fermentation, shaping, scoring. Lifetime updates.",
|
|
6134
6134
|
category: "merch",
|
|
6135
|
-
imageUrl: img("
|
|
6135
|
+
imageUrl: img("sourdough-ebook"),
|
|
6136
6136
|
tags: ["digital", "download"],
|
|
6137
6137
|
productType: "digital",
|
|
6138
6138
|
digitalProductType: "download"
|
|
@@ -6144,7 +6144,7 @@ function seedDefault(registry) {
|
|
|
6144
6144
|
price: "100.00",
|
|
6145
6145
|
description: "Send instantly. Redeemable in-store and online toward any product. Choose any amount from GH\u20B550 upward.",
|
|
6146
6146
|
category: "merch",
|
|
6147
|
-
imageUrl: img("
|
|
6147
|
+
imageUrl: img("gift-card"),
|
|
6148
6148
|
tags: ["digital", "gift"],
|
|
6149
6149
|
productType: "digital",
|
|
6150
6150
|
digitalProductType: "gift_code",
|
|
@@ -6158,7 +6158,7 @@ function seedDefault(registry) {
|
|
|
6158
6158
|
price: "320.00",
|
|
6159
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.",
|
|
6160
6160
|
category: "classes",
|
|
6161
|
-
imageUrl: img("
|
|
6161
|
+
imageUrl: img("baking-class"),
|
|
6162
6162
|
tags: ["class", "service", "hands-on"],
|
|
6163
6163
|
productType: "service",
|
|
6164
6164
|
durationMinutes: 120
|
|
@@ -6170,7 +6170,7 @@ function seedDefault(registry) {
|
|
|
6170
6170
|
price: "480.00",
|
|
6171
6171
|
description: "Three-hour deep-dive on laminated dough. We cover croissants, danishes, kouign-amann. Aprons supplied; pastries to take home.",
|
|
6172
6172
|
category: "classes",
|
|
6173
|
-
imageUrl: img("
|
|
6173
|
+
imageUrl: img("pastry-workshop"),
|
|
6174
6174
|
tags: ["class", "service", "advanced"],
|
|
6175
6175
|
productType: "service",
|
|
6176
6176
|
durationMinutes: 180,
|
|
@@ -6184,7 +6184,7 @@ function seedDefault(registry) {
|
|
|
6184
6184
|
price: "180.00",
|
|
6185
6185
|
description: "Rent our commercial bakery after hours. Deck oven, retarder-proofer, mixers, scales \u2014 bring your team or shoot your content. Hourly.",
|
|
6186
6186
|
category: "classes",
|
|
6187
|
-
imageUrl: img("
|
|
6187
|
+
imageUrl: img("kitchen-rental"),
|
|
6188
6188
|
tags: ["rental", "service", "commercial"],
|
|
6189
6189
|
productType: "service",
|
|
6190
6190
|
durationUnit: "hours"
|
|
@@ -6197,7 +6197,7 @@ function seedDefault(registry) {
|
|
|
6197
6197
|
price: "650.00",
|
|
6198
6198
|
description: "One-bedroom loft above the bakery. Wakes up to fresh croissants, ends with a private dinner. Ghana Tourism-licensed. Per night.",
|
|
6199
6199
|
category: "classes",
|
|
6200
|
-
imageUrl: img("
|
|
6200
|
+
imageUrl: img("loft-stay"),
|
|
6201
6201
|
tags: ["stay", "service", "premium"],
|
|
6202
6202
|
productType: "service",
|
|
6203
6203
|
durationUnit: "nights"
|
|
@@ -6210,7 +6210,7 @@ function seedDefault(registry) {
|
|
|
6210
6210
|
price: "0.00",
|
|
6211
6211
|
description: "A fresh loaf delivered to your door every week. Pause or skip any time. Choose monthly or quarterly billing for a discount.",
|
|
6212
6212
|
category: "classes",
|
|
6213
|
-
imageUrl: img("
|
|
6213
|
+
imageUrl: img("loaf-subscription"),
|
|
6214
6214
|
tags: ["subscription", "service", "delivery"],
|
|
6215
6215
|
productType: "service",
|
|
6216
6216
|
billingPlans: [
|
|
@@ -7038,31 +7038,7 @@ function seedReesa(registry) {
|
|
|
7038
7038
|
|
|
7039
7039
|
// src/mock/seeds/restaurant.ts
|
|
7040
7040
|
var ISO4 = "2026-01-01T00:00:00.000Z";
|
|
7041
|
-
var
|
|
7042
|
-
"business-hero": "1414235077428-338989a2e8c0",
|
|
7043
|
-
kelewele: "1599487488170-d11ec9c172f0",
|
|
7044
|
-
"spring-rolls": "1559339352-11d035aa65de",
|
|
7045
|
-
"soup-of-the-day": "1547592180-85f173990554",
|
|
7046
|
-
"jollof-rice": "1546069901-d5bfd2cbfb1f",
|
|
7047
|
-
"banku-tilapia": "1485921325833-c519f76c4927",
|
|
7048
|
-
"fufu-light-soup": "1602253057119-44d745d9b860",
|
|
7049
|
-
waakye: "1565299624946-b28f40a0ae38",
|
|
7050
|
-
"grilled-chicken": "1598103442097-8b74394b95c6",
|
|
7051
|
-
burger: "1568901346375-23c9450c58cd",
|
|
7052
|
-
"yam-fries": "1576107232684-1279f390859f",
|
|
7053
|
-
"fried-plantain": "1493770348161-369560ae357d",
|
|
7054
|
-
salad: "1512621776951-a57141f2eefd",
|
|
7055
|
-
"ice-cream": "1488900128323-21503983a07e",
|
|
7056
|
-
"cake-slice": "1565958011703-44f9829ba187",
|
|
7057
|
-
"fruit-bowl": "1490474418585-ba9bad8fd0ea",
|
|
7058
|
-
"soft-drink": "1581636625402-29b2a704ef13",
|
|
7059
|
-
sobolo: "1556679343-c7306c1976bc",
|
|
7060
|
-
"fresh-juice": "1610970881699-44a5587cabec",
|
|
7061
|
-
water: "1564325724739-bae0bd08762c",
|
|
7062
|
-
feast: "1559847844-5315695dadae",
|
|
7063
|
-
byo: "1551782450-a2132b4ba21d"
|
|
7064
|
-
};
|
|
7065
|
-
var photoFor = (slug) => seedImage("restaurant", PHOTO[slug] ?? "1414235077428-338989a2e8c0");
|
|
7041
|
+
var photoFor = (slug) => seedImage("restaurant", slug);
|
|
7066
7042
|
function seedRestaurant(registry) {
|
|
7067
7043
|
const businessId = "bus_mamas_kitchen";
|
|
7068
7044
|
const business = {
|
|
@@ -7522,29 +7498,7 @@ function seedRestaurant(registry) {
|
|
|
7522
7498
|
|
|
7523
7499
|
// src/mock/seeds/retail.ts
|
|
7524
7500
|
var ISO5 = "2026-01-01T00:00:00.000Z";
|
|
7525
|
-
var
|
|
7526
|
-
"android-flagship": "1592750475338-74b7b21085ab",
|
|
7527
|
-
"android-mid": "1511707171634-5f897ff02aa9",
|
|
7528
|
-
"phone-budget": "1574944985070-8f3ebc6b79d2",
|
|
7529
|
-
"laptop-pro": "1517336714731-489689fd1ca8",
|
|
7530
|
-
"laptop-air": "1496181133206-80ce9b88a853",
|
|
7531
|
-
"laptop-budget": "1601784551446-20c9e07cdbdb",
|
|
7532
|
-
"headphones-anc": "1505740420928-5e560c06d30e",
|
|
7533
|
-
"earbuds-pro": "1572569511254-d8f925fe2cbb",
|
|
7534
|
-
"speaker-bt": "1612287230202-1ff1d85d1bdf",
|
|
7535
|
-
"phone-case": "1611532736597-de2d4265fba3",
|
|
7536
|
-
"screen-protector": "1568952433726-3896e3881c65",
|
|
7537
|
-
"fast-charger": "1620794108219-aedbaded4eea",
|
|
7538
|
-
"laptop-sleeve": "1604671801908-6f0c6a092c05",
|
|
7539
|
-
"wireless-mouse": "1594732832278-abd644401426",
|
|
7540
|
-
"mech-keyboard": "1583394838336-acd977736f90",
|
|
7541
|
-
"gaming-controller": "1542751371-adc38448a05e",
|
|
7542
|
-
"gaming-headset": "1606220945770-b5b6c2c55bf1",
|
|
7543
|
-
"console-handheld": "1593642634524-b40b5baae6bb",
|
|
7544
|
-
wfh: "1605236453806-6ff36851218e",
|
|
7545
|
-
"game-pack": "1606144042614-b2417e99c4e3"
|
|
7546
|
-
};
|
|
7547
|
-
var photoFor2 = (slug) => seedImage("retail", PHOTO2[slug] ?? "1517336714731-489689fd1ca8");
|
|
7501
|
+
var photoFor2 = (slug) => seedImage("retail", slug);
|
|
7548
7502
|
function seedRetail(registry) {
|
|
7549
7503
|
const businessId = "bus_currents_electronics";
|
|
7550
7504
|
const business = {
|
|
@@ -8017,29 +7971,7 @@ function seedRetail(registry) {
|
|
|
8017
7971
|
|
|
8018
7972
|
// src/mock/seeds/services.ts
|
|
8019
7973
|
var ISO6 = "2026-01-01T00:00:00.000Z";
|
|
8020
|
-
var
|
|
8021
|
-
"business-hero": "1540555700478-4be289fbecef",
|
|
8022
|
-
"swedish-massage-60": "1544161515-4ab6ce6db874",
|
|
8023
|
-
"swedish-massage-90": "1519823551278-64ac92734fb1",
|
|
8024
|
-
"deep-tissue-60": "1571019613454-1cb2f99b2d8b",
|
|
8025
|
-
"couples-massage": "1591343395082-e120087004b4",
|
|
8026
|
-
"hot-stone-90": "1620733723572-11c53f73a416",
|
|
8027
|
-
"facial-classic": "1487412947147-5cebf100ffc2",
|
|
8028
|
-
"facial-anti-aging": "1487412947147-5cebf100ffc2",
|
|
8029
|
-
"facial-acne": "1556228720-195a672e8a03",
|
|
8030
|
-
manicure: "1604654894610-df63bc536371",
|
|
8031
|
-
pedicure: "1519415943484-9fa1873496d4",
|
|
8032
|
-
"gel-manicure": "1607779097040-26e80aa78e66",
|
|
8033
|
-
haircut: "1622286342621-4bd786c2447c",
|
|
8034
|
-
"hair-treatment": "1633681926022-84c23e8cb2d6",
|
|
8035
|
-
color: "1560066984-138dadb4c035",
|
|
8036
|
-
"yoga-session": "1545205597-3d9d02c29597",
|
|
8037
|
-
meditation: "1506126613408-eca07ce68773",
|
|
8038
|
-
"spa-day": "1571019613454-1cb2f99b2d8b",
|
|
8039
|
-
couples: "1591343395082-e120087004b4",
|
|
8040
|
-
custom: "1540555700478-4be289fbecef"
|
|
8041
|
-
};
|
|
8042
|
-
var photoFor3 = (slug) => seedImage("services", PHOTO3[slug] ?? "1540555700478-4be289fbecef");
|
|
7974
|
+
var photoFor3 = (slug) => seedImage("services", slug);
|
|
8043
7975
|
function seedServices(registry) {
|
|
8044
7976
|
const businessId = "bus_serene_spa";
|
|
8045
7977
|
const business = {
|
|
@@ -8419,35 +8351,7 @@ function seedServices(registry) {
|
|
|
8419
8351
|
|
|
8420
8352
|
// src/mock/seeds/grocery.ts
|
|
8421
8353
|
var ISO7 = "2026-01-01T00:00:00.000Z";
|
|
8422
|
-
var
|
|
8423
|
-
"business-hero": "1542838132-92c53300491e",
|
|
8424
|
-
"tomatoes-1kg": "1592924357228-91a4daadcfea",
|
|
8425
|
-
"onions-1kg": "1620574387735-3624d75b2dbc",
|
|
8426
|
-
"ginger-200g": "1594631252845-29fc4cc8cde9",
|
|
8427
|
-
"bananas-bunch": "1571771019784-3ff35f4f4277",
|
|
8428
|
-
pineapple: "1550258987-190a2d41a8ba",
|
|
8429
|
-
"spinach-bunch": "1576045057995-568f588f82fb",
|
|
8430
|
-
"milk-1l": "1563636619-e9143da7973b",
|
|
8431
|
-
"yogurt-500g": "1488477181946-6428a0291777",
|
|
8432
|
-
"eggs-12": "1582722872445-44dc5f7e3c8f",
|
|
8433
|
-
"cheese-200g": "1486297678162-eb2a19b0a32d",
|
|
8434
|
-
"chicken-1kg": "1604503468506-a8da13d82791",
|
|
8435
|
-
"beef-mince-500g": "1607623814075-e51df1bdc82f",
|
|
8436
|
-
"tilapia-each": "1535473895227-bdecb20fb157",
|
|
8437
|
-
"rice-5kg": "1586201375761-83865001e31c",
|
|
8438
|
-
"garri-2kg": "1582284540020-8acbe03f4924",
|
|
8439
|
-
"palm-oil-1l": "1611078489935-0cb964de46d6",
|
|
8440
|
-
"vegetable-oil-1l": "1474979266404-7eaacbcd87c5",
|
|
8441
|
-
"salt-1kg": "1607301406259-dfb186e15de8",
|
|
8442
|
-
"sugar-1kg": "1610725664285-7c57e6eeac3f",
|
|
8443
|
-
"tomato-paste": "1561136594-7f68413baa99",
|
|
8444
|
-
"soap-bar": "1600857062241-98e5dba7f214",
|
|
8445
|
-
"detergent-1kg": "1582735689369-4fe89db7114c",
|
|
8446
|
-
"tissue-pack": "1583947215259-38e31be8751f",
|
|
8447
|
-
"trash-bags": "1605600659908-0ef719419d41",
|
|
8448
|
-
essentials: "1542838132-92c53300491e"
|
|
8449
|
-
};
|
|
8450
|
-
var photoFor4 = (slug) => seedImage("grocery", PHOTO4[slug] ?? "1542838132-92c53300491e");
|
|
8354
|
+
var photoFor4 = (slug) => seedImage("grocery", slug);
|
|
8451
8355
|
function seedGrocery(registry) {
|
|
8452
8356
|
const businessId = "bus_freshmart";
|
|
8453
8357
|
const business = {
|
|
@@ -8710,23 +8614,7 @@ function seedGrocery(registry) {
|
|
|
8710
8614
|
|
|
8711
8615
|
// src/mock/seeds/fashion.ts
|
|
8712
8616
|
var ISO8 = "2026-01-01T00:00:00.000Z";
|
|
8713
|
-
var
|
|
8714
|
-
"heavyweight-hoodie-charcoal": "1556905055-8f358a7a47b2",
|
|
8715
|
-
"heavyweight-hoodie-cream": "1576566588028-4147f3842f27",
|
|
8716
|
-
"heavyweight-hoodie-cobalt": "1542838686-37da4a9fd1b3",
|
|
8717
|
-
"studio-tee-black": "1521572163474-6864f9cf17ab",
|
|
8718
|
-
"studio-tee-natural": "1485518882345-15568b007407",
|
|
8719
|
-
"graphic-tee-frx-mark": "1521223890158-f9f7c3d5d504",
|
|
8720
|
-
"carbon-bomber": "1591047139829-d91aecb6caea",
|
|
8721
|
-
"field-jacket-olive": "1564859228273-274232fdb516",
|
|
8722
|
-
"wide-leg-trouser": "1542272604-787c3835535d",
|
|
8723
|
-
"track-pant-charcoal": "1604176354204-9268737828e4",
|
|
8724
|
-
"studio-cap": "1620799140408-edc6dcb6d633",
|
|
8725
|
-
"tote-natural": "1591195853828-11db59a44f6b",
|
|
8726
|
-
"knit-beanie": "1542838132-92c53300491e",
|
|
8727
|
-
"studio-sock-3pack": "1602810318383-e386cc2a3ccf"
|
|
8728
|
-
};
|
|
8729
|
-
var photoFor5 = (slug) => seedImage("fashion", PHOTO5[slug] ?? "1556905055-8f358a7a47b2");
|
|
8617
|
+
var photoFor5 = (slug) => seedImage("fashion", slug);
|
|
8730
8618
|
var SIZES = ["XS", "S", "M", "L", "XL", "2XL"];
|
|
8731
8619
|
function seedFashion(registry) {
|
|
8732
8620
|
const businessId = "bus_studio_frx";
|
|
@@ -8741,7 +8629,7 @@ function seedFashion(registry) {
|
|
|
8741
8629
|
default_address: "Osu Oxford Street, Accra",
|
|
8742
8630
|
default_offers_table_service: false,
|
|
8743
8631
|
default_accepts_online_orders: true,
|
|
8744
|
-
image: seedImage("fashion", "
|
|
8632
|
+
image: seedImage("fashion", "business-hero"),
|
|
8745
8633
|
status: "active",
|
|
8746
8634
|
created_at: ISO8,
|
|
8747
8635
|
updated_at: ISO8,
|
|
@@ -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;
|