@opencxh/domain 1.153.0 → 1.154.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.
@@ -181,6 +181,20 @@ export interface ListFilesPayload {
181
181
  mountId?: string;
182
182
  path?: string;
183
183
  }
184
+ /**
185
+ * Kijken over mappen heen in plaats van in één map (`POST storage/file/browse`).
186
+ *
187
+ * Geen `mountId` en geen `path`: de vraag is juist "waar dan ook waar ik mag
188
+ * kijken". De server bepaalt zelf welke mappen dat zijn — zie `readableMounts`.
189
+ */
190
+ export interface BrowseFilesPayload {
191
+ /** Vrije tekst op de bestandsnaam; hoofdletterongevoelig, deelreeks. */
192
+ name?: string;
193
+ /** `mine` beperkt tot wat je zelf hebt toegevoegd; standaard alles. */
194
+ scope?: "all" | "mine";
195
+ /** Plafond op het aantal rijen; de server kapt hem af op zijn eigen maximum. */
196
+ limit?: number;
197
+ }
184
198
  export interface DownloadAttachmentPayload {
185
199
  attachmentId: string;
186
200
  accountId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.153.0",
3
+ "version": "1.154.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",