preferences

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CollectionName = "user_preferences"

Variables

This section is empty.

Functions

func Register

func Register(app core.App)

Types

type Preferences

type Preferences struct {
	ID                string `json:"id"`
	Owner             string `json:"owner"`
	Theme             string `json:"theme"`
	MemoryEnabled     bool   `json:"memory_enabled"`
	MemoryAutoCapture bool   `json:"memory_auto_capture"`
	Created           string `json:"created"`
	Updated           string `json:"updated"`
}

func Ensure

func Ensure(app core.App, ownerID string) (Preferences, error)

func Get

func Get(app core.App, ownerID string) (Preferences, error)

Jump to

Keyboard shortcuts

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