models

package
v0.0.0-...-11ed053 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modal string
const (
	ClashWarningModal  Modal = "clash-warning-modal"
	AddPackageModal    Modal = "add-package-modal"
	AddFileModal       Modal = "add-file-modal"
	DeleteFileModal    Modal = "delete-file-modal"
	DeployDoneModal    Modal = "deploy-done-modal"
	LoadPackageModal   Modal = "load-package-modal"
	RemovePackageModal Modal = "remove-package-modal"
	BuildTagsModal     Modal = "build-tags-modal"
	HelpModal          Modal = "help-modal"
)

type RequestType

type RequestType string
const (
	GetRequest        RequestType = "get"
	UpdateRequest     RequestType = "update"
	InitialiseRequest RequestType = "initialise"
)

type SharePack

type SharePack struct {
	Version int                          `json:"version"`
	Source  map[string]map[string]string `json:"source"` // Source packages for this build: map[<package>]map[<filename>]<contents>
	Tags    []string                     `json:"tags"`   // Build tags
}

SharePack is the structure of the data persisted on src.jsgo.io as json, so best to use json tags to lower-case the names.

Jump to

Keyboard shortcuts

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