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

/**
 * The blog feature's conformance manifest.
 */
export const blogManifest = defineFeature({
  name: "blog",
  requiredCores: [],
  useCases: {
    getArticles: {
      mutates: false,
      audits: [],
      publishes: [],
      consumes: [],
    },
    getArticleBySlug: {
      mutates: false,
      audits: [],
      publishes: [],
      consumes: [],
    },
    createArticle: {
      mutates: true,
      audits: [],
      publishes: [],
      consumes: [],
    },
  },
  realtimeChannels: [],
  jobs: [],
} as const);

export type BlogManifest = typeof blogManifest;
