@wix/himalaya-cli 0.1569.0 → 0.1570.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 (59) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/l10n-strings.d.ts +3 -2
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/business-contact-service.d.ts +17 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/business-contact.d.ts +73 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +3 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/invite-target.d.ts +1 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/invite.d.ts +148 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +558 -84
  8. package/dist/cli.mjs +232 -27
  9. package/guides/getting-started.md +5 -0
  10. package/guides/himi-skill.md +5 -0
  11. package/guides/one-app-to-himi-app.md +145 -4
  12. package/guides/skill.md +5 -0
  13. package/guides/tier-5-add-a-screen.md +20 -0
  14. package/package.json +2 -2
  15. package/templates/beauty-salon/config.ts +7 -0
  16. package/templates/beauty-salon/dev/index.ts +213 -0
  17. package/templates/beauty-salon/himalaya.content.json +3 -0
  18. package/templates/beauty-salon/tier5-src/business-contact/index.ts +6 -0
  19. package/templates/branded-lite/config.ts +7 -0
  20. package/templates/branded-lite/dev/index.ts +246 -0
  21. package/templates/branded-lite/himalaya.content.json +3 -0
  22. package/templates/branded-lite/tier5-src/business-contact/index.ts +6 -0
  23. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +39 -11
  24. package/templates/community-club/config.ts +7 -0
  25. package/templates/community-club/dev/index.ts +213 -0
  26. package/templates/community-club/himalaya.content.json +3 -0
  27. package/templates/community-club/tier5-src/business-contact/index.ts +6 -0
  28. package/templates/events-meetups/config.ts +7 -0
  29. package/templates/events-meetups/dev/index.ts +213 -0
  30. package/templates/events-meetups/himalaya.content.json +3 -0
  31. package/templates/events-meetups/tier5-src/business-contact/index.ts +6 -0
  32. package/templates/gym-fitness/config.ts +7 -0
  33. package/templates/gym-fitness/dev/index.ts +213 -0
  34. package/templates/gym-fitness/himalaya.content.json +3 -0
  35. package/templates/gym-fitness/tier5-src/business-contact/index.ts +6 -0
  36. package/templates/nonprofit-cause/config.ts +7 -0
  37. package/templates/nonprofit-cause/dev/index.ts +213 -0
  38. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  39. package/templates/nonprofit-cause/tier5-src/business-contact/index.ts +6 -0
  40. package/templates/podcast-creator/config.ts +7 -0
  41. package/templates/podcast-creator/dev/index.ts +213 -0
  42. package/templates/podcast-creator/himalaya.content.json +3 -0
  43. package/templates/podcast-creator/tier5-src/business-contact/index.ts +6 -0
  44. package/templates/portfolio-creative/config.ts +7 -0
  45. package/templates/portfolio-creative/dev/index.ts +213 -0
  46. package/templates/portfolio-creative/himalaya.content.json +3 -0
  47. package/templates/portfolio-creative/tier5-src/business-contact/index.ts +6 -0
  48. package/templates/restaurant/config.ts +7 -0
  49. package/templates/restaurant/dev/index.ts +213 -0
  50. package/templates/restaurant/himalaya.content.json +3 -0
  51. package/templates/restaurant/tier5-src/business-contact/index.ts +6 -0
  52. package/templates/retail-store/config.ts +7 -0
  53. package/templates/retail-store/dev/index.ts +213 -0
  54. package/templates/retail-store/himalaya.content.json +3 -0
  55. package/templates/retail-store/tier5-src/business-contact/index.ts +6 -0
  56. package/templates/yoga-studio/config.ts +7 -0
  57. package/templates/yoga-studio/dev/index.ts +213 -0
  58. package/templates/yoga-studio/himalaya.content.json +3 -0
  59. package/templates/yoga-studio/tier5-src/business-contact/index.ts +6 -0
@@ -6231,6 +6231,219 @@ const SCREENS = runtimeSetting({
6231
6231
  "bundleVersion": "0.0.1"
6232
6232
  }
6233
6233
  },
