Skip to content

Store (Vuex) ​

Vuex modules live in store/. The root store wires auth sync and overlay actions; other modules hold feature state.

Root (store/index.js) ​

StateDescription
workspaceAccessVerifiedWhether workspace access has been verified (blocks non–access-check API calls when false)
MutationsDescription
SET_WORKSPACE_ACCESS_VERIFIEDSet workspace access verified flag
ActionsDescription
nuxtClientInitOn client: watch auth loggedIn, sync across tabs via storage events; refetch user or clear on logout
startOverlayShow loading overlay (delegate to loading module)
stopOverlayHide loading overlay

loading (store/loading.js) ​

StateDescription
isLoadingGlobal loading flag
loadingTextOverlay text
apiLongRunningCountCount of long-running action API requests (overlay shown when > 0)
MutationsDescription
mutateLoading, mutateLoadingTextSet loading state and text
INCREMENT_API_LONG_RUNNING, DECREMENT_API_LONG_RUNNINGIncrement/decrement long-run counter
GettersDescription
showApiLongRunningOverlaytrue when apiLongRunningCount > 0

dam (store/dam.js) ​

Holds DAM UI state: currentWorkspaceId, foldersLoading, folderList, recentlyUploadedFiles, downloadIndicator, damInstance, companyName, collectionList, assetList, activeSelection, assetObject, storage, pictureInPicture, notifications, columnViews, uploads, brandingDetails, leftMenuClosed, filter lists (allFilterList, folderPageFilterList, collagePageFilterList), searchKey, searchMenuOptn, popularSearchData (search/collage/folder), tagsFilterItems. Mutations and actions cover folders, collections, assets, uploads, downloads, branding, search/filters, column views, and notifications. (See store/dam.js in the Admin-Frontend repo for full list.)

analytics (store/analytics/index.js) ​

StateDescription
lastDate, status, dStartDate, dEndDate, activeDate, statusList, getEmailDate range and status for insights
isMoveModal, isCopyModal, isMoveFolderModal, isNewFolderModalModal visibility
InsightsTransaction, InsightsTransactionShare, userAgentAndLocationTransaction and user-agent data
ActionsDescription
setLastDate, setStartDate, setEndDate, setStatus, setStatusList, setActiveDate, setEmailSet date/status state
setMoveModal, setCopyModal, setMoveFolderModal, setNewFolderModalSet modal state
setUserAgentAndLocation, insightsTransactionAddUser-agent/location and transaction logging