There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat: add removeMember api
tzhangchi1da129378934
diff --git a/packages/data-center/src/apis/business.ts b/packages/data-center/src/apis/business.tsindex e364f01a60..ababd0e28a 100644--- a/packages/data-center/src/apis/business.ts+++ b/packages/data-center/src/apis/business.ts@@ -130,6 +130,19 @@ export class Business {void 0;}+ /**+ * remove the new member to the workspace+ * @param {string} workspaceId ID of workspace.+ * @param {string} memberId ID of member+ */+ removeMember(workspaceId: string, memberId: string) {+ void 0;+ }++ /**+ * A new member click the invite link, finish to join the workspace+ * @param {string} inviteCode token for invitation.+ */async acceptInvitation(invitingCode: string) {const dc = await this._getDc();dc.apis.acceptInviting({ invitingCode });