Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PREAPPS-7343: Modern UI | Create a Zimlet for Archive functionality #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions build-shims.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ mockery.registerMock('@zimbra-client/util', {
zimletEventEmitter: 1,
smimeHandler: 1,
isServerSMIMEFeatureAvailable: 1,
htmlToText: 1
htmlToText: 1,
flattenFolders: 1
});

mockery.registerMock('@zimbra-client/browser', {
Expand Down Expand Up @@ -82,6 +83,7 @@ mockery.registerMock('@zimbra-client/graphql', {
withTagCreate: 1,
withTagAction: 1,
SearchFragment: 1,
GetFolder: 1,
SendShareNotificationMutation: 1,
SetMailboxMetadataMutation: 1,
withDataSources: 1,
Expand All @@ -104,6 +106,7 @@ mockery.registerMock('@zimbra-client/constants', {
PARTICIPATION_STATUS: 1,
supportedMimes: 1,
ZIMBRA_ZIMLET_EVENTS: 1,
USER_FOLDER_IDS: 1
});

mockery.registerMock('@zimbra-client/hooks', {
Expand All @@ -119,7 +122,8 @@ mockery.registerMock('@zimbra-client/hooks/graphql', {
useAccountInfo: 1,
useDocumentAction: 1,
useBriefcaseFoldersQuery: 1,
useSaveDocumentMutation: 1
useSaveDocumentMutation: 1,
useCreateFolderMutation: 1
});

mockery.registerMock('@zimbra-client/blocks', {
Expand Down Expand Up @@ -201,7 +205,8 @@ mockery.registerMock('@zimbra-client/components', {
SMIMEOperationDropDown: 1,
ErrorAlert: 1,
SignatureBox: 1,
DeleteWrapper: 1
DeleteWrapper: 1,
ToolbarActionButton: 1
});

mockery.registerMock('@zimbra-client/errors', {
Expand Down
1 change: 1 addition & 0 deletions src/shims/@zimbra-client/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ export const SMIMEOperationDropDown = wrap('SMIMEOperationDropDown');
export const ErrorAlert = wrap('ErrorAlert');
export const SignatureBox = wrap('SignatureBox');
export const DeleteWrapper = wrap('DeleteWrapper');
export const ToolbarActionButton = wrap('ToolbarActionButton');

export default global.shims['@zimbra-client/components'];
1 change: 1 addition & 0 deletions src/shims/@zimbra-client/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export const ATTENDEE_ROLE = wrap('ATTENDEE_ROLE');
export const PARTICIPATION_STATUS = wrap('PARTICIPATION_STATUS');
export const supportedMimes = wrap('supportedMimes');
export const ZIMBRA_ZIMLET_EVENTS = wrap('ZIMBRA_ZIMLET_EVENTS');
export const USER_FOLDER_IDS = wrap('USER_FOLDER_IDS');

export default global.shims['@zimbra-client/constants'];
1 change: 1 addition & 0 deletions src/shims/@zimbra-client/graphql/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const withTags = wrap('withTags');
export const withTagCreate = wrap('withTagCreate');
export const withTagAction = wrap('withTagAction');
export const SearchFragment = wrap('SearchFragment');
export const GetFolder = wrap('GetFolder');
export const SendShareNotificationMutation = wrap('SendShareNotificationMutation');
export const SetMailboxMetadataMutation = wrap('SetMailboxMetadataMutation');
export const withDataSources = wrap('withDataSources');
Expand Down
1 change: 1 addition & 0 deletions src/shims/@zimbra-client/hooks/graphql/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ export const useAccountInfo = wrap('useAccountInfo');
export const useDocumentAction = wrap('useDocumentAction');
export const useBriefcaseFoldersQuery = wrap('useBriefcaseFoldersQuery');
export const useSaveDocumentMutation = wrap('useSaveDocumentMutation');
export const useCreateFolderMutation = wrap('useCreateFolderMutation');

export default global.shims['@zimbra-client/hooks/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 @@ -18,5 +18,6 @@ export const zimletEventEmitter = wrap('zimletEventEmitter');
export const smimeHandler = wrap('smimeHandler');
export const isServerSMIMEFeatureAvailable = wrap('isServerSMIMEFeatureAvailable');
export const htmlToText = wrap('htmlToText');
export const flattenFolders = wrap('flattenFolders');

export default global.shims['@zimbra-client/util'];