@wix/himalaya-cli 0.2017.0 → 0.2019.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 (47) hide show
  1. package/dist/cli.mjs +13 -0
  2. package/guides/widgets.md +4 -2
  3. package/package.json +2 -2
  4. package/templates/beauty-salon-owner/dev/index.ts +237 -200
  5. package/templates/beauty-salon-owner/himalaya.content.json +9 -0
  6. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  7. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  8. package/templates/community-club-owner/dev/index.ts +314 -49
  9. package/templates/community-club-owner/himalaya.content.json +9 -0
  10. package/templates/community-club-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  11. package/templates/community-club-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  12. package/templates/events-meetups-owner/dev/index.ts +330 -23
  13. package/templates/events-meetups-owner/himalaya.content.json +9 -0
  14. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  15. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  16. package/templates/gym-fitness-owner/dev/index.ts +237 -200
  17. package/templates/gym-fitness-owner/himalaya.content.json +9 -0
  18. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  19. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  20. package/templates/nonprofit-cause-owner/dev/index.ts +237 -158
  21. package/templates/nonprofit-cause-owner/himalaya.content.json +9 -0
  22. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  23. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  24. package/templates/owner-lite/dev/index.ts +237 -200
  25. package/templates/owner-lite/himalaya.content.json +9 -0
  26. package/templates/owner-lite/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  27. package/templates/owner-lite/tier5-src/himi-owner-lite-today/index.ts +89 -37
  28. package/templates/podcast-creator-owner/dev/index.ts +314 -49
  29. package/templates/podcast-creator-owner/himalaya.content.json +9 -0
  30. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  31. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  32. package/templates/portfolio-creative-owner/dev/index.ts +237 -200
  33. package/templates/portfolio-creative-owner/himalaya.content.json +9 -0
  34. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  35. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  36. package/templates/restaurant-owner/dev/index.ts +237 -200
  37. package/templates/restaurant-owner/himalaya.content.json +9 -0
  38. package/templates/restaurant-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  39. package/templates/restaurant-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  40. package/templates/retail-store-owner/dev/index.ts +314 -49
  41. package/templates/retail-store-owner/himalaya.content.json +9 -0
  42. package/templates/retail-store-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  43. package/templates/retail-store-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
  44. package/templates/yoga-studio-owner/dev/index.ts +237 -158
  45. package/templates/yoga-studio-owner/himalaya.content.json +9 -0
  46. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-today/glance.ts +274 -0
  47. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-today/index.ts +89 -37
