@wix/himalaya-cli 0.1588.0 → 0.1589.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 (53) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +2 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/torch/src/index.d.ts +39 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/webview-page/src/capabilities.generated.d.ts +2 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +13 -2
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/groups/src/extensions.d.ts +28 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/audio-record.mjs +1 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +1 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +1 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +1 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +1 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +1 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +1 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +1 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +1 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/torch.mjs +78 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-groups.mjs +14 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  18. package/dist/cli.mjs +68 -39
  19. package/dist/preview-assets.generated.bin +0 -0
  20. package/fixtures/wix-canned.json +16 -0
  21. package/guides/app-config.md +1 -1
  22. package/guides/importable-sdks.md +1 -0
  23. package/guides/qa-builds.md +12 -0
  24. package/guides/sdk-reference.json +99 -0
  25. package/guides/web-page-sdk-reference.md +1 -0
  26. package/package.json +2 -2
  27. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  28. package/templates/branded-lite/config.ts +7 -0
  29. package/templates/branded-lite/dev/index.ts +469 -0
  30. package/templates/branded-lite/himalaya.content.json +3 -0
  31. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  32. package/templates/branded-lite/tier5-src/himi-branded-lite-my-groups/index.ts +236 -0
  33. package/templates/community-club/config.ts +7 -0
  34. package/templates/community-club/dev/index.ts +469 -0
  35. package/templates/community-club/himalaya.content.json +3 -0
  36. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  37. package/templates/community-club/tier5-src/himi-branded-lite-my-groups/index.ts +236 -0
  38. package/templates/events-meetups/config.ts +7 -0
  39. package/templates/events-meetups/dev/index.ts +469 -0
  40. package/templates/events-meetups/himalaya.content.json +3 -0
  41. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  42. package/templates/events-meetups/tier5-src/himi-branded-lite-my-groups/index.ts +236 -0
  43. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  44. package/templates/nonprofit-cause/config.ts +7 -0
  45. package/templates/nonprofit-cause/dev/index.ts +469 -0
  46. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  47. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  48. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-my-groups/index.ts +236 -0
  49. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  50. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  51. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  52. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  53. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -0
@@ -20426,6 +20426,25 @@ const SCREENS = runtimeSetting({
20426
20426
  }
20427
20427
  }
20428
20428
  },
