@naturalcycles/db-lib 10.17.1 → 10.17.2

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.
@@ -197,10 +197,7 @@ export interface CommonDaoIndex<DBM extends BaseDBEntity> {
197
197
  * Name of the property to index.
198
198
  */
199
199
  name: keyof DBM;
200
- /**
201
- * Defaults to ['asc']
202
- */
203
- order?: CommonDaoIndexOrder[];
200
+ order: CommonDaoIndexOrder[];
204
201
  }
205
202
  export type CommonDaoIndexOrder = 'asc' | 'desc' | 'array-contains';
206
203
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/db-lib",
3
3
  "type": "module",
4
- "version": "10.17.1",
4
+ "version": "10.17.2",
5
5
  "dependencies": {
6
6
  "@naturalcycles/js-lib": "^15",
7
7
  "@naturalcycles/nodejs-lib": "^15"
@@ -239,10 +239,7 @@ export interface CommonDaoIndex<DBM extends BaseDBEntity> {
239
239
  * Name of the property to index.
240
240
  */
241
241
  name: keyof DBM
242
- /**
243
- * Defaults to ['asc']
244
- */
245
- order?: CommonDaoIndexOrder[]
242
+ order: CommonDaoIndexOrder[]
246
243
  }
247
244
 
248
245
  export type CommonDaoIndexOrder = 'asc' | 'desc' | 'array-contains'