@wix/himalaya-cli 0.1852.0 → 0.1854.0
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/cli.mjs +1104 -711
- package/guides/himi-json-output.md +8 -2
- package/guides/iap-products.md +4 -0
- package/guides/one-app-section-mappings.md +2 -2
- package/guides/one-app-to-himi-app.md +28 -12
- package/guides/push-cli-onboarding.md +20 -0
- package/package.json +2 -2
- package/template-icons/bare-fashion.png +0 -0
- package/templates/bare-fashion/README.md +52 -0
- package/templates/bare-fashion/config.ts +474 -0
- package/templates/bare-fashion/dev/index.ts +16526 -0
- package/templates/bare-fashion/himalaya.content.json +70 -0
- package/templates/bare-fashion/himalaya.template.json +18 -0
- package/templates/bare-fashion/icon.png +0 -0
- package/templates/bare-fashion/platforms.json +3 -0
- package/templates/bare-fashion/tier5-src/_shared/app-locale.ts +70 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-address-book.ts +116 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-address-countries.ts +261 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-bag-count.ts +24 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-categories.ts +48 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-facets.ts +265 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-load-error.ts +38 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-product-card.ts +136 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-store-options.ts +129 -0
- package/templates/bare-fashion/tier5-src/_shared/branded-lite-hosted.ts +282 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-query.ts +201 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-service.ts +429 -0
- package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +529 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-copy.ts +123 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-layouts.ts +142 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store-categories.ts +108 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store-saved.ts +57 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/bare-fashion/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/bare-fashion/tier5-src/_shared/live-session.ts +172 -0
- package/templates/bare-fashion/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/bare-fashion/tier5-src/_shared/member-access.ts +63 -0
- package/templates/bare-fashion/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/bare-fashion/tier5-src/_shared/member-orders.ts +8 -0
- package/templates/bare-fashion/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/bare-fashion/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-account/index.ts +127 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-address-form/index.ts +367 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-addresses/index.ts +202 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-appearance/index.ts +73 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-cart/index.ts +540 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-collection/index.ts +111 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-home/index.ts +241 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-nav/index.ts +56 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-order/index.ts +437 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-product/index.ts +650 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-products/index.ts +142 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-saved/index.ts +45 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-search/index.ts +199 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-shop/index.ts +79 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-sign-in/index.ts +269 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-wallet/index.ts +224 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-info/index.ts +209 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-orders/index.ts +327 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-collections/index.ts +48 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-view-profile/index.ts +119 -0
- package/templates/bare-fashion/tokens.json +348 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/branded-lite/recipes/upcoming-bookings.json +118 -6
- package/templates/branded-lite/tier5-src/_shared/announcement-section.ts +6 -14
- package/templates/branded-lite/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/branded-lite/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/branded-lite/tier5-src/_shared/draft-content.ts +66 -0
- package/templates/branded-lite/tier5-src/_shared/events-inline-options.ts +55 -3
- package/templates/branded-lite/tier5-src/_shared/events-inline.ts +5 -3
- package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +15 -4
- package/templates/branded-lite/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/brandy/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/brandy/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/brandy/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/community-club/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/community-club/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/community-club/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/conference/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/conference/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/conference/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/conference/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/events-meetups/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/events-meetups/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/fitness-gym/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/gym-fitness/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/medical-services/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/medical-services/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/nonprofit-cause/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/owner-lite/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/podcast-creator/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/portfolio-creative/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/restaurant/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/restaurant/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/retail-store/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/retail-store/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/retail-store-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/salon-spa/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/salon-spa/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/wholesale-store/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/yoga-studio/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +7 -1
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
// Your app's configuration — identity, auth, navigation, capabilities and tokens.
|
|
2
|
+
// Inspect the live values any time with `himi context`; see `himi docs app-config`.
|
|
3
|
+
import { defineApp } from "@himalaya/core";
|
|
4
|
+
import { WixConsumerAuthProvider } from "@himalaya/wix-auth";
|
|
5
|
+
import { ConsoleTelemetrySink } from "@himalaya/telemetry-console";
|
|
6
|
+
|
|
7
|
+
export default defineApp({
|
|
8
|
+
id: "__HIMI_APP_DOTID__",
|
|
9
|
+
name: "__HIMI_APP_NAME__",
|
|
10
|
+
bundleId: "__HIMI_APP_DOTID__",
|
|
11
|
+
applicationId: "__HIMI_APP_DOTID__",
|
|
12
|
+
// Placeholders — an over-the-air app never consumes these. Leave as-is.
|
|
13
|
+
schemaPackage: "@example/__HIMI_APP_SLUG__-schema",
|
|
14
|
+
schemaPackageRange: { min: 9900, max: 9909 },
|
|
15
|
+
// Placeholders — only a local server would read these. Leave as-is.
|
|
16
|
+
ports: { devServer: 8190, web: 5390 },
|
|
17
|
+
auth: WixConsumerAuthProvider({
|
|
18
|
+
// POINT THESE AT YOUR SITE — set WIX_CLIENT_ID (a public headless OAuth client id)
|
|
19
|
+
// and WIX_SITE_URL (your live site URL). The placeholders below are NOT a real
|
|
20
|
+
// backend; the app boots but reads nothing until you set them. The site needs Wix Stores.
|
|
21
|
+
clientId: process.env.WIX_CLIENT_ID ?? "YOUR_WIX_CLIENT_ID",
|
|
22
|
+
siteUrl: process.env.WIX_SITE_URL ?? "https://your-site.example.com",
|
|
23
|
+
// The OAuth redirect must be ALLOWLISTED on the headless client in `clientId`.
|
|
24
|
+
redirectUri: process.env.WIX_REDIRECT_URI ?? "himalaya-__HIMI_APP_SLUG__://oauth/callback",
|
|
25
|
+
bootAsVisitor: true,
|
|
26
|
+
preserveVisitorOnSignOut: true,
|
|
27
|
+
}),
|
|
28
|
+
telemetry: ConsoleTelemetrySink(),
|
|
29
|
+
serverUrls: {
|
|
30
|
+
screen: "http://localhost:8190/v1",
|
|
31
|
+
actions: "http://localhost:8190/v1/actions",
|
|
32
|
+
sync: "http://localhost:8190/v1/sync",
|
|
33
|
+
},
|
|
34
|
+
capabilities: ["live_activity","push","share","secure_storage","open_url","local_database","wix_api","wix_platform","app_info","release_control","keyboard","wix_cashier"],
|
|
35
|
+
designTokensPath: "./tokens.json",
|
|
36
|
+
navigation: {
|
|
37
|
+
"navLogicBundle": {
|
|
38
|
+
"url": "/v1/bundles/himi-bare-fashion-nav",
|
|
39
|
+
"integrity": "",
|
|
40
|
+
"contentType": "application/javascript+ts-bundle",
|
|
41
|
+
"declaredCapabilities": [
|
|
42
|
+
"wix_api",
|
|
43
|
+
"local_database"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"navKind": "responsive",
|
|
47
|
+
"scheme": "himalaya-__HIMI_APP_SLUG__",
|
|
48
|
+
"deepLinkPatterns": [],
|
|
49
|
+
"linkableScreens": [
|
|
50
|
+
{
|
|
51
|
+
"screenId": "himi_branded_home",
|
|
52
|
+
"isPublic": true,
|
|
53
|
+
"paramKeys": [],
|
|
54
|
+
"parentScreenId": "",
|
|
55
|
+
"tabId": "home"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"screenId": "himi_app_info",
|
|
59
|
+
"isPublic": true,
|
|
60
|
+
"paramKeys": [],
|
|
61
|
+
"parentScreenId": "himi_account",
|
|
62
|
+
"tabId": "profile"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"screenId": "himi_appearance",
|
|
66
|
+
"isPublic": true,
|
|
67
|
+
"paramKeys": [],
|
|
68
|
+
"parentScreenId": "himi_account",
|
|
69
|
+
"tabId": "profile"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"screenId": "himi_view_profile",
|
|
73
|
+
"isPublic": false,
|
|
74
|
+
"paramKeys": [],
|
|
75
|
+
"parentScreenId": "himi_account",
|
|
76
|
+
"tabId": "profile"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"screenId": "himi_delete_account",
|
|
80
|
+
"isPublic": false,
|
|
81
|
+
"paramKeys": [],
|
|
82
|
+
"parentScreenId": "himi_account",
|
|
83
|
+
"tabId": "profile"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"screenId": "himi_shop",
|
|
87
|
+
"isPublic": true,
|
|
88
|
+
"paramKeys": [],
|
|
89
|
+
"parentScreenId": "",
|
|
90
|
+
"tabId": "shop"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"screenId": "himi_search",
|
|
94
|
+
"isPublic": true,
|
|
95
|
+
"paramKeys": [],
|
|
96
|
+
"parentScreenId": "himi_shop",
|
|
97
|
+
"tabId": "shop"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"screenId": "himi_saved_products",
|
|
101
|
+
"isPublic": true,
|
|
102
|
+
"paramKeys": [],
|
|
103
|
+
"parentScreenId": "",
|
|
104
|
+
"tabId": "favorites"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"screenId": "himi_collections",
|
|
108
|
+
"isPublic": true,
|
|
109
|
+
"paramKeys": [],
|
|
110
|
+
"parentScreenId": "himi_shop",
|
|
111
|
+
"tabId": "shop"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"screenId": "himi_collection",
|
|
115
|
+
"isPublic": true,
|
|
116
|
+
"paramKeys": [
|
|
117
|
+
"id"
|
|
118
|
+
],
|
|
119
|
+
"parentScreenId": "himi_collections",
|
|
120
|
+
"tabId": "shop"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"screenId": "himi_products",
|
|
124
|
+
"isPublic": true,
|
|
125
|
+
"paramKeys": [
|
|
126
|
+
"category"
|
|
127
|
+
],
|
|
128
|
+
"parentScreenId": "himi_shop",
|
|
129
|
+
"tabId": "shop"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"screenId": "himi_product",
|
|
133
|
+
"isPublic": true,
|
|
134
|
+
"paramKeys": [
|
|
135
|
+
"id"
|
|
136
|
+
],
|
|
137
|
+
"parentScreenId": "himi_shop",
|
|
138
|
+
"tabId": "shop"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"screenId": "himi_cart",
|
|
142
|
+
"isPublic": true,
|
|
143
|
+
"paramKeys": [],
|
|
144
|
+
"parentScreenId": "",
|
|
145
|
+
"tabId": "cart"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"screenId": "himi_orders",
|
|
149
|
+
"isPublic": false,
|
|
150
|
+
"paramKeys": [],
|
|
151
|
+
"parentScreenId": "himi_account",
|
|
152
|
+
"tabId": "profile"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"screenId": "himi_order",
|
|
156
|
+
"isPublic": false,
|
|
157
|
+
"paramKeys": [
|
|
158
|
+
"id"
|
|
159
|
+
],
|
|
160
|
+
"parentScreenId": "himi_orders",
|
|
161
|
+
"tabId": "profile"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"screenId": "himi_account",
|
|
165
|
+
"isPublic": true,
|
|
166
|
+
"paramKeys": [],
|
|
167
|
+
"parentScreenId": "",
|
|
168
|
+
"tabId": "profile"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"screenId": "himi_sign_in",
|
|
172
|
+
"isPublic": true,
|
|
173
|
+
"paramKeys": [
|
|
174
|
+
"mode",
|
|
175
|
+
"intent",
|
|
176
|
+
"contextName",
|
|
177
|
+
"returnScreenId",
|
|
178
|
+
"returnId"
|
|
179
|
+
],
|
|
180
|
+
"parentScreenId": "himi_account",
|
|
181
|
+
"tabId": "profile"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"screenId": "himi_help",
|
|
185
|
+
"isPublic": true,
|
|
186
|
+
"paramKeys": [],
|
|
187
|
+
"parentScreenId": "himi_account",
|
|
188
|
+
"tabId": "profile"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"screenId": "himi_addresses",
|
|
192
|
+
"isPublic": false,
|
|
193
|
+
"paramKeys": [],
|
|
194
|
+
"parentScreenId": "himi_account",
|
|
195
|
+
"tabId": "profile"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"screenId": "himi_address_form",
|
|
199
|
+
"isPublic": false,
|
|
200
|
+
"paramKeys": [
|
|
201
|
+
"id"
|
|
202
|
+
],
|
|
203
|
+
"parentScreenId": "himi_addresses",
|
|
204
|
+
"tabId": "profile"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"screenId": "himi_wallet",
|
|
208
|
+
"isPublic": false,
|
|
209
|
+
"paramKeys": [],
|
|
210
|
+
"parentScreenId": "himi_account",
|
|
211
|
+
"tabId": "profile"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"tabBar": {
|
|
215
|
+
"presentation": "native",
|
|
216
|
+
"items": [
|
|
217
|
+
{
|
|
218
|
+
"id": "home",
|
|
219
|
+
"screenId": "himi_branded_home",
|
|
220
|
+
"label": "Home",
|
|
221
|
+
"icon": "home",
|
|
222
|
+
"selectedIcon": "home_fill"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "shop",
|
|
226
|
+
"screenId": "himi_shop",
|
|
227
|
+
"label": "Shop",
|
|
228
|
+
"icon": "search",
|
|
229
|
+
"selectedIcon": "search"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "favorites",
|
|
233
|
+
"screenId": "himi_saved_products",
|
|
234
|
+
"label": "Favorites",
|
|
235
|
+
"icon": "heart",
|
|
236
|
+
"selectedIcon": "heart_fill"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"id": "cart",
|
|
240
|
+
"screenId": "himi_cart",
|
|
241
|
+
"label": "Cart",
|
|
242
|
+
"icon": "bag",
|
|
243
|
+
"selectedIcon": "bag_fill",
|
|
244
|
+
"badge": {
|
|
245
|
+
"kind": "count",
|
|
246
|
+
"valuePath": "$service:bareFashionNav.bagCount"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "profile",
|
|
251
|
+
"screenId": "himi_account",
|
|
252
|
+
"label": "Account",
|
|
253
|
+
"icon": "person",
|
|
254
|
+
"selectedIcon": "person_fill"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
"drawer": {
|
|
259
|
+
"items": [
|
|
260
|
+
{
|
|
261
|
+
"id": "drawer_home",
|
|
262
|
+
"screenId": "himi_branded_home",
|
|
263
|
+
"label": "Home",
|
|
264
|
+
"icon": "home"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "drawer_shop",
|
|
268
|
+
"screenId": "himi_shop",
|
|
269
|
+
"label": "Shop",
|
|
270
|
+
"icon": "grid"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"id": "drawer_profile",
|
|
274
|
+
"screenId": "himi_account",
|
|
275
|
+
"label": "Profile",
|
|
276
|
+
"icon": "person"
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
entities: {},
|
|
282
|
+
// Your on-device database. It must declare every entity a worker reads or writes,
|
|
283
|
+
// or those calls fail closed — keep it in step with `local_database` above.
|
|
284
|
+
dataSchema: {
|
|
285
|
+
"version": 1,
|
|
286
|
+
"entities": [
|
|
287
|
+
{
|
|
288
|
+
"name": "products",
|
|
289
|
+
"encrypted": false,
|
|
290
|
+
"fields": [
|
|
291
|
+
{
|
|
292
|
+
"name": "id",
|
|
293
|
+
"type": "string",
|
|
294
|
+
"required": true
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "name",
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "subtitle",
|
|
302
|
+
"type": "string"
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "services",
|
|
308
|
+
"encrypted": false,
|
|
309
|
+
"fields": [
|
|
310
|
+
{
|
|
311
|
+
"name": "id",
|
|
312
|
+
"type": "string",
|
|
313
|
+
"required": true
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "name",
|
|
317
|
+
"type": "string"
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "events",
|
|
323
|
+
"encrypted": false,
|
|
324
|
+
"fields": [
|
|
325
|
+
{
|
|
326
|
+
"name": "id",
|
|
327
|
+
"type": "string",
|
|
328
|
+
"required": true
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "title",
|
|
332
|
+
"type": "string"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "blog_posts",
|
|
338
|
+
"encrypted": false,
|
|
339
|
+
"fields": [
|
|
340
|
+
{
|
|
341
|
+
"name": "id",
|
|
342
|
+
"type": "string",
|
|
343
|
+
"required": true
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "title",
|
|
347
|
+
"type": "string"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "groups",
|
|
353
|
+
"encrypted": false,
|
|
354
|
+
"fields": [
|
|
355
|
+
{
|
|
356
|
+
"name": "id",
|
|
357
|
+
"type": "string",
|
|
358
|
+
"required": true
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"name": "name",
|
|
362
|
+
"type": "string"
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "cms_collections",
|
|
368
|
+
"encrypted": false,
|
|
369
|
+
"fields": [
|
|
370
|
+
{
|
|
371
|
+
"name": "id",
|
|
372
|
+
"type": "string",
|
|
373
|
+
"required": true
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "cms_items",
|
|
379
|
+
"encrypted": false,
|
|
380
|
+
"fields": [
|
|
381
|
+
{
|
|
382
|
+
"name": "id",
|
|
383
|
+
"type": "string",
|
|
384
|
+
"required": true
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "bag_count",
|
|
390
|
+
"encrypted": false,
|
|
391
|
+
"fields": [
|
|
392
|
+
{
|
|
393
|
+
"name": "id",
|
|
394
|
+
"type": "string",
|
|
395
|
+
"required": true
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "count",
|
|
399
|
+
"type": "string",
|
|
400
|
+
"required": false
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "address_book",
|
|
406
|
+
"encrypted": false,
|
|
407
|
+
"fields": [
|
|
408
|
+
{
|
|
409
|
+
"name": "id",
|
|
410
|
+
"type": "string",
|
|
411
|
+
"required": true
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "rev",
|
|
415
|
+
"type": "string",
|
|
416
|
+
"required": false
|
|
417
|
+
}
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "cart",
|
|
422
|
+
"encrypted": true,
|
|
423
|
+
"fields": [
|
|
424
|
+
{
|
|
425
|
+
"name": "id",
|
|
426
|
+
"type": "string",
|
|
427
|
+
"required": true
|
|
428
|
+
}
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "orders",
|
|
433
|
+
"encrypted": true,
|
|
434
|
+
"fields": [
|
|
435
|
+
{
|
|
436
|
+
"name": "id",
|
|
437
|
+
"type": "string",
|
|
438
|
+
"required": true
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "member_bookings",
|
|
444
|
+
"encrypted": true,
|
|
445
|
+
"fields": [
|
|
446
|
+
{
|
|
447
|
+
"name": "id",
|
|
448
|
+
"type": "string",
|
|
449
|
+
"required": true
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "serviceId",
|
|
453
|
+
"type": "string"
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "rsvps",
|
|
459
|
+
"encrypted": true,
|
|
460
|
+
"fields": [
|
|
461
|
+
{
|
|
462
|
+
"name": "id",
|
|
463
|
+
"type": "string",
|
|
464
|
+
"required": true
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "eventId",
|
|
468
|
+
"type": "string"
|
|
469
|
+
}
|
|
470
|
+
]
|
|
471
|
+
}
|
|
472
|
+
]
|
|
473
|
+
},
|
|
474
|
+
});
|