//#region src/auth/permissions.d.ts
/**
 * What the visitor may do in this app, as the platform sees it.
 *
 * Rendering hints, not enforcement: every data request is authorized again
 * server-side, and these may go stale between the two.
 */
type DatasourcePermissions = {
  read: boolean;
  create: boolean;
  update: boolean;
  delete: boolean;
};
type Permissions = {
  /** Keyed by datasource id. */
  datasources: Record<string, DatasourcePermissions>;
};
//#endregion
export { Permissions };