chore: add missing license headers (#1499)

This commit is contained in:
martylukyy 2024-04-11 14:28:01 +02:00 committed by GitHub
parent b181231b12
commit b44d55ea55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 85 additions and 0 deletions

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { Fragment, useRef, useState } from "react"; import { Fragment, useRef, useState } from "react";
import { Dialog, Transition } from "@headlessui/react"; import { Dialog, Transition } from "@headlessui/react";
import { useQueryClient } from "@tanstack/react-query"; import { useQueryClient } from "@tanstack/react-query";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { formatISO9075 } from "date-fns"; import { formatISO9075 } from "date-fns";
import * as CONST from "./_const"; import * as CONST from "./_const";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
export const FILTER_FIELDS: Record<string, string> = { export const FILTER_FIELDS: Record<string, string> = {
"id": "number", "id": "number",
"enabled": "boolean", "enabled": "boolean",

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { useFormikContext } from "formik"; import { useFormikContext } from "formik";
import { DocsLink } from "@components/ExternalLink"; import { DocsLink } from "@components/ExternalLink";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { useSuspenseQuery } from "@tanstack/react-query"; import { useSuspenseQuery } from "@tanstack/react-query";
import { downloadsPerUnitOptions } from "@domain/constants"; import { downloadsPerUnitOptions } from "@domain/constants";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { DocsLink } from "@components/ExternalLink"; import { DocsLink } from "@components/ExternalLink";
import { TextAreaAutoResize } from "@components/inputs/input"; import { TextAreaAutoResize } from "@components/inputs/input";
import { MultiSelect, SwitchGroup, TextField } from "@components/inputs"; import { MultiSelect, SwitchGroup, TextField } from "@components/inputs";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { useFormikContext } from "formik"; import { useFormikContext } from "formik";
import { DocsLink } from "@components/ExternalLink"; import { DocsLink } from "@components/ExternalLink";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { ChevronDownIcon } from "@heroicons/react/24/solid"; import { ChevronDownIcon } from "@heroicons/react/24/solid";
import { classNames } from "@utils"; import { classNames } from "@utils";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import * as Input from "@components/inputs"; import * as Input from "@components/inputs";
import { CollapsibleSection } from "../_components"; import { CollapsibleSection } from "../_components";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import * as Input from "@components/inputs"; import * as Input from "@components/inputs";
import { CollapsibleSection } from "../_components"; import { CollapsibleSection } from "../_components";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { Link } from "@tanstack/react-router"; import { Link } from "@tanstack/react-router";
import { DocsLink } from "@components/ExternalLink"; import { DocsLink } from "@components/ExternalLink";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { ActionRtorrentRenameOptions } from "@domain/constants"; import { ActionRtorrentRenameOptions } from "@domain/constants";
import * as Input from "@components/inputs"; import * as Input from "@components/inputs";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import * as Input from "@components/inputs"; import * as Input from "@components/inputs";
import { CollapsibleSection } from "../_components"; import { CollapsibleSection } from "../_components";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import { WarningAlert } from "@components/alerts"; import { WarningAlert } from "@components/alerts";
import * as Input from "@components/inputs"; import * as Input from "@components/inputs";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
export * from "./ActionDeluge"; export * from "./ActionDeluge";
export * from "./ActionQBittorrent"; export * from "./ActionQBittorrent";
export * from "./ActionRTorrent"; export * from "./ActionRTorrent";

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
interface ClientActionProps { interface ClientActionProps {
idx: number; idx: number;
action: Action; action: Action;

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2021 - 2024, Ludvig Lundgren and the autobrr contributors.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
export * from "./General"; export * from "./General";
export * from "./Advanced"; export * from "./Advanced";
export * from "./MoviesAndTV"; export * from "./MoviesAndTV";