mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Scraper and plugin manager (#4242)
* Add package manager * Add SettingModal validate * Reverse modal button order * Add plugin package management * Refactor ClearableInput
This commit is contained in:
12
pkg/models/package.go
Normal file
12
pkg/models/package.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package models
|
||||
|
||||
type PackageSpecInput struct {
|
||||
ID string `json:"id"`
|
||||
SourceURL string `json:"sourceURL"`
|
||||
}
|
||||
|
||||
type PackageSource struct {
|
||||
Name *string `json:"name"`
|
||||
LocalPath string `json:"localPath"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
Reference in New Issue
Block a user