Co-authored-by: SeDemal <Tagaishi@hotmail.ch> Co-authored-by: SeDemal <demal.sebastien@bluewin.ch> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
17 lines
594 B
TypeScript
17 lines
594 B
TypeScript
import { IconZoomQuestion } from "@tabler/icons-react";
|
|
|
|
import { createWidgetDefinition } from "../../definition";
|
|
import { optionsBuilder } from "../../options";
|
|
|
|
export const { componentLoader, definition, serverDataLoader } = createWidgetDefinition("mediaRequests-requestList", {
|
|
icon: IconZoomQuestion,
|
|
options: optionsBuilder.from((factory) => ({
|
|
linksTargetNewTab: factory.switch({
|
|
defaultValue: true,
|
|
}),
|
|
})),
|
|
supportedIntegrations: ["overseerr", "jellyseerr"],
|
|
})
|
|
.withServerData(() => import("./serverData"))
|
|
.withDynamicImport(() => import("./component"));
|