@c8y/toolkit
Version:
Toolkit for Cumulocity applications, allows to e.g. deploy an application to an instance of Cumulocity.
24 lines • 1.78 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OPTIONS_CONSTANTS = void 0;
exports.OPTIONS_CONSTANTS = {
'TXT.URL': 'The url of the remote instance. Can also be passed via the "C8Y_URL" environment variable.',
'TXT.TENANT': 'Tenant of the Cumulocity instance. Can also be passed via the "C8Y_TENANT" environment variable.',
'TXT.USERNAME': 'Username of the Cumulocity instance. Can also be passed via the "C8Y_USER" environment variable.',
'TXT.PASSWORD': 'Password of the Cumulocity instance. Can also be passed via the "C8Y_PASSWORD" environment variable.',
'TXT.NOT_PACKAGE_WARNING': 'The provided tag is redundant since the application is not a package.',
'TXT.APP_DEPLOYED': (ctxPath) => `Application ${ctxPath} deployed.`,
'PATH.BUILT_MANIFEST_FILE': 'cumulocity.json',
'TXT.INVALID_CREDENTIALS_BASEURL': (baseUrl) => `Failed to connect to ${baseUrl}. Invalid credentials provided or tenant not reachable.`,
'TXT.APP_UPLOADING': (bytes) => `Uploading application zip with ${bytes} bytes...`,
'TXT.APP_UPLOAD_ERROR': 'File upload failed:',
'TXT.APP_CREATING': 'Creating application...',
'TXT.APP_CREATE_FAILED': 'Create application failed:',
'TXT.APP_FETCHING': 'Fetching application list...',
'TXT.APP_FETCHING_FAILED': 'Cannot fetch application list:',
'TXT.APP_ACTIVATING': (id) => `Activating binary version id ${id}...`,
'TXT.APP_ACTIVATING_FAILED': (contextPath) => `Cannot activate latest version for application ${contextPath}:`,
'TXT.DELETE_EXISTING_TAG_WARNING': 'Deleting the existing tag.',
'TXT.USER_MISSES_PERMISSION_TO_DEPLOY': 'You are missing the required permissions to deploy an application on your tenant.'
};
//# sourceMappingURL=constants.js.map