"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.UNSUPPORTED_ACTION_TYPES = exports.SUPPORTED_ACTION_TYPES = exports.NEW_COMMENT_ID = exports.DRAFT_COMMENT_STORAGE_ID = void 0;
var _lodash = require("lodash");
var _domain = require("../../../common/types/domain");
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */

const DRAFT_COMMENT_STORAGE_ID = 'xpack.cases.commentDraft';
exports.DRAFT_COMMENT_STORAGE_ID = DRAFT_COMMENT_STORAGE_ID;
const UNSUPPORTED_ACTION_TYPES = ['delete_case'];
exports.UNSUPPORTED_ACTION_TYPES = UNSUPPORTED_ACTION_TYPES;
const SUPPORTED_ACTION_TYPES = Object.keys((0, _lodash.omit)(_domain.UserActionTypes, UNSUPPORTED_ACTION_TYPES));
exports.SUPPORTED_ACTION_TYPES = SUPPORTED_ACTION_TYPES;
const NEW_COMMENT_ID = 'newComment';
exports.NEW_COMMENT_ID = NEW_COMMENT_ID;