UNPKG

@authup/core-kit

Version:

Package containing global constants, types & interfaces.

21 lines 606 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<Policy>[]; parent_id: Policy['id'] | null; parent: PolicyWithType<Policy> | null; realm_id: Realm['id'] | null; realm: Realm | null; created_at: string; updated_at: string; } //# sourceMappingURL=entity.d.ts.map