mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
bafd327b6b
* feat: agent browser * chore: complete docker and action config * feat: more actions * feat: browser tab switch * fix: browser build * fix: lint * fix: migrations
22 lines
515 B
Go
22 lines
515 B
Go
package browsercontexts
|
|
|
|
import "encoding/json"
|
|
|
|
type BrowserContext struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
Config json.RawMessage `json:"config"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type CreateRequest struct {
|
|
Name string `json:"name"`
|
|
Config json.RawMessage `json:"config"`
|
|
}
|
|
|
|
type UpdateRequest struct {
|
|
Name string `json:"name"`
|
|
Config json.RawMessage `json:"config"`
|
|
}
|