huridocs/uwazi

View on GitHub
app/api/services/informationextraction/IXModelsModel.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import mongoose from 'mongoose';
import { instanceModel } from 'api/odm';
import { IXModelType } from 'shared/types/IXModelType';

const props = {};

const mongoSchema = new mongoose.Schema(props, {
  strict: false,
});

const IXModelsModel = instanceModel<IXModelType>('ixmodels', mongoSchema);

export { IXModelsModel };