@xnetjs/data 2.3.0 → 2.5.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PageSchema
3
- } from "./chunk-Y2XWK7AA.js";
3
+ } from "./chunk-JF4VCZER.js";
4
4
  import "./chunk-RLRAWZJE.js";
5
5
  import "./chunk-GSLOK5KV.js";
6
6
  import "./chunk-NH6OLO3X.js";
@@ -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-gws1tSf-.js';
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-Z9dUzbDF.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-gws1tSf-.js';
1
+ import { P as PropertyBuilder, D as DefinedSchema, S as SchemaIRI, a as Schema, b as ParsedSchemaIRI } from './types-Z9dUzbDF.js';
2
2
 
3
3
  /**
4
4
  * Schema Registry - Runtime lookup for schema definitions.
@@ -1,10 +1,10 @@
1
- import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bd as DocumentType, z as DID, R as InferNode, V as ValidationResult, a as Schema, E as PropertyType, h as NodeState, w as NodeChangeEvent, H as ValidationError, X as LensOperation, W as SchemaLens } from '../types-gws1tSf-.js';
2
- export { J as CreateNodeOptions, be as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, Q as InferProperties, K as InferPropertyType, _ as LensRegistry, Z as MigrationError, Y as MigrationResult, y as Node, b as ParsedSchemaIRI, F as PropertyDefinition, bg as buildSchemaIRI, B as createNodeId, bi as getBaseSchemaIRI, bk as getSchemaVersion, A as isNode, bj as isSameSchema, $ as lensRegistry, bh as normalizeSchemaIRI, bf as parseSchemaIRI } from '../types-gws1tSf-.js';
1
+ import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bi 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-Z9dUzbDF.js';
2
+ export { aa as CreateNodeOptions, bj 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, bl as buildSchemaIRI, a6 as createNodeId, bn as getBaseSchemaIRI, bp as getSchemaVersion, a5 as isNode, bo as isSameSchema, aj as lensRegistry, bm as normalizeSchemaIRI, bk as parseSchemaIRI } from '../types-Z9dUzbDF.js';
3
3
  import { AuthorizationDefinition } from '@xnetjs/core';
4
- import { S as SavedViewDescriptor } from '../query-ast-DQJO7yRV.js';
5
- import { Y as FilterGroup, $ as SortConfig, ap as SummaryFunction, a6 as FormViewConfig, a7 as FormFieldRule, a9 as FormSubmissionMeta } from '../form-types-BrHYdpi0.js';
6
- import { N as NodeStore } from '../store-BYkdPZRJ.js';
7
- export { S as SchemaRegistry, s as schemaRegistry } from '../registry-C9IRLLeR.js';
4
+ import { S as SavedViewDescriptor } from '../query-ast-h31svZnG.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-jukJYsvr.js';
7
+ export { S as SchemaRegistry, s as schemaRegistry } from '../registry-Dh4Kr3fo.js';
8
8
  import '@xnetjs/crypto';
9
9
  import '@xnetjs/sqlite';
10
10
  import '@xnetjs/sync';
@@ -1377,6 +1377,13 @@ declare const PageSchema: DefinedSchema<{
1377
1377
  space: PropertyBuilder<string>;
1378
1378
  /** Per-node visibility; `inherit` defers to the Space (exploration 0179) */
1379
1379
  visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1380
+ /**
1381
+ * Page geometry (exploration 0346): how the page's frame children
1382
+ * arrange — a linear stack (document, default), a tiled grid
1383
+ * (dashboard-style), or free space (canvas-style). A view property:
1384
+ * toggling never converts the frames themselves.
1385
+ */
1386
+ geometry: PropertyBuilder<"grid" | "space" | "stack">;
1380
1387
  }>;
