@prisma/client-generator-ts 6.7.0-dev.3 → 6.7.0-dev.30
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/TSClient/Count.d.ts +1 -2
- package/dist/TSClient/Datasources.d.ts +1 -2
- package/dist/TSClient/Enum.d.ts +1 -2
- package/dist/TSClient/FieldRefInput.d.ts +1 -2
- package/dist/TSClient/GenerateContext.d.ts +8 -1
- package/dist/TSClient/Input.d.ts +2 -5
- package/dist/TSClient/Model.d.ts +11 -38
- package/dist/TSClient/ModelFieldRefs.d.ts +1 -2
- package/dist/TSClient/PrismaClient.d.ts +7 -10
- package/dist/TSClient/TSClient.d.ts +3 -3
- package/dist/TSClient/TypeMap.d.ts +2 -0
- package/dist/TSClient/common.d.ts +1 -4
- package/dist/TSClient/file-generators/ClassFile.d.ts +3 -0
- package/dist/TSClient/file-generators/ClientFile.d.ts +3 -0
- package/dist/TSClient/file-generators/CommonInputTypesFile.d.ts +2 -0
- package/dist/TSClient/file-generators/EnumsFile.d.ts +2 -0
- package/dist/TSClient/file-generators/ModelFile.d.ts +2 -0
- package/dist/TSClient/file-generators/ModelsFile.d.ts +2 -0
- package/dist/TSClient/file-generators/PrismaNamespaceFile.d.ts +3 -0
- package/dist/TSClient/index.d.ts +0 -1
- package/dist/TSClient/utils/type-builders.d.ts +1 -0
- package/dist/index.js +2722 -2574
- package/dist/index.mjs +2451 -2303
- package/dist/utils/common.d.ts +1 -9
- package/dist/utils.d.ts +1 -0
- package/package.json +10 -10
- package/dist/TSClient/Generable.d.ts +0 -3
- package/dist/utils/buildDirname.d.ts +0 -4
package/dist/utils/common.d.ts
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import type * as DMMF from '@prisma/dmmf';
|
|
2
|
-
export declare const needNamespace: {
|
|
3
|
-
Json: string;
|
|
4
|
-
Decimal: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function needsNamespace(field: DMMF.Field): boolean;
|
|
7
1
|
export declare const GraphQLScalarToJSTypeTable: {
|
|
8
2
|
String: string;
|
|
9
3
|
Int: string;
|
|
@@ -18,9 +12,7 @@ export declare const GraphQLScalarToJSTypeTable: {
|
|
|
18
12
|
Decimal: string[];
|
|
19
13
|
BigInt: string[];
|
|
20
14
|
};
|
|
21
|
-
export declare const JSOutputTypeToInputType:
|
|
22
|
-
JsonValue: string;
|
|
23
|
-
};
|
|
15
|
+
export declare const JSOutputTypeToInputType: Record<string, string | undefined>;
|
|
24
16
|
export declare const JSTypeToGraphQLType: {
|
|
25
17
|
string: string;
|
|
26
18
|
boolean: string;
|
package/dist/utils.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare function getCreateManyAndReturnOutputType(modelName: string): str
|
|
|
11
11
|
export declare function getUpdateManyAndReturnOutputType(modelName: string): string;
|
|
12
12
|
export declare function getOmitName(modelName: string): string;
|
|
13
13
|
export declare function getAggregateName(modelName: string): string;
|
|
14
|
+
export declare function getCountOutputTypeName(modelName: string): string;
|
|
14
15
|
export declare function getGroupByName(modelName: string): string;
|
|
15
16
|
export declare function getAvgAggregateName(modelName: string): string;
|
|
16
17
|
export declare function getSumAggregateName(modelName: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "6.7.0-dev.
|
|
3
|
+
"version": "6.7.0-dev.30",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "6.7.0-
|
|
28
|
+
"@prisma/engines-version": "6.7.0-25.870fdf87c6090840a6a7b17273e0b1bffd493185",
|
|
29
29
|
"ci-info": "4.2.0",
|
|
30
30
|
"fast-glob": "3.3.3",
|
|
31
31
|
"get-tsconfig": "4.10.0",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"pkg-up": "3.1.0",
|
|
35
35
|
"pluralize": "8.0.0",
|
|
36
36
|
"ts-pattern": "5.6.2",
|
|
37
|
-
"@prisma/client-common": "6.7.0-dev.
|
|
38
|
-
"@prisma/debug": "6.7.0-dev.
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/generator": "6.7.0-dev.
|
|
42
|
-
"@prisma/get-platform": "6.7.0-dev.
|
|
43
|
-
"@prisma/
|
|
44
|
-
"@prisma/
|
|
37
|
+
"@prisma/client-common": "6.7.0-dev.30",
|
|
38
|
+
"@prisma/debug": "6.7.0-dev.30",
|
|
39
|
+
"@prisma/fetch-engine": "6.7.0-dev.30",
|
|
40
|
+
"@prisma/dmmf": "6.7.0-dev.30",
|
|
41
|
+
"@prisma/generator": "6.7.0-dev.30",
|
|
42
|
+
"@prisma/get-platform": "6.7.0-dev.30",
|
|
43
|
+
"@prisma/ts-builders": "6.7.0-dev.30",
|
|
44
|
+
"@prisma/internals": "6.7.0-dev.30"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33",
|