drizzle-kit 0.25.0-225f91d → 0.25.0-22c3e40

Sign up to get free protection for your applications and to get access to all the features.
package/api.d.mts CHANGED
@@ -614,28 +614,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
614
614
  columns: string[];
615
615
  nullsNotDistinct: boolean;
616
616
  }>>>;
617
- policies: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
618
- name: zod.ZodString;
619
- as: zod.ZodOptional<zod.ZodEnum<["PERMISSIVE", "RESTRICTIVE"]>>;
620
- for: zod.ZodOptional<zod.ZodEnum<["ALL", "SELECT", "INSERT", "UPDATE", "DELETE"]>>;
621
- to: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
622
- using: zod.ZodOptional<zod.ZodString>;
623
- withCheck: zod.ZodOptional<zod.ZodString>;
624
- }, "strict", zod.ZodTypeAny, {
625
- name: string;
626
- using?: string | undefined;
627
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
628
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
629
- to?: string[] | undefined;
630
- withCheck?: string | undefined;
631
- }, {
632
- name: string;
633
- using?: string | undefined;
634
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
635
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
636
- to?: string[] | undefined;
637
- withCheck?: string | undefined;
638
- }>>>;
639
617
  }, "strict", zod.ZodTypeAny, {
640
618
  name: string;
641
619
  columns: Record<string, {
@@ -699,14 +677,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
699
677
  columns: string[];
700
678
  nullsNotDistinct: boolean;
701
679
  }>;
702
- policies: Record<string, {
703
- name: string;
704
- using?: string | undefined;
705
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
706
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
707
- to?: string[] | undefined;
708
- withCheck?: string | undefined;
709
- }>;
710
680
  }, {
711
681
  name: string;
712
682
  columns: Record<string, {
@@ -770,14 +740,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
770
740
  columns: string[];
771
741
  nullsNotDistinct: boolean;
772
742
  }> | undefined;
773
- policies?: Record<string, {
774
- name: string;
775
- using?: string | undefined;
776
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
777
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
778
- to?: string[] | undefined;
779
- withCheck?: string | undefined;
780
- }> | undefined;
781
743
  }>>;
782
744
  enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
783
745
  name: zod.ZodString;
@@ -821,22 +783,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
821
783
  cache?: string | undefined;
822
784
  cycle?: boolean | undefined;
823
785
  }>>>;
824
- roles: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
825
- name: zod.ZodString;
826
- createDb: zod.ZodOptional<zod.ZodBoolean>;
827
- createRole: zod.ZodOptional<zod.ZodBoolean>;
828
- inherit: zod.ZodOptional<zod.ZodBoolean>;
829
- }, "strict", zod.ZodTypeAny, {
830
- name: string;
831
- createDb?: boolean | undefined;
832
- createRole?: boolean | undefined;
833
- inherit?: boolean | undefined;
834
- }, {
835
- name: string;
836
- createDb?: boolean | undefined;
837
- createRole?: boolean | undefined;
838
- inherit?: boolean | undefined;
839
- }>>>;
840
786
  _meta: zod.ZodObject<{
841
787
  schemas: zod.ZodRecord<zod.ZodString, zod.ZodString>;
842
788
  tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
@@ -969,14 +915,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
969
915
  columns: string[];
970
916
  nullsNotDistinct: boolean;
971
917
  }>;
972
- policies: Record<string, {
973
- name: string;
974
- using?: string | undefined;
975
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
976
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
977
- to?: string[] | undefined;
978
- withCheck?: string | undefined;
979
- }>;
980
918
  }>;
981
919
  id: string;
982
920
  prevId: string;
@@ -1003,12 +941,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1003
941
  cache?: string | undefined;
1004
942
  cycle?: boolean | undefined;
1005
943
  }>;
