import { ledgerSchema } from '@platform-modules/ledger'
import { vestingSchema } from '@platform-modules/ledger/vesting'
import { affiliateSchema } from '../schema.js'
import { hostHarnessTables } from './host-store-fixture.js'

/** PGLite harness: ledger-core + vesting + affiliate-owned tables + host stubs for test FraudHostStore impl. */
export const harnessSchema = {
  ...ledgerSchema,
  ...vestingSchema,
  ...affiliateSchema,
  ...hostHarnessTables,
}

export type HarnessSchema = typeof harnessSchema
