import { defineFeature } from "@repo/core-shared/conformance";

/**
 * The marketing-pages feature's conformance manifest.
 */
export const marketingPagesManifest = defineFeature({
  name: "marketing-pages",
  requiredCores: [],
  useCases: {
    getPageBySlug: { mutates: false, audits: [], publishes: [], consumes: [] },
    getSiteSettings: {
      mutates: false,
      audits: [],
      publishes: [],
      consumes: [],
    },
  },
  realtimeChannels: [],
  jobs: [],
  coverage: {
    bands: {
      baseline: { statements: 80, branches: 75, functions: 80, lines: 80 },
      entities: { statements: 100, branches: 100, functions: 100, lines: 100 },
      "use-cases": {
        statements: 100,
        branches: 95,
        functions: 100,
        lines: 100,
      },
      controllers: {
        statements: 100,
        branches: 95,
        functions: 100,
        lines: 100,
      },
    },
    mutationTargets: ["entities", "use-cases"],
  },
} as const);

export type MarketingPagesManifest = typeof marketingPagesManifest;
