@authhero/kysely-adapter 0.5.3 → 0.5.5

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.
@@ -598,6 +598,7 @@ declare const codeTypeSchema: z.ZodEnum<[
598
598
  ]>;
599
599
  export type CodeType = z.infer<typeof codeTypeSchema>;
600
600
  declare const codeSchema: z.ZodObject<{
601
+ created_at: z.ZodString;
601
602
  code_id: z.ZodString;
602
603
  login_id: z.ZodString;
603
604
  code_type: z.ZodEnum<[
@@ -608,7 +609,6 @@ declare const codeSchema: z.ZodObject<{
608
609
  "oauth2_state",
609
610
  "ticket"
610
611
  ]>;
611
- created_at: z.ZodString;
612
612
  expires_at: z.ZodString;
613
613
  used_at: z.ZodOptional<z.ZodString>;
614
614
  }, "strip", z.ZodTypeAny, {
@@ -811,7 +811,6 @@ declare const hookSchema: z.ZodObject<z.objectUtil.extendShape<{
811
811
  }>;
812
812
  export type Hook = z.infer<typeof hookSchema>;
813
813
  declare const loginInsertSchema: z.ZodObject<{
814
- login_id: z.ZodString;
815
814
  auth0Client: z.ZodOptional<z.ZodString>;
816
815
  authParams: z.ZodObject<{
817
816
  client_id: z.ZodString;
@@ -854,10 +853,9 @@ declare const loginInsertSchema: z.ZodObject<{
854
853
  code_challenge?: string | undefined;
855
854
  }>;
856
855
  expires_at: z.ZodString;
857
- deleted_at: z.ZodString;
856
+ deleted_at: z.ZodOptional<z.ZodString>;
858
857
  ip: z.ZodOptional<z.ZodString>;
859
858
  }, "strip", z.ZodTypeAny, {
860
- login_id: string;
861
859
  expires_at: string;
862
860
  authParams: {
863
861
  client_id: string;
@@ -873,11 +871,10 @@ declare const loginInsertSchema: z.ZodObject<{
873
871
  code_challenge_method?: CodeChallengeMethod | undefined;
874
872
  code_challenge?: string | undefined;
875
873
  };
876
- deleted_at: string;
877
874
  auth0Client?: string | undefined;
875
+ deleted_at?: string | undefined;
878
876
  ip?: string | undefined;
879
877
  }, {
880
- login_id: string;
881
878
  expires_at: string;
882
879
  authParams: {
883
880
  client_id: string;
@@ -893,15 +890,15 @@ declare const loginInsertSchema: z.ZodObject<{
893
890
  code_challenge_method?: CodeChallengeMethod | undefined;
894
891
  code_challenge?: string | undefined;
895
892
  };
896
- deleted_at: string;
897
893
  auth0Client?: string | undefined;
894
+ deleted_at?: string | undefined;
898
895
  ip?: string | undefined;
899
896
  }>;
900
897
  export type LoginInsert = z.infer<typeof loginInsertSchema>;
901
898
  declare const loginSchema: z.ZodObject<{
899
+ login_id: z.ZodString;
902
900
  created_at: z.ZodString;
903
901
  updated_at: z.ZodString;
904
- login_id: z.ZodString;
905
902
  auth0Client: z.ZodOptional<z.ZodString>;
906
903
  authParams: z.ZodObject<{
907
904
  client_id: z.ZodString;
@@ -944,7 +941,7 @@ declare const loginSchema: z.ZodObject<{
944
941
  code_challenge?: string | undefined;
945
942
  }>;
946
943
  expires_at: z.ZodString;
947
- deleted_at: z.ZodString;
944
+ deleted_at: z.ZodOptional<z.ZodString>;
948
945
  ip: z.ZodOptional<z.ZodString>;
949
946
  }, "strip", z.ZodTypeAny, {
950
947
  created_at: string;
@@ -965,8 +962,8 @@ declare const loginSchema: z.ZodObject<{
965
962
  code_challenge_method?: CodeChallengeMethod | undefined;
966
963
  code_challenge?: string | undefined;
967
964
  };
968
- deleted_at: string;
969
965
  auth0Client?: string | undefined;
966
+ deleted_at?: string | undefined;
970
967
  ip?: string | undefined;
971
968
  }, {
972
969
  created_at: string;
@@ -987,8 +984,8 @@ declare const loginSchema: z.ZodObject<{
987
984
  code_challenge_method?: CodeChallengeMethod | undefined;
988
985
  code_challenge?: string | undefined;
989
986
  };
990
- deleted_at: string;
991
987
  auth0Client?: string | undefined;
988
+ deleted_at?: string | undefined;
992
989
  ip?: string | undefined;
993
990
  }>;
994
991
  export type Login = z.infer<typeof loginSchema>;
@@ -2728,7 +2725,7 @@ export interface DataAdapters {
2728
2725
  domains: DomainsAdapter;
2729
2726
  hooks: HooksAdapter;
2730
2727
  keys: KeysAdapter;
2731
- login: LoginsAdapter;
2728
+ logins: LoginsAdapter;
2732
2729
  logs: LogsDataAdapter;
2733
2730
  OTP: OTPAdapter;
2734
2731
  passwords: PasswordsAdapter;