@wix/himalaya-cli 0.1785.0 → 0.1787.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/dev-server/src/builder.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +8 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +18 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +11 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +11 -0
- package/dist/cli.mjs +1451 -866
- package/guides/app-config.md +30 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +8 -0
- package/guides/himi-json-output.md +17 -1
- package/guides/push-cli-onboarding.md +18 -0
- package/guides/qa-builds.md +22 -9
- package/package.json +2 -2
- package/templates/beauty-salon/tokens.json +2 -1
- package/templates/branded-lite/dev/index.ts +1719 -452
- package/templates/branded-lite/l10n/ar.json +36 -16
- package/templates/branded-lite/l10n/cs.json +36 -16
- package/templates/branded-lite/l10n/da.json +36 -16
- package/templates/branded-lite/l10n/de.json +36 -16
- package/templates/branded-lite/l10n/el.json +36 -16
- package/templates/branded-lite/l10n/en.json +42 -12
- package/templates/branded-lite/l10n/es.json +36 -16
- package/templates/branded-lite/l10n/fi.json +36 -16
- package/templates/branded-lite/l10n/fr.json +36 -16
- package/templates/branded-lite/l10n/he.json +30 -13
- package/templates/branded-lite/l10n/hu.json +36 -16
- package/templates/branded-lite/l10n/id.json +36 -16
- package/templates/branded-lite/l10n/it.json +36 -16
- package/templates/branded-lite/l10n/ja.json +36 -16
- package/templates/branded-lite/l10n/ko.json +36 -16
- package/templates/branded-lite/l10n/lt.json +36 -16
- package/templates/branded-lite/l10n/nl.json +36 -16
- package/templates/branded-lite/l10n/no.json +36 -16
- package/templates/branded-lite/l10n/pl.json +36 -16
- package/templates/branded-lite/l10n/pt.json +36 -16
- package/templates/branded-lite/l10n/ru.json +36 -16
- package/templates/branded-lite/l10n/sv.json +36 -16
- package/templates/branded-lite/l10n/th.json +36 -16
- package/templates/branded-lite/l10n/tr.json +36 -16
- package/templates/branded-lite/l10n/uk.json +36 -16
- package/templates/branded-lite/l10n/vi.json +36 -16
- package/templates/branded-lite/l10n/zh.json +36 -16
- package/templates/branded-lite/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/branded-lite/tier5-src/_shared/inbox-search.ts +1 -1
- package/templates/branded-lite/tier5-src/himi-branded-lite-inbox/index.ts +1 -1
- package/templates/branded-lite/tokens.json +3 -2
- package/templates/brandy/dev/member-screens.ts +7546 -5432
- package/templates/brandy/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/brandy/tier5-src/_shared/inbox-search.ts +1 -1
- package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +1 -1
- package/templates/brandy/tokens.json +5 -0
- package/templates/community-club/tokens.json +2 -1
- package/templates/conference/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/events-meetups/tokens.json +2 -1
- package/templates/fitness-gym/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/gym-fitness/tokens.json +2 -1
- package/templates/medical-services/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/nonprofit-cause/tokens.json +2 -1
- package/templates/personal-fitness-trainer/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/podcast-creator/tokens.json +2 -1
- package/templates/portfolio-creative/tokens.json +2 -1
- package/templates/restaurant/tokens.json +2 -1
- package/templates/retail-store/tokens.json +2 -1
- package/templates/salon-spa/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/wholesale-store/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/yoga-studio/tokens.json +2 -1
|
@@ -66,6 +66,12 @@ export interface ScreenDescriptor {
|
|
|
66
66
|
/** A `$service:` token: each new non-empty value scrolls the screen back to the top. Mirror of
|
|
67
67
|
* ScreenDescriptor.scroll_to_top_path in core.proto. */
|
|
68
68
|
scrollToTopPath?: string;
|
|
69
|
+
/** RFC 0041 — this screen's orientations per device family, narrowed to the envelope while it is the
|
|
70
|
+
* visible top screen. Mirror of ScreenDescriptor.orientation in core.proto. */
|
|
71
|
+
orientation?: {
|
|
72
|
+
phone?: string[];
|
|
73
|
+
tablet?: string[];
|
|
74
|
+
};
|
|
69
75
|
}
|
|
70
76
|
/** Tier 3/4 + embeddable WebView behavior. Mirror of WebViewConfig in core.proto
|
|
71
77
|
* (RFC 0038). All fields optional; zero values reproduce legacy behavior. */
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -3910,6 +3910,14 @@ export interface ScreenDescriptor {
|
|
|
3910
3910
|
* by writing a new value (a counter, "x|3"). The scroll is not the reader's: a LazyList
|
|
3911
3911
|
* `onTopItemChange` or Agenda `onVisibleDateChange` in the screen does not report it. */
|
|
3912
3912
|
scrollToTopPath?: string;
|
|
3913
|
+
/** RFC 0041 (orientation amendment) — this screen's orientations, per device family. While the screen
|
|
3914
|
+
* is the visible top screen (pushed, a tab root, or the content of a sheet / full-screen cover) the
|
|
3915
|
+
* effective set is this value intersected with the binary's envelope (config.ts
|
|
3916
|
+
* `orientationEnvelope`), in place of `NavigationConfig.orientation`; when it leaves, the app's set
|
|
3917
|
+
* applies again and the device rotates back into it. It can never widen the envelope, and a family
|
|
3918
|
+
* whose intersection is empty falls back to the app's set. A game player that may rotate to
|
|
3919
|
+
* landscape while the rest of the app stays portrait. Absent ⇒ the app's set. */
|
|
3920
|
+
orientation?: OrientationConfig;
|
|
3913
3921
|
etag?: string;
|
|
3914
3922
|
cacheControl?: CacheControl;
|
|
3915
3923
|
telemetryScreenName?: string;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts
CHANGED
|
@@ -161,6 +161,24 @@ export declare const screenDescriptorSchema: {
|
|
|
161
161
|
readonly type: "string";
|
|
162
162
|
readonly pattern: "^$|^\\$service:";
|
|
163
163
|
};
|
|
164
|
+
readonly orientation: {
|
|
165
|
+
readonly type: "object";
|
|
166
|
+
readonly additionalProperties: false;
|
|
167
|
+
readonly properties: {
|
|
168
|
+
readonly phone: {
|
|
169
|
+
readonly type: "array";
|
|
170
|
+
readonly items: {
|
|
171
|
+
readonly type: "string";
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
readonly tablet: {
|
|
175
|
+
readonly type: "array";
|
|
176
|
+
readonly items: {
|
|
177
|
+
readonly type: "string";
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
164
182
|
readonly logicBundle: {
|
|
165
183
|
readonly type: "object";
|
|
166
184
|
readonly additionalProperties: false;
|
|
@@ -9051,6 +9051,17 @@ var screenDescriptorSchema = {
|
|
|
9051
9051
|
// A `$service:` token: each new non-empty value scrolls the screen back to the top. A literal never changes,
|
|
9052
9052
|
// so it could never fire: the path must be a binding (or empty, which is unset), as transcriptScroll.anchorPath.
|
|
9053
9053
|
scrollToTopPath: { type: "string", pattern: "^$|^\\$service:" },
|
|
9054
|
+
// RFC 0041 (orientation amendment) — per-screen orientations, the shape of NavigationConfig.orientation.
|
|
9055
|
+
// Free strings like every orientation name (an unknown one drops out of the intersection on device,
|
|
9056
|
+
// invariant 6); `himi validate` warns on a name outside the app's envelope (validateScreenOrientation).
|
|
9057
|
+
orientation: {
|
|
9058
|
+
type: "object",
|
|
9059
|
+
additionalProperties: false,
|
|
9060
|
+
properties: {
|
|
9061
|
+
phone: { type: "array", items: { type: "string" } },
|
|
9062
|
+
tablet: { type: "array", items: { type: "string" } }
|
|
9063
|
+
}
|
|
9064
|
+
},
|
|
9054
9065
|
// RFC 0002 — Tier-5 worker bundle reference (LogicBundleRef). Without this in
|
|
9055
9066
|
// the schema, `additionalProperties:false` rejected EVERY T5 descriptor, so the
|
|
9056
9067
|
// admin's pre-push validation 400'd any edit of a T5 screen.
|
|
@@ -7063,6 +7063,17 @@ var screenDescriptorSchema = {
|
|
|
7063
7063
|
// A `$service:` token: each new non-empty value scrolls the screen back to the top. A literal never changes,
|
|
7064
7064
|
// so it could never fire: the path must be a binding (or empty, which is unset), as transcriptScroll.anchorPath.
|
|
7065
7065
|
scrollToTopPath: { type: "string", pattern: "^$|^\\$service:" },
|
|
7066
|
+
// RFC 0041 (orientation amendment) — per-screen orientations, the shape of NavigationConfig.orientation.
|
|
7067
|
+
// Free strings like every orientation name (an unknown one drops out of the intersection on device,
|
|
7068
|
+
// invariant 6); `himi validate` warns on a name outside the app's envelope (validateScreenOrientation).
|
|
7069
|
+
orientation: {
|
|
7070
|
+
type: "object",
|
|
7071
|
+
additionalProperties: false,
|
|
7072
|
+
properties: {
|
|
7073
|
+
phone: { type: "array", items: { type: "string" } },
|
|
7074
|
+
tablet: { type: "array", items: { type: "string" } }
|
|
7075
|
+
}
|
|
7076
|
+
},
|
|
7066
7077
|
// RFC 0002 — Tier-5 worker bundle reference (LogicBundleRef). Without this in
|
|
7067
7078
|
// the schema, `additionalProperties:false` rejected EVERY T5 descriptor, so the
|
|
7068
7079
|
// admin's pre-push validation 400'd any edit of a T5 screen.
|