@xnetjs/data 2.4.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.
- package/dist/auth/index.d.ts +4 -4
- package/dist/{chunk-Y2XWK7AA.js → chunk-JF4VCZER.js} +14 -0
- package/dist/{chunk-CNGEXCIH.js → chunk-MAB662PR.js} +9 -9
- package/dist/{chunk-56EXPOJ4.js → chunk-TW5XJHNF.js} +25 -10
- package/dist/{clone-BsoRt89i.d.ts → clone-VRVODkBn.d.ts} +14 -4
- package/dist/database/index.d.ts +15 -3
- package/dist/database/index.js +2 -2
- package/dist/{grant-expiration-cleaner-BwdmRFua.d.ts → grant-expiration-cleaner-CTsW0hvU.d.ts} +2 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.js +459 -459
- package/dist/{page-RUS2BKMX.js → page-MADZ5OHM.js} +1 -1
- package/dist/{query-ast-DYGcKxoa.d.ts → query-ast-h31svZnG.d.ts} +1 -1
- package/dist/{registry-D_3b1Lg6.d.ts → registry-Dh4Kr3fo.d.ts} +1 -1
- package/dist/schema/index.d.ts +14 -5
- package/dist/schema/index.js +29 -29
- package/dist/store/index.d.ts +4 -4
- package/dist/store/index.js +4 -4
- package/dist/{store-BMnhBWzM.d.ts → store-jukJYsvr.d.ts} +1 -1
- package/dist/{types-cycApzib.d.ts → types-Z9dUzbDF.d.ts} +1 -1
- package/package.json +7 -7
- package/dist/{chunk-EGGRKSRH.js → chunk-ODOPVGUX.js} +6 -6
|
@@ -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-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-
|
|
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.
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema,
|
|
2
|
-
export { aa as CreateNodeOptions,
|
|
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-
|
|
4
|
+
import { S as SavedViewDescriptor } from '../query-ast-h31svZnG.js';
|
|
5
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-
|
|
7
|
-
export { S as SchemaRegistry, s as schemaRegistry } from '../registry-
|
|
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>;
|
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-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-
|
|
322
|
+
} from "../chunk-JF4VCZER.js";
|
|
323
323
|
import {
|
|
324
324
|
FOLDER_SCHEMA_IRI,
|
|
325
325
|
FolderSchema,
|
|
@@ -339,6 +339,33 @@ 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";
|
|
342
369
|
import {
|
|
343
370
|
evaluateLedgerWrite,
|
|
344
371
|
foldAccountRecord,
|
|
@@ -381,33 +408,6 @@ import {
|
|
|
381
408
|
resolveSchemaAuthority,
|
|
382
409
|
validateSchemaDefinitionNode
|
|
383
410
|
} 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, 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,
|
|
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,
|
|
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, 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';
|
package/dist/store/index.js
CHANGED
|
@@ -49,10 +49,7 @@ import {
|
|
|
49
49
|
sum,
|
|
50
50
|
validateQueryAST,
|
|
51
51
|
validateSavedViewDescriptor
|
|
52
|
-
} from "../chunk-
|
|
53
|
-
import "../chunk-3UOUVEZW.js";
|
|
54
|
-
import "../chunk-5ECIKN6Z.js";
|
|
55
|
-
import "../chunk-ZNHLH7SC.js";
|
|
52
|
+
} from "../chunk-ODOPVGUX.js";
|
|
56
53
|
import {
|
|
57
54
|
applyNodeQueryDescriptor,
|
|
58
55
|
createNodeQueryDescriptor,
|
|
@@ -68,6 +65,9 @@ import {
|
|
|
68
65
|
withoutNodeQueryMaterializedView,
|
|
69
66
|
withoutNodeQueryPagination
|
|
70
67
|
} 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,4 @@
|
|
|
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-Z9dUzbDF.js';
|
|
2
2
|
import { ContentId } from '@xnetjs/core';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1673,4 +1673,4 @@ type InferNode<P extends Record<string, PropertyBuilder>> = {
|
|
|
1673
1673
|
createdBy: DID;
|
|
1674
1674
|
} & InferProperties<P>;
|
|
1675
1675
|
|
|
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
|
|
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
|
+
"version": "2.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"nanoid": "^5.1.6",
|
|
62
62
|
"y-protocols": "^1.0.6",
|
|
63
63
|
"yjs": "^13.6.24",
|
|
64
|
-
"@xnetjs/core": "2.
|
|
65
|
-
"@xnetjs/crypto": "2.
|
|
66
|
-
"@xnetjs/identity": "2.
|
|
67
|
-
"@xnetjs/sqlite": "2.
|
|
68
|
-
"@xnetjs/storage": "2.
|
|
69
|
-
"@xnetjs/sync": "2.
|
|
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"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"tsup": "^8.0.0",
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
applyNodeQueryDescriptor,
|
|
3
|
+
getNodeQuerySearchTokens,
|
|
4
|
+
withoutNodeQueryMaterializedView,
|
|
5
|
+
withoutNodeQueryPagination
|
|
6
|
+
} from "./chunk-WOEFYS7Y.js";
|
|
1
7
|
import {
|
|
2
8
|
evaluateLedgerWrite,
|
|
3
9
|
foldAccountRecord,
|
|
@@ -13,12 +19,6 @@ import {
|
|
|
13
19
|
isSystemNamespaceResource,
|
|
14
20
|
isSystemSchemaIri
|
|
15
21
|
} from "./chunk-ZNHLH7SC.js";
|
|
16
|
-
import {
|
|
17
|
-
applyNodeQueryDescriptor,
|
|
18
|
-
getNodeQuerySearchTokens,
|
|
19
|
-
withoutNodeQueryMaterializedView,
|
|
20
|
-
withoutNodeQueryPagination
|
|
21
|
-
} from "./chunk-WOEFYS7Y.js";
|
|
22
22
|
import {
|
|
23
23
|
createNodeId,
|
|
24
24
|
getBaseSchemaIRI
|