tsdf 17.0.4 → 17.0.5
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-CMohMeKm.d.ts → asyncStorageAdapter-DgsuE-T8.d.ts} +1 -1
- package/dist/{asyncStorageAdapter-BuGjbXYA.js → asyncStorageAdapter-URS9eulL.js} +165 -25
- package/dist/{asyncStorageAdapters-ClUvxNQA.js → asyncStorageAdapters-Bxrrj_Mt.js} +2 -2
- package/dist/indexed-db-storage.d.ts +1 -1
- package/dist/indexed-db-storage.js +1 -1
- package/dist/{indexedDbPersistentStorage-BSlgLveB.js → indexedDbPersistentStorage-BameJ4st.js} +11 -1
- package/dist/main.d.ts +34 -30
- package/dist/main.js +856 -257
- package/dist/opfs-storage.d.ts +1 -1
- package/dist/opfs-storage.js +1 -1
- package/dist/{opfsPersistentStorage-Ci0JcCo5.d.ts → opfsPersistentStorage-BngS1m0X.d.ts} +1 -1
- package/dist/{opfsPersistentStorage-D_k77Srq.js → opfsPersistentStorage-JsSCNBTr.js} +1 -1
- package/dist/{types-D0ttVGmj.d.ts → types-BlyGC_PO.d.ts} +3 -3
- package/package.json +1 -1
- package/dist/src/async-storage.d.ts +0 -1
- package/dist/src/cacheLimits/lruCacheRuntime.d.ts +0 -9
- package/dist/src/cacheLimits/scheduleIdleThrottled.d.ts +0 -1
- package/dist/src/cacheLimits/useRegisterActiveKeys.d.ts +0 -1
- package/dist/src/collectionStore/collectionCacheLimits.d.ts +0 -1
- package/dist/src/collectionStore/collectionStore.d.ts +0 -385
- package/dist/src/collectionStore/executeBatchFetch.d.ts +0 -6
- package/dist/src/collectionStore/useItem.d.ts +0 -15
- package/dist/src/collectionStore/useMultipleItems.d.ts +0 -35
- package/dist/src/debug.d.ts +0 -30
- package/dist/src/documentStore.d.ts +0 -290
- package/dist/src/hooks/useListItem.d.ts +0 -22
- package/dist/src/hooks/useListItemIsDeleted.d.ts +0 -13
- package/dist/src/hooks/useListItemIsLoading.d.ts +0 -16
- package/dist/src/indexed-db-storage.d.ts +0 -1
- package/dist/src/internal/offlineTestInstrumentation.d.ts +0 -12
- package/dist/src/internal/testTimelineTypes.d.ts +0 -1
- package/dist/src/invalidationUtils.d.ts +0 -8
- package/dist/src/isOffScreenContext.d.ts +0 -16
- package/dist/src/listQueryStore/createFetchApi.d.ts +0 -1
- package/dist/src/listQueryStore/createMutationApi.d.ts +0 -1
- package/dist/src/listQueryStore/executeItemBatchFetch.d.ts +0 -20
- package/dist/src/listQueryStore/executeQueryFetch.d.ts +0 -7
- package/dist/src/listQueryStore/itemFieldUtils.d.ts +0 -77
- package/dist/src/listQueryStore/listQueryCacheLimits.d.ts +0 -1
- package/dist/src/listQueryStore/listQueryStore.d.ts +0 -538
- package/dist/src/listQueryStore/types.d.ts +0 -347
- package/dist/src/listQueryStore/useFindItem.d.ts +0 -7
- package/dist/src/listQueryStore/useItem.d.ts +0 -29
- package/dist/src/listQueryStore/useListQuery.d.ts +0 -29
- package/dist/src/listQueryStore/useMultipleItems.d.ts +0 -44
- package/dist/src/listQueryStore/useMultipleListQueries.d.ts +0 -46
- package/dist/src/listQueryStore/usePendingOfflineItems.d.ts +0 -19
- package/dist/src/main.d.ts +0 -23
- package/dist/src/opfs-storage.d.ts +0 -1
- package/dist/src/persistentStorage/asyncStorageAdapter.d.ts +0 -95
- package/dist/src/persistentStorage/asyncStorageAdapters.d.ts +0 -2
- package/dist/src/persistentStorage/asyncStorageShared.d.ts +0 -23
- package/dist/src/persistentStorage/collectionStorePersistence.d.ts +0 -26
- package/dist/src/persistentStorage/compactListQueryLocalStorageEntry.d.ts +0 -11
- package/dist/src/persistentStorage/compactLocalStorageEntry.d.ts +0 -8
- package/dist/src/persistentStorage/documentEntryKey.d.ts +0 -1
- package/dist/src/persistentStorage/documentStorePersistence.d.ts +0 -17
- package/dist/src/persistentStorage/indexedDbAsyncStorageAdapter.d.ts +0 -165
- package/dist/src/persistentStorage/indexedDbPersistentStorage.d.ts +0 -6
- package/dist/src/persistentStorage/listQueryStorePersistence.d.ts +0 -37
- package/dist/src/persistentStorage/localStorageMetadata.d.ts +0 -126
- package/dist/src/persistentStorage/navigatorLocks.d.ts +0 -3
- package/dist/src/persistentStorage/offline/entityMetadata.d.ts +0 -12
- package/dist/src/persistentStorage/offline/fetchRuntime.d.ts +0 -35
- package/dist/src/persistentStorage/offline/mutationRuntime.d.ts +0 -31
- package/dist/src/persistentStorage/offline/offlineResolution.typeGuards.d.ts +0 -1
- package/dist/src/persistentStorage/offline/overlayStoreLifecycle.d.ts +0 -13
- package/dist/src/persistentStorage/offline/sessionCoordinator.d.ts +0 -94
- package/dist/src/persistentStorage/offline/sessionProtectionRegistry.d.ts +0 -11
- package/dist/src/persistentStorage/offline/storeController.d.ts +0 -86
- package/dist/src/persistentStorage/offline/types.d.ts +0 -1255
- package/dist/src/persistentStorage/offlineUploadRegistry.d.ts +0 -11
- package/dist/src/persistentStorage/offlineUploadTypes.d.ts +0 -97
- package/dist/src/persistentStorage/offlineUploadsShared.d.ts +0 -4
- package/dist/src/persistentStorage/opfsAsyncStorageAdapter.d.ts +0 -24
- package/dist/src/persistentStorage/opfsFileNaming.d.ts +0 -23
- package/dist/src/persistentStorage/opfsHelpers.d.ts +0 -3
- package/dist/src/persistentStorage/opfsOfflineUploadAdapter.d.ts +0 -2
- package/dist/src/persistentStorage/opfsPersistentStorage.d.ts +0 -2
- package/dist/src/persistentStorage/parsePersistedData.d.ts +0 -45
- package/dist/src/persistentStorage/persistenceUtils.d.ts +0 -52
- package/dist/src/persistentStorage/persistentStorageDefaults.d.ts +0 -4
- package/dist/src/persistentStorage/persistentStorageManager.d.ts +0 -197
- package/dist/src/persistentStorage/quotaDebug.d.ts +0 -16
- package/dist/src/persistentStorage/scheduleIdleCleanup.d.ts +0 -28
- package/dist/src/persistentStorage/storageAdapter.d.ts +0 -41
- package/dist/src/persistentStorage/storageEntryPrefixes.d.ts +0 -16
- package/dist/src/persistentStorage/types.d.ts +0 -412
- package/dist/src/persistentStorage/validateWithSchema.d.ts +0 -12
- package/dist/src/requestScheduler.d.ts +0 -81
- package/dist/src/storeManager.d.ts +0 -160
- package/dist/src/utils/automaticFetchPolicy.d.ts +0 -29
- package/dist/src/utils/browserTabsPriority.d.ts +0 -43
- package/dist/src/utils/browserTabsSync.d.ts +0 -33
- package/dist/src/utils/optimisticMutationTracker.d.ts +0 -20
- package/dist/src/utils/optimisticRollback.d.ts +0 -11
- package/dist/src/utils/payloadDebounce.d.ts +0 -5
- package/dist/src/utils/performMutation.d.ts +0 -19
- package/dist/src/utils/reusePrevIfEqual.d.ts +0 -1
- package/dist/src/utils/storeFocusLifecycle.d.ts +0 -1
- package/dist/src/utils/storeShared.d.ts +0 -126
- package/dist/src/utils/useEnsureIsLoaded.d.ts +0 -6
- package/dist/src/utils/useRequireFreshData.d.ts +0 -6
- package/dist/tests/basic-functionality/collection-store.test.d.ts +0 -1
- package/dist/tests/basic-functionality/document-store.test.d.ts +0 -1
- package/dist/tests/basic-functionality/list-query-state-manipulation.test.d.ts +0 -1
- package/dist/tests/basic-functionality/list-query-store.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-background-rtu-batch.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-background-rtu.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-background-scheduling.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-list-query-pagination.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-non-cancelable-fetches.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-optimistic-sync.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-partial-resources.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-priority.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-snapshot-consistency.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-state-methods.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-sync-coordinator.test.d.ts +0 -1
- package/dist/tests/browser-tabs/browser-tabs-test-helpers.d.ts +0 -69
- package/dist/tests/browser-tabs/focus-coordinator.test.d.ts +0 -1
- package/dist/tests/hooks/collection-hooks-2.test.d.ts +0 -1
- package/dist/tests/hooks/collection-hooks.test.d.ts +0 -1
- package/dist/tests/hooks/collection-useListItem.test.d.ts +0 -1
- package/dist/tests/hooks/debounce-payload-hooks.test.d.ts +0 -1
- package/dist/tests/hooks/disable-refetches.test.d.ts +0 -1
- package/dist/tests/hooks/document-hooks-2.test.d.ts +0 -1
- package/dist/tests/hooks/document-hooks.test.d.ts +0 -1
- package/dist/tests/hooks/document-useListItem.test.d.ts +0 -1
- package/dist/tests/hooks/fetch-error-recovery.test.d.ts +0 -1
- package/dist/tests/hooks/hook-memoization.test.d.ts +0 -1
- package/dist/tests/hooks/list-query-hooks-2.test.d.ts +0 -1
- package/dist/tests/hooks/list-query-hooks-3.test.d.ts +0 -1
- package/dist/tests/hooks/list-query-hooks-mutations.test.d.ts +0 -1
- package/dist/tests/hooks/list-query-hooks.test.d.ts +0 -1
- package/dist/tests/hooks/list-query-pending-offline-items.test.d.ts +0 -1
- package/dist/tests/hooks/off-screen-context.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-derived-queries.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-offset-pagination.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-optimistic-filters.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-partial-resources-2.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-partial-resources-3.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-partial-resources-regressions.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-partial-resources-show-partial-status.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-partial-resources.test.d.ts +0 -1
- package/dist/tests/list-query-features/list-query-size-coalescing-partial-resources.test.d.ts +0 -1
- package/dist/tests/mocks/browserTabsTestUtils.d.ts +0 -17
- package/dist/tests/mocks/collectionStoreTestEnv.d.ts +0 -265
- package/dist/tests/mocks/documentStoreTestEnv.d.ts +0 -140
- package/dist/tests/mocks/duplicateStoreGuard.test.d.ts +0 -1
- package/dist/tests/mocks/listQueryStoreTestEnv.d.ts +0 -295
- package/dist/tests/mocks/mockBrowserOpfs.d.ts +0 -70
- package/dist/tests/mocks/mockBrowserOpfs.test.d.ts +0 -1
- package/dist/tests/mocks/mockLocalStorageStore.d.ts +0 -61
- package/dist/tests/mocks/seedScenarioPersistentStorage.d.ts +0 -51
- package/dist/tests/mocks/serverMock.d.ts +0 -56
- package/dist/tests/mocks/serverTableMock.d.ts +0 -174
- package/dist/tests/mocks/testEnvUtils.d.ts +0 -120
- package/dist/tests/mocks/testScenarioPersistentStorage.test.d.ts +0 -1
- package/dist/tests/offline/offline-fetching-scenarios.test.d.ts +0 -1
- package/dist/tests/offline/offline-mixed-adapter-storage.test.d.ts +0 -1
- package/dist/tests/offline/offline-mutation-fallback.test.d.ts +0 -1
- package/dist/tests/offline/offline-network-recovery.test.d.ts +0 -1
- package/dist/tests/offline/offline-outage.test.d.ts +0 -1
- package/dist/tests/offline/offline-overlays.test.d.ts +0 -1
- package/dist/tests/offline/offline-query-replay.test.d.ts +0 -1
- package/dist/tests/offline/offline-reads.test.d.ts +0 -1
- package/dist/tests/offline/offline-replay-conflicts.test.d.ts +0 -1
- package/dist/tests/offline/offline-replay-queueing.test.d.ts +0 -1
- package/dist/tests/offline/offline-resolution-dependencies.test.d.ts +0 -1
- package/dist/tests/offline/offline-runtime-controls.test.d.ts +0 -1
- package/dist/tests/offline/offline-session-and-global-state.test.d.ts +0 -1
- package/dist/tests/offline/offline-storage.test.d.ts +0 -1
- package/dist/tests/offline/offline-uploads.test.d.ts +0 -1
- package/dist/tests/offline/offlineReplayTestShared.d.ts +0 -292
- package/dist/tests/offline/offlineTestShared.d.ts +0 -156
- package/dist/tests/perform-mutation/mutation-error-rollback.test.d.ts +0 -1
- package/dist/tests/perform-mutation/perform-mutation-block-window-close.test.d.ts +0 -1
- package/dist/tests/perform-mutation/perform-mutation-debounce.test.d.ts +0 -1
- package/dist/tests/perform-mutation/store-events.test.d.ts +0 -1
- package/dist/tests/persistent-storage/async-storage-efficiency/collection.test.d.ts +0 -1
- package/dist/tests/persistent-storage/async-storage-efficiency/document.test.d.ts +0 -1
- package/dist/tests/persistent-storage/async-storage-efficiency/list-query.test.d.ts +0 -1
- package/dist/tests/persistent-storage/async-storage-efficiency/maintenance.test.d.ts +0 -1
- package/dist/tests/persistent-storage/async-storage-efficiency/shared.d.ts +0 -804
- package/dist/tests/persistent-storage/async-storage-shared.test.d.ts +0 -1
- package/dist/tests/persistent-storage/collection-store-persistence.converted.opfs.test.d.ts +0 -1
- package/dist/tests/persistent-storage/collection-store-persistence.converted.test.d.ts +0 -1
- package/dist/tests/persistent-storage/collection-store-persistence.opfs.test.d.ts +0 -1
- package/dist/tests/persistent-storage/collection-store-persistence.test.d.ts +0 -1
- package/dist/tests/persistent-storage/document-store-persistence.converted.opfs.test.d.ts +0 -1
- package/dist/tests/persistent-storage/document-store-persistence.converted.test.d.ts +0 -1
- package/dist/tests/persistent-storage/document-store-persistence.opfs.test.d.ts +0 -1
- package/dist/tests/persistent-storage/document-store-persistence.test.d.ts +0 -1
- package/dist/tests/persistent-storage/expiration-scan.test.d.ts +0 -1
- package/dist/tests/persistent-storage/indexeddb-async-storage-efficiency/collection.test.d.ts +0 -1
- package/dist/tests/persistent-storage/indexeddb-async-storage-efficiency/document.test.d.ts +0 -1
- package/dist/tests/persistent-storage/indexeddb-async-storage-efficiency/list-query.test.d.ts +0 -1
- package/dist/tests/persistent-storage/indexeddb-async-storage-efficiency/maintenance.test.d.ts +0 -1
- package/dist/tests/persistent-storage/indexeddb-async-storage-efficiency/shared.d.ts +0 -780
- package/dist/tests/persistent-storage/indexeddb-storage-adapter.test.d.ts +0 -1
- package/dist/tests/persistent-storage/list-query-store-persistence.converted.opfs.test.d.ts +0 -1
- package/dist/tests/persistent-storage/list-query-store-persistence.converted.test.d.ts +0 -1
- package/dist/tests/persistent-storage/list-query-store-persistence.opfs.test.d.ts +0 -1
- package/dist/tests/persistent-storage/list-query-store-persistence.test.d.ts +0 -1
- package/dist/tests/persistent-storage/persistence-with-tabs-sync.test.d.ts +0 -1
- package/dist/tests/persistent-storage/persistentStorageByteBudgetTestUtils.d.ts +0 -18
- package/dist/tests/persistent-storage/quota-exceeded-recovery-no-locks.test.d.ts +0 -1
- package/dist/tests/persistent-storage/quota-exceeded-recovery.test.d.ts +0 -1
- package/dist/tests/persistent-storage/quotaRecoveryTestUtils.d.ts +0 -228
- package/dist/tests/persistent-storage/storage-adapter.test.d.ts +0 -1
- package/dist/tests/persistent-storage/sync-storage-efficiency/collection.test.d.ts +0 -1
- package/dist/tests/persistent-storage/sync-storage-efficiency/document.test.d.ts +0 -1
- package/dist/tests/persistent-storage/sync-storage-efficiency/list-query.test.d.ts +0 -1
- package/dist/tests/persistent-storage/sync-storage-efficiency/maintenance.test.d.ts +0 -1
- package/dist/tests/persistent-storage/sync-storage-efficiency/shared.d.ts +0 -784
- package/dist/tests/playwright/browser-tabs.spec.d.ts +0 -1
- package/dist/tests/playwright/persistent-storage.spec.d.ts +0 -1
- package/dist/tests/request-schedulling/batch-medium-priority.test.d.ts +0 -1
- package/dist/tests/request-schedulling/batch-realtime-updates.test.d.ts +0 -1
- package/dist/tests/request-schedulling/collection-batch-coalescing.test.d.ts +0 -1
- package/dist/tests/request-schedulling/collection-batch-key-grouping.test.d.ts +0 -1
- package/dist/tests/request-schedulling/collection-fetch-orchestration.test.d.ts +0 -1
- package/dist/tests/request-schedulling/document-await-fetch.test.d.ts +0 -1
- package/dist/tests/request-schedulling/document-base-coalescing.test.d.ts +0 -1
- package/dist/tests/request-schedulling/document-fetch-orchestration.test.d.ts +0 -1
- package/dist/tests/request-schedulling/document-medium-priority-fetch.test.d.ts +0 -1
- package/dist/tests/request-schedulling/document-realtime-updates.test.d.ts +0 -1
- package/dist/tests/request-schedulling/list-query-item-batch-coalescing.test.d.ts +0 -1
- package/dist/tests/request-schedulling/list-query-item-batch-key-grouping.test.d.ts +0 -1
- package/dist/tests/request-schedulling/list-query-size-coalescing.test.d.ts +0 -1
- package/dist/tests/request-schedulling/medium-vs-realtime.test.d.ts +0 -1
- package/dist/tests/request-schedulling/request-scheduler-cross-tab-sync.test.d.ts +0 -1
- package/dist/tests/request-schedulling/window-focus.test.d.ts +0 -1
- package/dist/tests/store-manager.test.d.ts +0 -1
- package/dist/tests/user-facing-api/collection-offline-usage.test.d.ts +0 -1
- package/dist/tests/user-facing-api/document-offline-usage.test.d.ts +0 -1
- package/dist/tests/user-facing-api/list-query-offline-usage.test.d.ts +0 -1
- package/dist/tests/user-facing-api/result-returning-callbacks.test.d.ts +0 -1
- package/dist/tests/utils/genericTestUtils.d.ts +0 -6
- package/dist/tests/utils/indexedDbPersistentStorageOptimizationTestUtils.d.ts +0 -79
- package/dist/tests/utils/indexedDbPersistentStorageTestStore.d.ts +0 -181
- package/dist/tests/utils/listQueryHooksTestUtils.d.ts +0 -8
- package/dist/tests/utils/networkMock.d.ts +0 -11
- package/dist/tests/utils/opfsPersistentStorageTestStore.d.ts +0 -220
- package/dist/tests/utils/persistentStorageOptimizationTestUtils.d.ts +0 -54
- package/dist/tests/utils/persistentStorageOptimizationTestUtils.test.d.ts +0 -1
- package/dist/tests/utils/persistentStorageTestStore.d.ts +0 -66
- package/dist/tests/utils/resetSessionForTests.d.ts +0 -3
- package/dist/tests/utils/withSuppressedActError.d.ts +0 -4
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import type { OfflineResolutionRecord } from '../../src/main';
|
|
2
|
-
import type { PersistentStorageSchema } from '../../src/persistentStorage/types';
|
|
3
|
-
import type { ListQueryParams } from '../mocks/listQueryStoreTestEnv';
|
|
4
|
-
export declare const docSchema: PersistentStorageSchema<{
|
|
5
|
-
value: number;
|
|
6
|
-
}>;
|
|
7
|
-
export declare const docMutationInputSchema: PersistentStorageSchema<{
|
|
8
|
-
value: number;
|
|
9
|
-
}>;
|
|
10
|
-
export declare const docConflictSchema: PersistentStorageSchema<{
|
|
11
|
-
reason: string;
|
|
12
|
-
}>;
|
|
13
|
-
export declare const collectionCreateInputSchema: PersistentStorageSchema<{
|
|
14
|
-
name: string;
|
|
15
|
-
}>;
|
|
16
|
-
export declare const collectionSchema: {
|
|
17
|
-
__rc_type: (t: {
|
|
18
|
-
value: {
|
|
19
|
-
name: string;
|
|
20
|
-
};
|
|
21
|
-
}) => {
|
|
22
|
-
value: {
|
|
23
|
-
name: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
readonly withFallback: (fallback: {
|
|
27
|
-
value: {
|
|
28
|
-
name: string;
|
|
29
|
-
};
|
|
30
|
-
} | ((invalidInput: unknown) => {
|
|
31
|
-
value: {
|
|
32
|
-
name: string;
|
|
33
|
-
};
|
|
34
|
-
})) => import("runcheck").RcType<{
|
|
35
|
-
value: {
|
|
36
|
-
name: string;
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
39
|
-
readonly where: (predicate: (input: {
|
|
40
|
-
value: {
|
|
41
|
-
name: string;
|
|
42
|
-
};
|
|
43
|
-
}) => boolean | {
|
|
44
|
-
error: string;
|
|
45
|
-
}) => import("runcheck").RcType<{
|
|
46
|
-
value: {
|
|
47
|
-
name: string;
|
|
48
|
-
};
|
|
49
|
-
}>;
|
|
50
|
-
readonly optional: () => import("runcheck").RcType<{
|
|
51
|
-
value: {
|
|
52
|
-
name: string;
|
|
53
|
-
};
|
|
54
|
-
} | undefined>;
|
|
55
|
-
readonly optionalKey: () => import("runcheck").RcOptionalKeyType<{
|
|
56
|
-
value: {
|
|
57
|
-
name: string;
|
|
58
|
-
};
|
|
59
|
-
} | undefined>;
|
|
60
|
-
readonly orNull: () => import("runcheck").RcType<{
|
|
61
|
-
value: {
|
|
62
|
-
name: string;
|
|
63
|
-
};
|
|
64
|
-
} | null>;
|
|
65
|
-
readonly orNullish: () => import("runcheck").RcType<{
|
|
66
|
-
value: {
|
|
67
|
-
name: string;
|
|
68
|
-
};
|
|
69
|
-
} | null | undefined>;
|
|
70
|
-
readonly withAutofix: (customAutofix: (input: unknown) => import("runcheck").AutoFixResult<{
|
|
71
|
-
value: {
|
|
72
|
-
name: string;
|
|
73
|
-
};
|
|
74
|
-
}>) => import("runcheck").RcType<{
|
|
75
|
-
value: {
|
|
76
|
-
name: string;
|
|
77
|
-
};
|
|
78
|
-
}>;
|
|
79
|
-
readonly default: <D extends {
|
|
80
|
-
value: {
|
|
81
|
-
name: string;
|
|
82
|
-
};
|
|
83
|
-
}>(defaultValue: D | (() => D)) => import("runcheck").RcType<{
|
|
84
|
-
value: {
|
|
85
|
-
name: string;
|
|
86
|
-
};
|
|
87
|
-
} | (D extends never[] ? never : D)>;
|
|
88
|
-
readonly nullishDefault: <D extends {
|
|
89
|
-
value: {
|
|
90
|
-
name: string;
|
|
91
|
-
};
|
|
92
|
-
}>(defaultValue: D | (() => D)) => import("runcheck").RcType<{
|
|
93
|
-
value: {
|
|
94
|
-
name: string;
|
|
95
|
-
};
|
|
96
|
-
} | (D extends never[] ? never : D)>;
|
|
97
|
-
readonly or: <O>(schema: import("runcheck").RcType<O>) => import("runcheck").RcType<O | {
|
|
98
|
-
value: {
|
|
99
|
-
name: string;
|
|
100
|
-
};
|
|
101
|
-
}>;
|
|
102
|
-
readonly parse: (input: unknown, options?: {
|
|
103
|
-
noWarnings?: boolean | undefined;
|
|
104
|
-
} | undefined) => import("runcheck").RcParseResult<{
|
|
105
|
-
value: {
|
|
106
|
-
name: string;
|
|
107
|
-
};
|
|
108
|
-
}>;
|
|
109
|
-
readonly parseJson: (jsonString: string, options?: {
|
|
110
|
-
noWarnings?: boolean | undefined;
|
|
111
|
-
} | undefined) => import("runcheck").RcParseResult<{
|
|
112
|
-
value: {
|
|
113
|
-
name: string;
|
|
114
|
-
};
|
|
115
|
-
}>;
|
|
116
|
-
readonly _optional_key_?: false | undefined;
|
|
117
|
-
};
|
|
118
|
-
export declare const listQueryQueryPayloadSchema: PersistentStorageSchema<ListQueryParams>;
|
|
119
|
-
export declare function toRecord(value: unknown, errorMessage: string): Record<string, unknown>;
|
|
120
|
-
export declare function parsePersistedObject(raw: string): Record<string, unknown>;
|
|
121
|
-
export declare const quickRecoveryProbe: {
|
|
122
|
-
readonly initialIntervalMs: 1;
|
|
123
|
-
readonly maxIntervalMs: 1;
|
|
124
|
-
readonly backoffMultiplier: 1;
|
|
125
|
-
readonly jitterRatio: 0;
|
|
126
|
-
};
|
|
127
|
-
export declare function classifyMutationOutage(error: unknown, phase: string): boolean;
|
|
128
|
-
export declare function classifyRetryableReplayFailure(error: unknown, phase: string): boolean;
|
|
129
|
-
export declare function waitForMicrotaskCondition(condition: () => boolean, maxTurns?: number): Promise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Compact summary of a resolution record for test snapshots.
|
|
132
|
-
*
|
|
133
|
-
* Only includes fields that carry signal — no `'none'` fillers, no derived
|
|
134
|
-
* UI labels. Dependency counts (`blockedBy`, `blocks`) and `tempIds` are
|
|
135
|
-
* omitted when zero/absent.
|
|
136
|
-
*/
|
|
137
|
-
export declare function summarizeResolution(resolution: OfflineResolutionRecord): {
|
|
138
|
-
kind: "conflict" | "retry-exhausted";
|
|
139
|
-
op: string;
|
|
140
|
-
on: string;
|
|
141
|
-
reason: string;
|
|
142
|
-
input: string;
|
|
143
|
-
blockedBy?: number | undefined;
|
|
144
|
-
blocks?: number | undefined;
|
|
145
|
-
tempIds?: string[] | undefined;
|
|
146
|
-
} | {
|
|
147
|
-
kind: "conflict" | "retry-exhausted";
|
|
148
|
-
op: string;
|
|
149
|
-
on: string;
|
|
150
|
-
error: string;
|
|
151
|
-
input: string;
|
|
152
|
-
blockedBy?: number | undefined;
|
|
153
|
-
blocks?: number | undefined;
|
|
154
|
-
tempIds?: string[] | undefined;
|
|
155
|
-
};
|
|
156
|
-
export declare function getGlobalOfflineStatusSummary(sessionKey: string): Record<string, unknown>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|