[data-reveal]{opacity:1!important;transform:none!important}
AntelopeJS DMS
DocumentationOverview

Overview

The composables a custom frontend module's Vue calls to work with the DMS, and the page that covers each.

When your frontend layer ships its own Vue (Frontend layer), it calls these composables to work with the DMS. Extending the dashboard covers registering new capabilities. This section covers the composables and components your own components use.

The base layers auto-import all of them. Call them from <script setup> or from a composable, with no import.

The toolkit

PageComposables
Auth requests and permissionsuseApiData, useAuthFetch ($authFetch), usePermissions, useMultiAccount, useCurrentUser, useLogout, useSessionRecovery
Realtime and notificationsuseRealtimeTopic, usePageRealtime, usePageLive, usePageLiveRefresh, useUserRealtime, useNotifications
Page contextuseSiteLayout, useCurrentModule, useIsOwner, usePageRecordLabel, usePageToolbarSize, useDevReload, usePreferences, useFavoritePages, page setup functions, and more
UI toolkituseModal, useDrawer, useConfirm, useConfirmFrom, useExportJob, usePageHeaderActions
Error feedbackuseApiErrorPresenter
UtilitiesuseTranslation, useComposedText, useUnsavedChanges, usePageLeaveGuard, useOnboarding, isDmsHydrating

Read the backend data a component renders with useApiData. Make every other backend call, such as a write or a read a click starts, with $authFetch from useAuthFetch, never with a bare $fetch. Only these two recover from an expired session, and only useApiData renders the data on the server and hands it to the browser. See Auth requests and permissions.

Next steps

Auth requests and permissions

Call the backend with the user's session.

Realtime and notifications

Follow topics and the page's live state.

Custom component

Where your Vue meets the page.