@conduit-client/graphql-normalization 3.8.0 → 3.10.0
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.
|
@@ -273,12 +273,12 @@ export declare class TestGraphQLTypeRootRepository extends GraphQLDocumentRootTy
|
|
|
273
273
|
readonly generatedTime: 0;
|
|
274
274
|
};
|
|
275
275
|
get fields(): {
|
|
276
|
-
user: BaseObjectFieldDef<
|
|
277
|
-
settings: BaseObjectFieldDef<
|
|
278
|
-
analytics: BaseObjectFieldDef<
|
|
276
|
+
user: BaseObjectFieldDef<GraphQLData, GraphQLData, Record<string, unknown>>;
|
|
277
|
+
settings: BaseObjectFieldDef<GraphQLData, GraphQLData, Record<string, unknown>>;
|
|
278
|
+
analytics: BaseObjectFieldDef<GraphQLData, GraphQLData, Record<string, unknown>>;
|
|
279
279
|
searchResult: BaseObjectFieldDef<SearchResult, SearchResult, Record<string, unknown>>;
|
|
280
|
-
character: BaseObjectFieldDef<
|
|
281
|
-
friends: BaseObjectFieldDef<
|
|
280
|
+
character: BaseObjectFieldDef<GraphQLData, GraphQLData, Record<string, unknown>>;
|
|
281
|
+
friends: BaseObjectFieldDef<GraphQLData, GraphQLData, Record<string, unknown>>;
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
export declare class UserRepository extends IdentifiableGraphQLTypeRepository<User, any, {
|
package/dist/types/v1/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SyncOrAsync, SubscribableResult } from '@conduit-client/utils';
|
|
2
2
|
import type { Command } from '@conduit-client/command-base/v1';
|
|
3
|
-
import { DocumentNode, FieldNode, FragmentDefinitionNode, SelectionNode, VariableDefinitionNode } from '@conduit-client/onestore-graphql-parser/v1';
|
|
3
|
+
import { DocumentNode, FieldNode, FragmentDefinitionNode, SelectionNode, VariableDefinitionNode, type GraphQLResponse } from '@conduit-client/onestore-graphql-parser/v1';
|
|
4
4
|
import { QueryParams } from '@conduit-client/pagination';
|
|
5
5
|
import { GraphQLCommandError } from './errors';
|
|
6
6
|
export interface GraphQLRequestParams {
|
|
@@ -34,20 +34,7 @@ export type GraphQLFieldInputExtension = {
|
|
|
34
34
|
export type GraphQLConnectionRepositoryInputExtension = {
|
|
35
35
|
connectionQueryParams: QueryParams;
|
|
36
36
|
} & GraphQLInputExtension;
|
|
37
|
-
export
|
|
38
|
-
data?: T;
|
|
39
|
-
errors?: Array<{
|
|
40
|
-
message?: string;
|
|
41
|
-
locations?: Array<{
|
|
42
|
-
line: number;
|
|
43
|
-
column: number;
|
|
44
|
-
}>;
|
|
45
|
-
path?: Array<string | number>;
|
|
46
|
-
extensions?: Record<string, any>;
|
|
47
|
-
}>;
|
|
48
|
-
extensions?: Record<string, any>;
|
|
49
|
-
}
|
|
50
|
-
export type GraphQLData<T extends Record<string, any> = Record<string, any>> = T;
|
|
37
|
+
export type { GraphQLResponse, GraphQLData } from '@conduit-client/onestore-graphql-parser/v1';
|
|
51
38
|
export type GraphQLVariables = Record<string, {
|
|
52
39
|
definition: VariableDefinitionNode;
|
|
53
40
|
value: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conduit-client/graphql-normalization",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Luvio GraphQL Normalization",
|
|
6
6
|
"type": "module",
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"watch": "npm run build --watch"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@conduit-client/onestore-graphql-parser": "3.
|
|
36
|
-
"@conduit-client/pagination": "3.
|
|
37
|
-
"@conduit-client/service-cache": "3.
|
|
38
|
-
"@conduit-client/service-pubsub": "3.
|
|
39
|
-
"@conduit-client/type-normalization": "3.
|
|
40
|
-
"@conduit-client/utils": "3.
|
|
35
|
+
"@conduit-client/onestore-graphql-parser": "3.10.0",
|
|
36
|
+
"@conduit-client/pagination": "3.10.0",
|
|
37
|
+
"@conduit-client/service-cache": "3.10.0",
|
|
38
|
+
"@conduit-client/service-pubsub": "3.10.0",
|
|
39
|
+
"@conduit-client/type-normalization": "3.10.0",
|
|
40
|
+
"@conduit-client/utils": "3.10.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@conduit-client/command-aura-normalized-cache-control": "3.
|
|
44
|
-
"@conduit-client/command-base": "3.
|
|
45
|
-
"@conduit-client/service-cache-control": "3.
|
|
46
|
-
"@conduit-client/service-cache-inclusion-policy": "3.
|
|
43
|
+
"@conduit-client/command-aura-normalized-cache-control": "3.10.0",
|
|
44
|
+
"@conduit-client/command-base": "3.10.0",
|
|
45
|
+
"@conduit-client/service-cache-control": "3.10.0",
|
|
46
|
+
"@conduit-client/service-cache-inclusion-policy": "3.10.0"
|
|
47
47
|
},
|
|
48
48
|
"volta": {
|
|
49
49
|
"extends": "../../../package.json"
|