@wix/himalaya-cli 0.2030.0 → 0.2032.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 +11 -2
- package/dist/cli.mjs +170 -85
- package/guides/splash-screens.md +11 -0
- package/package.json +2 -2
- package/templates/bare-fashion/config.ts +14 -0
- package/templates/beauty-salon/config.ts +1 -1
- package/templates/beauty-salon-owner/config.ts +2 -2
- package/templates/branded-lite/config.ts +1 -1
- package/templates/community-club/config.ts +1 -1
- package/templates/community-club-owner/config.ts +2 -2
- package/templates/conference/config.ts +14 -0
- package/templates/events-meetups/config.ts +1 -1
- package/templates/events-meetups-owner/config.ts +2 -2
- package/templates/fitness-gym/config.ts +14 -0
- package/templates/gym-fitness/config.ts +1 -1
- package/templates/gym-fitness-owner/config.ts +2 -2
- package/templates/medical-services/config.ts +14 -0
- package/templates/nonprofit-cause/config.ts +1 -1
- package/templates/nonprofit-cause-owner/config.ts +2 -2
- package/templates/owner-lite/config.ts +2 -2
- package/templates/personal-fitness-trainer/config.ts +14 -0
- package/templates/podcast-creator/config.ts +1 -1
- package/templates/podcast-creator-owner/config.ts +2 -2
- package/templates/portfolio-creative/config.ts +1 -1
- package/templates/portfolio-creative-owner/config.ts +2 -2
- package/templates/professional-services/config.ts +14 -0
- package/templates/restaurant/config.ts +1 -1
- package/templates/restaurant-owner/config.ts +2 -2
- package/templates/retail-store/config.ts +1 -1
- package/templates/retail-store-owner/config.ts +2 -2
- package/templates/salon-spa/config.ts +14 -0
- package/templates/wholesale-store/config.ts +14 -0
- package/templates/yoga-studio/config.ts +1 -1
- package/templates/yoga-studio-owner/config.ts +2 -2
|
@@ -86,9 +86,14 @@ export interface ServedWixApiRule {
|
|
|
86
86
|
fields: Record<string, string | number>;
|
|
87
87
|
/** #6880 — see `WixApiBiRule.when`; a rule carrying one is served only under `frog.apiRulesV2`. */
|
|
88
88
|
when?: Record<string, string | boolean>;
|
|
89
|
+
/** Source only, never served: the frog `mobileAppId`s a `when` rule is served to. `apiRulesV2` repeats
|
|
90
|
+
* every rule, so an app no `when` rule names is served none (#6926: owner-lite's release app-config
|
|
91
|
+
* went over serve-control's 64 KiB item cap with a copy of rules only Nano calls). */
|
|
92
|
+
mobileAppIds?: string[];
|
|
89
93
|
}
|
|
90
|
-
export declare function servedWixApiRules(): ServedWixApiRule[];
|
|
91
|
-
export declare function servedWixApiRulesV2(): ServedWixApiRule[] | undefined;
|
|
94
|
+
export declare function servedWixApiRules(modules?: readonly string[]): ServedWixApiRule[];
|
|
95
|
+
export declare function servedWixApiRulesV2(mobileAppId?: string | null, modules?: readonly string[]): ServedWixApiRule[] | undefined;
|
|
96
|
+
export declare function mobileAppIdMatches(scope: string, mobileAppId: string): boolean;
|
|
92
97
|
export declare function splitServedWixApiRules(rules: readonly ServedWixApiRule[]): {
|
|
93
98
|
apiRules: ServedWixApiRule[];
|
|
94
99
|
apiRulesV2?: ServedWixApiRule[];
|
|
@@ -234,6 +239,10 @@ export interface WixPlatformConfig {
|
|
|
234
239
|
mobileAppId?: string;
|
|
235
240
|
/** oneapp: logger version `_lv`. Default `1.0.0|Himi`. */
|
|
236
241
|
lv?: string;
|
|
242
|
+
/** oneapp: serve only the Wix API bridge rules (`core/schema/bi/wix-api-rules.json`) of these RN logger
|
|
243
|
+
* `module`s, for an app whose calls never reach the shared verticals (Nano: `["nano"]`). Default: every
|
|
244
|
+
* rule. Keeps the app-config under serve-control's 64 KiB item cap (#6926). */
|
|
245
|
+
apiRuleModules?: string[];
|
|
237
246
|
};
|
|
238
247
|
/** Petri experiment scope (the conduction namespace for this app). */
|
|
239
248
|
experiments?: {
|