-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add getCronFromFrequency to manifest models
This feature is imported from harvest and allows to get the cron string from a given frequency like 'daily'. This cron string will configure the trigger associated to the konnector
- Loading branch information
doubleface
committed
Mar 8, 2023
1 parent
b15f653
commit 36e7d16
Showing
8 changed files
with
460 additions
and
8 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
docs/api/cozy-client/interfaces/manifest.FrequencyOptions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[cozy-client](../README.md) / [manifest](../modules/manifest.md) / FrequencyOptions | ||
|
||
# Interface: FrequencyOptions<> | ||
|
||
[manifest](../modules/manifest.md).FrequencyOptions | ||
|
||
frequency options object | ||
|
||
## Properties | ||
|
||
### dayOfMonth | ||
|
||
• **dayOfMonth**: `number` | ||
|
||
day of the month | ||
|
||
*Defined in* | ||
|
||
[packages/cozy-client/src/models/manifest.js:329](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/models/manifest.js#L329) | ||
|
||
*** | ||
|
||
### dayOfWeek | ||
|
||
• **dayOfWeek**: `number` | ||
|
||
day of the week | ||
|
||
*Defined in* | ||
|
||
[packages/cozy-client/src/models/manifest.js:330](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/models/manifest.js#L330) | ||
|
||
*** | ||
|
||
### hours | ||
|
||
• **hours**: `number` | ||
|
||
hours | ||
|
||
*Defined in* | ||
|
||
[packages/cozy-client/src/models/manifest.js:331](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/models/manifest.js#L331) | ||
|
||
*** | ||
|
||
### minutes | ||
|
||
• **minutes**: `number` | ||
|
||
minutes | ||
|
||
*Defined in* | ||
|
||
[packages/cozy-client/src/models/manifest.js:332](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/models/manifest.js#L332) |
29 changes: 29 additions & 0 deletions
29
docs/api/cozy-client/interfaces/manifest.randomDayTimeResult.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[cozy-client](../README.md) / [manifest](../modules/manifest.md) / randomDayTimeResult | ||
|
||
# Interface: randomDayTimeResult<> | ||
|
||
[manifest](../modules/manifest.md).randomDayTimeResult | ||
|
||
## Properties | ||
|
||
### hours | ||
|
||
• **hours**: `number` | ||
|
||
hours | ||
|
||
*Defined in* | ||
|
||
[packages/cozy-client/src/models/manifest.js:323](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/models/manifest.js#L323) | ||
|
||
*** | ||
|
||
### minutes | ||
|
||
• **minutes**: `number` | ||
|
||
minutes | ||
|
||
*Defined in* | ||
|
||
[packages/cozy-client/src/models/manifest.js:324](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/models/manifest.js#L324) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.