types

package
v0.0.0-...-1ac7f4f Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyExportRequest

type CopyExportRequest struct {
	UserId       uint32 `json:"user_id"`
	DepartmentId uint32 `json:"department_id"`
	Scene        string `json:"scene"`
	Name         string `json:"name"`
}

type ExportExcelCol

type ExportExcelCol struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

type ExportExcelReply

type ExportExcelReply struct {
	Id  uint32 `json:"id"`
	Sha string `json:"sha"`
	Src string `json:"src"`
}

type ExportExcelRequest

type ExportExcelRequest struct {
	UserId       uint32              `json:"user_id"`
	DepartmentId uint32              `json:"department_id"`
	Scene        string              `json:"scene"`
	Name         string              `json:"name"`
	Rows         [][]*ExportExcelCol `json:"rows"`
}

type ExportFileItem

type ExportFileItem struct {
	Value  string `json:"sha"`
	Rename string `json:"rename"`
}

type ExportFileReply

type ExportFileReply struct {
	Id uint32 `json:"id"`
}

type ExportFileRequest

type ExportFileRequest struct {
	UserId       uint32            `json:"userId"`
	DepartmentId uint32            `json:"departmentId"`
	Scene        string            `json:"scene"`
	Name         string            `json:"name"`
	Files        []*ExportFileItem `json:"files"`
	Ids          []uint32          `json:"ids"`
}

type GetExportRequest

type GetExportRequest struct {
	Id  *uint32 `json:"id"`
	Sha *string `json:"sha"`
}

type GetFileRequest

type GetFileRequest struct {
	Id  *uint32 `json:"id"`
	Sha *string `json:"sha"`
	Src *string `json:"src"`
}

type ListDirectoryRequest

type ListDirectoryRequest struct {
	Order   *string `json:"order"`
	OrderBy *string `json:"orderBy"`
}

type ListExportRequest

type ListExportRequest struct {
	Page          uint32   `json:"page"`
	PageSize      uint32   `json:"pageSize"`
	Order         *string  `json:"order"`
	OrderBy       *string  `json:"orderBy"`
	All           bool     `json:"all"`
	UserIds       []uint32 `json:"userIds"`
	DepartmentIds []uint32 `json:"departmentIds"`
}

type ListFileRequest

type ListFileRequest struct {
	Page        uint32  `json:"page"`
	PageSize    uint32  `json:"pageSize"`
	Order       *string `json:"order"`
	OrderBy     *string `json:"orderBy"`
	DirectoryId *uint32 `json:"directoryId"`
	Status      *string `json:"status"`
	Name        *string `json:"name"`
}

type PrepareUploadFileReply

type PrepareUploadFileReply struct {
	Uploaded     bool     `json:"uploaded"`
	Src          *string  `json:"src"`
	ChunkSize    *uint32  `json:"chunkSize"`
	ChunkCount   *uint32  `json:"chunkCount"`
	UploadId     *string  `json:"uploadId"`
	UploadChunks []uint32 `json:"uploadChunks"`
	Sha          *string  `json:"sha"`
	Url          *string  `json:"url"`
}

type PrepareUploadFileRequest

type PrepareUploadFileRequest struct {
	DirectoryId   *uint32 `json:"directoryId"`
	DirectoryPath *string `json:"directoryPath"`
	Name          string  `json:"name"`
	Size          uint32  `json:"size"`
	Sha           string  `json:"sha"`
}

type UploadFileReply

type UploadFileReply struct {
	Src string `json:"src"`
	Sha string `json:"sha"`
	Url string `json:"url"`
}

type UploadFileRequest

type UploadFileRequest struct {
	Data     []byte `json:"data"`
	UploadId string `json:"uploadId"`
	Index    uint32 `json:"index"`
}

Jump to

Keyboard shortcuts

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