@ixo/editor 1.12.0 → 1.14.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
@@ -728,6 +728,18 @@ interface Request {
728
728
  totalApplications: number;
729
729
  description?: string;
730
730
  }
731
+ interface Project {
732
+ did: string;
733
+ name: string;
734
+ icon: string;
735
+ description?: string;
736
+ }
737
+ interface Dao {
738
+ did: string;
739
+ name: string;
740
+ icon: string;
741
+ description?: string;
742
+ }
731
743
  interface Oracle {
732
744
  did: string;
733
745
  name: string;
@@ -894,6 +906,7 @@ interface BlocknoteHandlers {
894
906
  getCurrentUser: () => User;
895
907
  getDaoGroupsIds: () => Promise<string[] | undefined>;
896
908
  getDAOGroups: () => Promise<DAOGroup[]>;
909
+ getRelayerDid: () => string | undefined;
897
910
  getEntityDid: () => string | undefined;
898
911
  vote: ({ proposalId, rationale, vote, proposalContractAddress }: VoteParams) => Promise<void>;
899
912
  createProposal: (params: CreateProposalParams) => Promise<string>;
@@ -930,6 +943,14 @@ interface BlocknoteHandlers {
930
943
  data: Request[];
931
944
  totalCount: number;
932
945
  }>;
946
+ getDaos: (relayerDid: string, page: number) => Promise<{
947
+ data: Dao[];
948
+ totalCount: number;
949
+ }>;
950
+ getProjects: (relayerDid: string, page: number) => Promise<{
951
+ data: Project[];
952
+ totalCount: number;
953
+ }>;
933
954
  getMembers: (address: string, groupCoreAddress: string, withBalance: boolean, page: number) => Promise<{
934
955
  data: Member[];
935
956
  totalCount: number;
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  useBlocknoteHandlers,
19
19
  useCreateCollaborativeIxoEditor,
20
20
  useCreateIxoEditor
21
- } from "./chunk-74X5B74P.mjs";
21
+ } from "./chunk-2YUNEIWS.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-74X5B74P.mjs";
21
+ } from "../chunk-2YUNEIWS.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.12.0",
3
+ "version": "1.14.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",