import type { DomainType } from '../contstants'; import type { DomainEventBaseContext } from '../types-base'; import type { User } from '../user'; import type { Realm } from '../realm'; export interface Client { id: string; name: string; description: string | null; secret: string; redirect_uri: string | null; grant_types: string | null; scope: string | null; /** * Default redirect URL. */ base_url: string | null; /** * URL prepended to relative URLs. */ root_url: string | null; is_confidential: boolean; created_at: Date | string; updated_at: Date | string; realm_id: Realm['id']; realm: Realm; user_id: User['id'] | null; user: User | null; } export type ClientEventContext = DomainEventBaseContext & { type: `${DomainType.CLIENT}`; data: Client; }; //# sourceMappingURL=types.d.ts.map