1006
- roles: Record<string, {
1007
- name: string;
1008
- createDb?: boolean | undefined;
1009
- createRole?: boolean | undefined;
1010
- inherit?: boolean | undefined;
1011
- }>;
1012
944
  internal?: {
1013
945
  tables: Record<string, {
1014
946
  columns: Record<string, {
@@ -1083,14 +1015,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1083
1015
  columns: string[];
1084
1016
  nullsNotDistinct: boolean;
1085
1017
  }> | undefined;
1086
- policies?: Record<string, {
1087
- name: string;
1088
- using?: string | undefined;
1089
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1090
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1091
- to?: string[] | undefined;
1092
- withCheck?: string | undefined;
1093
- }> | undefined;
1094
1018
  }>;
1095
1019
  id: string;
1096
1020
  prevId: string;
@@ -1127,12 +1051,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1127
1051
  cache?: string | undefined;
1128
1052
  cycle?: boolean | undefined;
1129
1053
  }> | undefined;
1130
- roles?: Record<string, {
1131
- name: string;
1132
- createDb?: boolean | undefined;
1133
- createRole?: boolean | undefined;
1134
- inherit?: boolean | undefined;
1135
- }> | undefined;
1136
1054
  }>;
1137
1055
  type PgSchema = TypeOf<typeof pgSchema>;
1138
1056
 
@@ -1568,14 +1486,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
1568
1486
  columns: string[];
1569
1487
  nullsNotDistinct: boolean;
1570
1488
  }>;
1571
- policies: Record<string, {
1572
- name: string;
1573
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1574
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1575
- to?: string[] | undefined;
1576
- using?: string | undefined;
1577
- withCheck?: string | undefined;
1578
- }>;
1579
1489
  }>;
1580
1490
  enums: Record<string, {
1581
1491
  values: string[];
@@ -1593,12 +1503,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
1593
1503
  cache?: string | undefined;
1594
1504
  cycle?: boolean | undefined;
1595
1505
  }>;
1596
- roles: Record<string, {
1597
- name: string;
1598
- createDb?: boolean | undefined;
1599
- createRole?: boolean | undefined;
1600
- inherit?: boolean | undefined;
1601
- }>;
1602
1506
  _meta: {
1603
1507
  tables: Record<string, string>;
1604
1508
  columns: Record<string, string>;
package/api.d.ts CHANGED
@@ -614,28 +614,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
614
614
  columns: string[];
615
615
  nullsNotDistinct: boolean;
616
616
  }>>>;
617
- policies: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
618
- name: zod.ZodString;
619
- as: zod.ZodOptional<zod.ZodEnum<["PERMISSIVE", "RESTRICTIVE"]>>;
620
- for: zod.ZodOptional<zod.ZodEnum<["ALL", "SELECT", "INSERT", "UPDATE", "DELETE"]>>;
621
- to: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
622
- using: zod.ZodOptional<zod.ZodString>;
623
- withCheck: zod.ZodOptional<zod.ZodString>;
624
- }, "strict", zod.ZodTypeAny, {
625
- name: string;
626
- using?: string | undefined;
627
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
628
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
629
- to?: string[] | undefined;
630
- withCheck?: string | undefined;
631
- }, {
632
- name: string;
633
- using?: string | undefined;
634
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
635
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
636
- to?: string[] | undefined;
637
- withCheck?: string | undefined;
638
- }>>>;
639
617
  }, "strict", zod.ZodTypeAny, {
640
618
  name: string;
641
619
  columns: Record<string, {
@@ -699,14 +677,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
699
677
  columns: string[];
700
678
  nullsNotDistinct: boolean;
701
679
  }>;
702
- policies: Record<string, {
703
- name: string;
704
- using?: string | undefined;
705
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
706
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
707
- to?: string[] | undefined;
708
- withCheck?: string | undefined;
709
- }>;
710
680
  }, {
711
681
  name: string;
712
682
  columns: Record<string, {
@@ -770,14 +740,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
770
740
  columns: string[];
771
741
  nullsNotDistinct: boolean;
772
742
  }> | undefined;
773
- policies?: Record<string, {
774
- name: string;
775
- using?: string | undefined;
776
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
777
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
778
- to?: string[] | undefined;
779
- withCheck?: string | undefined;
780
- }> | undefined;
781
743
  }>>;
