@authhero/kysely-adapter 6.0.0 → 7.0.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.
@@ -722,6 +722,7 @@ declare const ClientSchema: z.ZodObject<{
722
722
  email_service?: string | undefined;
723
723
  }>, "many">;
724
724
  tenant: z.ZodObject<{
725
+ id: z.ZodString;
725
726
  name: z.ZodString;
726
727
  audience: z.ZodString;
727
728
  sender_email: z.ZodString;
@@ -733,7 +734,6 @@ declare const ClientSchema: z.ZodObject<{
733
734
  language: z.ZodOptional<z.ZodString>;
734
735
  created_at: z.ZodEffects<z.ZodString, string, string>;
735
736
  updated_at: z.ZodEffects<z.ZodString, string, string>;
736
- id: z.ZodString;
737
737
  }, "strip", z.ZodTypeAny, {
738
738
  created_at: string;
739
739
  updated_at: string;
@@ -2124,20 +2124,47 @@ declare const signingKeySchema: z.ZodObject<{
2124
2124
  revoked?: boolean | undefined;
2125
2125
  }>;
2126
2126
  export type SigningKey = z.infer<typeof signingKeySchema>;
2127
- export interface Tenant {
2128
- id: string;
2127
+ declare const tenantSchema: z.ZodObject<{
2128
+ id: z.ZodString;
2129
+ name: z.ZodString;
2130
+ audience: z.ZodString;
2131
+ sender_email: z.ZodString;
2132
+ sender_name: z.ZodString;
2133
+ support_url: z.ZodOptional<z.ZodString>;
2134
+ logo: z.ZodOptional<z.ZodString>;
2135
+ primary_color: z.ZodOptional<z.ZodString>;
2136
+ secondary_color: z.ZodOptional<z.ZodString>;
2137
+ language: z.ZodOptional<z.ZodString>;
2138
+ created_at: z.ZodEffects<z.ZodString, string, string>;
2139
+ updated_at: z.ZodEffects<z.ZodString, string, string>;
2140
+ }, "strip", z.ZodTypeAny, {
2141
+ created_at: string;
2142
+ updated_at: string;
2129
2143
  name: string;
2130
2144
  audience: string;
2145
+ id: string;
2131
2146
  sender_email: string;
2132
2147
  sender_name: string;
2133
- support_url?: string;
2134
- logo?: string;
2135
- primary_color?: string;
2136
- secondary_color?: string;
2137
- language?: string;
2148
+ support_url?: string | undefined;
2149
+ logo?: string | undefined;
2150
+ primary_color?: string | undefined;
2151
+ secondary_color?: string | undefined;
2152
+ language?: string | undefined;
2153
+ }, {
2138
2154
  created_at: string;
2139
2155
  updated_at: string;
2140
- }
2156
+ name: string;
2157
+ audience: string;
2158
+ id: string;
2159
+ sender_email: string;
2160
+ sender_name: string;
2161
+ support_url?: string | undefined;
2162
+ logo?: string | undefined;
2163
+ primary_color?: string | undefined;
2164
+ secondary_color?: string | undefined;
2165
+ language?: string | undefined;
2166
+ }>;
2167
+ export type Tenant = z.infer<typeof tenantSchema>;
2141
2168
  declare const themeInsertSchema: z.ZodObject<{
2142
2169
  borders: z.ZodObject<{
2143
2170
  button_border_radius: z.ZodNumber;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "6.0.0",
14
+ "version": "7.0.0",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -48,7 +48,7 @@
48
48
  "hono": "^4.6.8",
49
49
  "kysely-bun-sqlite": "^0.3.2",
50
50
  "kysely-planetscale": "^1.5.0",
51
- "@authhero/adapter-interfaces": "^0.42.0"
51
+ "@authhero/adapter-interfaces": "0.43.0"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",