prisma 6.7.0-dev.2 → 6.7.0-dev.21

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.
Files changed (30) hide show
  1. package/build/index.js +1233 -1186
  2. package/build/prisma_schema_build_bg.wasm +0 -0
  3. package/build/schema_engine_bg.wasm +0 -0
  4. package/package.json +14 -14
  5. package/prisma-client/generator-build/index.js +22 -12
  6. package/prisma-client/package.json +5 -4
  7. package/prisma-client/runtime/binary.js +5 -5
  8. package/prisma-client/runtime/binary.mjs +5 -5
  9. package/prisma-client/runtime/client.d.mts +46 -3
  10. package/prisma-client/runtime/client.d.ts +46 -3
  11. package/prisma-client/runtime/client.js +33 -33
  12. package/prisma-client/runtime/client.mjs +33 -33
  13. package/prisma-client/runtime/edge-esm.js +4 -4
  14. package/prisma-client/runtime/edge.d.ts +46 -3
  15. package/prisma-client/runtime/edge.js +4 -4
  16. package/prisma-client/runtime/index-browser.d.ts +3 -3
  17. package/prisma-client/runtime/index-browser.js +1 -1
  18. package/prisma-client/runtime/library.d.mts +46 -3
  19. package/prisma-client/runtime/library.d.ts +46 -3
  20. package/prisma-client/runtime/library.js +6 -6
  21. package/prisma-client/runtime/library.mjs +6 -6
  22. package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
  23. package/prisma-client/runtime/query_engine_bg.mysql.mjs +1 -1
  24. package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
  25. package/prisma-client/runtime/query_engine_bg.postgresql.mjs +1 -1
  26. package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
  27. package/prisma-client/runtime/query_engine_bg.sqlite.mjs +1 -1
  28. package/prisma-client/runtime/react-native.d.ts +46 -3
  29. package/prisma-client/runtime/react-native.js +17 -17
  30. package/prisma-client/scripts/default-index.js +3 -3
@@ -47,7 +47,7 @@ export declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args exte
47
47
  } : {};
48
48
 
49
49
  declare class AnyNull extends NullTypesEnumValue {
50
- private readonly _brand_AnyNull;
50
+ #private;
51
51
  }
52
52
 
53
53
  export declare type ApplyOmit<T, OmitConfig> = Compute<{
@@ -384,7 +384,7 @@ declare type Datasources = {
384
384
  };
385
385
 
386
386
  declare class DbNull extends NullTypesEnumValue {
387
- private readonly _brand_DbNull;
387
+ #private;
388
388
  }
389
389
 
390
390
  export declare const Debug: typeof debugCreate & {
@@ -1148,6 +1148,49 @@ declare type Error_2 = {
1148
1148
  } | {
1149
1149
  kind: 'InvalidIsolationLevel';
1150
1150
  level: string;
1151
+ } | {
1152
+ kind: 'LengthMismatch';
1153
+ column?: string;
1154
+ } | {
1155
+ kind: 'UniqueConstraintViolation';
1156
+ fields: string[];
1157
+ } | {
1158
+ kind: 'NullConstraintViolation';
1159
+ fields: string[];
1160
+ } | {
1161
+ kind: 'ForeignKeyConstraintViolation';
1162
+ constraint?: {
1163
+ fields: string[];
1164
+ } | {
1165
+ index: string;
1166
+ } | {
1167
+ foreignKey: {};
1168
+ };
1169
+ } | {
1170
+ kind: 'DatabaseDoesNotExist';
1171
+ db?: string;
1172
+ } | {
1173
+ kind: 'DatabaseAlreadyExists';
1174
+ db?: string;
1175
+ } | {
1176
+ kind: 'DatabaseAccessDenied';
1177
+ db?: string;
1178
+ } | {
1179
+ kind: 'AuthenticationFailed';
1180
+ user?: string;
1181
+ } | {
1182
+ kind: 'TransactionWriteConflict';
1183
+ } | {
1184
+ kind: 'TableDoesNotExist';
1185
+ table?: string;
1186
+ } | {
1187
+ kind: 'ColumnNotFound';
1188
+ column?: string;
1189
+ } | {
1190
+ kind: 'TooManyConnections';
1191
+ cause: string;
1192
+ } | {
1193
+ kind: 'SocketTimeout';
1151
1194
  } | {
1152
1195
  kind: 'postgres';
1153
1196
  code: string;
@@ -1978,7 +2021,7 @@ declare type JsonFieldSelection = {
1978
2021
  };
1979
2022
 
1980
2023
  declare class JsonNull extends NullTypesEnumValue {
1981
- private readonly _brand_JsonNull;
2024
+ #private;
1982
2025
  }
1983
2026
 
1984
2027
  /**
@@ -47,7 +47,7 @@ export declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args exte
47
47
  } : {};
48
48
 
49
49
  declare class AnyNull extends NullTypesEnumValue {
50
- private readonly _brand_AnyNull;
50
+ #private;
51
51
  }
52
52
 
53
53
  export declare type ApplyOmit<T, OmitConfig> = Compute<{
@@ -384,7 +384,7 @@ declare type Datasources = {
384
384
  };
385
385
 
386
386
  declare class DbNull extends NullTypesEnumValue {
387
- private readonly _brand_DbNull;
387
+ #private;
388
388
  }
389
389
 
390
390
  export declare const Debug: typeof debugCreate & {
@@ -1148,6 +1148,49 @@ declare type Error_2 = {
1148
1148
  } | {
1149
1149
  kind: 'InvalidIsolationLevel';
1150
1150
  level: string;
1151
+ } | {
1152
+ kind: 'LengthMismatch';
1153
+ column?: string;
1154
+ } | {
1155
+ kind: 'UniqueConstraintViolation';
1156
+ fields: string[];
1157
+ } | {
1158
+ kind: 'NullConstraintViolation';
1159
+ fields: string[];
1160
+ } | {
1161
+ kind: 'ForeignKeyConstraintViolation';
1162
+ constraint?: {
1163
+ fields: string[];
1164
+ } | {
1165
+ index: string;
1166
+ } | {
1167
+ foreignKey: {};
1168
+ };
1169
+ } | {
1170
+ kind: 'DatabaseDoesNotExist';
1171
+ db?: string;
1172
+ } | {
1173
+ kind: 'DatabaseAlreadyExists';
1174
+ db?: string;
1175
+ } | {
1176
+ kind: 'DatabaseAccessDenied';
1177
+ db?: string;
1178
+ } | {
1179
+ kind: 'AuthenticationFailed';
1180
+ user?: string;
1181
+ } | {
1182
+ kind: 'TransactionWriteConflict';
1183
+ } | {
1184
+ kind: 'TableDoesNotExist';
1185
+ table?: string;
1186
+ } | {
1187
+ kind: 'ColumnNotFound';
1188
+ column?: string;
1189
+ } | {
1190
+ kind: 'TooManyConnections';
1191
+ cause: string;
1192
+ } | {
1193
+ kind: 'SocketTimeout';
1151
1194
  } | {
1152
1195
  kind: 'postgres';
1153
1196
  code: string;
@@ -1978,7 +2021,7 @@ declare type JsonFieldSelection = {
1978
2021
  };
1979
2022
 
1980
2023
  declare class JsonNull extends NullTypesEnumValue {
1981
- private readonly _brand_JsonNull;
2024
+ #private;
1982
2025
  }
1983
2026
 
1984
2027
  /**