import { Entity } from "../../../common"; import type { Auth } from "./auth"; /** * AuthCode Entity Type * * A one-time code used for login-by-link, account activation, and * password-reset flows: exchanged for the Auth session it points to. */ export type AuthCode = Entity & { expiration: Date; auth?: Auth; }; /** * AuthCode Entity Descriptor * * Single source of truth for the AuthCode entity configuration. * Generates mapper, childrenTokens, and DataModelInterface automatically. * * SECURITY: like Auth, this descriptor is deliberately NOT registered with * the GraphDescriptorRegistry (see auth.module.ts) — it is a one-time * login/activation code, never returned as its own JSON:API resource, and * has no business being LLM-queryable. */ export declare const AuthCodeDescriptor: import("../../../common").EntityDescriptor; export type AuthCodeDescriptorType = typeof AuthCodeDescriptor; //# sourceMappingURL=auth.code.d.ts.map