@backstage/plugin-search-backend-module-stack-overflow-collator 0.3.21 → 0.3.22-next.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @backstage/plugin-search-backend-module-stack-overflow-collator
2
2
 
3
+ ## 0.3.22-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-search-backend-node@1.4.6-next.0
9
+ - @backstage/backend-plugin-api@1.9.3-next.0
10
+
3
11
  ## 0.3.21
4
12
 
5
13
  ### Patch Changes
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "stackoverflow": {
6
+ "type": "object",
7
+ "properties": {
8
+ "baseUrl": {
9
+ "type": "string",
10
+ "description": "The base url of the Stack Overflow API used for the plugin"
11
+ },
12
+ "apiKey": {
13
+ "type": "string",
14
+ "description": "The API key to authenticate to Stack Overflow API",
15
+ "visibility": "secret"
16
+ },
17
+ "teamName": {
18
+ "type": "string",
19
+ "description": "The name of the team for a Stack Overflow for Teams account"
20
+ },
21
+ "apiAccessToken": {
22
+ "type": "string",
23
+ "description": "The API Access Token to authenticate to Stack Overflow API",
24
+ "visibility": "secret"
25
+ },
26
+ "requestParams": {
27
+ "type": "object",
28
+ "additionalProperties": {
29
+ "anyOf": [
30
+ {
31
+ "type": "string"
32
+ },
33
+ {
34
+ "type": "array",
35
+ "items": {
36
+ "type": "string"
37
+ }
38
+ },
39
+ {
40
+ "type": "number"
41
+ }
42
+ ]
43
+ },
44
+ "description": "Type representing the request parameters."
45
+ }
46
+ },
47
+ "description": "Configuration options for the stack overflow plugin"
48
+ }
49
+ }
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-backend-module-stack-overflow-collator",
3
- "version": "0.3.21",
3
+ "version": "0.3.22-next.0",
4
4
  "description": "A module for the search backend that exports stack overflow modules",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -26,7 +26,7 @@
26
26
  "types": "dist/index.d.ts",
27
27
  "files": [
28
28
  "dist",
29
- "config.d.ts"
29
+ "config.schema.json"
30
30
  ],
31
31
  "scripts": {
32
32
  "build": "backstage-cli package build",
@@ -38,18 +38,18 @@
38
38
  "test": "backstage-cli package test"
39
39
  },
40
40
  "dependencies": {
41
- "@backstage/backend-plugin-api": "^1.9.2",
42
- "@backstage/config": "^1.3.8",
43
- "@backstage/plugin-search-backend-node": "^1.4.5",
44
- "@backstage/plugin-search-common": "^1.2.24",
41
+ "@backstage/backend-plugin-api": "1.9.3-next.0",
42
+ "@backstage/config": "1.3.8",
43
+ "@backstage/plugin-search-backend-node": "1.4.6-next.0",
44
+ "@backstage/plugin-search-common": "1.2.24",
45
45
  "qs": "^6.15.2"
46
46
  },
47
47
  "devDependencies": {
48
- "@backstage/backend-test-utils": "^1.11.4",
49
- "@backstage/cli": "^0.36.3",
48
+ "@backstage/backend-test-utils": "1.11.5-next.0",
49
+ "@backstage/cli": "0.36.4-next.0",
50
50
  "msw": "^1.2.1"
51
51
  },
52
- "configSchema": "config.d.ts",
52
+ "configSchema": "config.schema.json",
53
53
  "typesVersions": {
54
54
  "*": {
55
55
  "package.json": [
package/config.d.ts DELETED
@@ -1,51 +0,0 @@
1
- /*
2
- * Copyright 2023 The Backstage Authors
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- export interface Config {
18
- /**
19
- * Configuration options for the stack overflow plugin
20
- */
21
- stackoverflow?: {
22
- /**
23
- * The base url of the Stack Overflow API used for the plugin
24
- */
25
- baseUrl?: string;
26
-
27
- /**
28
- * The API key to authenticate to Stack Overflow API
29
- * @visibility secret
30
- */
31
- apiKey?: string;
32
-
33
- /**
34
- * The name of the team for a Stack Overflow for Teams account
35
- */
36
- teamName?: string;
37
-
38
- /**
39
- * The API Access Token to authenticate to Stack Overflow API
40
- * @visibility secret
41
- */
42
- apiAccessToken?: string;
43
-
44
- /**
45
- * Type representing the request parameters.
46
- */
47
- requestParams?: {
48
- [key: string]: string | string[] | number;
49
- };
50
- };
51
- }