@sparkvault/sdk-js 8.11.2 → 8.11.3

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/dist/index.d.ts CHANGED
@@ -1214,6 +1214,8 @@ interface SearchIngotsOptions {
1214
1214
  q?: string;
1215
1215
  /** File type filter */
1216
1216
  fileType?: string;
1217
+ /** Scope the search to one folder (whole vault when omitted) */
1218
+ folderId?: string;
1217
1219
  /** Minimum size in bytes */
1218
1220
  minSize?: number;
1219
1221
  /** Maximum size in bytes */
@@ -148,6 +148,8 @@ export interface SearchIngotsOptions {
148
148
  q?: string;
149
149
  /** File type filter */
150
150
  fileType?: string;
151
+ /** Scope the search to one folder (whole vault when omitted) */
152
+ folderId?: string;
151
153
  /** Minimum size in bytes */
152
154
  minSize?: number;
153
155
  /** Maximum size in bytes */
@@ -12865,6 +12865,7 @@ class IngotsModule {
12865
12865
  const query = buildQuery$1({
12866
12866
  q: options.q,
12867
12867
  file_type: options.fileType,
12868
+ folder_id: options.folderId,
12868
12869
  min_size: options.minSize,
12869
12870
  max_size: options.maxSize,
12870
12871
  limit: options.limit,