@backstage/plugin-search-backend-module-pg 0.5.5-next.1 → 0.5.5-next.2

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @backstage/plugin-search-backend-module-pg
2
2
 
3
+ ## 0.5.5-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-common@0.18.4-next.2
9
+ - @backstage/backend-plugin-api@0.5.1-next.2
10
+ - @backstage/config@1.0.7
11
+ - @backstage/plugin-search-backend-node@1.2.0-next.2
12
+ - @backstage/plugin-search-common@1.2.3-next.0
13
+
3
14
  ## 0.5.5-next.1
4
15
 
5
16
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-backend-module-pg",
3
- "version": "0.5.5-next.1",
3
+ "version": "0.5.5-next.2",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import { Logger } from 'winston';
6
6
  import { Config } from '@backstage/config';
7
7
 
8
8
  /** @public */
9
- declare type PgSearchEngineIndexerOptions = {
9
+ type PgSearchEngineIndexerOptions = {
10
10
  batchSize: number;
11
11
  type: string;
12
12
  databaseStore: DatabaseStore;
@@ -29,7 +29,7 @@ declare class PgSearchEngineIndexer extends BatchSearchEngineIndexer {
29
29
  * Search query that the Postgres search engine understands.
30
30
  * @public
31
31
  */
32
- declare type ConcretePgSearchQuery = {
32
+ type ConcretePgSearchQuery = {
33
33
  pgQuery: PgSearchQuery;
34
34
  pageSize: number;
35
35
  };
@@ -37,19 +37,19 @@ declare type ConcretePgSearchQuery = {
37
37
  * Options available for the Postgres specific query translator.
38
38
  * @public
39
39
  */
40
- declare type PgSearchQueryTranslatorOptions = {
40
+ type PgSearchQueryTranslatorOptions = {
41
41
  highlightOptions: PgSearchHighlightOptions;
42
42
  };
43
43
  /**
44
44
  * Postgres specific query translator.
45
45
  * @public
46
46
  */
47
- declare type PgSearchQueryTranslator = (query: SearchQuery, options: PgSearchQueryTranslatorOptions) => ConcretePgSearchQuery;
47
+ type PgSearchQueryTranslator = (query: SearchQuery, options: PgSearchQueryTranslatorOptions) => ConcretePgSearchQuery;
48
48
  /**
49
49
  * Options to instantiate PgSearchEngine
50
50
  * @public
51
51
  */
52
- declare type PgSearchOptions = {
52
+ type PgSearchOptions = {
53
53
  database: PluginDatabaseManager;
54
54
  logger?: Logger;
55
55
  };
@@ -57,7 +57,7 @@ declare type PgSearchOptions = {
57
57
  * Options for highlighting search terms
58
58
  * @public
59
59
  */
60
- declare type PgSearchHighlightOptions = {
60
+ type PgSearchHighlightOptions = {
61
61
  useHighlight?: boolean;
62
62
  maxWords?: number;
63
63
  minWords?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-backend-module-pg",
3
3
  "description": "A module for the search backend that implements search using PostgreSQL",
4
- "version": "0.5.5-next.1",
4
+ "version": "0.5.5-next.2",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -34,10 +34,10 @@
34
34
  "clean": "backstage-cli package clean"
35
35
  },
36
36
  "dependencies": {
37
- "@backstage/backend-common": "^0.18.4-next.1",
38
- "@backstage/backend-plugin-api": "^0.5.1-next.1",
37
+ "@backstage/backend-common": "^0.18.4-next.2",
38
+ "@backstage/backend-plugin-api": "^0.5.1-next.2",
39
39
  "@backstage/config": "^1.0.7",
40
- "@backstage/plugin-search-backend-node": "^1.2.0-next.1",
40
+ "@backstage/plugin-search-backend-node": "^1.2.0-next.2",
41
41
  "@backstage/plugin-search-common": "^1.2.3-next.0",
42
42
  "knex": "^2.0.0",
43
43
  "lodash": "^4.17.21",
@@ -45,8 +45,8 @@
45
45
  "winston": "^3.2.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@backstage/backend-test-utils": "^0.1.36-next.1",
49
- "@backstage/cli": "^0.22.6-next.1"
48
+ "@backstage/backend-test-utils": "^0.1.36-next.2",
49
+ "@backstage/cli": "^0.22.6-next.2"
50
50
  },
51
51
  "files": [
52
52
  "dist",