@lilaquadrat/interfaces 1.32.0 → 1.33.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.33.0](https://github.com/lilaquadrat/interfaces/compare/v1.32.0...v1.33.0) (2025-12-23)
6
+
7
+
8
+ ### Features
9
+
10
+ * **databasequeryoptions:** added search ([99d6a62](https://github.com/lilaquadrat/interfaces/commit/99d6a62b0be4b291d7cd69f85665bd2fb273907a))
11
+ * **mongodb:** installed version 7 ([92d072e](https://github.com/lilaquadrat/interfaces/commit/92d072e83cfec43970029e19b52f3ad51c312db8))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **storage:** company and filename are required ([c2da646](https://github.com/lilaquadrat/interfaces/commit/c2da6460ef5a2e82b034056647b7cd3b78b6ec42))
17
+
5
18
  ## [1.32.0](https://github.com/lilaquadrat/interfaces/compare/v1.31.0...v1.32.0) (2025-12-12)
6
19
 
7
20
 
@@ -28,4 +28,5 @@ export interface DatabaseQueryOptions {
28
28
  */
29
29
  keepSearch?: boolean;
30
30
  keepSort?: boolean;
31
+ search?: string[];
31
32
  }
@@ -1,7 +1,7 @@
1
1
  import { ObjectId } from "mongodb";
2
2
  import { MediaMetadata } from "./MediaMetadata";
3
3
  export interface Storage {
4
- company?: string;
4
+ company: string;
5
5
  project?: string;
6
6
  /**
7
7
  * this document can be bound to a specific customer
@@ -11,7 +11,7 @@ export interface Storage {
11
11
  * this document can be bound to a specific list and customer
12
12
  */
13
13
  list?: ObjectId;
14
- filename?: string;
14
+ filename: string;
15
15
  prefix?: string;
16
16
  path?: string;
17
17
  metadata?: MediaMetadata;
@@ -28,4 +28,5 @@ export interface DatabaseQueryOptions {
28
28
  */
29
29
  keepSearch?: boolean;
30
30
  keepSort?: boolean;
31
+ search?: string[];
31
32
  }
@@ -1,7 +1,7 @@
1
1
  import { ObjectId } from "mongodb";
2
2
  import { MediaMetadata } from "./MediaMetadata";
3
3
  export interface Storage {
4
- company?: string;
4
+ company: string;
5
5
  project?: string;
6
6
  /**
7
7
  * this document can be bound to a specific customer
@@ -11,7 +11,7 @@ export interface Storage {
11
11
  * this document can be bound to a specific list and customer
12
12
  */
13
13
  list?: ObjectId;
14
- filename?: string;
14
+ filename: string;
15
15
  prefix?: string;
16
16
  path?: string;
17
17
  metadata?: MediaMetadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.32.0",
3
+ "version": "1.33.0",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -32,7 +32,7 @@
32
32
  "@types/node": "^20.11.9",
33
33
  "ajv": "^8.12.0",
34
34
  "cz-conventional-changelog": "^3.3.0",
35
- "mongodb": "^6.12.0",
35
+ "mongodb": "^7.0.0",
36
36
  "standard-version": "^9.5.0"
37
37
  },
38
38
  "config": {
@@ -28,4 +28,5 @@ export interface DatabaseQueryOptions {
28
28
  */
29
29
  keepSearch?: boolean;
30
30
  keepSort?: boolean;
31
+ search?: string[];
31
32
  }
package/src/Storage.ts CHANGED
@@ -2,7 +2,7 @@ import { ObjectId } from "mongodb";
2
2
  import { MediaMetadata } from "./MediaMetadata";
3
3
 
4
4
  export interface Storage {
5
- company?: string
5
+ company: string
6
6
  project?: string
7
7
 
8
8
  /**
@@ -14,7 +14,7 @@ export interface Storage {
14
14
  */
15
15
  list?: ObjectId
16
16
 
17
- filename?: string
17
+ filename: string
18
18
  prefix?: string
19
19
 
20
20
  path?: string