Module: defaults

This module contains default application properties definitions.

Version:
  • 0.0.1
Since:
  • 0.0.1
Author:

Requires

  • module:xtrmaddons-node-fs-utils

Members


module:defaults :object

Default configuration parameters:

Type:
  • object
Since:
  • 0.0.1

<static> bearer_token :object

Property bearer token: Per RFC6750 this module will attempt to extract a bearer token from a request.

Type:
  • object
Properties:
Name Type Description
bodyKey string

Bearer token body key

queryKey string

Bearer token query key

headerKey string

Bearer token query key

reqKey string

Bearer token query key

Since:
  • 0.0.1
See:

<static> db :object

Property SQLite3 database connector informations.

Type:
  • object
Properties:
Name Type Description
data string

Absolute path to the directory to store database files.

data string

Name of the database file.

Since:
  • 0.0.1

<static> dist

Property definition of the distribution.


<static> host :string

Property hostname of the main server.

Type:
  • string
Since:
  • 0.0.1

<static> i18n

Property locales definitions.


<static> port :string

Property port of the main server.

Type:
  • string
Since:
  • 0.0.1

<static> protocol :string

Property protocol of the main server.

Type:
  • string
Since:
  • 0.0.1

<inner, constant> Config :Config

Type:
  • Config
Since:
  • 0.0.1

<inner, constant> FsUtils :FsUtils

Type:
  • FsUtils
Since:
  • 0.0.1
See:

<inner, constant> path :object

Type:
  • object
Since:
  • 0.0.1