@stacksjs/search-engine 0.68.2 → 0.69.1

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/add.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import type { Err } from '@stacksjs/error-handling';
2
+
3
+ export declare function importModelDocuments(modelOption?: string): Promise<Ok<string, never> | Err<string, any>>;
@@ -0,0 +1,3 @@
1
+ import type { Err } from '@stacksjs/error-handling';
2
+
3
+ export declare function flushModelDocuments(modelOption?: string): Promise<Ok<string, never> | Err<string, any>>;
package/dist/helpers.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import type { SearchEngineStore } from './types';
2
- import { isString } from '@stacksjs/validation';
3
2
 
4
3
  export declare function isString(val: unknown): val is string;
5
4
  export declare function determineState(): SearchEngineStore;
@@ -0,0 +1,3 @@
1
+ import type { Err } from '@stacksjs/error-handling';
2
+
3
+ export declare function listIndexSettings(modelName: string): Promise<Ok<string, never> | Err<string, any>>;
package/dist/index.d.ts CHANGED
@@ -1,17 +1,4 @@
1
- import type { ComputedRef } from 'vue';
2
- import type { UiEngine } from '@stacksjs/ui';
3
-
4
- declare const table: unknown;
5
- declare const pages: UiEngine.Ref<number[]>;
6
- export declare const currentPage: ComputedRef;
7
- export declare const filters: ComputedRef;
8
- export declare const goToPage: ComputedRef;
9
- export declare const hits: ComputedRef;
10
- export declare const lastPageNumber: ComputedRef<number>;
11
- export declare const query: ComputedRef<string | undefined>;
12
- export declare const searchFilters: ComputedRef;
13
- export declare const setTotalHits: ComputedRef;
14
- export declare const sorts: ComputedRef;
15
- declare function client(): string;
16
- export declare function useSearchEngine(): string;
17
- export declare function calculatePagination(): void;
1
+ export * from './add'
2
+ export * from './flush'
3
+ export * from './index-list'
4
+ export * from './settings'