Skip to content

Commit

Permalink
PREAPPS-5584: exports
Browse files Browse the repository at this point in the history
  • Loading branch information
lavegupta authored and yashrajpchavda committed Jan 6, 2021
1 parent 24176f8 commit 8260245
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build-shims.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down Expand Up @@ -55,6 +56,7 @@ mockery.registerMock('@zimbra-client/graphql', {
AppointmentsQuery: 1,
CalendarsAndAppointmentsQuery: 1,
GetDocumentShareURLQuery: 1,
GetMailboxMetadataQuery: 1,
withCreateAppointment: 1,
withCalendars: 1,
withSearch: 1,
Expand All @@ -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
});
Expand Down
1 change: 1 addition & 0 deletions src/shims/@zimbra-client/enhancers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

This comment has been minimized.

Copy link
@jkester1986

jkester1986 Apr 2, 2021

Contributor

what is this?

export const clientConfiguration = wrap('clientConfiguration');
export const withTracking = wrap('withTracking');

Expand Down
2 changes: 2 additions & 0 deletions src/shims/@zimbra-client/graphql/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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'];
1 change: 1 addition & 0 deletions src/shims/@zimbra-client/util/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'];

0 comments on commit 8260245

Please sign in to comment.