import type { TailorTypeGqlPermission, TailorTypePermission } from "@tailor-platform/sdk";

export const defaultPermission: TailorTypePermission = {
  create: [{ conditions: [], permit: true }],
  read: [{ conditions: [], permit: true }],
  update: [{ conditions: [], permit: true }],
  delete: [{ conditions: [], permit: true }],
};

export const defaultGqlPermission: TailorTypeGqlPermission = [
  {
    conditions: [],
    actions: ["read", "aggregate"],
    permit: true,
  },
];
