Skip to content

Commit

Permalink
feat: improve fetchCron field
Browse files Browse the repository at this point in the history
display using gio-cron and only if auto-fetch is true
  • Loading branch information
phiz71 committed Sep 3, 2024
1 parent dcd02f0 commit 5379c88
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions src/main/resources/schemas/schema-form.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"useSystemProxy": {
"title": "Use system proxy",
"description": "Use the system proxy configured by your administrator.",
"description": "Use the system proxy configured by your administrator",
"type": "boolean"
},
"owner": {
Expand Down Expand Up @@ -42,15 +42,23 @@
"type": "string"
},
"autoFetch": {
"title": "Auto Fetch",
"description": "Trigger periodic update",
"title": "Enable Auto Fetch",
"description": "Enable a periodic update of this documentation page",
"type": "boolean",
"default": false
},
"fetchCron": {
"title": "Update frequency",
"description": "Define update frequency using Crontab pattern.<BR><B>Note:</B> Platform administrator may have configure a max frequency that you cannot exceed",
"type": "string"
"description": "Define update frequency using Crontab pattern. Note: Platform administrator may have configured a max frequency that you cannot exceed.",
"type": "string",
"format": "gio-cron",
"gioConfig": {
"displayIf": {
"$eq": {
"value.autoFetch": true
}
}
}
}
},
"required": ["githubUrl", "owner", "repository"],
Expand Down

0 comments on commit 5379c88

Please sign in to comment.