@findlane/server 0.24.0 → 0.25.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/dist/index.cjs CHANGED
@@ -441,6 +441,8 @@ class SearchServerClient {
441
441
  await pause(Math.min(options.intervalMs ?? 1000, deadline - Date.now()), options.signal);
442
442
  }
443
443
  },
444
+ subindex: (subindex) => this.index(`${name}.${subindex}`),
445
+ listSubindexes: async (signal) => (await request("/subindexes", "GET", undefined, signal)).subindexes,
444
446
  getPublicSearchAccess: (signal) => request("/public-access", "GET", undefined, signal),
445
447
  setPublicSearchPolicy: (policy, signal) => request("/public-access/policy", "PUT", { policy }, signal),
446
448
  usePublicIndexDefaults: (signal) => request("/public-access/policy", "DELETE", undefined, signal),