@xnetjs/data 2.3.0 → 2.4.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/auth/index.d.ts +4 -4
- package/dist/{chunk-27AF2RSY.js → chunk-EGGRKSRH.js} +18 -6
- package/dist/{clone-rOJgldM-.d.ts → clone-BsoRt89i.d.ts} +4 -4
- package/dist/database/index.d.ts +5 -5
- package/dist/{form-types-BrHYdpi0.d.ts → form-types-Dkqm9UO2.d.ts} +1 -1
- package/dist/{grant-expiration-cleaner-CRS9OyhV.d.ts → grant-expiration-cleaner-BwdmRFua.d.ts} +3 -3
- package/dist/index.d.ts +319 -8
- package/dist/index.js +975 -324
- package/dist/{query-ast-DQJO7yRV.d.ts → query-ast-DYGcKxoa.d.ts} +1 -1
- package/dist/{registry-C9IRLLeR.d.ts → registry-D_3b1Lg6.d.ts} +1 -1
- package/dist/schema/index.d.ts +6 -6
- package/dist/schema/index.js +28 -28
- package/dist/store/index.d.ts +4 -4
- package/dist/store/index.js +4 -4
- package/dist/{store-BYkdPZRJ.d.ts → store-BMnhBWzM.d.ts} +9 -1
- package/dist/{types-gws1tSf-.d.ts → types-cycApzib.d.ts} +1 -1
- package/package.json +11 -7
- package/dist/{chunk-32IVMT6Z.js → chunk-CNGEXCIH.js} +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SchemaIRI, c as SortDirection, N as NodeQueryPageCountMode, P as PropertyBuilder, I as InferCreateProps, D as DefinedSchema, d as SystemOrderField } from './types-
|
|
1
|
+
import { S as SchemaIRI, c as SortDirection, N as NodeQueryPageCountMode, P as PropertyBuilder, I as InferCreateProps, D as DefinedSchema, d as SystemOrderField } from './types-cycApzib.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Canonical query AST for advanced Node reads.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PropertyBuilder, D as DefinedSchema, S as SchemaIRI, a as Schema, b as ParsedSchemaIRI } from './types-
|
|
1
|
+
import { P as PropertyBuilder, D as DefinedSchema, S as SchemaIRI, a as Schema, b as ParsedSchemaIRI } from './types-cycApzib.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Schema Registry - Runtime lookup for schema definitions.
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bd as DocumentType,
|
|
2
|
-
export {
|
|
1
|
+
import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bd as DocumentType, a4 as DID, ad as InferNode, a8 as ValidationResult, a as Schema, a7 as PropertyType, h as NodeState, w as NodeChangeEvent, a9 as ValidationError, af as LensOperation, ae as SchemaLens } from '../types-cycApzib.js';
|
|
2
|
+
export { aa as CreateNodeOptions, be as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, ac as InferProperties, ab as InferPropertyType, ai as LensRegistry, ah as MigrationError, ag as MigrationResult, a3 as Node, b as ParsedSchemaIRI, y as PropertyDefinition, bg as buildSchemaIRI, a6 as createNodeId, bi as getBaseSchemaIRI, bk as getSchemaVersion, a5 as isNode, bj as isSameSchema, aj as lensRegistry, bh as normalizeSchemaIRI, bf as parseSchemaIRI } from '../types-cycApzib.js';
|
|
3
3
|
import { AuthorizationDefinition } from '@xnetjs/core';
|
|
4
|
-
import { S as SavedViewDescriptor } from '../query-ast-
|
|
5
|
-
import {
|
|
6
|
-
import { N as NodeStore } from '../store-
|
|
7
|
-
export { S as SchemaRegistry, s as schemaRegistry } from '../registry-
|
|
4
|
+
import { S as SavedViewDescriptor } from '../query-ast-DYGcKxoa.js';
|
|
5
|
+
import { F as FilterGroup, S as SortConfig, ap as SummaryFunction, $ as FormViewConfig, a0 as FormFieldRule, a2 as FormSubmissionMeta } from '../form-types-Dkqm9UO2.js';
|
|
6
|
+
import { N as NodeStore } from '../store-BMnhBWzM.js';
|
|
7
|
+
export { S as SchemaRegistry, s as schemaRegistry } from '../registry-D_3b1Lg6.js';
|
|
8
8
|
import '@xnetjs/crypto';
|
|
9
9
|
import '@xnetjs/sqlite';
|
|
10
10
|
import '@xnetjs/sync';
|
package/dist/schema/index.js
CHANGED
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
taskBranchName,
|
|
67
67
|
transform,
|
|
68
68
|
when
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-CNGEXCIH.js";
|
|
70
70
|
import {
|
|
71
71
|
AbuseReportSchema,
|
|
72
72
|
AppealSchema,
|
|
@@ -339,33 +339,6 @@ import {
|
|
|
339
339
|
import {
|
|
340
340
|
DatabaseSchema
|
|
341
341
|
} from "../chunk-JB6BPIVP.js";
|
|
342
|
-
import {
|
|
343
|
-
EXT_PREFIX,
|
|
344
|
-
extKey,
|
|
345
|
-
isExtKey,
|
|
346
|
-
parseExtKey
|
|
347
|
-
} from "../chunk-PMUQACPY.js";
|
|
348
|
-
import {
|
|
349
|
-
EXTENSION_FIELD_SCHEMA_IRI,
|
|
350
|
-
ExtensionFieldSchema,
|
|
351
|
-
SCHEMA_EXTENSION_SCHEMA_IRI,
|
|
352
|
-
SchemaExtensionSchema,
|
|
353
|
-
schemaExtensionId
|
|
354
|
-
} from "../chunk-2JROE7ML.js";
|
|
355
|
-
import "../chunk-QWFTRZQT.js";
|
|
356
|
-
import {
|
|
357
|
-
DatabaseRowSchema
|
|
358
|
-
} from "../chunk-AKKBG7HW.js";
|
|
359
|
-
import {
|
|
360
|
-
DatabaseFieldSchema
|
|
361
|
-
} from "../chunk-IKREWSCX.js";
|
|
362
|
-
import {
|
|
363
|
-
DatabaseSelectOptionSchema
|
|
364
|
-
} from "../chunk-XP3VSSXD.js";
|
|
365
|
-
import {
|
|
366
|
-
DatabaseViewSchema
|
|
367
|
-
} from "../chunk-UFV5QWCL.js";
|
|
368
|
-
import "../chunk-RLRAWZJE.js";
|
|
369
342
|
import {
|
|
370
343
|
evaluateLedgerWrite,
|
|
371
344
|
foldAccountRecord,
|
|
@@ -408,6 +381,33 @@ import {
|
|
|
408
381
|
resolveSchemaAuthority,
|
|
409
382
|
validateSchemaDefinitionNode
|
|
410
383
|
} from "../chunk-ZNHLH7SC.js";
|
|
384
|
+
import {
|
|
385
|
+
EXT_PREFIX,
|
|
386
|
+
extKey,
|
|
387
|
+
isExtKey,
|
|
388
|
+
parseExtKey
|
|
389
|
+
} from "../chunk-PMUQACPY.js";
|
|
390
|
+
import {
|
|
391
|
+
EXTENSION_FIELD_SCHEMA_IRI,
|
|
392
|
+
ExtensionFieldSchema,
|
|
393
|
+
SCHEMA_EXTENSION_SCHEMA_IRI,
|
|
394
|
+
SchemaExtensionSchema,
|
|
395
|
+
schemaExtensionId
|
|
396
|
+
} from "../chunk-2JROE7ML.js";
|
|
397
|
+
import "../chunk-QWFTRZQT.js";
|
|
398
|
+
import {
|
|
399
|
+
DatabaseRowSchema
|
|
400
|
+
} from "../chunk-AKKBG7HW.js";
|
|
401
|
+
import {
|
|
402
|
+
DatabaseFieldSchema
|
|
403
|
+
} from "../chunk-IKREWSCX.js";
|
|
404
|
+
import {
|
|
405
|
+
DatabaseSelectOptionSchema
|
|
406
|
+
} from "../chunk-XP3VSSXD.js";
|
|
407
|
+
import {
|
|
408
|
+
DatabaseViewSchema
|
|
409
|
+
} from "../chunk-UFV5QWCL.js";
|
|
410
|
+
import "../chunk-RLRAWZJE.js";
|
|
411
411
|
import {
|
|
412
412
|
SPACE_MEMBERSHIP_SCHEMA_IRI,
|
|
413
413
|
SpaceMembershipSchema,
|
package/dist/store/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as NodeStorageAdapter, s as NodeChange, i as NodeId, h as NodeState,
|
|
2
|
-
export { j as CheckedOutDraftOverlay,
|
|
3
|
-
export { G as QUERY_AST_VERSION, r as QueryAST, n as QueryASTAggregate, A as QueryASTAggregateExecution, m as QueryASTAggregateFunction, y as QueryASTAggregateGroup, x as QueryASTAggregatePlan, z as QueryASTAggregateResult, d as QueryASTComparisonPredicate, e as QueryASTCompoundPredicate, a as QueryASTField, l as QueryASTIncludes, p as QueryASTNodeQuery, s as QueryASTNodeQueryOptions, f as QueryASTNotPredicate, c as QueryASTOperator, h as QueryASTOrderBy, i as QueryASTPage, B as QueryASTPlannerGate, g as QueryASTPredicate, q as QueryASTQuerySet, o as QueryASTQuerySetAggregate, j as QueryASTRelationDirection, k as QueryASTRelationInclude, t as QueryASTRelationIncludeOptions, w as QueryASTRelationIndexRequirement, b as QueryASTSchemaInput, u as QueryASTValidationError, v as QueryASTValidationResult, Q as QueryASTVersion, S as SavedViewDescriptor, F as SavedViewFeedDensity, E as SavedViewFeedLayout, C as SavedViewPresentationHint, D as SavedViewPresentationHintMode, V as and, a3 as avg, N as between, P as contains, a0 as count, a1 as countDistinct, a9 as dashboardQuerySet, Z as defineNodeQueryAST, a8 as defineQuerySetAST, ab as defineSavedViewDescriptor, H as eq, aj as evaluateQueryASTPlannerGate, af as executeQueryASTLoadedAggregates, ag as filterQueryASTLoadedRows, _ as follow, $ as from, ah as getQueryASTRelationIndexRequirements, a6 as groupBy, J as gt, K as gte, a7 as having, O as includesAny, U as isNotNull, T as isNull, L as lt, M as lte, ai as matchesQueryASTLoadedRow, a5 as max, a4 as min, I as neq, X as not, W as or, ae as planQueryASTAggregates, Y as queryOperators, aa as querySetCount, R as startsWith, a2 as sum, ac as validateQueryAST, ad as validateSavedViewDescriptor } from '../query-ast-
|
|
4
|
-
export { N as NodeStore } from '../store-
|
|
1
|
+
import { g as NodeStorageAdapter, s as NodeChange, i as NodeId, h as NodeState, aw as NodeBatchPreflightResult, ap as ImportNodesOptions, ar as ApplyNodeBatchInput, as as ApplyNodeBatchResult, L as ListNodesOptions, aA as CountNodesOptions, an as PinRegistry, ao as SetNodeOptions, k as NodeQueryDescriptor, l as NodeQueryResult, S as SchemaIRI, aq as RebuildNodeIndexesOptions, bl as NodeReadAuthorizer, bm as AuthorizationStateVersion } from '../types-cycApzib.js';
|
|
2
|
+
export { j as CheckedOutDraftOverlay, aR as ConflictResult, aU as ContentKeyCache, C as CreateNodeOptions, ax as DeterministicNodeBatchWriteInput, n as DeterministicNodeImportDraft, G as GetWithMigrationOptions, o as ImportDeterministicNodesOptions, p as ImportDeterministicNodesResult, t as MergeConflict, M as MigratedNodeState, aV as MigrationInfo, aS as NodeBatchChangeEvent, v as NodeBatchChangeListener, at as NodeBatchIndexMode, au as NodeBatchNotificationMode, av as NodeBatchSyncMode, q as NodeBatchWriteInput, ay as NodeBatchWritePolicy, r as NodeBatchWriteResult, az as NodeBatchWriteTimings, w as NodeChangeEvent, u as NodeChangeListener, aT as NodeContentCipher, a2 as NodePayload, aN as NodeQueryCursor, aM as NodeQueryCursorOrderEntry, aK as NodeQueryMaterializedViewOptions, aO as NodeQueryOptions, N as NodeQueryPageCountMode, aL as NodeQueryPageOptions, aQ as NodeQueryParityCheckMetadata, aP as NodeQueryPlanMetadata, aI as NodeQuerySearchField, aJ as NodeQuerySearchFilter, aH as NodeQuerySpatialFilter, aB as NodeQuerySpatialPoint, aD as NodeQuerySpatialPointFields, aG as NodeQuerySpatialRadius, aC as NodeQuerySpatialRect, aE as NodeQuerySpatialRectFields, aF as NodeQuerySpatialWindow, f as NodeStoreOptions, bn as OperationNodeBatchWriteInput, am as PinEntry, ak as PropertyKey, bo as PropertyLookup, al as PropertyTimestamp, bb as SchemaLookup, c as SortDirection, d as SystemOrderField, b8 as TEMP_ID_PREFIX, bc as TempIdResolution, T as TransactionOperation, m as TransactionResult, U as UpdateNodeOptions, b2 as applyNodeQueryDescriptor, aW as createNodeQueryDescriptor, bp as createPropertyLookup, ba as createSchemaLookup, aY as decodeNodeQueryCursor, aX as encodeNodeQueryCursor, b0 as filterNodeQueryResults, b3 as getNodeQuerySearchTokens, b7 as isTempId, a$ as matchesNodeQueryDescriptor, b4 as nodeQueryDescriptorNeedsBoundedReload, aZ as nodeQueryDescriptorToOptions, b9 as resolveTempIds, a_ as serializeNodeQueryDescriptor, b1 as sortNodeQueryResults, b6 as withoutNodeQueryMaterializedView, b5 as withoutNodeQueryPagination } from '../types-cycApzib.js';
|
|
3
|
+
export { G as QUERY_AST_VERSION, r as QueryAST, n as QueryASTAggregate, A as QueryASTAggregateExecution, m as QueryASTAggregateFunction, y as QueryASTAggregateGroup, x as QueryASTAggregatePlan, z as QueryASTAggregateResult, d as QueryASTComparisonPredicate, e as QueryASTCompoundPredicate, a as QueryASTField, l as QueryASTIncludes, p as QueryASTNodeQuery, s as QueryASTNodeQueryOptions, f as QueryASTNotPredicate, c as QueryASTOperator, h as QueryASTOrderBy, i as QueryASTPage, B as QueryASTPlannerGate, g as QueryASTPredicate, q as QueryASTQuerySet, o as QueryASTQuerySetAggregate, j as QueryASTRelationDirection, k as QueryASTRelationInclude, t as QueryASTRelationIncludeOptions, w as QueryASTRelationIndexRequirement, b as QueryASTSchemaInput, u as QueryASTValidationError, v as QueryASTValidationResult, Q as QueryASTVersion, S as SavedViewDescriptor, F as SavedViewFeedDensity, E as SavedViewFeedLayout, C as SavedViewPresentationHint, D as SavedViewPresentationHintMode, V as and, a3 as avg, N as between, P as contains, a0 as count, a1 as countDistinct, a9 as dashboardQuerySet, Z as defineNodeQueryAST, a8 as defineQuerySetAST, ab as defineSavedViewDescriptor, H as eq, aj as evaluateQueryASTPlannerGate, af as executeQueryASTLoadedAggregates, ag as filterQueryASTLoadedRows, _ as follow, $ as from, ah as getQueryASTRelationIndexRequirements, a6 as groupBy, J as gt, K as gte, a7 as having, O as includesAny, U as isNotNull, T as isNull, L as lt, M as lte, ai as matchesQueryASTLoadedRow, a5 as max, a4 as min, I as neq, X as not, W as or, ae as planQueryASTAggregates, Y as queryOperators, aa as querySetCount, R as startsWith, a2 as sum, ac as validateQueryAST, ad as validateSavedViewDescriptor } from '../query-ast-DYGcKxoa.js';
|
|
4
|
+
export { N as NodeStore } from '../store-BMnhBWzM.js';
|
|
5
5
|
import { TaggedError, AuthAction, DID, AuthDenyReason, AuthDecision, ContentId } from '@xnetjs/core';
|
|
6
6
|
import { SQLiteAdapter, SQLiteOperationStats } from '@xnetjs/sqlite';
|
|
7
7
|
import '@xnetjs/crypto';
|
package/dist/store/index.js
CHANGED
|
@@ -49,7 +49,10 @@ import {
|
|
|
49
49
|
sum,
|
|
50
50
|
validateQueryAST,
|
|
51
51
|
validateSavedViewDescriptor
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-EGGRKSRH.js";
|
|
53
|
+
import "../chunk-3UOUVEZW.js";
|
|
54
|
+
import "../chunk-5ECIKN6Z.js";
|
|
55
|
+
import "../chunk-ZNHLH7SC.js";
|
|
53
56
|
import {
|
|
54
57
|
applyNodeQueryDescriptor,
|
|
55
58
|
createNodeQueryDescriptor,
|
|
@@ -65,9 +68,6 @@ import {
|
|
|
65
68
|
withoutNodeQueryMaterializedView,
|
|
66
69
|
withoutNodeQueryPagination
|
|
67
70
|
} from "../chunk-WOEFYS7Y.js";
|
|
68
|
-
import "../chunk-3UOUVEZW.js";
|
|
69
|
-
import "../chunk-5ECIKN6Z.js";
|
|
70
|
-
import "../chunk-ZNHLH7SC.js";
|
|
71
71
|
import "../chunk-NH6OLO3X.js";
|
|
72
72
|
import "../chunk-D4LUUZYD.js";
|
|
73
73
|
export {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { e as StoreAuthAPI, f as NodeStoreOptions, g as NodeStorageAdapter, C as CreateNodeOptions, h as NodeState, i as NodeId, j as CheckedOutDraftOverlay, G as GetWithMigrationOptions, M as MigratedNodeState, U as UpdateNodeOptions, L as ListNodesOptions, k as NodeQueryDescriptor, l as NodeQueryResult, T as TransactionOperation, m as TransactionResult, n as DeterministicNodeImportDraft, o as ImportDeterministicNodesOptions, p as ImportDeterministicNodesResult, q as NodeBatchWriteInput, r as NodeBatchWriteResult, S as SchemaIRI, s as NodeChange, t as MergeConflict, u as NodeChangeListener, v as NodeBatchChangeListener } from './types-
|
|
1
|
+
import { e as StoreAuthAPI, f as NodeStoreOptions, g as NodeStorageAdapter, C as CreateNodeOptions, h as NodeState, i as NodeId, j as CheckedOutDraftOverlay, G as GetWithMigrationOptions, M as MigratedNodeState, U as UpdateNodeOptions, L as ListNodesOptions, k as NodeQueryDescriptor, l as NodeQueryResult, T as TransactionOperation, m as TransactionResult, n as DeterministicNodeImportDraft, o as ImportDeterministicNodesOptions, p as ImportDeterministicNodesResult, q as NodeBatchWriteInput, r as NodeBatchWriteResult, S as SchemaIRI, s as NodeChange, t as MergeConflict, u as NodeChangeListener, v as NodeBatchChangeListener } from './types-cycApzib.js';
|
|
2
|
+
import { ContentId } from '@xnetjs/core';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* NodeStore - Event-sourced storage for Nodes
|
|
@@ -270,6 +271,13 @@ declare class NodeStore {
|
|
|
270
271
|
* Get all changes (for full sync).
|
|
271
272
|
*/
|
|
272
273
|
getAllChanges(): Promise<NodeChange[]>;
|
|
274
|
+
/**
|
|
275
|
+
* Whether a change with this hash is already in the local log. Cheap
|
|
276
|
+
* existence probe (falls back to a full fetch when the adapter lacks the
|
|
277
|
+
* optional fast path) — used for idempotent import and bundle
|
|
278
|
+
* prerequisite checks (exploration 0344).
|
|
279
|
+
*/
|
|
280
|
+
hasChange(hash: ContentId): Promise<boolean>;
|
|
273
281
|
/**
|
|
274
282
|
* Get changes since a Lamport time (for delta sync).
|
|
275
283
|
*/
|
|
@@ -1673,4 +1673,4 @@ type InferNode<P extends Record<string, PropertyBuilder>> = {
|
|
|
1673
1673
|
createdBy: DID;
|
|
1674
1674
|
} & InferProperties<P>;
|
|
1675
1675
|
|
|
1676
|
-
export {
|
|
1676
|
+
export { type Grant as $, isGrantActive as A, type GrantNode as B, type CreateNodeOptions$1 as C, type DefinedSchema as D, type GrantIndexStore as E, type GrantIndexOptions as F, type GetWithMigrationOptions as G, DEFAULT_OFFLINE_POLICY as H, type InferCreateProps as I, mergeOfflinePolicy as J, type RevocationConfig as K, type ListNodesOptions as L, type MigratedNodeState as M, type NodeQueryPageCountMode as N, type OfflineAuthPolicy as O, type PropertyBuilder as P, GrantRateLimiter as Q, type RevocationConsistency as R, type SchemaIRI as S, type TransactionOperation as T, type UpdateNodeOptions as U, type GrantRateLimiterOptions as V, StoreAuth as W, type StoreAuthOptions as X, type StoreAuthStore as Y, type StoreAuthKeyManager as Z, type GrantInput as _, type Schema as a, matchesNodeQueryDescriptor as a$, StoreAuthError as a0, type StoreAuthErrorCode as a1, type NodePayload as a2, type Node as a3, type DID as a4, isNode as a5, createNodeId as a6, type PropertyType as a7, type ValidationResult as a8, type ValidationError as a9, type CountNodesOptions as aA, type NodeQuerySpatialPoint as aB, type NodeQuerySpatialRect as aC, type NodeQuerySpatialPointFields as aD, type NodeQuerySpatialRectFields as aE, type NodeQuerySpatialWindow as aF, type NodeQuerySpatialRadius as aG, type NodeQuerySpatialFilter as aH, type NodeQuerySearchField as aI, type NodeQuerySearchFilter as aJ, type NodeQueryMaterializedViewOptions as aK, type NodeQueryPageOptions as aL, type NodeQueryCursorOrderEntry as aM, type NodeQueryCursor as aN, type NodeQueryOptions as aO, type NodeQueryPlanMetadata as aP, type NodeQueryParityCheckMetadata as aQ, type ConflictResult as aR, type NodeBatchChangeEvent as aS, type NodeContentCipher as aT, type ContentKeyCache as aU, type MigrationInfo as aV, createNodeQueryDescriptor as aW, encodeNodeQueryCursor as aX, decodeNodeQueryCursor as aY, nodeQueryDescriptorToOptions as aZ, serializeNodeQueryDescriptor as a_, type CreateNodeOptions as aa, type InferPropertyType as ab, type InferProperties as ac, type InferNode as ad, type SchemaLens as ae, type LensOperation as af, type MigrationResult as ag, MigrationError as ah, LensRegistry as ai, lensRegistry as aj, type PropertyKey as ak, type PropertyTimestamp as al, type PinEntry as am, type PinRegistry as an, type SetNodeOptions as ao, type ImportNodesOptions as ap, type RebuildNodeIndexesOptions as aq, type ApplyNodeBatchInput as ar, type ApplyNodeBatchResult as as, type NodeBatchIndexMode as at, type NodeBatchNotificationMode as au, type NodeBatchSyncMode as av, type NodeBatchPreflightResult as aw, type DeterministicNodeBatchWriteInput as ax, type NodeBatchWritePolicy as ay, type NodeBatchWriteTimings as az, type ParsedSchemaIRI as b, filterNodeQueryResults as b0, sortNodeQueryResults as b1, applyNodeQueryDescriptor as b2, getNodeQuerySearchTokens as b3, nodeQueryDescriptorNeedsBoundedReload as b4, withoutNodeQueryPagination as b5, withoutNodeQueryMaterializedView as b6, isTempId as b7, TEMP_ID_PREFIX as b8, resolveTempIds as b9, createSchemaLookup as ba, type SchemaLookup as bb, type TempIdResolution as bc, type DocumentType as bd, DEFAULT_SCHEMA_VERSION as be, parseSchemaIRI as bf, buildSchemaIRI as bg, normalizeSchemaIRI as bh, getBaseSchemaIRI as bi, isSameSchema as bj, getSchemaVersion as bk, type NodeReadAuthorizer as bl, type AuthorizationStateVersion as bm, type OperationNodeBatchWriteInput as bn, type PropertyLookup as bo, createPropertyLookup 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 PropertyDefinition as y, GRANT_SCHEMA_IRI as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xnetjs/data",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
"import": "./dist/auth/index.js",
|
|
31
31
|
"types": "./dist/auth/index.d.ts"
|
|
32
32
|
},
|
|
33
|
+
"./portability": {
|
|
34
|
+
"import": "./dist/portability/index.js",
|
|
35
|
+
"types": "./dist/portability/index.d.ts"
|
|
36
|
+
},
|
|
33
37
|
"./updates": {
|
|
34
38
|
"import": "./dist/updates.js",
|
|
35
39
|
"types": "./dist/updates.d.ts"
|
|
@@ -57,12 +61,12 @@
|
|
|
57
61
|
"nanoid": "^5.1.6",
|
|
58
62
|
"y-protocols": "^1.0.6",
|
|
59
63
|
"yjs": "^13.6.24",
|
|
60
|
-
"@xnetjs/core": "2.
|
|
61
|
-
"@xnetjs/crypto": "2.
|
|
62
|
-
"@xnetjs/identity": "2.
|
|
63
|
-
"@xnetjs/sqlite": "2.
|
|
64
|
-
"@xnetjs/storage": "2.
|
|
65
|
-
"@xnetjs/sync": "2.
|
|
64
|
+
"@xnetjs/core": "2.4.0",
|
|
65
|
+
"@xnetjs/crypto": "2.4.0",
|
|
66
|
+
"@xnetjs/identity": "2.4.0",
|
|
67
|
+
"@xnetjs/sqlite": "2.4.0",
|
|
68
|
+
"@xnetjs/storage": "2.4.0",
|
|
69
|
+
"@xnetjs/sync": "2.4.0"
|
|
66
70
|
},
|
|
67
71
|
"devDependencies": {
|
|
68
72
|
"tsup": "^8.0.0",
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
extKey
|
|
3
|
-
} from "./chunk-PMUQACPY.js";
|
|
4
|
-
import {
|
|
5
|
-
EXTENSION_FIELD_SCHEMA_IRI,
|
|
6
|
-
SCHEMA_EXTENSION_SCHEMA_IRI
|
|
7
|
-
} from "./chunk-2JROE7ML.js";
|
|
8
1
|
import {
|
|
9
2
|
ACCOUNT_RECORD_SCHEMA_IRI,
|
|
10
3
|
DEVICE_RECORD_SCHEMA_IRI,
|
|
@@ -21,6 +14,13 @@ import {
|
|
|
21
14
|
buildSystemNodeId,
|
|
22
15
|
validateSchemaDefinitionNode
|
|
23
16
|
} from "./chunk-ZNHLH7SC.js";
|
|
17
|
+
import {
|
|
18
|
+
extKey
|
|
19
|
+
} from "./chunk-PMUQACPY.js";
|
|
20
|
+
import {
|
|
21
|
+
EXTENSION_FIELD_SCHEMA_IRI,
|
|
22
|
+
SCHEMA_EXTENSION_SCHEMA_IRI
|
|
23
|
+
} from "./chunk-2JROE7ML.js";
|
|
24
24
|
import {
|
|
25
25
|
checkbox,
|
|
26
26
|
createNodeId,
|