refactor: module federation
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
28
core/src/shared/index.ts
Normal file
28
core/src/shared/index.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* KTXC Host SDK
|
||||
*
|
||||
* This is the single public contract between the host application and modules.
|
||||
* Modules must import from '@KTXC' (this file), never from '@KTXC/...' sub-paths.
|
||||
* At runtime, '@KTXC' resolves to '/js/ktxc.mjs' via the import map.
|
||||
*/
|
||||
|
||||
// Stores
|
||||
export { useModuleStore } from '../stores/moduleStore'
|
||||
export { useTenantStore } from '../stores/tenantStore'
|
||||
export { useUserStore } from '../stores/userStore'
|
||||
export { useIntegrationStore } from '../stores/integrationStore'
|
||||
export { useLayoutStore } from '../stores/layoutStore'
|
||||
|
||||
// Composables
|
||||
export { useUser } from '../composables/useUser'
|
||||
export { useClipboard } from '../composables/useClipboard'
|
||||
|
||||
// Services
|
||||
export { userService } from '../services/user/userService'
|
||||
|
||||
// Utilities
|
||||
export { fetchWrapper } from '../utils/helpers/fetch-wrapper'
|
||||
export { createFetchWrapper } from '../utils/helpers/fetch-wrapper-core'
|
||||
|
||||
// Types
|
||||
export type { ModuleIntegrations } from '../types/moduleTypes'
|
||||
Reference in New Issue
Block a user