Skip to content

Commit

Permalink
Add upgrade key to plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
zAlweNy26 committed Feb 13, 2024
1 parent 3cecaca commit aa0729b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tidy-terms-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ccat-api": patch
---

Add upgrade key to plugins
1 change: 1 addition & 0 deletions api/models/Plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type Plugin = {
version: string;
active?: boolean;
url?: string;
upgrade?: string;
hooks?: Array<{
name: string;
priority: number;
Expand Down
4 changes: 4 additions & 0 deletions catapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,10 @@
"title": "Install URL",
"type": "string"
},
"upgrade": {
"title": "Upgrade",
"type": "string"
},
"hooks": {
"title": "Hooks",
"type": "array",
Expand Down

0 comments on commit aa0729b

Please sign in to comment.