@authhero/kysely-adapter 10.55.0 → 10.55.1
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.
- package/dist/kysely-adapter.cjs +8 -8
- package/dist/kysely-adapter.d.ts +28 -16
- package/dist/kysely-adapter.mjs +2612 -2480
- package/package.json +5 -6
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -4119,9 +4119,12 @@ export type Form = z.infer<typeof formSchema>;
|
|
|
4119
4119
|
declare const hookInsertSchema: z.ZodUnion<[
|
|
4120
4120
|
z.ZodObject<{
|
|
4121
4121
|
trigger_id: z.ZodEnum<[
|
|
4122
|
-
"pre-user-
|
|
4122
|
+
"pre-user-registration",
|
|
4123
4123
|
"post-user-registration",
|
|
4124
|
-
"post-user-login"
|
|
4124
|
+
"post-user-login",
|
|
4125
|
+
"validate-registration-username",
|
|
4126
|
+
"pre-user-deletion",
|
|
4127
|
+
"post-user-deletion"
|
|
4125
4128
|
]>;
|
|
4126
4129
|
url: z.ZodString;
|
|
4127
4130
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4131,13 +4134,13 @@ declare const hookInsertSchema: z.ZodUnion<[
|
|
|
4131
4134
|
}, "strip", z.ZodTypeAny, {
|
|
4132
4135
|
url: string;
|
|
4133
4136
|
enabled: boolean;
|
|
4134
|
-
trigger_id: "pre-user-
|
|
4137
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4135
4138
|
synchronous: boolean;
|
|
4136
4139
|
priority?: number | undefined;
|
|
4137
4140
|
hook_id?: string | undefined;
|
|
4138
4141
|
}, {
|
|
4139
4142
|
url: string;
|
|
4140
|
-
trigger_id: "pre-user-
|
|
4143
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4141
4144
|
enabled?: boolean | undefined;
|
|
4142
4145
|
synchronous?: boolean | undefined;
|
|
4143
4146
|
priority?: number | undefined;
|
|
@@ -4145,9 +4148,12 @@ declare const hookInsertSchema: z.ZodUnion<[
|
|
|
4145
4148
|
}>,
|
|
4146
4149
|
z.ZodObject<{
|
|
4147
4150
|
trigger_id: z.ZodEnum<[
|
|
4148
|
-
"pre-user-
|
|
4151
|
+
"pre-user-registration",
|
|
4149
4152
|
"post-user-registration",
|
|
4150
|
-
"post-user-login"
|
|
4153
|
+
"post-user-login",
|
|
4154
|
+
"validate-registration-username",
|
|
4155
|
+
"pre-user-deletion",
|
|
4156
|
+
"post-user-deletion"
|
|
4151
4157
|
]>;
|
|
4152
4158
|
form_id: z.ZodString;
|
|
4153
4159
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4156,13 +4162,13 @@ declare const hookInsertSchema: z.ZodUnion<[
|
|
|
4156
4162
|
hook_id: z.ZodOptional<z.ZodString>;
|
|
4157
4163
|
}, "strip", z.ZodTypeAny, {
|
|
4158
4164
|
enabled: boolean;
|
|
4159
|
-
trigger_id: "pre-user-
|
|
4165
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4160
4166
|
synchronous: boolean;
|
|
4161
4167
|
form_id: string;
|
|
4162
4168
|
priority?: number | undefined;
|
|
4163
4169
|
hook_id?: string | undefined;
|
|
4164
4170
|
}, {
|
|
4165
|
-
trigger_id: "pre-user-
|
|
4171
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4166
4172
|
form_id: string;
|
|
4167
4173
|
enabled?: boolean | undefined;
|
|
4168
4174
|
synchronous?: boolean | undefined;
|
|
@@ -4178,9 +4184,12 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4178
4184
|
created_at: z.ZodString;
|
|
4179
4185
|
updated_at: z.ZodString;
|
|
4180
4186
|
trigger_id: z.ZodEnum<[
|
|
4181
|
-
"pre-user-
|
|
4187
|
+
"pre-user-registration",
|
|
4182
4188
|
"post-user-registration",
|
|
4183
|
-
"post-user-login"
|
|
4189
|
+
"post-user-login",
|
|
4190
|
+
"validate-registration-username",
|
|
4191
|
+
"pre-user-deletion",
|
|
4192
|
+
"post-user-deletion"
|
|
4184
4193
|
]>;
|
|
4185
4194
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4186
4195
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4190,7 +4199,7 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4190
4199
|
updated_at: string;
|
|
4191
4200
|
url: string;
|
|
4192
4201
|
enabled: boolean;
|
|
4193
|
-
trigger_id: "pre-user-
|
|
4202
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4194
4203
|
synchronous: boolean;
|
|
4195
4204
|
hook_id: string;
|
|
4196
4205
|
priority?: number | undefined;
|
|
@@ -4198,7 +4207,7 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4198
4207
|
created_at: string;
|
|
4199
4208
|
updated_at: string;
|
|
4200
4209
|
url: string;
|
|
4201
|
-
trigger_id: "pre-user-
|
|
4210
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4202
4211
|
hook_id: string;
|
|
4203
4212
|
enabled?: boolean | undefined;
|
|
4204
4213
|
synchronous?: boolean | undefined;
|
|
@@ -4210,9 +4219,12 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4210
4219
|
created_at: z.ZodString;
|
|
4211
4220
|
updated_at: z.ZodString;
|
|
4212
4221
|
trigger_id: z.ZodEnum<[
|
|
4213
|
-
"pre-user-
|
|
4222
|
+
"pre-user-registration",
|
|
4214
4223
|
"post-user-registration",
|
|
4215
|
-
"post-user-login"
|
|
4224
|
+
"post-user-login",
|
|
4225
|
+
"validate-registration-username",
|
|
4226
|
+
"pre-user-deletion",
|
|
4227
|
+
"post-user-deletion"
|
|
4216
4228
|
]>;
|
|
4217
4229
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4218
4230
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4221,7 +4233,7 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4221
4233
|
created_at: string;
|
|
4222
4234
|
updated_at: string;
|
|
4223
4235
|
enabled: boolean;
|
|
4224
|
-
trigger_id: "pre-user-
|
|
4236
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4225
4237
|
synchronous: boolean;
|
|
4226
4238
|
hook_id: string;
|
|
4227
4239
|
form_id: string;
|
|
@@ -4229,7 +4241,7 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4229
4241
|
}, {
|
|
4230
4242
|
created_at: string;
|
|
4231
4243
|
updated_at: string;
|
|
4232
|
-
trigger_id: "pre-user-
|
|
4244
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4233
4245
|
hook_id: string;
|
|
4234
4246
|
form_id: string;
|
|
4235
4247
|
enabled?: boolean | undefined;
|