From 8260245128bd8709e6ea0a75b1174c00613d3cf1 Mon Sep 17 00:00:00 2001 From: Lave Gupta Date: Fri, 18 Dec 2020 21:02:46 +0530 Subject: [PATCH] PREAPPS-5584: exports --- build-shims.js | 8 ++++++-- src/shims/@zimbra-client/enhancers/index.js | 1 + src/shims/@zimbra-client/graphql/index.js | 2 ++ src/shims/@zimbra-client/util/index.js | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/build-shims.js b/build-shims.js index 0021212..73a94a2 100644 --- a/build-shims.js +++ b/build-shims.js @@ -24,7 +24,8 @@ mockery.registerMock('@zimbra-client/util', { setDataTransferJSON: 1, breakpoints: 1, callWith: 1, - pruneEmpty: 1 + pruneEmpty: 1, + PageVisibility: 1 }); mockery.registerMock('@zimbra-client/browser', { @@ -55,6 +56,7 @@ mockery.registerMock('@zimbra-client/graphql', { AppointmentsQuery: 1, CalendarsAndAppointmentsQuery: 1, GetDocumentShareURLQuery: 1, + GetMailboxMetadataQuery: 1, withCreateAppointment: 1, withCalendars: 1, withSearch: 1, @@ -72,13 +74,15 @@ mockery.registerMock('@zimbra-client/graphql', { withTagCreate: 1, withTagAction: 1, SearchFragment: 1, - SendShareNotificationMutation: 1 + SendShareNotificationMutation: 1, + SetMailboxMetadataMutation: 1 }); mockery.registerMock('@zimbra-client/enhancers', { withMediaQuery: 1, withTabManager: 1, withIntlWrapper: 1, + withZimletIntlWrapper: 1, clientConfiguration: 1, withTracking: 1 }); diff --git a/src/shims/@zimbra-client/enhancers/index.js b/src/shims/@zimbra-client/enhancers/index.js index c9f5a67..4e1f42c 100644 --- a/src/shims/@zimbra-client/enhancers/index.js +++ b/src/shims/@zimbra-client/enhancers/index.js @@ -10,6 +10,7 @@ const wrap = warnOnMissingExport.bind(null, global.shims['@zimbra-client/enhance export const withMediaQuery = wrap('withMediaQuery'); export const withTabManager = wrap('withTabManager'); export const withIntlWrapper = wrap('withIntlWrapper'); +export const withZimletIntlWrapper = wrap('withZimletIntlWrapper'); export const clientConfiguration = wrap('clientConfiguration'); export const withTracking = wrap('withTracking'); diff --git a/src/shims/@zimbra-client/graphql/index.js b/src/shims/@zimbra-client/graphql/index.js index 82e2e68..19fc072 100644 --- a/src/shims/@zimbra-client/graphql/index.js +++ b/src/shims/@zimbra-client/graphql/index.js @@ -10,6 +10,7 @@ const wrap = warnOnMissingExport.bind(null, global.shims['@zimbra-client/graphql export const AppointmentsQuery = wrap('AppointmentsQuery'); export const CalendarsAndAppointmentsQuery = wrap('CalendarsAndAppointmentsQuery'); export const GetDocumentShareURLQuery = wrap('GetDocumentShareURLQuery'); +export const GetMailboxMetadataQuery = wrap('GetMailboxMetadataQuery'); export const withCreateAppointment = wrap('withCreateAppointment'); export const withCalendars = wrap('withCalendars'); export const withSearch = wrap('withSearch'); @@ -28,5 +29,6 @@ export const withTagCreate = wrap('withTagCreate'); export const withTagAction = wrap('withTagAction'); export const SearchFragment = wrap('SearchFragment'); export const SendShareNotificationMutation = wrap('SendShareNotificationMutation'); +export const SetMailboxMetadataMutation = wrap('SetMailboxMetadataMutation'); export default global.shims['@zimbra-client/graphql']; diff --git a/src/shims/@zimbra-client/util/index.js b/src/shims/@zimbra-client/util/index.js index aa6a32a..947e318 100644 --- a/src/shims/@zimbra-client/util/index.js +++ b/src/shims/@zimbra-client/util/index.js @@ -13,5 +13,6 @@ export const setDataTransferJSON = wrap('setDataTransferJSON'); export const breakpoints = wrap('breakpoints'); export const callWith = wrap('callWith'); export const pruneEmpty = wrap('pruneEmpty'); +export const PageVisibility = wrap('PageVisibility'); export default global.shims['@zimbra-client/util'];