backup

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StartupVO added in v0.1.1

type StartupVO struct {
	WPM      dto.Module                    `json:"wpm"`
	Versions map[string]*entity.Executable `json:"versions"` // map[version] exe
	Logs     []*entity.Executable          `json:"logs"`
}

StartupVO 这个VO用来记录 wpm 的启动日志

type VO

type VO struct {
	WPM dto.Module `json:"wpm"`

	ExecutableTable       []*entity.Executable       `json:"executables"`
	IntentTemplateTable   []*entity.IntentTemplate   `json:"intenttemplates"`
	LocalRepositoryTable  []*entity.LocalRepository  `json:"repositories"`
	LocationTable         []*entity.Location         `json:"locations"`
	MediaTable            []*entity.Media            `json:"mediae"`
	NamespaceTable        []*entity.Namespace        `json:"namespaces"`
	ProjectTable          []*entity.Project          `json:"projects"`
	ContentTypeTable      []*entity.ContentType      `json:"contenttypes"`
	RemoteRepositoryTable []*entity.RemoteRepository `json:"remotes"`
	SettingTable          []*entity.Setting          `json:"settings"`
	UserTable             []*entity.User             `json:"users"`
	WorktreeTable         []*entity.Worktree         `json:"worktrees"`
	PackageTable          []*entity.SoftwarePackage  `json:"packages"`
}

VO 是用于数据导入/导出的 JSON 结构

Jump to

Keyboard shortcuts

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