Home Reference Source

Variable

Static Public Summary
public

AccessLevel: {"NoAccessLevel": *, "ReadOnlyLevel": string, "ReadWriteLevel": string}

public
public

ErrorCodes: {"NotAuthenticated": number, "PermissionDenied": number, "AccessKeyNotAccepted": number, "AccessTokenNotAccepted": number, "InvalidCredentials": number, "InvalidSignature": number, "BadRequest": number, "InvalidArgument": number, "Duplicated": number, "ResourceNotFound": number, "NotSupported": number, "NotImplemented": number, "ConstraintViolated": number, "IncompatibleSchema": number, "AtomicOperationFailure": number, "PartialOperationFailure": number, "UndefinedOperation": number, "PluginUnavailable": number, "PluginTimeout": number, "RecordQueryInvalid": number, "PluginInitializing": number, "ResponseTimeout": number, "DeniedArgument": number, "RecordQueryDenied": number, "NotConfigured": number, "PasswordPolicyViolated": number, "UserDisabled": number, "VerificationRequired": number, "AssetSizeTooLarge": number, "UnexpectedError": number}

Enum for error codes

public
public

Inward: String

Inward relation direction

public

Mutual: String

Mutual relation direction

public

Outward: String

Outward relation direction

public
public

USER_CHANGED: string

public
public

config: {}

Copyright 2015 Oursky Ltd.

public

log: *

public

pool: *

Database connection pool of the Skygear PostgreSQL database.

public

pool: *

public
public

settings: {"skygearAddress": *, "skygearEndpoint": *, "apiKey": *, "masterKey": *, "appName": *, "logLevel": *, "logFormat": *, "http": *, "debug": *, "pubsubURL": *, "serveStaticAssets": *, "collectAsset": *, "forceAsset": *, "databaseURL": *, "pgPoolMax": *, "pgPoolMin": *, "pgPoolIdleTimeoutMillis": *, "assetStore": *, "assetStoreSecret": *, "assetStoreURLPrefix": *, "assetStoreURLExpireDuration": *, "assetStoreS3AccessKey": *, "assetStoreS3SecretKey": *, "assetStoreS3Bucket": *, "assetStoreS3Region": *, "assetStoreS3URLPrefix": *, "cloudAssetHost": *, "cloudAssetToken": *, "cloudAssetStorePublic": *, "cloudAssetPublicPrefix": *, "cloudAssetPrivatePrefix": *, "loadModules": *}

public
public
public

Static Public

public AccessLevel: {"NoAccessLevel": *, "ReadOnlyLevel": string, "ReadWriteLevel": string} source

public CloudCodeContainer: * source

public ErrorCodes: {"NotAuthenticated": number, "PermissionDenied": number, "AccessKeyNotAccepted": number, "AccessTokenNotAccepted": number, "InvalidCredentials": number, "InvalidSignature": number, "BadRequest": number, "InvalidArgument": number, "Duplicated": number, "ResourceNotFound": number, "NotSupported": number, "NotImplemented": number, "ConstraintViolated": number, "IncompatibleSchema": number, "AtomicOperationFailure": number, "PartialOperationFailure": number, "UndefinedOperation": number, "PluginUnavailable": number, "PluginTimeout": number, "RecordQueryInvalid": number, "PluginInitializing": number, "ResponseTimeout": number, "DeniedArgument": number, "RecordQueryDenied": number, "NotConfigured": number, "PasswordPolicyViolated": number, "UserDisabled": number, "VerificationRequired": number, "AssetSizeTooLarge": number, "UnexpectedError": number} source

Enum for error codes

public ErrorCodes: * source

public Inward: String source

Inward relation direction

public Mutual: String source

Mutual relation direction

public Outward: String source

Outward relation direction

public SkygearError: * source

public USER_CHANGED: string source

public UserRecord: Record source

public config: {} source

Copyright 2015 Oursky Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

public pool: * source

Database connection pool of the Skygear PostgreSQL database. The database connection is automatically configured by environment variable and is ready to make connection by calling the connect function. See node-postgres documentation for usage.

See:

public settings: {"skygearAddress": *, "skygearEndpoint": *, "apiKey": *, "masterKey": *, "appName": *, "logLevel": *, "logFormat": *, "http": *, "debug": *, "pubsubURL": *, "serveStaticAssets": *, "collectAsset": *, "forceAsset": *, "databaseURL": *, "pgPoolMax": *, "pgPoolMin": *, "pgPoolIdleTimeoutMillis": *, "assetStore": *, "assetStoreSecret": *, "assetStoreURLPrefix": *, "assetStoreURLExpireDuration": *, "assetStoreS3AccessKey": *, "assetStoreS3SecretKey": *, "assetStoreS3Bucket": *, "assetStoreS3Region": *, "assetStoreS3URLPrefix": *, "cloudAssetHost": *, "cloudAssetToken": *, "cloudAssetStorePublic": *, "cloudAssetPublicPrefix": *, "cloudAssetPrivatePrefix": *, "loadModules": *} source

public settings: * source

public skyconfig: * source