@backstage/plugin-search-backend-module-explore 0.3.15-next.0 → 0.3.16-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 +16 -0
- package/config.schema.json +178 -0
- package/package.json +7 -7
- package/config.d.ts +0 -33
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @backstage/plugin-search-backend-module-explore
|
|
2
2
|
|
|
3
|
+
## 0.3.16-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
|
+
|
|
11
|
+
## 0.3.15
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @backstage/backend-plugin-api@1.9.2
|
|
17
|
+
- @backstage/plugin-search-backend-node@1.4.5
|
|
18
|
+
|
|
3
19
|
## 0.3.15-next.0
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"search": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"collators": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"explore": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"schedule": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"frequency": {
|
|
18
|
+
"anyOf": [
|
|
19
|
+
{
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"cron": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "A crontab style string."
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [
|
|
28
|
+
"cron"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"years": {
|
|
38
|
+
"type": "number"
|
|
39
|
+
},
|
|
40
|
+
"months": {
|
|
41
|
+
"type": "number"
|
|
42
|
+
},
|
|
43
|
+
"weeks": {
|
|
44
|
+
"type": "number"
|
|
45
|
+
},
|
|
46
|
+
"days": {
|
|
47
|
+
"type": "number"
|
|
48
|
+
},
|
|
49
|
+
"hours": {
|
|
50
|
+
"type": "number"
|
|
51
|
+
},
|
|
52
|
+
"minutes": {
|
|
53
|
+
"type": "number"
|
|
54
|
+
},
|
|
55
|
+
"seconds": {
|
|
56
|
+
"type": "number"
|
|
57
|
+
},
|
|
58
|
+
"milliseconds": {
|
|
59
|
+
"type": "number"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"description": "Human friendly durations object."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"trigger": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"const": "manual"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"trigger"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"description": "How often you want the task to run. The system does its best to avoid overlapping invocations."
|
|
78
|
+
},
|
|
79
|
+
"timeout": {
|
|
80
|
+
"anyOf": [
|
|
81
|
+
{
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"years": {
|
|
88
|
+
"type": "number"
|
|
89
|
+
},
|
|
90
|
+
"months": {
|
|
91
|
+
"type": "number"
|
|
92
|
+
},
|
|
93
|
+
"weeks": {
|
|
94
|
+
"type": "number"
|
|
95
|
+
},
|
|
96
|
+
"days": {
|
|
97
|
+
"type": "number"
|
|
98
|
+
},
|
|
99
|
+
"hours": {
|
|
100
|
+
"type": "number"
|
|
101
|
+
},
|
|
102
|
+
"minutes": {
|
|
103
|
+
"type": "number"
|
|
104
|
+
},
|
|
105
|
+
"seconds": {
|
|
106
|
+
"type": "number"
|
|
107
|
+
},
|
|
108
|
+
"milliseconds": {
|
|
109
|
+
"type": "number"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"description": "Human friendly durations object."
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"description": "The maximum amount of time that a single task invocation can take, before it's considered timed out and gets \"released\" such that a new invocation is permitted to take place (possibly, then, on a different worker)."
|
|
116
|
+
},
|
|
117
|
+
"initialDelay": {
|
|
118
|
+
"anyOf": [
|
|
119
|
+
{
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"years": {
|
|
126
|
+
"type": "number"
|
|
127
|
+
},
|
|
128
|
+
"months": {
|
|
129
|
+
"type": "number"
|
|
130
|
+
},
|
|
131
|
+
"weeks": {
|
|
132
|
+
"type": "number"
|
|
133
|
+
},
|
|
134
|
+
"days": {
|
|
135
|
+
"type": "number"
|
|
136
|
+
},
|
|
137
|
+
"hours": {
|
|
138
|
+
"type": "number"
|
|
139
|
+
},
|
|
140
|
+
"minutes": {
|
|
141
|
+
"type": "number"
|
|
142
|
+
},
|
|
143
|
+
"seconds": {
|
|
144
|
+
"type": "number"
|
|
145
|
+
},
|
|
146
|
+
"milliseconds": {
|
|
147
|
+
"type": "number"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"description": "Human friendly durations object."
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"description": "The amount of time that should pass before the first invocation happens."
|
|
154
|
+
},
|
|
155
|
+
"scope": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"enum": [
|
|
158
|
+
"global",
|
|
159
|
+
"local"
|
|
160
|
+
],
|
|
161
|
+
"description": "Sets the scope of concurrency control / locking to apply for invocations of this task."
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"required": [
|
|
165
|
+
"frequency",
|
|
166
|
+
"timeout"
|
|
167
|
+
],
|
|
168
|
+
"description": "The schedule for how often to run the collation job."
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"description": "Configuration options for `@backstage/plugin-search-backend-module-explore`"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-search-backend-module-explore",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16-next.0",
|
|
4
4
|
"description": "A module for the search backend that exports explore modules",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"moved": "@backstage-community/plugin-search-backend-module-explore",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"files": [
|
|
53
53
|
"dist",
|
|
54
|
-
"config.
|
|
54
|
+
"config.schema.json"
|
|
55
55
|
],
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "backstage-cli package build",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@backstage-community/plugin-explore-common": "^0.12.0",
|
|
67
|
-
"@backstage/backend-plugin-api": "1.9.
|
|
67
|
+
"@backstage/backend-plugin-api": "1.9.3-next.0",
|
|
68
68
|
"@backstage/config": "1.3.8",
|
|
69
|
-
"@backstage/plugin-search-backend-node": "1.4.
|
|
69
|
+
"@backstage/plugin-search-backend-node": "1.4.6-next.0",
|
|
70
70
|
"@backstage/plugin-search-common": "1.2.24"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@backstage/backend-test-utils": "1.11.
|
|
74
|
-
"@backstage/cli": "0.36.
|
|
73
|
+
"@backstage/backend-test-utils": "1.11.5-next.0",
|
|
74
|
+
"@backstage/cli": "0.36.4-next.0",
|
|
75
75
|
"msw": "^1.2.1"
|
|
76
76
|
},
|
|
77
|
-
"configSchema": "config.
|
|
77
|
+
"configSchema": "config.schema.json"
|
|
78
78
|
}
|
package/config.d.ts
DELETED
|
@@ -1,33 +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
|
-
import { SchedulerServiceTaskScheduleDefinitionConfig } from '@backstage/backend-plugin-api';
|
|
18
|
-
|
|
19
|
-
export interface Config {
|
|
20
|
-
search?: {
|
|
21
|
-
collators?: {
|
|
22
|
-
/**
|
|
23
|
-
* Configuration options for `@backstage/plugin-search-backend-module-explore`
|
|
24
|
-
*/
|
|
25
|
-
explore?: {
|
|
26
|
-
/**
|
|
27
|
-
* The schedule for how often to run the collation job.
|
|
28
|
-
*/
|
|
29
|
-
schedule?: SchedulerServiceTaskScheduleDefinitionConfig;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}
|