@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/dist/schema.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Y as KeepSchema, K as KeepItem } from './types-KNIY89_m.js';
1
+ import { Y as KeepSchema, K as KeepItem } from './types-Bnc0c8CB.js';
2
2
 
3
3
  declare class KeepSchemaValidationError extends Error {
4
4
  readonly cause?: unknown;
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-KNIY89_m.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-KNIY89_m.js';
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
@@ -18,7 +18,7 @@ import {
18
18
  createBrowserStorageAdapter,
19
19
  createScopedStorageAdapter,
20
20
  createStorageAdapter
21
- } from "./chunk-WKXLHEAK.js";
21
+ } from "./chunk-HTTOCLOC.js";
22
22
  import "./chunk-5W4QSJHV.js";
23
23
  export {
24
24
  DEFAULT_INDEXEDDB_DATABASE,
@@ -1,4 +1,4 @@
1
- import { K as KeepItem, a as KeepItemStatus, S as StorageAdapter, b as KeepChangeContext, c as KeepUndoState } from './types-KNIY89_m.js';
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepkit/core",
3
- "version": "0.28.15",
3
+ "version": "0.28.17",
4
4
  "description": "A flexible save-and-collect toolkit for React apps.",
5
5
  "type": "module",
6
6
  "license": "MIT",