MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / ChangeEvent

Struct ChangeEvent

apps/server/internal/vault/types.go:196–201  ·  view source on GitHub ↗

ChangeEvent — mirrors shared/ipc.ts VaultChangeEvent.

Source from the content-addressed store, hash-verified

194
195// ChangeEvent — mirrors shared/ipc.ts VaultChangeEvent.
196type ChangeEvent struct {
197 Kind string `json:"kind"` // "add" | "change" | "unlink"
198 Path string `json:"path"`
199 Folder NoteFolder `json:"folder"`
200 Scope string `json:"scope,omitempty"`
201}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected