sgnm-neo4j-excel
Version:
neo4j excel module for nestJs
106 lines (105 loc) • 4.76 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.there_is_no_type_object = exports.contact_export_object = exports.there_are_no_type_or_component_or_type_id_is_wrong_object = exports.there_are_no_system_or_component_or_type_object = exports.there_are_no_system_or_component_or_both_object = exports.there_are_no_contacts_object = exports.component_already_exist_inside_a_system_object = exports.component_already_exists_object = exports.type_already_exists_object = exports.there_are_no_zones_object = exports.there_are_no_spaces_object = exports.contact_already_exist_object = exports.zone_already_exist_object = exports.block_already_exist_object = exports.classification_already_exist_object = exports.classification_import_error_object = void 0;
exports.floor_already_exist_object = floor_already_exist_object;
exports.building_already_exist_object = building_already_exist_object;
exports.space_already_exist_object = space_already_exist_object;
exports.space_has_already_relation_object = space_has_already_relation_object;
exports.there_are_no_jointSpaces_object = there_are_no_jointSpaces_object;
const import_export_error_enum_1 = require("./import-export.error.enum");
exports.classification_import_error_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.CLASSIFICATION_IMPORT_ERROR,
};
exports.classification_already_exist_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.CLASSIFICATION_ALREADY_EXIST,
};
function floor_already_exist_object(name) {
return {
name,
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.FLOOR_ALREADY_EXIST
};
}
function building_already_exist_object() {
return {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.BUILDING_ALREADY_EXIST
};
}
exports.block_already_exist_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.BLOCK_ALREADY_EXIST
};
function space_already_exist_object(name) {
return {
name,
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.SPACE_ALREADY_EXIST
};
}
exports.zone_already_exist_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.ZONE_ALREADY_EXIST,
};
function space_has_already_relation_object() {
return {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.SPACE_HAS_ALREADY_RELATION
};
}
exports.contact_already_exist_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.CONTACT_ALREADY_EXIST,
};
exports.there_are_no_spaces_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.THERE_ARE_NO_SPACES,
};
function there_are_no_jointSpaces_object() {
return {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.THERE_ARE_NO_JOINTSPACES
};
}
exports.there_are_no_zones_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.THERE_ARE_NO_ZONES,
};
exports.type_already_exists_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.TYPE_ALREADY_EXISTS,
};
exports.component_already_exists_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.COMPONENT_ALREADY_EXISTS,
};
exports.component_already_exist_inside_a_system_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.COMPONENT_ALREADY_EXIST_INSIDE_A_SYSTEM,
};
exports.there_are_no_contacts_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.THERE_ARE_NO_CONTACTS,
};
exports.there_are_no_system_or_component_or_both_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.THERE_ARE_NO_SYSTEM_OR_COMPONENT_OR_BOTH,
};
exports.there_are_no_system_or_component_or_type_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.THERE_ARE_NO_SYSTEM_OR_COMPONENT_OR_TYPE_FOR_EXCEL,
};
exports.there_are_no_type_or_component_or_type_id_is_wrong_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.THERE_ARE_NO_TYPE_OR_COMPONENT_OR_TYPE_ID_IS_WRONG,
};
exports.contact_export_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.CONTACT_EXPORT_ERROR,
};
exports.there_is_no_type_object = {
message: 'error',
code: import_export_error_enum_1.CustomClassificationError.THERE_IS_NO_TYPE,
};