@sprucelabs/mercury-core-events 15.0.1 → 15.0.2
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/build/.spruce/events/mercury/addRole.v2020_12_25.contract.js +38 -38
- package/build/.spruce/events/mercury/authenticate.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/canListen.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/confirmPin.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/createLocation.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/createOrganization.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/createPerson.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/createRole.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/deleteLocation.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/deleteOrganization.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/deleteRole.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/didInstall.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/didJoinOrganization.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/didLeaveOrganization.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/didMessage.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/didSignup.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/didUpdateFeed.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/didUpdatePerson.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/doesHonorPermissionContract.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getAnonymousPerson.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getConversationTopics.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getEventContracts.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getFeed.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getLocation.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getOrganization.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getPermissionContract.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getPerson.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getResolvedPermissionsContract.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getRole.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/getSkill.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/health.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/installSkill.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/isSkillInstalled.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/listInstalledSkills.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/listLocations.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/listOrganizations.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/listPeople.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/listPermissionContracts.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/listRoles.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/listSkills.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/logout.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/registerConversationTopics.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/registerEvents.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/registerListeners.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/registerProxyToken.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/registerSkill.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/removeRole.v2020_12_25.contract.js +38 -38
- package/build/.spruce/events/mercury/requestPin.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/scrambleAccount.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/sendMessage.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/submitErrorMessageFeedback.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/syncEventContracts.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/syncPermissionContracts.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/uninstallSkill.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/unregisterConversationTopics.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/unregisterEvents.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/unregisterListeners.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/unregisterSkill.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/updateLocation.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/updateOrganization.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/updatePerson.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/updateRole.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/upsertPermissionContract.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/voteForFeature.v2020_12_25.contract.js +3 -3
- package/build/.spruce/events/mercury/whoami.v2020_12_25.contract.js +4 -4
- package/build/.spruce/settings.json +4 -0
- package/build/esm/.spruce/events/mercury/addRole.v2020_12_25.contract.js +38 -38
- package/build/esm/.spruce/events/mercury/authenticate.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/canListen.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/confirmPin.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/createLocation.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/createOrganization.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/createPerson.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/createRole.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/deleteLocation.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/deleteOrganization.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/deleteRole.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/didInstall.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/didJoinOrganization.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/didLeaveOrganization.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/didMessage.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/didSignup.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/didUpdateFeed.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/didUpdatePerson.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/doesHonorPermissionContract.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getAnonymousPerson.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getConversationTopics.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getEventContracts.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getFeed.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getLocation.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getOrganization.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getPermissionContract.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getPerson.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getResolvedPermissionsContract.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getRole.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/getSkill.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/health.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/installSkill.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/isSkillInstalled.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/listInstalledSkills.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/listLocations.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/listOrganizations.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/listPeople.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/listPermissionContracts.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/listRoles.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/listSkills.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/logout.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/registerConversationTopics.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/registerEvents.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/registerListeners.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/registerProxyToken.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/registerSkill.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/removeRole.v2020_12_25.contract.js +38 -38
- package/build/esm/.spruce/events/mercury/requestPin.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/scrambleAccount.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/sendMessage.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/submitErrorMessageFeedback.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/syncEventContracts.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/syncPermissionContracts.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/uninstallSkill.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/unregisterConversationTopics.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/unregisterEvents.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/unregisterListeners.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/unregisterSkill.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/updateLocation.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/updateOrganization.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/updatePerson.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/updateRole.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/upsertPermissionContract.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/voteForFeature.v2020_12_25.contract.js +3 -3
- package/build/esm/.spruce/events/mercury/whoami.v2020_12_25.contract.js +4 -4
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import submitErrorMessageFeedbackEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/submitErrorMessageFeedbackEmitTargetAndPayload.schema.js';
|
|
2
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
3
3
|
const submitErrorMessageFeedbackEventContract = buildEventContract({
|
|
4
4
|
eventSignatures: {
|
|
5
5
|
'submit-error-message-feedback::v2020_12_25': {
|
|
6
6
|
emitPayloadSchema: submitErrorMessageFeedbackEmitTargetAndPayloadSchema,
|
|
7
|
-
}
|
|
8
|
-
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
9
|
});
|
|
10
10
|
export default submitErrorMessageFeedbackEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import syncEventContractsEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/syncEventContractsEmitTargetAndPayload.schema.js';
|
|
3
2
|
import syncEventContractsResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/syncEventContractsResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const syncEventContractsEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'sync-event-contracts::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: syncEventContractsEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: syncEventContractsResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default syncEventContractsEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import syncPermissionContractsEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/syncPermissionContractsEmitTargetAndPayload.schema.js';
|
|
3
2
|
import syncPermissionContractsResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/syncPermissionContractsResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const syncPermissionContractsEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'sync-permission-contracts::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: syncPermissionContractsEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: syncPermissionContractsResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default syncPermissionContractsEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import uninstallSkillEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/uninstallSkillEmitTargetAndPayload.schema.js';
|
|
3
2
|
import unInstallSkillResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/unInstallSkillResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const uninstallSkillEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'uninstall-skill::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: uninstallSkillEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: unInstallSkillResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default uninstallSkillEventContract;
|
package/build/esm/.spruce/events/mercury/unregisterConversationTopics.v2020_12_25.contract.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import unregisterConversationTopicsEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/unregisterConversationTopicsEmitTargetAndPayload.schema.js';
|
|
3
2
|
import unregisterConversationTopicsResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/unregisterConversationTopicsResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const unregisterConversationTopicsEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'unregister-conversation-topics::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: unregisterConversationTopicsEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: unregisterConversationTopicsResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default unregisterConversationTopicsEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import unregisterEventsEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/unregisterEventsEmitTargetAndPayload.schema.js';
|
|
3
2
|
import unregisterEventsResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/unregisterEventsResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const unregisterEventsEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'unregister-events::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: unregisterEventsEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: unregisterEventsResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default unregisterEventsEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import unregisterListenersEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/unregisterListenersEmitTargetAndPayload.schema.js';
|
|
3
2
|
import unregisterListenersResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/unregisterListenersResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const unregisterListenersEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'unregister-listeners::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: unregisterListenersEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: unregisterListenersResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default unregisterListenersEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import unregisterSkillEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/unregisterSkillEmitTargetAndPayload.schema.js';
|
|
3
2
|
import unregisterSkillResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/unregisterSkillResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const unregisterSkillEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'unregister-skill::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: unregisterSkillEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: unregisterSkillResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default unregisterSkillEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import updateLocationEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/updateLocationEmitTargetAndPayload.schema.js';
|
|
3
2
|
import updateLocationResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/updateLocationResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const updateLocationEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'update-location::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: updateLocationEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: updateLocationResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default updateLocationEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import updateOrganizationEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/updateOrganizationEmitTargetAndPayload.schema.js';
|
|
3
2
|
import updateOrgResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/updateOrgResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const updateOrganizationEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'update-organization::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: updateOrganizationEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: updateOrgResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default updateOrganizationEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import updatePersonEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/updatePersonEmitTargetAndPayload.schema.js';
|
|
3
2
|
import updatePersonResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/updatePersonResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const updatePersonEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'update-person::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: updatePersonEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: updatePersonResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default updatePersonEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import updateRoleEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/updateRoleEmitTargetAndPayload.schema.js';
|
|
3
2
|
import updateRoleResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/updateRoleResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const updateRoleEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'update-role::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: updateRoleEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: updateRoleResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default updateRoleEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import upsertPermissionContractEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/upsertPermissionContractEmitTargetAndPayload.schema.js';
|
|
3
2
|
import upsertPermissionContractResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/upsertPermissionContractResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const upsertPermissionContractEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'upsert-permission-contract::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: upsertPermissionContractEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: upsertPermissionContractResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default upsertPermissionContractEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
1
|
import voteForFeatureEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/voteForFeatureEmitTargetAndPayload.schema.js';
|
|
3
2
|
import voteForFeatureResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/voteForFeatureResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const voteForFeatureEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'vote-for-feature::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: voteForFeatureEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: voteForFeatureResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default voteForFeatureEventContract;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
2
|
-
import authenticateResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/authenticateResponsePayload.schema.js';
|
|
3
1
|
import whoamiEmitTargetAndPayloadSchema from './../../schemas/mercury/v2020_12_25/whoamiEmitTargetAndPayload.schema.js';
|
|
2
|
+
import authenticateResponsePayloadSchema from './../../schemas/mercury/v2020_12_25/authenticateResponsePayload.schema.js';
|
|
3
|
+
import { buildEventContract } from '@sprucelabs/mercury-types';
|
|
4
4
|
const whoamiEventContract = buildEventContract({
|
|
5
5
|
eventSignatures: {
|
|
6
6
|
'whoami::v2020_12_25': {
|
|
7
7
|
emitPayloadSchema: whoamiEmitTargetAndPayloadSchema,
|
|
8
8
|
responsePayloadSchema: authenticateResponsePayloadSchema,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
});
|
|
12
12
|
export default whoamiEventContract;
|