@wix/himalaya-cli 0.1671.0 → 0.1673.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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/legacy-import/src/index.d.ts +16 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/legacy-import.d.ts +21 -3
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +14 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/legacy-import.mjs +32 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{6eef5856f65113cbc7504d7f926fe7039c48f614b3b0daf20c0e6eea0315c923.bin → 0f5533bf4197dc43489701db18378cecdb02db230a0fc2603e764999544513da.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +240 -55
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/android-ux.md +3 -1
- package/guides/component-reference.json +2 -2
- package/guides/component-reference.md +2 -2
- package/guides/designing-himi-screens.md +3 -1
- package/guides/ios-ux.md +6 -4
- package/guides/sdk-reference.json +15 -1
- package/guides/web-page-sdk-reference.md +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/en.json +1 -1
- package/templates/branded-lite/dev/index.ts +6607 -2231
- package/templates/branded-lite/l10n/en.json +25 -15
- package/templates/branded-lite/l10n/he.json +34 -34
- package/templates/branded-lite/tier5-src/_shared/himi-cms.ts +10 -3
- package/templates/branded-lite/tier5-src/himi-branded-lite-cms/index.ts +7 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-cms-collection/index.ts +527 -138
- package/templates/community-club/dev/index.ts +2459 -271
- package/templates/community-club/l10n/en.json +16 -11
- package/templates/community-club/l10n/he.json +38 -34
- package/templates/community-club/tier5-src/_shared/himi-cms.ts +10 -3
- package/templates/community-club/tier5-src/himi-branded-lite-cms/index.ts +7 -0
- package/templates/community-club/tier5-src/himi-branded-lite-cms-collection/index.ts +527 -138
- package/templates/events-meetups/l10n/en.json +1 -1
- package/templates/gym-fitness/l10n/en.json +1 -1
- package/templates/nonprofit-cause/l10n/en.json +1 -1
- package/templates/podcast-creator/l10n/en.json +1 -1
- package/templates/portfolio-creative/l10n/en.json +1 -1
- package/templates/restaurant/l10n/en.json +1 -1
- package/templates/retail-store/l10n/en.json +1 -1
- package/templates/yoga-studio/l10n/en.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$source": "en",
|
|
3
|
-
"$generated": "2026-11-
|
|
3
|
+
"$generated": "2026-11-11T23:43:24.040Z",
|
|
4
4
|
"messages": {
|
|
5
5
|
"h_00234c88e324": {
|
|
6
6
|
"source": "This site's galleries couldn't be loaded.",
|
|
@@ -2137,13 +2137,6 @@
|
|
|
2137
2137
|
"key": "invoiceDetail.backCta",
|
|
2138
2138
|
"keyOrigin": "string-table"
|
|
2139
2139
|
},
|
|
2140
|
-
"h_83bc238044da": {
|
|
2141
|
-
"source": "Search content",
|
|
2142
|
-
"kind": "TextField.placeholder",
|
|
2143
|
-
"translation": "",
|
|
2144
|
-
"key": "cmsCollection.searchPlaceholder",
|
|
2145
|
-
"keyOrigin": "string-table"
|
|
2146
|
-
},
|
|
2147
2140
|
"h_83d6f7788309": {
|
|
2148
2141
|
"source": "Hide post",
|
|
2149
2142
|
"kind": "Text.text",
|
|
@@ -3123,6 +3116,13 @@
|
|
|
3123
3116
|
"key": "loyalty.waysToEarn",
|
|
3124
3117
|
"keyOrigin": "string-table"
|
|
3125
3118
|
},
|
|
3119
|
+
"h_b7dff194ca4f": {
|
|
3120
|
+
"source": "Couldn't refresh. Showing saved content.",
|
|
3121
|
+
"kind": "Banner.title",
|
|
3122
|
+
"translation": "",
|
|
3123
|
+
"key": "cmsCollection.refreshFailedTitle",
|
|
3124
|
+
"keyOrigin": "string-table"
|
|
3125
|
+
},
|
|
3126
3126
|
"h_b80613d496b0": {
|
|
3127
3127
|
"source": "Sort results",
|
|
3128
3128
|
"kind": "Text.text",
|
|
@@ -3797,6 +3797,13 @@
|
|
|
3797
3797
|
"key": "collection.filterTitle",
|
|
3798
3798
|
"keyOrigin": "string-table"
|
|
3799
3799
|
},
|
|
3800
|
+
"h_d9bb43777c97": {
|
|
3801
|
+
"source": "Couldn't load more.",
|
|
3802
|
+
"kind": "Text.text",
|
|
3803
|
+
"translation": "",
|
|
3804
|
+
"key": "cmsCollection.pageError",
|
|
3805
|
+
"keyOrigin": "string-table"
|
|
3806
|
+
},
|
|
3800
3807
|
"h_da24830f1f70": {
|
|
3801
3808
|
"source": "Yesterday",
|
|
3802
3809
|
"kind": "Worker.copy",
|
|
@@ -3824,13 +3831,6 @@
|
|
|
3824
3831
|
"key": "form.openWebsiteCta",
|
|
3825
3832
|
"keyOrigin": "string-table"
|
|
3826
3833
|
},
|
|
3827
|
-
"h_dbc8c5decc9f": {
|
|
3828
|
-
"source": "Loading content...",
|
|
3829
|
-
"kind": "Text.text",
|
|
3830
|
-
"translation": "",
|
|
3831
|
-
"key": "cmsCollection.loadingText",
|
|
3832
|
-
"keyOrigin": "string-table"
|
|
3833
|
-
},
|
|
3834
3834
|
"h_dc1649a16c14": {
|
|
3835
3835
|
"source": "Sign out",
|
|
3836
3836
|
"kind": "Text.text",
|
|
@@ -4736,6 +4736,11 @@
|
|
|
4736
4736
|
"kind": "SearchField.placeholder",
|
|
4737
4737
|
"translation": ""
|
|
4738
4738
|
},
|
|
4739
|
+
"h_3da25efb08aa": {
|
|
4740
|
+
"source": "Community stories",
|
|
4741
|
+
"kind": "Text.text",
|
|
4742
|
+
"translation": ""
|
|
4743
|
+
},
|
|
4739
4744
|
"h_3f04a4d7cad0": {
|
|
4740
4745
|
"source": "You don't have any upcoming bookings.",
|
|
4741
4746
|
"kind": "EmptyState.title",
|
|
@@ -5141,6 +5146,11 @@
|
|
|
5141
5146
|
"kind": "Text.text",
|
|
5142
5147
|
"translation": ""
|
|
5143
5148
|
},
|
|
5149
|
+
"h_b1214d965dce": {
|
|
5150
|
+
"source": "Sign in from Profile to view this member collection.",
|
|
5151
|
+
"kind": "ErrorState.body",
|
|
5152
|
+
"translation": ""
|
|
5153
|
+
},
|
|
5144
5154
|
"h_b4f57cd0cd5c": {
|
|
5145
5155
|
"source": "Move up",
|
|
5146
5156
|
"kind": "Button.title",
|
|
@@ -1391,11 +1391,6 @@
|
|
|
1391
1391
|
"key": "invoiceDetail.backCta",
|
|
1392
1392
|
"translation": "חזרה לחשבוניות"
|
|
1393
1393
|
},
|
|
1394
|
-
"h_83bc238044da": {
|
|
1395
|
-
"source": "Search content",
|
|
1396
|
-
"key": "cmsCollection.searchPlaceholder",
|
|
1397
|
-
"translation": "חיפוש תוכן"
|
|
1398
|
-
},
|
|
1399
1394
|
"h_844f869acdc9": {
|
|
1400
1395
|
"source": "These are example badges — this community has none yet.",
|
|
1401
1396
|
"key": "badges.sampleBody",
|
|
@@ -2297,11 +2292,6 @@
|
|
|
2297
2292
|
"key": "form.openWebsiteCta",
|
|
2298
2293
|
"translation": "פתיחת האתר"
|
|
2299
2294
|
},
|
|
2300
|
-
"h_dbc8c5decc9f": {
|
|
2301
|
-
"source": "Loading content...",
|
|
2302
|
-
"key": "cmsCollection.loadingText",
|
|
2303
|
-
"translation": "טוען תוכן..."
|
|
2304
|
-
},
|
|
2305
2295
|
"h_dc1649a16c14": {
|
|
2306
2296
|
"source": "Sign out",
|
|
2307
2297
|
"key": "account.signOutCta",
|
|
@@ -3182,8 +3172,8 @@
|
|
|
3182
3172
|
},
|
|
3183
3173
|
"h_a00ed42505ab": {
|
|
3184
3174
|
"source": "No collections match your search.",
|
|
3185
|
-
"
|
|
3186
|
-
"
|
|
3175
|
+
"translation": "אין אוספים שתואמים לחיפוש.",
|
|
3176
|
+
"key": "cms.searchEmptyText"
|
|
3187
3177
|
},
|
|
3188
3178
|
"h_84837a216817": {
|
|
3189
3179
|
"source": "Cancel request",
|
|
@@ -3360,6 +3350,16 @@
|
|
|
3360
3350
|
"key": "loyalty.follow",
|
|
3361
3351
|
"translation": "מעקב"
|
|
3362
3352
|
},
|
|
3353
|
+
"h_b7dff194ca4f": {
|
|
3354
|
+
"source": "Couldn't refresh. Showing saved content.",
|
|
3355
|
+
"key": "cmsCollection.refreshFailedTitle",
|
|
3356
|
+
"translation": "הרענון נכשל. מוצג תוכן שמור."
|
|
3357
|
+
},
|
|
3358
|
+
"h_d9bb43777c97": {
|
|
3359
|
+
"source": "Couldn't load more.",
|
|
3360
|
+
"key": "cmsCollection.pageError",
|
|
3361
|
+
"translation": "לא ניתן לטעון עוד."
|
|
3362
|
+
},
|
|
3363
3363
|
"h_03e89418ffdf": {
|
|
3364
3364
|
"source": "Your Home",
|
|
3365
3365
|
"translation": "הבית שלך"
|
|
@@ -6041,31 +6041,11 @@
|
|
|
6041
6041
|
},
|
|
6042
6042
|
"h_ca6595de9989": {
|
|
6043
6043
|
"source": "This collection has no published items yet.",
|
|
6044
|
-
"translation": "באוסף הזה אין
|
|
6045
|
-
},
|
|
6046
|
-
"h_499a7c5c2f12": {
|
|
6047
|
-
"source": "Visible to visitors",
|
|
6048
|
-
"translation": "גלוי למבקרים"
|
|
6049
|
-
},
|
|
6050
|
-
"h_2dbcf83bf87c": {
|
|
6051
|
-
"source": "Visible to signed-in members",
|
|
6052
|
-
"translation": "גלוי לחברים מחוברים"
|
|
6053
|
-
},
|
|
6054
|
-
"h_5e07c284bbe3": {
|
|
6055
|
-
"source": "This collection is not configured for the app.",
|
|
6056
|
-
"translation": "האוסף הזה לא הוגדר באפליקציה."
|
|
6044
|
+
"translation": "באוסף הזה עדיין אין פריטים שפורסמו."
|
|
6057
6045
|
},
|
|
6058
6046
|
"h_b1214d965dce": {
|
|
6059
6047
|
"source": "Sign in from Profile to view this member collection.",
|
|
6060
|
-
"translation": "
|
|
6061
|
-
},
|
|
6062
|
-
"h_bb7944e0504e": {
|
|
6063
|
-
"source": "This collection is temporarily unavailable.",
|
|
6064
|
-
"translation": "האוסף הזה אינו זמין זמנית."
|
|
6065
|
-
},
|
|
6066
|
-
"h_fc086b0b64a1": {
|
|
6067
|
-
"source": "No items match your search.",
|
|
6068
|
-
"translation": "אין פריטים שתואמים לחיפוש."
|
|
6048
|
+
"translation": "התחברו מהפרופיל כדי לצפות באוסף החברים הזה."
|
|
6069
6049
|
},
|
|
6070
6050
|
"h_f458d1fddf2d": {
|
|
6071
6051
|
"source": "ends {date}",
|
|
@@ -7218,6 +7198,26 @@
|
|
|
7218
7198
|
"h_f2c4f3cec324": {
|
|
7219
7199
|
"source": "Share profile",
|
|
7220
7200
|
"translation": "שתף פרופיל"
|
|
7201
|
+
},
|
|
7202
|
+
"h_0084e8faecb6": {
|
|
7203
|
+
"source": "Collapsed",
|
|
7204
|
+
"translation": "מכווץ"
|
|
7205
|
+
},
|
|
7206
|
+
"h_367521b67e6c": {
|
|
7207
|
+
"source": "Shows the full text",
|
|
7208
|
+
"translation": "מציג את הטקסט המלא"
|
|
7209
|
+
},
|
|
7210
|
+
"h_3da25efb08aa": {
|
|
7211
|
+
"source": "Community stories",
|
|
7212
|
+
"translation": "סיפורי קהילה"
|
|
7213
|
+
},
|
|
7214
|
+
"h_673f121d6269": {
|
|
7215
|
+
"source": "Hides the full text",
|
|
7216
|
+
"translation": "מסתיר את הטקסט המלא"
|
|
7217
|
+
},
|
|
7218
|
+
"h_6d1704748e0c": {
|
|
7219
|
+
"source": "Expanded",
|
|
7220
|
+
"translation": "מורחב"
|
|
7221
7221
|
}
|
|
7222
7222
|
}
|
|
7223
7223
|
}
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
updateDataItem,
|
|
6
6
|
removeDataItem,
|
|
7
7
|
type WixDataItem,
|
|
8
|
+
type WixDataSort,
|
|
8
9
|
type WixQueryDataItemsResponse,
|
|
9
10
|
} from "@himalaya/wix-data";
|
|
10
11
|
|
|
@@ -52,7 +53,13 @@ export function collectionArg(arg: unknown): CmsCollectionDefinition | undefined
|
|
|
52
53
|
return collectionDefinitions(typeof raw === "string" ? `[${raw}]` : "")[0];
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
/** Query CMS items — typed `@himalaya/wix-data` client.
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
/** Query CMS items — typed `@himalaya/wix-data` client. With `page` the read pages by cursor: `filter` and `sort`
|
|
57
|
+
* belong to the FIRST request only (the cursor carries them, and the SDK drops them once one is passed). */
|
|
58
|
+
export async function queryDataItems(
|
|
59
|
+
dataCollectionId: string,
|
|
60
|
+
limit = 50,
|
|
61
|
+
page?: { cursor?: string; filter?: Record<string, unknown>; sort?: WixDataSort[] },
|
|
62
|
+
): Promise<WixQueryDataItemsResponse> {
|
|
63
|
+
if (!page) return queryWixDataItems(dataCollectionId, limit);
|
|
64
|
+
return queryWixDataItems(dataCollectionId, limit, page.filter, false, 0, page.sort, { cursorPaging: { cursor: page.cursor } });
|
|
58
65
|
}
|
|
@@ -205,6 +205,13 @@ const svc = defineService<State, {
|
|
|
205
205
|
},
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
+
// Older shipped runtimes ignore the hydration opt-outs above. Match the collection worker's
|
|
209
|
+
// post-registration reset so last run's counts/search visibility never replace this contract.
|
|
210
|
+
if ((globalThis as { himalaya?: { hydrationOptOut?: unknown } }).himalaya?.hydrationOptOut !== true) {
|
|
211
|
+
const live = (svc as { getState?: () => State | undefined }).getState?.();
|
|
212
|
+
if (live && typeof live === "object") Object.assign(live, initialState);
|
|
213
|
+
}
|
|
214
|
+
|
|
208
215
|
// NO module-scope `startCounts()`: a bridge call made during the bundle's own evaluation stalls on
|
|
209
216
|
// the Android WebView (see himi-owner-lite-aria-history). The names paint from the baked input, and
|
|
210
217
|
// onAppear's `load` starts the counts right after that first frame.
|