Skip to content

Commit 689653e

Browse files
SavelevMatthewVKislov
authored andcommitted
feat(condo): DOMA-4355 Added webhooks for B2BAppContext
1 parent 854f6a4 commit 689653e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

apps/condo/domains/miniapp/schema/B2BAppContext.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const { Relationship } = require('@keystonejs/fields')
66
const { Json } = require('@condo/keystone/fields')
77
const { GQLListSchema } = require('@condo/keystone/schema')
88
const { historical, versioned, uuided, tracked, softDeleted, dvAndSender } = require('@condo/keystone/plugins')
9+
const { webHooked } = require('@condo/webhooks/plugins')
910
const access = require('@condo/domains/miniapp/access/B2BAppContext')
1011
const { NO_CONTEXT_STATUS_ERROR } = require('@condo/domains/miniapp/constants')
1112
const { STATUS_FIELD, getStatusResolver, getStatusDescription } = require('@condo/domains/miniapp/schema/fields/context')
@@ -84,7 +85,15 @@ const B2BAppContext = new GQLListSchema('B2BAppContext', {
8485
}
8586
},
8687
},
87-
plugins: [uuided(), versioned(), tracked(), softDeleted(), dvAndSender(), historical()],
88+
plugins: [
89+
uuided(),
90+
versioned(),
91+
tracked(),
92+
softDeleted(),
93+
dvAndSender(),
94+
historical(),
95+
webHooked(),
96+
],
8897
access: {
8998
read: access.canReadB2BAppContexts,
9099
create: access.canManageB2BAppContexts,

0 commit comments

Comments
 (0)