import type { DataResourceSurface } from 'openxiangda-contracts/browser'; export interface GeneratedResourceDefinition { code: string; viewCode?: string; name: string; ownedRowLimit?: number; capabilities: { read: string; create: string; update: string; delete: string; }; workflowHistory?: { read: string[]; }; recordPrint?: { read: string[]; }; recordComments?: { read: string[]; create: string[]; }; recordDeletion?: { delete: string[]; }; surface: DataResourceSurface; } export type GeneratedResourceDefinitions = Record; export type DeepReadonly = T extends (...args: never[]) => unknown ? T : T extends readonly (infer Item)[] ? readonly DeepReadonly[] : T extends object ? { readonly [Key in keyof T]: DeepReadonly; } : T; /** Compiler output is emitted with `as const`; the runtime never mutates it. */ export type GeneratedResourceDefinitionsInput = DeepReadonly; //# sourceMappingURL=generated-resource-definition.d.ts.map