refactor: module federation

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-02-22 16:49:24 -05:00
parent f5d8243ab5
commit 9f5716634f
3 changed files with 45 additions and 12 deletions

View File

@@ -1,8 +1,3 @@
import { useCollectionsStore } from '@/stores/collectionsStore'
import { useEntitiesStore } from '@/stores/entitiesStore'
import { useProvidersStore } from '@/stores/providersStore'
import { useServicesStore } from '@/stores/servicesStore'
/**
* Chrono Manager Module Boot Script
*
@@ -14,5 +9,10 @@ console.log('[Chrono Manager] Booting Chrono Manager module...')
console.log('[Chrono Manager] Chrono Manager module booted successfully')
// Export store for external use if needed
export { useCollectionsStore, useEntitiesStore, useProvidersStore, useServicesStore }
// CSS will be injected by build process
//export const css = ['__CSS_FILENAME_PLACEHOLDER__']
// Export services, stores and models for external use
export * from '@/services'
export * from '@/stores'
export * from '@/models'

View File

@@ -3,7 +3,7 @@
* Provides a centralized way to make API calls with envelope wrapping/unwrapping
*/
import { createFetchWrapper } from '@KTXC/utils/helpers/fetch-wrapper-core';
import { createFetchWrapper } from '@KTXC';
import type { ApiRequest, ApiResponse } from '../types/common';
const fetchWrapper = createFetchWrapper();