1381
1388
  /**
1382
1389
  * A Page node type (inferred from schema).
@@ -4684,6 +4691,7 @@ declare const builtInSchemas: {
4684
4691
  tags: PropertyBuilder<string[]>;
4685
4692
  space: PropertyBuilder<string>;
4686
4693
  visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
4694
+ geometry: PropertyBuilder<"grid" | "space" | "stack">;
4687
4695
  }>>;
4688
4696
  readonly 'xnet://xnet.fyi/Folder@1.0.0': () => Promise<DefinedSchema<{
4689
4697
  name: PropertyBuilder<string>;
@@ -5865,6 +5873,7 @@ declare const builtInSchemas: {
5865
5873
  tags: PropertyBuilder<string[]>;
5866
5874
  space: PropertyBuilder<string>;
5867
5875
  visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
5876
+ geometry: PropertyBuilder<"grid" | "space" | "stack">;
5868
5877
  }>>;
5869
5878
  readonly 'xnet://xnet.fyi/Folder': () => Promise<DefinedSchema<{
5870
5879
  name: PropertyBuilder<string>;
@@ -66,7 +66,7 @@ import {
66
66
  taskBranchName,
67
67
  transform,
68
68
  when
69
- } from "../chunk-32IVMT6Z.js";
69
+ } from "../chunk-MAB662PR.js";
70
70
  import {
71
71
  AbuseReportSchema,
72
72
  AppealSchema,
@@ -319,7 +319,7 @@ import {
319
319
  } from "../chunk-R2AZXT3D.js";
320
320
  import {
321
321
  PageSchema
322
- } from "../chunk-Y2XWK7AA.js";
322
+ } from "../chunk-JF4VCZER.js";
323
323
  import {
324
324
  FOLDER_SCHEMA_IRI,
325
325
  FolderSchema,
@@ -1,7 +1,7 @@
1
- import { g as NodeStorageAdapter, s as NodeChange, i as NodeId, h as NodeState, ad as NodeBatchPreflightResult, a6 as ImportNodesOptions, a8 as ApplyNodeBatchInput, a9 as ApplyNodeBatchResult, L as ListNodesOptions, ah as CountNodesOptions, a4 as PinRegistry, a5 as SetNodeOptions, k as NodeQueryDescriptor, l as NodeQueryResult, S as SchemaIRI, a7 as RebuildNodeIndexesOptions, bl as NodeReadAuthorizer, bm as AuthorizationStateVersion } from '../types-gws1tSf-.js';
2
- export { j as CheckedOutDraftOverlay, ay as ConflictResult, aB as ContentKeyCache, C as CreateNodeOptions, ae as DeterministicNodeBatchWriteInput, n as DeterministicNodeImportDraft, G as GetWithMigrationOptions, o as ImportDeterministicNodesOptions, p as ImportDeterministicNodesResult, t as MergeConflict, M as MigratedNodeState, aC as MigrationInfo, az as NodeBatchChangeEvent, v as NodeBatchChangeListener, aa as NodeBatchIndexMode, ab as NodeBatchNotificationMode, ac as NodeBatchSyncMode, q as NodeBatchWriteInput, af as NodeBatchWritePolicy, r as NodeBatchWriteResult, ag as NodeBatchWriteTimings, w as NodeChangeEvent, u as NodeChangeListener, aA as NodeContentCipher, a1 as NodePayload, au as NodeQueryCursor, at as NodeQueryCursorOrderEntry, ar as NodeQueryMaterializedViewOptions, av as NodeQueryOptions, N as NodeQueryPageCountMode, as as NodeQueryPageOptions, ax as NodeQueryParityCheckMetadata, aw as NodeQueryPlanMetadata, ap as NodeQuerySearchField, aq as NodeQuerySearchFilter, ao as NodeQuerySpatialFilter, ai as NodeQuerySpatialPoint, ak as NodeQuerySpatialPointFields, an as NodeQuerySpatialRadius, aj as NodeQuerySpatialRect, al as NodeQuerySpatialRectFields, am as NodeQuerySpatialWindow, f as NodeStoreOptions, bn as OperationNodeBatchWriteInput, a3 as PinEntry, a0 as PropertyKey, bo as PropertyLookup, a2 as PropertyTimestamp, aU as SchemaLookup, c as SortDirection, d as SystemOrderField, aR as TEMP_ID_PREFIX, aV as TempIdResolution, T as TransactionOperation, m as TransactionResult, U as UpdateNodeOptions, aL as applyNodeQueryDescriptor, aD as createNodeQueryDescriptor, bp as createPropertyLookup, aT as createSchemaLookup, aF as decodeNodeQueryCursor, aE as encodeNodeQueryCursor, aJ as filterNodeQueryResults, aM as getNodeQuerySearchTokens, aQ as isTempId, aI as matchesNodeQueryDescriptor, aN as nodeQueryDescriptorNeedsBoundedReload, aG as nodeQueryDescriptorToOptions, aS as resolveTempIds, aH as serializeNodeQueryDescriptor, aK as sortNodeQueryResults, aP as withoutNodeQueryMaterializedView, aO as withoutNodeQueryPagination } from '../types-gws1tSf-.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-DQJO7yRV.js';
4
- export { N as NodeStore } from '../store-BYkdPZRJ.js';
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, bd as NodeReadAuthorizer, be as AuthorizationStateVersion } from '../types-Z9dUzbDF.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, bf as OperationNodeBatchWriteInput, am as PinEntry, ak as PropertyKey, bg 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, bh 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-Z9dUzbDF.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-h31svZnG.js';
4
+ export { N as NodeStore } from '../store-jukJYsvr.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';
@@ -49,7 +49,7 @@ import {
49
49
  sum,
50
50
  validateQueryAST,
51
51
  validateSavedViewDescriptor
52
- } from "../chunk-27AF2RSY.js";
52
+ } from "../chunk-ODOPVGUX.js";
53
53
  import {
54
54
  applyNodeQueryDescriptor,
55
55
  createNodeQueryDescriptor,
@@ -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-gws1tSf-.js';
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-Z9dUzbDF.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 { 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 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 Node as y, type DID as z };
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 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 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.0",
3
+ "version": "2.5.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.3.0",
61
- "@xnetjs/crypto": "2.3.0",
62
- "@xnetjs/identity": "2.3.0",
63
- "@xnetjs/sqlite": "2.3.0",
64
- "@xnetjs/storage": "2.3.0",
65
- "@xnetjs/sync": "2.3.0"
64
+ "@xnetjs/core": "2.5.0",
65
+ "@xnetjs/crypto": "2.5.0",
66
+ "@xnetjs/identity": "2.5.0",
67
+ "@xnetjs/sqlite": "2.5.0",
68
+ "@xnetjs/storage": "2.5.0",
69
+ "@xnetjs/sync": "2.5.0"
66
70
  },
67
71
  "devDependencies": {
68
72
  "tsup": "^8.0.0",