@@ -121,29 +121,6 @@ type Topic struct{}
121
121
122
122
type Queue struct {}
123
123
124
- // A static site deployment with Nitric
125
- // We also support server rendered applications
126
- type Site struct {
127
- // Base path of the site
128
- // Will be used to execute scripts
129
- Path string `yaml:"path"`
130
- // Path to get assets to upload
131
- // this will be relative to path
132
- AssetPath string `yaml:"assetPath"`
133
- // Build scripts to execute before upload
134
- BuildScripts []string `yaml:"buildScripts,omitempty"`
135
- }
136
-
137
- type EntrypointPath struct {
138
- Target string `yaml:"target"`
139
- Type string `yaml:"type"` // 'site' | 'api' | 'function' | 'container';
140
- }
141
-
142
- type Entrypoint struct {
143
- Domains []string `yaml:"domains,omitempty"`
144
- Paths map [string ]EntrypointPath `yaml:"paths,omitempty"`
145
- }
146
-
147
124
type Stack struct {
148
125
dir string
149
126
Name string `yaml:"name"`
@@ -156,8 +133,6 @@ type Stack struct {
156
133
Schedules map [string ]Schedule `yaml:"schedules,omitempty"`
157
134
apiDocs map [string ]* openapi3.T `yaml:"-"`
158
135
Apis map [string ]string `yaml:"apis,omitempty"`
159
- Sites map [string ]Site `yaml:"sites,omitempty"`
160
- EntryPoints map [string ]Entrypoint `yaml:"entrypoints,omitempty"`
161
136
}
162
137
163
138
func (s * Stack ) SetApiDoc (name string , doc * openapi3.T ) {
0 commit comments