@authhero/kysely-adapter 10.0.0 → 10.2.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.
@@ -1385,6 +1385,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1385
1385
  export type Connection = z.infer<typeof connectionSchema>;
1386
1386
  declare const customDomainInsertSchema: z.ZodObject<{
1387
1387
  domain: z.ZodString;
1388
+ custom_domain_id: z.ZodOptional<z.ZodString>;
1388
1389
  type: z.ZodEnum<[
1389
1390
  "auth0_managed_certs",
1390
1391
  "self_managed_certs"
@@ -1406,6 +1407,7 @@ declare const customDomainInsertSchema: z.ZodObject<{
1406
1407
  }, "strip", z.ZodTypeAny, {
1407
1408
  type: "auth0_managed_certs" | "self_managed_certs";
1408
1409
  domain: string;
1410
+ custom_domain_id?: string | undefined;
1409
1411
  verification_method?: "txt" | undefined;
1410
1412
  tls_policy?: "recommended" | undefined;
1411
1413
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
@@ -1413,6 +1415,7 @@ declare const customDomainInsertSchema: z.ZodObject<{
1413
1415
  }, {
1414
1416
  type: "auth0_managed_certs" | "self_managed_certs";
1415
1417
  domain: string;
1418
+ custom_domain_id?: string | undefined;
1416
1419
  verification_method?: "txt" | undefined;
1417
1420
  tls_policy?: "recommended" | undefined;
1418
1421
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
@@ -4066,7 +4069,9 @@ export interface Database {
4066
4069
  }
4067
4070
  export declare function migrateToLatest(db: Kysely<Database>, debug?: boolean): Promise<void>;
4068
4071
  export declare function migrateDown(db: Kysely<Database>): Promise<void>;
4069
- declare function createAdapters(db: Kysely<Database>): DataAdapters;
4072
+ declare function createAdapters(db: Kysely<Database>): DataAdapters & {
4073
+ cleanup: () => Promise<void>;
4074
+ };
4070
4075
 
4071
4076
  export {
4072
4077
  createAdapters as default,