UNPKG

@zowe/imperative

Version:
58 lines 2.22 kB
"use strict"; /* * This program and the accompanying materials are made available under the terms of the * Eclipse Public License v2.0 which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-v20.html * * SPDX-License-Identifier: EPL-2.0 * * Copyright Contributors to the Zowe Project. * */ Object.defineProperty(exports, "__esModule", { value: true }); exports.EventTypes = exports.ZoweSharedEvents = exports.ZoweUserEvents = void 0; var ZoweUserEvents; (function (ZoweUserEvents) { ZoweUserEvents["ON_VAULT_CHANGED"] = "onVaultChanged"; })(ZoweUserEvents || (exports.ZoweUserEvents = ZoweUserEvents = {})); var ZoweSharedEvents; (function (ZoweSharedEvents) { ZoweSharedEvents["ON_CREDENTIAL_MANAGER_CHANGED"] = "onCredentialManagerChanged"; })(ZoweSharedEvents || (exports.ZoweSharedEvents = ZoweSharedEvents = {})); var EventTypes; (function (EventTypes) { EventTypes[EventTypes["ZoweUserEvents"] = 0] = "ZoweUserEvents"; EventTypes[EventTypes["ZoweSharedEvents"] = 1] = "ZoweSharedEvents"; EventTypes[EventTypes["SharedEvents"] = 2] = "SharedEvents"; EventTypes[EventTypes["UserEvents"] = 3] = "UserEvents"; })(EventTypes || (exports.EventTypes = EventTypes = {})); /** * EXPECTED EVENT LOCATIONS: * * Shared events: * Global: * - $ZOWE_CLI_HOME/.events/onConfigChanged * - $ZOWE_CLI_HOME/.events/onSchemaChanged * Project: * - $ZOWE_CLI_HOME/.events/<project-hash-based-on-path>/onConfigChanged * - $ZOWE_CLI_HOME/.events/<project-hash-based-on-path>/onSchemaChanged * * User events: * Global: * - ~/.zowe/.events/onUserConfigChanged * Project: * - ~/.zowe/.events/<project-hash-based-on-path>/onUserConfigChanged * * Custom events: * Shared: * Global: * - $ZOWE_CLI_HOME/.events/<hash-based-on-app-name>/<event-id> * Project: * - $ZOWE_CLI_HOME/.events/<hash-based-on-app-name>/<project-hash-based-on-path>/<event-id> * User: * Global: * - ~/.zowe/.events/<hash-based-on-app-name>/<user-event-id> * Project: * - ~/.zowe/.events/<hash-based-on-app-name>/<project-hash-based-on-path>/<user-event-id> */ //# sourceMappingURL=EventConstants.js.map