diff --git a/tests/__snapshots__/tsnapi/devframe/recipes/interactive-auth.snapshot.d.ts b/tests/__snapshots__/tsnapi/devframe/recipes/interactive-auth.snapshot.d.ts index 868b0d9b..77bf43e1 100644 --- a/tests/__snapshots__/tsnapi/devframe/recipes/interactive-auth.snapshot.d.ts +++ b/tests/__snapshots__/tsnapi/devframe/recipes/interactive-auth.snapshot.d.ts @@ -2,12 +2,20 @@ * Generated by tsnapi — public API snapshot of `devframe/recipes/interactive-auth` */ // #region Interfaces +export interface CreateAuthBannerColorsOptions { + border: ColorFn; + title: ColorFn; + label: ColorFn; + code: ColorFn; + url: ColorFn; +} +export interface CreateAuthBannerOptions { + title?: string; + colors?: Partial; +} export interface CreateInteractiveAuthOptions { clientAuthTokens?: string[]; - banner?: (_: { - code: string; - url: string; - }) => void; + banner?: AuthBannerFunction; onTrusted?: (_: { session: DevframeNodeRpcSession; authToken: string; @@ -16,6 +24,14 @@ export interface CreateInteractiveAuthOptions { } // #endregion +// #region Types +export type AuthBannerFunction = (_: { + code: string; + url: string; +}) => void; +// #endregion + // #region Functions +export declare function createAuthBanner(_?: CreateAuthBannerOptions): AuthBannerFunction; export declare function createInteractiveAuth(_: DevframeNodeContext, _?: CreateInteractiveAuthOptions): DevframeAuthHandler; // #endregion \ No newline at end of file