@voltro/plugin-search 0.84.0 → 0.86.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.d.ts CHANGED
@@ -388,13 +388,11 @@ export declare type SearchEngine = 'typesense' | 'meilisearch' | 'algolia';
388
388
  export declare class SearchFieldRejected extends SearchFieldRejected_base {
389
389
  }
390
390
 
391
- declare const SearchFieldRejected_base: Schema.TaggedErrorClass<SearchFieldRejected, "SearchFieldRejected", {
392
- readonly _tag: Schema.tag<"SearchFieldRejected">;
393
- } & {
394
- field: typeof Schema.String;
395
- where: Schema.Literal<["filter", "facet", "highlight"]>;
396
- reason: Schema.Literal<["not-an-identifier", "not-queryable"]>;
397
- }>;
391
+ declare const SearchFieldRejected_base: Schema.Class<SearchFieldRejected, Schema.TaggedStruct<"SearchFieldRejected", {
392
+ readonly field: Schema.String;
393
+ readonly where: Schema.Literals<readonly ["filter", "facet", "highlight"]>;
394
+ readonly reason: Schema.Literals<readonly ["not-an-identifier", "not-queryable"]>;
395
+ }>, YieldableError>;
398
396
 
399
397
  export declare interface SearchFilter {
400
398
  readonly field: string;
@@ -431,11 +429,9 @@ export declare interface SearchHit {
431
429
  export declare class SearchIndexNotFound extends SearchIndexNotFound_base {
432
430
  }
433
431
 
434
- declare const SearchIndexNotFound_base: Schema.TaggedErrorClass<SearchIndexNotFound, "SearchIndexNotFound", {
435
- readonly _tag: Schema.tag<"SearchIndexNotFound">;
436
- } & {
437
- index: typeof Schema.String;
438
- }>;
432
+ declare const SearchIndexNotFound_base: Schema.Class<SearchIndexNotFound, Schema.TaggedStruct<"SearchIndexNotFound", {
433
+ readonly index: Schema.String;
434
+ }>, YieldableError>;
439
435
 
440
436
  export declare const searchPlugin: (options: SearchPluginOptions) => VoltroPlugin;
441
437