@@ -69098,7 +69098,7 @@ const SCREENS = runtimeSetting({
69098
69098
  "package": "himalaya",
69099
69099
  "type": "Text",
69100
69100
  "props": {
69101
- "text": "Today",
69101
+ "text": "Now",
69102
69102
  "style": "caption",
69103
69103
  "color": "textSecondary",
69104
69104
  "maxLines": 1
@@ -69125,6 +69125,76 @@ const SCREENS = runtimeSetting({
69125
69125
  "hiddenPath": "$service:ownerToday.hideMessage"
69126
69126
  }
69127
69127
  },
69128
+ {
69129
+ "id": "owner_widget.small.glance",
69130
+ "body": {
69131
+ "package": "himalaya",
69132
+ "type": "VStack",
69133
+ "props": {
69134
+ "spacing": 1,
69135
+ "alignment": "leading",
69136
+ "children": [
69137
+ {
69138
+ "id": "owner_widget.small.time",
69139
+ "body": {
69140
+ "package": "himalaya",
69141
+ "type": "Text",
69142
+ "props": {
69143
+ "text": "$service:ownerToday.glanceTime",
69144
+ "style": "title2",
69145
+ "maxLines": 1,
69146
+ "monospacedDigits": true
69147
+ }
69148
+ },
69149
+ "modifiers": {
69150
+ "hiddenPath": "$service:ownerToday.hideGlanceTime"
69151
+ }
69152
+ },
69153
+ {
69154
+ "id": "owner_widget.small.what",
69155
+ "body": {
69156
+ "package": "himalaya",
69157
+ "type": "VStack",
69158
+ "props": {
69159
+ "spacing": 1,
69160
+ "alignment": "leading",
69161
+ "children": [
69162
+ {
69163
+ "id": "owner_widget.small.headline",
69164
+ "body": {
69165
+ "package": "himalaya",
69166
+ "type": "Text",
69167
+ "props": {
69168
+ "text": "$service:ownerToday.glanceHeadline",
69169
+ "style": "bodyEmphasis",
69170
+ "maxLines": 2
69171
+ }
69172
+ }
69173
+ },
69174
+ {
69175
+ "id": "owner_widget.small.detail",
69176
+ "body": {
69177
+ "package": "himalaya",
69178
+ "type": "Text",
69179
+ "props": {
69180
+ "text": "$service:ownerToday.glanceDetail",
69181
+ "style": "caption",
69182
+ "color": "textSecondary",
69183
+ "maxLines": 1
69184
+ }
69185
+ }
69186
+ }
69187
+ ]
69188
+ }
69189
+ }
69190
+ }
69191
+ ]
69192
+ }
69193
+ },
69194
+ "modifiers": {
69195
+ "hiddenPath": "$service:ownerToday.message"
69196
+ }
69197
+ },
69128
69198
  {
69129
69199
  "id": "owner_widget.small.spacer",
69130
69200
  "body": {
@@ -69134,19 +69204,19 @@ const SCREENS = runtimeSetting({
69134
69204
  }
69135
69205
  },
69136
69206
  {
69137
- "id": "owner_widget.small.counts",
69207
+ "id": "owner_widget.small.secondary",
69138
69208
  "body": {
69139
69209
  "package": "himalaya",
69140
69210
  "type": "Text",
69141
69211
  "props": {
69142
- "text": "$service:ownerToday.countsShort",
69212
+ "text": "$service:ownerToday.glanceSecondary",
69143
69213
  "style": "caption",
69144
69214
  "maxLines": 1,
69145
69215
  "monospacedDigits": true
69146
69216
  }
69147
69217
  },
69148
69218
  "modifiers": {
69149
- "hiddenPath": "$service:ownerToday.message"
69219
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
69150
69220
  }
69151
69221
  }
69152
69222
  ]
@@ -69154,7 +69224,7 @@ const SCREENS = runtimeSetting({
69154
69224
  }
69155
69225
  },
69156
69226
  "input": {
69157
- "verticals": "store"
69227
+ "verticals": "store,blog"
69158
69228
  },
69159
69229
  "logicBundle": {
69160
69230
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
@@ -69243,80 +69313,65 @@ const SCREENS = runtimeSetting({
69243
69313
  }
69244
69314
  },
69245
69315
  {
69246
- "id": "owner_widget.medium.spacer",
69247
- "body": {
69248
- "package": "himalaya",
69249
- "type": "Spacer",
69250
- "props": {}
69251
- }
69252
- },
69253
- {
69254
- "id": "owner_widget.medium.divider",
69255
- "body": {
69256
- "package": "himalaya",
69257
- "type": "Divider",
69258
- "props": {}
69259
- },
69260
- "modifiers": {
69261
- "hiddenPath": "$service:ownerToday.message"
69262
- }
69263
- },
69264
- {
69265
- "id": "owner_widget.medium.counts",
69316
+ "id": "owner_widget.medium.glance",
69266
69317
  "body": {
69267
69318
  "package": "himalaya",
69268
69319
  "type": "HStack",
69269
69320
  "props": {
69270
- "spacing": 8,
69321
+ "spacing": 10,
69271
69322
  "children": [
69272
69323
  {
69273
- "id": "owner_widget.medium.counts_spacer",
69324
+ "id": "owner_widget.medium.time",
69274
69325
  "body": {
69275
69326
  "package": "himalaya",
69276
- "type": "Spacer",
69277
- "props": {}
69327
+ "type": "Text",
69328
+ "props": {
69329
+ "text": "$service:ownerToday.glanceTime",
69330
+ "style": "title2",
69331
+ "maxLines": 1,
69332
+ "monospacedDigits": true
69333
+ }
69334
+ },
69335
+ "modifiers": {
69336
+ "hiddenPath": "$service:ownerToday.hideGlanceTime"
69278
69337
  }
69279
69338
  },
69280
69339
  {
69281
- "id": "owner_widget.medium.orders_row",
69340
+ "id": "owner_widget.medium.what",
69282
69341
  "body": {
69283
69342
  "package": "himalaya",
69284
- "type": "HStack",
69343
+ "type": "VStack",
69285
69344
  "props": {
69286
- "spacing": 4,
69345
+ "spacing": 1,
69346
+ "alignment": "leading",
69287
69347
  "children": [
69288
69348
  {
69289
- "id": "owner_widget.medium.orders_icon",
69349
+ "id": "owner_widget.medium.headline",
69290
69350
  "body": {
69291
69351
  "package": "himalaya",
69292
- "type": "Icon",
69352
+ "type": "Text",
69293
69353
  "props": {
69294
- "name": "bag",
69295
- "size": 12,
69296
- "tint": "accentPrimary"
69354
+ "text": "$service:ownerToday.glanceHeadline",
69355
+ "style": "bodyEmphasis",
69356
+ "maxLines": 2
69297
69357
  }
69298
- },
69299
- "modifiers": {
69300
- "accessibilityRole": "decorative"
69301
69358
  }
69302
69359
  },
69303
69360
  {
69304
- "id": "owner_widget.medium.orders",
69361
+ "id": "owner_widget.medium.detail",
69305
69362
  "body": {
69306
69363
  "package": "himalaya",
69307
69364
  "type": "Text",
69308
69365
  "props": {
69309
- "text": "$service:ownerToday.orderLabel",
69310
- "style": "footnote",
69366
+ "text": "$service:ownerToday.glanceDetail",
69367
+ "style": "caption",
69368
+ "color": "textSecondary",
69311
69369
  "maxLines": 1
69312
69370
  }
69313
69371
  }
69314
69372
  }
69315
69373
  ]
69316
69374
  }
69317
- },
69318
- "modifiers": {
69319
- "hiddenPath": "$service:ownerToday.hideOrders"
69320
69375
  }
69321
69376
  }
69322
69377
  ]
@@ -69325,13 +69380,223 @@ const SCREENS = runtimeSetting({
69325
69380
  "modifiers": {
69326
69381
  "hiddenPath": "$service:ownerToday.message"
69327
69382
  }
69383
+ },
69384
+ {
69385
+ "id": "owner_widget.medium.spacer",
69386
+ "body": {
69387
+ "package": "himalaya",
69388
+ "type": "Spacer",
69389
+ "props": {}
69390
+ }
69391
+ },
69392
+ {
69393
+ "id": "owner_widget.medium.divider",
69394
+ "body": {
69395
+ "package": "himalaya",
69396
+ "type": "Divider",
69397
+ "props": {}
69398
+ },
69399
+ "modifiers": {
69400
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
69401
+ }
69402
+ },
69403
+ {
69404
+ "id": "owner_widget.medium.secondary",
69405
+ "body": {
69406
+ "package": "himalaya",
69407
+ "type": "Text",
69408
+ "props": {
69409
+ "text": "$service:ownerToday.glanceSecondary",
69410
+ "style": "footnote",
69411
+ "maxLines": 1,
69412
+ "monospacedDigits": true
69413
+ }
69414
+ },
69415
+ "modifiers": {
69416
+ "hiddenPath": "$service:ownerToday.hideGlanceSecondary"
69417
+ }
69328
69418
  }
69329
69419
  ]
69330
69420
  }
69331
69421
  }
69332
69422
  },
69333
69423
  "input": {
69334
- "verticals": "store"
69424
+ "verticals": "store,blog"
69425
+ },
69426
+ "logicBundle": {
69427
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69428
+ "integrity": "",
69429
+ "contentType": "application/javascript+ts-bundle",
69430
+ "declaredCapabilities": [
69431
+ "wix_api"
69432
+ ],
69433
+ "minBinaryVersion": "0.1.0",
69434
+ "bundleVersion": "0.0.1"
69435
+ }
69436
+ },
69437
+ "himi_owner_lite_widget_today_lock_circular": {
69438
+ "screenId": "himi_owner_lite_widget_today_lock_circular",
69439
+ "renderer": "sdui_intent",
69440
+ "title": "Today widget (Lock Screen, circular)",
69441
+ "schemaVersion": 1,
69442
+ "cacheControl": {
69443
+ "maxAge": 0,
69444
+ "staleWhileRevalidate": 0
69445
+ },
69446
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_circular",
69447
+ "payload": {
69448
+ "id": "himi_owner_lite_widget_today_lock_circular.root",
69449
+ "body": {
69450
+ "package": "himalaya",
69451
+ "type": "VStack",
69452
+ "props": {
69453
+ "spacing": 0,
69454
+ "alignment": "center",
69455
+ "children": [
69456
+ {
69457
+ "id": "owner_widget.lock_circular.value",
69458
+ "body": {
69459
+ "package": "himalaya",
69460
+ "type": "Text",
69461
+ "props": {
69462
+ "text": "$service:ownerToday.lockCircValue",
69463
+ "style": "bodyEmphasis",
69464
+ "maxLines": 1,
69465
+ "monospacedDigits": true
69466
+ }
69467
+ }
69468
+ },
69469
+ {
69470
+ "id": "owner_widget.lock_circular.label",
69471
+ "body": {
69472
+ "package": "himalaya",
69473
+ "type": "Text",
69474
+ "props": {
69475
+ "text": "$service:ownerToday.lockCircLabel",
69476
+ "style": "caption",
69477
+ "maxLines": 1
69478
+ }
69479
+ }
69480
+ }
69481
+ ]
69482
+ }
69483
+ }
69484
+ },
69485
+ "input": {
69486
+ "verticals": "store,blog"
69487
+ },
69488
+ "logicBundle": {
69489
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69490
+ "integrity": "",
69491
+ "contentType": "application/javascript+ts-bundle",
69492
+ "declaredCapabilities": [
69493
+ "wix_api"
69494
+ ],
69495
+ "minBinaryVersion": "0.1.0",
69496
+ "bundleVersion": "0.0.1"
69497
+ }
69498
+ },
69499
+ "himi_owner_lite_widget_today_lock_rectangular": {
69500
+ "screenId": "himi_owner_lite_widget_today_lock_rectangular",
69501
+ "renderer": "sdui_intent",
69502
+ "title": "Today widget (Lock Screen, rectangular)",
69503
+ "schemaVersion": 1,
69504
+ "cacheControl": {
69505
+ "maxAge": 0,
69506
+ "staleWhileRevalidate": 0
69507
+ },
69508
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_rectangular",
69509
+ "payload": {
69510
+ "id": "himi_owner_lite_widget_today_lock_rectangular.root",
69511
+ "body": {
69512
+ "package": "himalaya",
69513
+ "type": "VStack",
69514
+ "props": {
69515
+ "spacing": 1,
69516
+ "alignment": "leading",
69517
+ "children": [
69518
+ {
69519
+ "id": "owner_widget.lock_rectangular.title",
69520
+ "body": {
69521
+ "package": "himalaya",
69522
+ "type": "Text",
69523
+ "props": {
69524
+ "text": "$service:ownerToday.lockRectTitle",
69525
+ "style": "bodyEmphasis",
69526
+ "maxLines": 1
69527
+ }
69528
+ }
69529
+ },
69530
+ {
69531
+ "id": "owner_widget.lock_rectangular.detail",
69532
+ "body": {
69533
+ "package": "himalaya",
69534
+ "type": "Text",
69535
+ "props": {
69536
+ "text": "$service:ownerToday.lockRectDetail",
69537
+ "style": "caption",
69538
+ "maxLines": 1
69539
+ }
69540
+ }
69541
+ },
69542
+ {
69543
+ "id": "owner_widget.lock_rectangular.secondary",
69544
+ "body": {
69545
+ "package": "himalaya",
69546
+ "type": "Text",
69547
+ "props": {
69548
+ "text": "$service:ownerToday.lockRectSecondary",
69549
+ "style": "caption",
69550
+ "maxLines": 1,
69551
+ "monospacedDigits": true
69552
+ }
69553
+ },
69554
+ "modifiers": {
69555
+ "hiddenPath": "$service:ownerToday.lockHideSecondary"
69556
+ }
69557
+ }
69558
+ ]
69559
+ }
69560
+ }
69561
+ },
69562
+ "input": {
69563
+ "verticals": "store,blog"
69564
+ },
69565
+ "logicBundle": {
69566
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
69567
+ "integrity": "",
69568
+ "contentType": "application/javascript+ts-bundle",
69569
+ "declaredCapabilities": [
69570
+ "wix_api"
69571
+ ],
69572
+ "minBinaryVersion": "0.1.0",
69573
+ "bundleVersion": "0.0.1"
69574
+ }
69575
+ },
69576
+ "himi_owner_lite_widget_today_lock_inline": {
69577
+ "screenId": "himi_owner_lite_widget_today_lock_inline",
69578
+ "renderer": "sdui_intent",
69579
+ "title": "Today widget (Lock Screen, inline)",
69580
+ "schemaVersion": 1,
69581
+ "cacheControl": {
69582
+ "maxAge": 0,
69583
+ "staleWhileRevalidate": 0
69584
+ },
69585
+ "telemetryScreenName": "himi_owner_lite_widget_today_lock_inline",
69586
+ "payload": {
69587
+ "id": "himi_owner_lite_widget_today_lock_inline.root",
69588
+ "body": {
69589
+ "package": "himalaya",
69590
+ "type": "Text",
69591
+ "props": {
69592
+ "text": "$service:ownerToday.lockInline",
69593
+ "style": "caption",
69594
+ "maxLines": 1
69595
+ }
69596
+ }
69597
+ },
69598
+ "input": {
69599
+ "verticals": "store,blog"
69335
69600
  },
69336
69601
  "logicBundle": {
69337
69602
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today",
@@ -69599,7 +69864,7 @@ const SCREENS = runtimeSetting({
69599
69864
  }
69600
69865
  },
69601
69866
  "input": {
69602
- "verticals": "store"
69867
+ "verticals": "store,blog"
69603
69868
  },
69604
69869
  "logicBundle": {
69605
69870
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today-rollup",
@@ -69901,7 +70166,7 @@ const SCREENS = runtimeSetting({
69901
70166
  }
69902
70167
  },
69903
70168
  "input": {
69904
- "verticals": "store"
70169
+ "verticals": "store,blog"
69905
70170
  },
69906
70171
  "logicBundle": {
69907
70172
  "url": "http://localhost:8190/v1/bundles/himi-owner-lite-today-rollup",
@@ -184,6 +184,15 @@
184
184
  "himi_owner_lite_widget_rollup_small": {
185
185
  "displayName": "Today rollup widget (small)"
186
186
  },
187
+ "himi_owner_lite_widget_today_lock_circular": {
188
+ "displayName": "Today widget (Lock Screen, circular)"
189
+ },
190
+ "himi_owner_lite_widget_today_lock_inline": {
191
+ "displayName": "Today widget (Lock Screen, inline)"
192
+ },
193
+ "himi_owner_lite_widget_today_lock_rectangular": {
194
+ "displayName": "Today widget (Lock Screen, rectangular)"
195
+ },
187
196
  "himi_owner_lite_widget_today_medium": {
188
197
  "displayName": "Today widget (medium)"
189
198
  },