mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-03 07:01:35 -06:00
27 lines
730 B
Go
27 lines
730 B
Go
package types
|
|
|
|
type BrowserPolicyType string
|
|
|
|
const (
|
|
ChromiumBrowserPolicy BrowserPolicyType = "chromium"
|
|
FirefoxBrowserPolicy BrowserPolicyType = "firefox"
|
|
)
|
|
|
|
type BrowserPolicy struct {
|
|
Type BrowserPolicyType `json:"type"`
|
|
Path string `json:"path"`
|
|
Content BrowserPolicyContent `json:"content"`
|
|
}
|
|
|
|
type BrowserPolicyContent struct {
|
|
Extensions []BrowserPolicyExtension `json:"extensions"`
|
|
InstallExtensions bool `json:"install_extensions"`
|
|
DeveloperTools bool `json:"developer_tools"`
|
|
PersistentData bool `json:"persistent_data"`
|
|
}
|
|
|
|
type BrowserPolicyExtension struct {
|
|
ID string `json:"id"`
|
|
URL string `json:"url"`
|
|
}
|