@backstage-community/plugin-copilot-backend 0.3.1 → 0.3.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 +6 -0
- package/README.md +2 -2
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -36,11 +36,11 @@ To install the plugin using the old method:
|
|
|
36
36
|
1. In your `packages/backend/src/plugins/copilot.ts` file, add the following code:
|
|
37
37
|
|
|
38
38
|
```typescript
|
|
39
|
-
import {
|
|
39
|
+
import { SchedulerServiceTaskScheduleDefinition } from '@backstage/backend-plugin-api';
|
|
40
40
|
import { createRouterFromConfig } from '@backstage-community/plugin-copilot-backend';
|
|
41
41
|
|
|
42
42
|
export default async function createPlugin(): Promise<void> {
|
|
43
|
-
const schedule:
|
|
43
|
+
const schedule: SchedulerServiceTaskScheduleDefinition = {
|
|
44
44
|
frequency: { cron: '0 2 * * *' },
|
|
45
45
|
timeout: { minutes: 15 },
|
|
46
46
|
initialDelay: { seconds: 15 },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-copilot-backend",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"homepage": "https://backstage.io",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"@backstage/backend-app-api": "^1.1.0",
|
|
44
44
|
"@backstage/backend-defaults": "^0.6.2",
|
|
45
45
|
"@backstage/backend-plugin-api": "^1.1.0",
|
|
46
|
-
"@backstage/backend-tasks": "^0.6.1",
|
|
47
46
|
"@backstage/config": "^1.3.1",
|
|
48
47
|
"@backstage/errors": "^1.2.6",
|
|
49
48
|
"@backstage/integration": "^1.16.0",
|