@papersites/sdk
v0.1.211
Published
# How to use this SDK
Downloads
250
Readme
papersites-sdk
How to use this SDK
Configure settings
for local test & debug purposes you can use staticSettingsProvider that is provided as part of this API
in production you need to implement ISettingsProvider that provides the followin configuration settings:
api/async-operation-timeout-ms
- async operation timeout, e.g. work requesttenant/viewlinktemplate
- public papersites-managed site URLtenant/managelinktemplate
- admin papersites-managed site URLapi-spec/host
- API hostnameapi-spec/schemes
- arrays of allowed schemes: http or https or bothapi-spec/port
-API portapi-spec/basePath
- base path for API operationsapi-spec/accepts
- accepted content typeapi-spec/securityDefinitions
- security mechanism to use. For Papersites currently onlypapersites_auth
is supported and it has the following configuration settings:
{ "papersites_auth": { "type": "papersites_auth", "description": "Papersites via Auth0", "name": "papersites_auth" } }
How to build and deploy
- bump version in the
package.json
npm run deploy