"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ROOT_CONFIGURATION_LOGS_SUBTYPE = exports.LOGS_TYPE = exports.LOG_PROVIDER = void 0;
const root_config_const_1 = require("../../services/root-config/root-config.const");
const content_encrypted_object_const_1 = require("../content-encrypted-object/content-encrypted-object.const");
const utils_common_const_1 = require("../utils-common/utils-common.const");
exports.LOG_PROVIDER = 'LogProvider';
exports.LOGS_TYPE = {
    name: 'Logs',
    iconView: 'fas fa-server',
    contentType: content_encrypted_object_const_1.CONTENT_ENCRYPTED_OBJECT,
    inheritedTypesIds: [utils_common_const_1.HIDDEN_LABEL_TYPE.name, utils_common_const_1.HIDDEN_NAME_TYPE.name],
    forcedAccessRights: { create: false, delete: false, update: false },
    definition: {
        properties: {
            contentEncryptedObject: {
                type: 'object',
                title: 'Encrypted object',
                properties: {
                    value: {
                        properties: {
                            logs: {
                                type: 'array',
                                items: {
                                    type: 'string',
                                },
                                'x-schema-form': {
                                    readonly: true,
                                    disabled: true,
                                    type: 'json',
                                },
                                title: 'Logs',
                                default: ['no logs'],
                            },
                        },
                        'x-schema-form': { type: '' },
                    },
                },
            },
        },
    },
};
exports.ROOT_CONFIGURATION_LOGS_SUBTYPE = {
    typeName: root_config_const_1.ROOT_CONFIGURATION_TYPE.name,
    subTypeName: exports.LOGS_TYPE.name,
    min: 1,
    max: 1,
};
//# sourceMappingURL=log.const.js.map