fix interface name and import
This commit is contained in:
parent
1f372b0aac
commit
ef39c6315d
|
@ -5,7 +5,7 @@ import { getMembersWithRoleFromGuild } from "./roleFilter"
|
||||||
import { config } from "../configuration"
|
import { config } from "../configuration"
|
||||||
import { VoteMessage, isVoteEndedMessage, isVoteMessage } from "./messageIdentifiers"
|
import { VoteMessage, isVoteEndedMessage, isVoteMessage } from "./messageIdentifiers"
|
||||||
import { createDateStringFromEvent } from "./dateHelper"
|
import { createDateStringFromEvent } from "./dateHelper"
|
||||||
import { Maybe, voteMessageInputInformation as prepareVoteMessageInput } from "../interfaces"
|
import { Maybe, prepareVoteMessageInput } from "../interfaces"
|
||||||
import format from "date-fns/format"
|
import format from "date-fns/format"
|
||||||
import toDate from "date-fns/toDate"
|
import toDate from "date-fns/toDate"
|
||||||
import differenceInDays from "date-fns/differenceInDays"
|
import differenceInDays from "date-fns/differenceInDays"
|
||||||
|
|
|
@ -39,7 +39,7 @@ export interface JellyfinConfig {
|
||||||
collectionUser: string
|
collectionUser: string
|
||||||
}
|
}
|
||||||
export type PermissionLevel = "VIEWER" | "ADMIN" | "TEMPORARY"
|
export type PermissionLevel = "VIEWER" | "ADMIN" | "TEMPORARY"
|
||||||
export interface voteMessageInputInformation {
|
export interface prepareVoteMessageInput {
|
||||||
movies: string[],
|
movies: string[],
|
||||||
startDate: Date,
|
startDate: Date,
|
||||||
event: GuildScheduledEvent,
|
event: GuildScheduledEvent,
|
||||||
|
|
Loading…
Reference in New Issue