20429
+ {
20430
+ "id": "himi_groups.my_groups",
20431
+ "body": {
20432
+ "package": "himalaya",
20433
+ "type": "Button",
20434
+ "props": {
20435
+ "title": "See my groups",
20436
+ "style": "secondary",
20437
+ "fullWidth": true,
20438
+ "leadingIcon": "person",
20439
+ "action": {
20440
+ "actionId": "himi.open",
20441
+ "params": {
20442
+ "screenId": "himi_my_groups"
20443
+ }
20444
+ }
20445
+ }
20446
+ }
20447
+ },
20429
20448
  {
20430
20449
  "id": "himi_groups.search",
20431
20450
  "body": {
@@ -23474,6 +23493,456 @@ const SCREENS = runtimeSetting({
23474
23493
  "bundleVersion": "0.0.1"
23475
23494
  }
23476
23495
  },
23496
+ "himi_my_groups": {
23497
+ "screenId": "himi_my_groups",
23498
+ "renderer": "sdui_intent",
23499
+ "title": "",
23500
+ "schemaVersion": 1,
23501
+ "cacheControl": {
23502
+ "maxAge": 0,
23503
+ "staleWhileRevalidate": 0
23504
+ },
23505
+ "payload": {
23506
+ "id": "himi_my_groups.root",
23507
+ "body": {
23508
+ "package": "himalaya",
23509
+ "type": "VStack",
23510
+ "props": {
23511
+ "spacing": 16,
23512
+ "alignment": "leading",
23513
+ "children": [
23514
+ {
23515
+ "id": "himi_my_groups.title",
23516
+ "body": {
23517
+ "package": "himalaya",
23518
+ "type": "Text",
23519
+ "props": {
23520
+ "text": "My groups",
23521
+ "style": "title1"
23522
+ }
23523
+ }
23524
+ },
23525
+ {
23526
+ "id": "himi_my_groups.loading",
23527
+ "body": {
23528
+ "package": "himalaya",
23529
+ "type": "Skeleton",
23530
+ "props": {
23531
+ "height": 160,
23532
+ "cornerRadius": 8,
23533
+ "count": 2
23534
+ }
23535
+ },
23536
+ "modifiers": {
23537
+ "hiddenPath": "$service:himiBrandedMyGroups.notLoading"
23538
+ }
23539
+ },
23540
+ {
23541
+ "id": "himi_my_groups.error",
23542
+ "body": {
23543
+ "package": "himalaya",
23544
+ "type": "VStack",
23545
+ "props": {
23546
+ "spacing": 8,
23547
+ "alignment": "leading",
23548
+ "children": [
23549
+ {
23550
+ "id": "",
23551
+ "body": {
23552
+ "package": "himalaya",
23553
+ "type": "Text",
23554
+ "props": {
23555
+ "text": "Your groups are temporarily unavailable.",
23556
+ "style": "bodyEmphasis"
23557
+ }
23558
+ }
23559
+ },
23560
+ {
23561
+ "id": "",
23562
+ "body": {
23563
+ "package": "himalaya",
23564
+ "type": "Text",
23565
+ "props": {
23566
+ "text": "$service:himiBrandedMyGroups.errorText",
23567
+ "style": "footnote",
23568
+ "color": "textSecondary",
23569
+ "collapseWhenEmpty": true
23570
+ }
23571
+ }
23572
+ },
23573
+ {
23574
+ "id": "himi_my_groups.retry",
23575
+ "body": {
23576
+ "package": "himalaya",
23577
+ "type": "Button",
23578
+ "props": {
23579
+ "title": "Try again",
23580
+ "style": "secondary",
23581
+ "action": {
23582
+ "actionId": "tier5.himiBrandedMyGroups.load"
23583
+ }
23584
+ }
23585
+ }
23586
+ }
23587
+ ]
23588
+ }
23589
+ },
23590
+ "modifiers": {
23591
+ "background": {
23592
+ "token": "surfaceElevated"
23593
+ },
23594
+ "border": {
23595
+ "width": 1,
23596
+ "color": {
23597
+ "token": "border"
23598
+ }
23599
+ },
23600
+ "cornerRadius": 4,
23601
+ "padding": {
23602
+ "leading": 16,
23603
+ "trailing": 16,
23604
+ "top": 16,
23605
+ "bottom": 16
23606
+ },
23607
+ "hiddenPath": "$service:himiBrandedMyGroups.notErrored"
23608
+ }
23609
+ },
23610
+ {
23611
+ "id": "himi_my_groups.partial",
23612
+ "body": {
23613
+ "package": "himalaya",
23614
+ "type": "Text",
23615
+ "props": {
23616
+ "text": "$service:himiBrandedMyGroups.partialText",
23617
+ "style": "footnote",
23618
+ "color": "textSecondary",
23619
+ "collapseWhenEmpty": true
23620
+ }
23621
+ },
23622
+ "modifiers": {
23623
+ "hiddenPath": "$service:himiBrandedMyGroups.noPartial"
23624
+ }
23625
+ },
23626
+ {
23627
+ "id": "himi_my_groups.rows",
23628
+ "body": {
23629
+ "package": "himalaya",
23630
+ "type": "Grid",
23631
+ "props": {
23632
+ "columns": 1,
23633
+ "spacing": 10,
23634
+ "itemsPath": "$service:himiBrandedMyGroups.rows",
23635
+ "items": [
23636
+ {
23637
+ "id": "himi_my_groups.row",
23638
+ "body": {
23639
+ "package": "himalaya",
23640
+ "type": "VStack",
23641
+ "props": {
23642
+ "spacing": 9,
23643
+ "alignment": "leading",
23644
+ "children": [
23645
+ {
23646
+ "id": "",
23647
+ "body": {
23648
+ "package": "himalaya",
23649
+ "type": "Image",
23650
+ "props": {
23651
+ "url": "$item.image",
23652
+ "fillWidth": true,
23653
+ "height": 120,
23654
+ "contentMode": "fill",
23655
+ "contentDescription": "$item.title"
23656
+ }
23657
+ },
23658
+ "modifiers": {
23659
+ "cornerRadius": 8,
23660
+ "fillMaxWidth": true,
23661
+ "hiddenPath": "$item.noImage"
23662
+ }
23663
+ },
23664
+ {
23665
+ "id": "himi_my_groups.row.monogram",
23666
+ "body": {
23667
+ "package": "himalaya",
23668
+ "type": "ZStack",
23669
+ "props": {
23670
+ "alignment": "center",
23671
+ "children": [
23672
+ {
23673
+ "id": "",
23674
+ "body": {
23675
+ "package": "himalaya",
23676
+ "type": "Text",
23677
+ "props": {
23678
+ "text": "$item.initial",
23679
+ "style": "display",
23680
+ "color": "textOnAccent",
23681
+ "maxLines": 1
23682
+ }
23683
+ }
23684
+ }
23685
+ ]
23686
+ }
23687
+ },
23688
+ "modifiers": {
23689
+ "fillMaxWidth": true,
23690
+ "height": 120,
23691
+ "background": {
23692
+ "token": "accentPrimary"
23693
+ },
23694
+ "cornerRadius": 8,
23695
+ "hiddenPath": "$item.hasImage"
23696
+ }
23697
+ },
23698
+ {
23699
+ "id": "",
23700
+ "body": {
23701
+ "package": "himalaya",
23702
+ "type": "Text",
23703
+ "props": {
23704
+ "text": "$item.title",
23705
+ "style": "bodyEmphasis",
23706
+ "maxLines": 2
23707
+ }
23708
+ }
23709
+ },
23710
+ {
23711
+ "id": "",
23712
+ "body": {
23713
+ "package": "himalaya",
23714
+ "type": "Text",
23715
+ "props": {
23716
+ "text": "$item.statusLabel",
23717
+ "style": "footnote",
23718
+ "color": "accentPrimary",
23719
+ "maxLines": 1,
23720
+ "collapseWhenEmpty": true
23721
+ }
23722
+ }
23723
+ },
23724
+ {
23725
+ "id": "",
23726
+ "body": {
23727
+ "package": "himalaya",
23728
+ "type": "Text",
23729
+ "props": {
23730
+ "text": "$item.meta",
23731
+ "style": "caption",
23732
+ "color": "textTertiary",
23733
+ "maxLines": 1,
23734
+ "collapseWhenEmpty": true
23735
+ }
23736
+ }
23737
+ }
23738
+ ]
23739
+ }
23740
+ },
23741
+ "modifiers": {
23742
+ "background": {
23743
+ "token": "surfaceElevated"
23744
+ },
23745
+ "border": {
23746
+ "width": 1,
23747
+ "color": {
23748
+ "token": "border"
23749
+ }
23750
+ },
23751
+ "cornerRadius": 8,
23752
+ "padding": {
23753
+ "leading": 12,
23754
+ "trailing": 12,
23755
+ "top": 12,
23756
+ "bottom": 12
23757
+ },
23758
+ "onTap": {
23759
+ "actionId": "himi.open",
23760
+ "params": {
23761
+ "screenId": "$item.detailScreenId",
23762
+ "id": "$item.id"
23763
+ }
23764
+ },
23765
+ "pressFeedback": "scale",
23766
+ "haptic": "light",
23767
+ "accessibilityLabel": "$item.title"
23768
+ }
23769
+ }
23770
+ ]
23771
+ }
23772
+ },
23773
+ "modifiers": {
23774
+ "hiddenPath": "$service:himiBrandedMyGroups.noRows"
23775
+ }
23776
+ },
23777
+ {
23778
+ "id": "himi_my_groups.empty",
23779
+ "body": {
23780
+ "package": "himalaya",
23781
+ "type": "VStack",
23782
+ "props": {
23783
+ "spacing": 8,
23784
+ "alignment": "leading",
23785
+ "children": [
23786
+ {
23787
+ "id": "",
23788
+ "body": {
23789
+ "package": "himalaya",
23790
+ "type": "Text",
23791
+ "props": {
23792
+ "text": "$service:himiBrandedMyGroups.emptyText",
23793
+ "style": "body",
23794
+ "color": "textSecondary",
23795
+ "collapseWhenEmpty": true
23796
+ }
23797
+ }
23798
+ }
23799
+ ]
23800
+ }
23801
+ },
23802
+ "modifiers": {
23803
+ "background": {
23804
+ "token": "surfaceElevated"
23805
+ },
23806
+ "border": {
23807
+ "width": 1,
23808
+ "color": {
23809
+ "token": "border"
23810
+ }
23811
+ },
23812
+ "cornerRadius": 4,
23813
+ "padding": {
23814
+ "leading": 16,
23815
+ "trailing": 16,
23816
+ "top": 16,
23817
+ "bottom": 16
23818
+ },
23819
+ "fillMaxWidth": true,
23820
+ "hiddenPath": "$service:himiBrandedMyGroups.noEmpty"
23821
+ }
23822
+ },
23823
+ {
23824
+ "id": "himi_my_groups.member_gate",
23825
+ "body": {
23826
+ "package": "himalaya",
23827
+ "type": "VStack",
23828
+ "props": {
23829
+ "spacing": 10,
23830
+ "alignment": "center",
23831
+ "children": [
23832
+ {
23833
+ "id": "",
23834
+ "body": {
23835
+ "package": "himalaya",
23836
+ "type": "Icon",
23837
+ "props": {
23838
+ "name": "person",
23839
+ "size": 28,
23840
+ "tint": "accentPrimary"
23841
+ }
23842
+ },
23843
+ "modifiers": {
23844
+ "accessibilityRole": "decorative"
23845
+ }
23846
+ },
23847
+ {
23848
+ "id": "himi_my_groups.member_gate_title",
23849
+ "body": {
23850
+ "package": "himalaya",
23851
+ "type": "Text",
23852
+ "props": {
23853
+ "text": "Sign in to see your groups",
23854
+ "style": "bodyEmphasis"
23855
+ }
23856
+ }
23857
+ },
23858
+ {
23859
+ "id": "",
23860
+ "body": {
23861
+ "package": "himalaya",
23862
+ "type": "Text",
23863
+ "props": {
23864
+ "text": "The groups you belong to show up here once you sign in.",
23865
+ "style": "footnote",
23866
+ "color": "textSecondary"
23867
+ }
23868
+ }
23869
+ },
23870
+ {
23871
+ "id": "himi_my_groups.member_gate_signin",
23872
+ "body": {
23873
+ "package": "himalaya",
23874
+ "type": "Button",
23875
+ "props": {
23876
+ "title": "Sign in",
23877
+ "style": "primary",
23878
+ "fullWidth": true,
23879
+ "action": {
23880
+ "actionId": "himi.open",
23881
+ "params": {
23882
+ "screenId": "himi_sign_in",
23883
+ "mode": "signin",
23884
+ "intent": "groups",
23885
+ "returnScreenId": "himi_my_groups",
23886
+ "modal": "1"
23887
+ },
23888
+ "presentation": "sheet"
23889
+ }
23890
+ }
23891
+ }
23892
+ }
23893
+ ]
23894
+ }
23895
+ },
23896
+ "modifiers": {
23897
+ "background": {
23898
+ "token": "surfaceElevated"
23899
+ },
23900
+ "border": {
23901
+ "width": 1,
23902
+ "color": {
23903
+ "token": "border"
23904
+ }
23905
+ },
23906
+ "cornerRadius": 16,
23907
+ "padding": {
23908
+ "leading": 16,
23909
+ "trailing": 16,
23910
+ "top": 20,
23911
+ "bottom": 20
23912
+ },
23913
+ "fillMaxWidth": true,
23914
+ "hiddenPath": "$service:himiBrandedMyGroups.noSignIn"
23915
+ }
23916
+ }
23917
+ ]
23918
+ }
23919
+ },
23920
+ "modifiers": {
23921
+ "background": {
23922
+ "token": "surfacePrimary"
23923
+ },
23924
+ "padding": {
23925
+ "leading": 16,
23926
+ "trailing": 16,
23927
+ "top": 18,
23928
+ "bottom": 28
23929
+ },
23930
+ "onAppear": {
23931
+ "actionId": "tier5.himiBrandedMyGroups.load"
23932
+ }
23933
+ }
23934
+ },
23935
+ "logicBundle": {
23936
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-my-groups?integrity=",
23937
+ "integrity": "",
23938
+ "contentType": "application/javascript+ts-bundle",
23939
+ "declaredCapabilities": [
23940
+ "wix_api"
23941
+ ],
23942
+ "minBinaryVersion": "0.1.0",
23943
+ "bundleVersion": "0.0.1"
23944
+ }
23945
+ },
23477
23946
  }) as Record<string, unknown>;
23478
23947
 
23479
23948
  // The hosted app icon is content: updating splash.json needs an OTA publish, not a native build.
@@ -58,6 +58,9 @@
58
58
  "himi_my_events": {
59
59
  "displayName": "My Events"
60
60
  },
61
+ "himi_my_groups": {
62
+ "displayName": "My Groups"
63
+ },
61
64
  "himi_my_subscriptions": {
62
65
  "displayName": "My Subscriptions"
63
66
  },
@@ -98,6 +98,7 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
100
  himi_group_about: ["groups"],
101
+ himi_my_groups: ["groups"],
101
102
  himi_invoice: ["invoices"],
102
103
  himi_invoices: ["invoices"],
103
104
  himi_loyalty: ["loyalty"],