Documentation
¶
Index ¶
- type CreateDrawingInput
- type CreateDrawingOutput
- type DeleteDrawingInput
- type DeleteDrawingUserPermissionInput
- type DrawingItem
- type GetDrawingInput
- type GetDrawingOutput
- type ListDrawingPermissionsInput
- type ListDrawingPermissionsOutput
- type ListDrawingsInput
- type ListDrawingsOutput
- type MoveDrawingInput
- type MoveDrawingOutput
- type UpdateDrawingInput
- type UpsertDrawingUserPermissionInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDrawingInput ¶
type CreateDrawingInput struct {
UserId string
SpaceId string
DocumentId *string
Name string
Icon string
Elements []interface{}
AppState map[string]interface{}
Files map[string]interface{}
Thumbnail string
}
Create drawing
type CreateDrawingOutput ¶
type DeleteDrawingInput ¶
Delete drawing
type DrawingItem ¶
type GetDrawingOutput ¶
type ListDrawingPermissionsOutput ¶
type ListDrawingPermissionsOutput struct {
Permissions []domain.Permission
}
type ListDrawingsInput ¶
List drawings
type ListDrawingsOutput ¶
type ListDrawingsOutput struct {
Drawings []DrawingItem
}
type MoveDrawingInput ¶
type MoveDrawingInput struct {
UserId string
DrawingId string
DocumentId *string // nil = move to root (no parent document)
}
Move drawing
type MoveDrawingOutput ¶
type UpdateDrawingInput ¶
type UpdateDrawingInput struct {
UserId string
DrawingId string
Name *string
Icon *string
Elements []interface{}
AppState map[string]interface{}
Files map[string]interface{}
Thumbnail *string
}
Update drawing
type UpsertDrawingUserPermissionInput ¶
type UpsertDrawingUserPermissionInput struct {
RequesterId string
DrawingId string
TargetUserId string
Role domain.PermissionRole
}
Click to show internal directories.
Click to hide internal directories.