mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 04:45:02 +00:00
Add repeat options for scheduled posts
This commit is contained in:
parent
646156344a
commit
2ff65e89fd
7 changed files with 320 additions and 113 deletions
|
@ -47,6 +47,7 @@ export const SECONDS = 1000 * MS;
|
|||
export const MINUTES = 60 * SECONDS;
|
||||
export const HOURS = 60 * MINUTES;
|
||||
export const DAYS = 24 * HOURS;
|
||||
export const WEEKS = 7 * 24 * HOURS;
|
||||
|
||||
export function tNullable<T extends t.Type<any, any>>(type: T) {
|
||||
return t.union([type, t.undefined, t.null], `Nullable<${type.name}>`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue