types

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyExportRequest added in v1.0.22

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

type ExportExcelCol added in v1.0.22

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

type ExportExcelReply added in v1.0.22

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

type ExportExcelRequest added in v1.0.22

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

type ExportFileItem added in v1.0.22

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

type ExportFileReply added in v1.0.22

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

type ExportFileRequest added in v1.0.22

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 added in v1.0.22

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 added in v1.0.22

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

type ListExportRequest added in v1.0.22

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 added in v1.0.22

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 added in v1.0.22

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 added in v1.0.22

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 added in v1.0.22

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

type UploadFileRequest added in v1.0.22

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