gemcap-be-common 1.5.182 → 1.5.184

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,8 +23,7 @@ export interface IDataRoomAccessLean extends IDataRoomAccess {
23
23
  updatedAt: Date;
24
24
  }
25
25
 
26
- export interface IDataRoomAccessPlain
27
- extends Omit<IDataRoomAccess, 'dataRoomId' | 'contactId'> {
26
+ export interface IDataRoomAccessPlain extends Omit<IDataRoomAccess, 'dataRoomId' | 'contactId'> {
28
27
  _id: string;
29
28
  dataRoomId: string;
30
29
  contactId: string;
@@ -25,7 +25,7 @@
25
25
  import mongoose from 'mongoose';
26
26
  export declare const DATA_ROOM_PERMISSIONS: readonly ["read", "read_upload"];
27
27
  export type TDataRoomPermission = (typeof DATA_ROOM_PERMISSIONS)[number];
28
- interface IDataRoomContact {
28
+ export interface IDataRoomContact {
29
29
  uiId: string;
30
30
  name: string;
31
31
  email: string;
@@ -50,4 +50,3 @@ export declare const DataRoomContactSchema: mongoose.Schema<IDataRoomContact, TD
50
50
  _id: mongoose.Types.ObjectId;
51
51
  }>;
52
52
  export declare const DataRoomContact: TDataRoomContactModel;
53
- export {};
@@ -11,7 +11,6 @@ exports.DataRoomContactSchema = new mongoose_1.default.Schema({
11
11
  uiId: {
12
12
  type: String,
13
13
  required: true,
14
- unique: true,
15
14
  },
16
15
  name: {
17
16
  type: String,
@@ -6,7 +6,7 @@ export const DATA_ROOM_PERMISSIONS = ['read', 'read_upload'] as const;
6
6
 
7
7
  export type TDataRoomPermission = (typeof DATA_ROOM_PERMISSIONS)[number];
8
8
 
9
- interface IDataRoomContact {
9
+ export interface IDataRoomContact {
10
10
  uiId: string;
11
11
  name: string;
12
12
  email: string;
@@ -37,7 +37,6 @@ export const DataRoomContactSchema = new mongoose.Schema<IDataRoomContact, TData
37
37
  uiId: {
38
38
  type: String,
39
39
  required: true,
40
- unique: true,
41
40
  },
42
41
  name: {
43
42
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.182",
3
+ "version": "1.5.184",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {