@ixo/editor 1.11.0 → 1.12.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/index.d.ts CHANGED
@@ -835,6 +835,11 @@ interface ValidatorDetails extends Validator {
835
835
  interface LinkedResourceDetails extends LinkedResource {
836
836
  actionSections: SelectionActionSection[];
837
837
  }
838
+ interface DAOGroup {
839
+ id: string;
840
+ name: string;
841
+ coreAddress: string;
842
+ }
838
843
  interface BlockRequirements {
839
844
  proposal?: {
840
845
  coreAddress: string;
@@ -888,6 +893,7 @@ interface BlocknoteHandlers {
888
893
  getProposal: (proposalContractAddress: string, proposalId: string) => Promise<ProposalResponse>;
889
894
  getCurrentUser: () => User;
890
895
  getDaoGroupsIds: () => Promise<string[] | undefined>;
896
+ getDAOGroups: () => Promise<DAOGroup[]>;
891
897
  getEntityDid: () => string | undefined;
892
898
  vote: ({ proposalId, rationale, vote, proposalContractAddress }: VoteParams) => Promise<void>;
893
899
  createProposal: (params: CreateProposalParams) => Promise<string>;
@@ -1076,6 +1082,9 @@ declare const ProposalBlockSpec: {
1076
1082
  readonly proposalContractAddress: {
1077
1083
  readonly default: "";
1078
1084
  };
1085
+ readonly coreAddress: {
1086
+ readonly default: "";
1087
+ };
1079
1088
  readonly conditions: {
1080
1089
  readonly default: "";
1081
1090
  };
@@ -1122,6 +1131,9 @@ declare const ProposalBlockSpec: {
1122
1131
  readonly proposalContractAddress: {
1123
1132
  readonly default: "";
1124
1133
  };
1134
+ readonly coreAddress: {
1135
+ readonly default: "";
1136
+ };
1125
1137
  readonly conditions: {
1126
1138
  readonly default: "";
1127
1139
  };
@@ -1420,6 +1432,9 @@ declare const blockSpecs: {
1420
1432
  readonly proposalContractAddress: {
1421
1433
  readonly default: "";
1422
1434
  };
1435
+ readonly coreAddress: {
1436
+ readonly default: "";
1437
+ };
1423
1438
  readonly conditions: {
1424
1439
  readonly default: "";
1425
1440
  };
@@ -1466,6 +1481,9 @@ declare const blockSpecs: {
1466
1481
  readonly proposalContractAddress: {
1467
1482
  readonly default: "";
1468
1483
  };
1484
+ readonly coreAddress: {
1485
+ readonly default: "";
1486
+ };
1469
1487
  readonly conditions: {
1470
1488
  readonly default: "";
1471
1489
  };
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  useBlocknoteHandlers,
19
19
  useCreateCollaborativeIxoEditor,
20
20
  useCreateIxoEditor
21
- } from "./chunk-7MKIYHNA.mjs";
21
+ } from "./chunk-74X5B74P.mjs";
22
22
  export {
23
23
  ApiRequestBlockSpec,
24
24
  AuthzExecActionTypes,
@@ -18,7 +18,7 @@ import {
18
18
  useBlocknoteHandlers,
19
19
  useCreateCollaborativeIxoEditor,
20
20
  useCreateIxoEditor
21
- } from "../chunk-7MKIYHNA.mjs";
21
+ } from "../chunk-74X5B74P.mjs";
22
22
  export {
23
23
  ApiRequestBlockSpec,
24
24
  AuthzExecActionTypes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",