@conduit-client/graphql-normalization 2.0.0 → 2.0.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.
@@ -377,7 +377,7 @@ export declare class TestAuraNormalizedCacheControlCommand extends AuraNormalize
377
377
  fragments: GraphQLFragmentDefinitions;
378
378
  };
379
379
  };
380
- parentFieldSelection: import("@conduit-client/onestore-graphql-parser/v1").FieldNode | undefined;
380
+ parentFieldSelection: import("graphql/language").FieldNode | undefined;
381
381
  type: string;
382
382
  keyParams: null;
383
383
  };
@@ -24,6 +24,6 @@ export declare abstract class BaseGraphQLTypeRepository<Data extends GraphQLData
24
24
  protected getFieldDef(input: NormalizeDataInput<Data, NormalizedData, GraphQLInputExtension & ExtraInputExtension> | DenormalizeDataInput<NormalizedData, GraphQLInputExtension & ExtraInputExtension> | undefined, selection: FieldNode): FieldDef<Data, NormalizedData> | undefined;
25
25
  shouldProcessFragment(input: NormalizeDataInput<Data, NormalizedData, GraphQLInputExtension & ExtraInputExtension> | DenormalizeDataInput<NormalizedData, GraphQLInputExtension & ExtraInputExtension>, fragment: InlineFragmentNode | FragmentDefinitionNode): Result<boolean, Error>;
26
26
  satisfiesFragmentTypeCondition(_input: NormalizeDataInput<Data, NormalizedData, GraphQLInputExtension & ExtraInputExtension> | DenormalizeDataInput<NormalizedData, GraphQLInputExtension & ExtraInputExtension> | undefined, fragment: InlineFragmentNode | FragmentDefinitionNode): Result<boolean, Error>;
27
- protected getCacheKeyFieldArguments(selection: FieldNode): readonly import("@conduit-client/onestore-graphql-parser/v1").ArgumentNode[] | undefined;
27
+ protected getCacheKeyFieldArguments(selection: FieldNode): readonly import("graphql/language").ArgumentNode[] | undefined;
28
28
  buildFieldKey(selection: FieldNode, variables: GraphQLVariables): Result<string, Error>;
29
29
  }
@@ -19,7 +19,7 @@ export declare abstract class BaseInterfaceRepository<Data = unknown, Normalized
19
19
  protected getTypeDiscriminator(data: any, selections: SelectionNode[]): any;
20
20
  protected verifyInterfaceFields(selections: readonly SelectionNode[]): (ReadErrors & WriteErrors) | void;
21
21
  buildFieldKey(selection: FieldNode, variables: GraphQLVariables): Result<string, Error>;
22
- protected getCacheKeyFieldArguments(selection: FieldNode): readonly import("@conduit-client/onestore-graphql-parser/v1").ArgumentNode[] | undefined;
22
+ protected getCacheKeyFieldArguments(selection: FieldNode): readonly import("graphql/language").ArgumentNode[] | undefined;
23
23
  }
24
24
  export declare abstract class BaseUnionRepository<Data = unknown, NormalizedData = unknown, ExtraInputExtension extends Record<string, any> = Record<string, unknown>> implements GraphQLTypeRepository<Data, NormalizedData, ExtraInputExtension> {
25
25
  protected services: {};
@@ -34,5 +34,5 @@ export declare abstract class BaseUnionRepository<Data = unknown, NormalizedData
34
34
  protected getTypeDiscriminator(data: any, selections: SelectionNode[]): any;
35
35
  protected verifyUnionFields(selections: readonly SelectionNode[]): (ReadErrors & WriteErrors) | void;
36
36
  buildFieldKey(selection: FieldNode, variables: GraphQLVariables): Result<string, Error>;
37
- protected getCacheKeyFieldArguments(selection: FieldNode): readonly import("@conduit-client/onestore-graphql-parser/v1").ArgumentNode[] | undefined;
37
+ protected getCacheKeyFieldArguments(selection: FieldNode): readonly import("graphql/language").ArgumentNode[] | undefined;
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduit-client/graphql-normalization",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "private": false,
5
5
  "description": "Luvio GraphQL Normalization",
6
6
  "type": "module",
@@ -32,17 +32,17 @@
32
32
  "watch": "npm run build --watch"
33
33
  },
34
34
  "dependencies": {
35
- "@conduit-client/onestore-graphql-parser": "2.0.0",
36
- "@conduit-client/pagination": "2.0.0",
37
- "@conduit-client/service-cache": "2.0.0",
38
- "@conduit-client/service-pubsub": "2.0.0",
39
- "@conduit-client/type-normalization": "2.0.0",
40
- "@conduit-client/utils": "2.0.0"
35
+ "@conduit-client/onestore-graphql-parser": "2.0.1",
36
+ "@conduit-client/pagination": "2.0.1",
37
+ "@conduit-client/service-cache": "2.0.1",
38
+ "@conduit-client/service-pubsub": "2.0.1",
39
+ "@conduit-client/type-normalization": "2.0.1",
40
+ "@conduit-client/utils": "2.0.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@conduit-client/command-aura-normalized-cache-control": "2.0.0",
44
- "@conduit-client/service-cache-control": "2.0.0",
45
- "@conduit-client/service-cache-inclusion-policy": "2.0.0"
43
+ "@conduit-client/command-aura-normalized-cache-control": "2.0.1",
44
+ "@conduit-client/service-cache-control": "2.0.1",
45
+ "@conduit-client/service-cache-inclusion-policy": "2.0.1"
46
46
  },
47
47
  "volta": {
48
48
  "extends": "../../../package.json"