fix interface name and import
Compile the repository / compile (pull_request) Successful in 19s Details
Run unit tests / test (pull_request) Successful in 18s Details

This commit is contained in:
kenobi 2023-11-25 19:51:02 +01:00
parent 1f372b0aac
commit ef39c6315d
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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,