@xnetjs/data 0.12.0 → 2.0.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/account-ZD3HMRY6.js +12 -0
- package/dist/{account-ledger-R2GAFJL6.js → account-ledger-ZHBNVREV.js} +3 -3
- package/dist/auth/index.d.ts +15 -5
- package/dist/auth/index.js +1 -1
- package/dist/budget-FTGZEXX6.js +12 -0
- package/dist/canvas-NQBTRNLS.js +10 -0
- package/dist/channel-474QAZGP.js +12 -0
- package/dist/chat-message-LGLCITLE.js +10 -0
- package/dist/checkpoint-MZHJ7PCZ.js +12 -0
- package/dist/{chunk-VQ7JHB67.js → chunk-22FKOLMX.js} +2 -2
- package/dist/{chunk-LYSWLCOI.js → chunk-26HTTVJN.js} +2 -2
- package/dist/{chunk-PH3PVAR6.js → chunk-3PV6QTKF.js} +2 -2
- package/dist/{chunk-KQUALW4O.js → chunk-4KJ4NAMC.js} +1 -1
- package/dist/{chunk-JFMLCFZJ.js → chunk-4S73XDWH.js} +585 -230
- package/dist/{chunk-U64CW73O.js → chunk-52DR23IW.js} +2 -2
- package/dist/{chunk-SVNGSZZA.js → chunk-57UZYV3L.js} +2 -2
- package/dist/{chunk-QVQVKZ3U.js → chunk-5UJMY3AH.js} +6 -5
- package/dist/chunk-6ZUJID52.js +41 -0
- package/dist/{chunk-3J3HILXO.js → chunk-7PCMTV6J.js} +2 -2
- package/dist/{chunk-YSUIXD2Y.js → chunk-C4CQH7UD.js} +2 -2
- package/dist/{chunk-PNESGUH5.js → chunk-D4EVJN2P.js} +2 -2
- package/dist/{chunk-RL64OJJ5.js → chunk-D4LUUZYD.js} +36 -9
- package/dist/{chunk-Q67VT5XL.js → chunk-DESSPQBS.js} +59 -10
- package/dist/{chunk-W7EBL7ZU.js → chunk-DP4Q2HMO.js} +2 -2
- package/dist/{chunk-5EXHNXPL.js → chunk-DPJ4T2LQ.js} +2 -2
- package/dist/{chunk-BQLQSWKZ.js → chunk-EN6XTVLZ.js} +2 -2
- package/dist/{chunk-TORDOOJ5.js → chunk-EYRZ6ZUB.js} +1 -1
- package/dist/{chunk-NI4FHG2K.js → chunk-EZTBWWMS.js} +2 -2
- package/dist/{chunk-UQM3G5A2.js → chunk-FWCM2TKJ.js} +2 -2
- package/dist/{chunk-OSAWNZVM.js → chunk-GCTONBF6.js} +1 -1
- package/dist/{chunk-2ZNJWIQG.js → chunk-HPUXHSKR.js} +2 -2
- package/dist/{chunk-ZPZ7XDA6.js → chunk-HTZTBXKL.js} +2 -2
- package/dist/{chunk-MCKP4F72.js → chunk-I7JMGCV6.js} +26 -5
- package/dist/{chunk-OGJCRNGE.js → chunk-IA23CLGV.js} +2 -2
- package/dist/{chunk-YEFKQYKA.js → chunk-IKGUBSZP.js} +2 -2
- package/dist/{chunk-XMSKJ5PV.js → chunk-IKI5FBNO.js} +2 -2
- package/dist/{chunk-OCMSAKWV.js → chunk-JA56EQJO.js} +15 -3
- package/dist/{chunk-TCTZW4A6.js → chunk-JLUFPUIL.js} +2 -2
- package/dist/{chunk-WEPK7SZF.js → chunk-KTPSQJ5L.js} +2 -2
- package/dist/{chunk-T5AZAOG5.js → chunk-LK5ZIAIE.js} +1 -1
- package/dist/{chunk-XROI44ZP.js → chunk-M4KGY2PC.js} +2 -2
- package/dist/chunk-MEAIGK3W.js +58 -0
- package/dist/{chunk-QJW5LDP4.js → chunk-NSMSOIEW.js} +2 -2
- package/dist/{chunk-FB63TZVI.js → chunk-OF6455OV.js} +2 -2
- package/dist/{chunk-6OMG4I7M.js → chunk-OIWW5TG3.js} +2 -2
- package/dist/{chunk-6KLGA6IR.js → chunk-Q6VTTPG4.js} +2 -2
- package/dist/{chunk-J4ANIXIV.js → chunk-QDLWTOII.js} +2 -2
- package/dist/{chunk-EBNMV2VO.js → chunk-RRXJNZX5.js} +1 -1
- package/dist/{chunk-FVEACSKE.js → chunk-RXBLWQQI.js} +2 -2
- package/dist/{chunk-L7NRPLE5.js → chunk-S6JWYPVW.js} +2 -2
- package/dist/{chunk-JDFNMFOZ.js → chunk-SOXXBQ4P.js} +2 -2
- package/dist/{chunk-4EYKGTSQ.js → chunk-T45PWXNA.js} +2 -2
- package/dist/{chunk-MD553LDL.js → chunk-TRPXLCND.js} +2 -2
- package/dist/{chunk-ZMZSBJBC.js → chunk-U223J425.js} +174 -170
- package/dist/{chunk-ZCOFZY5M.js → chunk-UUQVNDBG.js} +2 -2
- package/dist/{chunk-53F4PRNC.js → chunk-W3QOEPUN.js} +2 -2
- package/dist/{chunk-S6U6TCMN.js → chunk-WC7EDJHC.js} +2 -2
- package/dist/{chunk-KQAT4XBL.js → chunk-WWQO7QKV.js} +2 -2
- package/dist/{chunk-BY5O6LNC.js → chunk-XJBDESCX.js} +1 -1
- package/dist/{chunk-ZZ6TWKGS.js → chunk-XQDXQ7WG.js} +2 -2
- package/dist/{chunk-MBTUO3ZL.js → chunk-YD2ZPFT7.js} +2 -2
- package/dist/{chunk-ZLU4Y3O2.js → chunk-YHO7GNZK.js} +2 -2
- package/dist/{chunk-Y3S5SRVM.js → chunk-YSD4NSCE.js} +2 -2
- package/dist/chunk-Z5I2T75Z.js +70 -0
- package/dist/{chunk-IJ44LR7N.js → chunk-ZKJXGQCR.js} +2 -2
- package/dist/{chunk-GU6THOAB.js → chunk-ZKMWJNDQ.js} +2 -2
- package/dist/{chunk-OPPHF3TF.js → chunk-ZKVRGKLM.js} +3 -3
- package/dist/{clone-CbmoWwu4.d.ts → clone-DNcpkYAA.d.ts} +2 -2
- package/dist/comment-IAZJHG6G.js +10 -0
- package/dist/{crm-L5RYAAF3.js → crm-AFJSSPHK.js} +5 -5
- package/dist/dashboard-2DLFZM2J.js +10 -0
- package/dist/database/index.d.ts +3 -3
- package/dist/database/index.js +11 -11
- package/dist/database-5M7ZA33U.js +10 -0
- package/dist/database-field-IFUWOK7X.js +10 -0
- package/dist/database-row-C52KCOPB.js +10 -0
- package/dist/database-select-option-AEAPKXEE.js +10 -0
- package/dist/database-view-GUGJHS7J.js +10 -0
- package/dist/debug-report-BTNZAKX3.js +10 -0
- package/dist/draft-KGHITKX2.js +10 -0
- package/dist/experiment-JXHENWXV.js +10 -0
- package/dist/{external-item-P2E5X7BZ.js → external-item-ZVD33IXV.js} +5 -5
- package/dist/external-reference-LGFNVEKC.js +8 -0
- package/dist/feed-CLEHVA6Q.js +12 -0
- package/dist/feed-item-QXRIE6FU.js +12 -0
- package/dist/{folder-6KM3KYD5.js → folder-NU5TJFOT.js} +3 -3
- package/dist/{game-5AK5XWBR.js → game-7WW2JX6O.js} +5 -5
- package/dist/grant-W772T6FE.js +8 -0
- package/dist/{grant-expiration-cleaner-Bm1fSG42.d.ts → grant-expiration-cleaner-1by9wRlb.d.ts} +7 -2
- package/dist/import-batch-ZRU4FY6Y.js +12 -0
- package/dist/{inbox-state-E5NSVOGP.js → inbox-state-IO5C7HVE.js} +3 -3
- package/dist/index.d.ts +8 -7
- package/dist/index.js +175 -157
- package/dist/map-BZAVGCR6.js +10 -0
- package/dist/media-asset-VHFL65HI.js +8 -0
- package/dist/{meeting-LMUYTZBF.js → meeting-PVNKBGTI.js} +5 -5
- package/dist/{memory-PNRTMBZO.js → memory-5PD3XCKB.js} +3 -3
- package/dist/metric-6IGGFJMB.js +10 -0
- package/dist/milestone-MZAZCWGR.js +12 -0
- package/dist/{moderation-FFHETMRB.js → moderation-CXQB77CP.js} +3 -3
- package/dist/observation-O3DLKVIH.js +10 -0
- package/dist/page-UE5NPYEF.js +10 -0
- package/dist/posting-5VZZMOKS.js +12 -0
- package/dist/{profile-XBPZQA3C.js → profile-USKJ6PN7.js} +3 -3
- package/dist/project-UHGGEFLP.js +10 -0
- package/dist/{query-ast-Bvg0Wolx.d.ts → query-ast-NV5StnHo.d.ts} +1 -1
- package/dist/reaction-KD3G75UH.js +10 -0
- package/dist/{registry-_49rC6IG.d.ts → registry-s1fYgCSj.d.ts} +1 -1
- package/dist/saved-view-AZTUINZA.js +10 -0
- package/dist/schema/index.d.ts +173 -12
- package/dist/schema/index.js +96 -80
- package/dist/{schema-extension-LNRF2YRD.js → schema-extension-DV5D7JCQ.js} +5 -5
- package/dist/{space-IJU24PBH.js → space-THD2MWHR.js} +6 -6
- package/dist/{space-membership-DEUMM7NV.js → space-membership-M3QFMONE.js} +3 -3
- package/dist/store/index.d.ts +18 -5
- package/dist/store/index.js +4 -4
- package/dist/{store-DEWnip2G.d.ts → store-BIDKtpjW.d.ts} +56 -1
- package/dist/{system-ILHCZOVO.js → system-LFIMY3QQ.js} +3 -3
- package/dist/{tag-SKCHM3U5.js → tag-W7ZYPXHK.js} +3 -3
- package/dist/{task-7AOBP7WC.js → task-DHTPD66H.js} +5 -5
- package/dist/task-view-J2WRE62C.js +10 -0
- package/dist/transaction-ANNDXCJM.js +12 -0
- package/dist/transcription-DFTQ4FQ4.js +12 -0
- package/dist/{types-BB8-SLEa.d.ts → types-C64g-IXg.d.ts} +87 -2
- package/dist/user-widget-5IRVORF3.js +8 -0
- package/dist/workspace-RC4V4IF3.js +8 -0
- package/package.json +7 -7
- package/dist/account-MWNCH4GJ.js +0 -12
- package/dist/budget-NN7P35XP.js +0 -12
- package/dist/canvas-6WYBNH53.js +0 -10
- package/dist/channel-AT3LQF4A.js +0 -12
- package/dist/chat-message-47LETTYF.js +0 -10
- package/dist/comment-NIMFL4XB.js +0 -10
- package/dist/dashboard-JMKTTRA7.js +0 -10
- package/dist/database-GIXSPZJW.js +0 -10
- package/dist/database-field-3EPAMZUR.js +0 -10
- package/dist/database-row-5MEIOJ52.js +0 -10
- package/dist/database-select-option-BBBJFLLH.js +0 -10
- package/dist/database-view-DM7YCTZT.js +0 -10
- package/dist/experiment-DOVOZ34Y.js +0 -10
- package/dist/external-reference-7BSFF6SA.js +0 -8
- package/dist/feed-2IXHHP6O.js +0 -12
- package/dist/feed-item-DPE6LN7I.js +0 -12
- package/dist/grant-WTQSNT5A.js +0 -8
- package/dist/import-batch-IXBJLQPJ.js +0 -12
- package/dist/map-RG5Y3CPC.js +0 -10
- package/dist/media-asset-QTCGLIZA.js +0 -8
- package/dist/metric-65SVOX5C.js +0 -10
- package/dist/milestone-XEO6ZGDG.js +0 -12
- package/dist/observation-2Y3QKUXM.js +0 -10
- package/dist/page-2V27JGKJ.js +0 -10
- package/dist/posting-GBOSZCMZ.js +0 -12
- package/dist/project-CQL5LN26.js +0 -10
- package/dist/reaction-T2DTJBBV.js +0 -10
- package/dist/saved-view-4R2DBCL3.js +0 -10
- package/dist/task-view-NUGKELJP.js +0 -10
- package/dist/transaction-ZDSEGDIR.js +0 -12
- package/dist/transcription-PSCLDAGX.js +0 -12
- package/dist/user-widget-RLY2N46A.js +0 -8
- package/dist/workspace-WDKSQMOK.js +0 -8
|
@@ -231,7 +231,7 @@ interface NodeQueryDescriptor {
|
|
|
231
231
|
authFingerprint?: string;
|
|
232
232
|
}
|
|
233
233
|
interface NodeQueryPlanMetadata {
|
|
234
|
-
strategy: 'storage-query' | 'list-fallback' | 'auth-pushdown-candidates';
|
|
234
|
+
strategy: 'storage-query' | 'list-fallback' | 'auth-pushdown-candidates' | 'draft-overlay';
|
|
235
235
|
candidateNodeCount: number;
|
|
236
236
|
hydratedNodeCount: number;
|
|
237
237
|
returnedNodeCount: number;
|
|
@@ -444,6 +444,12 @@ interface StoreAuthAPI {
|
|
|
444
444
|
action: AuthAction;
|
|
445
445
|
nodeId: string;
|
|
446
446
|
patch?: Record<string, unknown>;
|
|
447
|
+
/** Draft node for create checks (0304) — evaluated when nodeId is not stored. */
|
|
448
|
+
node?: {
|
|
449
|
+
schemaId: SchemaIRI;
|
|
450
|
+
createdBy?: DID$1;
|
|
451
|
+
properties?: Record<string, unknown>;
|
|
452
|
+
};
|
|
447
453
|
}): Promise<AuthDecision>;
|
|
448
454
|
explain(input: {
|
|
449
455
|
action: AuthAction;
|
|
@@ -546,6 +552,11 @@ declare class StoreAuth implements StoreAuthAPI {
|
|
|
546
552
|
action: AuthAction;
|
|
547
553
|
nodeId: string;
|
|
548
554
|
patch?: Record<string, unknown>;
|
|
555
|
+
node?: {
|
|
556
|
+
schemaId: SchemaIRI;
|
|
557
|
+
createdBy?: DID$1;
|
|
558
|
+
properties?: Record<string, unknown>;
|
|
559
|
+
};
|
|
549
560
|
}): Promise<AuthDecision>;
|
|
550
561
|
explain(input: {
|
|
551
562
|
action: AuthAction;
|
|
@@ -777,6 +788,12 @@ interface PropertyTimestamp {
|
|
|
777
788
|
author: DID$1;
|
|
778
789
|
/** Wall clock time (for display) */
|
|
779
790
|
wallTime: number;
|
|
791
|
+
/**
|
|
792
|
+
* Grinding-resistant LWW tiebreak key (exploration 0305;
|
|
793
|
+
* `computeLwwTiebreakKey`). Present only for protocol v4+ writes; absent
|
|
794
|
+
* (legacy) timestamps fall back to the author-DID tiebreak.
|
|
795
|
+
*/
|
|
796
|
+
tiebreakKey?: string;
|
|
780
797
|
}
|
|
781
798
|
/**
|
|
782
799
|
* Materialized Node state with LWW metadata.
|
|
@@ -942,6 +959,74 @@ interface NodeStorageAdapter {
|
|
|
942
959
|
setAppState?(key: string, value: string): Promise<void>;
|
|
943
960
|
getDocumentContent(nodeId: NodeId): Promise<Uint8Array | null>;
|
|
944
961
|
setDocumentContent(nodeId: NodeId, content: Uint8Array): Promise<void>;
|
|
962
|
+
/**
|
|
963
|
+
* Pin registry (exploration 0329): keys pinned here are exempt from history
|
|
964
|
+
* pruning and Yjs snapshot eviction. A key is either a change hash or a
|
|
965
|
+
* `yjs:<nodeId>@<timestamp>` snapshot ref; owners (checkpoints, drafts)
|
|
966
|
+
* release all their pins in one call when they are deleted. Blobs are NOT
|
|
967
|
+
* pinned — referenced blobs past retention are an explicit blob horizon.
|
|
968
|
+
* Optional: without it, pruning behaves as before (nothing is protected).
|
|
969
|
+
*/
|
|
970
|
+
pins?: PinRegistry;
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* Checked-out draft overlay (exploration 0329): while set on a NodeStore,
|
|
974
|
+
* reads of an original member id return its clone's content (under the
|
|
975
|
+
* original id — MV id lists and grid ordering never see clone ids), writes
|
|
976
|
+
* to members redirect to their clones, and the first write to a not-yet-
|
|
977
|
+
* forked member triggers `onMissingMember` (lazy copy-on-write, wired to
|
|
978
|
+
* `forkNodeIntoDraft`). Only ids in `members` are overlay-managed — all
|
|
979
|
+
* other reads/writes pass through untouched, so bookkeeping writes (the
|
|
980
|
+
* draft node itself, profiles, unrelated content) never fork.
|
|
981
|
+
*/
|
|
982
|
+
interface CheckedOutDraftOverlay {
|
|
983
|
+
/** The Draft node that owns this checkout. */
|
|
984
|
+
draftId: NodeId;
|
|
985
|
+
/**
|
|
986
|
+
* The draft's declared scope: ids eligible for overlay + lazy COW.
|
|
987
|
+
* `'dynamic'` (agent-PR sessions, 0329 P4) makes EVERY written id a
|
|
988
|
+
* candidate — `onMissingMember` decides per id (never-fork schemas and
|
|
989
|
+
* bookkeeping decline by returning null).
|
|
990
|
+
*/
|
|
991
|
+
members: readonly NodeId[] | 'dynamic';
|
|
992
|
+
/** originalId -> cloneId for members already forked. */
|
|
993
|
+
clones: Record<NodeId, NodeId>;
|
|
994
|
+
/**
|
|
995
|
+
* Schema IRIs the members span. Queries against OTHER schemas keep their
|
|
996
|
+
* indexed fast path (nothing to overlay); queries against these take the
|
|
997
|
+
* draft-aware path (clone values drive filter/sort — a JS re-apply over
|
|
998
|
+
* unpaginated candidates, the accepted transient-session cost). Omitted =
|
|
999
|
+
* conservative: every query takes the draft-aware path.
|
|
1000
|
+
*/
|
|
1001
|
+
memberSchemaIds?: readonly string[];
|
|
1002
|
+
/**
|
|
1003
|
+
* Lazy copy-on-write: fork `originalId` into the draft and return the
|
|
1004
|
+
* clone id (or null to decline — the write then targets the original).
|
|
1005
|
+
*/
|
|
1006
|
+
onMissingMember?: (originalId: NodeId) => Promise<NodeId | null>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Fired when a NEW node is created while this draft is checked out
|
|
1009
|
+
* (draft-born; promoted to a fresh main node on merge). Agent-PR sessions
|
|
1010
|
+
* wire this to `markCreatedInDraft`.
|
|
1011
|
+
*/
|
|
1012
|
+
onNodeCreated?: (nodeId: NodeId, schemaId: string) => void;
|
|
1013
|
+
}
|
|
1014
|
+
/** One pinned key: a change hash or a `yjs:`-prefixed snapshot ref. */
|
|
1015
|
+
interface PinEntry {
|
|
1016
|
+
key: string;
|
|
1017
|
+
ownerId: string;
|
|
1018
|
+
reason: string;
|
|
1019
|
+
}
|
|
1020
|
+
/** Pin registry capability on a storage adapter (exploration 0329). */
|
|
1021
|
+
interface PinRegistry {
|
|
1022
|
+
/** Add pins (idempotent per (key, ownerId)). */
|
|
1023
|
+
addPins(pins: readonly PinEntry[]): Promise<void>;
|
|
1024
|
+
/** Release every pin held by an owner (checkpoint/draft deletion). */
|
|
1025
|
+
removePinsByOwner(ownerId: string): Promise<void>;
|
|
1026
|
+
/** Of the given keys, return the subset pinned by any owner. */
|
|
1027
|
+
getPinnedKeysAmong(keys: readonly string[]): Promise<Set<string>>;
|
|
1028
|
+
/** Total number of pins (diagnostics). */
|
|
1029
|
+
countPins(): Promise<number>;
|
|
945
1030
|
}
|
|
946
1031
|
interface SetNodeOptions {
|
|
947
1032
|
/**
|
|
@@ -1588,4 +1673,4 @@ type InferNode<P extends Record<string, PropertyBuilder>> = {
|
|
|
1588
1673
|
createdBy: DID;
|
|
1589
1674
|
} & InferProperties<P>;
|
|
1590
1675
|
|
|
1591
|
-
export {
|
|
1676
|
+
export { lensRegistry as $, isNode as A, createNodeId as B, type CreateNodeOptions$1 as C, type DefinedSchema as D, type PropertyType as E, type PropertyDefinition as F, type GetWithMigrationOptions as G, type ValidationError as H, type InferCreateProps as I, type CreateNodeOptions as J, type InferPropertyType as K, type ListNodesOptions as L, type MigratedNodeState as M, type NodeQueryPageCountMode as N, type OfflineAuthPolicy as O, type PropertyBuilder as P, type InferProperties as Q, type InferNode as R, type SchemaIRI as S, type TransactionOperation as T, type UpdateNodeOptions as U, type ValidationResult as V, type SchemaLens as W, type LensOperation as X, type MigrationResult as Y, MigrationError as Z, LensRegistry as _, type Schema as a, mergeOfflinePolicy as a$, type PropertyKey as a0, type NodePayload as a1, type PropertyTimestamp as a2, type PinEntry as a3, type PinRegistry as a4, type SetNodeOptions as a5, type ImportNodesOptions as a6, type RebuildNodeIndexesOptions as a7, type ApplyNodeBatchInput as a8, type ApplyNodeBatchResult as a9, type NodeContentCipher as aA, type ContentKeyCache as aB, type MigrationInfo as aC, createNodeQueryDescriptor as aD, encodeNodeQueryCursor as aE, decodeNodeQueryCursor as aF, nodeQueryDescriptorToOptions as aG, serializeNodeQueryDescriptor as aH, matchesNodeQueryDescriptor as aI, filterNodeQueryResults as aJ, sortNodeQueryResults as aK, applyNodeQueryDescriptor as aL, getNodeQuerySearchTokens as aM, nodeQueryDescriptorNeedsBoundedReload as aN, withoutNodeQueryPagination as aO, withoutNodeQueryMaterializedView as aP, isTempId as aQ, TEMP_ID_PREFIX as aR, resolveTempIds as aS, createSchemaLookup as aT, type SchemaLookup as aU, type TempIdResolution as aV, StoreAuth as aW, GrantRateLimiter as aX, GRANT_SCHEMA_IRI as aY, isGrantActive as aZ, DEFAULT_OFFLINE_POLICY as a_, type NodeBatchIndexMode as aa, type NodeBatchNotificationMode as ab, type NodeBatchSyncMode as ac, type NodeBatchPreflightResult as ad, type DeterministicNodeBatchWriteInput as ae, type NodeBatchWritePolicy as af, type NodeBatchWriteTimings as ag, type CountNodesOptions as ah, type NodeQuerySpatialPoint as ai, type NodeQuerySpatialRect as aj, type NodeQuerySpatialPointFields as ak, type NodeQuerySpatialRectFields as al, type NodeQuerySpatialWindow as am, type NodeQuerySpatialRadius as an, type NodeQuerySpatialFilter as ao, type NodeQuerySearchField as ap, type NodeQuerySearchFilter as aq, type NodeQueryMaterializedViewOptions as ar, type NodeQueryPageOptions as as, type NodeQueryCursorOrderEntry as at, type NodeQueryCursor as au, type NodeQueryOptions as av, type NodeQueryPlanMetadata as aw, type NodeQueryParityCheckMetadata as ax, type ConflictResult as ay, type NodeBatchChangeEvent as az, type ParsedSchemaIRI as b, type StoreAuthOptions as b0, type StoreAuthStore as b1, type StoreAuthKeyManager as b2, type GrantInput as b3, type Grant as b4, StoreAuthError as b5, type StoreAuthErrorCode as b6, type GrantNode as b7, type GrantIndexStore as b8, type GrantIndexOptions as b9, type RevocationConsistency as ba, type RevocationConfig as bb, type GrantRateLimiterOptions as bc, type NodeReadAuthorizer as bd, type AuthorizationStateVersion as be, type OperationNodeBatchWriteInput as bf, type PropertyLookup as bg, createPropertyLookup as bh, type DocumentType as bi, DEFAULT_SCHEMA_VERSION as bj, parseSchemaIRI as bk, buildSchemaIRI as bl, normalizeSchemaIRI as bm, getBaseSchemaIRI as bn, isSameSchema as bo, getSchemaVersion as bp, type SortDirection as c, type SystemOrderField as d, type StoreAuthAPI as e, type NodeStoreOptions as f, type NodeStorageAdapter as g, type NodeState as h, type NodeId as i, type CheckedOutDraftOverlay as j, type NodeQueryDescriptor as k, type NodeQueryResult as l, type TransactionResult as m, type DeterministicNodeImportDraft as n, type ImportDeterministicNodesOptions as o, type ImportDeterministicNodesResult as p, type NodeBatchWriteInput as q, type NodeBatchWriteResult as r, type NodeChange as s, type MergeConflict as t, type NodeChangeListener as u, type NodeBatchChangeListener as v, type NodeChangeEvent as w, GrantIndex as x, type Node as y, type DID as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xnetjs/data",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"nanoid": "^5.1.6",
|
|
58
58
|
"y-protocols": "^1.0.6",
|
|
59
59
|
"yjs": "^13.6.24",
|
|
60
|
-
"@xnetjs/core": "0.
|
|
61
|
-
"@xnetjs/crypto": "0.
|
|
62
|
-
"@xnetjs/identity": "0.
|
|
63
|
-
"@xnetjs/sqlite": "0.
|
|
64
|
-
"@xnetjs/storage": "0.
|
|
65
|
-
"@xnetjs/sync": "0.
|
|
60
|
+
"@xnetjs/core": "2.0.0",
|
|
61
|
+
"@xnetjs/crypto": "2.0.0",
|
|
62
|
+
"@xnetjs/identity": "2.0.0",
|
|
63
|
+
"@xnetjs/sqlite": "2.0.0",
|
|
64
|
+
"@xnetjs/storage": "2.0.0",
|
|
65
|
+
"@xnetjs/sync": "2.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"tsup": "^8.0.0",
|
package/dist/account-MWNCH4GJ.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ACCOUNT_SCHEMA_IRI,
|
|
3
|
-
AccountSchema
|
|
4
|
-
} from "./chunk-XMSKJ5PV.js";
|
|
5
|
-
import "./chunk-OCMSAKWV.js";
|
|
6
|
-
import "./chunk-T5AZAOG5.js";
|
|
7
|
-
import "./chunk-EBNMV2VO.js";
|
|
8
|
-
import "./chunk-RL64OJJ5.js";
|
|
9
|
-
export {
|
|
10
|
-
ACCOUNT_SCHEMA_IRI,
|
|
11
|
-
AccountSchema
|
|
12
|
-
};
|
package/dist/budget-NN7P35XP.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BUDGET_SCHEMA_IRI,
|
|
3
|
-
BudgetSchema
|
|
4
|
-
} from "./chunk-ZPZ7XDA6.js";
|
|
5
|
-
import "./chunk-OCMSAKWV.js";
|
|
6
|
-
import "./chunk-T5AZAOG5.js";
|
|
7
|
-
import "./chunk-EBNMV2VO.js";
|
|
8
|
-
import "./chunk-RL64OJJ5.js";
|
|
9
|
-
export {
|
|
10
|
-
BUDGET_SCHEMA_IRI,
|
|
11
|
-
BudgetSchema
|
|
12
|
-
};
|
package/dist/canvas-6WYBNH53.js
DELETED
package/dist/channel-AT3LQF4A.js
DELETED
package/dist/comment-NIMFL4XB.js
DELETED
package/dist/feed-2IXHHP6O.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
FEED_ITEM_SCHEMA_IRI,
|
|
3
|
-
FeedItemSchema
|
|
4
|
-
} from "./chunk-5EXHNXPL.js";
|
|
5
|
-
import "./chunk-OCMSAKWV.js";
|
|
6
|
-
import "./chunk-T5AZAOG5.js";
|
|
7
|
-
import "./chunk-EBNMV2VO.js";
|
|
8
|
-
import "./chunk-RL64OJJ5.js";
|
|
9
|
-
export {
|
|
10
|
-
FEED_ITEM_SCHEMA_IRI,
|
|
11
|
-
FeedItemSchema
|
|
12
|
-
};
|
package/dist/grant-WTQSNT5A.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IMPORT_BATCH_SCHEMA_IRI,
|
|
3
|
-
ImportBatchSchema
|
|
4
|
-
} from "./chunk-VQ7JHB67.js";
|
|
5
|
-
import "./chunk-OCMSAKWV.js";
|
|
6
|
-
import "./chunk-T5AZAOG5.js";
|
|
7
|
-
import "./chunk-EBNMV2VO.js";
|
|
8
|
-
import "./chunk-RL64OJJ5.js";
|
|
9
|
-
export {
|
|
10
|
-
IMPORT_BATCH_SCHEMA_IRI,
|
|
11
|
-
ImportBatchSchema
|
|
12
|
-
};
|
package/dist/map-RG5Y3CPC.js
DELETED
package/dist/metric-65SVOX5C.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MILESTONE_SCHEMA_IRI,
|
|
3
|
-
MilestoneSchema
|
|
4
|
-
} from "./chunk-OGJCRNGE.js";
|
|
5
|
-
import "./chunk-OCMSAKWV.js";
|
|
6
|
-
import "./chunk-T5AZAOG5.js";
|
|
7
|
-
import "./chunk-EBNMV2VO.js";
|
|
8
|
-
import "./chunk-RL64OJJ5.js";
|
|
9
|
-
export {
|
|
10
|
-
MILESTONE_SCHEMA_IRI,
|
|
11
|
-
MilestoneSchema
|
|
12
|
-
};
|
package/dist/page-2V27JGKJ.js
DELETED
package/dist/posting-GBOSZCMZ.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
POSTING_SCHEMA_IRI,
|
|
3
|
-
PostingSchema
|
|
4
|
-
} from "./chunk-JDFNMFOZ.js";
|
|
5
|
-
import "./chunk-OCMSAKWV.js";
|
|
6
|
-
import "./chunk-T5AZAOG5.js";
|
|
7
|
-
import "./chunk-EBNMV2VO.js";
|
|
8
|
-
import "./chunk-RL64OJJ5.js";
|
|
9
|
-
export {
|
|
10
|
-
POSTING_SCHEMA_IRI,
|
|
11
|
-
PostingSchema
|
|
12
|
-
};
|
package/dist/project-CQL5LN26.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TRANSACTION_SCHEMA_IRI,
|
|
3
|
-
TransactionSchema
|
|
4
|
-
} from "./chunk-MBTUO3ZL.js";
|
|
5
|
-
import "./chunk-OCMSAKWV.js";
|
|
6
|
-
import "./chunk-T5AZAOG5.js";
|
|
7
|
-
import "./chunk-EBNMV2VO.js";
|
|
8
|
-
import "./chunk-RL64OJJ5.js";
|
|
9
|
-
export {
|
|
10
|
-
TRANSACTION_SCHEMA_IRI,
|
|
11
|
-
TransactionSchema
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TRANSCRIPTION_SCHEMA_IRI,
|
|
3
|
-
TranscriptionSchema
|
|
4
|
-
} from "./chunk-2ZNJWIQG.js";
|
|
5
|
-
import "./chunk-OCMSAKWV.js";
|
|
6
|
-
import "./chunk-T5AZAOG5.js";
|
|
7
|
-
import "./chunk-EBNMV2VO.js";
|
|
8
|
-
import "./chunk-RL64OJJ5.js";
|
|
9
|
-
export {
|
|
10
|
-
TRANSCRIPTION_SCHEMA_IRI,
|
|
11
|
-
TranscriptionSchema
|
|
12
|
-
};
|