mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-08 05:47:07 +09:00
GO-4400 Refactor invites
This commit is contained in:
parent
dccb0eb469
commit
b8ab62fa04
25 changed files with 2213 additions and 2440 deletions
|
@ -1641,7 +1641,6 @@
|
|||
- [Rpc.Relation.ListWithValue.Response.Error.Code](#anytype-Rpc-Relation-ListWithValue-Response-Error-Code)
|
||||
- [Rpc.Relation.Options.Response.Error.Code](#anytype-Rpc-Relation-Options-Response-Error-Code)
|
||||
- [Rpc.Space.Delete.Response.Error.Code](#anytype-Rpc-Space-Delete-Response-Error-Code)
|
||||
- [Rpc.Space.InviteGenerate.Request.InviteType](#anytype-Rpc-Space-InviteGenerate-Request-InviteType)
|
||||
- [Rpc.Space.InviteGenerate.Response.Error.Code](#anytype-Rpc-Space-InviteGenerate-Response-Error-Code)
|
||||
- [Rpc.Space.InviteGetCurrent.Response.Error.Code](#anytype-Rpc-Space-InviteGetCurrent-Response-Error-Code)
|
||||
- [Rpc.Space.InviteGetGuest.Response.Error.Code](#anytype-Rpc-Space-InviteGetGuest-Response-Error-Code)
|
||||
|
@ -2061,6 +2060,7 @@
|
|||
- [Import.Type](#anytype-model-Import-Type)
|
||||
- [InternalFlag.Value](#anytype-model-InternalFlag-Value)
|
||||
- [InvitePayload.InviteType](#anytype-model-InvitePayload-InviteType)
|
||||
- [InviteType](#anytype-model-InviteType)
|
||||
- [LinkPreview.Type](#anytype-model-LinkPreview-Type)
|
||||
- [Membership.EmailVerificationStatus](#anytype-model-Membership-EmailVerificationStatus)
|
||||
- [Membership.PaymentMethod](#anytype-model-Membership-PaymentMethod)
|
||||
|
@ -19864,7 +19864,8 @@ Available undo/redo operations
|
|||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| spaceId | [string](#string) | | |
|
||||
| inviteType | [Rpc.Space.InviteGenerate.Request.InviteType](#anytype-Rpc-Space-InviteGenerate-Request-InviteType) | | |
|
||||
| inviteType | [model.InviteType](#anytype-model-InviteType) | | |
|
||||
| permissions | [model.ParticipantPermissions](#anytype-model-ParticipantPermissions) | | |
|
||||
|
||||
|
||||
|
||||
|
@ -25985,18 +25986,6 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er
|
|||
|
||||
|
||||
|
||||
<a name="anytype-Rpc-Space-InviteGenerate-Request-InviteType"></a>
|
||||
|
||||
### Rpc.Space.InviteGenerate.Request.InviteType
|
||||
|
||||
|
||||
| Name | Number | Description |
|
||||
| ---- | ------ | ----------- |
|
||||
| Member | 0 | |
|
||||
| Guest | 1 | |
|
||||
|
||||
|
||||
|
||||
<a name="anytype-Rpc-Space-InviteGenerate-Response-Error-Code"></a>
|
||||
|
||||
### Rpc.Space.InviteGenerate.Response.Error.Code
|
||||
|
@ -32690,6 +32679,19 @@ Look https://github.com/golang/protobuf/issues/1135 for more information.
|
|||
|
||||
|
||||
|
||||
<a name="anytype-model-InviteType"></a>
|
||||
|
||||
### InviteType
|
||||
|
||||
|
||||
| Name | Number | Description |
|
||||
| ---- | ------ | ----------- |
|
||||
| Member | 0 | aclKey contains the key to sign the ACL record |
|
||||
| Guest | 1 | guestKey contains the privateKey of the guest user |
|
||||
| WithoutApprove | 2 | aclKey contains the key to sign the ACL record, but no approval needed |
|
||||
|
||||
|
||||
|
||||
<a name="anytype-model-LinkPreview-Type"></a>
|
||||
|
||||
### LinkPreview.Type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue