@keepkit/core 0.28.15 → 0.28.17
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/README.md +14 -1
- package/dist/{chunk-WKXLHEAK.js → chunk-HTTOCLOC.js} +1 -1
- package/dist/chunk-HTTOCLOC.js.map +1 -0
- package/dist/{chunk-36NNVLEU.js → chunk-OLGYOC3D.js} +2 -2
- package/dist/core.d.ts +4 -4
- package/dist/core.js +2 -2
- package/dist/react.d.ts +4 -4
- package/dist/react.js +55 -20
- package/dist/react.js.map +1 -1
- package/dist/schema.d.ts +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +1 -1
- package/dist/{store-D-ZFtgDn.d.ts → store-3LwroO9A.d.ts} +1 -1
- package/dist/{types-KNIY89_m.d.ts → types-Bnc0c8CB.d.ts} +2 -0
- package/package.json +1 -1
- package/dist/chunk-WKXLHEAK.js.map +0 -1
- /package/dist/{chunk-36NNVLEU.js.map → chunk-OLGYOC3D.js.map} +0 -0
package/dist/schema.d.ts
CHANGED
package/dist/storage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StorageAdapter, R as RemoteSyncDriver, af as SyncQueueAdapter, M as KeepConflictResolver, k as SyncScope, a7 as KeepSyncQueueOperation, l as SyncCapableStorageAdapter, a3 as KeepStorageRecovery, o as KeepCollectionDefinition, d as KeepCollectionMembership, aa as KeepSyncState, K as KeepItem, a9 as KeepSyncResolution, e as KeepScope, F as FallbackRecoveryJournal } from './types-
|
|
2
|
-
export { q as FallbackRecoveryJournalState, r as FallbackRecoveryJournalV2, s as FallbackRecoveryOperation, t as FallbackRecoverySnapshot, U as KeepRecoveryInspection, V as KeepRecoveryResult, W as KeepRecoveryRow, X as KeepRecoveryState, ac as LocalStorageRecoveryJournal, ad as ScopedStorageAdapter, ae as ScopedSyncQueueAdapter, ag as createScopedStorageAdapter } from './types-
|
|
1
|
+
import { S as StorageAdapter, R as RemoteSyncDriver, af as SyncQueueAdapter, M as KeepConflictResolver, k as SyncScope, a7 as KeepSyncQueueOperation, l as SyncCapableStorageAdapter, a3 as KeepStorageRecovery, o as KeepCollectionDefinition, d as KeepCollectionMembership, aa as KeepSyncState, K as KeepItem, a9 as KeepSyncResolution, e as KeepScope, F as FallbackRecoveryJournal } from './types-Bnc0c8CB.js';
|
|
2
|
+
export { q as FallbackRecoveryJournalState, r as FallbackRecoveryJournalV2, s as FallbackRecoveryOperation, t as FallbackRecoverySnapshot, U as KeepRecoveryInspection, V as KeepRecoveryResult, W as KeepRecoveryRow, X as KeepRecoveryState, ac as LocalStorageRecoveryJournal, ad as ScopedStorageAdapter, ae as ScopedSyncQueueAdapter, ag as createScopedStorageAdapter } from './types-Bnc0c8CB.js';
|
|
3
3
|
|
|
4
4
|
type LocalStorageSyncQueueOptions = {
|
|
5
5
|
key?: string;
|
package/dist/storage.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KeepItem, a as KeepItemStatus, S as StorageAdapter, b as KeepChangeContext, c as KeepUndoState } from './types-
|
|
1
|
+
import { K as KeepItem, a as KeepItemStatus, S as StorageAdapter, b as KeepChangeContext, c as KeepUndoState } from './types-Bnc0c8CB.js';
|
|
2
2
|
|
|
3
3
|
type KeepNavigationState<TMeta = Record<string, unknown>> = {
|
|
4
4
|
items: KeepItem<TMeta>[];
|
|
@@ -265,6 +265,7 @@ type KeepCollectionMembership = {
|
|
|
265
265
|
scope?: SyncScope;
|
|
266
266
|
};
|
|
267
267
|
type KeepItem<TMeta = Record<string, unknown>> = {
|
|
268
|
+
/** Unique across all target types within the storage scope. */
|
|
268
269
|
id: string;
|
|
269
270
|
savedAt: number;
|
|
270
271
|
updatedAt: number;
|
|
@@ -296,6 +297,7 @@ type KeepItem<TMeta = Record<string, unknown>> = {
|
|
|
296
297
|
};
|
|
297
298
|
/** The minimal item description accepted by save controls and hooks. */
|
|
298
299
|
type KeepItemInput<TMeta = Record<string, unknown>> = {
|
|
300
|
+
/** Unique across all target types within the storage scope. */
|
|
299
301
|
id: string;
|
|
300
302
|
meta: TMeta;
|
|
301
303
|
order?: number;
|