@authhero/kysely-adapter 0.6.6 → 0.6.8
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 +1 -1
- package/dist/kysely-adapter.d.ts +44 -26
- package/dist/kysely-adapter.iife.js +1 -1
- package/dist/kysely-adapter.mjs +154 -130
- package/package.json +6 -4
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -791,6 +791,7 @@ declare const domainSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
791
791
|
export type Domain = z.infer<typeof domainSchema>;
|
|
792
792
|
declare const hookInsertSchema: z.ZodObject<{
|
|
793
793
|
trigger_id: z.ZodEnum<[
|
|
794
|
+
"pre-user-signup",
|
|
794
795
|
"post-user-registration",
|
|
795
796
|
"post-user-login"
|
|
796
797
|
]>;
|
|
@@ -802,13 +803,13 @@ declare const hookInsertSchema: z.ZodObject<{
|
|
|
802
803
|
}, "strip", z.ZodTypeAny, {
|
|
803
804
|
enabled: boolean;
|
|
804
805
|
url: string;
|
|
805
|
-
trigger_id: "post-user-registration" | "post-user-login";
|
|
806
|
+
trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
|
|
806
807
|
synchronous: boolean;
|
|
807
808
|
hook_id?: string | undefined;
|
|
808
809
|
priority?: number | undefined;
|
|
809
810
|
}, {
|
|
810
811
|
url: string;
|
|
811
|
-
trigger_id: "post-user-registration" | "post-user-login";
|
|
812
|
+
trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
|
|
812
813
|
enabled?: boolean | undefined;
|
|
813
814
|
hook_id?: string | undefined;
|
|
814
815
|
synchronous?: boolean | undefined;
|
|
@@ -817,6 +818,7 @@ declare const hookInsertSchema: z.ZodObject<{
|
|
|
817
818
|
export type HookInsert = z.infer<typeof hookInsertSchema>;
|
|
818
819
|
declare const hookSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
819
820
|
trigger_id: z.ZodEnum<[
|
|
821
|
+
"pre-user-signup",
|
|
820
822
|
"post-user-registration",
|
|
821
823
|
"post-user-login"
|
|
822
824
|
]>;
|
|
@@ -834,7 +836,7 @@ declare const hookSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
834
836
|
updated_at: string;
|
|
835
837
|
enabled: boolean;
|
|
836
838
|
url: string;
|
|
837
|
-
trigger_id: "post-user-registration" | "post-user-login";
|
|
839
|
+
trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
|
|
838
840
|
hook_id: string;
|
|
839
841
|
synchronous: boolean;
|
|
840
842
|
priority?: number | undefined;
|
|
@@ -842,7 +844,7 @@ declare const hookSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
842
844
|
created_at: string;
|
|
843
845
|
updated_at: string;
|
|
844
846
|
url: string;
|
|
845
|
-
trigger_id: "post-user-registration" | "post-user-login";
|
|
847
|
+
trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
|
|
846
848
|
hook_id: string;
|
|
847
849
|
enabled?: boolean | undefined;
|
|
848
850
|
synchronous?: boolean | undefined;
|
|
@@ -1029,42 +1031,58 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1029
1031
|
}>;
|
|
1030
1032
|
export type Login = z.infer<typeof loginSchema>;
|
|
1031
1033
|
declare const LogType: z.ZodEnum<[
|
|
1032
|
-
"
|
|
1033
|
-
"ssa",
|
|
1034
|
+
"cls",
|
|
1034
1035
|
"fsa",
|
|
1035
|
-
"ss",
|
|
1036
|
-
"ssa",
|
|
1037
1036
|
"fs",
|
|
1038
|
-
"s",
|
|
1039
1037
|
"f",
|
|
1038
|
+
"fc",
|
|
1039
|
+
"fcoa",
|
|
1040
|
+
"fcp",
|
|
1041
|
+
"fh",
|
|
1040
1042
|
"fp",
|
|
1041
|
-
"
|
|
1043
|
+
"fs",
|
|
1044
|
+
"fu",
|
|
1045
|
+
"s",
|
|
1046
|
+
"sapi",
|
|
1042
1047
|
"scoa",
|
|
1043
|
-
"
|
|
1044
|
-
"
|
|
1045
|
-
"
|
|
1048
|
+
"scp",
|
|
1049
|
+
"scpr",
|
|
1050
|
+
"scu",
|
|
1046
1051
|
"seacft",
|
|
1047
|
-
"serft"
|
|
1052
|
+
"serft",
|
|
1053
|
+
"slo",
|
|
1054
|
+
"ss",
|
|
1055
|
+
"ssa",
|
|
1056
|
+
"sv",
|
|
1057
|
+
"svr"
|
|
1048
1058
|
]>;
|
|
1049
1059
|
export type LogType$1 = z.infer<typeof LogType>;
|
|
1050
1060
|
declare const logSchema: z.ZodObject<{
|
|
1051
1061
|
type: z.ZodEnum<[
|
|
1052
|
-
"
|
|
1053
|
-
"ssa",
|
|
1062
|
+
"cls",
|
|
1054
1063
|
"fsa",
|
|
1055
|
-
"ss",
|
|
1056
|
-
"ssa",
|
|
1057
1064
|
"fs",
|
|
1058
|
-
"s",
|
|
1059
1065
|
"f",
|
|
1066
|
+
"fc",
|
|
1067
|
+
"fcoa",
|
|
1068
|
+
"fcp",
|
|
1069
|
+
"fh",
|
|
1060
1070
|
"fp",
|
|
1061
|
-
"
|
|
1071
|
+
"fs",
|
|
1072
|
+
"fu",
|
|
1073
|
+
"s",
|
|
1074
|
+
"sapi",
|
|
1062
1075
|
"scoa",
|
|
1063
|
-
"
|
|
1064
|
-
"
|
|
1065
|
-
"
|
|
1076
|
+
"scp",
|
|
1077
|
+
"scpr",
|
|
1078
|
+
"scu",
|
|
1066
1079
|
"seacft",
|
|
1067
|
-
"serft"
|
|
1080
|
+
"serft",
|
|
1081
|
+
"slo",
|
|
1082
|
+
"ss",
|
|
1083
|
+
"ssa",
|
|
1084
|
+
"sv",
|
|
1085
|
+
"svr"
|
|
1068
1086
|
]>;
|
|
1069
1087
|
date: z.ZodString;
|
|
1070
1088
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1109,7 +1127,7 @@ declare const logSchema: z.ZodObject<{
|
|
|
1109
1127
|
} | undefined;
|
|
1110
1128
|
}>>;
|
|
1111
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1112
|
-
type: "
|
|
1130
|
+
type: "fsa" | "fs" | "f" | "fp" | "fcp" | "fc" | "fu" | "fh" | "fcoa" | "sapi" | "scp" | "scpr" | "scu" | "scoa" | "seacft" | "serft" | "s" | "slo" | "ss" | "ssa" | "sv" | "svr" | "cls";
|
|
1113
1131
|
date: string;
|
|
1114
1132
|
ip: string;
|
|
1115
1133
|
user_agent: string;
|
|
@@ -1137,7 +1155,7 @@ declare const logSchema: z.ZodObject<{
|
|
|
1137
1155
|
} | undefined;
|
|
1138
1156
|
} | undefined;
|
|
1139
1157
|
}, {
|
|
1140
|
-
type: "
|
|
1158
|
+
type: "fsa" | "fs" | "f" | "fp" | "fcp" | "fc" | "fu" | "fh" | "fcoa" | "sapi" | "scp" | "scpr" | "scu" | "scoa" | "seacft" | "serft" | "s" | "slo" | "ss" | "ssa" | "sv" | "svr" | "cls";
|
|
1141
1159
|
date: string;
|
|
1142
1160
|
ip: string;
|
|
1143
1161
|
user_agent: string;
|