diff --git a/.api-reports/api-report-cache.api.md b/.api-reports/api-report-cache.api.md index 8c362513806..57605b955e0 100644 --- a/.api-reports/api-report-cache.api.md +++ b/.api-reports/api-report-cache.api.md @@ -254,9 +254,14 @@ interface DataMasking { export namespace DataProxy { // (undocumented) export type DiffResult = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -324,8 +329,6 @@ export interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -661,6 +664,10 @@ export class InMemoryCache extends ApolloCache { // (undocumented) readonly policies: Policies; // (undocumented) + read(options: Cache_2.ReadOptions & { + returnPartialData: true; + }): T | DeepPartial | null; + // (undocumented) read(options: Cache_2.ReadOptions): T | null; // (undocumented) release(rootId: string, optimistic?: boolean): number; @@ -1182,7 +1189,8 @@ interface WriteContext extends ReadMergeModifyContext { // Warnings were encountered during analysis: // -// src/cache/core/cache.ts:92:7 - (ae-forgotten-export) The symbol "MaybeMasked" needs to be exported by the entry point index.d.ts +// src/cache/core/cache.ts:91:7 - (ae-forgotten-export) The symbol "MaybeMasked" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:152:9 - (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:93:3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report-core.api.md b/.api-reports/api-report-core.api.md index cf7e1713adc..8ab1fa8394e 100644 --- a/.api-reports/api-report-core.api.md +++ b/.api-reports/api-report-core.api.md @@ -506,9 +506,14 @@ export interface DataMasking { export namespace DataProxy { // (undocumented) export type DiffResult = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -576,8 +581,6 @@ export interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -1187,6 +1190,10 @@ export class InMemoryCache extends ApolloCache { // (undocumented) readonly policies: Policies; // (undocumented) + read(options: Cache_2.ReadOptions & { + returnPartialData: true; + }): T | DeepPartial | null; + // (undocumented) read(options: Cache_2.ReadOptions): T | null; // (undocumented) release(rootId: string, optimistic?: boolean): number; @@ -2506,6 +2513,7 @@ interface WriteContext extends ReadMergeModifyContext { // Warnings were encountered during analysis: // +// src/cache/core/types/DataProxy.ts:152:9 - (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:93:3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report-masking.api.md b/.api-reports/api-report-masking.api.md index 37019fcb7bc..79a640c30c4 100644 --- a/.api-reports/api-report-masking.api.md +++ b/.api-reports/api-report-masking.api.md @@ -235,9 +235,14 @@ export interface DataMasking { namespace DataProxy { // (undocumented) type DiffResult = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -317,8 +322,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -648,7 +651,8 @@ type WatchFragmentResult = { // Warnings were encountered during analysis: // -// src/cache/core/types/DataProxy.ts:147:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:152:9 - (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:154:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:101:3 - (ae-forgotten-export) The symbol "ReadFieldFunction" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:102:3 - (ae-forgotten-export) The symbol "CanReadFunction" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:103:3 - (ae-forgotten-export) The symbol "isReference" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report-react.api.md b/.api-reports/api-report-react.api.md index 1a8f9f8ca5c..19eb9f69530 100644 --- a/.api-reports/api-report-react.api.md +++ b/.api-reports/api-report-react.api.md @@ -599,9 +599,14 @@ interface DataMasking { namespace DataProxy { // (undocumented) type DiffResult = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -681,8 +686,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -2514,7 +2517,8 @@ interface WatchQueryOptions = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -614,8 +619,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -1916,7 +1919,8 @@ interface WatchQueryOptions = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -643,8 +648,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -2338,7 +2341,8 @@ interface WatchQueryOptions = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -627,8 +632,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -2401,7 +2404,8 @@ export function wrapQueryRef(inter // Warnings were encountered during analysis: // -// src/cache/core/types/DataProxy.ts:147:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:152:9 - (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:154:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:101:3 - (ae-forgotten-export) The symbol "ReadFieldFunction" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:102:3 - (ae-forgotten-export) The symbol "CanReadFunction" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:103:3 - (ae-forgotten-export) The symbol "isReference" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report-react_ssr.api.md b/.api-reports/api-report-react_ssr.api.md index 4c786192520..7eb06b560df 100644 --- a/.api-reports/api-report-react_ssr.api.md +++ b/.api-reports/api-report-react_ssr.api.md @@ -501,9 +501,14 @@ interface DataMasking { namespace DataProxy { // (undocumented) type DiffResult = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -583,8 +588,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -1901,7 +1904,8 @@ interface WatchQueryOptions = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -583,8 +588,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -1916,7 +1919,8 @@ export function withWarningSpy(it: (...args: TArgs // Warnings were encountered during analysis: // -// src/cache/core/types/DataProxy.ts:147:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:152:9 - (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:154:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:101:3 - (ae-forgotten-export) The symbol "ReadFieldFunction" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:102:3 - (ae-forgotten-export) The symbol "CanReadFunction" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:103:3 - (ae-forgotten-export) The symbol "isReference" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report-testing_core.api.md b/.api-reports/api-report-testing_core.api.md index 5c4c3372d07..16a023b0d18 100644 --- a/.api-reports/api-report-testing_core.api.md +++ b/.api-reports/api-report-testing_core.api.md @@ -501,9 +501,14 @@ interface DataMasking { namespace DataProxy { // (undocumented) type DiffResult = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -583,8 +588,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -1916,7 +1919,8 @@ export function withWarningSpy(it: (...args: TArgs // Warnings were encountered during analysis: // -// src/cache/core/types/DataProxy.ts:147:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:152:9 - (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:154:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:101:3 - (ae-forgotten-export) The symbol "ReadFieldFunction" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:102:3 - (ae-forgotten-export) The symbol "CanReadFunction" needs to be exported by the entry point index.d.ts // src/cache/core/types/common.ts:103:3 - (ae-forgotten-export) The symbol "isReference" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report-testing_react.api.md b/.api-reports/api-report-testing_react.api.md index 36697ad119c..b6152f4d77d 100644 --- a/.api-reports/api-report-testing_react.api.md +++ b/.api-reports/api-report-testing_react.api.md @@ -496,9 +496,14 @@ interface DataMasking { namespace DataProxy { // (undocumented) type DiffResult = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -578,8 +583,6 @@ interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -1864,7 +1867,8 @@ interface WatchQueryOptions = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -1404,6 +1409,10 @@ class InMemoryCache extends ApolloCache { // (undocumented) readonly policies: Policies; // (undocumented) + read(options: Cache_2.ReadOptions & { + returnPartialData: true; + }): T | DeepPartial | null; + // (undocumented) read(options: Cache_2.ReadOptions): T | null; // (undocumented) release(rootId: string, optimistic?: boolean): number; @@ -2869,7 +2878,7 @@ interface WriteContext extends ReadMergeModifyContext { // Warnings were encountered during analysis: // -// src/cache/core/types/DataProxy.ts:147:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts +// src/cache/core/types/DataProxy.ts:154:7 - (ae-forgotten-export) The symbol "MissingFieldError" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:58:3 - (ae-forgotten-export) The symbol "TypePolicy" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts diff --git a/.api-reports/api-report.api.md b/.api-reports/api-report.api.md index cf7e1713adc..8ab1fa8394e 100644 --- a/.api-reports/api-report.api.md +++ b/.api-reports/api-report.api.md @@ -506,9 +506,14 @@ export interface DataMasking { export namespace DataProxy { // (undocumented) export type DiffResult = { - result?: T; - complete?: boolean; - missing?: MissingFieldError[]; + result: T; + complete: true; + missing?: never; + fromOptimisticTransaction?: boolean; + } | { + result: DeepPartial | null; + complete: false; + missing?: MissingFieldError; fromOptimisticTransaction?: boolean; }; // (undocumented) @@ -576,8 +581,6 @@ export interface DataProxy { // @public (undocumented) type DeepPartial = T extends DeepPartialPrimitive ? T : T extends Map ? DeepPartialMap : T extends ReadonlyMap ? DeepPartialReadonlyMap : T extends Set ? DeepPartialSet : T extends ReadonlySet ? DeepPartialReadonlySet : T extends (...args: any[]) => unknown ? T | undefined : T extends object ? T extends (ReadonlyArray) ? TItem[] extends (T) ? readonly TItem[] extends T ? ReadonlyArray> : Array> : DeepPartialObject : DeepPartialObject : unknown; -// Warning: (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type DeepPartialMap = {} & Map, DeepPartial>; @@ -1187,6 +1190,10 @@ export class InMemoryCache extends ApolloCache { // (undocumented) readonly policies: Policies; // (undocumented) + read(options: Cache_2.ReadOptions & { + returnPartialData: true; + }): T | DeepPartial | null; + // (undocumented) read(options: Cache_2.ReadOptions): T | null; // (undocumented) release(rootId: string, optimistic?: boolean): number; @@ -2506,6 +2513,7 @@ interface WriteContext extends ReadMergeModifyContext { // Warnings were encountered during analysis: // +// src/cache/core/types/DataProxy.ts:152:9 - (ae-forgotten-export) The symbol "DeepPartial" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:93:3 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts // src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts diff --git a/.size-limits.json b/.size-limits.json index e5f66a45631..d7df83b72ab 100644 --- a/.size-limits.json +++ b/.size-limits.json @@ -1,4 +1,4 @@ { - "dist/apollo-client.min.cjs": 34273, - "import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 34391 + "dist/apollo-client.min.cjs": 34265, + "import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 34372 }