@authhero/adapter-interfaces 0.87.0 → 0.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8146,7 +8146,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
8146
8146
|
} | undefined;
|
|
8147
8147
|
}>;
|
|
8148
8148
|
export type Branding = z.infer<typeof brandingSchema>;
|
|
8149
|
-
declare const
|
|
8149
|
+
declare const LegacyClientSchema: z.ZodObject<{
|
|
8150
8150
|
tenant: z.ZodObject<{
|
|
8151
8151
|
id: z.ZodString;
|
|
8152
8152
|
name: z.ZodString;
|
|
@@ -8580,7 +8580,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
8580
8580
|
disable_sign_ups?: boolean | undefined;
|
|
8581
8581
|
client_metadata?: Record<string, string> | undefined;
|
|
8582
8582
|
}>;
|
|
8583
|
-
export type
|
|
8583
|
+
export type LegacyClient = z.infer<typeof LegacyClientSchema>;
|
|
8584
8584
|
export declare const codeTypeSchema: z.ZodEnum<[
|
|
8585
8585
|
"password_reset",
|
|
8586
8586
|
"email_verification",
|
|
@@ -15104,8 +15104,8 @@ export interface HooksAdapter {
|
|
|
15104
15104
|
update: (tenant_id: string, hook_id: string, hook: Partial<HookInsert>) => Promise<boolean>;
|
|
15105
15105
|
list: (tenant_id: string, params?: ListParams) => Promise<ListHooksResponse>;
|
|
15106
15106
|
}
|
|
15107
|
-
export interface
|
|
15108
|
-
get: (id: string) => Promise<
|
|
15107
|
+
export interface LegacyClientsAdapter {
|
|
15108
|
+
get: (id: string) => Promise<LegacyClient | null>;
|
|
15109
15109
|
}
|
|
15110
15110
|
export interface ThemesAdapter {
|
|
15111
15111
|
create: (tenant_id: string, theme: ThemeInsert) => Promise<Theme>;
|
|
@@ -15226,7 +15226,7 @@ export interface DataAdapters {
|
|
|
15226
15226
|
applications: ApplicationsAdapter;
|
|
15227
15227
|
branding: BrandingAdapter;
|
|
15228
15228
|
cache?: CacheAdapter;
|
|
15229
|
-
|
|
15229
|
+
legacyClients: LegacyClientsAdapter;
|
|
15230
15230
|
codes: CodesAdapter;
|
|
15231
15231
|
connections: ConnectionsAdapter;
|
|
15232
15232
|
customDomains: CustomDomainsAdapter;
|