@wix/himalaya-cli 0.2016.0 → 0.2018.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.
Files changed (55) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +14 -0
  2. package/dist/browser-plane/assets.json +5 -5
  3. package/dist/browser-plane/preview-deferred/{c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684.bin → dda1fb76c0d4cd06bff81e83b374bfbf1937f894c6f2228ec6cd7140743d0775.bin} +1 -1
  4. package/dist/browser-plane/sw.js +10 -10
  5. package/dist/cli.mjs +81 -56
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/widgets.md +4 -2
  8. package/package.json +2 -2
  9. package/templates/beauty-salon-owner/dev/index.ts +237 -200
  10. package/templates/beauty-salon-owner/himalaya.content.json +9 -0
  11. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  12. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  13. package/templates/branded-lite/recipes/products-carousel.json +1 -1
  14. package/templates/branded-lite/recipes/products-grid.json +1 -1
  15. package/templates/branded-lite/tier5-src/_shared/products-section.ts +3 -1
  16. package/templates/community-club-owner/dev/index.ts +314 -49
  17. package/templates/community-club-owner/himalaya.content.json +9 -0
  18. package/templates/community-club-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  19. package/templates/community-club-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  20. package/templates/events-meetups-owner/dev/index.ts +330 -23
  21. package/templates/events-meetups-owner/himalaya.content.json +9 -0
  22. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  23. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  24. package/templates/gym-fitness-owner/dev/index.ts +237 -200
  25. package/templates/gym-fitness-owner/himalaya.content.json +9 -0
  26. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  27. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  28. package/templates/nonprofit-cause-owner/dev/index.ts +237 -158
  29. package/templates/nonprofit-cause-owner/himalaya.content.json +9 -0
  30. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  31. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  32. package/templates/owner-lite/dev/index.ts +237 -200
  33. package/templates/owner-lite/himalaya.content.json +9 -0
  34. package/templates/owner-lite/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  35. package/templates/owner-lite/tier5-src/himi-owner-lite-today/index.ts +89 -37
  36. package/templates/podcast-creator-owner/dev/index.ts +314 -49
  37. package/templates/podcast-creator-owner/himalaya.content.json +9 -0
  38. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  39. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  40. package/templates/portfolio-creative-owner/dev/index.ts +237 -200
  41. package/templates/portfolio-creative-owner/himalaya.content.json +9 -0
  42. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  43. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  44. package/templates/restaurant-owner/dev/index.ts +237 -200
  45. package/templates/restaurant-owner/himalaya.content.json +9 -0
  46. package/templates/restaurant-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  47. package/templates/restaurant-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  48. package/templates/retail-store-owner/dev/index.ts +314 -49
  49. package/templates/retail-store-owner/himalaya.content.json +9 -0
  50. package/templates/retail-store-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  51. package/templates/retail-store-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  52. package/templates/yoga-studio-owner/dev/index.ts +237 -158
  53. package/templates/yoga-studio-owner/himalaya.content.json +9 -0
  54. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  55. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
@@ -32,6 +32,9 @@ export interface FrogTelemetryConfig {
32
32
  apiRules?: ServedWixApiRule[];
33
33
  /** oneapp: the platform action map (#4979), a user's tap on a descriptor action → its RN tap event. */
34
34
  actionMap?: ServedActionMapEntry[];
35
+ /** oneapp, #6878: the action-map entries that read a BI-resolved `tier5.*` param, under a key a pre-#6878
36
+ * host ignores (it would evaluate the authored `$service:` token). A host reads both keys as one map. */
37
+ actionMapV2?: ServedActionMapEntry[];
35
38
  /** oneapp: the platform push map (#6442), a tapped notification → the RN app's own push-opened event. */
36
39
  pushMap?: ServedPushMapEntry[];
37
40
  }
@@ -57,7 +60,18 @@ export interface ServedActionMapEntry {
57
60
  module?: string;
58
61
  fields: Record<string, string | number>;
59
62
  }
63
+ export type SourceActionMapEntry = ServedActionMapEntry & {
64
+ biArgs?: boolean;
65
+ rn?: string;
66
+ differs?: string;
67
+ };
68
+ export declare function splitServedActionMap(entries: SourceActionMapEntry[] | undefined): {
69
+ actionMap?: ServedActionMapEntry[];
70
+ actionMapV2?: ServedActionMapEntry[];
71
+ };
72
+ export declare function assignServedActionMaps(frog: FrogTelemetryConfig, entries: SourceActionMapEntry[] | undefined): void;
60
73
  export declare function servedActionMap(app: string): ServedActionMapEntry[] | undefined;
74
+ export declare function servedActionMapV2(app: string): ServedActionMapEntry[] | undefined;
61
75
  export interface ServedWixApiRule {
62
76
  id: string;
63
77
  method: string;
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2841644
5
+ "bytes": 2843524
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 24320
22
22
  },
23
23
  {
24
- "name": "preview-deferred/c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684.bin",
24
+ "name": "preview-deferred/dda1fb76c0d4cd06bff81e83b374bfbf1937f894c6f2228ec6cd7140743d0775.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-CBB5-vQy.js",
82
+ "key": "assets/pdf-BrWgpuB0.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684",
85
- "file": "preview-deferred/c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684.bin"
84
+ "sha256": "dda1fb76c0d4cd06bff81e83b374bfbf1937f894c6f2228ec6cd7140743d0775",
85
+ "file": "preview-deferred/dda1fb76c0d4cd06bff81e83b374bfbf1937f894c6f2228ec6cd7140743d0775.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",