tsdf 18.4.0 → 18.5.0
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.
- package/dist/async-storage.d.ts +1 -1
- package/dist/async-storage.js +1 -1
- package/dist/{asyncStorageAdapter-Ca9ntO1N.d.ts → asyncStorageAdapter-C7J64ZKi.d.ts} +1 -1
- package/dist/{asyncStorageAdapter-NrI38v4g.js → asyncStorageAdapter-D6IVBzPg.js} +1 -1
- package/dist/{asyncStorageAdapters-BFn-BuAl.js → asyncStorageAdapters-CBMshtkY.js} +2 -2
- package/dist/indexed-db-storage.d.ts +1 -1
- package/dist/indexed-db-storage.js +1 -1
- package/dist/{indexedDbPersistentStorage-DljRDcOr.js → indexedDbPersistentStorage-x6dVEqkJ.js} +1 -1
- package/dist/main.d.ts +35 -12
- package/dist/main.js +1047 -285
- package/dist/opfs-storage.d.ts +1 -1
- package/dist/opfs-storage.js +1 -1
- package/dist/{opfsPersistentStorage-BeUPOyk4.d.ts → opfsPersistentStorage-CEhiNR8Q.d.ts} +1 -1
- package/dist/{opfsPersistentStorage-amwSWm_p.js → opfsPersistentStorage-CwmY3O1r.js} +1 -1
- package/dist/{types-DUtkSBT8.d.ts → types-Bp7_Ra7_.d.ts} +472 -32
- package/docs/hooks.md +45 -7
- package/docs/list-query-store.md +1 -0
- package/docs/offline.md +326 -4
- package/docs/partial-resources.md +2 -0
- package/docs/persistent-storage.md +15 -0
- package/docs/store-manager.md +16 -1
- package/package.json +1 -1
package/dist/async-storage.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createAsyncStorageAdapter } from "./asyncStorageAdapter-
|
|
1
|
+
import { t as createAsyncStorageAdapter } from "./asyncStorageAdapter-C7J64ZKi.js";
|
|
2
2
|
export { createAsyncStorageAdapter };
|
package/dist/async-storage.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as createAsyncStorageAdapter } from "./asyncStorageAdapter-
|
|
1
|
+
import { i as createAsyncStorageAdapter } from "./asyncStorageAdapter-D6IVBzPg.js";
|
|
2
2
|
export { createAsyncStorageAdapter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as AsyncStorageDriver, t as AsyncStorageAdapter } from "./types-
|
|
1
|
+
import { r as AsyncStorageDriver, t as AsyncStorageAdapter } from "./types-Bp7_Ra7_.js";
|
|
2
2
|
|
|
3
3
|
//#region src/persistentStorage/asyncStorageAdapter.d.ts
|
|
4
4
|
declare function createAsyncStorageAdapter(driver: AsyncStorageDriver): AsyncStorageAdapter;
|
|
@@ -1980,7 +1980,7 @@ var ManagedAsyncStorageAdapter = class {
|
|
|
1980
1980
|
knownRecordKeys,
|
|
1981
1981
|
now,
|
|
1982
1982
|
protectedRefs: protectedRefsBySession.get(scope.sessionKey) ?? void 0,
|
|
1983
|
-
skipExpiration: offlineSessions.has(scope.sessionKey),
|
|
1983
|
+
skipExpiration: offlineSessions.has(scope.sessionKey) || scope.kind === "offline.queue" || scope.kind === "offline.conflict",
|
|
1984
1984
|
scope
|
|
1985
1985
|
})))]);
|
|
1986
1986
|
const scopePlansByNamespaceId = new Map(genericScopePlans.map((plan) => [getNamespaceId(plan.scope), plan]));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as opfsPersistentStorage } from "./opfsPersistentStorage-
|
|
2
|
-
import { n as indexedDbPersistentStorage } from "./indexedDbPersistentStorage-
|
|
1
|
+
import { t as opfsPersistentStorage } from "./opfsPersistentStorage-CwmY3O1r.js";
|
|
2
|
+
import { n as indexedDbPersistentStorage } from "./indexedDbPersistentStorage-x6dVEqkJ.js";
|
|
3
3
|
export { indexedDbPersistentStorage, opfsPersistentStorage };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AsyncStorageAdapter } from "./types-
|
|
1
|
+
import { t as AsyncStorageAdapter } from "./types-Bp7_Ra7_.js";
|
|
2
2
|
//#region src/persistentStorage/indexedDbAsyncStorageAdapter.d.ts
|
|
3
3
|
/** Options for creating the IndexedDB persistent storage adapter. */
|
|
4
4
|
type IndexedDbPersistentStorageOptions = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as indexedDbPersistentStorage, t as createIndexedDbPersistentStorage } from "./indexedDbPersistentStorage-
|
|
1
|
+
import { n as indexedDbPersistentStorage, t as createIndexedDbPersistentStorage } from "./indexedDbPersistentStorage-x6dVEqkJ.js";
|
|
2
2
|
export { createIndexedDbPersistentStorage, indexedDbPersistentStorage };
|
package/dist/{indexedDbPersistentStorage-DljRDcOr.js → indexedDbPersistentStorage-x6dVEqkJ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as matchesConditionalRemove, J as compareMetadata, Q as getPersistedNamespaceId, X as getNamespaceId, Y as encodePersistedAsyncNamespaceKind, Z as getPayloadRecordKey, a as estimateManagedAsyncStorageEntrySizeBytes, b as emitTSDFDebugLog, et as normalizeStaticPolicy, i as createAsyncStorageAdapter, j as serializeJsonForStorage, nt as parsePersistedAsyncNamespaceKind, rt as serializeProtectedRef, tt as parseAsyncStorageRecordKey, x as getTSDFDebugTimingMs } from "./asyncStorageAdapter-
|
|
1
|
+
import { $ as matchesConditionalRemove, J as compareMetadata, Q as getPersistedNamespaceId, X as getNamespaceId, Y as encodePersistedAsyncNamespaceKind, Z as getPayloadRecordKey, a as estimateManagedAsyncStorageEntrySizeBytes, b as emitTSDFDebugLog, et as normalizeStaticPolicy, i as createAsyncStorageAdapter, j as serializeJsonForStorage, nt as parsePersistedAsyncNamespaceKind, rt as serializeProtectedRef, tt as parseAsyncStorageRecordKey, x as getTSDFDebugTimingMs } from "./asyncStorageAdapter-D6IVBzPg.js";
|
|
2
2
|
import { __LEGIT_CAST__ } from "@ls-stack/utils/saferTyping";
|
|
3
3
|
import { isObject } from "@ls-stack/utils/typeGuards";
|
|
4
4
|
import { asPossiblyUndefined } from "@ls-stack/utils/typingFnUtils";
|
package/dist/main.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as OfflineMutationQueueingConfig, $t as ListQueryUseMultipleItemsQuery, A as DefineDocumentOfflineOperations, An as ScheduleFetchOptions, At as OfflineMutationUploadsInput, B as OfflineAccumulationMergeContext, Bt as OfflineUploadState, C as PersistentStoragePreloadResult, Cn as ValidPayload, Ct as OfflineTempEntityConfig, D as CollectionOfflineEntityRef, Dn as FetchType, Dt as ParsedOfflineResolutionConflictResultForOperation, E as AnyOfflineOperationDefinition, En as mutationSkipped, Et as OperationResult, F as GlobalOfflineStatus, Fn as TSDFDebugLogger, Ft as OfflineUploadAdapter, G as OfflineFailureContext, Gt as DerivedQueryContext, H as OfflineEntityMutationKind, Ht as ReplaceOfflineUploadArgs, I as ItemOfflineState, In as TSDFFocusDebugOperation, It as OfflineUploadFile, J as OfflineHealthCheckContext, Jt as FetchListFnReturnItem, K as OfflineFailurePhase, Kt as DerivedQuerySource, L as ListQueryOfflineEntityRef, Ln as TSDFLoggerOptions, Lt as OfflineUploadProgress, M as DefineOfflineOperation, Mn as TSDFDebugLogArea, Mt as OfflineSessionUploadsConfig, N as DocumentOfflineOperationDefinition, Nn as TSDFDebugLogEntry, Nt as OfflineStoredUploadRecord, O as CollectionOfflineOperationDefinition, On as RequestSchedulerEventData, Ot as ParsedOfflineResolutionConflictResultForStore, P as GlobalOfflineEntity, Pn as TSDFDebugLogLevel, Pt as OfflineUpload, Q as OfflineMutationQueueingCause, Qt as ListQueryAddItemToQueries, R as ListQueryOfflineOperationDefinition, Rt as OfflineUploadRefSchema, S as PersistentStorageErrorHandler, Sn as UnwrapTSDFResult, St as OfflineTempEntitiesReconciliation, T as StorageAdapter, Tn as fetchTypePriority, Tt as OperationConflict, U as OfflineExternalEntityRef, Ut as SaveOfflineUploadArgs, V as OfflineConflictResolutionAction, Vt as OfflineUploadTransportContext, W as OfflineFailureClassification, Wt as DerivedQueriesConfig, X as OfflineMutationDescriptor, Xt as FieldsOption, Y as OfflineHealthCheckResult, Yt as FieldsInput, Z as OfflineMutationInput, Zt as ItemLoadedFields, _ as DocumentPersistentStorageConfig, _n as StoreError, _t as OfflineSession, a as AsyncStorageMetadataOrder, an as PartialResourcesConfig, at as OfflineResolutionActionError, b as PersistentStorageBaseConfig, bn as StoreMutationErrorOptions, bt as OfflineSyncState, c as AsyncStorageNamespaceCommitUpsert, cn as TSDFItemQuery, ct as OfflineResolutionConflictParseError, d as AsyncStorageNamespaceKind, dn as TSFDUseListItemReturn, dt as OfflineResolutionRecord, en as ListQueryUseMultipleListQueriesQuery, et as OfflineMutationQueueingPolicy, f as AsyncStorageNamespaceScope, fn as TSFDUseListQueryReturn, ft as OfflineResolutionRecordForOperation, g as ConvertedPersistentStorageDataSchema, gn as PayloadDebounce, gt as OfflineRuntimeConfigUpdate, h as CollectionPersistentStorageConfig, hn as MutationSkipped, ht as OfflineRuntimeConfig, i as AsyncStorageDriverSetEntry, in as OptimisticListUpdate, it as OfflineResolutionAction, j as DefineListQueryOfflineOperations, jn as ScheduleFetchResults, jt as OfflineOperationUploadsContext, k as DefineCollectionOfflineOperations, kn as RequestSchedulerEvents, kt as defaultOfflineRuntimeConfig, l as AsyncStorageNamespaceGetResult, ln as TSFDListQuery, lt as OfflineResolutionConflictParseErrorCode, m as CollectionOfflineOperationsConfig, mn as MaybeTSDFResult, mt as OfflineRetryExhaustedResolutionAction, n as AsyncStorageDiscoveredScope, nn as OnListQueryInvalidate, nt as OfflineQueueEntry, o as AsyncStorageNamespaceCommitArgs, on as QueryFetchPayload, ot as OfflineResolutionActionErrorCode, p as AsyncStorageReadOptions, pn as TSFDUsePendingOfflineItemsReturn, pt as OfflineResolutionRecordForStore, q as OfflineHealthCheckConfig, qt as FetchListFnReturn, r as AsyncStorageDriver, rn as OnListQueryItemInvalidate, rt as OfflineReplayRetryConfig, s as AsyncStorageNamespaceCommitTouch, sn as QueryStatus, st as OfflineResolutionActionForOperation, t as AsyncStorageAdapter, tn as OffsetPaginationConfig, tt as OfflineOperationKind, u as AsyncStorageNamespaceHandle, un as TSFDListQueryState, ut as OfflineResolutionGenericAction, v as ListQueryOfflineOperationsConfig, vn as StoreFetchError, vt as OfflineSessionConfig, w as PersistentStorageSchema, wn as ValidStoreState, wt as OfflineTempEntityPendingEntry, x as PersistentStorageDataSchema, xn as TSDFStatus, xt as OfflineTempEntitiesConfig, y as ListQueryPersistentStorageConfig, yn as StoreMutationError, yt as OfflineSupersedeConfig, z as OfflineAccumulationConfig, zt as OfflineUploadSource } from "./types-Bp7_Ra7_.js";
|
|
2
2
|
import { __LEGIT_ANY__ } from "@ls-stack/utils/saferTyping";
|
|
3
3
|
import { Emitter } from "evtmitter";
|
|
4
4
|
import { Context } from "react";
|
|
@@ -134,6 +134,18 @@ type StoreManagerOfflineApi<TUploadRef extends ValidPayload = ValidPayload> = {
|
|
|
134
134
|
useOfflineEntities: () => readonly GlobalOfflineEntity[]; /** React hook subscribing to the manager's aggregated offline resolutions. */
|
|
135
135
|
useOfflineResolutions: () => readonly OfflineResolutionRecord[]; /** React hook subscribing to the manager's aggregated offline uploads. */
|
|
136
136
|
useOfflineUploads: () => readonly OfflineUpload<TUploadRef>[];
|
|
137
|
+
/**
|
|
138
|
+
* React hook that reads the file of a staged upload while it is staged, to
|
|
139
|
+
* render local files (e.g. thumbnails of optimistic entities) by upload id.
|
|
140
|
+
*
|
|
141
|
+
* The returned `url` is an object URL managed by TSDF: components using the
|
|
142
|
+
* same id share one read and one URL, and the URL is revoked shortly after
|
|
143
|
+
* the last of them stops using it or as soon as the upload is replaced,
|
|
144
|
+
* deleted or leaves the session. Pass a falsy id to disable the hook (status
|
|
145
|
+
* `idle`), e.g. once the entity holds the uploaded server ref instead of the
|
|
146
|
+
* staged upload id.
|
|
147
|
+
*/
|
|
148
|
+
useOfflineUploadFile: (id: string | false | null | undefined) => OfflineUploadFile;
|
|
137
149
|
};
|
|
138
150
|
/** Shared coordinator passed to every TSDF store instance in an app/session. */
|
|
139
151
|
type StoreManager<TUploadRef extends ValidPayload = ValidPayload> = {
|
|
@@ -155,6 +167,26 @@ type StoreManager<TUploadRef extends ValidPayload = ValidPayload> = {
|
|
|
155
167
|
*/
|
|
156
168
|
onTransportReconnect: () => void;
|
|
157
169
|
} & StoreManagerOfflineApi<TUploadRef>;
|
|
170
|
+
/**
|
|
171
|
+
* Upload ref type of a store manager, as inferred from the `upload` transport
|
|
172
|
+
* in its `offlineSession.uploads` config.
|
|
173
|
+
*
|
|
174
|
+
* Pass it as the last type argument of `DefineDocumentOfflineOperations`,
|
|
175
|
+
* `DefineCollectionOfflineOperations` or `DefineListQueryOfflineOperations` so
|
|
176
|
+
* `execute` reads typed refs from `ctx.uploads.resolvedRefsById`.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* ```ts
|
|
180
|
+
* type UploadRef = StoreManagerUploadRef<typeof storeManager>;
|
|
181
|
+
*
|
|
182
|
+
* type Operations = DefineDocumentOfflineOperations<
|
|
183
|
+
* UserDoc,
|
|
184
|
+
* { setAvatar: DefineOfflineOperation<{ avatarUploadId: string }> },
|
|
185
|
+
* UploadRef
|
|
186
|
+
* >;
|
|
187
|
+
* ```
|
|
188
|
+
*/
|
|
189
|
+
type StoreManagerUploadRef<TStoreManager extends StoreManager> = TStoreManager extends StoreManager<infer TUploadRef> ? TUploadRef : never;
|
|
158
190
|
/** Options used to create a shared TSDF store manager. */
|
|
159
191
|
type CreateStoreManagerOptions<TUploadRef extends ValidPayload = ValidPayload> = {
|
|
160
192
|
/**
|
|
@@ -314,12 +346,6 @@ type CollectionStateCleanup<ItemPayload extends ValidPayload> = {
|
|
|
314
346
|
itemKeys: string[]; /** Original item payloads removed from the collection state. */
|
|
315
347
|
payloads: ItemPayload[];
|
|
316
348
|
};
|
|
317
|
-
type InternalCollectionOfflineOperations<ItemState extends ValidStoreState, ItemPayload extends ValidPayload> = Record<string, AnyOfflineOperationDefinition & {
|
|
318
|
-
getEntityRefs: (ctx: {
|
|
319
|
-
input: __LEGIT_ANY__;
|
|
320
|
-
}) => CollectionOfflineEntityRef<ItemPayload>[];
|
|
321
|
-
}> & ([ItemState | ItemPayload] extends [never] ? never : unknown);
|
|
322
|
-
type CollectionOfflineOperationsConfig<ItemState extends ValidStoreState, ItemPayload extends ValidPayload> = InternalCollectionOfflineOperations<ItemState, ItemPayload> | null;
|
|
323
349
|
/** Options used to create a collection store. */
|
|
324
350
|
type CollectionStoreOptions<ItemState extends ValidStoreState, ItemPayload extends ValidPayload, TOfflineOperations extends CollectionOfflineOperationsConfig<ItemState, ItemPayload> = null, StorageState = unknown> = {
|
|
325
351
|
/**
|
|
@@ -1064,10 +1090,7 @@ type ListQueryUpdateItemStateApi<ItemState extends ValidStoreState, ItemPayload
|
|
|
1064
1090
|
ifNothingWasUpdated?: () => void;
|
|
1065
1091
|
}) => boolean;
|
|
1066
1092
|
type ListQueryAddItemToStateApi<ItemState extends ValidStoreState, QueryPayload extends ValidPayload, ItemPayload extends ValidPayload> = (itemPayload: ItemPayload, data: ItemState, options?: {
|
|
1067
|
-
addItemToQueries?:
|
|
1068
|
-
queries: QueryPayload[] | ListQueryFilterQuery<QueryPayload> | QueryPayload;
|
|
1069
|
-
appendTo: 'start' | 'end' | ((itemsPayload: ItemPayload[]) => number);
|
|
1070
|
-
};
|
|
1093
|
+
/** Queries that receive the item, and where it is inserted in them. */addItemToQueries?: ListQueryAddItemToQueries<QueryPayload, ItemPayload>;
|
|
1071
1094
|
}) => void;
|
|
1072
1095
|
type ListQueryDeleteItemStateApi<ItemState extends ValidStoreState, ItemPayload extends ValidPayload> = (itemId: ItemPayload | ItemPayload[] | ListQueryFilterItem<ItemState, ItemPayload>) => void;
|
|
1073
1096
|
type ListQueryInvalidateQueryAndItemsArgs<ItemState extends ValidStoreState, QueryPayload extends ValidPayload, ItemPayload extends ValidPayload> = {
|
|
@@ -1479,4 +1502,4 @@ declare function clearAllSessionStorage(sessionKey: string): Promise<void>;
|
|
|
1479
1502
|
//#region src/persistentStorage/opfsOfflineUploadAdapter.d.ts
|
|
1480
1503
|
declare const opfsOfflineUploadAdapter: OfflineUploadAdapter;
|
|
1481
1504
|
//#endregion
|
|
1482
|
-
export { type AsyncStorageAdapter, type AsyncStorageDiscoveredScope, type AsyncStorageDriver, type AsyncStorageDriverSetEntry, type AsyncStorageMetadataOrder, type AsyncStorageNamespaceCommitArgs, type AsyncStorageNamespaceCommitTouch, type AsyncStorageNamespaceCommitUpsert, type AsyncStorageNamespaceGetResult, type AsyncStorageNamespaceHandle, type AsyncStorageNamespaceKind, type AsyncStorageNamespaceScope, type AsyncStorageReadOptions, type BlockWindowCloseHandler, type CollectionOfflineEntityRef, type CollectionOfflineOperationDefinition, type CollectionPersistentStorageConfig, CollectionStateCleanup, CollectionStore, CollectionStoreEvents, CollectionStoreOptions, CollectionStoreStoreEvents, CollectionUseMultipleItemsQuery, type ConvertedPersistentStorageDataSchema, type CreateStoreManagerOptions, type DefineCollectionOfflineOperations, type DefineDocumentOfflineOperations, type DefineListQueryOfflineOperations, type DefineOfflineOperation, type DerivedQueriesConfig, type DerivedQueryContext, type DerivedQuerySource, type DocumentOfflineOperationDefinition, type DocumentPersistentStorageConfig, DocumentStatus, DocumentStore, DocumentStoreOptions, DocumentStoreState, DocumentStoreStoreEvents, type DynamicRealtimeThrottleMs, type FetchListFnReturn, type FetchListFnReturnItem, type FieldsInput, type FieldsOption, GET_ALL, type GlobalOfflineEntity, type GlobalOfflineStatus, IsOffScreenContext, type ItemOfflineState, type ListQueryOfflineEntityRef, type ListQueryOfflineOperationDefinition, type ListQueryPersistentStorageConfig, type ListQueryStore, type ListQueryStoreEvents, type ListQueryStoreOptions, type ListQueryUseMultipleItemsQuery, type ListQueryUseMultipleListQueriesQuery, type MaybeTSDFResult, type MutationDebounce, type MutationSkipped, type OfflineAccumulationConfig, type OfflineAccumulationMergeContext, type OfflineConflictResolutionAction, type OfflineEntityMutationKind, type OfflineFailureClassification, type OfflineFailureContext, type OfflineFailurePhase, type OfflineMutationDescriptor, type OfflineMutationInput, type OfflineMutationQueueingCause, type OfflineMutationQueueingConfig, type OfflineMutationQueueingPolicy, type OfflineMutationResult, type OfflineMutationUploadsInput, type OfflineOperationKind, type OfflineOperationUploadsContext, type OfflineQueueEntry, type OfflineReplayRetryConfig, type OfflineResolutionAction, type OfflineResolutionActionError, type OfflineResolutionActionErrorCode, type OfflineResolutionActionForOperation, type OfflineResolutionConflictParseError, type OfflineResolutionConflictParseErrorCode, type OfflineResolutionGenericAction, type OfflineResolutionRecord, type OfflineResolutionRecordForOperation, type OfflineResolutionRecordForStore, type OfflineRetryExhaustedResolutionAction, type OfflineRuntimeConfig, type OfflineRuntimeConfigUpdate, type OfflineSession, type OfflineSessionConfig, type OfflineSessionUploadsConfig, type OfflineStoreError, type OfflineStoredUploadRecord, type OfflineSupersedeConfig, type OfflineSyncState, type OfflineTempEntitiesConfig, type OfflineTempEntitiesReconciliation, type OfflineTempEntityConfig, type OfflineTempEntityPendingEntry, type OfflineUpload, type OfflineUploadAdapter, type OfflineUploadProgress, type OfflineUploadSource, type OfflineUploadState, type OfflineUploadTransportContext, type OffsetPaginationConfig, OnCollectionItemInvalidate, OnDocumentInvalidate, type OnListQueryInvalidate, type OnListQueryItemInvalidate, type OperationConflict, type OperationResult, type OptimisticListUpdate, type ParsedOfflineResolutionConflictResultForOperation, type PartialResourcesConfig, type PayloadDebounce, type PersistentStorageBaseConfig, type PersistentStorageDataSchema, type PersistentStoragePreloadResult, type PersistentStorageSchema, type QueryFetchPayload, type QueryStatus, type RemovedStore, type ReplaceOfflineUploadArgs, type SaveOfflineUploadArgs, type StorageAdapter, type StoreError, StoreFetchError, type StoreManager, StoreMutationError, type StoreMutationErrorOptions, type TSDFDebugLogArea, type TSDFDebugLogEntry, type TSDFDebugLogLevel, type TSDFDebugLogger, type TSDFFocusDebugOperation, type TSDFItemQuery, type TSDFLoggerOptions, type TSDFStatus, TSDFUseDocumentReturn, TSFDCollectionItem, TSFDCollectionState, type TSFDListQuery, type TSFDListQueryState, TSFDUseCollectionItemReturn, type TSFDUseListItemReturn, type TSFDUseListQueryReturn, type TSFDUsePendingOfflineItemsReturn, type ValidPayload, type ValidStoreState, clearAllSessionStorage, clearSessionStorage, createCollectionStore, createDocumentStore, createListQueryStore, createStoreManager, defaultOfflineRuntimeConfig, fetchTypePriority, getGlobalOfflineEntities, getGlobalOfflineResolutions, getGlobalOfflineStatus, isOfflineStoreError, localPersistentStorage, mutationSkipped, opfsOfflineUploadAdapter, useGlobalOfflineEntities, useGlobalOfflineResolutions, useGlobalOfflineStatus };
|
|
1505
|
+
export { type AsyncStorageAdapter, type AsyncStorageDiscoveredScope, type AsyncStorageDriver, type AsyncStorageDriverSetEntry, type AsyncStorageMetadataOrder, type AsyncStorageNamespaceCommitArgs, type AsyncStorageNamespaceCommitTouch, type AsyncStorageNamespaceCommitUpsert, type AsyncStorageNamespaceGetResult, type AsyncStorageNamespaceHandle, type AsyncStorageNamespaceKind, type AsyncStorageNamespaceScope, type AsyncStorageReadOptions, type BlockWindowCloseHandler, type CollectionOfflineEntityRef, type CollectionOfflineOperationDefinition, type CollectionPersistentStorageConfig, CollectionStateCleanup, CollectionStore, CollectionStoreEvents, CollectionStoreOptions, CollectionStoreStoreEvents, CollectionUseMultipleItemsQuery, type ConvertedPersistentStorageDataSchema, type CreateStoreManagerOptions, type DefineCollectionOfflineOperations, type DefineDocumentOfflineOperations, type DefineListQueryOfflineOperations, type DefineOfflineOperation, type DerivedQueriesConfig, type DerivedQueryContext, type DerivedQuerySource, type DocumentOfflineOperationDefinition, type DocumentPersistentStorageConfig, DocumentStatus, DocumentStore, DocumentStoreOptions, DocumentStoreState, DocumentStoreStoreEvents, type DynamicRealtimeThrottleMs, type FetchListFnReturn, type FetchListFnReturnItem, type FieldsInput, type FieldsOption, GET_ALL, type GlobalOfflineEntity, type GlobalOfflineStatus, IsOffScreenContext, type ItemLoadedFields, type ItemOfflineState, type ListQueryAddItemToQueries, type ListQueryOfflineEntityRef, type ListQueryOfflineOperationDefinition, type ListQueryPersistentStorageConfig, type ListQueryStore, type ListQueryStoreEvents, type ListQueryStoreOptions, type ListQueryUseMultipleItemsQuery, type ListQueryUseMultipleListQueriesQuery, type MaybeTSDFResult, type MutationDebounce, type MutationSkipped, type OfflineAccumulationConfig, type OfflineAccumulationMergeContext, type OfflineConflictResolutionAction, type OfflineEntityMutationKind, type OfflineExternalEntityRef, type OfflineFailureClassification, type OfflineFailureContext, type OfflineFailurePhase, type OfflineHealthCheckConfig, type OfflineHealthCheckContext, type OfflineHealthCheckResult, type OfflineMutationDescriptor, type OfflineMutationInput, type OfflineMutationQueueingCause, type OfflineMutationQueueingConfig, type OfflineMutationQueueingPolicy, type OfflineMutationResult, type OfflineMutationUploadsInput, type OfflineOperationKind, type OfflineOperationUploadsContext, type OfflineQueueEntry, type OfflineReplayRetryConfig, type OfflineResolutionAction, type OfflineResolutionActionError, type OfflineResolutionActionErrorCode, type OfflineResolutionActionForOperation, type OfflineResolutionConflictParseError, type OfflineResolutionConflictParseErrorCode, type OfflineResolutionGenericAction, type OfflineResolutionRecord, type OfflineResolutionRecordForOperation, type OfflineResolutionRecordForStore, type OfflineRetryExhaustedResolutionAction, type OfflineRuntimeConfig, type OfflineRuntimeConfigUpdate, type OfflineSession, type OfflineSessionConfig, type OfflineSessionUploadsConfig, type OfflineStoreError, type OfflineStoredUploadRecord, type OfflineSupersedeConfig, type OfflineSyncState, type OfflineTempEntitiesConfig, type OfflineTempEntitiesReconciliation, type OfflineTempEntityConfig, type OfflineTempEntityPendingEntry, type OfflineUpload, type OfflineUploadAdapter, type OfflineUploadFile, type OfflineUploadProgress, type OfflineUploadRefSchema, type OfflineUploadSource, type OfflineUploadState, type OfflineUploadTransportContext, type OffsetPaginationConfig, OnCollectionItemInvalidate, OnDocumentInvalidate, type OnListQueryInvalidate, type OnListQueryItemInvalidate, type OperationConflict, type OperationResult, type OptimisticListUpdate, type ParsedOfflineResolutionConflictResultForOperation, type PartialResourcesConfig, type PayloadDebounce, type PersistentStorageBaseConfig, type PersistentStorageDataSchema, type PersistentStoragePreloadResult, type PersistentStorageSchema, type QueryFetchPayload, type QueryStatus, type RemovedStore, type ReplaceOfflineUploadArgs, type SaveOfflineUploadArgs, type StorageAdapter, type StoreError, StoreFetchError, type StoreManager, type StoreManagerUploadRef, StoreMutationError, type StoreMutationErrorOptions, type TSDFDebugLogArea, type TSDFDebugLogEntry, type TSDFDebugLogLevel, type TSDFDebugLogger, type TSDFFocusDebugOperation, type TSDFItemQuery, type TSDFLoggerOptions, type TSDFStatus, TSDFUseDocumentReturn, TSFDCollectionItem, TSFDCollectionState, type TSFDListQuery, type TSFDListQueryState, TSFDUseCollectionItemReturn, type TSFDUseListItemReturn, type TSFDUseListQueryReturn, type TSFDUsePendingOfflineItemsReturn, type ValidPayload, type ValidStoreState, clearAllSessionStorage, clearSessionStorage, createCollectionStore, createDocumentStore, createListQueryStore, createStoreManager, defaultOfflineRuntimeConfig, fetchTypePriority, getGlobalOfflineEntities, getGlobalOfflineResolutions, getGlobalOfflineStatus, isOfflineStoreError, localPersistentStorage, mutationSkipped, opfsOfflineUploadAdapter, useGlobalOfflineEntities, useGlobalOfflineResolutions, useGlobalOfflineStatus };
|