@wix/himalaya-cli 0.1581.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 +17195 -17232
  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
@@ -348,7 +348,7 @@ export default defineApp({
348
348
  // Your on-device database. It must declare every entity a worker reads or writes,
349
349
  // or those calls fail closed — keep it in step with `local_database` above.
350
350
  dataSchema: {
351
- "version": 2,
351
+ "version": 3,
352
352
  "entities": [
353
353
  {
354
354
  "name": "products",
@@ -429,6 +429,25 @@ export default defineApp({
429
429
  }
430
430
  ]
431
431
  },
432
+ {
433
+ "name": "booking_prefs",
434
+ "encrypted": false,
435
+ "fields": [
436
+ {
437
+ "name": "id",
438
+ "type": "string",
439
+ "required": true
440
+ },
441
+ {
442
+ "name": "locationId",
443
+ "type": "string"
444
+ },
445
+ {
446
+ "name": "locationLabel",
447
+ "type": "string"
448
+ }
449
+ ]
450
+ },
432
451
  {
433
452
  "name": "cms_collections",
434
453
  "encrypted": false,
@@ -506,7 +506,7 @@ export default defineApp({
506
506
  // Your on-device database. It must declare every entity a worker reads or writes,
507
507
  // or those calls fail closed — keep it in step with `local_database` above.
508
508
  dataSchema: {
509
- "version": 2,
509
+ "version": 3,
510
510
  "entities": [
511
511
  {
512
512
  "name": "products",
@@ -587,6 +587,25 @@ export default defineApp({
587
587
  }
588
588
  ]
589
589
  },
590
+ {
591
+ "name": "booking_prefs",
592
+ "encrypted": false,
593
+ "fields": [
594
+ {
595
+ "name": "id",
596
+ "type": "string",
597
+ "required": true
598
+ },
599
+ {
600
+ "name": "locationId",
601
+ "type": "string"
602
+ },
603
+ {
604
+ "name": "locationLabel",
605
+ "type": "string"
606
+ }
607
+ ]
608
+ },
590
609
  {
591
610
  "name": "cms_collections",
592
611
  "encrypted": false,