dto

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 CreateDrawingOutput struct {
	Id        string
	Name      string
	CreatedAt time.Time
}

type DeleteDrawingInput

type DeleteDrawingInput struct {
	UserId    string
	DrawingId string
}

Delete drawing

type DeleteDrawingUserPermissionInput

type DeleteDrawingUserPermissionInput struct {
	RequesterId  string
	DrawingId    string
	TargetUserId string
}

type DrawingItem

type DrawingItem struct {
	Id         string
	DocumentId *string
	Name       string
	Icon       string
	Thumbnail  string
	CreatedBy  string
	CreatedAt  time.Time
	UpdatedAt  time.Time
}

type GetDrawingInput

type GetDrawingInput struct {
	UserId    string
	DrawingId string
}

Get drawing

type GetDrawingOutput

type GetDrawingOutput struct {
	Id         string
	SpaceId    string
	DocumentId *string
	Name       string
	Icon       string
	Elements   []interface{}
	AppState   map[string]interface{}
	Files      map[string]interface{}
	Thumbnail  string
	CreatedBy  string
	CreatedAt  time.Time
	UpdatedAt  time.Time
}

type ListDrawingPermissionsInput

type ListDrawingPermissionsInput struct {
	RequesterId string
	DrawingId   string
}

type ListDrawingPermissionsOutput

type ListDrawingPermissionsOutput struct {
	Permissions []domain.Permission
}

type ListDrawingsInput

type ListDrawingsInput struct {
	UserId  string
	SpaceId string
}

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 MoveDrawingOutput struct {
	Id         string
	DocumentId *string
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL