Skip to content

SaveSearchModel

SaveSearchModel = object

Defined in: packages/schema/src/model.ts:526

The “Save search” button of a list page: it saves the list’s filter as a record of resource, the signed-in user’s own, whose view lists them (.searchesOf(...)). A visitor who is not signed in gets the resource’s sign-in prompt instead. See Saved searches.

optional label?: string

Defined in: packages/schema/src/model.ts:530

The button’s text, pressed while the filter is saved; “Save search” when omitted.


resource: string

Defined in: packages/schema/src/model.ts:528

The resource holding the saved searches, whose view has searchesOf for this one.