Files
ppeasy_vg12/resources/js/plugin-api.ts
T
2026-10-09 08:21:06 +02:00

21 lines
615 B
TypeScript

/**
* The surface a plugin bundle links against.
*
* Plugins import this as `@vanguard/ui`, which their build externalises onto
* `window.Vanguard.ui`. Anything exported here is public API for third party
* plugins, so removing an export is a breaking change for them.
*/
export * from './components/ui';
export {
useAuth,
usePermissions,
useSettings,
useSlot,
useTranslations,
} from './composables/useVanguard';
export { useConfirmDelete } from './composables/useConfirmDelete';
export { useConfirm } from './composables/useConfirm';
export { useToast } from './composables/useToast';