@ixo/editor 3.0.0-beta.13 → 3.0.0-beta.15

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.
@@ -0,0 +1,9 @@
1
+ import {
2
+ computeCID,
3
+ computeJsonCID
4
+ } from "./chunk-VU34HOXM.mjs";
5
+ export {
6
+ computeCID,
7
+ computeJsonCID
8
+ };
9
+ //# sourceMappingURL=cid-6O646X2I.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,5 +1,5 @@
1
- export { m as ActivationResult, l as AuthorizationContext, s as AuthorizationContextV2, A as AuthorizationResult, C as CapabilityGrant, D as DelegationStore, y as DerivedCapability, E as ExecuteNodeParams, p as ExecuteNodeParamsV2, k as ExecutionContext, q as ExecutionContextV2, j as ExecutionOutcome, F as FlowRuntimeStateManager, N as NodeActionResult, S as SimpleUCANManager, x as UCANManager, U as UcanService, u as UcanServiceConfig, w as UcanServiceHandlers, h as buildAuthzFromProps, g as buildFlowNodeFromBlock, n as clearRuntimeForTemplateClone, c as createDelegationStore, b as createMemoryDelegationStore, d as createRuntimeStateManager, t as createUcanService, e as executeNode, o as executeNodeWithInvocation, f as findValidCapability, i as isActorAuthorized, r as isActorAuthorizedV2, a as isNodeActive, v as validateCapabilityChain } from '../capabilityValidation-BrYCMvBB.mjs';
2
- export { A as ActivationCondition, C as Capability, m as CapabilityURI, a as CapabilityValidationResult, o as ClaimCollectionURI, G as CreateDelegationParams, H as CreateInvocationParams, B as CreateRootDelegationParams, n as DID, y as DelegationChainValidationResult, D as DelegationGrant, E as EvaluationStatus, x as ExecutionWithInvocationResult, z as FindProofsResult, r as FlowNode, F as FlowNodeAuthzExtension, q as FlowNodeBase, p as FlowNodeRuntimeState, v as InvocationRequest, w as InvocationResult, l as InvocationStore, L as LinkedClaim, M as MigrationReport, N as NodeState, S as SignedCapability, t as StoredDelegation, u as StoredInvocation, s as UcanCapability, U as UcanDelegationStore, j as createInvocationStore, k as createMemoryInvocationStore, i as createMemoryUcanDelegationStore, h as createUcanDelegationStore } from '../index-BE746hd_.mjs';
1
+ export { m as ActivationResult, l as AuthorizationContext, s as AuthorizationContextV2, A as AuthorizationResult, C as CapabilityGrant, D as DelegationStore, y as DerivedCapability, E as ExecuteNodeParams, p as ExecuteNodeParamsV2, k as ExecutionContext, q as ExecutionContextV2, j as ExecutionOutcome, F as FlowRuntimeStateManager, N as NodeActionResult, S as SimpleUCANManager, x as UCANManager, U as UcanService, u as UcanServiceConfig, w as UcanServiceHandlers, h as buildAuthzFromProps, g as buildFlowNodeFromBlock, n as clearRuntimeForTemplateClone, c as createDelegationStore, b as createMemoryDelegationStore, d as createRuntimeStateManager, t as createUcanService, e as executeNode, o as executeNodeWithInvocation, f as findValidCapability, i as isActorAuthorized, r as isActorAuthorizedV2, a as isNodeActive, v as validateCapabilityChain } from '../capabilityValidation-Bnn8B_8a.mjs';
2
+ export { A as ActivationCondition, C as Capability, m as CapabilityURI, a as CapabilityValidationResult, o as ClaimCollectionURI, G as CreateDelegationParams, H as CreateInvocationParams, B as CreateRootDelegationParams, n as DID, y as DelegationChainValidationResult, D as DelegationGrant, E as EvaluationStatus, x as ExecutionWithInvocationResult, z as FindProofsResult, r as FlowNode, F as FlowNodeAuthzExtension, q as FlowNodeBase, p as FlowNodeRuntimeState, v as InvocationRequest, w as InvocationResult, l as InvocationStore, L as LinkedClaim, M as MigrationReport, N as NodeState, S as SignedCapability, t as StoredDelegation, u as StoredInvocation, s as UcanCapability, U as UcanDelegationStore, j as createInvocationStore, k as createMemoryInvocationStore, i as createMemoryUcanDelegationStore, h as createUcanDelegationStore } from '../index-tyLe-Ge8.mjs';
3
3
  import '@ixo/ucan';
