@trackunit/graphql-build-tools 0.0.71 → 0.0.73
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 0.0.73 (2026-08-13)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for graphql-build-tools to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 0.0.72 (2026-08-13)
|
|
6
|
+
|
|
7
|
+
This was a version bump only for graphql-build-tools to align it with other projects, there were no code changes.
|
|
8
|
+
|
|
1
9
|
## 0.0.71 (2026-08-12)
|
|
2
10
|
|
|
3
11
|
This was a version bump only for graphql-build-tools to align it with other projects, there were no code changes.
|
package/package.json
CHANGED
|
@@ -26,11 +26,9 @@ const complexityDirective = () => {
|
|
|
26
26
|
if (directive) {
|
|
27
27
|
const { value } = directive;
|
|
28
28
|
const multipliers = getStringList(directive.multipliers);
|
|
29
|
-
fieldConfig.description =
|
|
30
|
-
|
|
31
|
-
(
|
|
32
|
-
? `, multiplied by the smallest numeric argument value or list length among ${multipliers.join(", ")}`
|
|
33
|
-
: "")).trim();
|
|
29
|
+
fieldConfig.description = `${fieldConfig.description ?? ""}\n\nComplexity cost: ${value}${multipliers
|
|
30
|
+
? `, multiplied by the smallest numeric argument value or list length among ${multipliers.join(", ")}`
|
|
31
|
+
: ""}`.trim();
|
|
34
32
|
if (fieldConfig.astNode?.description) {
|
|
35
33
|
fieldConfig.astNode = {
|
|
36
34
|
...fieldConfig.astNode,
|
|
@@ -48,8 +48,7 @@ const previewDirective = (directiveName = "preview") => {
|
|
|
48
48
|
}
|
|
49
49
|
return resolve(source, args, context, info);
|
|
50
50
|
};
|
|
51
|
-
fieldConfig.description =
|
|
52
|
-
`\n\n**This is a preview feature.** This means it may change without notice. To indicate you accept these terms pass the HTTP header 'TU-PREVIEW: ${codename}' with your query requests.`).trim();
|
|
51
|
+
fieldConfig.description = `${fieldConfig.description ?? ""}\n\n**This is a preview feature.** This means it may change without notice. To indicate you accept these terms pass the HTTP header 'TU-PREVIEW: ${codename}' with your query requests.`.trim();
|
|
53
52
|
if (fieldConfig.astNode?.description) {
|
|
54
53
|
fieldConfig.astNode = {
|
|
55
54
|
...fieldConfig.astNode,
|