@authhero/kysely-adapter 8.1.0 → 8.3.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.
- package/dist/kysely-adapter.cjs +1 -1
- package/dist/kysely-adapter.d.ts +11 -11
- package/dist/kysely-adapter.mjs +862 -816
- package/package.json +4 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -1934,7 +1934,7 @@ export type Password = z.infer<typeof passwordSchema>;
|
|
|
1934
1934
|
declare const sessionInsertSchema: z.ZodObject<{
|
|
1935
1935
|
id: z.ZodString;
|
|
1936
1936
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
1937
|
-
used_at: z.ZodString
|
|
1937
|
+
used_at: z.ZodOptional<z.ZodString>;
|
|
1938
1938
|
user_id: z.ZodString;
|
|
1939
1939
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
1940
1940
|
idle_expires_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1964,7 +1964,6 @@ declare const sessionInsertSchema: z.ZodObject<{
|
|
|
1964
1964
|
}, "strip", z.ZodTypeAny, {
|
|
1965
1965
|
user_id: string;
|
|
1966
1966
|
id: string;
|
|
1967
|
-
used_at: string;
|
|
1968
1967
|
device: {
|
|
1969
1968
|
last_ip: string;
|
|
1970
1969
|
initial_user_agent: string;
|
|
@@ -1975,12 +1974,12 @@ declare const sessionInsertSchema: z.ZodObject<{
|
|
|
1975
1974
|
};
|
|
1976
1975
|
clients: string[];
|
|
1977
1976
|
expires_at?: string | undefined;
|
|
1977
|
+
used_at?: string | undefined;
|
|
1978
1978
|
revoked_at?: string | undefined;
|
|
1979
1979
|
idle_expires_at?: string | undefined;
|
|
1980
1980
|
}, {
|
|
1981
1981
|
user_id: string;
|
|
1982
1982
|
id: string;
|
|
1983
|
-
used_at: string;
|
|
1984
1983
|
device: {
|
|
1985
1984
|
last_ip: string;
|
|
1986
1985
|
initial_user_agent: string;
|
|
@@ -1991,6 +1990,7 @@ declare const sessionInsertSchema: z.ZodObject<{
|
|
|
1991
1990
|
};
|
|
1992
1991
|
clients: string[];
|
|
1993
1992
|
expires_at?: string | undefined;
|
|
1993
|
+
used_at?: string | undefined;
|
|
1994
1994
|
revoked_at?: string | undefined;
|
|
1995
1995
|
idle_expires_at?: string | undefined;
|
|
1996
1996
|
}>;
|
|
@@ -1998,7 +1998,7 @@ export type SessionInsert = z.infer<typeof sessionInsertSchema>;
|
|
|
1998
1998
|
declare const sessionSchema: z.ZodObject<{
|
|
1999
1999
|
id: z.ZodString;
|
|
2000
2000
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
2001
|
-
used_at: z.ZodString
|
|
2001
|
+
used_at: z.ZodOptional<z.ZodString>;
|
|
2002
2002
|
user_id: z.ZodString;
|
|
2003
2003
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
2004
2004
|
idle_expires_at: z.ZodOptional<z.ZodString>;
|
|
@@ -2034,7 +2034,6 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
2034
2034
|
updated_at: string;
|
|
2035
2035
|
user_id: string;
|
|
2036
2036
|
id: string;
|
|
2037
|
-
used_at: string;
|
|
2038
2037
|
device: {
|
|
2039
2038
|
last_ip: string;
|
|
2040
2039
|
initial_user_agent: string;
|
|
@@ -2047,6 +2046,7 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
2047
2046
|
authenticated_at: string;
|
|
2048
2047
|
last_interaction_at: string;
|
|
2049
2048
|
expires_at?: string | undefined;
|
|
2049
|
+
used_at?: string | undefined;
|
|
2050
2050
|
revoked_at?: string | undefined;
|
|
2051
2051
|
idle_expires_at?: string | undefined;
|
|
2052
2052
|
}, {
|
|
@@ -2054,7 +2054,6 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
2054
2054
|
updated_at: string;
|
|
2055
2055
|
user_id: string;
|
|
2056
2056
|
id: string;
|
|
2057
|
-
used_at: string;
|
|
2058
2057
|
device: {
|
|
2059
2058
|
last_ip: string;
|
|
2060
2059
|
initial_user_agent: string;
|
|
@@ -2067,6 +2066,7 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
2067
2066
|
authenticated_at: string;
|
|
2068
2067
|
last_interaction_at: string;
|
|
2069
2068
|
expires_at?: string | undefined;
|
|
2069
|
+
used_at?: string | undefined;
|
|
2070
2070
|
revoked_at?: string | undefined;
|
|
2071
2071
|
idle_expires_at?: string | undefined;
|
|
2072
2072
|
}>;
|
|
@@ -3845,7 +3845,7 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
3845
3845
|
clients: z.ZodString;
|
|
3846
3846
|
id: z.ZodString;
|
|
3847
3847
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
3848
|
-
used_at: z.ZodString
|
|
3848
|
+
used_at: z.ZodOptional<z.ZodString>;
|
|
3849
3849
|
user_id: z.ZodString;
|
|
3850
3850
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
3851
3851
|
idle_expires_at: z.ZodOptional<z.ZodString>;
|
|
@@ -3861,10 +3861,10 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
3861
3861
|
user_id: string;
|
|
3862
3862
|
device: string;
|
|
3863
3863
|
clients: string;
|
|
3864
|
-
used_at: string;
|
|
3865
3864
|
authenticated_at: string;
|
|
3866
3865
|
last_interaction_at: string;
|
|
3867
3866
|
revoked_at?: string | undefined;
|
|
3867
|
+
used_at?: string | undefined;
|
|
3868
3868
|
expires_at?: string | undefined;
|
|
3869
3869
|
idle_expires_at?: string | undefined;
|
|
3870
3870
|
}, {
|
|
@@ -3875,10 +3875,10 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
3875
3875
|
user_id: string;
|
|
3876
3876
|
device: string;
|
|
3877
3877
|
clients: string;
|
|
3878
|
-
used_at: string;
|
|
3879
3878
|
authenticated_at: string;
|
|
3880
3879
|
last_interaction_at: string;
|
|
3881
3880
|
revoked_at?: string | undefined;
|
|
3881
|
+
used_at?: string | undefined;
|
|
3882
3882
|
expires_at?: string | undefined;
|
|
3883
3883
|
idle_expires_at?: string | undefined;
|
|
3884
3884
|
}>;
|
|
@@ -3943,9 +3943,9 @@ export interface Database {
|
|
|
3943
3943
|
tenant_id: string;
|
|
3944
3944
|
};
|
|
3945
3945
|
prompt_settings: z.infer<typeof sqlPromptSettingSchema>;
|
|
3946
|
-
|
|
3946
|
+
refresh_tokens_2: z.infer<typeof sqlRefreshTokensSchema>;
|
|
3947
3947
|
users: z.infer<typeof sqlUserSchema>;
|
|
3948
|
-
|
|
3948
|
+
sessions_2: z.infer<typeof sqlSessionSchema>;
|
|
3949
3949
|
tenants: Tenant;
|
|
3950
3950
|
themes: z.infer<typeof sqlThemeSchema>;
|
|
3951
3951
|
}
|