Skip to content

Commit ecefa26

Browse files
committed
Update api report
1 parent c217429 commit ecefa26

2 files changed

Lines changed: 7 additions & 14 deletions

File tree

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { getApolloCacheMemoryInternals } from '@apollo/client/utilities/internal
2222
import type { GetDataState } from '@apollo/client';
2323
import { getInMemoryCacheMemoryInternals } from '@apollo/client/utilities/internal';
2424
import type { GraphQLScalarType } from 'graphql';
25-
import { handleIncrementalSymbol } from '@apollo/client/utilities/internal';
25+
import type { handleIncrementalSymbol } from '@apollo/client/utilities/internal';
2626
import type { Incremental } from '@apollo/client/incremental';
2727
import type { InlineFragmentNode } from 'graphql';
2828
import type { IsAny } from '@apollo/client/utilities/internal';
@@ -414,7 +414,6 @@ export interface DiffIncrementalInfo {
414414
// @public (undocumented)
415415
export type DiffQueryAgainstStoreOptions = ReadQueryOptions & {
416416
returnPartialData?: boolean;
417-
[handleIncrementalSymbol]?: DiffIncrementalInfo;
418417
};
419418

420419
// @public (undocumented)
@@ -634,8 +633,6 @@ export namespace InMemoryCache {
634633

635634
// @public (undocumented)
636635
export class InMemoryCache extends ApolloCache {
637-
// (undocumented)
638-
readonly [handleIncrementalSymbol] = true;
639636
constructor(...args: {} extends InMemoryCache.ScalarsOption ? [
640637
config?: InMemoryCacheConfig
641638
] : [config: InMemoryCacheConfig]);
@@ -650,7 +647,7 @@ export class InMemoryCache extends ApolloCache {
650647
protected config: InMemoryCacheConfig;
651648
// (undocumented)
652649
diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache_2.DiffOptions<TData, TVariables> & {
653-
[handleIncrementalSymbol]: true | DiffIncrementalInfo;
650+
[handleIncrementalSymbol]: DiffIncrementalInfo | undefined;
654651
}): Cache_2.InternalDiffResultWithDataState<TData>;
655652
// (undocumented)
656653
diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache_2.DiffOptions<TData, TVariables>): Cache_2.DiffResult<TData>;
@@ -1158,11 +1155,10 @@ interface WriteContext extends ReadMergeModifyContext {
11581155
// Warnings were encountered during analysis:
11591156
//
11601157
// 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
1161-
// 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
1158+
// src/cache/inmemory/inMemoryCache.ts:456:7 - (ae-incompatible-release-tags) The symbol "[handleIncrementalSymbol]" is marked as @public, but its signature references "DiffIncrementalInfo" which is marked as @internal
11621159
// src/cache/inmemory/policies.ts:176:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
11631160
// src/cache/inmemory/policies.ts:179:3 - (ae-forgotten-export) The symbol "ScalarNames" needs to be exported by the entry point index.d.ts
1164-
// src/cache/inmemory/types.ts:145:3 - (ae-incompatible-release-tags) The symbol "[handleIncrementalSymbol]" is marked as @public, but its signature references "DiffIncrementalInfo" which is marked as @internal
1165-
// src/cache/inmemory/types.ts:149:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
1161+
// src/cache/inmemory/types.ts:147:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
11661162

11671163
// (No @packageDocumentation comment for this package)
11681164

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,6 @@ interface DiffIncrementalInfo {
11621162
// @public (undocumented)
11631163
export type DiffQueryAgainstStoreOptions = ReadQueryOptions & {
11641164
returnPartialData?: boolean;
1165-
[handleIncrementalSymbol]?: DiffIncrementalInfo;
11661165
};
11671166

11681167
export { disableExperimentalFragmentVariables }
@@ -1664,8 +1663,6 @@ export namespace InMemoryCache {
16641663

16651664
// @public (undocumented)
16661665
export class InMemoryCache extends ApolloCache {
1667-
// (undocumented)
1668-
readonly [handleIncrementalSymbol] = true;
16691666
constructor(...args: {} extends InMemoryCache.ScalarsOption ? [
16701667
config?: InMemoryCacheConfig
16711668
] : [config: InMemoryCacheConfig]);
@@ -1680,7 +1677,7 @@ export class InMemoryCache extends ApolloCache {
16801677
protected config: InMemoryCacheConfig;
16811678
// (undocumented)
16821679
diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache_2.DiffOptions<TData, TVariables> & {
1683-
[handleIncrementalSymbol]: true | DiffIncrementalInfo;
1680+
[handleIncrementalSymbol]: DiffIncrementalInfo | undefined;
16841681
}): Cache_2.InternalDiffResultWithDataState<TData>;
16851682
// (undocumented)
16861683
diff<TData = unknown, TVariables extends OperationVariables = OperationVariables>(query: Cache_2.DiffOptions<TData, TVariables>): Cache_2.DiffResult<TData>;
@@ -3260,8 +3257,8 @@ interface WriteContext extends ReadMergeModifyContext {
32603257
// src/cache/inmemory/policies.ts:176:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
32613258
// src/cache/inmemory/policies.ts:176:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts
32623259
// src/cache/inmemory/policies.ts:179:3 - (ae-forgotten-export) The symbol "ScalarNames" needs to be exported by the entry point index.d.ts
3263-
// src/cache/inmemory/types.ts:149:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
3264-
// src/cache/inmemory/types.ts:164:3 - (ae-forgotten-export) The symbol "FragmentRegistryAPI" needs to be exported by the entry point index.d.ts
3260+
// src/cache/inmemory/types.ts:147:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
3261+
// src/cache/inmemory/types.ts:162:3 - (ae-forgotten-export) The symbol "FragmentRegistryAPI" needs to be exported by the entry point index.d.ts
32653262
// src/core/ApolloClient.ts:201:5 - (ae-forgotten-export) The symbol "IgnoreModifier" needs to be exported by the entry point index.d.ts
32663263
// src/core/ApolloClient.ts:635:5 - (ae-forgotten-export) The symbol "NextFetchPolicyContext" needs to be exported by the entry point index.d.ts
32673264
// src/core/ObservableQuery.ts:375:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts

0 commit comments

Comments
 (0)