"use client";

import { createExperienceListPage } from "@/modules/experience/components/ExperienceListCrudPage";
import { experienceApi } from "@/modules/experience/services/experience-api";

export const AnalyticsSnapshotsPage = createExperienceListPage({
  title: "اسنپ‌شات آنالیتیکس",
  breadcrumb: "اسنپ‌شات آنالیتیکس",
  resourceKey: "analyticsSnapshots",
  permission: "experience.analytics.view",
  api: experienceApi.analyticsSnapshots,
  columns: [
    { key: "code", header: "کد" },
    { key: "name", header: "نام" },
    { key: "status", header: "وضعیت", type: "status" },
    { key: "created_at", header: "ایجاد", type: "datetime" },
  ],
  readOnly: true,

});

export default AnalyticsSnapshotsPage;
