@wundergraph/protographic 0.15.6 → 0.16.1
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/src/abstract-selection-rewriter.d.ts +265 -0
- package/dist/src/abstract-selection-rewriter.js +585 -0
- package/dist/src/abstract-selection-rewriter.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +4 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/naming-conventions.d.ts +59 -0
- package/dist/src/naming-conventions.js +82 -7
- package/dist/src/naming-conventions.js.map +1 -1
- package/dist/src/operation-to-proto.js +9 -6
- package/dist/src/operation-to-proto.js.map +1 -1
- package/dist/src/operations/field-numbering.js +6 -3
- package/dist/src/operations/field-numbering.js.map +1 -1
- package/dist/src/operations/message-builder.js +38 -23
- package/dist/src/operations/message-builder.js.map +1 -1
- package/dist/src/operations/proto-field-options.js.map +1 -1
- package/dist/src/operations/proto-text-generator.js +16 -27
- package/dist/src/operations/proto-text-generator.js.map +1 -1
- package/dist/src/operations/request-builder.js +5 -3
- package/dist/src/operations/request-builder.js.map +1 -1
- package/dist/src/operations/type-mapper.js +3 -22
- package/dist/src/operations/type-mapper.js.map +1 -1
- package/dist/src/proto-lock.js +19 -19
- package/dist/src/proto-lock.js.map +1 -1
- package/dist/src/proto-utils.d.ts +74 -0
- package/dist/src/proto-utils.js +286 -0
- package/dist/src/proto-utils.js.map +1 -0
- package/dist/src/required-fields-visitor.d.ts +230 -0
- package/dist/src/required-fields-visitor.js +513 -0
- package/dist/src/required-fields-visitor.js.map +1 -0
- package/dist/src/sdl-to-mapping-visitor.d.ts +9 -1
- package/dist/src/sdl-to-mapping-visitor.js +72 -12
- package/dist/src/sdl-to-mapping-visitor.js.map +1 -1
- package/dist/src/sdl-to-proto-visitor.d.ts +20 -66
- package/dist/src/sdl-to-proto-visitor.js +270 -390
- package/dist/src/sdl-to-proto-visitor.js.map +1 -1
- package/dist/src/sdl-validation-visitor.d.ts +2 -0
- package/dist/src/sdl-validation-visitor.js +85 -29
- package/dist/src/sdl-validation-visitor.js.map +1 -1
- package/dist/src/selection-set-validation-visitor.d.ts +112 -0
- package/dist/src/selection-set-validation-visitor.js +199 -0
- package/dist/src/selection-set-validation-visitor.js.map +1 -0
- package/dist/src/string-constants.d.ts +4 -0
- package/dist/src/string-constants.js +4 -0
- package/dist/src/string-constants.js.map +1 -1
- package/dist/src/types.d.ts +102 -0
- package/dist/src/types.js +37 -1
- package/dist/src/types.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wundergraph/protographic",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"module": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -26,22 +26,26 @@
|
|
|
26
26
|
"build": "tsc",
|
|
27
27
|
"bench": "vitest bench --run",
|
|
28
28
|
"format": "prettier --write src tests",
|
|
29
|
-
"lint": "
|
|
30
|
-
"lint:fix": "prettier --write src
|
|
29
|
+
"lint": "eslint --cache --ext .ts,.mjs,.cjs . && prettier -c src",
|
|
30
|
+
"lint:fix": "eslint --cache --fix --ext .ts,.mjs,.cjs . && prettier --write -c src"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/lodash-es": "4.17.12",
|
|
34
34
|
"@types/node": "^20.11.5",
|
|
35
35
|
"@vitest/coverage-v8": "3.2.4",
|
|
36
|
+
"eslint": "8.57.1",
|
|
37
|
+
"eslint-config-unjs": "0.2.1",
|
|
38
|
+
"eslint-plugin-require-extensions": "0.1.3",
|
|
36
39
|
"typescript": "^5.0.0",
|
|
37
40
|
"vitest": "^3.2.4"
|
|
38
41
|
},
|
|
39
42
|
"dependencies": {
|
|
40
43
|
"@bufbuild/protobuf": "^1.8.0",
|
|
41
|
-
"@wundergraph/
|
|
44
|
+
"@wundergraph/composition": "0.51.2",
|
|
45
|
+
"@wundergraph/cosmo-connect": "0.131.0",
|
|
42
46
|
"graphql": "^16.9.0",
|
|
43
47
|
"lodash-es": "4.17.21",
|
|
44
48
|
"protobufjs": "^7.5.0"
|
|
45
49
|
},
|
|
46
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "ad19d5241f5111046e28f83a724b5e17ab334fed"
|
|
47
51
|
}
|