Skip to content

Commit 5544b2d

Browse files
committed
Update api report
1 parent f561274 commit 5544b2d

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

.api-reports/api-report-cache.api.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ export abstract class ApolloCache {
9595
// (undocumented)
9696
readonly assumeImmutableResults: boolean;
9797
batch<U>(options: Cache_2.BatchOptions<this, U>): U;
98+
abstract diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache_2.DiffOptions<TData, TVariables> & {
99+
[handleIncrementalSymbol]: DiffIncrementalInfo | undefined;
100+
}): Cache_2.InternalDiffResultWithDataState<TData> | Cache_2.DiffResult<TData>;
101+
// (undocumented)
98102
abstract diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache_2.DiffOptions<TData, TVariables>): Cache_2.DiffResult<TData>;
99103
// (undocumented)
100104
abstract evict(options: Cache_2.EvictOptions): boolean;
@@ -410,7 +414,7 @@ export interface DiffIncrementalInfo {
410414
// @public (undocumented)
411415
export type DiffQueryAgainstStoreOptions = ReadQueryOptions & {
412416
returnPartialData?: boolean;
413-
[handleIncrementalSymbol]?: true | DiffIncrementalInfo;
417+
[handleIncrementalSymbol]?: DiffIncrementalInfo;
414418
};
415419

416420
// @public (undocumented)
@@ -1153,6 +1157,7 @@ interface WriteContext extends ReadMergeModifyContext {
11531157

11541158
// Warnings were encountered during analysis:
11551159
//
1160+
// src/cache/core/cache.ts:204:7 - (ae-incompatible-release-tags) The symbol "[handleIncrementalSymbol]" is marked as @public, but its signature references "DiffIncrementalInfo" which is marked as @internal
11561161
// src/cache/inmemory/inMemoryCache.ts:461:7 - (ae-incompatible-release-tags) The symbol "[handleIncrementalSymbol]" is marked as @public, but its signature references "DiffIncrementalInfo" which is marked as @internal
11571162
// src/cache/inmemory/policies.ts:176:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
11581163
// src/cache/inmemory/policies.ts:179:3 - (ae-forgotten-export) The symbol "ScalarNames" needs to be exported by the entry point index.d.ts

.api-reports/api-report.api.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ export abstract class ApolloCache {
8787
// (undocumented)
8888
readonly assumeImmutableResults: boolean;
8989
batch<U>(options: Cache_2.BatchOptions<this, U>): U;
90+
abstract diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache_2.DiffOptions<TData, TVariables> & {
91+
[handleIncrementalSymbol]: DiffIncrementalInfo | undefined;
92+
}): Cache_2.InternalDiffResultWithDataState<TData> | Cache_2.DiffResult<TData>;
93+
// (undocumented)
9094
abstract diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache_2.DiffOptions<TData, TVariables>): Cache_2.DiffResult<TData>;
9195
// (undocumented)
9296
abstract evict(options: Cache_2.EvictOptions): boolean;
@@ -1158,7 +1162,7 @@ interface DiffIncrementalInfo {
11581162
// @public (undocumented)
11591163
export type DiffQueryAgainstStoreOptions = ReadQueryOptions & {
11601164
returnPartialData?: boolean;
1161-
[handleIncrementalSymbol]?: true | DiffIncrementalInfo;
1165+
[handleIncrementalSymbol]?: DiffIncrementalInfo;
11621166
};
11631167

11641168
export { disableExperimentalFragmentVariables }
@@ -3250,12 +3254,12 @@ interface WriteContext extends ReadMergeModifyContext {
32503254

32513255
// Warnings were encountered during analysis:
32523256
//
3253-
// src/cache/core/cache.ts:127:11 - (ae-forgotten-export) The symbol "MissingTree" needs to be exported by the entry point index.d.ts
3257+
// src/cache/core/cache.ts:129:11 - (ae-forgotten-export) The symbol "MissingTree" needs to be exported by the entry point index.d.ts
3258+
// src/cache/core/cache.ts:204:7 - (ae-forgotten-export) The symbol "DiffIncrementalInfo" needs to be exported by the entry point index.d.ts
32543259
// src/cache/inmemory/policies.ts:104:3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
32553260
// src/cache/inmemory/policies.ts:176:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
32563261
// src/cache/inmemory/policies.ts:176:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts
32573262
// src/cache/inmemory/policies.ts:179:3 - (ae-forgotten-export) The symbol "ScalarNames" needs to be exported by the entry point index.d.ts
3258-
// src/cache/inmemory/types.ts:145:3 - (ae-forgotten-export) The symbol "DiffIncrementalInfo" needs to be exported by the entry point index.d.ts
32593263
// src/cache/inmemory/types.ts:149:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
32603264
// src/cache/inmemory/types.ts:164:3 - (ae-forgotten-export) The symbol "FragmentRegistryAPI" needs to be exported by the entry point index.d.ts
32613265
// src/core/ApolloClient.ts:201:5 - (ae-forgotten-export) The symbol "IgnoreModifier" needs to be exported by the entry point index.d.ts

0 commit comments

Comments
 (0)