@finos/legend-studio
Version:
34 lines • 2.02 kB
JavaScript
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* 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.
*/
export var LEGEND_STUDIO_APP_EVENT;
(function (LEGEND_STUDIO_APP_EVENT) {
// FAILURE
// TODO: consider to spliting all of these generic errors into more specific events
LEGEND_STUDIO_APP_EVENT["WORKSPACE_SETUP_FAILURE"] = "setup.workspace.failure";
LEGEND_STUDIO_APP_EVENT["PACKAGE_TREE_BUILDER_FAILURE"] = "editor.package-tree-build.failure";
LEGEND_STUDIO_APP_EVENT["MODEL_LOADER_FAILURE"] = "editor.model-loader.failure";
LEGEND_STUDIO_APP_EVENT["DATABASE_BUILDER_FAILURE"] = "editor.database-builder.failure";
LEGEND_STUDIO_APP_EVENT["SERVICE_REGISTRATION_FAILURE"] = "editor.service-editor.registration.failure";
LEGEND_STUDIO_APP_EVENT["SERVICE_TEST_RUNNER_FAILURE"] = "editor.service-editor.test-runner.failure";
LEGEND_STUDIO_APP_EVENT["GENERATION_FAILURE"] = "editor.generation.failure";
LEGEND_STUDIO_APP_EVENT["EXTERNAL_FORMAT_FAILURE"] = "editor.external-format.failure";
// SDLC
// TODO: consider to split this generic errors into more specific events
LEGEND_STUDIO_APP_EVENT["SDLC_MANAGER_FAILURE"] = "sdlc.manager.failure";
LEGEND_STUDIO_APP_EVENT["WORKSPACE_UPDATED"] = "sdlc.workspace-update.success";
LEGEND_STUDIO_APP_EVENT["WORKSPACE_LOCAL_CHANGES_PUSHED"] = "sdlc.local-changes-push.success";
})(LEGEND_STUDIO_APP_EVENT = LEGEND_STUDIO_APP_EVENT || (LEGEND_STUDIO_APP_EVENT = {}));
//# sourceMappingURL=LegendStudioAppEvent.js.map