@cyberskill/shared 1.41.0 → 1.42.0

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.
@@ -129,8 +129,7 @@ export { createModel }
129
129
  export { createModel as createModel_alias_1 }
130
130
  export { createModel as createModel_alias_2 }
131
131
 
132
- declare function createMongoGenericFields({ isNew, returnDateAs, }?: {
133
- isNew?: boolean;
132
+ declare function createMongoGenericFields({ returnDateAs, }?: {
134
133
  returnDateAs?: 'string' | 'date';
135
134
  }): I_GenericDocument_2;
136
135
  export { createMongoGenericFields }
@@ -6147,7 +6146,7 @@ extends Model<T>, PaginateModel<T>,
6147
6146
  AggregatePaginateModel<T> { }
6148
6147
 
6149
6148
  declare interface I_GenericDocument extends Partial<C_Document> {
6150
- id?: string;
6149
+ id: string;
6151
6150
  isDel: boolean;
6152
6151
  createdAt: string | Date;
6153
6152
  updatedAt: string | Date;
@@ -6157,7 +6156,7 @@ export { I_GenericDocument as I_GenericDocument_alias_1 }
6157
6156
  export { I_GenericDocument as I_GenericDocument_alias_2 }
6158
6157
 
6159
6158
  declare interface I_GenericDocument_2 extends Partial<C_Document_2> {
6160
- id?: string;
6159
+ id: string;
6161
6160
  isDel: boolean;
6162
6161
  createdAt: string | Date;
6163
6162
  updatedAt: string | Date;
@@ -129,8 +129,7 @@ export { createModel }
129
129
  export { createModel as createModel_alias_1 }
130
130
  export { createModel as createModel_alias_2 }
131
131
 
132
- declare function createMongoGenericFields({ isNew, returnDateAs, }?: {
133
- isNew?: boolean;
132
+ declare function createMongoGenericFields({ returnDateAs, }?: {
134
133
  returnDateAs?: 'string' | 'date';
135
134
  }): I_GenericDocument_2;
136
135
  export { createMongoGenericFields }
@@ -6147,7 +6146,7 @@ extends Model<T>, PaginateModel<T>,
6147
6146
  AggregatePaginateModel<T> { }
6148
6147
 
6149
6148
  declare interface I_GenericDocument extends Partial<C_Document> {
6150
- id?: string;
6149
+ id: string;
6151
6150
  isDel: boolean;
6152
6151
  createdAt: string | Date;
6153
6152
  updatedAt: string | Date;
@@ -6157,7 +6156,7 @@ export { I_GenericDocument as I_GenericDocument_alias_1 }
6157
6156
  export { I_GenericDocument as I_GenericDocument_alias_2 }
6158
6157
 
6159
6158
  declare interface I_GenericDocument_2 extends Partial<C_Document_2> {
6160
- id?: string;
6159
+ id: string;
6161
6160
  isDel: boolean;
6162
6161
  createdAt: string | Date;
6163
6162
  updatedAt: string | Date;