UNPKG

@authup/core-kit

Version:

Package containing global constants, types & interfaces.

21 lines 580 B
import type { Realm } from '../realm'; export type PolicyWithType<R extends Record<string, any> = Record<string, any>, T = string> = R & { type: T; }; export interface Policy { id: string; built_in: boolean; type: string; name: string; display_name: string | null; description: string | null; invert: boolean; children: PolicyWithType[]; parent_id: string | null; parent: PolicyWithType | null; realm_id: Realm['id'] | null; realm: Realm | null; created_at: Date; updated_at: Date; } //# sourceMappingURL=entity.d.ts.map