This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
fediverse-imagebot/src/helpers/types.ts
Sam Therapy 4d554e7095
All checks were successful
continuous-integration/drone/push Build is passing
add retries
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-28 18:30:00 +02:00

17 lines
350 B
TypeScript

/**
* Config type to reduce boilerplate
*/
export type config = {
instance: string
type: "misskey" | "mastodon" | "pleroma"
accessToken: string
refreshToken: string | null
message: string
visibility: "direct" | "unlisted" | "private" | "public"
remote: boolean
booru: string
tags: string[]
directory: string
retries: number
}