@sprucelabs/spruce-cli 14.22.10 → 14.24.1

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 (192) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/build/.spruce/events/appointments/didBookAppointments.v2021_06_23.contract.d.ts +10 -0
  3. package/build/.spruce/events/appointments/didBookAppointments.v2021_06_23.contract.js +24 -0
  4. package/build/.spruce/events/appointments/didBookAppointments.v2021_06_23.contract.js.map +1 -0
  5. package/build/.spruce/events/events.contract.d.ts +346 -36
  6. package/build/.spruce/events/events.contract.js +9 -1
  7. package/build/.spruce/events/events.contract.js.map +1 -1
  8. package/build/.spruce/events/forms/convertPdfToForm.v2021_07_02.contract.d.ts +20 -2
  9. package/build/.spruce/events/forms/convertPdfToForm.v2021_07_02.contract.js +23 -5
  10. package/build/.spruce/events/forms/convertPdfToForm.v2021_07_02.contract.js.map +1 -1
  11. package/build/.spruce/events/forms/convertPdfToSchemas.v2021_07_02.contract.d.ts +20 -2
  12. package/build/.spruce/events/forms/convertPdfToSchemas.v2021_07_02.contract.js +23 -5
  13. package/build/.spruce/events/forms/convertPdfToSchemas.v2021_07_02.contract.js.map +1 -1
  14. package/build/.spruce/events/forms/createForm.v2021_07_02.contract.d.ts +20 -2
  15. package/build/.spruce/events/forms/createForm.v2021_07_02.contract.js +23 -5
  16. package/build/.spruce/events/forms/createForm.v2021_07_02.contract.js.map +1 -1
  17. package/build/.spruce/events/forms/deleteCompletedForm.v2021_07_02.contract.d.ts +20 -2
  18. package/build/.spruce/events/forms/deleteCompletedForm.v2021_07_02.contract.js +23 -5
  19. package/build/.spruce/events/forms/deleteCompletedForm.v2021_07_02.contract.js.map +1 -1
  20. package/build/.spruce/events/forms/getCompletedForm.v2021_07_02.contract.d.ts +15 -0
  21. package/build/.spruce/events/forms/getCompletedForm.v2021_07_02.contract.js +17 -2
  22. package/build/.spruce/events/forms/getCompletedForm.v2021_07_02.contract.js.map +1 -1
  23. package/build/.spruce/events/forms/listCompletedForms.v2021_07_02.contract.d.ts +20 -3
  24. package/build/.spruce/events/forms/listCompletedForms.v2021_07_02.contract.js +23 -6
  25. package/build/.spruce/events/forms/listCompletedForms.v2021_07_02.contract.js.map +1 -1
  26. package/build/.spruce/events/forms/listForms.v2021_07_02.contract.d.ts +38 -4
  27. package/build/.spruce/events/forms/listForms.v2021_07_02.contract.js +45 -11
  28. package/build/.spruce/events/forms/listForms.v2021_07_02.contract.js.map +1 -1
  29. package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.d.ts +15 -0
  30. package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js +17 -2
  31. package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js.map +1 -1
  32. package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.d.ts +21 -4
  33. package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js +24 -7
  34. package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js.map +1 -1
  35. package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.d.ts +21 -1
  36. package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js +26 -6
  37. package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js.map +1 -1
  38. package/build/.spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract.d.ts +38 -0
  39. package/build/.spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract.js +48 -0
  40. package/build/.spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract.js.map +1 -0
  41. package/build/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.d.ts +38 -0
  42. package/build/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.js +48 -0
  43. package/build/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.js.map +1 -0
  44. package/build/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.d.ts +38 -0
  45. package/build/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.js +48 -0
  46. package/build/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.js.map +1 -0
  47. package/build/.spruce/schemas/appointments/v2021_06_23/appointments.schema.d.ts +3 -0
  48. package/build/.spruce/schemas/appointments/v2021_06_23/appointments.schema.js +28 -0
  49. package/build/.spruce/schemas/appointments/v2021_06_23/appointments.schema.js.map +1 -0
  50. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.d.ts +3 -0
  51. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.js +36 -0
  52. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.js.map +1 -0
  53. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.d.ts +3 -0
  54. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.js +28 -0
  55. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.js.map +1 -0
  56. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.d.ts +3 -0
  57. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.js +56 -0
  58. package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.js.map +1 -0
  59. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js +0 -10
  60. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
  61. package/build/.spruce/schemas/schemas.types.d.ts +678 -604
  62. package/build/.spruce/schemas/schemas.types.js.map +1 -1
  63. package/build/__tests__/behavioral/AddingADependency.test.d.ts +9 -0
  64. package/build/__tests__/behavioral/AddingADependency.test.js +273 -0
  65. package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -0
  66. package/build/__tests__/behavioral/CreatingADataStore.test.js.map +1 -1
  67. package/build/__tests__/behavioral/ManagingDependencies.test.d.ts +9 -0
  68. package/build/__tests__/behavioral/ManagingDependencies.test.js +279 -0
  69. package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -0
  70. package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.d.ts +8 -0
  71. package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js +209 -0
  72. package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js.map +1 -0
  73. package/build/__tests__/behavioral/events/CreatingAListener.test.js +9 -5
  74. package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
  75. package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js +14 -7
  76. package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
  77. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js +43 -12
  78. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
  79. package/build/__tests__/behavioral/views/CreatingATheme.test.js +8 -2
  80. package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -1
  81. package/build/__tests__/behavioral/views/SettingUpViews.test.d.ts +1 -0
  82. package/build/__tests__/behavioral/views/SettingUpViews.test.js +48 -3
  83. package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -1
  84. package/build/__tests__/implementation/EventStore.test.js +4 -3
  85. package/build/__tests__/implementation/EventStore.test.js.map +1 -1
  86. package/build/__tests__/implementation/EventTemplateItemBuilder.test.d.ts +1 -0
  87. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js +21 -3
  88. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
  89. package/build/errors/SpruceError.js +2 -2
  90. package/build/errors/SpruceError.js.map +1 -1
  91. package/build/features/FeatureInstaller.d.ts +1 -1
  92. package/build/features/FeatureInstallerFactory.js +4 -2
  93. package/build/features/FeatureInstallerFactory.js.map +1 -1
  94. package/build/features/dependencies/DependencyFeature.d.ts +16 -0
  95. package/build/features/dependencies/DependencyFeature.js +92 -0
  96. package/build/features/dependencies/DependencyFeature.js.map +1 -0
  97. package/build/features/dependencies/actions/AddAction.d.ts +33 -0
  98. package/build/features/dependencies/actions/AddAction.js +154 -0
  99. package/build/features/dependencies/actions/AddAction.js.map +1 -0
  100. package/build/features/dependencies/actions/ManageAction.d.ts +19 -0
  101. package/build/features/dependencies/actions/ManageAction.js +161 -0
  102. package/build/features/dependencies/actions/ManageAction.js.map +1 -0
  103. package/build/features/event/EventFeature.js +2 -1
  104. package/build/features/event/EventFeature.js.map +1 -1
  105. package/build/features/event/builders/EventContractBuilder.d.ts +3 -0
  106. package/build/features/event/builders/EventContractBuilder.js +12 -8
  107. package/build/features/event/builders/EventContractBuilder.js.map +1 -1
  108. package/build/features/event/stores/EventStore.d.ts +2 -1
  109. package/build/features/event/stores/EventStore.js +33 -25
  110. package/build/features/event/stores/EventStore.js.map +1 -1
  111. package/build/features/schema/actions/SyncAction.js +4 -2
  112. package/build/features/schema/actions/SyncAction.js.map +1 -1
  113. package/build/features/skill/actions/RebuildAction.js.map +1 -1
  114. package/build/features/skill/stores/SkillStore.d.ts +4 -0
  115. package/build/features/skill/stores/SkillStore.js +39 -15
  116. package/build/features/skill/stores/SkillStore.js.map +1 -1
  117. package/build/features/view/ViewFeature.js +5 -1
  118. package/build/features/view/ViewFeature.js.map +1 -1
  119. package/build/interfaces/SpyInterface.d.ts +2 -1
  120. package/build/interfaces/SpyInterface.js +67 -7
  121. package/build/interfaces/SpyInterface.js.map +1 -1
  122. package/build/services/DependencyService.d.ts +13 -0
  123. package/build/services/DependencyService.js +49 -0
  124. package/build/services/DependencyService.js.map +1 -0
  125. package/build/services/ServiceFactory.d.ts +2 -0
  126. package/build/services/ServiceFactory.js +5 -0
  127. package/build/services/ServiceFactory.js.map +1 -1
  128. package/build/templateItemBuilders/EventTemplateItemBuilder.js +9 -0
  129. package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
  130. package/build/tests/AbstractCliTest.js +2 -36
  131. package/build/tests/AbstractCliTest.js.map +1 -1
  132. package/build/tests/fixtures/SkillFixture.d.ts +2 -0
  133. package/build/tests/fixtures/SkillFixture.js +8 -8
  134. package/build/tests/fixtures/SkillFixture.js.map +1 -1
  135. package/build/utilities/action.utility.js +1 -5
  136. package/build/utilities/action.utility.js.map +1 -1
  137. package/package.json +26 -26
  138. package/src/.spruce/events/appointments/didBookAppointments.v2021_06_23.contract.ts +15 -0
  139. package/src/.spruce/events/events.contract.ts +32 -8
  140. package/src/.spruce/events/forms/convertPdfToForm.v2021_07_02.contract.ts +20 -2
  141. package/src/.spruce/events/forms/convertPdfToSchemas.v2021_07_02.contract.ts +20 -2
  142. package/src/.spruce/events/forms/createForm.v2021_07_02.contract.ts +20 -2
  143. package/src/.spruce/events/forms/deleteCompletedForm.v2021_07_02.contract.ts +20 -2
  144. package/src/.spruce/events/forms/getCompletedForm.v2021_07_02.contract.ts +15 -0
  145. package/src/.spruce/events/forms/listCompletedForms.v2021_07_02.contract.ts +20 -3
  146. package/src/.spruce/events/forms/listForms.v2021_07_02.contract.ts +38 -4
  147. package/src/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.ts +15 -0
  148. package/src/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.ts +21 -4
  149. package/src/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.ts +21 -1
  150. package/src/.spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract.ts +45 -0
  151. package/src/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.ts +45 -0
  152. package/src/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.ts +45 -0
  153. package/src/.spruce/schemas/appointments/v2021_06_23/appointments.schema.ts +22 -0
  154. package/src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.ts +24 -0
  155. package/src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.ts +22 -0
  156. package/src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.ts +36 -0
  157. package/src/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.ts +0 -6
  158. package/src/.spruce/schemas/schemas.types.ts +815 -720
  159. package/src/__tests__/behavioral/AddingADependency.test.ts +98 -0
  160. package/src/__tests__/behavioral/CreatingADataStore.test.ts +2 -0
  161. package/src/__tests__/behavioral/ManagingDependencies.test.ts +115 -0
  162. package/src/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.ts +70 -0
  163. package/src/__tests__/behavioral/events/CreatingAListener.test.ts +5 -0
  164. package/src/__tests__/behavioral/events/KeepingEventsInSync.test.ts +6 -0
  165. package/src/__tests__/behavioral/events/KeepingEventsInSync2.test.ts +27 -0
  166. package/src/__tests__/behavioral/views/CreatingATheme.test.ts +4 -0
  167. package/src/__tests__/behavioral/views/SettingUpViews.test.ts +23 -0
  168. package/src/__tests__/implementation/EventStore.test.ts +5 -2
  169. package/src/__tests__/implementation/EventTemplateItemBuilder.test.ts +20 -1
  170. package/src/errors/SpruceError.ts +1 -1
  171. package/src/features/FeatureInstallerFactory.ts +3 -0
  172. package/src/features/dependencies/DependencyFeature.ts +27 -0
  173. package/src/features/dependencies/actions/AddAction.ts +63 -0
  174. package/src/features/dependencies/actions/ManageAction.ts +84 -0
  175. package/src/features/event/EventFeature.ts +1 -0
  176. package/src/features/event/builders/EventContractBuilder.ts +9 -2
  177. package/src/features/event/stores/EventStore.ts +20 -11
  178. package/src/features/schema/actions/SyncAction.ts +6 -3
  179. package/src/features/skill/actions/RebuildAction.ts +2 -0
  180. package/src/features/skill/stores/SkillStore.ts +8 -1
  181. package/src/features/view/ViewFeature.ts +5 -0
  182. package/src/interfaces/SpyInterface.ts +29 -2
  183. package/src/services/DependencyService.ts +27 -0
  184. package/src/services/ServiceFactory.ts +6 -0
  185. package/src/templateItemBuilders/EventTemplateItemBuilder.ts +10 -0
  186. package/src/tests/AbstractCliTest.ts +1 -21
  187. package/src/tests/fixtures/SkillFixture.ts +6 -2
  188. package/src/utilities/action.utility.ts +1 -6
  189. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema.d.ts +0 -3
  190. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema.js +0 -28
  191. package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema.js.map +0 -1
  192. package/src/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema.ts +0 -22
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _mercuryTypes = require("@sprucelabs/mercury-types");
9
+
10
+ var myCoolEventEventContract = (0, _mercuryTypes.buildEventContract)({
11
+ eventSignatures: {
12
+ 'my-skill-1634934731020-35607.my-cool-event::v2021_01_22': {
13
+ isGlobal: true,
14
+ emitPermissionContract: (0, _mercuryTypes.buildPermissionContract)({
15
+ id: 'anon-can',
16
+ name: 'can anon',
17
+ description: null,
18
+ requireAllPermissions: null,
19
+ permissions: [{
20
+ id: 'can-emit',
21
+ name: 'can do it!',
22
+ description: null,
23
+ requireAllStatuses: null,
24
+ defaults: {
25
+ skill: null,
26
+ owner: null,
27
+ groupManager: null,
28
+ manager: null,
29
+ teammate: null,
30
+ guest: null,
31
+ anonymous: {
32
+ "default": true,
33
+ clockedIn: null,
34
+ clockedOut: null,
35
+ onPrem: null,
36
+ offPrem: null
37
+ },
38
+ loggedIn: null
39
+ },
40
+ can: null
41
+ }]
42
+ })
43
+ }
44
+ }
45
+ });
46
+ var _default = myCoolEventEventContract;
47
+ exports["default"] = _default;
48
+ //# sourceMappingURL=myCoolEvent.v2021_01_22.contract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.ts"],"names":["myCoolEventEventContract","eventSignatures","isGlobal","emitPermissionContract","id","name","description","requireAllPermissions","permissions","requireAllStatuses","defaults","skill","owner","groupManager","manager","teammate","guest","anonymous","clockedIn","clockedOut","onPrem","offPrem","loggedIn","can"],"mappings":";;;;;;;AAAA;;AAGA,IAAMA,wBAAwB,GAAG,sCAAmB;AACnDC,EAAAA,eAAe,EAAE;AAChB,+DAA2D;AAC1DC,MAAAA,QAAQ,EAAE,IADgD;AAG1DC,MAAAA,sBAAsB,EAAE,2CAAwB;AAC/CC,QAAAA,EAAE,EAAE,UAD2C;AAE/CC,QAAAA,IAAI,EAAE,UAFyC;AAG/CC,QAAAA,WAAW,EAAE,IAHkC;AAI/CC,QAAAA,qBAAqB,EAAE,IAJwB;AAK/CC,QAAAA,WAAW,EAAE,CACZ;AACCJ,UAAAA,EAAE,EAAE,UADL;AAECC,UAAAA,IAAI,EAAE,YAFP;AAGCC,UAAAA,WAAW,EAAE,IAHd;AAICG,UAAAA,kBAAkB,EAAE,IAJrB;AAKCC,UAAAA,QAAQ,EAAE;AACTC,YAAAA,KAAK,EAAE,IADE;AAETC,YAAAA,KAAK,EAAE,IAFE;AAGTC,YAAAA,YAAY,EAAE,IAHL;AAITC,YAAAA,OAAO,EAAE,IAJA;AAKTC,YAAAA,QAAQ,EAAE,IALD;AAMTC,YAAAA,KAAK,EAAE,IANE;AAOTC,YAAAA,SAAS,EAAE;AACV,yBAAS,IADC;AAEVC,cAAAA,SAAS,EAAE,IAFD;AAGVC,cAAAA,UAAU,EAAE,IAHF;AAIVC,cAAAA,MAAM,EAAE,IAJE;AAKVC,cAAAA,OAAO,EAAE;AALC,aAPF;AAcTC,YAAAA,QAAQ,EAAE;AAdD,WALX;AAqBCC,UAAAA,GAAG,EAAE;AArBN,SADY;AALkC,OAAxB;AAHkC;AAD3C;AADkC,CAAnB,CAAjC;eAuCevB,wB","sourcesContent":["import { buildEventContract } from '@sprucelabs/mercury-types'\nimport { buildPermissionContract } from '@sprucelabs/mercury-types'\n\nconst myCoolEventEventContract = buildEventContract({\n\teventSignatures: {\n\t\t'my-skill-1634934731020-35607.my-cool-event::v2021_01_22': {\n\t\t\tisGlobal: true,\n\n\t\t\temitPermissionContract: buildPermissionContract({\n\t\t\t\tid: 'anon-can',\n\t\t\t\tname: 'can anon',\n\t\t\t\tdescription: null,\n\t\t\t\trequireAllPermissions: null,\n\t\t\t\tpermissions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 'can-emit',\n\t\t\t\t\t\tname: 'can do it!',\n\t\t\t\t\t\tdescription: null,\n\t\t\t\t\t\trequireAllStatuses: null,\n\t\t\t\t\t\tdefaults: {\n\t\t\t\t\t\t\tskill: null,\n\t\t\t\t\t\t\towner: null,\n\t\t\t\t\t\t\tgroupManager: null,\n\t\t\t\t\t\t\tmanager: null,\n\t\t\t\t\t\t\tteammate: null,\n\t\t\t\t\t\t\tguest: null,\n\t\t\t\t\t\t\tanonymous: {\n\t\t\t\t\t\t\t\tdefault: true,\n\t\t\t\t\t\t\t\tclockedIn: null,\n\t\t\t\t\t\t\t\tclockedOut: null,\n\t\t\t\t\t\t\t\tonPrem: null,\n\t\t\t\t\t\t\t\toffPrem: null,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tloggedIn: null,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tcan: null,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t}),\n\t\t},\n\t},\n})\nexport default myCoolEventEventContract\n\nexport type MyCoolEventEventContract = typeof myCoolEventEventContract\n"],"file":"myCoolEvent.v2021_01_22.contract.js"}
@@ -0,0 +1,38 @@
1
+ declare const myCoolEventEventContract: {
2
+ eventSignatures: {
3
+ 'my-skill-1634934798809-35941.my-cool-event::v2021_01_22': {
4
+ isGlobal: true;
5
+ emitPermissionContract: {
6
+ id: string;
7
+ name: string;
8
+ description: null;
9
+ requireAllPermissions: null;
10
+ permissions: {
11
+ id: string;
12
+ name: string;
13
+ description: null;
14
+ requireAllStatuses: null;
15
+ defaults: {
16
+ skill: null;
17
+ owner: null;
18
+ groupManager: null;
19
+ manager: null;
20
+ teammate: null;
21
+ guest: null;
22
+ anonymous: {
23
+ default: true;
24
+ clockedIn: null;
25
+ clockedOut: null;
26
+ onPrem: null;
27
+ offPrem: null;
28
+ };
29
+ loggedIn: null;
30
+ };
31
+ can: null;
32
+ }[];
33
+ };
34
+ };
35
+ };
36
+ };
37
+ export default myCoolEventEventContract;
38
+ export declare type MyCoolEventEventContract = typeof myCoolEventEventContract;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _mercuryTypes = require("@sprucelabs/mercury-types");
9
+
10
+ var myCoolEventEventContract = (0, _mercuryTypes.buildEventContract)({
11
+ eventSignatures: {
12
+ 'my-skill-1634934798809-35941.my-cool-event::v2021_01_22': {
13
+ isGlobal: true,
14
+ emitPermissionContract: (0, _mercuryTypes.buildPermissionContract)({
15
+ id: 'anon-can',
16
+ name: 'can anon',
17
+ description: null,
18
+ requireAllPermissions: null,
19
+ permissions: [{
20
+ id: 'can-emit',
21
+ name: 'can do it!',
22
+ description: null,
23
+ requireAllStatuses: null,
24
+ defaults: {
25
+ skill: null,
26
+ owner: null,
27
+ groupManager: null,
28
+ manager: null,
29
+ teammate: null,
30
+ guest: null,
31
+ anonymous: {
32
+ "default": true,
33
+ clockedIn: null,
34
+ clockedOut: null,
35
+ onPrem: null,
36
+ offPrem: null
37
+ },
38
+ loggedIn: null
39
+ },
40
+ can: null
41
+ }]
42
+ })
43
+ }
44
+ }
45
+ });
46
+ var _default = myCoolEventEventContract;
47
+ exports["default"] = _default;
48
+ //# sourceMappingURL=myCoolEvent.v2021_01_22.contract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.ts"],"names":["myCoolEventEventContract","eventSignatures","isGlobal","emitPermissionContract","id","name","description","requireAllPermissions","permissions","requireAllStatuses","defaults","skill","owner","groupManager","manager","teammate","guest","anonymous","clockedIn","clockedOut","onPrem","offPrem","loggedIn","can"],"mappings":";;;;;;;AAAA;;AAGA,IAAMA,wBAAwB,GAAG,sCAAmB;AACnDC,EAAAA,eAAe,EAAE;AAChB,+DAA2D;AAC1DC,MAAAA,QAAQ,EAAE,IADgD;AAG1DC,MAAAA,sBAAsB,EAAE,2CAAwB;AAC/CC,QAAAA,EAAE,EAAE,UAD2C;AAE/CC,QAAAA,IAAI,EAAE,UAFyC;AAG/CC,QAAAA,WAAW,EAAE,IAHkC;AAI/CC,QAAAA,qBAAqB,EAAE,IAJwB;AAK/CC,QAAAA,WAAW,EAAE,CACZ;AACCJ,UAAAA,EAAE,EAAE,UADL;AAECC,UAAAA,IAAI,EAAE,YAFP;AAGCC,UAAAA,WAAW,EAAE,IAHd;AAICG,UAAAA,kBAAkB,EAAE,IAJrB;AAKCC,UAAAA,QAAQ,EAAE;AACTC,YAAAA,KAAK,EAAE,IADE;AAETC,YAAAA,KAAK,EAAE,IAFE;AAGTC,YAAAA,YAAY,EAAE,IAHL;AAITC,YAAAA,OAAO,EAAE,IAJA;AAKTC,YAAAA,QAAQ,EAAE,IALD;AAMTC,YAAAA,KAAK,EAAE,IANE;AAOTC,YAAAA,SAAS,EAAE;AACV,yBAAS,IADC;AAEVC,cAAAA,SAAS,EAAE,IAFD;AAGVC,cAAAA,UAAU,EAAE,IAHF;AAIVC,cAAAA,MAAM,EAAE,IAJE;AAKVC,cAAAA,OAAO,EAAE;AALC,aAPF;AAcTC,YAAAA,QAAQ,EAAE;AAdD,WALX;AAqBCC,UAAAA,GAAG,EAAE;AArBN,SADY;AALkC,OAAxB;AAHkC;AAD3C;AADkC,CAAnB,CAAjC;eAuCevB,wB","sourcesContent":["import { buildEventContract } from '@sprucelabs/mercury-types'\nimport { buildPermissionContract } from '@sprucelabs/mercury-types'\n\nconst myCoolEventEventContract = buildEventContract({\n\teventSignatures: {\n\t\t'my-skill-1634934798809-35941.my-cool-event::v2021_01_22': {\n\t\t\tisGlobal: true,\n\n\t\t\temitPermissionContract: buildPermissionContract({\n\t\t\t\tid: 'anon-can',\n\t\t\t\tname: 'can anon',\n\t\t\t\tdescription: null,\n\t\t\t\trequireAllPermissions: null,\n\t\t\t\tpermissions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: 'can-emit',\n\t\t\t\t\t\tname: 'can do it!',\n\t\t\t\t\t\tdescription: null,\n\t\t\t\t\t\trequireAllStatuses: null,\n\t\t\t\t\t\tdefaults: {\n\t\t\t\t\t\t\tskill: null,\n\t\t\t\t\t\t\towner: null,\n\t\t\t\t\t\t\tgroupManager: null,\n\t\t\t\t\t\t\tmanager: null,\n\t\t\t\t\t\t\tteammate: null,\n\t\t\t\t\t\t\tguest: null,\n\t\t\t\t\t\t\tanonymous: {\n\t\t\t\t\t\t\t\tdefault: true,\n\t\t\t\t\t\t\t\tclockedIn: null,\n\t\t\t\t\t\t\t\tclockedOut: null,\n\t\t\t\t\t\t\t\tonPrem: null,\n\t\t\t\t\t\t\t\toffPrem: null,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tloggedIn: null,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tcan: null,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t}),\n\t\t},\n\t},\n})\nexport default myCoolEventEventContract\n\nexport type MyCoolEventEventContract = typeof myCoolEventEventContract\n"],"file":"myCoolEvent.v2021_01_22.contract.js"}
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const appointmentsSchema: SpruceSchemas.Appointments.v2021_06_23.AppointmentsSchema;
3
+ export default appointmentsSchema;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _schema = require("@sprucelabs/schema");
9
+
10
+ var appointmentsSchema = {
11
+ id: 'appointments',
12
+ version: 'v2021_06_23',
13
+ namespace: 'Appointments',
14
+ name: '',
15
+ fields: {
16
+ /** . */
17
+ 'guestId': {
18
+ type: 'text',
19
+ options: undefined
20
+ }
21
+ }
22
+ };
23
+
24
+ _schema.SchemaRegistry.getInstance().trackSchema(appointmentsSchema);
25
+
26
+ var _default = appointmentsSchema;
27
+ exports["default"] = _default;
28
+ //# sourceMappingURL=appointments.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/.spruce/schemas/appointments/v2021_06_23/appointments.schema.ts"],"names":["appointmentsSchema","id","version","namespace","name","fields","type","options","undefined","SchemaRegistry","getInstance","trackSchema"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,kBAA6E,GAAI;AACtFC,EAAAA,EAAE,EAAE,cADkF;AAEtFC,EAAAA,OAAO,EAAE,aAF6E;AAGtFC,EAAAA,SAAS,EAAE,cAH2E;AAItFC,EAAAA,IAAI,EAAE,EAJgF;AAKlFC,EAAAA,MAAM,EAAE;AACA;AACA,eAAW;AACPC,MAAAA,IAAI,EAAE,MADC;AAEPC,MAAAA,OAAO,EAAEC;AAFF;AAFX;AAL0E,CAAvF;;AAcAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCX,kBAAzC;;eAEeA,kB","sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst appointmentsSchema: SpruceSchemas.Appointments.v2021_06_23.AppointmentsSchema = {\n\tid: 'appointments',\n\tversion: 'v2021_06_23',\n\tnamespace: 'Appointments',\n\tname: '',\n\t fields: {\n\t /** . */\n\t 'guestId': {\n\t type: 'text',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(appointmentsSchema)\n\nexport default appointmentsSchema\n"],"file":"appointments.schema.js"}
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const didBookAppointmentsEmitPayloadSchema: SpruceSchemas.Appointments.v2021_06_23.DidBookAppointmentsEmitPayloadSchema;
3
+ export default didBookAppointmentsEmitPayloadSchema;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _schema = require("@sprucelabs/schema");
11
+
12
+ var _appointments = _interopRequireDefault(require("./appointments.schema"));
13
+
14
+ var didBookAppointmentsEmitPayloadSchema = {
15
+ id: 'didBookAppointmentsEmitPayload',
16
+ version: 'v2021_06_23',
17
+ namespace: 'Appointments',
18
+ name: '',
19
+ fields: {
20
+ /** . */
21
+ 'appointments': {
22
+ type: 'schema',
23
+ isRequired: true,
24
+ isArray: true,
25
+ options: {
26
+ schema: _appointments["default"]
27
+ }
28
+ }
29
+ }
30
+ };
31
+
32
+ _schema.SchemaRegistry.getInstance().trackSchema(didBookAppointmentsEmitPayloadSchema);
33
+
34
+ var _default = didBookAppointmentsEmitPayloadSchema;
35
+ exports["default"] = _default;
36
+ //# sourceMappingURL=didBookAppointmentsEmitPayload.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.ts"],"names":["didBookAppointmentsEmitPayloadSchema","id","version","namespace","name","fields","type","isRequired","isArray","options","schema","appointmentsSchema_v2021_06_23","SchemaRegistry","getInstance","trackSchema"],"mappings":";;;;;;;;;AAAA;;AAGA;;AAEA,IAAMA,oCAAiH,GAAI;AAC1HC,EAAAA,EAAE,EAAE,gCADsH;AAE1HC,EAAAA,OAAO,EAAE,aAFiH;AAG1HC,EAAAA,SAAS,EAAE,cAH+G;AAI1HC,EAAAA,IAAI,EAAE,EAJoH;AAKtHC,EAAAA,MAAM,EAAE;AACA;AACA,oBAAgB;AACZC,MAAAA,IAAI,EAAE,QADM;AAEZC,MAAAA,UAAU,EAAE,IAFA;AAGZC,MAAAA,OAAO,EAAE,IAHG;AAIZC,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEC;AAAT;AAJG;AAFhB;AAL8G,CAA3H;;AAgBAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCd,oCAAzC;;eAEeA,oC","sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\nimport appointmentsSchema_v2021_06_23 from '#spruce/schemas/appointments/v2021_06_23/appointments.schema'\n\nconst didBookAppointmentsEmitPayloadSchema: SpruceSchemas.Appointments.v2021_06_23.DidBookAppointmentsEmitPayloadSchema = {\n\tid: 'didBookAppointmentsEmitPayload',\n\tversion: 'v2021_06_23',\n\tnamespace: 'Appointments',\n\tname: '',\n\t fields: {\n\t /** . */\n\t 'appointments': {\n\t type: 'schema',\n\t isRequired: true,\n\t isArray: true,\n\t options: {schema: appointmentsSchema_v2021_06_23,}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(didBookAppointmentsEmitPayloadSchema)\n\nexport default didBookAppointmentsEmitPayloadSchema\n"],"file":"didBookAppointmentsEmitPayload.schema.js"}
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const didBookAppointmentsEmitTargetSchema: SpruceSchemas.Appointments.v2021_06_23.DidBookAppointmentsEmitTargetSchema;
3
+ export default didBookAppointmentsEmitTargetSchema;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _schema = require("@sprucelabs/schema");
9
+
10
+ var didBookAppointmentsEmitTargetSchema = {
11
+ id: 'didBookAppointmentsEmitTarget',
12
+ version: 'v2021_06_23',
13
+ namespace: 'Appointments',
14
+ name: '',
15
+ fields: {
16
+ /** . */
17
+ 'organizationId': {
18
+ type: 'id',
19
+ options: undefined
20
+ }
21
+ }
22
+ };
23
+
24
+ _schema.SchemaRegistry.getInstance().trackSchema(didBookAppointmentsEmitTargetSchema);
25
+
26
+ var _default = didBookAppointmentsEmitTargetSchema;
27
+ exports["default"] = _default;
28
+ //# sourceMappingURL=didBookAppointmentsEmitTarget.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.ts"],"names":["didBookAppointmentsEmitTargetSchema","id","version","namespace","name","fields","type","options","undefined","SchemaRegistry","getInstance","trackSchema"],"mappings":";;;;;;;AAAA;;AAKA,IAAMA,mCAA+G,GAAI;AACxHC,EAAAA,EAAE,EAAE,+BADoH;AAExHC,EAAAA,OAAO,EAAE,aAF+G;AAGxHC,EAAAA,SAAS,EAAE,cAH6G;AAIxHC,EAAAA,IAAI,EAAE,EAJkH;AAKpHC,EAAAA,MAAM,EAAE;AACA;AACA,sBAAkB;AACdC,MAAAA,IAAI,EAAE,IADQ;AAEdC,MAAAA,OAAO,EAAEC;AAFK;AAFlB;AAL4G,CAAzH;;AAcAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCX,mCAAzC;;eAEeA,mC","sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\n\n\nconst didBookAppointmentsEmitTargetSchema: SpruceSchemas.Appointments.v2021_06_23.DidBookAppointmentsEmitTargetSchema = {\n\tid: 'didBookAppointmentsEmitTarget',\n\tversion: 'v2021_06_23',\n\tnamespace: 'Appointments',\n\tname: '',\n\t fields: {\n\t /** . */\n\t 'organizationId': {\n\t type: 'id',\n\t options: undefined\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(didBookAppointmentsEmitTargetSchema)\n\nexport default didBookAppointmentsEmitTargetSchema\n"],"file":"didBookAppointmentsEmitTarget.schema.js"}
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const didBookAppointmentsEmitTargetAndPayloadSchema: SpruceSchemas.Appointments.v2021_06_23.DidBookAppointmentsEmitTargetAndPayloadSchema;
3
+ export default didBookAppointmentsEmitTargetAndPayloadSchema;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _schema = require("@sprucelabs/schema");
11
+
12
+ var _eventSource = _interopRequireDefault(require("../../spruceEventUtils/v2021_09_13/eventSource.schema"));
13
+
14
+ var _didBookAppointmentsEmitTarget = _interopRequireDefault(require("./didBookAppointmentsEmitTarget.schema"));
15
+
16
+ var _didBookAppointmentsEmitPayload = _interopRequireDefault(require("./didBookAppointmentsEmitPayload.schema"));
17
+
18
+ var didBookAppointmentsEmitTargetAndPayloadSchema = {
19
+ id: 'didBookAppointmentsEmitTargetAndPayload',
20
+ version: 'v2021_06_23',
21
+ namespace: 'Appointments',
22
+ name: '',
23
+ fields: {
24
+ /** Source. */
25
+ 'source': {
26
+ label: 'Source',
27
+ type: 'schema',
28
+ options: {
29
+ schema: _eventSource["default"]
30
+ }
31
+ },
32
+
33
+ /** . */
34
+ 'target': {
35
+ type: 'schema',
36
+ options: {
37
+ schema: _didBookAppointmentsEmitTarget["default"]
38
+ }
39
+ },
40
+
41
+ /** . */
42
+ 'payload': {
43
+ type: 'schema',
44
+ isRequired: true,
45
+ options: {
46
+ schema: _didBookAppointmentsEmitPayload["default"]
47
+ }
48
+ }
49
+ }
50
+ };
51
+
52
+ _schema.SchemaRegistry.getInstance().trackSchema(didBookAppointmentsEmitTargetAndPayloadSchema);
53
+
54
+ var _default = didBookAppointmentsEmitTargetAndPayloadSchema;
55
+ exports["default"] = _default;
56
+ //# sourceMappingURL=didBookAppointmentsEmitTargetAndPayload.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.ts"],"names":["didBookAppointmentsEmitTargetAndPayloadSchema","id","version","namespace","name","fields","label","type","options","schema","eventSourceSchema_v2021_09_13","didBookAppointmentsEmitTargetSchema_v2021_06_23","isRequired","didBookAppointmentsEmitPayloadSchema_v2021_06_23","SchemaRegistry","getInstance","trackSchema"],"mappings":";;;;;;;;;AAAA;;AAGA;;AACA;;AACA;;AAEA,IAAMA,6CAAmI,GAAI;AAC5IC,EAAAA,EAAE,EAAE,yCADwI;AAE5IC,EAAAA,OAAO,EAAE,aAFmI;AAG5IC,EAAAA,SAAS,EAAE,cAHiI;AAI5IC,EAAAA,IAAI,EAAE,EAJsI;AAKxIC,EAAAA,MAAM,EAAE;AACA;AACA,cAAU;AACNC,MAAAA,KAAK,EAAE,QADD;AAENC,MAAAA,IAAI,EAAE,QAFA;AAGNC,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEC;AAAT;AAHH,KAFV;;AAOA;AACA,cAAU;AACNH,MAAAA,IAAI,EAAE,QADA;AAENC,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEE;AAAT;AAFH,KARV;;AAYA;AACA,eAAW;AACPJ,MAAAA,IAAI,EAAE,QADC;AAEPK,MAAAA,UAAU,EAAE,IAFL;AAGPJ,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEI;AAAT;AAHF;AAbX;AALgI,CAA7I;;AA0BAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyChB,6CAAzC;;eAEeA,6C","sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\nimport eventSourceSchema_v2021_09_13 from '#spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema'\nimport didBookAppointmentsEmitTargetSchema_v2021_06_23 from '#spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema'\nimport didBookAppointmentsEmitPayloadSchema_v2021_06_23 from '#spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema'\n\nconst didBookAppointmentsEmitTargetAndPayloadSchema: SpruceSchemas.Appointments.v2021_06_23.DidBookAppointmentsEmitTargetAndPayloadSchema = {\n\tid: 'didBookAppointmentsEmitTargetAndPayload',\n\tversion: 'v2021_06_23',\n\tnamespace: 'Appointments',\n\tname: '',\n\t fields: {\n\t /** Source. */\n\t 'source': {\n\t label: 'Source',\n\t type: 'schema',\n\t options: {schema: eventSourceSchema_v2021_09_13,}\n\t },\n\t /** . */\n\t 'target': {\n\t type: 'schema',\n\t options: {schema: didBookAppointmentsEmitTargetSchema_v2021_06_23,}\n\t },\n\t /** . */\n\t 'payload': {\n\t type: 'schema',\n\t isRequired: true,\n\t options: {schema: didBookAppointmentsEmitPayloadSchema_v2021_06_23,}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(didBookAppointmentsEmitTargetAndPayloadSchema)\n\nexport default didBookAppointmentsEmitTargetAndPayloadSchema\n"],"file":"didBookAppointmentsEmitTargetAndPayload.schema.js"}
@@ -11,8 +11,6 @@ var _schema = require("@sprucelabs/schema");
11
11
 