782
744
  enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
783
745
  name: zod.ZodString;
@@ -821,22 +783,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
821
783
  cache?: string | undefined;
822
784
  cycle?: boolean | undefined;
823
785
  }>>>;
824
- roles: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
825
- name: zod.ZodString;
826
- createDb: zod.ZodOptional<zod.ZodBoolean>;
827
- createRole: zod.ZodOptional<zod.ZodBoolean>;
828
- inherit: zod.ZodOptional<zod.ZodBoolean>;
829
- }, "strict", zod.ZodTypeAny, {
830
- name: string;
831
- createDb?: boolean | undefined;
832
- createRole?: boolean | undefined;
833
- inherit?: boolean | undefined;
834
- }, {
835
- name: string;
836
- createDb?: boolean | undefined;
837
- createRole?: boolean | undefined;
838
- inherit?: boolean | undefined;
839
- }>>>;
840
786
  _meta: zod.ZodObject<{
841
787
  schemas: zod.ZodRecord<zod.ZodString, zod.ZodString>;
842
788
  tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
@@ -969,14 +915,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
969
915
  columns: string[];
970
916
  nullsNotDistinct: boolean;
971
917
  }>;
972
- policies: Record<string, {
973
- name: string;
974
- using?: string | undefined;
975
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
976
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
977
- to?: string[] | undefined;
978
- withCheck?: string | undefined;
979
- }>;
980
918
  }>;
981
919
  id: string;
982
920
  prevId: string;
@@ -1003,12 +941,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1003
941
  cache?: string | undefined;
1004
942
  cycle?: boolean | undefined;
1005
943
  }>;
1006
- roles: Record<string, {
1007
- name: string;
1008
- createDb?: boolean | undefined;
1009
- createRole?: boolean | undefined;
1010
- inherit?: boolean | undefined;
1011
- }>;
1012
944
  internal?: {
1013
945
  tables: Record<string, {
1014
946
  columns: Record<string, {
@@ -1083,14 +1015,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1083
1015
  columns: string[];
1084
1016
  nullsNotDistinct: boolean;
1085
1017
  }> | undefined;
1086
- policies?: Record<string, {
1087
- name: string;
1088
- using?: string | undefined;
1089
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1090
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1091
- to?: string[] | undefined;
1092
- withCheck?: string | undefined;
1093
- }> | undefined;
1094
1018
  }>;
1095
1019
  id: string;
1096
1020
  prevId: string;
@@ -1127,12 +1051,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1127
1051
  cache?: string | undefined;
1128
1052
  cycle?: boolean | undefined;
1129
1053
  }> | undefined;
1130
- roles?: Record<string, {
1131
- name: string;
1132
- createDb?: boolean | undefined;
1133
- createRole?: boolean | undefined;
1134
- inherit?: boolean | undefined;
1135
- }> | undefined;
1136
1054
  }>;
1137
1055
  type PgSchema = TypeOf<typeof pgSchema>;
1138
1056
 
@@ -1568,14 +1486,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
1568
1486
  columns: string[];
1569
1487
  nullsNotDistinct: boolean;
1570
1488
  }>;
1571
- policies: Record<string, {
1572
- name: string;
1573
- as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1574
- for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1575
- to?: string[] | undefined;
1576
- using?: string | undefined;
1577
- withCheck?: string | undefined;
1578
- }>;
1579
1489
  }>;
1580
1490
  enums: Record<string, {
1581
1491
  values: string[];
@@ -1593,12 +1503,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
1593
1503
  cache?: string | undefined;
1594
1504
  cycle?: boolean | undefined;
1595
1505
  }>;
1596
- roles: Record<string, {
1597
- name: string;
1598
- createDb?: boolean | undefined;
1599
- createRole?: boolean | undefined;
1600
- inherit?: boolean | undefined;
1601
- }>;
1602
1506
  _meta: {
1603
1507
  tables: Record<string, string>;
1604
1508
  columns: Record<string, string>;