@sprucelabs/spruce-cli 14.22.10 → 14.23.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.
- package/CHANGELOG.md +12 -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 +19 -19
- 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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const myCoolEventEventContract: {
|
|
2
|
+
eventSignatures: {
|
|
3
|
+
'my-skill-1634934731020-35607.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-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
|
package/build/.spruce/events/mySkill163493473102035607/myCoolEvent.v2021_01_22.contract.js.map
ADDED
|
@@ -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
|
package/build/.spruce/events/mySkill163493479880935941/myCoolEvent.v2021_01_22.contract.js.map
ADDED
|
@@ -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,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"}
|
package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.js
ADDED
|
@@ -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
|
package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitPayload.schema.js.map
ADDED
|
@@ -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"}
|
package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.js
ADDED
|
@@ -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
|
package/build/.spruce/schemas/appointments/v2021_06_23/didBookAppointmentsEmitTarget.schema.js.map
ADDED
|
@@ -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,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"}
|
package/build/.spruce/schemas/heartwood/v2021_02_11/registerSkillViewsEmitTargetAndPayload.schema.js
CHANGED
|
@@ -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","
|
|
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"}
|