Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-3.9' into pr/getCacheStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Dec 15, 2023
2 parents e283de3 + ae7c765 commit 94d1b85
Show file tree
Hide file tree
Showing 59 changed files with 1,743 additions and 640 deletions.
37 changes: 19 additions & 18 deletions .api-reports/api-report-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,20 +400,20 @@ class CacheGroup {

// @public
interface CacheSizes {
"cache.fragmentQueryDocuments": number;
"documentTransform.cache": number;
"fragmentRegistry.findFragmentSpreads": number;
"fragmentRegistry.lookup": number;
"fragmentRegistry.transform": number;
"inMemoryCache.executeSelectionSet": number;
"inMemoryCache.executeSubSelectedArray": number;
"inMemoryCache.maybeBroadcastWatch": number;
"PersistedQueryLink.persistedQueryHashes": number;
"queryManager.getDocumentInfo": number;
"removeTypenameFromVariables.getVariableDefinitions": number;
canonicalStringify: number;
documentTransform: number;
executeSelectionSet: number;
executeSubSelectedArray: number;
fragmentQueryDocuments: number;
fragmentRegistryFindFragmentSpreads: number;
fragmentRegistryLookup: number;
fragmentRegistryTransform: number;
getVariableDefinitions: number;
maybeBroadcastWatch: number;
parser: number;
persistedQueryHashes: number;
print: number;
queryManagerTransforms: number;
}

// @public (undocumented)
Expand Down Expand Up @@ -591,10 +591,10 @@ export class DocumentTransform {
concat(otherTransform: DocumentTransform): DocumentTransform;
// (undocumented)
static identity(): DocumentTransform;
// (undocumented)
// @internal
readonly left?: DocumentTransform;
resetCache(): void;
// (undocumented)
// @internal
readonly right?: DocumentTransform;
// (undocumented)
static split(predicate: (document: DocumentNode) => boolean, left: DocumentTransform, right?: DocumentTransform): DocumentTransform & {
Expand Down Expand Up @@ -906,7 +906,7 @@ const getApolloCacheMemoryInternals: (() => {

// @internal
const getApolloClientMemoryInternals: (() => {
limits: CacheSizes;
limits: Partial<CacheSizes>;
sizes: {
global: {
print: number | undefined;
Expand Down Expand Up @@ -2153,6 +2153,7 @@ export interface WatchQueryOptions<TVariables extends OperationVariables = Opera
query: DocumentNode | TypedDocumentNode<TData, TVariables>;
refetchWritePolicy?: RefetchWritePolicy;
returnPartialData?: boolean;
skipPollAttempt?: () => boolean;
variables?: TVariables;
}

Expand Down Expand Up @@ -2196,10 +2197,10 @@ interface WriteContext extends ReadMergeModifyContext {
// src/cache/inmemory/types.ts:132:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:113:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:114:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:120:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:154:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:395:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/watchQueryOptions.ts:253:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:121:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:155:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:396:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/watchQueryOptions.ts:260:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts
// src/link/http/selectHttpOptionsAndBody.ts:128:32 - (ae-forgotten-export) The symbol "HttpQueryOptions" needs to be exported by the entry point index.d.ts
// src/utilities/caching/getMemoryInternals.ts:66:44 - (ae-forgotten-export) The symbol "CacheSizes" needs to be exported by the entry point index.d.ts

Expand Down
37 changes: 19 additions & 18 deletions .api-reports/api-report-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,20 +510,20 @@ namespace Cache_2 {

// @public
interface CacheSizes {
"cache.fragmentQueryDocuments": number;
"documentTransform.cache": number;
"fragmentRegistry.findFragmentSpreads": number;
"fragmentRegistry.lookup": number;
"fragmentRegistry.transform": number;
"inMemoryCache.executeSelectionSet": number;
"inMemoryCache.executeSubSelectedArray": number;
"inMemoryCache.maybeBroadcastWatch": number;
"PersistedQueryLink.persistedQueryHashes": number;
"queryManager.getDocumentInfo": number;
"removeTypenameFromVariables.getVariableDefinitions": number;
canonicalStringify: number;
documentTransform: number;
executeSelectionSet: number;
executeSubSelectedArray: number;
fragmentQueryDocuments: number;
fragmentRegistryFindFragmentSpreads: number;
fragmentRegistryLookup: number;
fragmentRegistryTransform: number;
getVariableDefinitions: number;
maybeBroadcastWatch: number;
parser: number;
persistedQueryHashes: number;
print: number;
queryManagerTransforms: number;
}

// @public (undocumented)
Expand Down Expand Up @@ -710,10 +710,10 @@ class DocumentTransform {
concat(otherTransform: DocumentTransform): DocumentTransform;
// (undocumented)
static identity(): DocumentTransform;
// (undocumented)
// @internal
readonly left?: DocumentTransform;
resetCache(): void;
// (undocumented)
// @internal
readonly right?: DocumentTransform;
// (undocumented)
static split(predicate: (document: DocumentNode) => boolean, left: DocumentTransform, right?: DocumentTransform): DocumentTransform & {
Expand Down Expand Up @@ -861,7 +861,7 @@ const getApolloCacheMemoryInternals: (() => {

// @internal
const getApolloClientMemoryInternals: (() => {
limits: CacheSizes;
limits: Partial<CacheSizes>;
sizes: {
global: {
print: number | undefined;
Expand Down Expand Up @@ -2299,6 +2299,7 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@apollo/client" does not have an export "NetworkStatus"
refetchWritePolicy?: RefetchWritePolicy;
returnPartialData?: boolean;
skipPollAttempt?: () => boolean;
variables?: TVariables;
}

Expand All @@ -2313,14 +2314,14 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
// src/core/LocalState.ts:46:5 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:113:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:114:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:120:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:154:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:395:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:121:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:155:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:396:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/types.ts:154:3 - (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts
// src/core/types.ts:156:3 - (ae-forgotten-export) The symbol "NetworkStatus" needs to be exported by the entry point index.d.ts
// src/core/types.ts:174:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts
// src/core/types.ts:201:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts
// src/core/watchQueryOptions.ts:253:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts
// src/core/watchQueryOptions.ts:260:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts
// src/react/hooks/useBackgroundQuery.ts:30:3 - (ae-forgotten-export) The symbol "FetchMoreFunction" needs to be exported by the entry point index.d.ts
// src/react/hooks/useBackgroundQuery.ts:31:3 - (ae-forgotten-export) The symbol "RefetchFunction" needs to be exported by the entry point index.d.ts
// src/react/hooks/useLoadableQuery.ts:50:5 - (ae-forgotten-export) The symbol "ResetFunction" needs to be exported by the entry point index.d.ts
Expand Down
37 changes: 19 additions & 18 deletions .api-reports/api-report-react_components.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,20 +463,20 @@ namespace Cache_2 {

// @public
interface CacheSizes {
"cache.fragmentQueryDocuments": number;
"documentTransform.cache": number;
"fragmentRegistry.findFragmentSpreads": number;
"fragmentRegistry.lookup": number;
"fragmentRegistry.transform": number;
"inMemoryCache.executeSelectionSet": number;
"inMemoryCache.executeSubSelectedArray": number;
"inMemoryCache.maybeBroadcastWatch": number;
"PersistedQueryLink.persistedQueryHashes": number;
"queryManager.getDocumentInfo": number;
"removeTypenameFromVariables.getVariableDefinitions": number;
canonicalStringify: number;
documentTransform: number;
executeSelectionSet: number;
executeSubSelectedArray: number;
fragmentQueryDocuments: number;
fragmentRegistryFindFragmentSpreads: number;
fragmentRegistryLookup: number;
fragmentRegistryTransform: number;
getVariableDefinitions: number;
maybeBroadcastWatch: number;
parser: number;
persistedQueryHashes: number;
print: number;
queryManagerTransforms: number;
}

// @public (undocumented)
Expand Down Expand Up @@ -624,10 +624,10 @@ class DocumentTransform {
concat(otherTransform: DocumentTransform): DocumentTransform;
// (undocumented)
static identity(): DocumentTransform;
// (undocumented)
// @internal
readonly left?: DocumentTransform;
resetCache(): void;
// (undocumented)
// @internal
readonly right?: DocumentTransform;
// (undocumented)
static split(predicate: (document: DocumentNode) => boolean, left: DocumentTransform, right?: DocumentTransform): DocumentTransform & {
Expand Down Expand Up @@ -743,7 +743,7 @@ const getApolloCacheMemoryInternals: (() => {

// @internal
const getApolloClientMemoryInternals: (() => {
limits: CacheSizes;
limits: Partial<CacheSizes>;
sizes: {
global: {
print: number | undefined;
Expand Down Expand Up @@ -1728,6 +1728,7 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@apollo/client" does not have an export "NetworkStatus"
refetchWritePolicy?: RefetchWritePolicy;
returnPartialData?: boolean;
skipPollAttempt?: () => boolean;
variables?: TVariables;
}

Expand All @@ -1742,14 +1743,14 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
// src/core/LocalState.ts:46:5 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:113:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:114:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:120:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:154:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:395:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:121:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:155:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:396:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/types.ts:154:3 - (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts
// src/core/types.ts:156:3 - (ae-forgotten-export) The symbol "NetworkStatus" needs to be exported by the entry point index.d.ts
// src/core/types.ts:174:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts
// src/core/types.ts:201:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts
// src/core/watchQueryOptions.ts:253:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts
// src/core/watchQueryOptions.ts:260:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts
// src/utilities/caching/getMemoryInternals.ts:66:44 - (ae-forgotten-export) The symbol "CacheSizes" needs to be exported by the entry point index.d.ts

// (No @packageDocumentation comment for this package)
Expand Down
37 changes: 19 additions & 18 deletions .api-reports/api-report-react_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,20 +446,20 @@ namespace Cache_2 {

// @public
interface CacheSizes {
"cache.fragmentQueryDocuments": number;
"documentTransform.cache": number;
"fragmentRegistry.findFragmentSpreads": number;
"fragmentRegistry.lookup": number;
"fragmentRegistry.transform": number;
"inMemoryCache.executeSelectionSet": number;
"inMemoryCache.executeSubSelectedArray": number;
"inMemoryCache.maybeBroadcastWatch": number;
"PersistedQueryLink.persistedQueryHashes": number;
"queryManager.getDocumentInfo": number;
"removeTypenameFromVariables.getVariableDefinitions": number;
canonicalStringify: number;
documentTransform: number;
executeSelectionSet: number;
executeSubSelectedArray: number;
fragmentQueryDocuments: number;
fragmentRegistryFindFragmentSpreads: number;
fragmentRegistryLookup: number;
fragmentRegistryTransform: number;
getVariableDefinitions: number;
maybeBroadcastWatch: number;
parser: number;
persistedQueryHashes: number;
print: number;
queryManagerTransforms: number;
}

// @public (undocumented)
Expand Down Expand Up @@ -607,10 +607,10 @@ class DocumentTransform {
concat(otherTransform: DocumentTransform): DocumentTransform;
// (undocumented)
static identity(): DocumentTransform;
// (undocumented)
// @internal
readonly left?: DocumentTransform;
resetCache(): void;
// (undocumented)
// @internal
readonly right?: DocumentTransform;
// (undocumented)
static split(predicate: (document: DocumentNode) => boolean, left: DocumentTransform, right?: DocumentTransform): DocumentTransform & {
Expand Down Expand Up @@ -726,7 +726,7 @@ const getApolloCacheMemoryInternals: (() => {

// @internal
const getApolloClientMemoryInternals: (() => {
limits: CacheSizes;
limits: Partial<CacheSizes>;
sizes: {
global: {
print: number | undefined;
Expand Down Expand Up @@ -1624,6 +1624,7 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@apollo/client" does not have an export "NetworkStatus"
refetchWritePolicy?: RefetchWritePolicy;
returnPartialData?: boolean;
skipPollAttempt?: () => boolean;
variables?: TVariables;
}

Expand All @@ -1638,14 +1639,14 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
// src/core/LocalState.ts:46:5 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:113:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:114:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:120:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:154:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:395:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:121:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:155:5 - (ae-forgotten-export) The symbol "LocalState" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:396:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/types.ts:154:3 - (ae-forgotten-export) The symbol "ApolloError" needs to be exported by the entry point index.d.ts
// src/core/types.ts:156:3 - (ae-forgotten-export) The symbol "NetworkStatus" needs to be exported by the entry point index.d.ts
// src/core/types.ts:174:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts
// src/core/types.ts:201:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts
// src/core/watchQueryOptions.ts:253:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts
// src/core/watchQueryOptions.ts:260:2 - (ae-forgotten-export) The symbol "UpdateQueryFn" needs to be exported by the entry point index.d.ts
// src/utilities/caching/getMemoryInternals.ts:66:44 - (ae-forgotten-export) The symbol "CacheSizes" needs to be exported by the entry point index.d.ts

// (No @packageDocumentation comment for this package)
Expand Down
Loading

0 comments on commit 94d1b85

Please sign in to comment.