Option
access of change
Who may call the change.
Value
A rule. It is required: there is no default.
Example
TypeScript
export const addNote = change('addNote', {
access: 'signedIn',
set: notes.add({ body: input('body') }),
})Option
access of changeWho may call the change.
A rule. It is required: there is no default.
export const addNote = change('addNote', {
access: 'signedIn',
set: notes.add({ body: input('body') }),
})