type

Document

type Document struct { ID string CreatedAt time.Time UpdatedAt time.Time DeletedAt *time.Time Status Status Revision int Values Values // LocalizationSources records the locale that supplied each projected // localized field path. It is response metadata and is never persisted. LocalizationSources map[string]schema.LocaleCode }

A stored document with status and version metadata.

Source store/store.go:34

IDstring
Document identity within its collection.
CreatedAttime.Time
Creation timestamp.
UpdatedAttime.Time
Last mutation timestamp.
DeletedAt*time.Time
Trash timestamp, when deleted.
StatusStatus
Draft or published status.
Revisionint
Optimistic version revision.
ValuesValues
Application field values.
LocalizationSourcesmap[string]schema.LocaleCode
Locale that supplied each projected localized field.