12
12
  var _eventSource = _interopRequireDefault(require("../../spruceEventUtils/v2021_09_13/eventSource.schema"));
13
13
 
14
- var _registerSkillViewsEmitTarget = _interopRequireDefault(require("./registerSkillViewsEmitTarget.schema"));
15
-
16
14
  var _registerSkillViewsEmitPayload = _interopRequireDefault(require("./registerSkillViewsEmitPayload.schema"));
17
15
 
18
16
  var registerSkillViewsEmitTargetAndPayloadSchema = {
@@ -30,14 +28,6 @@ var registerSkillViewsEmitTargetAndPayloadSchema = {
30
28
  }
31
29
  },
32
30
 
33
- /** . */
34
- 'target': {
35
- type: 'schema',
36
- options: {
37
- schema: _registerSkillViewsEmitTarget["default"]
38
- }
39
- },
40
-
41
31
  /** . */
42
32
  'payload': {
43
33
  type: 'schema',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.ts"],"names":["registerSkillViewsEmitTargetAndPayloadSchema","id","version","namespace","name","fields","label","type","options","schema","eventSourceSchema_v2021_09_13","registerSkillViewsEmitTargetSchema_v2021_02_11","isRequired","registerSkillViewsEmitPayloadSchema_v2021_02_11","SchemaRegistry","getInstance","trackSchema"],"mappings":";;;;;;;;;AAAA;;AAGA;;AACA;;AACA;;AAEA,IAAMA,4CAA8H,GAAI;AACvIC,EAAAA,EAAE,EAAE,wCADmI;AAEvIC,EAAAA,OAAO,EAAE,aAF8H;AAGvIC,EAAAA,SAAS,EAAE,WAH4H;AAIvIC,EAAAA,IAAI,EAAE,EAJiI;AAKnIC,EAAAA,MAAM,EAAE;AACA;AACA,cAAU;AACNC,MAAAA,KAAK,EAAE,QADD;AAENC,MAAAA,IAAI,EAAE,QAFA;AAGNC,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEC;AAAT;AAHH,KAFV;;AAOA;AACA,cAAU;AACNH,MAAAA,IAAI,EAAE,QADA;AAENC,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEE;AAAT;AAFH,KARV;;AAYA;AACA,eAAW;AACPJ,MAAAA,IAAI,EAAE,QADC;AAEPK,MAAAA,UAAU,EAAE,IAFL;AAGPJ,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEI;AAAT;AAHF;AAbX;AAL2H,CAAxI;;AA0BAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyChB,4CAAzC;;eAEeA,4C","sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\nimport eventSourceSchema_v2021_09_13 from '#spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema'\nimport registerSkillViewsEmitTargetSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema'\nimport registerSkillViewsEmitPayloadSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema'\n\nconst registerSkillViewsEmitTargetAndPayloadSchema: SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitTargetAndPayloadSchema = {\n\tid: 'registerSkillViewsEmitTargetAndPayload',\n\tversion: 'v2021_02_11',\n\tnamespace: 'Heartwood',\n\tname: '',\n\t fields: {\n\t /** Source. */\n\t 'source': {\n\t label: 'Source',\n\t type: 'schema',\n\t options: {schema: eventSourceSchema_v2021_09_13,}\n\t },\n\t /** . */\n\t 'target': {\n\t type: 'schema',\n\t options: {schema: registerSkillViewsEmitTargetSchema_v2021_02_11,}\n\t },\n\t /** . */\n\t 'payload': {\n\t type: 'schema',\n\t isRequired: true,\n\t options: {schema: registerSkillViewsEmitPayloadSchema_v2021_02_11,}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(registerSkillViewsEmitTargetAndPayloadSchema)\n\nexport default registerSkillViewsEmitTargetAndPayloadSchema\n"],"file":"registerSkillViewsEmitTargetAndPayload.schema.js"}
1
+ {"version":3,"sources":["../../../../../src/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.ts"],"names":["registerSkillViewsEmitTargetAndPayloadSchema","id","version","namespace","name","fields","label","type","options","schema","eventSourceSchema_v2021_09_13","isRequired","registerSkillViewsEmitPayloadSchema_v2021_02_11","SchemaRegistry","getInstance","trackSchema"],"mappings":";;;;;;;;;AAAA;;AAGA;;AACA;;AAEA,IAAMA,4CAA8H,GAAI;AACvIC,EAAAA,EAAE,EAAE,wCADmI;AAEvIC,EAAAA,OAAO,EAAE,aAF8H;AAGvIC,EAAAA,SAAS,EAAE,WAH4H;AAIvIC,EAAAA,IAAI,EAAE,EAJiI;AAKnIC,EAAAA,MAAM,EAAE;AACA;AACA,cAAU;AACNC,MAAAA,KAAK,EAAE,QADD;AAENC,MAAAA,IAAI,EAAE,QAFA;AAGNC,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEC;AAAT;AAHH,KAFV;;AAOA;AACA,eAAW;AACPH,MAAAA,IAAI,EAAE,QADC;AAEPI,MAAAA,UAAU,EAAE,IAFL;AAGPH,MAAAA,OAAO,EAAE;AAACC,QAAAA,MAAM,EAAEG;AAAT;AAHF;AARX;AAL2H,CAAxI;;AAqBAC,uBAAeC,WAAf,GAA6BC,WAA7B,CAAyCf,4CAAzC;;eAEeA,4C","sourcesContent":["import { SchemaRegistry } from '@sprucelabs/schema'\nimport { SpruceSchemas } from '../../schemas.types'\n\nimport eventSourceSchema_v2021_09_13 from '#spruce/schemas/spruceEventUtils/v2021_09_13/eventSource.schema'\nimport registerSkillViewsEmitPayloadSchema_v2021_02_11 from '#spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitPayload.schema'\n\nconst registerSkillViewsEmitTargetAndPayloadSchema: SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitTargetAndPayloadSchema = {\n\tid: 'registerSkillViewsEmitTargetAndPayload',\n\tversion: 'v2021_02_11',\n\tnamespace: 'Heartwood',\n\tname: '',\n\t fields: {\n\t /** Source. */\n\t 'source': {\n\t label: 'Source',\n\t type: 'schema',\n\t options: {schema: eventSourceSchema_v2021_09_13,}\n\t },\n\t /** . */\n\t 'payload': {\n\t type: 'schema',\n\t isRequired: true,\n\t options: {schema: registerSkillViewsEmitPayloadSchema_v2021_02_11,}\n\t },\n\t }\n}\n\nSchemaRegistry.getInstance().trackSchema(registerSkillViewsEmitTargetAndPayloadSchema)\n\nexport default registerSkillViewsEmitTargetAndPayloadSchema\n"],"file":"registerSkillViewsEmitTargetAndPayload.schema.js"}