@authhero/kysely-adapter 0.7.10 → 0.7.11
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.d.ts
CHANGED
|
@@ -1049,7 +1049,7 @@ declare const codeTypeSchema: z.ZodEnum<[
|
|
|
1049
1049
|
"password_reset",
|
|
1050
1050
|
"email_verification",
|
|
1051
1051
|
"otp",
|
|
1052
|
-
"
|
|
1052
|
+
"authorization_code",
|
|
1053
1053
|
"oauth2_state",
|
|
1054
1054
|
"ticket"
|
|
1055
1055
|
]>;
|
|
@@ -1062,24 +1062,27 @@ declare const codeInsertSchema: z.ZodObject<{
|
|
|
1062
1062
|
"password_reset",
|
|
1063
1063
|
"email_verification",
|
|
1064
1064
|
"otp",
|
|
1065
|
-
"
|
|
1065
|
+
"authorization_code",
|
|
1066
1066
|
"oauth2_state",
|
|
1067
1067
|
"ticket"
|
|
1068
1068
|
]>;
|
|
1069
1069
|
expires_at: z.ZodString;
|
|
1070
1070
|
used_at: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1071
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1072
1073
|
code_id: string;
|
|
1073
1074
|
login_id: string;
|
|
1074
|
-
code_type: "password_reset" | "email_verification" | "otp" | "
|
|
1075
|
+
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
1075
1076
|
expires_at: string;
|
|
1077
|
+
user_id?: string | undefined;
|
|
1076
1078
|
connection_id?: string | undefined;
|
|
1077
1079
|
used_at?: string | undefined;
|
|
1078
1080
|
}, {
|
|
1079
1081
|
code_id: string;
|
|
1080
1082
|
login_id: string;
|
|
1081
|
-
code_type: "password_reset" | "email_verification" | "otp" | "
|
|
1083
|
+
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
1082
1084
|
expires_at: string;
|
|
1085
|
+
user_id?: string | undefined;
|
|
1083
1086
|
connection_id?: string | undefined;
|
|
1084
1087
|
used_at?: string | undefined;
|
|
1085
1088
|
}>;
|
|
@@ -1093,26 +1096,29 @@ declare const codeSchema: z.ZodObject<{
|
|
|
1093
1096
|
"password_reset",
|
|
1094
1097
|
"email_verification",
|
|
1095
1098
|
"otp",
|
|
1096
|
-
"
|
|
1099
|
+
"authorization_code",
|
|
1097
1100
|
"oauth2_state",
|
|
1098
1101
|
"ticket"
|
|
1099
1102
|
]>;
|
|
1100
1103
|
expires_at: z.ZodString;
|
|
1101
1104
|
used_at: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1102
1106
|
}, "strip", z.ZodTypeAny, {
|
|
1103
1107
|
created_at: string;
|
|
1104
1108
|
code_id: string;
|
|
1105
1109
|
login_id: string;
|
|
1106
|
-
code_type: "password_reset" | "email_verification" | "otp" | "
|
|
1110
|
+
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
1107
1111
|
expires_at: string;
|
|
1112
|
+
user_id?: string | undefined;
|
|
1108
1113
|
connection_id?: string | undefined;
|
|
1109
1114
|
used_at?: string | undefined;
|
|
1110
1115
|
}, {
|
|
1111
1116
|
created_at: string;
|
|
1112
1117
|
code_id: string;
|
|
1113
1118
|
login_id: string;
|
|
1114
|
-
code_type: "password_reset" | "email_verification" | "otp" | "
|
|
1119
|
+
code_type: "password_reset" | "email_verification" | "otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
1115
1120
|
expires_at: string;
|
|
1121
|
+
user_id?: string | undefined;
|
|
1116
1122
|
connection_id?: string | undefined;
|
|
1117
1123
|
used_at?: string | undefined;
|
|
1118
1124
|
}>;
|