@wix/himalaya-cli 0.1186.0 → 0.1187.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/app-config.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-module.d.ts +2 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +8 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
- package/dist/cli.mjs +1411 -685
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/app-config.md +11 -1
- package/guides/capabilities.md +118 -0
- package/guides/index.json +7 -1
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +6 -3
- package/templates/beauty-salon/himalaya.content.json +2 -1
- package/templates/beauty-salon-owner/dev/index.ts +2 -1
- package/templates/beauty-salon-owner/himalaya.content.json +2 -1
- package/templates/branded-lite/dev/index.ts +10 -5
- package/templates/branded-lite/himalaya.content.json +2 -1
- package/templates/brandy/himalaya.content.json +2 -1
- package/templates/community-club/dev/index.ts +2 -1
- package/templates/community-club/himalaya.content.json +2 -1
- package/templates/community-club-owner/dev/index.ts +2 -1
- package/templates/community-club-owner/himalaya.content.json +2 -1
- package/templates/events-meetups/dev/index.ts +2 -1
- package/templates/events-meetups/himalaya.content.json +2 -1
- package/templates/events-meetups-owner/dev/index.ts +2 -1
- package/templates/events-meetups-owner/himalaya.content.json +2 -1
- package/templates/gym-fitness/dev/index.ts +8 -4
- package/templates/gym-fitness/himalaya.content.json +2 -1
- package/templates/gym-fitness-owner/dev/index.ts +2 -1
- package/templates/gym-fitness-owner/himalaya.content.json +2 -1
- package/templates/nonprofit-cause/dev/index.ts +4 -2
- package/templates/nonprofit-cause/himalaya.content.json +2 -1
- package/templates/nonprofit-cause-owner/dev/index.ts +2 -1
- package/templates/nonprofit-cause-owner/himalaya.content.json +2 -1
- package/templates/owner-lite/dev/index.ts +2 -1
- package/templates/owner-lite/himalaya.content.json +2 -1
- package/templates/podcast-creator/dev/index.ts +4 -2
- package/templates/podcast-creator/himalaya.content.json +2 -1
- package/templates/podcast-creator-owner/dev/index.ts +2 -1
- package/templates/podcast-creator-owner/himalaya.content.json +2 -1
- package/templates/portfolio-creative/dev/index.ts +4 -2
- package/templates/portfolio-creative/himalaya.content.json +2 -1
- package/templates/portfolio-creative-owner/dev/index.ts +2 -1
- package/templates/portfolio-creative-owner/himalaya.content.json +2 -1
- package/templates/restaurant/dev/index.ts +2 -1
- package/templates/restaurant/himalaya.content.json +2 -1
- package/templates/restaurant-owner/dev/index.ts +2 -1
- package/templates/restaurant-owner/himalaya.content.json +2 -1
- package/templates/retail-store/dev/index.ts +2 -1
- package/templates/retail-store/himalaya.content.json +2 -1
- package/templates/retail-store-owner/dev/index.ts +2 -1
- package/templates/retail-store-owner/himalaya.content.json +2 -1
- package/templates/yoga-studio/dev/index.ts +8 -4
- package/templates/yoga-studio/himalaya.content.json +2 -1
- package/templates/yoga-studio-owner/dev/index.ts +2 -1
- package/templates/yoga-studio-owner/himalaya.content.json +2 -1
|
@@ -188,6 +188,8 @@ export interface DerivedAppMeta {
|
|
|
188
188
|
control?: import("@wix/himalaya/core").AppControl;
|
|
189
189
|
/** Forwarded from AppConfig.appLinkHosts for the OTA app-config channel. */
|
|
190
190
|
appLinkHosts?: string[];
|
|
191
|
+
/** Forwarded from AppConfig.permissionCopy — read by the dist contract (native usage strings). */
|
|
192
|
+
permissionCopy?: Record<string, string>;
|
|
191
193
|
/** Forwarded from AppConfig.navigation.tabBar — RFC 0010 tab structure. */
|
|
192
194
|
tabBar?: import("@wix/himalaya/core").TabBarConfig;
|
|
193
195
|
/** Forwarded from AppConfig.navigation.drawer — RFC 0010 drawer structure. */
|
|
@@ -42,3 +42,6 @@ export declare const CAPABILITY_REGISTRY: {
|
|
|
42
42
|
export type SdkCapability = "app_info" | "audio_record" | "base44" | "biometrics" | "browser_auth" | "calendar" | "calls" | "camera" | "clipboard" | "contacts" | "file_picker" | "files" | "godot" | "haptic" | "himi_apps" | "iap" | "keyboard" | "live_activity" | "local_database" | "location" | "media_playback" | "motion" | "on_device_ai" | "open_url" | "pdf" | "photos" | "presigned_upload" | "push" | "release_control" | "secure_storage" | "share" | "speaker_diarization" | "speech" | "system_intents" | "tasks" | "ui" | "wix_cashier";
|
|
43
43
|
/** All `capability.<id>.<verb>` action ids, flattened (the worker-bridge wire vocabulary). */
|
|
44
44
|
export declare const CAPABILITY_ACTION_IDS: readonly string[];
|
|
45
|
+
/** Capability id → the @himalaya/* package(s) a worker imports to reach it — every dispatch
|
|
46
|
+
* capability, plus bridge-backed ones whose binding builds or wraps its ids (wix_platform, webview). */
|
|
47
|
+
export declare const CAPABILITY_PACKAGES: Readonly<Record<string, readonly string[]>>;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts
CHANGED
|
@@ -225,6 +225,14 @@ export interface AppConfig {
|
|
|
225
225
|
* omitted. Must satisfy `capabilities ⊆ capabilityEnvelope`.
|
|
226
226
|
*/
|
|
227
227
|
capabilityEnvelope?: Capability[];
|
|
228
|
+
/**
|
|
229
|
+
* Per-capability permission prompt copy — the sentence the OS shows when the app asks for
|
|
230
|
+
* camera, location, photos, … (iOS usage strings). Served on app-config, so `himi dist` bakes
|
|
231
|
+
* it into an extensible shell's binary for the capabilities this app declares; a capability
|
|
232
|
+
* with no entry gets the catalog's generic sentence. App Review rejects vague copy, so say
|
|
233
|
+
* what THIS app does with it: `{ camera: "Scan a receipt to attach it to an expense." }`.
|
|
234
|
+
*/
|
|
235
|
+
permissionCopy?: Partial<Record<Capability, string>>;
|
|
228
236
|
/**
|
|
229
237
|
* The ORIENTATION envelope — the widest set of interface orientations the
|
|
230
238
|
* BINARY is built to permit, per device family (RFC 0041 orientation
|
|
@@ -9071,6 +9071,7 @@ function deriveAppMeta(name, m, platforms = {}, provisioning = {}) {
|
|
|
9071
9071
|
...provisioning.installedVerticals ? { installedVerticals: provisioning.installedVerticals } : {},
|
|
9072
9072
|
control: config.control,
|
|
9073
9073
|
appLinkHosts: config.appLinkHosts,
|
|
9074
|
+
permissionCopy: config.permissionCopy,
|
|
9074
9075
|
tabBar: config.navigation?.tabBar,
|
|
9075
9076
|
drawer: config.navigation?.drawer,
|
|
9076
9077
|
navKind: config.navigation?.navKind,
|