@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/CHANGELOG.md +1215 -0
- package/THIRD-PARTY-NOTICES.md +6 -90
- package/dist/backend.js +398 -0
- package/dist/drift.js +121 -0
- package/dist/errors.js +13 -0
- package/dist/index.d.ts +8 -12
- package/dist/index.js +173 -1017
- package/dist/memoryGuard.js +38 -0
- package/dist/rpc.d.ts +32 -35
- package/dist/rpc.js +57 -2
- package/dist/sanitize.js +122 -0
- package/dist/statsBuffer.js +36 -0
- package/dist/statsStore.js +163 -0
- package/dist/web.js +1 -1
- package/package.json +5 -5
- package/dist/rpc-CpryHBcM.js +0 -62
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.
|
|
392
|
-
readonly
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
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.
|
|
435
|
-
readonly
|
|
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
|
|