Logo Xantham

APIFileChanges Type

APIFileChanges describes file changes to apply when updating a snapshot. Either InvalidateAll is true (discard all caches) or Changed/Created/Deleted list individual documents.

Record fields

Record Field Description

Changed

Full Usage: Changed

Field type: DocumentIdentifier[] voption
Field type: DocumentIdentifier[] voption

Created

Full Usage: Created

Field type: DocumentIdentifier[] voption
Field type: DocumentIdentifier[] voption

Deleted

Full Usage: Deleted

Field type: DocumentIdentifier[] voption
Field type: DocumentIdentifier[] voption

InvalidateAll

Full Usage: InvalidateAll

Field type: bool voption
Field type: bool voption

Static members

Static member Description

APIFileChanges.Default

Full Usage: APIFileChanges.Default

Returns: APIFileChanges

The record with nothing set: every field is either optional or a default of its own, so this serialises to `{}`. Copy-update it to fill in the fields you mean - `{ APIFileChanges.Default with ... }` - rather than writing all 4 out.

Returns: APIFileChanges

Type something to start searching.