dto

package
v0.0.1 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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePasswordInput

type ChangePasswordInput struct {
	UserId          string
	CurrentPassword string
	NewPassword     string
}

type CreateFavoriteInput

type CreateFavoriteInput struct {
	DocumentId string
	SpaceId    string
	UserId     string
}

type CreateUserInput

type CreateUserInput struct {
	User domain.User
}

type CreateUserOutput

type CreateUserOutput struct {
	User *domain.User
}

type DeleteFavoriteInput

type DeleteFavoriteInput struct {
	DocumentId string
	SpaceId    string
	UserId     string
}

type GetByEmailInput

type GetByEmailInput struct {
	Email string
}

type GetByEmailOutput

type GetByEmailOutput struct {
	User *domain.User
}

type GetByUserIdInput

type GetByUserIdInput struct {
	UserId string
}

type GetByUserIdOutput

type GetByUserIdOutput struct {
	User *domain.User
}

type GetFavoriteByIdAndUserIdInput

type GetFavoriteByIdAndUserIdInput struct {
	FavoriteId string
	UserId     string
}

type GetFavoriteByIdAndUserIdOutput

type GetFavoriteByIdAndUserIdOutput struct {
	Favorite *domain.Favorite
}

type GetMyFavoritesInput

type GetMyFavoritesInput struct {
	UserId string
}

type GetMyFavoritesOutput

type GetMyFavoritesOutput struct {
	Favorites []domain.Favorite
}

type UpdateFavoritePositionInput

type UpdateFavoritePositionInput struct {
	UserId      string
	FavoriteId  string
	NewPosition int
}

type UpdateFavoritePositionOutput

type UpdateFavoritePositionOutput struct {
	Favorite *domain.Favorite
}

type UpdateProfileInput

type UpdateProfileInput struct {
	UserId      string
	Username    *string
	AvatarUrl   *string
	Preferences *domain.JSONB
}

type UpdateProfileOutput

type UpdateProfileOutput struct {
	User *domain.User
}

type UpdateSpaceOrderInput

type UpdateSpaceOrderInput struct {
	UserId   string
	SpaceIds []string
}

type UpdateSpaceOrderOutput

type UpdateSpaceOrderOutput struct {
	SpaceIds []string
}

Jump to

Keyboard shortcuts

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