4
4
  import 'yjs';
5
5
  import '@blocknote/core';
@@ -138,6 +138,17 @@ interface ActionServices {
138
138
  };
139
139
  createUdid?: (params: any) => Promise<any>;
140
140
  };
141
+ matrix?: {
142
+ storeCredential: (params: {
143
+ roomId: string;
144
+ credentialKey: string;
145
+ credential: Record<string, any>;
146
+ cid: string;
147
+ }) => Promise<{
148
+ storedAt: string;
149
+ duplicate: boolean;
150
+ }>;
151
+ };
141
152
  }
142
153
  interface OutputSchemaField {
143
154
  path: string;
@@ -174,4 +185,17 @@ declare function hasAction(type: string): boolean;
174
185
  */
175
186
  declare function buildServicesFromHandlers(handlers: any): ActionServices;
176
187
 
177
- export { type ActionContext, type ActionDefinition, type ActionResult, type ActionServices, type OutputSchemaField, buildServicesFromHandlers, getAction, getAllActions, hasAction, registerAction };
188
+ /**
189
+ * Compute an IPFS-compatible CID for arbitrary content.
190
+ * Dependencies are lazy-loaded to avoid bundling IPFS libraries
191
+ * into the main entry point.
192
+ *
193
+ * Uses CIDv0 with raw leaves disabled to match ixo ecosystem conventions.
194
+ */
195
+ declare function computeCID(content: Uint8Array): Promise<string>;
196
+ /**
197
+ * Compute CID for a JSON object by stringifying and encoding to UTF-8.
198
+ */
199
+ declare function computeJsonCID(obj: Record<string, any>): Promise<string>;
200
+
201
+ export { type ActionContext, type ActionDefinition, type ActionResult, type ActionServices, type OutputSchemaField, buildServicesFromHandlers, computeCID, computeJsonCID, getAction, getAllActions, hasAction, registerAction };
@@ -23,13 +23,19 @@ import {
23
23
  isNodeActive,
24
24
  registerAction,
25
25
  validateCapabilityChain
26
- } from "../chunk-MVIGR7ZU.mjs";
26
+ } from "../chunk-UHF7YDII.mjs";
27
+ import {
28
+ computeCID,
29
+ computeJsonCID
30
+ } from "../chunk-VU34HOXM.mjs";
27
31
  export {
28
32
  SimpleUCANManager,
29
33
  buildAuthzFromProps,
30
34
  buildFlowNodeFromBlock,
31
35
  buildServicesFromHandlers,
32
36
  clearRuntimeForTemplateClone,
37
+ computeCID,
38
+ computeJsonCID,
33
39
  createDelegationStore,
34
40
  createInvocationStore,
35
41
  createMemoryDelegationStore,
@@ -1,5 +1,5 @@
1
1
  import * as _blocknote_core from '@blocknote/core';
2
- import { K as IxoBlockProps, J as IxoEditorType, I as IxoEditorOptions, e as IxoCollaborativeEditorOptions, D as DelegationGrant } from './index-BE746hd_.mjs';
2
+ import { K as IxoBlockProps, J as IxoEditorType, I as IxoEditorOptions, e as IxoCollaborativeEditorOptions, D as DelegationGrant } from './index-tyLe-Ge8.mjs';
3
3
  import { Text, Doc, Map, Array as Array$1 } from 'yjs';
4
4
  import React from 'react';
5
5
  import { MatrixClient } from 'matrix-js-sdk';
@@ -1899,6 +1899,19 @@ interface BlocknoteHandlers {
1899
1899
  id: string;
1900
1900
  message: string;
1901
1901
  }>;
1902
+ /**
1903
+ * Store a verifiable credential in Matrix room state.
1904
+ * Used by the credential.store action type.
1905
+ */
1906
+ storeMatrixCredential?: (params: {
1907
+ roomId: string;
1908
+ credentialKey: string;
1909
+ credential: Record<string, any>;
1910
+ cid: string;
1911
+ }) => Promise<{
1912
+ storedAt: string;
1913
+ duplicate: boolean;
1914
+ }>;
1902
1915
  /**
1903
1916
  * Get the rubric linked resource for a deed
1904
1917
  */
@@ -706,128 +706,6 @@ declare const blockSpecs: {
706
706
  readonly content: "none";
707
707
  }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
708
708
  };
