@schema-hub/zod-graphql-fake-client 0.0.18 → 0.0.20
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/package.json +2 -2
- package/sbom.cdx.json +10 -10
- package/zod-graphql-fake-client/fake-client.d.ts +1 -1
- package/zod-error-formatter/format-issue.d.ts +0 -3
- package/zod-error-formatter/format-issue.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/boundary-issue.d.ts +0 -13
- package/zod-error-formatter/issue-specific/boundary-issue.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/invalid-collection-issue.d.ts +0 -6
- package/zod-error-formatter/issue-specific/invalid-collection-issue.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/invalid-string.d.ts +0 -3
- package/zod-error-formatter/issue-specific/invalid-string.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/invalid-type.d.ts +0 -3
- package/zod-error-formatter/issue-specific/invalid-type.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/invalid-union-alternatives.d.ts +0 -14
- package/zod-error-formatter/issue-specific/invalid-union-alternatives.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/invalid-union.d.ts +0 -5
- package/zod-error-formatter/issue-specific/invalid-union.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/invalid-value.d.ts +0 -3
- package/zod-error-formatter/issue-specific/invalid-value.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/issue-specific-formatters.d.ts +0 -22
- package/zod-error-formatter/issue-specific/issue-specific-formatters.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/not-multiple-of.d.ts +0 -3
- package/zod-error-formatter/issue-specific/not-multiple-of.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/too-big.d.ts +0 -3
- package/zod-error-formatter/issue-specific/too-big.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/too-small.d.ts +0 -3
- package/zod-error-formatter/issue-specific/too-small.d.ts.map +0 -1
- package/zod-error-formatter/issue-specific/unrecognized-keys.d.ts +0 -3
- package/zod-error-formatter/issue-specific/unrecognized-keys.d.ts.map +0 -1
- package/zod-error-formatter/list.d.ts +0 -10
- package/zod-error-formatter/list.d.ts.map +0 -1
- package/zod-error-formatter/path.d.ts +0 -18
- package/zod-error-formatter/path.d.ts.map +0 -1
- package/zod-graphql-query-builder/build-context.d.ts +0 -11
- package/zod-graphql-query-builder/build-context.d.ts.map +0 -1
- package/zod-graphql-query-builder/builder.d.ts +0 -14
- package/zod-graphql-query-builder/builder.d.ts.map +0 -1
- package/zod-graphql-query-builder/default-query-builder.d.ts +0 -4
- package/zod-graphql-query-builder/default-query-builder.d.ts.map +0 -1
- package/zod-graphql-query-builder/fragment-definitions.d.ts +0 -7
- package/zod-graphql-query-builder/fragment-definitions.d.ts.map +0 -1
- package/zod-graphql-query-builder/root-shape.d.ts +0 -3
- package/zod-graphql-query-builder/root-shape.d.ts.map +0 -1
- package/zod-graphql-query-builder/serializer.d.ts +0 -10
- package/zod-graphql-query-builder/serializer.d.ts.map +0 -1
- package/zod-graphql-query-builder/type-name.d.ts +0 -10
- package/zod-graphql-query-builder/type-name.d.ts.map +0 -1
- package/zod-graphql-query-builder/values/enum.d.ts +0 -7
- package/zod-graphql-query-builder/values/enum.d.ts.map +0 -1
- package/zod-graphql-query-builder/values/name.d.ts +0 -2
- package/zod-graphql-query-builder/values/name.d.ts.map +0 -1
- package/zod-graphql-query-builder/values/parameter-list.d.ts +0 -3
- package/zod-graphql-query-builder/values/parameter-list.d.ts.map +0 -1
- package/zod-graphql-query-builder/values/record.d.ts +0 -3
- package/zod-graphql-query-builder/values/record.d.ts.map +0 -1
- package/zod-graphql-query-builder/values/value.d.ts +0 -14
- package/zod-graphql-query-builder/values/value.d.ts.map +0 -1
- package/zod-graphql-query-builder/values/variable-set.d.ts +0 -2
- package/zod-graphql-query-builder/values/variable-set.d.ts.map +0 -1
- package/zod-graphql-query-builder/variable-correlations.d.ts +0 -3
- package/zod-graphql-query-builder/variable-correlations.d.ts.map +0 -1
- package/zod-graphql-query-builder/variable-definition.d.ts +0 -3
- package/zod-graphql-query-builder/variable-definition.d.ts.map +0 -1
- package/zod-graphql-query-builder/variable-type.d.ts +0 -2
- package/zod-graphql-query-builder/variable-type.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"name": "@schema-hub/zod-graphql-fake-client",
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@schema-hub/zod-graphql-client": "0.0.
|
|
20
|
+
"@schema-hub/zod-graphql-client": "0.0.20",
|
|
21
21
|
"zod": "^4.0.5"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"type": "module",
|
|
29
|
-
"version": "0.0.
|
|
29
|
+
"version": "0.0.20"
|
|
30
30
|
}
|
package/sbom.cdx.json
CHANGED
|
@@ -9,31 +9,31 @@
|
|
|
9
9
|
{
|
|
10
10
|
"type": "application",
|
|
11
11
|
"name": "packtory",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.84"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@schema-hub/zod-graphql-fake-client",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@schema-hub/zod-graphql-fake-client@0.0.
|
|
21
|
-
"purl": "pkg:npm/@schema-hub/zod-graphql-fake-client@0.0.
|
|
19
|
+
"version": "0.0.20",
|
|
20
|
+
"bom-ref": "pkg:npm/@schema-hub/zod-graphql-fake-client@0.0.20",
|
|
21
|
+
"purl": "pkg:npm/@schema-hub/zod-graphql-fake-client@0.0.20"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
25
25
|
{
|
|
26
26
|
"type": "library",
|
|
27
27
|
"name": "@schema-hub/zod-graphql-client",
|
|
28
|
-
"version": "0.0.
|
|
29
|
-
"bom-ref": "pkg:npm/@schema-hub/zod-graphql-client@0.0.
|
|
28
|
+
"version": "0.0.20",
|
|
29
|
+
"bom-ref": "pkg:npm/@schema-hub/zod-graphql-client@0.0.20",
|
|
30
30
|
"scope": "optional",
|
|
31
31
|
"licenses": [
|
|
32
32
|
{
|
|
33
33
|
"expression": "MIT"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
|
-
"purl": "pkg:npm/@schema-hub/zod-graphql-client@0.0.
|
|
36
|
+
"purl": "pkg:npm/@schema-hub/zod-graphql-client@0.0.20"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"type": "library",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
],
|
|
52
52
|
"dependencies": [
|
|
53
53
|
{
|
|
54
|
-
"ref": "pkg:npm/@schema-hub/zod-graphql-client@0.0.
|
|
54
|
+
"ref": "pkg:npm/@schema-hub/zod-graphql-client@0.0.20"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"ref": "pkg:npm/@schema-hub/zod-graphql-fake-client@0.0.
|
|
57
|
+
"ref": "pkg:npm/@schema-hub/zod-graphql-fake-client@0.0.20",
|
|
58
58
|
"dependsOn": [
|
|
59
|
-
"pkg:npm/@schema-hub/zod-graphql-client@0.0.
|
|
59
|
+
"pkg:npm/@schema-hub/zod-graphql-client@0.0.20",
|
|
60
60
|
"pkg:npm/zod@%5E4.0.5"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type GraphqlClient } from '@schema-hub/zod-graphql-client/zod-graphql-client/client.js';
|
|
2
|
-
import type { OperationErrorDetails } from '@schema-hub/zod-graphql-client
|
|
2
|
+
import type { OperationErrorDetails } from '@schema-hub/zod-graphql-client';
|
|
3
3
|
import { type GraphqlOverHttpOperationRequestPayload, type OperationOptions, type OperationType } from '@schema-hub/zod-graphql-client/zod-graphql-client/operation-payload.js';
|
|
4
4
|
import type { QuerySchema } from '../zod-graphql-query-builder/query-schema.ts';
|
|
5
5
|
export type RecordedOperation = {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format-issue.d.ts","sourceRoot":"","sources":["../../../../source/zod-error-formatter/format-issue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,SAAS,EAKZ,MAAM,aAAa,CAAC;AAsErB,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAoBpE"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { $ZodIssueTooBig, $ZodIssueTooSmall } from 'zod/v4/core';
|
|
2
|
-
type BoundaryIssue = $ZodIssueTooBig | $ZodIssueTooSmall;
|
|
3
|
-
export type BoundaryPhrases = {
|
|
4
|
-
readonly collectionInclusive: string;
|
|
5
|
-
readonly collectionNonInclusive: string;
|
|
6
|
-
readonly numericInclusive: string;
|
|
7
|
-
readonly numericNonInclusive: string;
|
|
8
|
-
readonly dateInclusive: string;
|
|
9
|
-
readonly dateNonInclusive: string;
|
|
10
|
-
};
|
|
11
|
-
export declare function formatBoundaryIssue(issue: BoundaryIssue, boundary: bigint | number, phrases: BoundaryPhrases): string;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=boundary-issue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"boundary-issue.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/boundary-issue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEtE,KAAK,aAAa,GAAG,eAAe,GAAG,iBAAiB,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;CACrC,CAAC;AAgCF,wBAAgB,mBAAmB,CAC/B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,MAAM,GAAG,MAAM,EACzB,OAAO,EAAE,eAAe,GACzB,MAAM,CAaR"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { $ZodIssue, $ZodIssueInvalidElement, $ZodIssueInvalidKey } from 'zod/v4/core';
|
|
2
|
-
type FormatChildIssue = (issue: $ZodIssue, input: unknown) => string;
|
|
3
|
-
export declare function formatInvalidKeyIssueMessage(issue: $ZodIssueInvalidKey, input: unknown, formatChildIssue: FormatChildIssue): string;
|
|
4
|
-
export declare function formatInvalidElementIssueMessage(issue: $ZodIssueInvalidElement, input: unknown, formatChildIssue: FormatChildIssue): string;
|
|
5
|
-
export {};
|
|
6
|
-
//# sourceMappingURL=invalid-collection-issue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invalid-collection-issue.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/invalid-collection-issue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAG3F,KAAK,gBAAgB,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC;AA6BrE,wBAAgB,4BAA4B,CACxC,KAAK,EAAE,mBAAmB,EAC1B,KAAK,EAAE,OAAO,EACd,gBAAgB,EAAE,gBAAgB,GACnC,MAAM,CAER;AAED,wBAAgB,gCAAgC,CAC5C,KAAK,EAAE,uBAAuB,EAC9B,KAAK,EAAE,OAAO,EACd,gBAAgB,EAAE,gBAAgB,GACnC,MAAM,CAER"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invalid-string.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/invalid-string.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,4BAA4B,EAI5B,sBAAsB,EAEzB,MAAM,aAAa,CAAC;AA+CrB,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,4BAA4B,GAAG,sBAAsB,GAAG,MAAM,CAEpH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invalid-type.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/invalid-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAQ,MAAM,aAAa,CAAC;AAG9D,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAQjG"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { $ZodIssue, $ZodIssueInvalidValue, util } from 'zod/v4/core';
|
|
2
|
-
export type AlternativeBucket = readonly $ZodIssue[];
|
|
3
|
-
export type InvalidValuePathCandidate = {
|
|
4
|
-
readonly path: readonly PropertyKey[];
|
|
5
|
-
readonly issues: readonly $ZodIssueInvalidValue[];
|
|
6
|
-
};
|
|
7
|
-
export declare function isInvalidValueIssue(issue: $ZodIssue): issue is $ZodIssueInvalidValue;
|
|
8
|
-
export declare function isPrimitive(value: unknown): value is util.Primitive;
|
|
9
|
-
export declare function isSamePath(pathA: readonly PropertyKey[], pathB: readonly PropertyKey[]): boolean;
|
|
10
|
-
export declare function collectInvalidValueIssues(alternatives: readonly AlternativeBucket[]): readonly $ZodIssueInvalidValue[];
|
|
11
|
-
export declare function allValuesArePrimitive(issues: readonly $ZodIssueInvalidValue[]): boolean;
|
|
12
|
-
export declare function findInvalidValuePathCandidate(alternatives: readonly AlternativeBucket[]): InvalidValuePathCandidate | null;
|
|
13
|
-
export declare function selectRelevantAlternatives(alternatives: readonly AlternativeBucket[], inputAtUnion: unknown): readonly AlternativeBucket[];
|
|
14
|
-
//# sourceMappingURL=invalid-union-alternatives.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invalid-union-alternatives.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/invalid-union-alternatives.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,SAAS,EACT,qBAAqB,EAErB,IAAI,EACP,MAAM,aAAa,CAAC;AAGrB,MAAM,MAAM,iBAAiB,GAAG,SAAS,SAAS,EAAE,CAAC;AAMrD,MAAM,MAAM,yBAAyB,GAAG;IACpC,QAAQ,CAAC,IAAI,EAAE,SAAS,WAAW,EAAE,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,SAAS,qBAAqB,EAAE,CAAC;CACrD,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,IAAI,qBAAqB,CAEpF;AAMD,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,CAAC,SAAS,CAEnE;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS,WAAW,EAAE,EAAE,KAAK,EAAE,SAAS,WAAW,EAAE,GAAG,OAAO,CAQhG;AA2BD,wBAAgB,yBAAyB,CACrC,YAAY,EAAE,SAAS,iBAAiB,EAAE,GAC3C,SAAS,qBAAqB,EAAE,CAIlC;AAWD,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,qBAAqB,EAAE,GAAG,OAAO,CAIvF;AAgDD,wBAAgB,6BAA6B,CACzC,YAAY,EAAE,SAAS,iBAAiB,EAAE,GAC3C,yBAAyB,GAAG,IAAI,CAWlC;AAiGD,wBAAgB,0BAA0B,CACtC,YAAY,EAAE,SAAS,iBAAiB,EAAE,EAC1C,YAAY,EAAE,OAAO,GACtB,SAAS,iBAAiB,EAAE,CAe9B"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type $ZodIssue, type $ZodIssueInvalidUnion } from 'zod/v4/core';
|
|
2
|
-
type FormatChildIssue = (issue: $ZodIssue, input: unknown) => string;
|
|
3
|
-
export declare function formatInvalidUnionIssueMessage(issue: $ZodIssueInvalidUnion, input: unknown, formatChildIssue: FormatChildIssue): string;
|
|
4
|
-
export {};
|
|
5
|
-
//# sourceMappingURL=invalid-union.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invalid-union.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/invalid-union.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,SAAS,EAEd,KAAK,qBAAqB,EAG7B,MAAM,aAAa,CAAC;AAYrB,KAAK,gBAAgB,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC;AA4ZrE,wBAAgB,8BAA8B,CAC1C,KAAK,EAAE,qBAAqB,EAC5B,KAAK,EAAE,OAAO,EACd,gBAAgB,EAAE,gBAAgB,GACnC,MAAM,CAQR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invalid-value.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/invalid-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAQ,MAAM,aAAa,CAAC;AAI/D,wBAAgB,8BAA8B,CAC1C,KAAK,EAAE,qBAAqB,EAC5B,KAAK,EAAE,OAAO,GACf,MAAM,CAUR"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { formatInvalidElementIssueMessage, formatInvalidKeyIssueMessage } from './invalid-collection-issue.ts';
|
|
2
|
-
import { formatInvalidStringIssueMessage } from './invalid-string.ts';
|
|
3
|
-
import { formatInvalidTypeIssueMessage } from './invalid-type.ts';
|
|
4
|
-
import { formatInvalidUnionIssueMessage } from './invalid-union.ts';
|
|
5
|
-
import { formatInvalidValueIssueMessage } from './invalid-value.ts';
|
|
6
|
-
import { formatNotMultipleOfIssueMessage } from './not-multiple-of.ts';
|
|
7
|
-
import { formatTooBigIssueMessage } from './too-big.ts';
|
|
8
|
-
import { formatTooSmallIssueMessage } from './too-small.ts';
|
|
9
|
-
import { formatUnrecognizedKeysIssueMessage } from './unrecognized-keys.ts';
|
|
10
|
-
export declare const issueSpecificFormatters: {
|
|
11
|
-
formatInvalidElementIssueMessage: typeof formatInvalidElementIssueMessage;
|
|
12
|
-
formatInvalidKeyIssueMessage: typeof formatInvalidKeyIssueMessage;
|
|
13
|
-
formatInvalidStringIssueMessage: typeof formatInvalidStringIssueMessage;
|
|
14
|
-
formatInvalidTypeIssueMessage: typeof formatInvalidTypeIssueMessage;
|
|
15
|
-
formatInvalidUnionIssueMessage: typeof formatInvalidUnionIssueMessage;
|
|
16
|
-
formatInvalidValueIssueMessage: typeof formatInvalidValueIssueMessage;
|
|
17
|
-
formatNotMultipleOfIssueMessage: typeof formatNotMultipleOfIssueMessage;
|
|
18
|
-
formatTooBigIssueMessage: typeof formatTooBigIssueMessage;
|
|
19
|
-
formatTooSmallIssueMessage: typeof formatTooSmallIssueMessage;
|
|
20
|
-
formatUnrecognizedKeysIssueMessage: typeof formatUnrecognizedKeysIssueMessage;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=issue-specific-formatters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"issue-specific-formatters.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/issue-specific-formatters.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gCAAgC,EAChC,4BAA4B,EAC/B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,wBAAwB,CAAC;AAE5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;CAWnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not-multiple-of.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/not-multiple-of.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,sBAAsB,GAAG,MAAM,CAErF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"too-big.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/too-big.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAYnD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAEvE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"too-small.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/too-small.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAYrD,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,CAE3E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unrecognized-keys.d.ts","sourceRoot":"","sources":["../../../../../source/zod-error-formatter/issue-specific/unrecognized-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAG7D,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,yBAAyB,GAAG,MAAM,CAI3F"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { $ZodIssueInvalidType, util } from 'zod/v4/core';
|
|
2
|
-
type ParsedType = {
|
|
3
|
-
readonly type: $ZodIssueInvalidType['expected'];
|
|
4
|
-
};
|
|
5
|
-
export type ListValue = ParsedType | util.Primitive;
|
|
6
|
-
export declare function isParsedType(value: ListValue): value is ParsedType;
|
|
7
|
-
export declare function formatList(values: readonly ListValue[], lastItemSeparator: string): string;
|
|
8
|
-
export declare function formatOneOfList(values: readonly ListValue[]): string;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../source/zod-error-formatter/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAgB9D,KAAK,UAAU,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC,UAAU,CAAC,CAAC;CAAE,CAAC;AACvE,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;AAEpD,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK,IAAI,UAAU,CAElE;AAmBD,wBAAgB,UAAU,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,EAAE,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAM1F;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,MAAM,CAQpE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type NonEmptyArray } from '../tuple/non-empty-array.ts';
|
|
2
|
-
type Path = NonEmptyArray<PropertyKey>;
|
|
3
|
-
export declare const isNonEmptyPath: (list: readonly PropertyKey[]) => list is readonly [PropertyKey, ...PropertyKey[]];
|
|
4
|
-
export declare function formatPath(path: Path): string;
|
|
5
|
-
type FoundValueResult = {
|
|
6
|
-
readonly found: true;
|
|
7
|
-
readonly value: unknown;
|
|
8
|
-
readonly pathItemKind?: undefined;
|
|
9
|
-
};
|
|
10
|
-
type ValueNotFoundResult = {
|
|
11
|
-
readonly found: false;
|
|
12
|
-
readonly value?: undefined;
|
|
13
|
-
readonly pathItemKind: 'key' | 'property';
|
|
14
|
-
};
|
|
15
|
-
type ValueResult = FoundValueResult | ValueNotFoundResult;
|
|
16
|
-
export declare function findValueByPath(value: unknown, path: readonly PropertyKey[]): ValueResult;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=path.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../../source/zod-error-formatter/path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAElF,KAAK,IAAI,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;AAEvC,eAAO,MAAM,cAAc,oFAA+B,CAAC;AAE3D,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAW7C;AAED,KAAK,gBAAgB,GAAG;IACpB,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,CAAC;CACrC,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACvB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,YAAY,EAAE,KAAK,GAAG,UAAU,CAAC;CAC7C,CAAC;AAEF,KAAK,WAAW,GAAG,gBAAgB,GAAG,mBAAmB,CAAC;AAgC1D,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,WAAW,EAAE,GAAG,WAAW,CAiBzF"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { FragmentDefinition } from './fragment-definitions.ts';
|
|
2
|
-
import type { FieldSchema, FieldShape } from './query-schema.ts';
|
|
3
|
-
import type { FieldOptionsRegistry } from './type-name.ts';
|
|
4
|
-
export type BuildContext = {
|
|
5
|
-
counts: ReadonlyMap<FieldSchema, number>;
|
|
6
|
-
nameForSchema: Map<FieldSchema, string>;
|
|
7
|
-
counterPerTypeName: Map<string, number>;
|
|
8
|
-
definitions: Map<string, FragmentDefinition>;
|
|
9
|
-
};
|
|
10
|
-
export declare function createBuildContext(registry: FieldOptionsRegistry, rootShape: FieldShape): BuildContext;
|
|
11
|
-
//# sourceMappingURL=build-context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-context.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/build-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAK3D,MAAM,MAAM,YAAY,GAAG;IACvB,MAAM,EAAE,WAAW,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACzC,aAAa,EAAE,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACxC,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;CAChD,CAAC;AAGF,wBAAgB,kBAAkB,CAC9B,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,UAAU,GACtB,YAAY,CAOd"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FieldSchema, QuerySchema } from './query-schema.ts';
|
|
2
|
-
import type { GraphqlFieldOptions } from './type-name.ts';
|
|
3
|
-
import { type VariableDefinitions } from './variable-definition.ts';
|
|
4
|
-
export type OperationOptions = {
|
|
5
|
-
readonly operationName?: string | undefined;
|
|
6
|
-
readonly variableDefinitions?: VariableDefinitions | undefined;
|
|
7
|
-
};
|
|
8
|
-
export type QueryBuilder = {
|
|
9
|
-
registerFieldOptions: <Schema extends FieldSchema>(schema: Schema, options: GraphqlFieldOptions) => Schema;
|
|
10
|
-
buildQuery: (schema: QuerySchema, options?: OperationOptions) => string;
|
|
11
|
-
buildMutation: (schema: QuerySchema, options?: OperationOptions) => string;
|
|
12
|
-
};
|
|
13
|
-
export declare function createQueryBuilder(): QueryBuilder;
|
|
14
|
-
//# sourceMappingURL=builder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/builder.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGlE,OAAO,KAAK,EAAwB,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAGhF,OAAO,EAAgC,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAElG,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB,oBAAoB,EAAE,CAAC,MAAM,SAAS,WAAW,EAC7C,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,mBAAmB,KAC3B,MAAM,CAAC;IACZ,UAAU,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,MAAM,CAAC;IACxE,aAAa,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,MAAM,CAAC;CAC9E,CAAC;AA4BF,wBAAgB,kBAAkB,IAAI,YAAY,CAyBjD"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const graphqlFieldOptions: <Schema extends import("./query-schema.ts").FieldSchema>(schema: Schema, options: import("./type-name.ts").GraphqlFieldOptions) => Schema;
|
|
2
|
-
export declare const buildGraphqlQuery: (schema: import("./query-schema.ts").QuerySchema, options?: import("./builder.ts").OperationOptions) => string;
|
|
3
|
-
export declare const buildGraphqlMutation: (schema: import("./query-schema.ts").QuerySchema, options?: import("./builder.ts").OperationOptions) => string;
|
|
4
|
-
//# sourceMappingURL=default-query-builder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default-query-builder.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/default-query-builder.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,2IAA2C,CAAC;AAC5E,eAAO,MAAM,iBAAiB,gHAAiC,CAAC;AAChE,eAAO,MAAM,oBAAoB,gHAAoC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type FragmentDefinition = {
|
|
2
|
-
readonly typeName: string;
|
|
3
|
-
readonly body: string;
|
|
4
|
-
readonly referencedVariables: ReadonlySet<string>;
|
|
5
|
-
};
|
|
6
|
-
export declare function formatFragmentDefinitions(definitions: ReadonlyMap<string, FragmentDefinition>): string;
|
|
7
|
-
//# sourceMappingURL=fragment-definitions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fragment-definitions.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/fragment-definitions.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,WAAW,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,MAAM,CAatG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"root-shape.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/root-shape.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEjE,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,GAAG,UAAU,CAKhE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { BuildContext } from './build-context.ts';
|
|
2
|
-
import { type FieldSchema, type FieldShape } from './query-schema.ts';
|
|
3
|
-
import { type FieldOptionsRegistry } from './type-name.ts';
|
|
4
|
-
export type SerializedRootShape = {
|
|
5
|
-
readonly bodyEntries: readonly string[];
|
|
6
|
-
readonly referencedVariables: ReadonlySet<string>;
|
|
7
|
-
};
|
|
8
|
-
export declare function collectSchemaReferences(registry: FieldOptionsRegistry, rootShape: FieldShape): Map<FieldSchema, number>;
|
|
9
|
-
export declare function serializeRootShape(registry: FieldOptionsRegistry, rootShape: FieldShape, context: BuildContext): SerializedRootShape;
|
|
10
|
-
//# sourceMappingURL=serializer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/serializer.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,OAAO,EAEH,KAAK,WAAW,EAEhB,KAAK,UAAU,EAclB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACH,KAAK,oBAAoB,EAG5B,MAAM,gBAAgB,CAAC;AAKxB,MAAM,MAAM,mBAAmB,GAAG;IAC9B,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,QAAQ,CAAC,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC;AAgJF,wBAAgB,uBAAuB,CACnC,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,UAAU,GACtB,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC,CAiC1B;AAoQD,wBAAgB,kBAAkB,CAC9B,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,UAAU,EACrB,OAAO,EAAE,YAAY,GACtB,mBAAmB,CAcrB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type FieldSchema, type FieldShape, type StrictObjectSchema } from './query-schema.ts';
|
|
2
|
-
import type { GraphqlValue } from './values/value.ts';
|
|
3
|
-
export type GraphqlFieldOptions = {
|
|
4
|
-
readonly aliasFor?: string;
|
|
5
|
-
readonly parameters?: Readonly<Record<string, GraphqlValue>>;
|
|
6
|
-
readonly typeName?: string;
|
|
7
|
-
};
|
|
8
|
-
export type FieldOptionsRegistry = WeakMap<FieldSchema, GraphqlFieldOptions>;
|
|
9
|
-
export declare function resolveTypeName(registry: FieldOptionsRegistry, schema: StrictObjectSchema<FieldShape>): string | null;
|
|
10
|
-
//# sourceMappingURL=type-name.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-name.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/type-name.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,kBAAkB,EAE1B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;IAC7D,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC;AAuC7E,wBAAgB,eAAe,CAC3B,QAAQ,EAAE,oBAAoB,EAC9B,MAAM,EAAE,kBAAkB,CAAC,UAAU,CAAC,GACvC,MAAM,GAAG,IAAI,CAKf"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type GraphqlEnumValue = {
|
|
2
|
-
readonly enumValue: string;
|
|
3
|
-
readonly tag: symbol;
|
|
4
|
-
};
|
|
5
|
-
export declare function isEnumValue(value: unknown): value is GraphqlEnumValue;
|
|
6
|
-
export declare function enumValue(value: string): GraphqlEnumValue;
|
|
7
|
-
//# sourceMappingURL=enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../../../../../source/zod-graphql-query-builder/values/enum.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACxB,CAAC;AAIF,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,gBAAgB,CAErE;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CASzD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"name.d.ts","sourceRoot":"","sources":["../../../../../source/zod-graphql-query-builder/values/name.ts"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEzD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameter-list.d.ts","sourceRoot":"","sources":["../../../../../source/zod-graphql-query-builder/values/parameter-list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,sBAAsB,EAAyB,MAAM,YAAY,CAAC;AAGnG,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,GAAG,sBAAsB,CAwBjH"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare function hasProperty<Value extends Record<string, unknown>, Property extends string>(value: Value, property: Property): value is Record<Property, unknown> & Value;
|
|
2
|
-
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
3
|
-
//# sourceMappingURL=record.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../../../../source/zod-graphql-query-builder/values/record.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,SAAS,MAAM,EACtF,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GACnB,KAAK,IAAI,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,KAAK,CAE5C;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type GraphqlEnumValue } from './enum.ts';
|
|
2
|
-
import { type GraphqlVariablePlaceholder } from './variable-placeholder.ts';
|
|
3
|
-
type GraphqlObjectValue = {
|
|
4
|
-
readonly [Key: string]: GraphqlValue;
|
|
5
|
-
};
|
|
6
|
-
type GraphqlPrimitiveValue = boolean | number | string | null;
|
|
7
|
-
export type GraphqlValue = GraphqlEnumValue | GraphqlObjectValue | GraphqlPrimitiveValue | GraphqlVariablePlaceholder | readonly GraphqlValue[];
|
|
8
|
-
export type NormalizedGraphqlValue = {
|
|
9
|
-
readonly serializedValue: string;
|
|
10
|
-
readonly referencedVariables: ReadonlySet<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare function normalizeGraphqlValue(value: GraphqlValue): NormalizedGraphqlValue;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=value.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../../../../source/zod-graphql-query-builder/values/value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAe,MAAM,WAAW,CAAC;AAG/D,OAAO,EAAE,KAAK,0BAA0B,EAAyB,MAAM,2BAA2B,CAAC;AAGnG,KAAK,kBAAkB,GAAG;IAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,YAAY,CAAC;CAAE,CAAC;AAMpE,KAAK,qBAAqB,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAO9D,MAAM,MAAM,YAAY,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,qBAAqB,GACrB,0BAA0B,GAC1B,SAAS,YAAY,EAAE,CAAC;AAE9B,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACrD,CAAC;AAgDF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,YAAY,GAAG,sBAAsB,CA0BjF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variable-set.d.ts","sourceRoot":"","sources":["../../../../../source/zod-graphql-query-builder/values/variable-set.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAEnG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variable-correlations.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/variable-correlations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,wBAAgB,+BAA+B,CAC3C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAAC,GACzC,IAAI,CAcN"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variable-definition.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/variable-definition.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAoBnE,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,mBAAmB,GAAG,MAAM,CAcrF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variable-type.d.ts","sourceRoot":"","sources":["../../../../source/zod-graphql-query-builder/variable-type.ts"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAOxD"}
|