@authhero/kysely-adapter 0.25.2 → 0.25.3

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.
@@ -640,22 +640,19 @@ declare const ClientSchema: z.ZodObject<{
640
640
  dkim_private_key: z.ZodOptional<z.ZodString>;
641
641
  dkim_public_key: z.ZodOptional<z.ZodString>;
642
642
  email_api_key: z.ZodOptional<z.ZodString>;
643
- email_service: z.ZodOptional<z.ZodUnion<[
644
- z.ZodLiteral<"mailgun">,
645
- z.ZodLiteral<"mailchannels">
646
- ]>>;
643
+ email_service: z.ZodOptional<z.ZodString>;
647
644
  }, "strip", z.ZodTypeAny, {
648
645
  domain: string;
649
646
  dkim_private_key?: string | undefined;
650
647
  dkim_public_key?: string | undefined;
651
648
  email_api_key?: string | undefined;
652
- email_service?: "mailgun" | "mailchannels" | undefined;
649
+ email_service?: string | undefined;
653
650
  }, {
654
651
  domain: string;
655
652
  dkim_private_key?: string | undefined;
656
653
  dkim_public_key?: string | undefined;
657
654
  email_api_key?: string | undefined;
658
- email_service?: "mailgun" | "mailchannels" | undefined;
655
+ email_service?: string | undefined;
659
656
  }>, "many">;
660
657
  tenant: z.ZodObject<{
661
658
  name: z.ZodString;
@@ -919,7 +916,7 @@ declare const ClientSchema: z.ZodObject<{
919
916
  dkim_private_key?: string | undefined;
920
917
  dkim_public_key?: string | undefined;
921
918
  email_api_key?: string | undefined;
922
- email_service?: "mailgun" | "mailchannels" | undefined;
919
+ email_service?: string | undefined;
923
920
  }[];
924
921
  tenant: {
925
922
  created_at: string;
@@ -997,7 +994,7 @@ declare const ClientSchema: z.ZodObject<{
997
994
  dkim_private_key?: string | undefined;
998
995
  dkim_public_key?: string | undefined;
999
996
  email_api_key?: string | undefined;
1000
- email_service?: "mailgun" | "mailchannels" | undefined;
997
+ email_service?: string | undefined;
1001
998
  }[];
1002
999
  tenant: {
1003
1000
  created_at: string;
@@ -1361,28 +1358,25 @@ declare const domainSchema: z.ZodObject<z.objectUtil.extendShape<{
1361
1358
  dkim_private_key: z.ZodOptional<z.ZodString>;
1362
1359
  dkim_public_key: z.ZodOptional<z.ZodString>;
1363
1360
  email_api_key: z.ZodOptional<z.ZodString>;
1364
- email_service: z.ZodEnum<[
1365
- "mailgun",
1366
- "mailchannels"
1367
- ]>;
1361
+ email_service: z.ZodOptional<z.ZodString>;
1368
1362
  }>, "strip", z.ZodTypeAny, {
1369
1363
  created_at: string;
1370
1364
  updated_at: string;
1371
1365
  id: string;
1372
1366
  domain: string;
1373
- email_service: "mailgun" | "mailchannels";
1374
1367
  dkim_private_key?: string | undefined;
1375
1368
  dkim_public_key?: string | undefined;
1376
1369
  email_api_key?: string | undefined;
1370
+ email_service?: string | undefined;
1377
1371
  }, {
1378
1372
  created_at: string;
1379
1373
  updated_at: string;
1380
1374
  id: string;
1381
1375
  domain: string;
1382
- email_service: "mailgun" | "mailchannels";
1383
1376
  dkim_private_key?: string | undefined;
1384
1377
  dkim_public_key?: string | undefined;
1385
1378
  email_api_key?: string | undefined;
1379
+ email_service?: string | undefined;
1386
1380
  }>;
1387
1381
  export type Domain = z.infer<typeof domainSchema>;
1388
1382
  declare const hookInsertSchema: z.ZodObject<{
@@ -3207,7 +3207,7 @@ const ms = i.object({
3207
3207
  dkim_private_key: i.string().optional(),
3208
3208
  dkim_public_key: i.string().optional(),
3209
3209
  email_api_key: i.string().optional(),
3210
- email_service: i.union([i.literal("mailgun"), i.literal("mailchannels")]).optional()
3210
+ email_service: i.string().optional()
3211
3211
  });
3212
3212
  i.object({
3213
3213
  ...cs.shape,
@@ -3247,7 +3247,7 @@ const fs = i.enum([
3247
3247
  dkim_private_key: i.string().optional(),
3248
3248
  dkim_public_key: i.string().optional(),
3249
3249
  email_api_key: i.string().optional(),
3250
- email_service: i.enum(["mailgun", "mailchannels"])
3250
+ email_service: i.string().optional()
3251
3251
  });
3252
3252
  Un.extend({
3253
3253
  ...ys.shape,
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.25.2",
14
+ "version": "0.25.3",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "kysely": "^0.27.4",
43
43
  "nanoid": "^5.0.8",
44
- "@authhero/adapter-interfaces": "^0.32.1"
44
+ "@authhero/adapter-interfaces": "^0.33.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@hono/zod-openapi": "^0.16.4",