@tinacms/search 0.0.0-b832ee4-20250102012112 → 0.0.0-bdc07c1-20250506013835

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.
@@ -1,16 +1 @@
1
- export type { SearchClient } from './types';
2
- export { processDocumentForIndexing } from './indexer/utils';
3
- export declare const queryToSearchIndexQuery: (query: string, stopwordLanguages?: string[]) => any;
4
- export declare const optionsToSearchIndexOptions: (options?: {
5
- limit?: number;
6
- cursor?: string;
7
- }) => {};
8
- export declare const parseSearchIndexResponse: (data: any, options?: {
9
- limit?: number;
10
- cursor?: string;
11
- }) => {
12
- results: any;
13
- total: any;
14
- prevCursor: any;
15
- nextCursor: string;
16
- };
1
+ export * from "../src/index-client"
package/dist/index.d.ts CHANGED
@@ -1,5 +1 @@
1
- import si from 'search-index';
2
- export { SearchIndexer } from './indexer';
3
- export { LocalSearchIndexClient, TinaCMSSearchIndexClient } from './client';
4
- export type { SearchClient } from './types';
5
- export { si };
1
+ export * from "../src/index"
package/dist/index.js CHANGED
@@ -27,14 +27,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
29
  // src/index.ts
30
- var src_exports = {};
31
- __export(src_exports, {
30
+ var index_exports = {};
31
+ __export(index_exports, {
32
32
  LocalSearchIndexClient: () => LocalSearchIndexClient,
33
33
  SearchIndexer: () => SearchIndexer,
34
34
  TinaCMSSearchIndexClient: () => TinaCMSSearchIndexClient,
35
35
  si: () => import_search_index2.default
36
36
  });
37
- module.exports = __toCommonJS(src_exports);
37
+ module.exports = __toCommonJS(index_exports);
38
38
  var import_search_index2 = __toESM(require("search-index"));
39
39
 
40
40
  // src/indexer/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/search",
3
- "version": "0.0.0-b832ee4-20250102012112",
3
+ "version": "0.0.0-bdc07c1-20250506013835",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index-client.mjs",
6
6
  "typings": "dist/index.d.ts",
@@ -31,10 +31,10 @@
31
31
  "dependencies": {
32
32
  "memory-level": "^1.0.0",
33
33
  "search-index": "4.0.0",
34
- "sqlite-level": "^1.2.0",
35
- "stopword": "^3.1.1",
36
- "@tinacms/graphql": "0.0.0-b832ee4-20250102012112",
37
- "@tinacms/schema-tools": "1.6.9"
34
+ "sqlite-level": "^1.2.1",
35
+ "stopword": "^3.1.4",
36
+ "@tinacms/graphql": "0.0.0-bdc07c1-20250506013835",
37
+ "@tinacms/schema-tools": "0.0.0-bdc07c1-20250506013835"
38
38
  },
39
39
  "publishConfig": {
40
40
  "registry": "https://registry.npmjs.org"
@@ -46,14 +46,14 @@
46
46
  "devDependencies": {
47
47
  "@types/jest": "^29.5.14",
48
48
  "@types/micromatch": "^4.0.9",
49
- "@types/node": "^22.9.0",
49
+ "@types/node": "^22.13.1",
50
50
  "@types/search-index": "^3.2.4",
51
51
  "jest": "^29.7.0",
52
52
  "jest-diff": "^29.7.0",
53
53
  "jest-file-snapshot": "^0.7.0",
54
54
  "jest-matcher-utils": "^29.7.0",
55
- "typescript": "^5.6.3",
56
- "@tinacms/scripts": "1.3.1"
55
+ "typescript": "^5.7.3",
56
+ "@tinacms/scripts": "1.3.4"
57
57
  },
58
58
  "scripts": {
59
59
  "types": "pnpm tsc",