import { ARTICLE_TYPE } from "@/constants/article-content-types";

/** Public `/…/filter` routes — `document` maps to teks (type_id = 2). */
export const CONTENT_TYPE_FILTER = {
  document: {
    typeId: ARTICLE_TYPE.TEXT,
    breadcrumb: "Dokumen",
  },
  image: {
    typeId: ARTICLE_TYPE.IMAGE,
    breadcrumb: "Foto",
  },
  audio: {
    typeId: ARTICLE_TYPE.AUDIO,
    breadcrumb: "Audio",
  },
  video: {
    typeId: ARTICLE_TYPE.VIDEO,
    breadcrumb: "Audio Visual",
  },
} as const;

export type ContentTypeFilterKey = keyof typeof CONTENT_TYPE_FILTER;