709
- bid: {
710
- config: {
711
- readonly type: "bid";
712
- readonly propSchema: {
713
- readonly title: {
714
- readonly default: "";
715
- };
716
- readonly description: {
717
- readonly default: "";
718
- };
719
- readonly did: {
720
- readonly default: "";
721
- };
722
- readonly selectedCollections: {
723
- readonly default: "[]";
724
- };
725
- readonly adminAddress: {
726
- readonly default: "";
727
- };
728
- readonly parentCapability: {
729
- readonly default: "";
730
- };
731
- readonly authorisedActors: {
732
- readonly default: "";
733
- };
734
- readonly linkedClaimCollectionId: {
735
- readonly default: "";
736
- };
737
- readonly activationUpstreamNodeId: {
738
- readonly default: "";
739
- };
740
- readonly activationRequiredStatus: {
741
- readonly default: "";
742
- };
743
- readonly activationRequireAuthorisedActor: {
744
- readonly default: false;
745
- };
746
- readonly hookedActions: {
747
- readonly default: "";
748
- };
749
- readonly ttlAbsoluteDueDate: {
750
- readonly default: "";
751
- };
752
- readonly ttlFromEnablement: {
753
- readonly default: "";
754
- };
755
- readonly ttlFromCommitment: {
756
- readonly default: "";
757
- };
758
- readonly assignment: {
759
- readonly default: string;
760
- };
761
- readonly commitment: {
762
- readonly default: string;
763
- };
764
- readonly skill: {
765
- readonly default: "";
766
- };
767
- };
768
- readonly content: "none";
769
- };
770
- implementation: _blocknote_core.TiptapBlockImplementation<{
771
- readonly type: "bid";
772
- readonly propSchema: {
773
- readonly title: {
774
- readonly default: "";
775
- };
776
- readonly description: {
777
- readonly default: "";
778
- };
779
- readonly did: {
780
- readonly default: "";
781
- };
782
- readonly selectedCollections: {
783
- readonly default: "[]";
784
- };
785
- readonly adminAddress: {
786
- readonly default: "";
787
- };
788
- readonly parentCapability: {
789
- readonly default: "";
790
- };
791
- readonly authorisedActors: {
792
- readonly default: "";
793
- };
794
- readonly linkedClaimCollectionId: {
795
- readonly default: "";
796
- };
797
- readonly activationUpstreamNodeId: {
798
- readonly default: "";
799
- };
800
- readonly activationRequiredStatus: {
801
- readonly default: "";
802
- };
803
- readonly activationRequireAuthorisedActor: {
804
- readonly default: false;
805
- };
806
- readonly hookedActions: {
807
- readonly default: "";
808
- };
809
- readonly ttlAbsoluteDueDate: {
810
- readonly default: "";
811
- };
812
- readonly ttlFromEnablement: {
813
- readonly default: "";
814
- };
815
- readonly ttlFromCommitment: {
816
- readonly default: "";
817
- };
818
- readonly assignment: {
819
- readonly default: string;
820
- };
821
- readonly commitment: {
822
- readonly default: string;
823
- };
824
- readonly skill: {
825
- readonly default: "";
826
- };
827
- };
828
- readonly content: "none";
829
- }, any, _blocknote_core.InlineContentSchema, _blocknote_core.StyleSchema>;
830
- };
831
709
  evaluator: {
832
710
  config: {
833
711
  readonly type: "evaluator";
@@ -2342,6 +2220,8 @@ interface FlowMetadata {
2342
2220
  createdBy: string;
2343
2221
  /** DID of the flow owner who has root signing authority */
2344
2222
  flowOwnerDid: string;
2223
+ /** Custom flow settings set by template creators (e.g. protocolDid) */
2224
+ [key: string]: any;
2345
2225
  }
2346
2226
  /**
2347
2227
  * Image data returned from publicFileUpload handler
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { N as Addr, n as ApiRequestBlockProps, h as ApiRequestBlockSpec, A as AuthorizationTab, d as AuthorizationTabState, t as AuthzExecActionTypes, B as BlockPresenceUser, x as BlockRequirements, w as BlocknoteContextValue, v as BlocknoteHandlers, q as BlocknoteProvider, i as CheckboxBlockProps, g as CheckboxBlockSpec, Z as CosmosMsgForEmpty, C as CoverImage, c as CoverImageProps, a0 as Entity, a1 as EntityResponse, f as EntitySigningSetup, a2 as EntityVariables, E as EvaluationTab, e as EvaluationTabState, R as Expiration, F as FlowPermissionsPanel, G as GrantPermissionModal, a3 as GraphQLClient, a6 as GraphQLRequest, a5 as GraphQLResponse, H as HttpMethod, I as IxoEditor, b as IxoEditorProps, K as KeyValuePair, k as ListBlockProps, j as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, l as OverviewBlockProps, _ as ProposalAction, m as ProposalBlockProps, P as ProposalBlockSpec, y as ProposalResponse, z as SingleChoiceProposal, S as StakeType, S as StakeTypeValue, W as Status, X as Threshold, T as Timestamp, Q as Uint128, U as User, V as ValidatorActionType, M as Vote, J as VoteInfo, D as VoteResponse, Y as Votes, $ as getEntity, a4 as ixoGraphQLClient, o as useBlockPresence, r as useBlocknoteContext, s as useBlocknoteHandlers, a as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor, p as useTrackBlockFocus } from './graphql-client-DSJ3fRVn.mjs';
2
- export { m as ActivationResult, l as AuthorizationContext, A as AuthorizationResult, D as DelegationStore, E as ExecuteNodeParams, k as ExecutionContext, j as ExecutionOutcome, F as FlowRuntimeStateManager, N as NodeActionResult, h as buildAuthzFromProps, g as buildFlowNodeFromBlock, c as createDelegationStore, b as createMemoryDelegationStore, d as createRuntimeStateManager, e as executeNode, f as findValidCapability, i as isActorAuthorized, a as isNodeActive, v as validateCapabilityChain } from './capabilityValidation-BrYCMvBB.mjs';
3
- export { C as Capability, a as CapabilityValidationResult, D as DelegationGrant, e as IxoCollaborativeEditorOptions, d as IxoCollaborativeUser, c as IxoEditorConfig, I as IxoEditorOptions, b as IxoEditorTheme, S as SignedCapability, f as blockSpecs, g as getExtraSlashMenuItems } from './index-BE746hd_.mjs';
1
+ export { N as Addr, n as ApiRequestBlockProps, h as ApiRequestBlockSpec, A as AuthorizationTab, d as AuthorizationTabState, t as AuthzExecActionTypes, B as BlockPresenceUser, x as BlockRequirements, w as BlocknoteContextValue, v as BlocknoteHandlers, q as BlocknoteProvider, i as CheckboxBlockProps, g as CheckboxBlockSpec, Z as CosmosMsgForEmpty, C as CoverImage, c as CoverImageProps, a0 as Entity, a1 as EntityResponse, f as EntitySigningSetup, a2 as EntityVariables, E as EvaluationTab, e as EvaluationTabState, R as Expiration, F as FlowPermissionsPanel, G as GrantPermissionModal, a3 as GraphQLClient, a6 as GraphQLRequest, a5 as GraphQLResponse, H as HttpMethod, I as IxoEditor, b as IxoEditorProps, K as KeyValuePair, k as ListBlockProps, j as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, l as OverviewBlockProps, _ as ProposalAction, m as ProposalBlockProps, P as ProposalBlockSpec, y as ProposalResponse, z as SingleChoiceProposal, S as StakeType, S as StakeTypeValue, W as Status, X as Threshold, T as Timestamp, Q as Uint128, U as User, V as ValidatorActionType, M as Vote, J as VoteInfo, D as VoteResponse, Y as Votes, $ as getEntity, a4 as ixoGraphQLClient, o as useBlockPresence, r as useBlocknoteContext, s as useBlocknoteHandlers, a as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor, p as useTrackBlockFocus } from './graphql-client-B5bA19FP.mjs';
2
+ export { m as ActivationResult, l as AuthorizationContext, A as AuthorizationResult, D as DelegationStore, E as ExecuteNodeParams, k as ExecutionContext, j as ExecutionOutcome, F as FlowRuntimeStateManager, N as NodeActionResult, h as buildAuthzFromProps, g as buildFlowNodeFromBlock, c as createDelegationStore, b as createMemoryDelegationStore, d as createRuntimeStateManager, e as executeNode, f as findValidCapability, i as isActorAuthorized, a as isNodeActive, v as validateCapabilityChain } from './capabilityValidation-Bnn8B_8a.mjs';
3
+ export { C as Capability, a as CapabilityValidationResult, D as DelegationGrant, e as IxoCollaborativeEditorOptions, d as IxoCollaborativeUser, c as IxoEditorConfig, I as IxoEditorOptions, b as IxoEditorTheme, S as SignedCapability, f as blockSpecs, g as getExtraSlashMenuItems } from './index-tyLe-Ge8.mjs';
4
4
  export { CloneDocumentResult, cloneDocument } from '@ixo/matrix-crdt';
5
5
  export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
6
6
  import 'yjs';
package/dist/index.mjs CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  useCreateCollaborativeIxoEditor,
27
27
  useCreateIxoEditor,
28
28
  useTrackBlockFocus
29
- } from "./chunk-255WVXBP.mjs";
29
+ } from "./chunk-XSMXAAJC.mjs";
30
30
  import {
31
31
  buildAuthzFromProps,
32
32
  buildFlowNodeFromBlock,
@@ -38,7 +38,7 @@ import {
38
38
  isActorAuthorized,
39
39
  isNodeActive,
40
40
  validateCapabilityChain
41
- } from "./chunk-MVIGR7ZU.mjs";
41
+ } from "./chunk-UHF7YDII.mjs";
42
42
 
43
43
  // src/index.ts
44
44
  import { cloneDocument } from "@ixo/matrix-crdt";
@@ -1,8 +1,8 @@
1
- import { v as BlocknoteHandlers } from '../graphql-client-DSJ3fRVn.mjs';
2
- export { N as Addr, n as ApiRequestBlockProps, h as ApiRequestBlockSpec, A as AuthorizationTab, d as AuthorizationTabState, t as AuthzExecActionTypes, B as BlockPresenceUser, x as BlockRequirements, w as BlocknoteContextValue, q as BlocknoteProvider, i as CheckboxBlockProps, g as CheckboxBlockSpec, Z as CosmosMsgForEmpty, C as CoverImage, c as CoverImageProps, ah as DomainCardData, ag as DomainCardRenderer, a8 as DropPosition, ad as DynamicListData, ae as DynamicListDataProvider, af as DynamicListPanelRenderer, a0 as Entity, a1 as EntityResponse, f as EntitySigningSetup, a2 as EntityVariables, E as EvaluationTab, e as EvaluationTabState, R as Expiration, a7 as ExternalDropZone, F as FlowPermissionsPanel, G as GrantPermissionModal, a3 as GraphQLClient, a6 as GraphQLRequest, a5 as GraphQLResponse, H as HttpMethod, I as IxoEditor, b as IxoEditorProps, K as KeyValuePair, k as ListBlockProps, j as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, l as OverviewBlockProps, a9 as PageHeader, ab as PageHeaderMenuItem, aa as PageHeaderProps, _ as ProposalAction, m as ProposalBlockProps, P as ProposalBlockSpec, y as ProposalResponse, z as SingleChoiceProposal, S as StakeType, S as StakeTypeValue, W as Status, X as Threshold, T as Timestamp, Q as Uint128, U as User, V as ValidatorActionType, ac as VisualizationRenderer, M as Vote, J as VoteInfo, D as VoteResponse, Y as Votes, $ as getEntity, a4 as ixoGraphQLClient, o as useBlockPresence, r as useBlocknoteContext, s as useBlocknoteHandlers, a as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor, p as useTrackBlockFocus } from '../graphql-client-DSJ3fRVn.mjs';
1
+ import { v as BlocknoteHandlers } from '../graphql-client-B5bA19FP.mjs';
2
+ export { N as Addr, n as ApiRequestBlockProps, h as ApiRequestBlockSpec, A as AuthorizationTab, d as AuthorizationTabState, t as AuthzExecActionTypes, B as BlockPresenceUser, x as BlockRequirements, w as BlocknoteContextValue, q as BlocknoteProvider, i as CheckboxBlockProps, g as CheckboxBlockSpec, Z as CosmosMsgForEmpty, C as CoverImage, c as CoverImageProps, ah as DomainCardData, ag as DomainCardRenderer, a8 as DropPosition, ad as DynamicListData, ae as DynamicListDataProvider, af as DynamicListPanelRenderer, a0 as Entity, a1 as EntityResponse, f as EntitySigningSetup, a2 as EntityVariables, E as EvaluationTab, e as EvaluationTabState, R as Expiration, a7 as ExternalDropZone, F as FlowPermissionsPanel, G as GrantPermissionModal, a3 as GraphQLClient, a6 as GraphQLRequest, a5 as GraphQLResponse, H as HttpMethod, I as IxoEditor, b as IxoEditorProps, K as KeyValuePair, k as ListBlockProps, j as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, l as OverviewBlockProps, a9 as PageHeader, ab as PageHeaderMenuItem, aa as PageHeaderProps, _ as ProposalAction, m as ProposalBlockProps, P as ProposalBlockSpec, y as ProposalResponse, z as SingleChoiceProposal, S as StakeType, S as StakeTypeValue, W as Status, X as Threshold, T as Timestamp, Q as Uint128, U as User, V as ValidatorActionType, ac as VisualizationRenderer, M as Vote, J as VoteInfo, D as VoteResponse, Y as Votes, $ as getEntity, a4 as ixoGraphQLClient, o as useBlockPresence, r as useBlocknoteContext, s as useBlocknoteHandlers, a as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor, p as useTrackBlockFocus } from '../graphql-client-B5bA19FP.mjs';
3
3
  import React$1, { PropsWithChildren } from 'react';
4
- import { K as IxoBlockProps, J as IxoEditorType, p as FlowNodeRuntimeState } from '../index-BE746hd_.mjs';
5
- export { e as IxoCollaborativeEditorOptions, d as IxoCollaborativeUser, c as IxoEditorConfig, I as IxoEditorOptions, b as IxoEditorTheme, f as blockSpecs, g as getExtraSlashMenuItems } from '../index-BE746hd_.mjs';
4
+ import { K as IxoBlockProps, J as IxoEditorType, p as FlowNodeRuntimeState } from '../index-tyLe-Ge8.mjs';
5
+ export { e as IxoCollaborativeEditorOptions, d as IxoCollaborativeUser, c as IxoEditorConfig, I as IxoEditorOptions, b as IxoEditorTheme, f as blockSpecs, g as getExtraSlashMenuItems } from '../index-tyLe-Ge8.mjs';
6
6
  import * as zustand from 'zustand';
7
7
  import * as _blocknote_core from '@blocknote/core';
8
8
  export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
@@ -143,6 +143,10 @@ interface DynamicListPanelConfig {
143
143
  actions?: DynamicListAction[];
144
144
  }
145
145
 
146
+ declare function DebugButton({ editor }: {
147
+ editor: IxoEditorType;
148
+ }): React$1.JSX.Element;
149
+
146
150
  interface BaseIconPickerProps {
147
151
  opened: boolean;
148
152
  onClose: () => void;
@@ -361,4 +365,4 @@ interface HookedActionsTabProps {
361
365
 
362
366
  declare const HookedActionsTab: React$1.FC<HookedActionsTabProps>;
363
367
 
364
- export { BaseIconPicker, type BlockActionDefinition, BlocknoteHandlers, type CollapseEvent, type ColumnPosition, type DataSource, type DynamicListAction, type DynamicListBlockProps, DynamicListBlockSpec, type DynamicListColumn, type DynamicListPanelConfig, type HookedActionInstanceConfig, type HookedActionType, type HookedActionsConfig, HookedActionsTab, IxoEditorType, type ListBlocksUIContextValue, type Listener, type PayloadField, getAllHookedActionTypes, getBlockActions, getHookedActionType, initializeHookedActions, registerBlockActions, registerBuiltInActionTypes, registerHookedActionType, useHookedActions, useListBlocksUI, useListBlocksUIStore, useNodeRuntime, usePanel, usePanelStore };
368
+ export { BaseIconPicker, type BlockActionDefinition, BlocknoteHandlers, type CollapseEvent, type ColumnPosition, type DataSource, DebugButton, type DynamicListAction, type DynamicListBlockProps, DynamicListBlockSpec, type DynamicListColumn, type DynamicListPanelConfig, type HookedActionInstanceConfig, type HookedActionType, type HookedActionsConfig, HookedActionsTab, IxoEditorType, type ListBlocksUIContextValue, type Listener, type PayloadField, getAllHookedActionTypes, getBlockActions, getHookedActionType, initializeHookedActions, registerBlockActions, registerBuiltInActionTypes, registerHookedActionType, useHookedActions, useListBlocksUI, useListBlocksUIStore, useNodeRuntime, usePanel, usePanelStore };
@@ -6,6 +6,7 @@ import {
6
6
  BlocknoteProvider,
7
7
  CheckboxBlockSpec,
8
8
  CoverImage,
9
+ DebugButton,
9
10
  DynamicListBlockSpec,
10
11
  EntitySigningSetup,
11
12
  EvaluationTab,
@@ -44,8 +45,8 @@ import {
44
45
  usePanel,
45
46
  usePanelStore,
46
47
  useTrackBlockFocus
47
- } from "../chunk-255WVXBP.mjs";
48
- import "../chunk-MVIGR7ZU.mjs";
48
+ } from "../chunk-XSMXAAJC.mjs";
49
+ import "../chunk-UHF7YDII.mjs";
49
50
  export {
50
51
  ApiRequestBlockSpec,
51
52
  AuthorizationTab,
@@ -54,6 +55,7 @@ export {
54
55
  BlocknoteProvider,
55
56
  CheckboxBlockSpec,
56
57
  CoverImage,
58
+ DebugButton,
57
59
  DynamicListBlockSpec,
58
60
  EntitySigningSetup,
59
61
  EvaluationTab,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "3.0.0-beta.13",
3
+ "version": "3.0.0-beta.15",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -69,6 +69,9 @@
69
69
  "@dnd-kit/core": "^6.3.1",
70
70
  "@ixo/ucan": "^1.0.1",
71
71
  "@tabler/icons-react": "3.35.0",
72
+ "blockstore-core": "^6.1.2",
73
+ "ipfs-unixfs-importer": "^16.1.1",
74
+ "multiformats": "^13.4.2",
72
75
  "yjs": "13.6.27",
73
76
  "zustand": "5.0.8"
74
77
  },