@wix/himalaya-cli 0.1582.0 → 0.1583.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 (50) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +8 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +26 -2
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +18 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +5 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +5 -1
  6. package/dist/cli.mjs +888 -553
  7. package/dist/preview-assets.generated.bin +0 -0
  8. package/guides/component-reference.json +4 -3
  9. package/guides/component-reference.md +24 -2
  10. package/package.json +2 -2
  11. package/templates/beauty-salon/config.ts +20 -1
  12. package/templates/beauty-salon/dev/index.ts +1751 -629
  13. package/templates/beauty-salon/tier5-src/_shared/booking-location.ts +147 -0
  14. package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +222 -0
  15. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +277 -14
  16. package/templates/beauty-salon/tier5-src/himi-booking-services/index.ts +351 -92
  17. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +25 -5
  18. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  19. package/templates/branded-lite/config.ts +20 -1
  20. package/templates/branded-lite/dev/index.ts +1688 -566
  21. package/templates/branded-lite/l10n/en.json +2 -2
  22. package/templates/branded-lite/tier5-src/_shared/booking-location.ts +147 -0
  23. package/templates/branded-lite/tier5-src/_shared/booking-session.ts +222 -0
  24. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +277 -14
  25. package/templates/branded-lite/tier5-src/himi-booking-services/index.ts +351 -92
  26. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +25 -5
  27. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  28. package/templates/community-club/config.ts +20 -1
  29. package/templates/events-meetups/config.ts +20 -1
  30. package/templates/gym-fitness/config.ts +20 -1
  31. package/templates/gym-fitness/dev/index.ts +1751 -629
  32. package/templates/gym-fitness/tier5-src/_shared/booking-location.ts +147 -0
  33. package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +222 -0
  34. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +277 -14
  35. package/templates/gym-fitness/tier5-src/himi-booking-services/index.ts +351 -92
  36. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +25 -5
  37. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  38. package/templates/nonprofit-cause/config.ts +20 -1
  39. package/templates/podcast-creator/config.ts +20 -1
  40. package/templates/portfolio-creative/config.ts +20 -1
  41. package/templates/restaurant/config.ts +20 -1
  42. package/templates/retail-store/config.ts +20 -1
  43. package/templates/yoga-studio/config.ts +20 -1
  44. package/templates/yoga-studio/dev/index.ts +1533 -411
  45. package/templates/yoga-studio/tier5-src/_shared/booking-location.ts +147 -0
  46. package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +222 -0
  47. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +277 -14
  48. package/templates/yoga-studio/tier5-src/himi-booking-services/index.ts +351 -92
  49. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +25 -5
  50. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
@@ -399,7 +399,7 @@ export default defineApp({
399
399
  // Your on-device database. It must declare every entity a worker reads or writes,
400
400
  // or those calls fail closed — keep it in step with `local_database` above.
401
401
  dataSchema: {
402
- "version": 2,
402
+ "version": 3,
403
403
  "entities": [
404
404
  {
405
405
  "name": "products",
@@ -480,6 +480,25 @@ export default defineApp({
480
480
  }
481
481
  ]
482
482
  },
483
+ {
484
+ "name": "booking_prefs",
485
+ "encrypted": false,
486
+ "fields": [
487
+ {
488
+ "name": "id",
489
+ "type": "string",
490
+ "required": true
491
+ },
492
+ {
493
+ "name": "locationId",
494
+ "type": "string"
495
+ },
496
+ {
497
+ "name": "locationLabel",
498
+ "type": "string"
499
+ }
500
+ ]
501
+ },
483
502
  {
484
503
  "name": "cms_collections",
485
504
  "encrypted": false,
@@ -432,7 +432,7 @@ export default defineApp({
432
432
  // Your on-device database. It must declare every entity a worker reads or writes,
433
433
  // or those calls fail closed — keep it in step with `local_database` above.
434
434
  dataSchema: {
435
- "version": 2,
435
+ "version": 3,
436
436
  "entities": [
437
437
  {
438
438
  "name": "products",
@@ -513,6 +513,25 @@ export default defineApp({
513
513
  }
514
514
  ]
515
515
  },
516
+ {
517
+ "name": "booking_prefs",
518
+ "encrypted": false,
519
+ "fields": [
520
+ {
521
+ "name": "id",
522
+ "type": "string",
523
+ "required": true
524
+ },
525
+ {
526
+ "name": "locationId",
527
+ "type": "string"
528
+ },
529
+ {
530
+ "name": "locationLabel",
531
+ "type": "string"
532
+ }
533
+ ]
534
+ },
516
535
  {
517
536
  "name": "cms_collections",
518
537
  "encrypted": false,
@@ -387,7 +387,7 @@ export default defineApp({
387
387
  // Your on-device database. It must declare every entity a worker reads or writes,
388
388
  // or those calls fail closed — keep it in step with `local_database` above.
389
389
  dataSchema: {
390
- "version": 2,
390
+ "version": 3,
391
391
  "entities": [
392
392
  {
393
393
  "name": "products",
@@ -468,6 +468,25 @@ export default defineApp({
468
468
  }
469
469
  ]
470
470
  },
471
+ {
472
+ "name": "booking_prefs",
473
+ "encrypted": false,
474
+ "fields": [
475
+ {
476
+ "name": "id",
477
+ "type": "string",
478
+ "required": true
479
+ },
480
+ {
481
+ "name": "locationId",
482
+ "type": "string"
483
+ },
484
+ {
485
+ "name": "locationLabel",
486
+ "type": "string"
487
+ }
488
+ ]
489
+ },
471
490
  {
472
491
  "name": "cms_collections",
473
492
  "encrypted": false,
@@ -352,7 +352,7 @@ export default defineApp({
352
352
  // Your on-device database. It must declare every entity a worker reads or writes,
353
353
  // or those calls fail closed — keep it in step with `local_database` above.
354
354
  dataSchema: {
355
- "version": 2,
355
+ "version": 3,
356
356
  "entities": [
357
357
  {
358
358
  "name": "products",
@@ -433,6 +433,25 @@ export default defineApp({
433
433
  }
434
434
  ]
435
435
  },
436
+ {
437
+ "name": "booking_prefs",
438
+ "encrypted": false,
439
+ "fields": [
440
+ {
441
+ "name": "id",
442
+ "type": "string",
443
+ "required": true
444
+ },
445
+ {
446
+ "name": "locationId",
447
+ "type": "string"
448
+ },
449
+ {
450
+ "name": "locationLabel",
451
+ "type": "string"
452
+ }
453
+ ]
454
+ },
436
455
  {
437
456
  "name": "cms_collections",
438
457
  "encrypted": false,
@@ -438,7 +438,7 @@ export default defineApp({
438
438
  // Your on-device database. It must declare every entity a worker reads or writes,
439
439
  // or those calls fail closed — keep it in step with `local_database` above.
440
440
  dataSchema: {
441
- "version": 2,
441
+ "version": 3,
442
442
  "entities": [
443
443
  {
444
444
  "name": "products",
@@ -519,6 +519,25 @@ export default defineApp({
519
519
  }
520
520
  ]
521
521
  },
522
+ {
523
+ "name": "booking_prefs",
524
+ "encrypted": false,
525
+ "fields": [
526
+ {
527
+ "name": "id",
528
+ "type": "string",
529
+ "required": true
530
+ },
531
+ {
532
+ "name": "locationId",
533
+ "type": "string"
534
+ },
535
+ {
536
+ "name": "locationLabel",
537
+ "type": "string"
538
+ }
539
+ ]
540
+ },
522
541
  {
523
542
  "name": "cms_collections",
524
543
  "encrypted": false,