6234
+ "himi_business_contact": {
6235
+ "screenId": "himi_business_contact",
6236
+ "title": "Business contact",
6237
+ "renderer": "sdui_intent",
6238
+ "schemaVersion": 1,
6239
+ "cacheControl": {
6240
+ "maxAge": 0,
6241
+ "staleWhileRevalidate": 0
6242
+ },
6243
+ "payload": {
6244
+ "id": "himi_business_contact.root",
6245
+ "body": {
6246
+ "package": "himalaya",
6247
+ "type": "VStack",
6248
+ "props": {
6249
+ "spacing": 16,
6250
+ "alignment": "leading",
6251
+ "children": [
6252
+ {
6253
+ "id": "himi_business_contact.section",
6254
+ "body": {
6255
+ "package": "himalaya",
6256
+ "type": "VStack",
6257
+ "props": {
6258
+ "spacing": 12,
6259
+ "alignment": "leading",
6260
+ "children": [
6261
+ {
6262
+ "id": "himi_business_contact.section.directions_copy",
6263
+ "body": {
6264
+ "package": "himalaya",
6265
+ "type": "Text",
6266
+ "props": {
6267
+ "text": "Directions",
6268
+ "style": "body",
6269
+ "collapseWhenEmpty": true
6270
+ }
6271
+ },
6272
+ "modifiers": {
6273
+ "hidden": true
6274
+ }
6275
+ },
6276
+ {
6277
+ "id": "himi_business_contact.section.unavailable",
6278
+ "body": {
6279
+ "package": "himalaya",
6280
+ "type": "Text",
6281
+ "props": {
6282
+ "text": "Contact details unavailable",
6283
+ "style": "body",
6284
+ "collapseWhenEmpty": true
6285
+ }
6286
+ }
6287
+ },
6288
+ {
6289
+ "id": "himi_business_contact.section.member_count",
6290
+ "body": {
6291
+ "package": "himalaya",
6292
+ "type": "FragmentSlot",
6293
+ "props": {
6294
+ "casePath": "$service:businessContact.memberCountCase",
6295
+ "defaultCase": "unavailable",
6296
+ "cases": [
6297
+ {
6298
+ "id": "one",
6299
+ "content": {
6300
+ "id": "himi_business_contact.section.members_one",
6301
+ "body": {
6302
+ "package": "himalaya",
6303
+ "type": "HStack",
6304
+ "props": {
6305
+ "spacing": 4,
6306
+ "alignment": "center",
6307
+ "children": [
6308
+ {
6309
+ "id": "himi_business_contact.section.count_one",
6310
+ "body": {
6311
+ "package": "himalaya",
6312
+ "type": "Text",
6313
+ "props": {
6314
+ "text": "$service:businessContact.memberCount",
6315
+ "style": "footnote",
6316
+ "collapseWhenEmpty": true
6317
+ }
6318
+ }
6319
+ },
6320
+ {
6321
+ "id": "himi_business_contact.section.unit_one",
6322
+ "body": {
6323
+ "package": "himalaya",
6324
+ "type": "Text",
6325
+ "props": {
6326
+ "text": "member",
6327
+ "style": "footnote",
6328
+ "collapseWhenEmpty": true
6329
+ }
6330
+ }
6331
+ }
6332
+ ]
6333
+ }
6334
+ }
6335
+ }
6336
+ },
6337
+ {
6338
+ "id": "other",
6339
+ "content": {
6340
+ "id": "himi_business_contact.section.members_other",
6341
+ "body": {
6342
+ "package": "himalaya",
6343
+ "type": "HStack",
6344
+ "props": {
6345
+ "spacing": 4,
6346
+ "alignment": "center",
6347
+ "children": [
6348
+ {
6349
+ "id": "himi_business_contact.section.count_other",
6350
+ "body": {
6351
+ "package": "himalaya",
6352
+ "type": "Text",
6353
+ "props": {
6354
+ "text": "$service:businessContact.memberCount",
6355
+ "style": "footnote",
6356
+ "collapseWhenEmpty": true
6357
+ }
6358
+ }
6359
+ },
6360
+ {
6361
+ "id": "himi_business_contact.section.unit_other",
6362
+ "body": {
6363
+ "package": "himalaya",
6364
+ "type": "Text",
6365
+ "props": {
6366
+ "text": "members",
6367
+ "style": "footnote",
6368
+ "collapseWhenEmpty": true
6369
+ }
6370
+ }
6371
+ }
6372
+ ]
6373
+ }
6374
+ }
6375
+ }
6376
+ },
6377
+ {
6378
+ "id": "unavailable",
6379
+ "content": {
6380
+ "id": "himi_business_contact.section.members_unavailable",
6381
+ "body": {
6382
+ "package": "himalaya",
6383
+ "type": "Text",
6384
+ "props": {
6385
+ "text": "Member count unavailable",
6386
+ "style": "footnote",
6387
+ "collapseWhenEmpty": true
6388
+ }
6389
+ }
6390
+ }
6391
+ }
6392
+ ]
6393
+ }
6394
+ },
6395
+ "modifiers": {
6396
+ "hidden": true
6397
+ }
6398
+ },
6399
+ {
6400
+ "id": "himi_business_contact.section.feedback",
6401
+ "body": {
6402
+ "package": "himalaya",
6403
+ "type": "Text",
6404
+ "props": {
6405
+ "text": "$service:businessContact.message",
6406
+ "style": "footnote",
6407
+ "collapseWhenEmpty": true
6408
+ }
6409
+ }
6410
+ }
6411
+ ]
6412
+ }
6413
+ }
6414
+ }
6415
+ ]
6416
+ }
6417
+ },
6418
+ "modifiers": {
6419
+ "background": {
6420
+ "token": "surfacePrimary"
6421
+ },
6422
+ "padding": {
6423
+ "leading": 20,
6424
+ "trailing": 20,
6425
+ "top": 18,
6426
+ "bottom": 28
6427
+ },
6428
+ "onAppear": {
6429
+ "actionId": "tier5.businessContact.load",
6430
+ "args": {
6431
+ "showMemberCount": false
6432
+ }
6433
+ }
6434
+ }
6435
+ },
6436
+ "logicBundle": {
6437
+ "url": "http://localhost:8190/v1/bundles/business-contact?integrity=",
6438
+ "integrity": "",
6439
+ "contentType": "application/javascript+ts-bundle",
6440
+ "declaredCapabilities": [
6441
+ "open_url"
6442
+ ],
6443
+ "minBinaryVersion": "0.1.0",
6444
+ "bundleVersion": "0.0.1"
6445
+ }
6446
+ },
6234
6447
  "himi_appearance": {
6235
6448
  "screenId": "himi_appearance",
6236
6449
  "renderer": "sdui_intent",
@@ -28,6 +28,9 @@
28
28
  "himi_branded_splash": {
29
29
  "displayName": "Splash"
30
30
  },
31
+ "himi_business_contact": {
32
+ "displayName": "Business contact"
33
+ },
31
34
  "himi_create_post": {
32
35
  "displayName": "Create Post"
33
36
  },
@@ -0,0 +1,6 @@
1
+ import { createBusinessContactService } from "@himalaya/screens";
2
+
3
+ // Contact values and the optional public total are build-time source evidence.
4
+ // No owner API, device location, or cross-site source URL is read by this worker.
5
+ const svc = createBusinessContactService();
6
+ export { svc };
@@ -81,6 +81,13 @@ export default defineApp({
81
81
  "parentScreenId": "himi_account",
82
82
  "tabId": "profile"
83
83
  },
84
+ {
85
+ "screenId": "himi_business_contact",
86
+ "isPublic": true,
87
+ "paramKeys": [],
88
+ "parentScreenId": "himi_account",
89
+ "tabId": "profile"
90
+ },
84
91
  {
85
92
  "screenId": "himi_appearance",
86
93
  "isPublic": true,
@@ -6169,6 +6169,219 @@ const SCREENS = runtimeSetting({
6169
6169
  "bundleVersion": "0.0.1"
6170
6170
  }
6171
6171
  },
6172
+ "himi_business_contact": {
6173
+ "screenId": "himi_business_contact",
6174
+ "title": "Business contact",
6175
+ "renderer": "sdui_intent",
6176
+ "schemaVersion": 1,
6177
+ "cacheControl": {
6178
+ "maxAge": 0,
6179
+ "staleWhileRevalidate": 0
6180
+ },
6181
+ "payload": {
6182
+ "id": "himi_business_contact.root",
6183
+ "body": {
6184
+ "package": "himalaya",
6185
+ "type": "VStack",
6186
+ "props": {
6187
+ "spacing": 16,
6188
+ "alignment": "leading",
6189
+ "children": [
6190
+ {
6191
+ "id": "himi_business_contact.section",
6192
+ "body": {
6193
+ "package": "himalaya",
6194
+ "type": "VStack",
6195
+ "props": {
6196
+ "spacing": 12,
6197
+ "alignment": "leading",
6198
+ "children": [
6199
+ {
6200
+ "id": "himi_business_contact.section.directions_copy",
6201
+ "body": {
6202
+ "package": "himalaya",
6203
+ "type": "Text",
6204
+ "props": {
6205
+ "text": "Directions",
6206
+ "style": "body",
6207
+ "collapseWhenEmpty": true
6208
+ }
6209
+ },
6210
+ "modifiers": {
6211
+ "hidden": true
6212
+ }
6213
+ },
6214
+ {
6215
+ "id": "himi_business_contact.section.unavailable",
6216
+ "body": {
6217
+ "package": "himalaya",
6218
+ "type": "Text",
6219
+ "props": {
6220
+ "text": "Contact details unavailable",
6221
+ "style": "body",
6222
+ "collapseWhenEmpty": true
6223
+ }
6224
+ }
6225
+ },
6226
+ {
6227
+ "id": "himi_business_contact.section.member_count",
6228
+ "body": {
6229
+ "package": "himalaya",
6230
+ "type": "FragmentSlot",
6231
+ "props": {
6232
+ "casePath": "$service:businessContact.memberCountCase",
6233
+ "defaultCase": "unavailable",
6234
+ "cases": [
6235
+ {
6236
+ "id": "one",
6237
+ "content": {
6238
+ "id": "himi_business_contact.section.members_one",
6239
+ "body": {
6240
+ "package": "himalaya",
6241
+ "type": "HStack",
6242
+ "props": {
6243
+ "spacing": 4,
6244
+ "alignment": "center",
6245
+ "children": [
6246
+ {
6247
+ "id": "himi_business_contact.section.count_one",
6248
+ "body": {
6249
+ "package": "himalaya",
6250
+ "type": "Text",
6251
+ "props": {
6252
+ "text": "$service:businessContact.memberCount",
6253
+ "style": "footnote",
6254
+ "collapseWhenEmpty": true
6255
+ }
6256
+ }
6257
+ },
6258
+ {
6259
+ "id": "himi_business_contact.section.unit_one",
6260
+ "body": {
6261
+ "package": "himalaya",
6262
+ "type": "Text",
6263
+ "props": {
6264
+ "text": "member",
6265
+ "style": "footnote",
6266
+ "collapseWhenEmpty": true
6267
+ }
6268
+ }
6269
+ }
6270
+ ]
6271
+ }
6272
+ }
6273
+ }
6274
+ },
6275
+ {
6276
+ "id": "other",
6277
+ "content": {
6278
+ "id": "himi_business_contact.section.members_other",
6279
+ "body": {
6280
+ "package": "himalaya",
6281
+ "type": "HStack",
6282
+ "props": {
6283
+ "spacing": 4,
6284
+ "alignment": "center",
6285
+ "children": [
6286
+ {
6287
+ "id": "himi_business_contact.section.count_other",
6288
+ "body": {
6289
+ "package": "himalaya",
6290
+ "type": "Text",
6291
+ "props": {
6292
+ "text": "$service:businessContact.memberCount",
6293
+ "style": "footnote",
6294
+ "collapseWhenEmpty": true
6295
+ }
6296
+ }
6297
+ },
6298
+ {
6299
+ "id": "himi_business_contact.section.unit_other",
6300
+ "body": {
6301
+ "package": "himalaya",
6302
+ "type": "Text",
6303
+ "props": {
6304
+ "text": "members",
6305
+ "style": "footnote",
6306
+ "collapseWhenEmpty": true
6307
+ }
6308
+ }
6309
+ }
6310
+ ]
6311
+ }
6312
+ }
6313
+ }
6314
+ },
6315
+ {
6316
+ "id": "unavailable",
6317
+ "content": {
6318
+ "id": "himi_business_contact.section.members_unavailable",
6319
+ "body": {
6320
+ "package": "himalaya",
6321
+ "type": "Text",
6322
+ "props": {
6323
+ "text": "Member count unavailable",
6324
+ "style": "footnote",
6325
+ "collapseWhenEmpty": true
6326
+ }
6327
+ }
6328
+ }
6329
+ }
6330
+ ]
6331
+ }
6332
+ },
6333
+ "modifiers": {
6334
+ "hidden": true
6335
+ }
6336
+ },
6337
+ {
6338
+ "id": "himi_business_contact.section.feedback",
6339
+ "body": {
6340
+ "package": "himalaya",
6341
+ "type": "Text",
6342
+ "props": {
6343
+ "text": "$service:businessContact.message",
6344
+ "style": "footnote",
6345
+ "collapseWhenEmpty": true
6346
+ }
6347
+ }
6348
+ }
6349
+ ]
6350
+ }
6351
+ }
6352
+ }
6353
+ ]
6354
+ }
6355
+ },
6356
+ "modifiers": {
6357
+ "background": {
6358
+ "token": "surfacePrimary"
6359
+ },
6360
+ "padding": {
6361
+ "leading": 20,
6362
+ "trailing": 20,
6363
+ "top": 18,
6364
+ "bottom": 28
6365
+ },
6366
+ "onAppear": {
6367
+ "actionId": "tier5.businessContact.load",
6368
+ "args": {
6369
+ "showMemberCount": false
6370
+ }
6371
+ }
6372
+ }
6373
+ },
6374
+ "logicBundle": {
6375
+ "url": "http://localhost:8190/v1/bundles/business-contact?integrity=",
6376
+ "integrity": "",
6377
+ "contentType": "application/javascript+ts-bundle",
6378
+ "declaredCapabilities": [
6379
+ "open_url"
6380
+ ],
6381
+ "minBinaryVersion": "0.1.0",
6382
+ "bundleVersion": "0.0.1"
6383
+ }
6384
+ },
6172
6385
  "himi_appearance": {
6173
6386
  "screenId": "himi_appearance",
6174
6387
  "renderer": "sdui_intent",
@@ -28,6 +28,9 @@
28
28
  "himi_branded_splash": {
29
29
  "displayName": "Splash"
30
30
  },
31
+ "himi_business_contact": {
32
+ "displayName": "Business contact"
33
+ },
31
34
  "himi_create_post": {
32
35
  "displayName": "Create Post"
33
36
  },
@@ -0,0 +1,6 @@
1
+ import { createBusinessContactService } from "@himalaya/screens";
2
+
3
+ // Contact values and the optional public total are build-time source evidence.
4
+ // No owner API, device location, or cross-site source URL is read by this worker.
5
+ const svc = createBusinessContactService();
6
+ export { svc };
@@ -81,6 +81,13 @@ export default defineApp({
81
81
  "parentScreenId": "himi_account",
82
82
  "tabId": "profile"
83
83
  },
84
+ {
85
+ "screenId": "himi_business_contact",
86
+ "isPublic": true,
87
+ "paramKeys": [],
88
+ "parentScreenId": "himi_account",
89
+ "tabId": "profile"
90
+ },
84
91
  {
85
92
  "screenId": "himi_appearance",
86
93
  "isPublic": true,