backup

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 1, 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

}

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

type StoreTables added in v0.1.8

type StoreTables struct {
	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"`
	SourceTable           []*entity.Namespace        `json:"Sources"`
	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"`
}

StoreTables 承载所有的数据表

type StoreVO added in v0.1.2

type StoreVO struct {
	WPM dto.Module `json:"WPM"`

	Tables StoreTables `json:"Tables"`
}

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

Jump to

Keyboard shortcuts

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