<!-- This is an auto-generated description by cubic. --> ## Summary by cubic Switch @calcom/prisma to use relative imports for client and enums. This removes self-references, stabilizes builds, and improves type resolution. - **Refactors** - Replaced imports from "@calcom/prisma/*" with local "./client" and "./enums" across extensions, selects, mocks, and availability check. - Updated safeJSONStringify parameter type from any to unknown. - Minor formatting cleanup in zod-utils. <sup>Written for commit 85c0a7b75fb1291be5b848a73d1ccb5543283f49. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
13 lines
268 B
TypeScript
13 lines
268 B
TypeScript
import type { Prisma } from "../client";
|
|
|
|
export const safeAppSelect = {
|
|
slug: true,
|
|
dirName: true,
|
|
/** Omitting to avoid frontend leaks */
|
|
// keys: true,
|
|
categories: true,
|
|
createdAt: true,
|
|
updatedAt: true,
|
|
enabled: true,
|
|
} satisfies Prisma.AppSelect;
|