@openinc/parse-server-opendash
Version:
Parse Server Cloud Code for open.INC Stack.
51 lines (50 loc) • 2.72 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.baseoptions = void 0;
exports.baseoptions = {
PARSE_SERVER_ENABLE_INSECURE_AUTH_ADAPTERS: {
env: "PARSE_SERVER_ENABLE_INSECURE_AUTH_ADAPTERS",
type: "boolean",
required: false,
secret: false,
public: false,
default: "true",
description: "Enable (or disable) insecure auth adapters, defaults to true. Insecure auth adapters are deprecated and it is recommended to disable them.",
},
PARSE_SERVER_ENCODE_PARSE_OBJECT_IN_CLOUD_FUNCTION: {
env: "PARSE_SERVER_ENCODE_PARSE_OBJECT_IN_CLOUD_FUNCTION",
type: "boolean",
required: false,
secret: false,
public: false,
default: "false",
description: "If set to `true`, a `Parse.Object` that is in the payload when calling a Cloud Function will be converted to an instance of `Parse.Object`. If `false`, the object will not be converted and instead be a plain JavaScript object, which contains the raw data of a `Parse.Object` but is not an actual instance of `Parse.Object`. Default is `false`. <br><br>ℹ️ The expected behavior would be that the object is converted to an instance of `Parse.Object`, so you would normally set this option to `true`. The default is `false` because this is a temporary option that has been introduced to avoid a breaking change when fixing a bug where JavaScript objects are not converted to actual instances of `Parse.Object`.",
},
PARSE_SERVER_ALLOW_EXPIRED_AUTH_DATA_TOKEN: {
env: "PARSE_SERVER_ALLOW_EXPIRED_AUTH_DATA_TOKEN",
type: "boolean",
required: false,
secret: false,
public: false,
default: "false",
description: "Allow a user to log in even if the 3rd party authentication token that was used to sign in to their account has expired. If this is set to `false`, then the token will be validated every time the user signs in to their account. This refers to the token that is stored in the `_User.authData` field. Defaults to `false`.",
},
PARSE_SERVER_ALLOW_CLIENT_CLASS_CREATION: {
env: "PARSE_SERVER_ALLOW_CLIENT_CLASS_CREATION",
type: "boolean",
required: false,
secret: false,
public: false,
default: "false",
description: "Enable (or disable) client class creation, defaults to false",
},
PARSE_SERVER_ENABLE_ANON_USERS: {
env: "PARSE_SERVER_ENABLE_ANON_USERS",
type: "boolean",
required: false,
secret: false,
public: false,
default: "true",
description: "Enable (or disable) anonymous users, defaults to true",
},
};