diff --git a/build-shims.js b/build-shims.js index a601004..de3a67c 100644 --- a/build-shims.js +++ b/build-shims.js @@ -35,7 +35,8 @@ mockery.registerMock('@zimbra-client/util', { filterNonInsertableCalendars: 1, closeEventTabThunk: 1, htmlEncode: 1, - getElectron: 1 + getElectron: 1, + closeNotification: 1 }); mockery.registerMock('@zimbra-client/browser', { @@ -66,6 +67,7 @@ mockery.registerMock('preact-pwa-install', { mockery.registerMock('@zimbra-client/graphql', { AppointmentsQuery: 1, CalendarsAndAppointmentsQuery: 1, + GetCustomMetadataQuery: 1, GetDocumentShareURLQuery: 1, GetMailboxMetadataQuery: 1, GetFilterRules: 1, diff --git a/src/shims/@zimbra-client/graphql/index.js b/src/shims/@zimbra-client/graphql/index.js index 5f87129..3f49ca5 100644 --- a/src/shims/@zimbra-client/graphql/index.js +++ b/src/shims/@zimbra-client/graphql/index.js @@ -9,6 +9,7 @@ const wrap = warnOnMissingExport.bind(null, global.shims['@zimbra-client/graphql export const AppointmentsQuery = wrap('AppointmentsQuery'); export const CalendarsAndAppointmentsQuery = wrap('CalendarsAndAppointmentsQuery'); +export const GetCustomMetadataQuery = wrap('GetCustomMetadataQuery'); export const GetDocumentShareURLQuery = wrap('GetDocumentShareURLQuery'); export const GetMailboxMetadataQuery = wrap('GetMailboxMetadataQuery'); export const GetFilterRules = wrap('GetFilterRules'); diff --git a/src/shims/@zimbra-client/util/index.js b/src/shims/@zimbra-client/util/index.js index 82d50e7..fdaa86c 100644 --- a/src/shims/@zimbra-client/util/index.js +++ b/src/shims/@zimbra-client/util/index.js @@ -24,5 +24,6 @@ export const filterNonInsertableCalendars = wrap('filterNonInsertableCalendars') export const closeEventTabThunk = wrap('closeEventTabThunk'); export const htmlEncode = wrap('htmlEncode'); export const getElectron = wrap('getElectron'); +export const closeNotification = wrap('closeNotification'); export default global.shims['@zimbra-client/util'];