/**
 * Reports Module - Shared Store Instances
 *
 * This file instantiates the shared stores (auth, companies, accountingPeriod)
 * with the Reports module's API service.
 */

import { createAuthStore } from '@shared/stores/auth'
import { createCompaniesStore } from '@shared/stores/companies'
import { createAccountingPeriodStore } from '@shared/stores/accountingPeriod'
import api from '@reports/services/api'

// Create auth store
export const useAuthStore = createAuthStore(api)

// Create companies store (needs auth store reference)
export const useCompanyStore = createCompaniesStore(api, useAuthStore)

// Create accounting period store
export const useAccountingPeriodStore = createAccountingPeriodStore(api)
