The typeorm implementation of the IConnection interface.

Hierarchy

  • Connection

Implements

Constructors

Properties

allowNoBrowserConnection: boolean

Decides if requests that are not originated from a browser are allowed.

allowNoOriginConnection: boolean

Decides if requests that are missing the Origin header are allowed.

createdAt: Date

Automatically generated date of when the given connection version was created at.

domains: string[]

A list of domains that the client is allowed to send request to.

enabled: boolean

Is the connection enabled. If it is not, it wwill be ignored when creating a new bundle.

environment: Environment

The environment this connection relates to.

name: string

The name of the clients this connection relates to.

origins: string[]

A list of origins the client is allowed to send requests from.

token: string

The client's token for the specific environment. The KID parameter in the token should equal the client's name.

version: number

The version of the connection with the given name and environment. Starts at 1 and automatically increments. When updated, the POST body should contain the latest version.

Generated using TypeDoc