@backstage/plugin-search-backend-node
Advanced tools
Comparing version 0.0.0-nightly-202201323044 to 0.0.0-nightly-20220217022146
# @backstage/plugin-search-backend-node | ||
## 0.0.0-nightly-202201323044 | ||
## 0.0.0-nightly-20220217022146 | ||
### Patch Changes | ||
- 5333451def: Cleaned up API exports | ||
- c77c5c7eb6: Added `backstage.role` to `package.json` | ||
- Updated dependencies | ||
- @backstage/search-common@0.0.0-nightly-202201323044 | ||
- @backstage/search-common@0.0.0-nightly-20220217022146 | ||
## 0.4.5 | ||
### Patch Changes | ||
- f6389e9e5d: Track visibility permissions by document type in IndexBuilder | ||
- Updated dependencies | ||
- @backstage/search-common@0.2.2 | ||
## 0.4.4 | ||
### Patch Changes | ||
- 5333451def: Cleaned up API exports | ||
## 0.4.3 | ||
@@ -12,0 +26,0 @@ |
@@ -15,2 +15,3 @@ 'use strict'; | ||
this.decorators = {}; | ||
this.documentTypes = {}; | ||
this.logger = logger; | ||
@@ -22,2 +23,5 @@ this.searchEngine = searchEngine; | ||
} | ||
getDocumentTypes() { | ||
return this.documentTypes; | ||
} | ||
addCollator({ | ||
@@ -32,2 +36,5 @@ collator, | ||
}; | ||
this.documentTypes[collator.type] = { | ||
visibilityPermission: collator.visibilityPermission | ||
}; | ||
} | ||
@@ -34,0 +41,0 @@ addDecorator({ decorator }) { |
{ | ||
"name": "@backstage/plugin-search-backend-node", | ||
"description": "A library for Backstage backend plugins that want to interact with the search backend plugin", | ||
"version": "0.0.0-nightly-202201323044", | ||
"version": "0.0.0-nightly-20220217022146", | ||
"main": "dist/index.cjs.js", | ||
@@ -13,13 +13,16 @@ "types": "dist/index.d.ts", | ||
}, | ||
"backstage": { | ||
"role": "node-library" | ||
}, | ||
"scripts": { | ||
"start": "backstage-cli backend:dev", | ||
"build": "backstage-cli backend:build", | ||
"lint": "backstage-cli lint", | ||
"test": "backstage-cli test", | ||
"prepack": "backstage-cli prepack", | ||
"postpack": "backstage-cli postpack", | ||
"clean": "backstage-cli clean" | ||
"start": "backstage-cli package start", | ||
"build": "backstage-cli package build", | ||
"lint": "backstage-cli package lint", | ||
"test": "backstage-cli package test", | ||
"prepack": "backstage-cli package prepack", | ||
"postpack": "backstage-cli package postpack", | ||
"clean": "backstage-cli package clean" | ||
}, | ||
"dependencies": { | ||
"@backstage/search-common": "^0.0.0-nightly-202201323044", | ||
"@backstage/search-common": "^0.0.0-nightly-20220217022146", | ||
"winston": "^3.2.1", | ||
@@ -30,4 +33,4 @@ "lunr": "^2.3.9", | ||
"devDependencies": { | ||
"@backstage/backend-common": "^0.0.0-nightly-202201323044", | ||
"@backstage/cli": "^0.0.0-nightly-202201323044" | ||
"@backstage/backend-common": "^0.0.0-nightly-20220217022146", | ||
"@backstage/cli": "^0.0.0-nightly-20220217022146" | ||
}, | ||
@@ -34,0 +37,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
40625
5
252