@sprucelabs/spruce-cli 14.22.8 → 14.23.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.
- package/CHANGELOG.md +36 -0
- package/build/.spruce/events/appointments/didBookAppointments.v2021_06_23.contract.d.ts +10 -0
- package/build/.spruce/events/appointments/didBookAppointments.v2021_06_23.contract.js +24 -0
- package/build/.spruce/events/appointments/didBookAppointments.v2021_06_23.contract.js.map +1 -0
- package/build/.spruce/events/events.contract.d.ts +346 -36
- package/build/.spruce/events/events.contract.js +9 -1
- package/build/.spruce/events/events.contract.js.map +1 -1
- package/build/.spruce/events/forms/convertPdfToForm.v2021_07_02.contract.d.ts +20 -2
- package/build/.spruce/events/forms/convertPdfToForm.v2021_07_02.contract.js +23 -5
- package/build/.spruce/events/forms/convertPdfToForm.v2021_07_02.contract.js.map +1 -1
- package/build/.spruce/events/forms/convertPdfToSchemas.v2021_07_02.contract.d.ts +20 -2
- package/build/.spruce/events/forms/convertPdfToSchemas.v2021_07_02.contract.js +23 -5
- package/build/.spruce/events/forms/convertPdfToSchemas.v2021_07_02.contract.js.map +1 -1
- package/build/.spruce/events/forms/createForm.v2021_07_02.contract.d.ts +20 -2
- package/build/.spruce/events/forms/createForm.v2021_07_02.contract.js +23 -5
- package/build/.spruce/events/forms/createForm.v2021_07_02.contract.js.map +1 -1
- package/build/.spruce/events/forms/deleteCompletedForm.v2021_07_02.contract.d.ts +20 -2
- package/build/.spruce/events/forms/deleteCompletedForm.v2021_07_02.contract.js +23 -5
- package/build/.spruce/events/forms/deleteCompletedForm.v2021_07_02.contract.js.map +1 -1
- package/build/.spruce/events/forms/getCompletedForm.v2021_07_02.contract.d.ts +15 -0
- package/build/.spruce/events/forms/getCompletedForm.v2021_07_02.contract.js +17 -2
- package/build/.spruce/events/forms/getCompletedForm.v2021_07_02.contract.js.map +1 -1
- package/build/.spruce/events/forms/listCompletedForms.v2021_07_02.contract.d.ts +20 -3
- package/build/.spruce/events/forms/listCompletedForms.v2021_07_02.contract.js +23 -6
- package/build/.spruce/events/forms/listCompletedForms.v2021_07_02.contract.js.map +1 -1
- package/build/.spruce/events/forms/listForms.v2021_07_02.contract.d.ts +38 -4
- package/build/.spruce/events/forms/listForms.v2021_07_02.contract.js +45 -11
- package/build/.spruce/events/forms/listForms.v2021_07_02.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.d.ts +15 -0
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js +17 -2
- package/build/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.d.ts +21 -4
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js +24 -7
- package/build/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.d.ts +21 -1
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js +26 -6
- package/build/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.js.map +1 -1
- package/build/.spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract.d.ts +38 -0
- package/build/.spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract.js +48 -0
- package/build/.spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract.js.map +1 -0
- package/build/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.d.ts +38 -0
- package/build/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.js +48 -0
- package/build/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.js.map +1 -0
- package/build/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.d.ts +38 -0
- package/build/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.js +48 -0
- package/build/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.js.map +1 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/appointments.schema.d.ts +3 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/appointments.schema.js +28 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/appointments.schema.js.map +1 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.js +36 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.d.ts +3 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.js +28 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.js.map +1 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.d.ts +3 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.js +56 -0
- package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.js.map +1 -0
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js +0 -10
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js.map +1 -1
- package/build/.spruce/schemas/schemas.types.d.ts +678 -604
- package/build/.spruce/schemas/schemas.types.js.map +1 -1
- package/build/__tests__/behavioral/AddingADependency.test.d.ts +9 -0
- package/build/__tests__/behavioral/AddingADependency.test.js +273 -0
- package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -0
- package/build/__tests__/behavioral/CreatingADataStore.test.js.map +1 -1
- package/build/__tests__/behavioral/ManagingDependencies.test.d.ts +9 -0
- package/build/__tests__/behavioral/ManagingDependencies.test.js +279 -0
- package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -0
- package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.d.ts +8 -0
- package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js +209 -0
- package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js.map +1 -0
- package/build/__tests__/behavioral/events/CreatingAListener.test.js +9 -5
- package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js +14 -7
- package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js +43 -12
- package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
- package/build/__tests__/behavioral/views/CreatingATheme.test.js +8 -2
- package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -1
- package/build/__tests__/behavioral/views/SettingUpViews.test.d.ts +1 -0
- package/build/__tests__/behavioral/views/SettingUpViews.test.js +48 -3
- package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -1
- package/build/__tests__/implementation/EventStore.test.js +4 -3
- package/build/__tests__/implementation/EventStore.test.js.map +1 -1
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.d.ts +1 -0
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js +21 -3
- package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
- package/build/errors/SpruceError.js +2 -2
- package/build/errors/SpruceError.js.map +1 -1
- package/build/features/FeatureInstaller.d.ts +1 -1
- package/build/features/FeatureInstallerFactory.js +4 -2
- package/build/features/FeatureInstallerFactory.js.map +1 -1
- package/build/features/dependencies/DependencyFeature.d.ts +16 -0
- package/build/features/dependencies/DependencyFeature.js +92 -0
- package/build/features/dependencies/DependencyFeature.js.map +1 -0
- package/build/features/dependencies/actions/AddAction.d.ts +33 -0
- package/build/features/dependencies/actions/AddAction.js +154 -0
- package/build/features/dependencies/actions/AddAction.js.map +1 -0
- package/build/features/dependencies/actions/ManageAction.d.ts +19 -0
- package/build/features/dependencies/actions/ManageAction.js +161 -0
- package/build/features/dependencies/actions/ManageAction.js.map +1 -0
- package/build/features/event/EventFeature.js +2 -1
- package/build/features/event/EventFeature.js.map +1 -1
- package/build/features/event/builders/EventContractBuilder.d.ts +3 -0
- package/build/features/event/builders/EventContractBuilder.js +12 -8
- package/build/features/event/builders/EventContractBuilder.js.map +1 -1
- package/build/features/event/stores/EventStore.d.ts +2 -1
- package/build/features/event/stores/EventStore.js +33 -25
- package/build/features/event/stores/EventStore.js.map +1 -1
- package/build/features/schema/actions/SyncAction.js +4 -2
- package/build/features/schema/actions/SyncAction.js.map +1 -1
- package/build/features/skill/actions/RebuildAction.js.map +1 -1
- package/build/features/skill/stores/SkillStore.d.ts +4 -0
- package/build/features/skill/stores/SkillStore.js +39 -15
- package/build/features/skill/stores/SkillStore.js.map +1 -1
- package/build/features/view/ViewFeature.js +5 -1
- package/build/features/view/ViewFeature.js.map +1 -1
- package/build/interfaces/SpyInterface.d.ts +2 -1
- package/build/interfaces/SpyInterface.js +67 -7
- package/build/interfaces/SpyInterface.js.map +1 -1
- package/build/services/DependencyService.d.ts +13 -0
- package/build/services/DependencyService.js +49 -0
- package/build/services/DependencyService.js.map +1 -0
- package/build/services/ServiceFactory.d.ts +2 -0
- package/build/services/ServiceFactory.js +5 -0
- package/build/services/ServiceFactory.js.map +1 -1
- package/build/templateItemBuilders/EventTemplateItemBuilder.js +9 -0
- package/build/templateItemBuilders/EventTemplateItemBuilder.js.map +1 -1
- package/build/tests/AbstractCliTest.js +2 -36
- package/build/tests/AbstractCliTest.js.map +1 -1
- package/build/tests/fixtures/SkillFixture.d.ts +2 -0
- package/build/tests/fixtures/SkillFixture.js +8 -8
- package/build/tests/fixtures/SkillFixture.js.map +1 -1
- package/build/utilities/action.utility.js +1 -5
- package/build/utilities/action.utility.js.map +1 -1
- package/package.json +27 -27
- package/src/.spruce/events/appointments/didBookAppointments.v2021_06_23.contract.ts +15 -0
- package/src/.spruce/events/events.contract.ts +32 -8
- package/src/.spruce/events/forms/convertPdfToForm.v2021_07_02.contract.ts +20 -2
- package/src/.spruce/events/forms/convertPdfToSchemas.v2021_07_02.contract.ts +20 -2
- package/src/.spruce/events/forms/createForm.v2021_07_02.contract.ts +20 -2
- package/src/.spruce/events/forms/deleteCompletedForm.v2021_07_02.contract.ts +20 -2
- package/src/.spruce/events/forms/getCompletedForm.v2021_07_02.contract.ts +15 -0
- package/src/.spruce/events/forms/listCompletedForms.v2021_07_02.contract.ts +20 -3
- package/src/.spruce/events/forms/listForms.v2021_07_02.contract.ts +38 -4
- package/src/.spruce/events/heartwood/didRegisterSkillViews.v2021_02_11.contract.ts +15 -0
- package/src/.spruce/events/heartwood/generateUrl.v2021_02_11.contract.ts +21 -4
- package/src/.spruce/events/heartwood/getSkillViews.v2021_02_11.contract.ts +21 -1
- package/src/.spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract.ts +45 -0
- package/src/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.ts +45 -0
- package/src/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.ts +45 -0
- package/src/.spruce/schemas/appointments/v2021_06_23/appointments.schema.ts +22 -0
- package/src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.ts +24 -0
- package/src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.ts +22 -0
- package/src/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTargetAndPayload.schema.ts +36 -0
- package/src/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.ts +0 -6
- package/src/.spruce/schemas/schemas.types.ts +815 -720
- package/src/__tests__/behavioral/AddingADependency.test.ts +98 -0
- package/src/__tests__/behavioral/CreatingADataStore.test.ts +2 -0
- package/src/__tests__/behavioral/ManagingDependencies.test.ts +115 -0
- package/src/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.ts +70 -0
- package/src/__tests__/behavioral/events/CreatingAListener.test.ts +5 -0
- package/src/__tests__/behavioral/events/KeepingEventsInSync.test.ts +6 -0
- package/src/__tests__/behavioral/events/KeepingEventsInSync2.test.ts +27 -0
- package/src/__tests__/behavioral/views/CreatingATheme.test.ts +4 -0
- package/src/__tests__/behavioral/views/SettingUpViews.test.ts +23 -0
- package/src/__tests__/implementation/EventStore.test.ts +5 -2
- package/src/__tests__/implementation/EventTemplateItemBuilder.test.ts +20 -1
- package/src/errors/SpruceError.ts +1 -1
- package/src/features/FeatureInstallerFactory.ts +3 -0
- package/src/features/dependencies/DependencyFeature.ts +27 -0
- package/src/features/dependencies/actions/AddAction.ts +63 -0
- package/src/features/dependencies/actions/ManageAction.ts +84 -0
- package/src/features/event/EventFeature.ts +1 -0
- package/src/features/event/builders/EventContractBuilder.ts +9 -2
- package/src/features/event/stores/EventStore.ts +20 -11
- package/src/features/schema/actions/SyncAction.ts +6 -3
- package/src/features/skill/actions/RebuildAction.ts +2 -0
- package/src/features/skill/stores/SkillStore.ts +8 -1
- package/src/features/view/ViewFeature.ts +5 -0
- package/src/interfaces/SpyInterface.ts +29 -2
- package/src/services/DependencyService.ts +27 -0
- package/src/services/ServiceFactory.ts +6 -0
- package/src/templateItemBuilders/EventTemplateItemBuilder.ts +10 -0
- package/src/tests/AbstractCliTest.ts +1 -21
- package/src/tests/fixtures/SkillFixture.ts +6 -2
- package/src/utilities/action.utility.ts +1 -6
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema.d.ts +0 -3
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema.js +0 -28
- package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema.js.map +0 -1
- package/src/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTarget.schema.ts +0 -22
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { coreEventContracts } from '@sprucelabs/mercury-core-events'
|
|
2
|
+
import appointmentsDidBookAppointmentsEventContract_v2021_06_23, {
|
|
3
|
+
DidBookAppointmentsEventContract as AppointmentsDidBookAppointmentsEventContract_v2021_06_23,
|
|
4
|
+
} from '#spruce/events/appointments/didBookAppointments.v2021_06_23.contract'
|
|
2
5
|
import calendarCreateCalendarEventTypeEventContract_v2021_05_19, {
|
|
3
6
|
CreateCalendarEventTypeEventContract as CalendarCreateCalendarEventTypeEventContract_v2021_05_19,
|
|
4
7
|
} from '#spruce/events/calendar/createCalendarEventType.v2021_05_19.contract'
|
|
@@ -50,8 +53,21 @@ import mySkill163362874854325100MyCoolEventEventContract_v2021_01_22, {
|
|
|
50
53
|
import mySkill163362882591525586MyCoolEventEventContract_v2021_01_22, {
|
|
51
54
|
MyCoolEventEventContract as MySkill163362882591525586MyCoolEventEventContract_v2021_01_22,
|
|
52
55
|
} from '#spruce/events/mySkill163362882591525586/myCoolEvent.v2021_01_22.contract'
|
|
56
|
+
import mySkill163459634973936127MyCoolEventEventContract_v2021_01_22, {
|
|
57
|
+
MyCoolEventEventContract as MySkill163459634973936127MyCoolEventEventContract_v2021_01_22,
|
|
58
|
+
} from '#spruce/events/mySkill163459634973936127/myCoolEvent.v2021_01_22.contract'
|
|
59
|
+
import mySkill163493473102035607MyCoolEventEventContract_v2021_01_22, {
|
|
60
|
+
MyCoolEventEventContract as MySkill163493473102035607MyCoolEventEventContract_v2021_01_22,
|
|
61
|
+
} from '#spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract'
|
|
62
|
+
import mySkill163493479880935941MyCoolEventEventContract_v2021_01_22, {
|
|
63
|
+
MyCoolEventEventContract as MySkill163493479880935941MyCoolEventEventContract_v2021_01_22,
|
|
64
|
+
} from '#spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract'
|
|
53
65
|
|
|
54
66
|
export default [
|
|
67
|
+
heartwoodDidRegisterSkillViewsEventContract_v2021_02_11,
|
|
68
|
+
heartwoodGenerateUrlEventContract_v2021_02_11,
|
|
69
|
+
heartwoodGetSkillViewsEventContract_v2021_02_11,
|
|
70
|
+
heartwoodRegisterSkillViewsEventContract_v2021_02_11,
|
|
55
71
|
calendarCreateCalendarEventTypeEventContract_v2021_05_19,
|
|
56
72
|
calendarListCalendarEventTypesEventContract_v2021_05_19,
|
|
57
73
|
mySkill163362874854325100MyCoolEventEventContract_v2021_01_22,
|
|
@@ -65,15 +81,23 @@ export default [
|
|
|
65
81
|
formsListCompletedFormsEventContract_v2021_07_02,
|
|
66
82
|
formsListFormsEventContract_v2021_07_02,
|
|
67
83
|
formsUpdateCompletedFormEventContract_v2021_07_02,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
84
|
+
appointmentsDidBookAppointmentsEventContract_v2021_06_23,
|
|
85
|
+
mySkill163459634973936127MyCoolEventEventContract_v2021_01_22,
|
|
86
|
+
mySkill163493473102035607MyCoolEventEventContract_v2021_01_22,
|
|
87
|
+
mySkill163493479880935941MyCoolEventEventContract_v2021_01_22,
|
|
72
88
|
...coreEventContracts,
|
|
73
89
|
]
|
|
74
90
|
|
|
75
91
|
declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
76
92
|
interface SkillEventSignatures {
|
|
93
|
+
'heartwood.did-register-skill-views::v2021_02_11': HeartwoodDidRegisterSkillViewsEventContract_v2021_02_11['eventSignatures']['heartwood.did-register-skill-views::v2021_02_11']
|
|
94
|
+
|
|
95
|
+
'heartwood.generate-url::v2021_02_11': HeartwoodGenerateUrlEventContract_v2021_02_11['eventSignatures']['heartwood.generate-url::v2021_02_11']
|
|
96
|
+
|
|
97
|
+
'heartwood.get-skill-views::v2021_02_11': HeartwoodGetSkillViewsEventContract_v2021_02_11['eventSignatures']['heartwood.get-skill-views::v2021_02_11']
|
|
98
|
+
|
|
99
|
+
'heartwood.register-skill-views::v2021_02_11': HeartwoodRegisterSkillViewsEventContract_v2021_02_11['eventSignatures']['heartwood.register-skill-views::v2021_02_11']
|
|
100
|
+
|
|
77
101
|
'calendar.create-calendar-event-type::v2021_05_19': CalendarCreateCalendarEventTypeEventContract_v2021_05_19['eventSignatures']['calendar.create-calendar-event-type::v2021_05_19']
|
|
78
102
|
|
|
79
103
|
'calendar.list-calendar-event-types::v2021_05_19': CalendarListCalendarEventTypesEventContract_v2021_05_19['eventSignatures']['calendar.list-calendar-event-types::v2021_05_19']
|
|
@@ -100,12 +124,12 @@ declare module '@sprucelabs/mercury-types/build/types/mercury.types' {
|
|
|
100
124
|
|
|
101
125
|
'forms.update-completed-form::v2021_07_02': FormsUpdateCompletedFormEventContract_v2021_07_02['eventSignatures']['forms.update-completed-form::v2021_07_02']
|
|
102
126
|
|
|
103
|
-
'
|
|
127
|
+
'appointments.did-book-appointments::v2021_06_23': AppointmentsDidBookAppointmentsEventContract_v2021_06_23['eventSignatures']['appointments.did-book-appointments::v2021_06_23']
|
|
104
128
|
|
|
105
|
-
'
|
|
129
|
+
'my-skill-1634596349739-36127.my-cool-event::v2021_01_22': MySkill163459634973936127MyCoolEventEventContract_v2021_01_22['eventSignatures']['my-skill-1634596349739-36127.my-cool-event::v2021_01_22']
|
|
106
130
|
|
|
107
|
-
'
|
|
131
|
+
'my-skill-1634934731020-35607.my-cool-event::v2021_01_22': MySkill163493473102035607MyCoolEventEventContract_v2021_01_22['eventSignatures']['my-skill-1634934731020-35607.my-cool-event::v2021_01_22']
|
|
108
132
|
|
|
109
|
-
'
|
|
133
|
+
'my-skill-1634934798809-35941.my-cool-event::v2021_01_22': MySkill163493479880935941MyCoolEventEventContract_v2021_01_22['eventSignatures']['my-skill-1634934798809-35941.my-cool-event::v2021_01_22']
|
|
110
134
|
}
|
|
111
135
|
}
|
|
@@ -12,19 +12,37 @@ const convertPdfToFormEventContract = buildEventContract({
|
|
|
12
12
|
emitPermissionContract: buildPermissionContract({
|
|
13
13
|
id: 'convertPdfToFormEmitPermissions',
|
|
14
14
|
name: 'Convert Pdf to Form',
|
|
15
|
+
description: null,
|
|
15
16
|
requireAllPermissions: false,
|
|
16
17
|
permissions: [
|
|
17
18
|
{
|
|
18
19
|
id: 'can-convert-pdf-to-form',
|
|
19
20
|
name: 'Can convert pdf to form',
|
|
21
|
+
description: null,
|
|
22
|
+
requireAllStatuses: null,
|
|
20
23
|
defaults: {
|
|
21
|
-
|
|
24
|
+
skill: null,
|
|
25
|
+
owner: null,
|
|
26
|
+
groupManager: null,
|
|
27
|
+
manager: null,
|
|
28
|
+
teammate: null,
|
|
29
|
+
guest: null,
|
|
30
|
+
anonymous: {
|
|
22
31
|
default: true,
|
|
32
|
+
clockedIn: null,
|
|
33
|
+
clockedOut: null,
|
|
34
|
+
onPrem: null,
|
|
35
|
+
offPrem: null,
|
|
23
36
|
},
|
|
24
|
-
|
|
37
|
+
loggedIn: {
|
|
25
38
|
default: true,
|
|
39
|
+
clockedIn: null,
|
|
40
|
+
clockedOut: null,
|
|
41
|
+
onPrem: null,
|
|
42
|
+
offPrem: null,
|
|
26
43
|
},
|
|
27
44
|
},
|
|
45
|
+
can: null,
|
|
28
46
|
},
|
|
29
47
|
],
|
|
30
48
|
}),
|
|
@@ -12,19 +12,37 @@ const convertPdfToSchemasEventContract = buildEventContract({
|
|
|
12
12
|
emitPermissionContract: buildPermissionContract({
|
|
13
13
|
id: 'convertPdfToSchemasEmitPermissions',
|
|
14
14
|
name: 'convert pdf to schemas',
|
|
15
|
+
description: null,
|
|
15
16
|
requireAllPermissions: false,
|
|
16
17
|
permissions: [
|
|
17
18
|
{
|
|
18
19
|
id: 'can-convert-pdf-to-schemas',
|
|
19
20
|
name: 'Can convert pdf to schemas',
|
|
21
|
+
description: null,
|
|
22
|
+
requireAllStatuses: null,
|
|
20
23
|
defaults: {
|
|
21
|
-
|
|
24
|
+
skill: null,
|
|
25
|
+
owner: null,
|
|
26
|
+
groupManager: null,
|
|
27
|
+
manager: null,
|
|
28
|
+
teammate: null,
|
|
29
|
+
guest: null,
|
|
30
|
+
anonymous: {
|
|
22
31
|
default: true,
|
|
32
|
+
clockedIn: null,
|
|
33
|
+
clockedOut: null,
|
|
34
|
+
onPrem: null,
|
|
35
|
+
offPrem: null,
|
|
23
36
|
},
|
|
24
|
-
|
|
37
|
+
loggedIn: {
|
|
25
38
|
default: true,
|
|
39
|
+
clockedIn: null,
|
|
40
|
+
clockedOut: null,
|
|
41
|
+
onPrem: null,
|
|
42
|
+
offPrem: null,
|
|
26
43
|
},
|
|
27
44
|
},
|
|
45
|
+
can: null,
|
|
28
46
|
},
|
|
29
47
|
],
|
|
30
48
|
}),
|
|
@@ -12,19 +12,37 @@ const createFormEventContract = buildEventContract({
|
|
|
12
12
|
emitPermissionContract: buildPermissionContract({
|
|
13
13
|
id: 'createFormEmitPermissions',
|
|
14
14
|
name: 'Create Form',
|
|
15
|
+
description: null,
|
|
15
16
|
requireAllPermissions: false,
|
|
16
17
|
permissions: [
|
|
17
18
|
{
|
|
18
19
|
id: 'can-create-form',
|
|
19
20
|
name: 'Can create form',
|
|
21
|
+
description: null,
|
|
22
|
+
requireAllStatuses: null,
|
|
20
23
|
defaults: {
|
|
21
|
-
|
|
24
|
+
skill: null,
|
|
25
|
+
owner: null,
|
|
26
|
+
groupManager: null,
|
|
27
|
+
manager: null,
|
|
28
|
+
teammate: null,
|
|
29
|
+
guest: null,
|
|
30
|
+
anonymous: {
|
|
22
31
|
default: true,
|
|
32
|
+
clockedIn: null,
|
|
33
|
+
clockedOut: null,
|
|
34
|
+
onPrem: null,
|
|
35
|
+
offPrem: null,
|
|
23
36
|
},
|
|
24
|
-
|
|
37
|
+
loggedIn: {
|
|
25
38
|
default: true,
|
|
39
|
+
clockedIn: null,
|
|
40
|
+
clockedOut: null,
|
|
41
|
+
onPrem: null,
|
|
42
|
+
offPrem: null,
|
|
26
43
|
},
|
|
27
44
|
},
|
|
45
|
+
can: null,
|
|
28
46
|
},
|
|
29
47
|
],
|
|
30
48
|
}),
|
|
@@ -12,19 +12,37 @@ const deleteCompletedFormEventContract = buildEventContract({
|
|
|
12
12
|
emitPermissionContract: buildPermissionContract({
|
|
13
13
|
id: 'deleteCompletedFormEmitPermissions',
|
|
14
14
|
name: 'delete completed form',
|
|
15
|
+
description: null,
|
|
15
16
|
requireAllPermissions: false,
|
|
16
17
|
permissions: [
|
|
17
18
|
{
|
|
18
19
|
id: 'can-delete-completed-form',
|
|
19
20
|
name: 'Can delete completed form',
|
|
21
|
+
description: null,
|
|
22
|
+
requireAllStatuses: null,
|
|
20
23
|
defaults: {
|
|
21
|
-
|
|
24
|
+
skill: null,
|
|
25
|
+
owner: null,
|
|
26
|
+
groupManager: null,
|
|
27
|
+
manager: null,
|
|
28
|
+
teammate: null,
|
|
29
|
+
guest: null,
|
|
30
|
+
anonymous: {
|
|
22
31
|
default: true,
|
|
32
|
+
clockedIn: null,
|
|
33
|
+
clockedOut: null,
|
|
34
|
+
onPrem: null,
|
|
35
|
+
offPrem: null,
|
|
23
36
|
},
|
|
24
|
-
|
|
37
|
+
loggedIn: {
|
|
25
38
|
default: true,
|
|
39
|
+
clockedIn: null,
|
|
40
|
+
clockedOut: null,
|
|
41
|
+
onPrem: null,
|
|
42
|
+
offPrem: null,
|
|
26
43
|
},
|
|
27
44
|
},
|
|
45
|
+
can: null,
|
|
28
46
|
},
|
|
29
47
|
],
|
|
30
48
|
}),
|
|
@@ -12,16 +12,31 @@ const getCompletedFormEventContract = buildEventContract({
|
|
|
12
12
|
emitPermissionContract: buildPermissionContract({
|
|
13
13
|
id: 'getCompletedFormEmitPermissions',
|
|
14
14
|
name: 'Get completed form',
|
|
15
|
+
description: null,
|
|
15
16
|
requireAllPermissions: false,
|
|
16
17
|
permissions: [
|
|
17
18
|
{
|
|
18
19
|
id: 'can-get-completed-form',
|
|
19
20
|
name: 'Can get completed form',
|
|
21
|
+
description: null,
|
|
22
|
+
requireAllStatuses: null,
|
|
20
23
|
defaults: {
|
|
24
|
+
skill: null,
|
|
25
|
+
owner: null,
|
|
26
|
+
groupManager: null,
|
|
27
|
+
manager: null,
|
|
28
|
+
teammate: null,
|
|
29
|
+
guest: null,
|
|
30
|
+
anonymous: null,
|
|
21
31
|
loggedIn: {
|
|
22
32
|
default: true,
|
|
33
|
+
clockedIn: null,
|
|
34
|
+
clockedOut: null,
|
|
35
|
+
onPrem: null,
|
|
36
|
+
offPrem: null,
|
|
23
37
|
},
|
|
24
38
|
},
|
|
39
|
+
can: null,
|
|
25
40
|
},
|
|
26
41
|
],
|
|
27
42
|
}),
|
|
@@ -11,20 +11,37 @@ const listCompletedFormsEventContract = buildEventContract({
|
|
|
11
11
|
emitPermissionContract: buildPermissionContract({
|
|
12
12
|
id: 'listCompletedFormsEmitPermissions',
|
|
13
13
|
name: 'list completed forms',
|
|
14
|
+
description: null,
|
|
14
15
|
requireAllPermissions: false,
|
|
15
16
|
permissions: [
|
|
16
17
|
{
|
|
17
18
|
id: 'can-list-completed-forms',
|
|
18
19
|
name: 'Can list completed forms',
|
|
20
|
+
description: null,
|
|
21
|
+
requireAllStatuses: null,
|
|
19
22
|
defaults: {
|
|
20
|
-
|
|
23
|
+
skill: true,
|
|
24
|
+
owner: null,
|
|
25
|
+
groupManager: null,
|
|
26
|
+
manager: null,
|
|
27
|
+
teammate: null,
|
|
28
|
+
guest: null,
|
|
29
|
+
anonymous: {
|
|
21
30
|
default: true,
|
|
31
|
+
clockedIn: null,
|
|
32
|
+
clockedOut: null,
|
|
33
|
+
onPrem: null,
|
|
34
|
+
offPrem: null,
|
|
22
35
|
},
|
|
23
|
-
|
|
36
|
+
loggedIn: {
|
|
24
37
|
default: true,
|
|
38
|
+
clockedIn: null,
|
|
39
|
+
clockedOut: null,
|
|
40
|
+
onPrem: null,
|
|
41
|
+
offPrem: null,
|
|
25
42
|
},
|
|
26
|
-
skill: true,
|
|
27
43
|
},
|
|
44
|
+
can: null,
|
|
28
45
|
},
|
|
29
46
|
],
|
|
30
47
|
}),
|
|
@@ -11,40 +11,74 @@ const listFormsEventContract = buildEventContract({
|
|
|
11
11
|
emitPermissionContract: buildPermissionContract({
|
|
12
12
|
id: 'listFormsEmitPermissions',
|
|
13
13
|
name: 'list forms',
|
|
14
|
+
description: null,
|
|
14
15
|
requireAllPermissions: false,
|
|
15
16
|
permissions: [
|
|
16
17
|
{
|
|
17
18
|
id: 'can-list-forms',
|
|
18
19
|
name: 'Can list forms',
|
|
20
|
+
description: null,
|
|
21
|
+
requireAllStatuses: null,
|
|
19
22
|
defaults: {
|
|
20
|
-
|
|
23
|
+
skill: true,
|
|
24
|
+
owner: null,
|
|
25
|
+
groupManager: null,
|
|
26
|
+
manager: null,
|
|
27
|
+
teammate: null,
|
|
28
|
+
guest: null,
|
|
29
|
+
anonymous: {
|
|
21
30
|
default: true,
|
|
31
|
+
clockedIn: null,
|
|
32
|
+
clockedOut: null,
|
|
33
|
+
onPrem: null,
|
|
34
|
+
offPrem: null,
|
|
22
35
|
},
|
|
23
|
-
|
|
36
|
+
loggedIn: {
|
|
24
37
|
default: true,
|
|
38
|
+
clockedIn: null,
|
|
39
|
+
clockedOut: null,
|
|
40
|
+
onPrem: null,
|
|
41
|
+
offPrem: null,
|
|
25
42
|
},
|
|
26
|
-
skill: true,
|
|
27
43
|
},
|
|
44
|
+
can: null,
|
|
28
45
|
},
|
|
29
46
|
],
|
|
30
47
|
}),
|
|
31
48
|
listenPermissionContract: buildPermissionContract({
|
|
32
49
|
id: 'listFormsListenPermissions',
|
|
33
50
|
name: 'list forms',
|
|
51
|
+
description: null,
|
|
34
52
|
requireAllPermissions: false,
|
|
35
53
|
permissions: [
|
|
36
54
|
{
|
|
37
55
|
id: 'can-list-forms',
|
|
38
56
|
name: 'Can list forms',
|
|
57
|
+
description: null,
|
|
58
|
+
requireAllStatuses: null,
|
|
39
59
|
defaults: {
|
|
60
|
+
skill: true,
|
|
61
|
+
owner: null,
|
|
62
|
+
groupManager: null,
|
|
63
|
+
manager: null,
|
|
64
|
+
teammate: null,
|
|
65
|
+
guest: null,
|
|
40
66
|
anonymous: {
|
|
41
67
|
default: true,
|
|
68
|
+
clockedIn: null,
|
|
69
|
+
clockedOut: null,
|
|
70
|
+
onPrem: null,
|
|
71
|
+
offPrem: null,
|
|
42
72
|
},
|
|
43
73
|
loggedIn: {
|
|
44
74
|
default: true,
|
|
75
|
+
clockedIn: null,
|
|
76
|
+
clockedOut: null,
|
|
77
|
+
onPrem: null,
|
|
78
|
+
offPrem: null,
|
|
45
79
|
},
|
|
46
|
-
skill: true,
|
|
47
80
|
},
|
|
81
|
+
can: null,
|
|
48
82
|
},
|
|
49
83
|
],
|
|
50
84
|
}),
|
|
@@ -11,16 +11,31 @@ const didRegisterSkillViewsEventContract = buildEventContract({
|
|
|
11
11
|
listenPermissionContract: buildPermissionContract({
|
|
12
12
|
id: 'didRegisterSkillViewsListenPermissions',
|
|
13
13
|
name: 'did register skill views',
|
|
14
|
+
description: null,
|
|
14
15
|
requireAllPermissions: false,
|
|
15
16
|
permissions: [
|
|
16
17
|
{
|
|
17
18
|
id: 'can-listen-to-did-register-skill-views',
|
|
18
19
|
name: 'Know when skill views are registered',
|
|
20
|
+
description: null,
|
|
21
|
+
requireAllStatuses: null,
|
|
19
22
|
defaults: {
|
|
23
|
+
skill: null,
|
|
24
|
+
owner: null,
|
|
25
|
+
groupManager: null,
|
|
26
|
+
manager: null,
|
|
27
|
+
teammate: null,
|
|
28
|
+
guest: null,
|
|
29
|
+
anonymous: null,
|
|
20
30
|
loggedIn: {
|
|
21
31
|
default: true,
|
|
32
|
+
clockedIn: null,
|
|
33
|
+
clockedOut: null,
|
|
34
|
+
onPrem: null,
|
|
35
|
+
offPrem: null,
|
|
22
36
|
},
|
|
23
37
|
},
|
|
38
|
+
can: null,
|
|
24
39
|
},
|
|
25
40
|
],
|
|
26
41
|
}),
|
|
@@ -12,20 +12,37 @@ const generateUrlEventContract = buildEventContract({
|
|
|
12
12
|
emitPermissionContract: buildPermissionContract({
|
|
13
13
|
id: 'generateUrlEmitPermissions',
|
|
14
14
|
name: 'Generate url',
|
|
15
|
+
description: null,
|
|
15
16
|
requireAllPermissions: false,
|
|
16
17
|
permissions: [
|
|
17
18
|
{
|
|
18
|
-
name: 'Can generate url',
|
|
19
19
|
id: 'can-generate-url',
|
|
20
|
+
name: 'Can generate url',
|
|
21
|
+
description: null,
|
|
22
|
+
requireAllStatuses: null,
|
|
20
23
|
defaults: {
|
|
21
|
-
|
|
24
|
+
skill: true,
|
|
25
|
+
owner: null,
|
|
26
|
+
groupManager: null,
|
|
27
|
+
manager: null,
|
|
28
|
+
teammate: null,
|
|
29
|
+
guest: null,
|
|
30
|
+
anonymous: {
|
|
22
31
|
default: true,
|
|
32
|
+
clockedIn: null,
|
|
33
|
+
clockedOut: null,
|
|
34
|
+
onPrem: null,
|
|
35
|
+
offPrem: null,
|
|
23
36
|
},
|
|
24
|
-
|
|
37
|
+
loggedIn: {
|
|
25
38
|
default: true,
|
|
39
|
+
clockedIn: null,
|
|
40
|
+
clockedOut: null,
|
|
41
|
+
onPrem: null,
|
|
42
|
+
offPrem: null,
|
|
26
43
|
},
|
|
27
|
-
skill: true,
|
|
28
44
|
},
|
|
45
|
+
can: null,
|
|
29
46
|
},
|
|
30
47
|
],
|
|
31
48
|
}),
|
|
@@ -12,23 +12,43 @@ const getSkillViewsEventContract = buildEventContract({
|
|
|
12
12
|
emitPermissionContract: buildPermissionContract({
|
|
13
13
|
id: 'getSkillViewsEmitPermissions',
|
|
14
14
|
name: 'Get skill views',
|
|
15
|
+
description: null,
|
|
15
16
|
requireAllPermissions: false,
|
|
16
17
|
permissions: [
|
|
17
18
|
{
|
|
18
19
|
id: 'can-get-skill-views',
|
|
19
20
|
name: 'Can get skill views',
|
|
21
|
+
description: null,
|
|
22
|
+
requireAllStatuses: null,
|
|
20
23
|
defaults: {
|
|
24
|
+
skill: true,
|
|
25
|
+
owner: null,
|
|
26
|
+
groupManager: null,
|
|
27
|
+
manager: null,
|
|
28
|
+
teammate: null,
|
|
21
29
|
guest: {
|
|
22
30
|
default: true,
|
|
31
|
+
clockedIn: null,
|
|
32
|
+
clockedOut: null,
|
|
33
|
+
onPrem: null,
|
|
34
|
+
offPrem: null,
|
|
23
35
|
},
|
|
24
36
|
anonymous: {
|
|
25
37
|
default: true,
|
|
38
|
+
clockedIn: null,
|
|
39
|
+
clockedOut: null,
|
|
40
|
+
onPrem: null,
|
|
41
|
+
offPrem: null,
|
|
26
42
|
},
|
|
27
43
|
loggedIn: {
|
|
28
44
|
default: true,
|
|
45
|
+
clockedIn: null,
|
|
46
|
+
clockedOut: null,
|
|
47
|
+
onPrem: null,
|
|
48
|
+
offPrem: null,
|
|
29
49
|
},
|
|
30
|
-
skill: true,
|
|
31
50
|
},
|
|
51
|
+
can: null,
|
|
32
52
|
},
|
|
33
53
|
],
|
|
34
54
|
}),
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { buildEventContract } from '@sprucelabs/mercury-types'
|
|
2
|
+
import { buildPermissionContract } from '@sprucelabs/mercury-types'
|
|
3
|
+
|
|
4
|
+
const myCoolEventEventContract = buildEventContract({
|
|
5
|
+
eventSignatures: {
|
|
6
|
+
'my-skill-1634596349739-36127.my-cool-event::v2021_01_22': {
|
|
7
|
+
isGlobal: true,
|
|
8
|
+
|
|
9
|
+
emitPermissionContract: buildPermissionContract({
|
|
10
|
+
id: 'anon-can',
|
|
11
|
+
name: 'can anon',
|
|
12
|
+
description: null,
|
|
13
|
+
requireAllPermissions: null,
|
|
14
|
+
permissions: [
|
|
15
|
+
{
|
|
16
|
+
id: 'can-emit',
|
|
17
|
+
name: 'can do it!',
|
|
18
|
+
description: null,
|
|
19
|
+
requireAllStatuses: null,
|
|
20
|
+
defaults: {
|
|
21
|
+
skill: null,
|
|
22
|
+
owner: null,
|
|
23
|
+
groupManager: null,
|
|
24
|
+
manager: null,
|
|
25
|
+
teammate: null,
|
|
26
|
+
guest: null,
|
|
27
|
+
anonymous: {
|
|
28
|
+
default: true,
|
|
29
|
+
clockedIn: null,
|
|
30
|
+
clockedOut: null,
|
|
31
|
+
onPrem: null,
|
|
32
|
+
offPrem: null,
|
|
33
|
+
},
|
|
34
|
+
loggedIn: null,
|
|
35
|
+
},
|
|
36
|
+
can: null,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
}),
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
})
|
|
43
|
+
export default myCoolEventEventContract
|
|
44
|
+
|
|
45
|
+
export type MyCoolEventEventContract = typeof myCoolEventEventContract
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { buildEventContract } from '@sprucelabs/mercury-types'
|
|
2
|
+
import { buildPermissionContract } from '@sprucelabs/mercury-types'
|
|
3
|
+
|
|
4
|
+
const myCoolEventEventContract = buildEventContract({
|
|
5
|
+
eventSignatures: {
|
|
6
|
+
'my-skill-1634934731020-35607.my-cool-event::v2021_01_22': {
|
|
7
|
+
isGlobal: true,
|
|
8
|
+
|
|
9
|
+
emitPermissionContract: buildPermissionContract({
|
|
10
|
+
id: 'anon-can',
|
|
11
|
+
name: 'can anon',
|
|
12
|
+
description: null,
|
|
13
|
+
requireAllPermissions: null,
|
|
14
|
+
permissions: [
|
|
15
|
+
{
|
|
16
|
+
id: 'can-emit',
|
|
17
|
+
name: 'can do it!',
|
|
18
|
+
description: null,
|
|
19
|
+
requireAllStatuses: null,
|
|
20
|
+
defaults: {
|
|
21
|
+
skill: null,
|
|
22
|
+
owner: null,
|
|
23
|
+
groupManager: null,
|
|
24
|
+
manager: null,
|
|
25
|
+
teammate: null,
|
|
26
|
+
guest: null,
|
|
27
|
+
anonymous: {
|
|
28
|
+
default: true,
|
|
29
|
+
clockedIn: null,
|
|
30
|
+
clockedOut: null,
|
|
31
|
+
onPrem: null,
|
|
32
|
+
offPrem: null,
|
|
33
|
+
},
|
|
34
|
+
loggedIn: null,
|
|
35
|
+
},
|
|
36
|
+
can: null,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
}),
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
})
|
|
43
|
+
export default myCoolEventEventContract
|
|
44
|
+
|
|
45
|
+
export type MyCoolEventEventContract = typeof myCoolEventEventContract
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { buildEventContract } from '@sprucelabs/mercury-types'
|
|
2
|
+
import { buildPermissionContract } from '@sprucelabs/mercury-types'
|
|
3
|
+
|
|
4
|
+
const myCoolEventEventContract = buildEventContract({
|
|
5
|
+
eventSignatures: {
|
|
6
|
+
'my-skill-1634934798809-35941.my-cool-event::v2021_01_22': {
|
|
7
|
+
isGlobal: true,
|
|
8
|
+
|
|
9
|
+
emitPermissionContract: buildPermissionContract({
|
|
10
|
+
id: 'anon-can',
|
|
11
|
+
name: 'can anon',
|
|
12
|
+
description: null,
|
|
13
|
+
requireAllPermissions: null,
|
|
14
|
+
permissions: [
|
|
15
|
+
{
|
|
16
|
+
id: 'can-emit',
|
|
17
|
+
name: 'can do it!',
|
|
18
|
+
description: null,
|
|
19
|
+
requireAllStatuses: null,
|
|
20
|
+
defaults: {
|
|
21
|
+
skill: null,
|
|
22
|
+
owner: null,
|
|
23
|
+
groupManager: null,
|
|
24
|
+
manager: null,
|
|
25
|
+
teammate: null,
|
|
26
|
+
guest: null,
|
|
27
|
+
anonymous: {
|
|
28
|
+
default: true,
|
|
29
|
+
clockedIn: null,
|
|
30
|
+
clockedOut: null,
|
|
31
|
+
onPrem: null,
|
|
32
|
+
offPrem: null,
|
|
33
|
+
},
|
|
34
|
+
loggedIn: null,
|
|
35
|
+
},
|
|
36
|
+
can: null,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
}),
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
})
|
|
43
|
+
export default myCoolEventEventContract
|
|
44
|
+
|
|
45
|
+
export type MyCoolEventEventContract = typeof myCoolEventEventContract
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema'
|
|
2
|
+
import { SpruceSchemas } from '../../schemas.types'
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const appointmentsSchema: SpruceSchemas.Appointments.v2021_06_23.AppointmentsSchema = {
|
|
7
|
+
id: 'appointments',
|
|
8
|
+
version: 'v2021_06_23',
|
|
9
|
+
namespace: 'Appointments',
|
|
10
|
+
name: '',
|
|
11
|
+
fields: {
|
|
12
|
+
/** . */
|
|
13
|
+
'guestId': {
|
|
14
|
+
type: 'text',
|
|
15
|
+
options: undefined
|
|
16
|
+
},
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
SchemaRegistry.getInstance().trackSchema(appointmentsSchema)
|
|
21
|
+
|
|
22
|
+
export default appointmentsSchema
|