Cors settings for the server. Accepts anything the 'cors' npm package accepts
Log levels for the server.
If set, only logs with this tag(s) will be displayed
Custom winston logging transports
Email settings. Used to send emails to users on certain events.
A function to verify a users password. Only used if you use the loginWithPassword
API.
A function that accepts an authentication token and returns a user object
Custom permission settings for the server
A function to get a value that represents "now" in your database.
Which strategy to use when an unknown user is invited to a document.
Disables the snapshot assets feature.
Settings for the internal permissions cache
The maximum amount of time a permission check result can be maintained in the cache. Must be positive integer in MS. Defaults to one hour
If true, the TTL time on a cached permission will be reset any time it is accessed. Defaults to false
The maximum number of items allowed in the cache. We use a first in first out cache, so when the number of items exceeds the max, the oldest values are pushed out. Defaults to 5000
Settings for the annotation sync feature
How to handle the situation where the user ID of synced annotation is unknown / does not exist in the database. See the annotation sync feature guide for more info.
Defaults to overriding the user ID with the current user
Set to true to disable the GraphQL home page. The playground will also disable itself if NODE_ENV === 'production'.
A function that validates a users email and password.
For more information on context, see this guide
A reference to '@sendgrid/mail'
Your sendgrid API key
The email address or domain you verified from your email service
The name of the sender
Sendgrid template Ids for each email type
Gets metadata about an XFDF string
Generated using TypeDoc
The resolvers for the server. See resolvers for more info.