diff --git a/.github/workflows/copyright-check.yml b/.github/workflows/copyright-check.yml new file mode 100644 index 0000000000..1e20ed2eeb --- /dev/null +++ b/.github/workflows/copyright-check.yml @@ -0,0 +1,45 @@ +name: Copy Right Check + +on: + workflow_dispatch: + pull_request: + branches: + - "preview" + types: + - "opened" + - "synchronize" + - "ready_for_review" + - "review_requested" + - "reopened" + +jobs: + license-check: + name: Copy Right Check + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.22" + + - name: Install addlicense + run: | + go install github.com/google/addlicense@latest + echo "$(go env GOPATH)/bin" >> $GITHUB_PATH + + - name: Check Copyright For Python Files + run: | + set -e + echo "Running copyright check..." + addlicense -check -f COPYRIGHT.txt -ignore "**/migrations/**" $(git ls-files '*.py') + echo "Copyright check passed." + + - name: Check Copyright For TypeScript Files + run: | + set -e + echo "Running copyright check..." + addlicense -check -f COPYRIGHT.txt -ignore "**/*.config.ts" -ignore "**/*.d.ts" $(git ls-files '*.ts' '*.tsx') + echo "Copyright check passed." diff --git a/COPYRIGHT.txt b/COPYRIGHT.txt new file mode 100644 index 0000000000..2a6fd91ff3 --- /dev/null +++ b/COPYRIGHT.txt @@ -0,0 +1,3 @@ +Copyright (c) 2023-present Plane Software, Inc. and contributors +SPDX-License-Identifier: AGPL-3.0-only +See the LICENSE file for details. \ No newline at end of file diff --git a/COPYRIGHT_CHECK.md b/COPYRIGHT_CHECK.md new file mode 100644 index 0000000000..a72b11a240 --- /dev/null +++ b/COPYRIGHT_CHECK.md @@ -0,0 +1,34 @@ +## Copyright check + +To verify that all tracked Python files contain the correct copyright header for **Plane Software Inc.** for the year **2023**, run this command from the repository root: + +```bash +addlicense --check -f COPYRIGHT.txt -ignore "**/migrations/**" $(git ls-files '*.py') +``` + +#### To Apply Changes + +python files + +```bash +addlicense -v -f COPYRIGHT.txt -ignore "**/migrations/**" $(git ls-files '*.py') +``` + +ts and tsx files in a specific app + +```bash +addlicense -v -f COPYRIGHT.txt \ + -ignore "**/*.config.ts" \ + -ignore "**/*.d.ts" \ + $(git ls-files 'packages/*.ts') +``` + +Note: Please make sure ts command is running on specific folder, running it for the whole mono repo is crashing os processes. + +#### Other Options + +- **`addlicense -check`**: runs in check-only mode and fails if any file is missing or has an incorrect header. +- **`-c "Plane Software Inc."`**: sets the copyright holder. +- **`-f LICENSE.txt`**: uses the contents and format defined in `LICENSE.txt` as the header template. +- **`-y 2023`**: sets the year in the header. +- **`$(git ls-files '*.py')`**: restricts the check to Python files tracked in git. diff --git a/apps/admin/app/(all)/(dashboard)/ai/form.tsx b/apps/admin/app/(all)/(dashboard)/ai/form.tsx index 69456d8b61..f1fb49261e 100644 --- a/apps/admin/app/(all)/(dashboard)/ai/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/ai/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useForm } from "react-hook-form"; import { Lightbulb } from "lucide-react"; import { Button } from "@plane/propel/button"; diff --git a/apps/admin/app/(all)/(dashboard)/ai/page.tsx b/apps/admin/app/(all)/(dashboard)/ai/page.tsx index bf290ef361..c0281300ca 100644 --- a/apps/admin/app/(all)/(dashboard)/ai/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/ai/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; import { Loader } from "@plane/ui"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/gitea/form.tsx b/apps/admin/app/(all)/(dashboard)/authentication/gitea/form.tsx index c2e637e279..5e137ee457 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/gitea/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/gitea/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { isEmpty } from "lodash-es"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/gitea/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/gitea/page.tsx index f0f7e23338..fe8eae4c65 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/gitea/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/gitea/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx b/apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx index c1aef0f6cc..166fc44d23 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { isEmpty } from "lodash-es"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/github/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/github/page.tsx index 1186332d37..a7a29cf9d8 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/github/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/github/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/gitlab/form.tsx b/apps/admin/app/(all)/(dashboard)/authentication/gitlab/form.tsx index 4511a70c91..6f0a4f460b 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/gitlab/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/gitlab/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { isEmpty } from "lodash-es"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/gitlab/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/gitlab/page.tsx index 0f3fd76a65..5bcaef7268 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/gitlab/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/gitlab/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/google/form.tsx b/apps/admin/app/(all)/(dashboard)/authentication/google/form.tsx index e068a1d07b..f1310ae4fa 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/google/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/google/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { isEmpty } from "lodash-es"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/google/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/google/page.tsx index bf2a18d5a8..93a61497d2 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/google/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/google/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/page.tsx index f4b767d325..65d1f0b79e 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/admin/app/(all)/(dashboard)/email/email-config-form.tsx b/apps/admin/app/(all)/(dashboard)/email/email-config-form.tsx index 5fdc66b91c..08eb78c3aa 100644 --- a/apps/admin/app/(all)/(dashboard)/email/email-config-form.tsx +++ b/apps/admin/app/(all)/(dashboard)/email/email-config-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { useForm } from "react-hook-form"; // types diff --git a/apps/admin/app/(all)/(dashboard)/email/page.tsx b/apps/admin/app/(all)/(dashboard)/email/page.tsx index f376cffc46..e74b34ba8d 100644 --- a/apps/admin/app/(all)/(dashboard)/email/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/email/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/email/test-email-modal.tsx b/apps/admin/app/(all)/(dashboard)/email/test-email-modal.tsx index 9efbdf702c..a028faedfe 100644 --- a/apps/admin/app/(all)/(dashboard)/email/test-email-modal.tsx +++ b/apps/admin/app/(all)/(dashboard)/email/test-email-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState, Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; // plane imports diff --git a/apps/admin/app/(all)/(dashboard)/general/form.tsx b/apps/admin/app/(all)/(dashboard)/general/form.tsx index ff7b00e0dc..a090959606 100644 --- a/apps/admin/app/(all)/(dashboard)/general/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/general/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; import { Telescope } from "lucide-react"; diff --git a/apps/admin/app/(all)/(dashboard)/general/intercom.tsx b/apps/admin/app/(all)/(dashboard)/general/intercom.tsx index 0704b7c47b..06aa2508a1 100644 --- a/apps/admin/app/(all)/(dashboard)/general/intercom.tsx +++ b/apps/admin/app/(all)/(dashboard)/general/intercom.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/general/page.tsx b/apps/admin/app/(all)/(dashboard)/general/page.tsx index 6e0a86d52a..cb0a8c662e 100644 --- a/apps/admin/app/(all)/(dashboard)/general/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/general/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { PageWrapper } from "@/components/common/page-wrapper"; diff --git a/apps/admin/app/(all)/(dashboard)/image/form.tsx b/apps/admin/app/(all)/(dashboard)/image/form.tsx index 154e74bf12..72ab513398 100644 --- a/apps/admin/app/(all)/(dashboard)/image/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/image/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useForm } from "react-hook-form"; import { Button } from "@plane/propel/button"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/admin/app/(all)/(dashboard)/image/page.tsx b/apps/admin/app/(all)/(dashboard)/image/page.tsx index 7b89393f27..e410e87eb8 100644 --- a/apps/admin/app/(all)/(dashboard)/image/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/image/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; import { Loader } from "@plane/ui"; diff --git a/apps/admin/app/(all)/(dashboard)/layout.tsx b/apps/admin/app/(all)/(dashboard)/layout.tsx index ba5564bf52..694e71746c 100644 --- a/apps/admin/app/(all)/(dashboard)/layout.tsx +++ b/apps/admin/app/(all)/(dashboard)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx index ed068d32ee..960415567b 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment, useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useTheme as useNextTheme } from "next-themes"; diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx index c46d58f909..9ee63f3be6 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-menu.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-menu.tsx index 3a81db3cc2..35434cc941 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar-menu.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; diff --git a/apps/admin/app/(all)/(dashboard)/sidebar.tsx b/apps/admin/app/(all)/(dashboard)/sidebar.tsx index ec340247f5..76eb7b1fdd 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; // plane helpers diff --git a/apps/admin/app/(all)/(dashboard)/workspace/create/form.tsx b/apps/admin/app/(all)/(dashboard)/workspace/create/form.tsx index 270a81fee5..c9e0704306 100644 --- a/apps/admin/app/(all)/(dashboard)/workspace/create/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/workspace/create/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; import Link from "next/link"; import { useRouter } from "next/navigation"; diff --git a/apps/admin/app/(all)/(dashboard)/workspace/create/page.tsx b/apps/admin/app/(all)/(dashboard)/workspace/create/page.tsx index 30950d8783..a31d03d13e 100644 --- a/apps/admin/app/(all)/(dashboard)/workspace/create/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/workspace/create/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { PageWrapper } from "@/components/common/page-wrapper"; diff --git a/apps/admin/app/(all)/(dashboard)/workspace/page.tsx b/apps/admin/app/(all)/(dashboard)/workspace/page.tsx index add3da10a3..53aa04972b 100644 --- a/apps/admin/app/(all)/(dashboard)/workspace/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/workspace/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(home)/auth-banner.tsx b/apps/admin/app/(all)/(home)/auth-banner.tsx index a2db1ad656..057c04e32b 100644 --- a/apps/admin/app/(all)/(home)/auth-banner.tsx +++ b/apps/admin/app/(all)/(home)/auth-banner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Info } from "lucide-react"; // plane constants import type { TAdminAuthErrorInfo } from "@plane/constants"; diff --git a/apps/admin/app/(all)/(home)/auth-header.tsx b/apps/admin/app/(all)/(home)/auth-header.tsx index 1238be6c5a..6d18d4bdc6 100644 --- a/apps/admin/app/(all)/(home)/auth-header.tsx +++ b/apps/admin/app/(all)/(home)/auth-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { PlaneLockup } from "@plane/propel/icons"; diff --git a/apps/admin/app/(all)/(home)/auth-helpers.tsx b/apps/admin/app/(all)/(home)/auth-helpers.tsx index 61c93fb79d..35c146eacd 100644 --- a/apps/admin/app/(all)/(home)/auth-helpers.tsx +++ b/apps/admin/app/(all)/(home)/auth-helpers.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; // plane packages import type { TAdminAuthErrorInfo } from "@plane/constants"; diff --git a/apps/admin/app/(all)/(home)/layout.tsx b/apps/admin/app/(all)/(home)/layout.tsx index 26c0e2b26e..47eeca42dc 100644 --- a/apps/admin/app/(all)/(home)/layout.tsx +++ b/apps/admin/app/(all)/(home)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; diff --git a/apps/admin/app/(all)/(home)/page.tsx b/apps/admin/app/(all)/(home)/page.tsx index 12f701c462..014e880952 100644 --- a/apps/admin/app/(all)/(home)/page.tsx +++ b/apps/admin/app/(all)/(home)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { LogoSpinner } from "@/components/common/logo-spinner"; diff --git a/apps/admin/app/(all)/(home)/sign-in-form.tsx b/apps/admin/app/(all)/(home)/sign-in-form.tsx index cd40a4c77e..83cb45cb5e 100644 --- a/apps/admin/app/(all)/(home)/sign-in-form.tsx +++ b/apps/admin/app/(all)/(home)/sign-in-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useMemo, useState } from "react"; import { useSearchParams } from "next/navigation"; import { Eye, EyeOff } from "lucide-react"; diff --git a/apps/admin/app/compat/next/helper.ts b/apps/admin/app/compat/next/helper.ts index c046998702..c4edf3d545 100644 --- a/apps/admin/app/compat/next/helper.ts +++ b/apps/admin/app/compat/next/helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Ensures that a URL has a trailing slash while preserving query parameters and fragments * @param url - The URL to process diff --git a/apps/admin/app/compat/next/image.tsx b/apps/admin/app/compat/next/image.tsx index 062638de41..12a2bb21ed 100644 --- a/apps/admin/app/compat/next/image.tsx +++ b/apps/admin/app/compat/next/image.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // Minimal shim so code using next/image compiles under React Router + Vite diff --git a/apps/admin/app/compat/next/link.tsx b/apps/admin/app/compat/next/link.tsx index b0bca4faf5..85177560fc 100644 --- a/apps/admin/app/compat/next/link.tsx +++ b/apps/admin/app/compat/next/link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Link as RRLink } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/admin/app/compat/next/navigation.ts b/apps/admin/app/compat/next/navigation.ts index e0e6e90259..dc59a9a85c 100644 --- a/apps/admin/app/compat/next/navigation.ts +++ b/apps/admin/app/compat/next/navigation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { useLocation, useNavigate, useSearchParams as useSearchParamsRR } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/admin/app/components/404.tsx b/apps/admin/app/components/404.tsx index a4954ebaaf..473dbb6e17 100644 --- a/apps/admin/app/components/404.tsx +++ b/apps/admin/app/components/404.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Link } from "react-router"; // ui diff --git a/apps/admin/app/entry.client.tsx b/apps/admin/app/entry.client.tsx index 9cf1c32deb..0a87135953 100644 --- a/apps/admin/app/entry.client.tsx +++ b/apps/admin/app/entry.client.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as Sentry from "@sentry/react-router"; import { startTransition, StrictMode } from "react"; import { hydrateRoot } from "react-dom/client"; diff --git a/apps/admin/app/root.tsx b/apps/admin/app/root.tsx index a2a5c216be..3627aa8627 100644 --- a/apps/admin/app/root.tsx +++ b/apps/admin/app/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { Links, Meta, Outlet, Scripts } from "react-router"; import type { LinksFunction } from "react-router"; diff --git a/apps/admin/app/routes.ts b/apps/admin/app/routes.ts index 0f7232439f..184bed205a 100644 --- a/apps/admin/app/routes.ts +++ b/apps/admin/app/routes.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { index, layout, route } from "@react-router/dev/routes"; import type { RouteConfig } from "@react-router/dev/routes"; diff --git a/apps/admin/ce/store/root.store.ts b/apps/admin/ce/store/root.store.ts index 1be816f70a..891cd99c43 100644 --- a/apps/admin/ce/store/root.store.ts +++ b/apps/admin/ce/store/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { enableStaticRendering } from "mobx-react"; // stores import { CoreRootStore } from "@/store/root.store"; diff --git a/apps/admin/core/components/authentication/authentication-method-card.tsx b/apps/admin/core/components/authentication/authentication-method-card.tsx index b420d13fb0..8c848e1029 100644 --- a/apps/admin/core/components/authentication/authentication-method-card.tsx +++ b/apps/admin/core/components/authentication/authentication-method-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // helpers import { cn } from "@plane/utils"; diff --git a/apps/admin/core/components/authentication/email-config-switch.tsx b/apps/admin/core/components/authentication/email-config-switch.tsx index 2a53eac126..0f304335b2 100644 --- a/apps/admin/core/components/authentication/email-config-switch.tsx +++ b/apps/admin/core/components/authentication/email-config-switch.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/admin/core/components/authentication/gitea-config.tsx b/apps/admin/core/components/authentication/gitea-config.tsx index e17e23ba10..ef9d6db15a 100644 --- a/apps/admin/core/components/authentication/gitea-config.tsx +++ b/apps/admin/core/components/authentication/gitea-config.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; // icons diff --git a/apps/admin/core/components/authentication/github-config.tsx b/apps/admin/core/components/authentication/github-config.tsx index b058ecf1bd..06443bf004 100644 --- a/apps/admin/core/components/authentication/github-config.tsx +++ b/apps/admin/core/components/authentication/github-config.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; // icons diff --git a/apps/admin/core/components/authentication/gitlab-config.tsx b/apps/admin/core/components/authentication/gitlab-config.tsx index 697f407d56..dcd3bed2e6 100644 --- a/apps/admin/core/components/authentication/gitlab-config.tsx +++ b/apps/admin/core/components/authentication/gitlab-config.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; // icons diff --git a/apps/admin/core/components/authentication/google-config.tsx b/apps/admin/core/components/authentication/google-config.tsx index a130a82471..556dd5aa60 100644 --- a/apps/admin/core/components/authentication/google-config.tsx +++ b/apps/admin/core/components/authentication/google-config.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; // icons diff --git a/apps/admin/core/components/authentication/password-config-switch.tsx b/apps/admin/core/components/authentication/password-config-switch.tsx index bdc9c4920c..1b603980d0 100644 --- a/apps/admin/core/components/authentication/password-config-switch.tsx +++ b/apps/admin/core/components/authentication/password-config-switch.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/admin/core/components/common/banner.tsx b/apps/admin/core/components/common/banner.tsx index 81fe753cc6..32bb348950 100644 --- a/apps/admin/core/components/common/banner.tsx +++ b/apps/admin/core/components/common/banner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { AlertCircle, CheckCircle2 } from "lucide-react"; type TBanner = { diff --git a/apps/admin/core/components/common/breadcrumb-link.tsx b/apps/admin/core/components/common/breadcrumb-link.tsx index 0bed7e6064..6e90249db7 100644 --- a/apps/admin/core/components/common/breadcrumb-link.tsx +++ b/apps/admin/core/components/common/breadcrumb-link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/admin/core/components/common/code-block.tsx b/apps/admin/core/components/common/code-block.tsx index 334d8d54ce..c532651e9c 100644 --- a/apps/admin/core/components/common/code-block.tsx +++ b/apps/admin/core/components/common/code-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cn } from "@plane/utils"; type TProps = { diff --git a/apps/admin/core/components/common/confirm-discard-modal.tsx b/apps/admin/core/components/common/confirm-discard-modal.tsx index 6b9d6f5963..2d30d01c8b 100644 --- a/apps/admin/core/components/common/confirm-discard-modal.tsx +++ b/apps/admin/core/components/common/confirm-discard-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import Link from "next/link"; // headless ui diff --git a/apps/admin/core/components/common/controller-input.tsx b/apps/admin/core/components/common/controller-input.tsx index 9dc38d851a..1b7a5ccb6c 100644 --- a/apps/admin/core/components/common/controller-input.tsx +++ b/apps/admin/core/components/common/controller-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import type { Control } from "react-hook-form"; import { Controller } from "react-hook-form"; diff --git a/apps/admin/core/components/common/controller-switch.tsx b/apps/admin/core/components/common/controller-switch.tsx index f20d6cafe3..58681949d2 100644 --- a/apps/admin/core/components/common/controller-switch.tsx +++ b/apps/admin/core/components/common/controller-switch.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Control, FieldPath, FieldValues } from "react-hook-form"; import { Controller } from "react-hook-form"; // plane internal packages diff --git a/apps/admin/core/components/common/copy-field.tsx b/apps/admin/core/components/common/copy-field.tsx index 981a0476b4..d161740df8 100644 --- a/apps/admin/core/components/common/copy-field.tsx +++ b/apps/admin/core/components/common/copy-field.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/admin/core/components/common/empty-state.tsx b/apps/admin/core/components/common/empty-state.tsx index 861ff85882..25f9351be1 100644 --- a/apps/admin/core/components/common/empty-state.tsx +++ b/apps/admin/core/components/common/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Button } from "@plane/propel/button"; diff --git a/apps/admin/core/components/common/header/core.ts b/apps/admin/core/components/common/header/core.ts index db77b83fa1..4cfc8ee718 100644 --- a/apps/admin/core/components/common/header/core.ts +++ b/apps/admin/core/components/common/header/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const CORE_HEADER_SEGMENT_LABELS: Record = { general: "General", ai: "Artificial Intelligence", diff --git a/apps/admin/core/components/common/header/extended.ts b/apps/admin/core/components/common/header/extended.ts index 152b082498..b4c3e66d37 100644 --- a/apps/admin/core/components/common/header/extended.ts +++ b/apps/admin/core/components/common/header/extended.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const EXTENDED_HEADER_SEGMENT_LABELS: Record = {}; diff --git a/apps/admin/core/components/common/header/index.tsx b/apps/admin/core/components/common/header/index.tsx index 65d6f5703b..e4e8031092 100644 --- a/apps/admin/core/components/common/header/index.tsx +++ b/apps/admin/core/components/common/header/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { Menu, Settings } from "lucide-react"; diff --git a/apps/admin/core/components/common/logo-spinner.tsx b/apps/admin/core/components/common/logo-spinner.tsx index 4d06d28224..b74c38d707 100644 --- a/apps/admin/core/components/common/logo-spinner.tsx +++ b/apps/admin/core/components/common/logo-spinner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; import LogoSpinnerDark from "@/app/assets/images/logo-spinner-dark.gif?url"; import LogoSpinnerLight from "@/app/assets/images/logo-spinner-light.gif?url"; diff --git a/apps/admin/core/components/common/page-header.tsx b/apps/admin/core/components/common/page-header.tsx index f0845fab33..eafc4e9275 100644 --- a/apps/admin/core/components/common/page-header.tsx +++ b/apps/admin/core/components/common/page-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + type TPageHeader = { title?: string; description?: string; diff --git a/apps/admin/core/components/common/page-wrapper.tsx b/apps/admin/core/components/common/page-wrapper.tsx index e2f35a4884..d316d7a51b 100644 --- a/apps/admin/core/components/common/page-wrapper.tsx +++ b/apps/admin/core/components/common/page-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; // plane imports import { cn } from "@plane/utils"; diff --git a/apps/admin/core/components/instance/failure.tsx b/apps/admin/core/components/instance/failure.tsx index 30d9f09dfb..3492c8fd1e 100644 --- a/apps/admin/core/components/instance/failure.tsx +++ b/apps/admin/core/components/instance/failure.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTheme } from "next-themes"; import { Button } from "@plane/propel/button"; diff --git a/apps/admin/core/components/instance/form-header.tsx b/apps/admin/core/components/instance/form-header.tsx index 75062c30f5..c9f020d04d 100644 --- a/apps/admin/core/components/instance/form-header.tsx +++ b/apps/admin/core/components/instance/form-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function FormHeader({ heading, subHeading }: { heading: string; subHeading: string }) { return (
diff --git a/apps/admin/core/components/instance/instance-not-ready.tsx b/apps/admin/core/components/instance/instance-not-ready.tsx index 7092ae048c..578986959b 100644 --- a/apps/admin/core/components/instance/instance-not-ready.tsx +++ b/apps/admin/core/components/instance/instance-not-ready.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { Button } from "@plane/propel/button"; // assets diff --git a/apps/admin/core/components/instance/loading.tsx b/apps/admin/core/components/instance/loading.tsx index 2b45deff28..293b44bdcc 100644 --- a/apps/admin/core/components/instance/loading.tsx +++ b/apps/admin/core/components/instance/loading.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // assets import LogoSpinnerDark from "@/app/assets/images/logo-spinner-dark.gif?url"; diff --git a/apps/admin/core/components/instance/setup-form.tsx b/apps/admin/core/components/instance/setup-form.tsx index f463dfc593..10eb238cab 100644 --- a/apps/admin/core/components/instance/setup-form.tsx +++ b/apps/admin/core/components/instance/setup-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useMemo, useState } from "react"; import { useSearchParams } from "next/navigation"; // icons diff --git a/apps/admin/core/components/new-user-popup.tsx b/apps/admin/core/components/new-user-popup.tsx index a20cb147fc..d9e33a9736 100644 --- a/apps/admin/core/components/new-user-popup.tsx +++ b/apps/admin/core/components/new-user-popup.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useTheme as useNextTheme } from "next-themes"; diff --git a/apps/admin/core/components/workspace/list-item.tsx b/apps/admin/core/components/workspace/list-item.tsx index a4e0df2259..3e11197214 100644 --- a/apps/admin/core/components/workspace/list-item.tsx +++ b/apps/admin/core/components/workspace/list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane internal packages diff --git a/apps/admin/core/helpers/authentication.ts b/apps/admin/core/helpers/authentication.ts index 69677e4957..22b5e3b4b6 100644 --- a/apps/admin/core/helpers/authentication.ts +++ b/apps/admin/core/helpers/authentication.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IFormattedInstanceConfiguration, TInstanceAuthenticationModes, diff --git a/apps/admin/core/hooks/oauth/core.tsx b/apps/admin/core/hooks/oauth/core.tsx index 0a1907b662..9e6914e41c 100644 --- a/apps/admin/core/hooks/oauth/core.tsx +++ b/apps/admin/core/hooks/oauth/core.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { KeyRound, Mails } from "lucide-react"; // types import type { diff --git a/apps/admin/core/hooks/oauth/index.ts b/apps/admin/core/hooks/oauth/index.ts index 2982814e5b..74c11e33fc 100644 --- a/apps/admin/core/hooks/oauth/index.ts +++ b/apps/admin/core/hooks/oauth/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TInstanceAuthenticationModes } from "@plane/types"; import { getCoreAuthenticationModesMap } from "./core"; import type { TGetAuthenticationModeProps } from "./types"; diff --git a/apps/admin/core/hooks/oauth/types.ts b/apps/admin/core/hooks/oauth/types.ts index cf265152ac..3e89ad9367 100644 --- a/apps/admin/core/hooks/oauth/types.ts +++ b/apps/admin/core/hooks/oauth/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TInstanceAuthenticationMethodKeys } from "@plane/types"; export type TGetAuthenticationModeProps = { diff --git a/apps/admin/core/hooks/store/index.ts b/apps/admin/core/hooks/store/index.ts index ed1781299f..3b8df72f67 100644 --- a/apps/admin/core/hooks/store/index.ts +++ b/apps/admin/core/hooks/store/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-theme"; export * from "./use-instance"; export * from "./use-user"; diff --git a/apps/admin/core/hooks/store/use-instance.tsx b/apps/admin/core/hooks/store/use-instance.tsx index 508e8fe1ec..4ae991139d 100644 --- a/apps/admin/core/hooks/store/use-instance.tsx +++ b/apps/admin/core/hooks/store/use-instance.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/providers/store.provider"; diff --git a/apps/admin/core/hooks/store/use-theme.tsx b/apps/admin/core/hooks/store/use-theme.tsx index 289ea6ae4a..2348c2e43a 100644 --- a/apps/admin/core/hooks/store/use-theme.tsx +++ b/apps/admin/core/hooks/store/use-theme.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/providers/store.provider"; diff --git a/apps/admin/core/hooks/store/use-user.tsx b/apps/admin/core/hooks/store/use-user.tsx index 80cd046b49..5eba488d90 100644 --- a/apps/admin/core/hooks/store/use-user.tsx +++ b/apps/admin/core/hooks/store/use-user.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/providers/store.provider"; diff --git a/apps/admin/core/hooks/store/use-workspace.tsx b/apps/admin/core/hooks/store/use-workspace.tsx index 957a33ff3c..42a2bf7f7c 100644 --- a/apps/admin/core/hooks/store/use-workspace.tsx +++ b/apps/admin/core/hooks/store/use-workspace.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/providers/store.provider"; diff --git a/apps/admin/core/hooks/use-sidebar-menu/core.ts b/apps/admin/core/hooks/use-sidebar-menu/core.ts index 7a821d8990..9d4e449b3a 100644 --- a/apps/admin/core/hooks/use-sidebar-menu/core.ts +++ b/apps/admin/core/hooks/use-sidebar-menu/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Image, BrainCog, Cog, Mail } from "lucide-react"; // plane imports import { LockIcon, WorkspaceIcon } from "@plane/propel/icons"; diff --git a/apps/admin/core/hooks/use-sidebar-menu/index.ts b/apps/admin/core/hooks/use-sidebar-menu/index.ts index 0f9e717dc6..cfc76f47ea 100644 --- a/apps/admin/core/hooks/use-sidebar-menu/index.ts +++ b/apps/admin/core/hooks/use-sidebar-menu/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import { coreSidebarMenuLinks } from "./core"; import type { TSidebarMenuItem } from "./types"; diff --git a/apps/admin/core/hooks/use-sidebar-menu/types.ts b/apps/admin/core/hooks/use-sidebar-menu/types.ts index d7a49a50d7..dfe531bb28 100644 --- a/apps/admin/core/hooks/use-sidebar-menu/types.ts +++ b/apps/admin/core/hooks/use-sidebar-menu/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LucideIcon } from "lucide-react"; export type TSidebarMenuItem = { diff --git a/apps/admin/core/lib/b-progress/AppProgressBar.tsx b/apps/admin/core/lib/b-progress/AppProgressBar.tsx index 7ad93fc11b..e4362581dc 100644 --- a/apps/admin/core/lib/b-progress/AppProgressBar.tsx +++ b/apps/admin/core/lib/b-progress/AppProgressBar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { BProgress } from "@bprogress/core"; import { useNavigation } from "react-router"; diff --git a/apps/admin/core/lib/b-progress/index.tsx b/apps/admin/core/lib/b-progress/index.tsx index 7b531da2b2..592017255e 100644 --- a/apps/admin/core/lib/b-progress/index.tsx +++ b/apps/admin/core/lib/b-progress/index.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./AppProgressBar"; diff --git a/apps/admin/core/providers/core.tsx b/apps/admin/core/providers/core.tsx index d06d8f3f4a..3b22c70878 100644 --- a/apps/admin/core/providers/core.tsx +++ b/apps/admin/core/providers/core.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ThemeProvider } from "next-themes"; import { SWRConfig } from "swr"; import { AppProgressBar } from "@/lib/b-progress"; diff --git a/apps/admin/core/providers/extended.tsx b/apps/admin/core/providers/extended.tsx index 60f36cbe47..72023a79b5 100644 --- a/apps/admin/core/providers/extended.tsx +++ b/apps/admin/core/providers/extended.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function ExtendedProviders({ children }: { children: React.ReactNode }) { return <>{children}; } diff --git a/apps/admin/core/providers/index.tsx b/apps/admin/core/providers/index.tsx index c0447b5bce..2ecd419b23 100644 --- a/apps/admin/core/providers/index.tsx +++ b/apps/admin/core/providers/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CoreProviders } from "./core"; import { ExtendedProviders } from "./extended"; diff --git a/apps/admin/core/providers/instance.provider.tsx b/apps/admin/core/providers/instance.provider.tsx index 5dcd3b6f5f..50e6696217 100644 --- a/apps/admin/core/providers/instance.provider.tsx +++ b/apps/admin/core/providers/instance.provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; // hooks diff --git a/apps/admin/core/providers/store.provider.tsx b/apps/admin/core/providers/store.provider.tsx index 49e341b723..9e3c9864c3 100644 --- a/apps/admin/core/providers/store.provider.tsx +++ b/apps/admin/core/providers/store.provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { createContext } from "react"; // plane admin store import { RootStore } from "@/plane-admin/store/root.store"; diff --git a/apps/admin/core/providers/toast.tsx b/apps/admin/core/providers/toast.tsx index 1e7e3a11e0..541678efa5 100644 --- a/apps/admin/core/providers/toast.tsx +++ b/apps/admin/core/providers/toast.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; import { Toast } from "@plane/propel/toast"; import { resolveGeneralTheme } from "@plane/utils"; diff --git a/apps/admin/core/providers/user.provider.tsx b/apps/admin/core/providers/user.provider.tsx index 04242abc9e..3a840c1865 100644 --- a/apps/admin/core/providers/user.provider.tsx +++ b/apps/admin/core/providers/user.provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/core/store/instance.store.ts b/apps/admin/core/store/instance.store.ts index ec89229205..69b048093c 100644 --- a/apps/admin/core/store/instance.store.ts +++ b/apps/admin/core/store/instance.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { observable, action, computed, makeObservable, runInAction } from "mobx"; // plane internal packages diff --git a/apps/admin/core/store/root.store.ts b/apps/admin/core/store/root.store.ts index 68d11885b7..b833405552 100644 --- a/apps/admin/core/store/root.store.ts +++ b/apps/admin/core/store/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { enableStaticRendering } from "mobx-react"; // stores import type { IInstanceStore } from "./instance.store"; diff --git a/apps/admin/core/store/theme.store.ts b/apps/admin/core/store/theme.store.ts index 4512facd2b..d8c5e170e1 100644 --- a/apps/admin/core/store/theme.store.ts +++ b/apps/admin/core/store/theme.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, observable, makeObservable } from "mobx"; // root store import type { CoreRootStore } from "@/store/root.store"; diff --git a/apps/admin/core/store/user.store.ts b/apps/admin/core/store/user.store.ts index 1187355a04..833ffb8801 100644 --- a/apps/admin/core/store/user.store.ts +++ b/apps/admin/core/store/user.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, observable, runInAction, makeObservable } from "mobx"; // plane internal packages import type { TUserStatus } from "@plane/constants"; diff --git a/apps/admin/core/store/workspace.store.ts b/apps/admin/core/store/workspace.store.ts index f9203ed40c..610384aa42 100644 --- a/apps/admin/core/store/workspace.store.ts +++ b/apps/admin/core/store/workspace.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, observable, runInAction, makeObservable, computed } from "mobx"; // plane imports diff --git a/apps/admin/core/utils/public-asset.ts b/apps/admin/core/utils/public-asset.ts index cb0ff5c3b5..382ca5fe35 100644 --- a/apps/admin/core/utils/public-asset.ts +++ b/apps/admin/core/utils/public-asset.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export {}; diff --git a/apps/admin/ee/store/root.store.ts b/apps/admin/ee/store/root.store.ts index c514c4c25f..0f36aac3dd 100644 --- a/apps/admin/ee/store/root.store.ts +++ b/apps/admin/ee/store/root.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/root.store"; diff --git a/apps/api/manage.py b/apps/api/manage.py index 9728694628..a79268b37c 100644 --- a/apps/api/manage.py +++ b/apps/api/manage.py @@ -1,4 +1,8 @@ #!/usr/bin/env python +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import os import sys diff --git a/apps/api/plane/__init__.py b/apps/api/plane/__init__.py index 53f4ccb1d8..f561e3e630 100644 --- a/apps/api/plane/__init__.py +++ b/apps/api/plane/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .celery import app as celery_app __all__ = ("celery_app",) diff --git a/apps/api/plane/analytics/__init__.py b/apps/api/plane/analytics/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/analytics/__init__.py +++ b/apps/api/plane/analytics/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/analytics/apps.py b/apps/api/plane/analytics/apps.py index 52a59f3138..b11b7bfc94 100644 --- a/apps/api/plane/analytics/apps.py +++ b/apps/api/plane/analytics/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/api/__init__.py b/apps/api/plane/api/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/api/__init__.py +++ b/apps/api/plane/api/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/api/apps.py b/apps/api/plane/api/apps.py index f1f5311188..90688c1306 100644 --- a/apps/api/plane/api/apps.py +++ b/apps/api/plane/api/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/api/middleware/__init__.py b/apps/api/plane/api/middleware/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/api/middleware/__init__.py +++ b/apps/api/plane/api/middleware/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/api/middleware/api_authentication.py b/apps/api/plane/api/middleware/api_authentication.py index ddabb4132d..abd8139857 100644 --- a/apps/api/plane/api/middleware/api_authentication.py +++ b/apps/api/plane/api/middleware/api_authentication.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils import timezone from django.db.models import Q diff --git a/apps/api/plane/api/rate_limit.py b/apps/api/plane/api/rate_limit.py index 0d266e98b5..33df895cbf 100644 --- a/apps/api/plane/api/rate_limit.py +++ b/apps/api/plane/api/rate_limit.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # python imports import os diff --git a/apps/api/plane/api/serializers/__init__.py b/apps/api/plane/api/serializers/__init__.py index 550d8e87f4..44e527a2dc 100644 --- a/apps/api/plane/api/serializers/__init__.py +++ b/apps/api/plane/api/serializers/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .user import UserLiteSerializer from .workspace import WorkspaceLiteSerializer from .project import ( diff --git a/apps/api/plane/api/serializers/asset.py b/apps/api/plane/api/serializers/asset.py index 6b74b37572..363b5eb842 100644 --- a/apps/api/plane/api/serializers/asset.py +++ b/apps/api/plane/api/serializers/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/api/serializers/base.py b/apps/api/plane/api/serializers/base.py index bc790f2cd7..2e39a01fd5 100644 --- a/apps/api/plane/api/serializers/base.py +++ b/apps/api/plane/api/serializers/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/api/serializers/cycle.py b/apps/api/plane/api/serializers/cycle.py index f2724231a2..9b6aed516d 100644 --- a/apps/api/plane/api/serializers/cycle.py +++ b/apps/api/plane/api/serializers/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports import pytz from rest_framework import serializers diff --git a/apps/api/plane/api/serializers/estimate.py b/apps/api/plane/api/serializers/estimate.py index b670006d53..e2a7c5e1d3 100644 --- a/apps/api/plane/api/serializers/estimate.py +++ b/apps/api/plane/api/serializers/estimate.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from plane.db.models import EstimatePoint from .base import BaseSerializer diff --git a/apps/api/plane/api/serializers/intake.py b/apps/api/plane/api/serializers/intake.py index 8f560f0757..12bbd4572a 100644 --- a/apps/api/plane/api/serializers/intake.py +++ b/apps/api/plane/api/serializers/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from .issue import IssueExpandSerializer diff --git a/apps/api/plane/api/serializers/invite.py b/apps/api/plane/api/serializers/invite.py index 5b52dc03c4..18c1c02066 100644 --- a/apps/api/plane/api/serializers/invite.py +++ b/apps/api/plane/api/serializers/invite.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.exceptions import ValidationError from django.core.validators import validate_email diff --git a/apps/api/plane/api/serializers/issue.py b/apps/api/plane/api/serializers/issue.py index a8bdd557bb..ba9ddae301 100644 --- a/apps/api/plane/api/serializers/issue.py +++ b/apps/api/plane/api/serializers/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils import timezone from lxml import html diff --git a/apps/api/plane/api/serializers/member.py b/apps/api/plane/api/serializers/member.py index 3aa9644b4c..266a4cfe11 100644 --- a/apps/api/plane/api/serializers/member.py +++ b/apps/api/plane/api/serializers/member.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/api/serializers/module.py b/apps/api/plane/api/serializers/module.py index d1e3b0d81a..8ab73a33ee 100644 --- a/apps/api/plane/api/serializers/module.py +++ b/apps/api/plane/api/serializers/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/api/serializers/project.py b/apps/api/plane/api/serializers/project.py index c9a0a31c89..01ccf9434d 100644 --- a/apps/api/plane/api/serializers/project.py +++ b/apps/api/plane/api/serializers/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports import random from rest_framework import serializers diff --git a/apps/api/plane/api/serializers/state.py b/apps/api/plane/api/serializers/state.py index c279529b82..c07fe78bb9 100644 --- a/apps/api/plane/api/serializers/state.py +++ b/apps/api/plane/api/serializers/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import State, StateGroup diff --git a/apps/api/plane/api/serializers/sticky.py b/apps/api/plane/api/serializers/sticky.py index 067fc1b899..e2ffee8a97 100644 --- a/apps/api/plane/api/serializers/sticky.py +++ b/apps/api/plane/api/serializers/sticky.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework import serializers from .base import BaseSerializer diff --git a/apps/api/plane/api/serializers/user.py b/apps/api/plane/api/serializers/user.py index 805eb9fe1e..24bb6b902f 100644 --- a/apps/api/plane/api/serializers/user.py +++ b/apps/api/plane/api/serializers/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework import serializers # Module imports diff --git a/apps/api/plane/api/serializers/workspace.py b/apps/api/plane/api/serializers/workspace.py index e98683c2fd..6b85fcabcb 100644 --- a/apps/api/plane/api/serializers/workspace.py +++ b/apps/api/plane/api/serializers/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from plane.db.models import Workspace from .base import BaseSerializer diff --git a/apps/api/plane/api/urls/__init__.py b/apps/api/plane/api/urls/__init__.py index 593501939c..4a202431bc 100644 --- a/apps/api/plane/api/urls/__init__.py +++ b/apps/api/plane/api/urls/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .asset import urlpatterns as asset_patterns from .cycle import urlpatterns as cycle_patterns from .intake import urlpatterns as intake_patterns diff --git a/apps/api/plane/api/urls/asset.py b/apps/api/plane/api/urls/asset.py index 5bdd4d914c..abd160242c 100644 --- a/apps/api/plane/api/urls/asset.py +++ b/apps/api/plane/api/urls/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import ( diff --git a/apps/api/plane/api/urls/cycle.py b/apps/api/plane/api/urls/cycle.py index a2cab1fe69..6d582784e8 100644 --- a/apps/api/plane/api/urls/cycle.py +++ b/apps/api/plane/api/urls/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views.cycle import ( diff --git a/apps/api/plane/api/urls/intake.py b/apps/api/plane/api/urls/intake.py index 5538467aaf..6a54804590 100644 --- a/apps/api/plane/api/urls/intake.py +++ b/apps/api/plane/api/urls/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import ( diff --git a/apps/api/plane/api/urls/invite.py b/apps/api/plane/api/urls/invite.py index e4fddd5c50..7c1ce5e6a0 100644 --- a/apps/api/plane/api/urls/invite.py +++ b/apps/api/plane/api/urls/invite.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.urls import path, include diff --git a/apps/api/plane/api/urls/label.py b/apps/api/plane/api/urls/label.py index f7ee57b171..358806fb78 100644 --- a/apps/api/plane/api/urls/label.py +++ b/apps/api/plane/api/urls/label.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import LabelListCreateAPIEndpoint, LabelDetailAPIEndpoint diff --git a/apps/api/plane/api/urls/member.py b/apps/api/plane/api/urls/member.py index 83c9dfbe50..4f2b032307 100644 --- a/apps/api/plane/api/urls/member.py +++ b/apps/api/plane/api/urls/member.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import ( diff --git a/apps/api/plane/api/urls/module.py b/apps/api/plane/api/urls/module.py index 578f5c860c..a0924100d3 100644 --- a/apps/api/plane/api/urls/module.py +++ b/apps/api/plane/api/urls/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import ( diff --git a/apps/api/plane/api/urls/project.py b/apps/api/plane/api/urls/project.py index 9cf9291aa6..a419b37a09 100644 --- a/apps/api/plane/api/urls/project.py +++ b/apps/api/plane/api/urls/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import ( diff --git a/apps/api/plane/api/urls/schema.py b/apps/api/plane/api/urls/schema.py index 781dbe9deb..9511ca02b8 100644 --- a/apps/api/plane/api/urls/schema.py +++ b/apps/api/plane/api/urls/schema.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from drf_spectacular.views import ( SpectacularAPIView, SpectacularRedocView, diff --git a/apps/api/plane/api/urls/state.py b/apps/api/plane/api/urls/state.py index e35012a200..8b84abfbe4 100644 --- a/apps/api/plane/api/urls/state.py +++ b/apps/api/plane/api/urls/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import ( diff --git a/apps/api/plane/api/urls/sticky.py b/apps/api/plane/api/urls/sticky.py index 0066e77ea4..0df9c49c39 100644 --- a/apps/api/plane/api/urls/sticky.py +++ b/apps/api/plane/api/urls/sticky.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path, include from rest_framework.routers import DefaultRouter diff --git a/apps/api/plane/api/urls/user.py b/apps/api/plane/api/urls/user.py index 461b083339..33769b7c01 100644 --- a/apps/api/plane/api/urls/user.py +++ b/apps/api/plane/api/urls/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import UserEndpoint diff --git a/apps/api/plane/api/urls/work_item.py b/apps/api/plane/api/urls/work_item.py index 7207df9579..48b1948dbe 100644 --- a/apps/api/plane/api/urls/work_item.py +++ b/apps/api/plane/api/urls/work_item.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.api.views import ( diff --git a/apps/api/plane/api/views/__init__.py b/apps/api/plane/api/views/__init__.py index 75b1b17c40..305ebfdb39 100644 --- a/apps/api/plane/api/views/__init__.py +++ b/apps/api/plane/api/views/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .project import ( ProjectListCreateAPIEndpoint, ProjectDetailAPIEndpoint, diff --git a/apps/api/plane/api/views/asset.py b/apps/api/plane/api/views/asset.py index a91ebc8839..88c34c37ca 100644 --- a/apps/api/plane/api/views/asset.py +++ b/apps/api/plane/api/views/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python Imports import uuid diff --git a/apps/api/plane/api/views/base.py b/apps/api/plane/api/views/base.py index 2e65844301..fc65e7abdc 100644 --- a/apps/api/plane/api/views/base.py +++ b/apps/api/plane/api/views/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import zoneinfo import logging diff --git a/apps/api/plane/api/views/cycle.py b/apps/api/plane/api/views/cycle.py index 170c644f33..30b04ed46d 100644 --- a/apps/api/plane/api/views/cycle.py +++ b/apps/api/plane/api/views/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/api/views/intake.py b/apps/api/plane/api/views/intake.py index a3d86bf16c..2df2d30699 100644 --- a/apps/api/plane/api/views/intake.py +++ b/apps/api/plane/api/views/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/api/views/invite.py b/apps/api/plane/api/views/invite.py index f1263b0090..f1dd6af258 100644 --- a/apps/api/plane/api/views/invite.py +++ b/apps/api/plane/api/views/invite.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework.response import Response from rest_framework import status diff --git a/apps/api/plane/api/views/issue.py b/apps/api/plane/api/views/issue.py index fe32fe3fdd..b936cdcda0 100644 --- a/apps/api/plane/api/views/issue.py +++ b/apps/api/plane/api/views/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json import uuid diff --git a/apps/api/plane/api/views/member.py b/apps/api/plane/api/views/member.py index a569a59769..adb28be003 100644 --- a/apps/api/plane/api/views/member.py +++ b/apps/api/plane/api/views/member.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework.response import Response from rest_framework import status diff --git a/apps/api/plane/api/views/module.py b/apps/api/plane/api/views/module.py index a4e0f3fe82..fa2269ca09 100644 --- a/apps/api/plane/api/views/module.py +++ b/apps/api/plane/api/views/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/api/views/project.py b/apps/api/plane/api/views/project.py index 7e592a9aaf..3f6a3b1c1f 100644 --- a/apps/api/plane/api/views/project.py +++ b/apps/api/plane/api/views/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/api/views/state.py b/apps/api/plane/api/views/state.py index 8d2633e675..eac0ee258f 100644 --- a/apps/api/plane/api/views/state.py +++ b/apps/api/plane/api/views/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db import IntegrityError diff --git a/apps/api/plane/api/views/sticky.py b/apps/api/plane/api/views/sticky.py index a5173edc73..f6b4298f66 100644 --- a/apps/api/plane/api/views/sticky.py +++ b/apps/api/plane/api/views/sticky.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework.response import Response from rest_framework import status diff --git a/apps/api/plane/api/views/user.py b/apps/api/plane/api/views/user.py index b874cec18b..02d29d1188 100644 --- a/apps/api/plane/api/views/user.py +++ b/apps/api/plane/api/views/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/__init__.py b/apps/api/plane/app/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/app/__init__.py +++ b/apps/api/plane/app/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/app/apps.py b/apps/api/plane/app/apps.py index e3277fc4d8..1dcf0d849f 100644 --- a/apps/api/plane/app/apps.py +++ b/apps/api/plane/app/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/app/middleware/__init__.py b/apps/api/plane/app/middleware/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/app/middleware/__init__.py +++ b/apps/api/plane/app/middleware/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/app/middleware/api_authentication.py b/apps/api/plane/app/middleware/api_authentication.py index ddabb4132d..abd8139857 100644 --- a/apps/api/plane/app/middleware/api_authentication.py +++ b/apps/api/plane/app/middleware/api_authentication.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils import timezone from django.db.models import Q diff --git a/apps/api/plane/app/permissions/__init__.py b/apps/api/plane/app/permissions/__init__.py index 849f7ba3ee..22d27694e9 100644 --- a/apps/api/plane/app/permissions/__init__.py +++ b/apps/api/plane/app/permissions/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .workspace import ( WorkSpaceBasePermission, WorkspaceOwnerPermission, diff --git a/apps/api/plane/app/permissions/base.py b/apps/api/plane/app/permissions/base.py index a2b1a18ff8..7b243cbb78 100644 --- a/apps/api/plane/app/permissions/base.py +++ b/apps/api/plane/app/permissions/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from plane.db.models import WorkspaceMember, ProjectMember from functools import wraps from rest_framework.response import Response diff --git a/apps/api/plane/app/permissions/page.py b/apps/api/plane/app/permissions/page.py index bea878f4c4..844ff4dafb 100644 --- a/apps/api/plane/app/permissions/page.py +++ b/apps/api/plane/app/permissions/page.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from plane.db.models import ProjectMember, Page from plane.app.permissions import ROLE diff --git a/apps/api/plane/app/permissions/project.py b/apps/api/plane/app/permissions/project.py index a8c0f92a27..55550b27ac 100644 --- a/apps/api/plane/app/permissions/project.py +++ b/apps/api/plane/app/permissions/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework.permissions import SAFE_METHODS, BasePermission diff --git a/apps/api/plane/app/permissions/workspace.py b/apps/api/plane/app/permissions/workspace.py index 8dc791c0cc..ada16ec3b5 100644 --- a/apps/api/plane/app/permissions/workspace.py +++ b/apps/api/plane/app/permissions/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework.permissions import BasePermission, SAFE_METHODS diff --git a/apps/api/plane/app/serializers/__init__.py b/apps/api/plane/app/serializers/__init__.py index 96046187f9..e8a4007ea6 100644 --- a/apps/api/plane/app/serializers/__init__.py +++ b/apps/api/plane/app/serializers/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .base import BaseSerializer from .user import ( UserSerializer, diff --git a/apps/api/plane/app/serializers/analytic.py b/apps/api/plane/app/serializers/analytic.py index 13b24d14dd..ca86e569ff 100644 --- a/apps/api/plane/app/serializers/analytic.py +++ b/apps/api/plane/app/serializers/analytic.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .base import BaseSerializer from plane.db.models import AnalyticView from plane.utils.issue_filters import issue_filters diff --git a/apps/api/plane/app/serializers/api.py b/apps/api/plane/app/serializers/api.py index 009f7a611f..4e86b50b93 100644 --- a/apps/api/plane/app/serializers/api.py +++ b/apps/api/plane/app/serializers/api.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .base import BaseSerializer from plane.db.models import APIToken, APIActivityLog from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/asset.py b/apps/api/plane/app/serializers/asset.py index 560cd35381..1de5961015 100644 --- a/apps/api/plane/app/serializers/asset.py +++ b/apps/api/plane/app/serializers/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .base import BaseSerializer from plane.db.models import FileAsset diff --git a/apps/api/plane/app/serializers/base.py b/apps/api/plane/app/serializers/base.py index 0d8c855c91..6457eec50a 100644 --- a/apps/api/plane/app/serializers/base.py +++ b/apps/api/plane/app/serializers/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/cycle.py b/apps/api/plane/app/serializers/cycle.py index 89a5efc067..afdc58116b 100644 --- a/apps/api/plane/app/serializers/cycle.py +++ b/apps/api/plane/app/serializers/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/draft.py b/apps/api/plane/app/serializers/draft.py index b017a03baf..da6eae6e26 100644 --- a/apps/api/plane/app/serializers/draft.py +++ b/apps/api/plane/app/serializers/draft.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils import timezone diff --git a/apps/api/plane/app/serializers/estimate.py b/apps/api/plane/app/serializers/estimate.py index b2d65ef8c3..d3343fbe8b 100644 --- a/apps/api/plane/app/serializers/estimate.py +++ b/apps/api/plane/app/serializers/estimate.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer diff --git a/apps/api/plane/app/serializers/exporter.py b/apps/api/plane/app/serializers/exporter.py index 5c78cfa694..f8efcfce14 100644 --- a/apps/api/plane/app/serializers/exporter.py +++ b/apps/api/plane/app/serializers/exporter.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import ExporterHistory diff --git a/apps/api/plane/app/serializers/favorite.py b/apps/api/plane/app/serializers/favorite.py index 246461f8f3..023c7d5d54 100644 --- a/apps/api/plane/app/serializers/favorite.py +++ b/apps/api/plane/app/serializers/favorite.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework import serializers from plane.db.models import UserFavorite, Cycle, Module, Issue, IssueView, Page, Project diff --git a/apps/api/plane/app/serializers/importer.py b/apps/api/plane/app/serializers/importer.py index 8997f63920..2dc4e8e721 100644 --- a/apps/api/plane/app/serializers/importer.py +++ b/apps/api/plane/app/serializers/importer.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from .user import UserLiteSerializer diff --git a/apps/api/plane/app/serializers/intake.py b/apps/api/plane/app/serializers/intake.py index bc75a0ce58..4037dfe1ca 100644 --- a/apps/api/plane/app/serializers/intake.py +++ b/apps/api/plane/app/serializers/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party frameworks from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/issue.py b/apps/api/plane/app/serializers/issue.py index b1e1044cd6..c5af9b9ffe 100644 --- a/apps/api/plane/app/serializers/issue.py +++ b/apps/api/plane/app/serializers/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils import timezone from django.core.validators import URLValidator diff --git a/apps/api/plane/app/serializers/module.py b/apps/api/plane/app/serializers/module.py index b5e2953cc6..7d01284e30 100644 --- a/apps/api/plane/app/serializers/module.py +++ b/apps/api/plane/app/serializers/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/notification.py b/apps/api/plane/app/serializers/notification.py index 58007ec26c..b4eb4eac54 100644 --- a/apps/api/plane/app/serializers/notification.py +++ b/apps/api/plane/app/serializers/notification.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from .user import UserLiteSerializer diff --git a/apps/api/plane/app/serializers/page.py b/apps/api/plane/app/serializers/page.py index 1c2d2d676c..a9251129c3 100644 --- a/apps/api/plane/app/serializers/page.py +++ b/apps/api/plane/app/serializers/page.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers import base64 diff --git a/apps/api/plane/app/serializers/project.py b/apps/api/plane/app/serializers/project.py index b8a4136c96..77d7dc658e 100644 --- a/apps/api/plane/app/serializers/project.py +++ b/apps/api/plane/app/serializers/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/state.py b/apps/api/plane/app/serializers/state.py index cb56cfbe99..0e333a80b7 100644 --- a/apps/api/plane/app/serializers/state.py +++ b/apps/api/plane/app/serializers/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/user.py b/apps/api/plane/app/serializers/user.py index 5910178573..aeef4ee28f 100644 --- a/apps/api/plane/app/serializers/user.py +++ b/apps/api/plane/app/serializers/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/view.py b/apps/api/plane/app/serializers/view.py index bf7ff9727c..72f72ff71b 100644 --- a/apps/api/plane/app/serializers/view.py +++ b/apps/api/plane/app/serializers/view.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/app/serializers/webhook.py b/apps/api/plane/app/serializers/webhook.py index ef193e24da..7ec3dba5a5 100644 --- a/apps/api/plane/app/serializers/webhook.py +++ b/apps/api/plane/app/serializers/webhook.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import socket import ipaddress diff --git a/apps/api/plane/app/serializers/workspace.py b/apps/api/plane/app/serializers/workspace.py index ba59f2429c..d6707815e5 100644 --- a/apps/api/plane/app/serializers/workspace.py +++ b/apps/api/plane/app/serializers/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/app/urls/__init__.py b/apps/api/plane/app/urls/__init__.py index 3feab4cb54..3fa850b6ab 100644 --- a/apps/api/plane/app/urls/__init__.py +++ b/apps/api/plane/app/urls/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .analytic import urlpatterns as analytic_urls from .api import urlpatterns as api_urls from .asset import urlpatterns as asset_urls diff --git a/apps/api/plane/app/urls/analytic.py b/apps/api/plane/app/urls/analytic.py index df6ad24984..2b31941866 100644 --- a/apps/api/plane/app/urls/analytic.py +++ b/apps/api/plane/app/urls/analytic.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/api.py b/apps/api/plane/app/urls/api.py index c74aeddbf2..eedf18ccc3 100644 --- a/apps/api/plane/app/urls/api.py +++ b/apps/api/plane/app/urls/api.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.app.views import ApiTokenEndpoint, ServiceApiTokenEndpoint diff --git a/apps/api/plane/app/urls/asset.py b/apps/api/plane/app/urls/asset.py index 4b7e2b220c..fd8d200738 100644 --- a/apps/api/plane/app/urls/asset.py +++ b/apps/api/plane/app/urls/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/cycle.py b/apps/api/plane/app/urls/cycle.py index f188d08724..2560a3edb5 100644 --- a/apps/api/plane/app/urls/cycle.py +++ b/apps/api/plane/app/urls/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/estimate.py b/apps/api/plane/app/urls/estimate.py index c77a5b6b6a..4378164f16 100644 --- a/apps/api/plane/app/urls/estimate.py +++ b/apps/api/plane/app/urls/estimate.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/exporter.py b/apps/api/plane/app/urls/exporter.py index 56c6bfb51a..c7acf53431 100644 --- a/apps/api/plane/app/urls/exporter.py +++ b/apps/api/plane/app/urls/exporter.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.app.views import ExportIssuesEndpoint diff --git a/apps/api/plane/app/urls/external.py b/apps/api/plane/app/urls/external.py index 4972962d87..1255ac08a3 100644 --- a/apps/api/plane/app/urls/external.py +++ b/apps/api/plane/app/urls/external.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/intake.py b/apps/api/plane/app/urls/intake.py index dd1efc872a..970e763d6b 100644 --- a/apps/api/plane/app/urls/intake.py +++ b/apps/api/plane/app/urls/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/issue.py b/apps/api/plane/app/urls/issue.py index 1fd7741206..436d227705 100644 --- a/apps/api/plane/app/urls/issue.py +++ b/apps/api/plane/app/urls/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.app.views import ( diff --git a/apps/api/plane/app/urls/module.py b/apps/api/plane/app/urls/module.py index 75cbb14d6b..255f8211cc 100644 --- a/apps/api/plane/app/urls/module.py +++ b/apps/api/plane/app/urls/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/notification.py b/apps/api/plane/app/urls/notification.py index 0c992d49e9..cd2b3c5a4e 100644 --- a/apps/api/plane/app/urls/notification.py +++ b/apps/api/plane/app/urls/notification.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/page.py b/apps/api/plane/app/urls/page.py index 8cac22a2fd..dd4395c18e 100644 --- a/apps/api/plane/app/urls/page.py +++ b/apps/api/plane/app/urls/page.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/project.py b/apps/api/plane/app/urls/project.py index a6dd8d8a8a..ee850af1d6 100644 --- a/apps/api/plane/app/urls/project.py +++ b/apps/api/plane/app/urls/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.app.views import ( diff --git a/apps/api/plane/app/urls/search.py b/apps/api/plane/app/urls/search.py index 0bbbd9cf7f..9d94aa2737 100644 --- a/apps/api/plane/app/urls/search.py +++ b/apps/api/plane/app/urls/search.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/state.py b/apps/api/plane/app/urls/state.py index b6135ca959..902b583cb5 100644 --- a/apps/api/plane/app/urls/state.py +++ b/apps/api/plane/app/urls/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/timezone.py b/apps/api/plane/app/urls/timezone.py index ff14d029f2..9fc17f79aa 100644 --- a/apps/api/plane/app/urls/timezone.py +++ b/apps/api/plane/app/urls/timezone.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.app.views import TimezoneEndpoint diff --git a/apps/api/plane/app/urls/user.py b/apps/api/plane/app/urls/user.py index 373d4a70d3..bc110a28dd 100644 --- a/apps/api/plane/app/urls/user.py +++ b/apps/api/plane/app/urls/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.app.views import ( diff --git a/apps/api/plane/app/urls/views.py b/apps/api/plane/app/urls/views.py index 063e39c3db..f3e4ee1de5 100644 --- a/apps/api/plane/app/urls/views.py +++ b/apps/api/plane/app/urls/views.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/urls/webhook.py b/apps/api/plane/app/urls/webhook.py index e21ec72614..22ac4bc6f8 100644 --- a/apps/api/plane/app/urls/webhook.py +++ b/apps/api/plane/app/urls/webhook.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.app.views import ( diff --git a/apps/api/plane/app/urls/workspace.py b/apps/api/plane/app/urls/workspace.py index 5f781efa7a..d79d5a7452 100644 --- a/apps/api/plane/app/urls/workspace.py +++ b/apps/api/plane/app/urls/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/app/views/__init__.py b/apps/api/plane/app/views/__init__.py index 88b739e4b3..baa6661b9c 100644 --- a/apps/api/plane/app/views/__init__.py +++ b/apps/api/plane/app/views/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .project.base import ( ProjectViewSet, ProjectIdentifierEndpoint, diff --git a/apps/api/plane/app/views/analytic/advance.py b/apps/api/plane/app/views/analytic/advance.py index 1a5b1b34ce..5ba9a439b4 100644 --- a/apps/api/plane/app/views/analytic/advance.py +++ b/apps/api/plane/app/views/analytic/advance.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework.response import Response from rest_framework import status from typing import Dict, List, Any diff --git a/apps/api/plane/app/views/analytic/base.py b/apps/api/plane/app/views/analytic/base.py index 6e9311a185..2f3f8b5737 100644 --- a/apps/api/plane/app/views/analytic/base.py +++ b/apps/api/plane/app/views/analytic/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db.models import Count, F, Sum, Q from django.db.models.functions import ExtractMonth diff --git a/apps/api/plane/app/views/analytic/project_analytics.py b/apps/api/plane/app/views/analytic/project_analytics.py index 2529900b05..c8e896716b 100644 --- a/apps/api/plane/app/views/analytic/project_analytics.py +++ b/apps/api/plane/app/views/analytic/project_analytics.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework.response import Response from rest_framework import status from typing import Dict, Any diff --git a/apps/api/plane/app/views/api.py b/apps/api/plane/app/views/api.py index 4198599023..f2abc1a2de 100644 --- a/apps/api/plane/app/views/api.py +++ b/apps/api/plane/app/views/api.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python import from uuid import uuid4 from typing import Optional diff --git a/apps/api/plane/app/views/asset/base.py b/apps/api/plane/app/views/asset/base.py index 522d4af751..5b55a76a61 100644 --- a/apps/api/plane/app/views/asset/base.py +++ b/apps/api/plane/app/views/asset/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/asset/v2.py b/apps/api/plane/app/views/asset/v2.py index 4313fe3fff..2961ec4bac 100644 --- a/apps/api/plane/app/views/asset/v2.py +++ b/apps/api/plane/app/views/asset/v2.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/app/views/base.py b/apps/api/plane/app/views/base.py index 0323302c5a..db5469de58 100644 --- a/apps/api/plane/app/views/base.py +++ b/apps/api/plane/app/views/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import traceback diff --git a/apps/api/plane/app/views/cycle/archive.py b/apps/api/plane/app/views/cycle/archive.py index a2f89d53f6..3738b33671 100644 --- a/apps/api/plane/app/views/cycle/archive.py +++ b/apps/api/plane/app/views/cycle/archive.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.contrib.postgres.aggregates import ArrayAgg from django.contrib.postgres.fields import ArrayField diff --git a/apps/api/plane/app/views/cycle/base.py b/apps/api/plane/app/views/cycle/base.py index d61f1587b3..30a5732ce0 100644 --- a/apps/api/plane/app/views/cycle/base.py +++ b/apps/api/plane/app/views/cycle/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json import pytz diff --git a/apps/api/plane/app/views/cycle/issue.py b/apps/api/plane/app/views/cycle/issue.py index ad3923b17b..6099678457 100644 --- a/apps/api/plane/app/views/cycle/issue.py +++ b/apps/api/plane/app/views/cycle/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import copy import json diff --git a/apps/api/plane/app/views/error_404.py b/apps/api/plane/app/views/error_404.py index 97c3c59f7c..b7ec4dcf3a 100644 --- a/apps/api/plane/app/views/error_404.py +++ b/apps/api/plane/app/views/error_404.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # views.py from django.http import JsonResponse diff --git a/apps/api/plane/app/views/estimate/base.py b/apps/api/plane/app/views/estimate/base.py index f54115a4f2..4bdc86633d 100644 --- a/apps/api/plane/app/views/estimate/base.py +++ b/apps/api/plane/app/views/estimate/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import random import string import json diff --git a/apps/api/plane/app/views/exporter/base.py b/apps/api/plane/app/views/exporter/base.py index 5f446ff949..64364ecf47 100644 --- a/apps/api/plane/app/views/exporter/base.py +++ b/apps/api/plane/app/views/exporter/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/external/base.py b/apps/api/plane/app/views/external/base.py index 2c554bbc86..013bad2dbf 100644 --- a/apps/api/plane/app/views/external/base.py +++ b/apps/api/plane/app/views/external/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python import import os from typing import List, Dict, Tuple diff --git a/apps/api/plane/app/views/intake/base.py b/apps/api/plane/app/views/intake/base.py index babe2e021e..d4049aa3cb 100644 --- a/apps/api/plane/app/views/intake/base.py +++ b/apps/api/plane/app/views/intake/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/issue/activity.py b/apps/api/plane/app/views/issue/activity.py index fdfcd129ae..8f62956401 100644 --- a/apps/api/plane/app/views/issue/activity.py +++ b/apps/api/plane/app/views/issue/activity.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from itertools import chain diff --git a/apps/api/plane/app/views/issue/archive.py b/apps/api/plane/app/views/issue/archive.py index b8f8589696..1ac808cf92 100644 --- a/apps/api/plane/app/views/issue/archive.py +++ b/apps/api/plane/app/views/issue/archive.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import copy import json diff --git a/apps/api/plane/app/views/issue/attachment.py b/apps/api/plane/app/views/issue/attachment.py index 7b7ecf378b..f0c55763ed 100644 --- a/apps/api/plane/app/views/issue/attachment.py +++ b/apps/api/plane/app/views/issue/attachment.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json import uuid diff --git a/apps/api/plane/app/views/issue/base.py b/apps/api/plane/app/views/issue/base.py index 89fd9bbda9..98a59b6481 100644 --- a/apps/api/plane/app/views/issue/base.py +++ b/apps/api/plane/app/views/issue/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import copy import json diff --git a/apps/api/plane/app/views/issue/comment.py b/apps/api/plane/app/views/issue/comment.py index 72a986fea5..34fe0f9e4b 100644 --- a/apps/api/plane/app/views/issue/comment.py +++ b/apps/api/plane/app/views/issue/comment.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/issue/label.py b/apps/api/plane/app/views/issue/label.py index 6e46b5abb0..05033593e6 100644 --- a/apps/api/plane/app/views/issue/label.py +++ b/apps/api/plane/app/views/issue/label.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import random diff --git a/apps/api/plane/app/views/issue/link.py b/apps/api/plane/app/views/issue/link.py index ee209f9fae..5490212302 100644 --- a/apps/api/plane/app/views/issue/link.py +++ b/apps/api/plane/app/views/issue/link.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/issue/reaction.py b/apps/api/plane/app/views/issue/reaction.py index fe8a63b135..c09e1e9244 100644 --- a/apps/api/plane/app/views/issue/reaction.py +++ b/apps/api/plane/app/views/issue/reaction.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/issue/relation.py b/apps/api/plane/app/views/issue/relation.py index 0dfd686d29..e91ddffec8 100644 --- a/apps/api/plane/app/views/issue/relation.py +++ b/apps/api/plane/app/views/issue/relation.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/issue/sub_issue.py b/apps/api/plane/app/views/issue/sub_issue.py index 2fa244dcfb..b52e07564f 100644 --- a/apps/api/plane/app/views/issue/sub_issue.py +++ b/apps/api/plane/app/views/issue/sub_issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/issue/subscriber.py b/apps/api/plane/app/views/issue/subscriber.py index 58f3ba4c7e..c9a1a29b65 100644 --- a/apps/api/plane/app/views/issue/subscriber.py +++ b/apps/api/plane/app/views/issue/subscriber.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework.response import Response from rest_framework import status diff --git a/apps/api/plane/app/views/issue/version.py b/apps/api/plane/app/views/issue/version.py index 358271ac87..540c7d6d5c 100644 --- a/apps/api/plane/app/views/issue/version.py +++ b/apps/api/plane/app/views/issue/version.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/module/archive.py b/apps/api/plane/app/views/module/archive.py index 129ff0dac4..1f234d7915 100644 --- a/apps/api/plane/app/views/module/archive.py +++ b/apps/api/plane/app/views/module/archive.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.contrib.postgres.aggregates import ArrayAgg from django.contrib.postgres.fields import ArrayField from django.db.models import ( diff --git a/apps/api/plane/app/views/module/base.py b/apps/api/plane/app/views/module/base.py index ae429e7504..97e683f750 100644 --- a/apps/api/plane/app/views/module/base.py +++ b/apps/api/plane/app/views/module/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/module/issue.py b/apps/api/plane/app/views/module/issue.py index 672bf4e1ae..4707d683a7 100644 --- a/apps/api/plane/app/views/module/issue.py +++ b/apps/api/plane/app/views/module/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import copy import json diff --git a/apps/api/plane/app/views/notification/base.py b/apps/api/plane/app/views/notification/base.py index a11c12d167..0b7dc27a8a 100644 --- a/apps/api/plane/app/views/notification/base.py +++ b/apps/api/plane/app/views/notification/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db.models import Exists, OuterRef, Q, Case, When, BooleanField from django.utils import timezone diff --git a/apps/api/plane/app/views/page/base.py b/apps/api/plane/app/views/page/base.py index e94b26b90c..8e8206c487 100644 --- a/apps/api/plane/app/views/page/base.py +++ b/apps/api/plane/app/views/page/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json from datetime import datetime diff --git a/apps/api/plane/app/views/page/version.py b/apps/api/plane/app/views/page/version.py index 1b285c9661..e102bf1d0b 100644 --- a/apps/api/plane/app/views/page/version.py +++ b/apps/api/plane/app/views/page/version.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/project/base.py b/apps/api/plane/app/views/project/base.py index e1d0c0c2a6..eaec78b8c6 100644 --- a/apps/api/plane/app/views/project/base.py +++ b/apps/api/plane/app/views/project/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/project/invite.py b/apps/api/plane/app/views/project/invite.py index f4ea9ba41a..19d8c36bcf 100644 --- a/apps/api/plane/app/views/project/invite.py +++ b/apps/api/plane/app/views/project/invite.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import jwt from datetime import datetime diff --git a/apps/api/plane/app/views/project/member.py b/apps/api/plane/app/views/project/member.py index 7c5e4f4f6f..1ad7639fb8 100644 --- a/apps/api/plane/app/views/project/member.py +++ b/apps/api/plane/app/views/project/member.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework.response import Response from rest_framework import status diff --git a/apps/api/plane/app/views/search/base.py b/apps/api/plane/app/views/search/base.py index f1e6926532..3bfbecaaff 100644 --- a/apps/api/plane/app/views/search/base.py +++ b/apps/api/plane/app/views/search/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import re diff --git a/apps/api/plane/app/views/search/issue.py b/apps/api/plane/app/views/search/issue.py index ac9d783a9f..737fe64100 100644 --- a/apps/api/plane/app/views/search/issue.py +++ b/apps/api/plane/app/views/search/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db.models import Q, QuerySet diff --git a/apps/api/plane/app/views/state/base.py b/apps/api/plane/app/views/state/base.py index ce1597a685..55c232fdf6 100644 --- a/apps/api/plane/app/views/state/base.py +++ b/apps/api/plane/app/views/state/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from itertools import groupby from collections import defaultdict diff --git a/apps/api/plane/app/views/timezone/base.py b/apps/api/plane/app/views/timezone/base.py index fc01211792..9644ceee37 100644 --- a/apps/api/plane/app/views/timezone/base.py +++ b/apps/api/plane/app/views/timezone/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import pytz from datetime import datetime diff --git a/apps/api/plane/app/views/user/base.py b/apps/api/plane/app/views/user/base.py index 72d42010ce..914dffb3b0 100644 --- a/apps/api/plane/app/views/user/base.py +++ b/apps/api/plane/app/views/user/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid import json diff --git a/apps/api/plane/app/views/view/base.py b/apps/api/plane/app/views/view/base.py index 98fe04c62f..5ca7aac420 100644 --- a/apps/api/plane/app/views/view/base.py +++ b/apps/api/plane/app/views/view/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import copy # Django imports diff --git a/apps/api/plane/app/views/webhook/base.py b/apps/api/plane/app/views/webhook/base.py index e857c3e08f..c874f0a422 100644 --- a/apps/api/plane/app/views/webhook/base.py +++ b/apps/api/plane/app/views/webhook/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db import IntegrityError diff --git a/apps/api/plane/app/views/workspace/base.py b/apps/api/plane/app/views/workspace/base.py index 12caee5061..b9c7e79fdc 100644 --- a/apps/api/plane/app/views/workspace/base.py +++ b/apps/api/plane/app/views/workspace/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import csv import io diff --git a/apps/api/plane/app/views/workspace/cycle.py b/apps/api/plane/app/views/workspace/cycle.py index 73deca0594..deb86c5c4d 100644 --- a/apps/api/plane/app/views/workspace/cycle.py +++ b/apps/api/plane/app/views/workspace/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db.models import Q, Count diff --git a/apps/api/plane/app/views/workspace/draft.py b/apps/api/plane/app/views/workspace/draft.py index c89fe4a730..aa228ded37 100644 --- a/apps/api/plane/app/views/workspace/draft.py +++ b/apps/api/plane/app/views/workspace/draft.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/app/views/workspace/estimate.py b/apps/api/plane/app/views/workspace/estimate.py index 8cba3d1700..7f5bb66f67 100644 --- a/apps/api/plane/app/views/workspace/estimate.py +++ b/apps/api/plane/app/views/workspace/estimate.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party modules from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/workspace/favorite.py b/apps/api/plane/app/views/workspace/favorite.py index 8a8bfed6c9..8217f0fb02 100644 --- a/apps/api/plane/app/views/workspace/favorite.py +++ b/apps/api/plane/app/views/workspace/favorite.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party modules from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/workspace/home.py b/apps/api/plane/app/views/workspace/home.py index 731164eb1c..ec35aaf4ec 100644 --- a/apps/api/plane/app/views/workspace/home.py +++ b/apps/api/plane/app/views/workspace/home.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from ..base import BaseAPIView from plane.db.models.workspace import WorkspaceHomePreference diff --git a/apps/api/plane/app/views/workspace/invite.py b/apps/api/plane/app/views/workspace/invite.py index 0983309f12..175380b3aa 100644 --- a/apps/api/plane/app/views/workspace/invite.py +++ b/apps/api/plane/app/views/workspace/invite.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from datetime import datetime diff --git a/apps/api/plane/app/views/workspace/label.py b/apps/api/plane/app/views/workspace/label.py index 11ca6b9139..926a504a34 100644 --- a/apps/api/plane/app/views/workspace/label.py +++ b/apps/api/plane/app/views/workspace/label.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party modules from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/workspace/member.py b/apps/api/plane/app/views/workspace/member.py index 3394cb253f..67c7637a8c 100644 --- a/apps/api/plane/app/views/workspace/member.py +++ b/apps/api/plane/app/views/workspace/member.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db.models import Count, Q, OuterRef, Subquery, IntegerField from django.utils import timezone diff --git a/apps/api/plane/app/views/workspace/module.py b/apps/api/plane/app/views/workspace/module.py index e61fc70e73..0cdaf4f56a 100644 --- a/apps/api/plane/app/views/workspace/module.py +++ b/apps/api/plane/app/views/workspace/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db.models import Prefetch, Q, Count diff --git a/apps/api/plane/app/views/workspace/quick_link.py b/apps/api/plane/app/views/workspace/quick_link.py index 82c104573d..ba971c54f9 100644 --- a/apps/api/plane/app/views/workspace/quick_link.py +++ b/apps/api/plane/app/views/workspace/quick_link.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/workspace/recent_visit.py b/apps/api/plane/app/views/workspace/recent_visit.py index 0d9c1ef9bb..a9394766a2 100644 --- a/apps/api/plane/app/views/workspace/recent_visit.py +++ b/apps/api/plane/app/views/workspace/recent_visit.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/workspace/state.py b/apps/api/plane/app/views/workspace/state.py index 3bfc8d22de..a8c5b368d9 100644 --- a/apps/api/plane/app/views/workspace/state.py +++ b/apps/api/plane/app/views/workspace/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party modules from rest_framework import status from rest_framework.response import Response diff --git a/apps/api/plane/app/views/workspace/sticky.py b/apps/api/plane/app/views/workspace/sticky.py index 8ab6c5c982..9cf1532257 100644 --- a/apps/api/plane/app/views/workspace/sticky.py +++ b/apps/api/plane/app/views/workspace/sticky.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework.response import Response from rest_framework import status diff --git a/apps/api/plane/app/views/workspace/user.py b/apps/api/plane/app/views/workspace/user.py index b45c6e410b..b60ae5e15e 100644 --- a/apps/api/plane/app/views/workspace/user.py +++ b/apps/api/plane/app/views/workspace/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import copy from datetime import date diff --git a/apps/api/plane/app/views/workspace/user_preference.py b/apps/api/plane/app/views/workspace/user_preference.py index 253f715b36..83e380b9ec 100644 --- a/apps/api/plane/app/views/workspace/user_preference.py +++ b/apps/api/plane/app/views/workspace/user_preference.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from ..base import BaseAPIView from plane.db.models.workspace import WorkspaceUserPreference diff --git a/apps/api/plane/asgi.py b/apps/api/plane/asgi.py index 2dd703ffef..9d3bd6b07a 100644 --- a/apps/api/plane/asgi.py +++ b/apps/api/plane/asgi.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import os from channels.routing import ProtocolTypeRouter diff --git a/apps/api/plane/authentication/__init__.py b/apps/api/plane/authentication/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/authentication/__init__.py +++ b/apps/api/plane/authentication/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/authentication/adapter/__init__.py b/apps/api/plane/authentication/adapter/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/authentication/adapter/__init__.py +++ b/apps/api/plane/authentication/adapter/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/authentication/adapter/base.py b/apps/api/plane/authentication/adapter/base.py index baae95453b..5707ca700a 100644 --- a/apps/api/plane/authentication/adapter/base.py +++ b/apps/api/plane/authentication/adapter/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os import uuid diff --git a/apps/api/plane/authentication/adapter/credential.py b/apps/api/plane/authentication/adapter/credential.py index 0327289ca2..eee6ea97f6 100644 --- a/apps/api/plane/authentication/adapter/credential.py +++ b/apps/api/plane/authentication/adapter/credential.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from plane.authentication.adapter.base import Adapter diff --git a/apps/api/plane/authentication/adapter/error.py b/apps/api/plane/authentication/adapter/error.py index 25a7cf5671..74cb44d26a 100644 --- a/apps/api/plane/authentication/adapter/error.py +++ b/apps/api/plane/authentication/adapter/error.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + AUTHENTICATION_ERROR_CODES = { # Global "INSTANCE_NOT_CONFIGURED": 5000, diff --git a/apps/api/plane/authentication/adapter/exception.py b/apps/api/plane/authentication/adapter/exception.py index e906c5a50b..c8d28762a9 100644 --- a/apps/api/plane/authentication/adapter/exception.py +++ b/apps/api/plane/authentication/adapter/exception.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework.views import exception_handler from rest_framework.exceptions import NotAuthenticated diff --git a/apps/api/plane/authentication/adapter/oauth.py b/apps/api/plane/authentication/adapter/oauth.py index d8e423d0e7..0ae02f212c 100644 --- a/apps/api/plane/authentication/adapter/oauth.py +++ b/apps/api/plane/authentication/adapter/oauth.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import requests diff --git a/apps/api/plane/authentication/apps.py b/apps/api/plane/authentication/apps.py index cf5cdca1c9..5a612eaa98 100644 --- a/apps/api/plane/authentication/apps.py +++ b/apps/api/plane/authentication/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/authentication/middleware/__init__.py b/apps/api/plane/authentication/middleware/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/authentication/middleware/__init__.py +++ b/apps/api/plane/authentication/middleware/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/authentication/middleware/session.py b/apps/api/plane/authentication/middleware/session.py index c367a15d36..817f898fd4 100644 --- a/apps/api/plane/authentication/middleware/session.py +++ b/apps/api/plane/authentication/middleware/session.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import time from importlib import import_module diff --git a/apps/api/plane/authentication/provider/__init__.py b/apps/api/plane/authentication/provider/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/authentication/provider/__init__.py +++ b/apps/api/plane/authentication/provider/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/authentication/provider/credentials/__init__.py b/apps/api/plane/authentication/provider/credentials/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/authentication/provider/credentials/__init__.py +++ b/apps/api/plane/authentication/provider/credentials/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/authentication/provider/credentials/email.py b/apps/api/plane/authentication/provider/credentials/email.py index c3d19a80e7..b23b3405ee 100644 --- a/apps/api/plane/authentication/provider/credentials/email.py +++ b/apps/api/plane/authentication/provider/credentials/email.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os diff --git a/apps/api/plane/authentication/provider/credentials/magic_code.py b/apps/api/plane/authentication/provider/credentials/magic_code.py index e7c5cfff95..a6c9883d6b 100644 --- a/apps/api/plane/authentication/provider/credentials/magic_code.py +++ b/apps/api/plane/authentication/provider/credentials/magic_code.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json import os diff --git a/apps/api/plane/authentication/provider/oauth/__init__.py b/apps/api/plane/authentication/provider/oauth/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/authentication/provider/oauth/__init__.py +++ b/apps/api/plane/authentication/provider/oauth/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/authentication/provider/oauth/gitea.py b/apps/api/plane/authentication/provider/oauth/gitea.py index 4d8de8e1af..8c0c3a5db5 100644 --- a/apps/api/plane/authentication/provider/oauth/gitea.py +++ b/apps/api/plane/authentication/provider/oauth/gitea.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import os from datetime import datetime, timedelta from urllib.parse import urlencode, urlparse diff --git a/apps/api/plane/authentication/provider/oauth/github.py b/apps/api/plane/authentication/provider/oauth/github.py index 54c48018ef..d3e202c096 100644 --- a/apps/api/plane/authentication/provider/oauth/github.py +++ b/apps/api/plane/authentication/provider/oauth/github.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os from datetime import datetime diff --git a/apps/api/plane/authentication/provider/oauth/gitlab.py b/apps/api/plane/authentication/provider/oauth/gitlab.py index de4a3515ef..088987c237 100644 --- a/apps/api/plane/authentication/provider/oauth/gitlab.py +++ b/apps/api/plane/authentication/provider/oauth/gitlab.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os from datetime import datetime diff --git a/apps/api/plane/authentication/provider/oauth/google.py b/apps/api/plane/authentication/provider/oauth/google.py index 41293782f8..b02eda87de 100644 --- a/apps/api/plane/authentication/provider/oauth/google.py +++ b/apps/api/plane/authentication/provider/oauth/google.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os from datetime import datetime diff --git a/apps/api/plane/authentication/rate_limit.py b/apps/api/plane/authentication/rate_limit.py index d245d50b37..f939ef25cd 100644 --- a/apps/api/plane/authentication/rate_limit.py +++ b/apps/api/plane/authentication/rate_limit.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework.throttling import AnonRateThrottle, UserRateThrottle from rest_framework import status diff --git a/apps/api/plane/authentication/session.py b/apps/api/plane/authentication/session.py index 862a63c130..fe2aa0c35c 100644 --- a/apps/api/plane/authentication/session.py +++ b/apps/api/plane/authentication/session.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework.authentication import SessionAuthentication diff --git a/apps/api/plane/authentication/urls.py b/apps/api/plane/authentication/urls.py index 64b8e654c9..4bec07db00 100644 --- a/apps/api/plane/authentication/urls.py +++ b/apps/api/plane/authentication/urls.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from .views import ( diff --git a/apps/api/plane/authentication/utils/host.py b/apps/api/plane/authentication/utils/host.py index 415791a879..d79d54e8a8 100644 --- a/apps/api/plane/authentication/utils/host.py +++ b/apps/api/plane/authentication/utils/host.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.http import HttpRequest diff --git a/apps/api/plane/authentication/utils/login.py b/apps/api/plane/authentication/utils/login.py index fe6fdad931..d573335511 100644 --- a/apps/api/plane/authentication/utils/login.py +++ b/apps/api/plane/authentication/utils/login.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.contrib.auth import login from django.conf import settings diff --git a/apps/api/plane/authentication/utils/redirection_path.py b/apps/api/plane/authentication/utils/redirection_path.py index 82139b8213..59d4b7d50a 100644 --- a/apps/api/plane/authentication/utils/redirection_path.py +++ b/apps/api/plane/authentication/utils/redirection_path.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from plane.db.models import Profile, Workspace, WorkspaceMemberInvite diff --git a/apps/api/plane/authentication/utils/user_auth_workflow.py b/apps/api/plane/authentication/utils/user_auth_workflow.py index 13de4c2874..4641f332c5 100644 --- a/apps/api/plane/authentication/utils/user_auth_workflow.py +++ b/apps/api/plane/authentication/utils/user_auth_workflow.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .workspace_project_join import process_workspace_project_invitations diff --git a/apps/api/plane/authentication/utils/workspace_project_join.py b/apps/api/plane/authentication/utils/workspace_project_join.py index 31dae55eb7..9222791a84 100644 --- a/apps/api/plane/authentication/utils/workspace_project_join.py +++ b/apps/api/plane/authentication/utils/workspace_project_join.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils import timezone diff --git a/apps/api/plane/authentication/views/__init__.py b/apps/api/plane/authentication/views/__init__.py index 2595d2e756..a9c816ae9e 100644 --- a/apps/api/plane/authentication/views/__init__.py +++ b/apps/api/plane/authentication/views/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .common import ChangePasswordEndpoint, CSRFTokenEndpoint, SetUserPasswordEndpoint from .app.check import EmailCheckEndpoint diff --git a/apps/api/plane/authentication/views/app/check.py b/apps/api/plane/authentication/views/app/check.py index 10457b45a0..97ab24def1 100644 --- a/apps/api/plane/authentication/views/app/check.py +++ b/apps/api/plane/authentication/views/app/check.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os diff --git a/apps/api/plane/authentication/views/app/email.py b/apps/api/plane/authentication/views/app/email.py index 864ff102bc..3d1954875c 100644 --- a/apps/api/plane/authentication/views/app/email.py +++ b/apps/api/plane/authentication/views/app/email.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.exceptions import ValidationError from django.core.validators import validate_email diff --git a/apps/api/plane/authentication/views/app/gitea.py b/apps/api/plane/authentication/views/app/gitea.py index e43a35c3c8..67d25e1ab3 100644 --- a/apps/api/plane/authentication/views/app/gitea.py +++ b/apps/api/plane/authentication/views/app/gitea.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import uuid from urllib.parse import urlencode, urljoin diff --git a/apps/api/plane/authentication/views/app/github.py b/apps/api/plane/authentication/views/app/github.py index 4720fc7daa..82d5f4a053 100644 --- a/apps/api/plane/authentication/views/app/github.py +++ b/apps/api/plane/authentication/views/app/github.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/authentication/views/app/gitlab.py b/apps/api/plane/authentication/views/app/gitlab.py index 665af00c19..5b0435250d 100644 --- a/apps/api/plane/authentication/views/app/gitlab.py +++ b/apps/api/plane/authentication/views/app/gitlab.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/authentication/views/app/google.py b/apps/api/plane/authentication/views/app/google.py index 0ee81c768c..3dad1385a8 100644 --- a/apps/api/plane/authentication/views/app/google.py +++ b/apps/api/plane/authentication/views/app/google.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/authentication/views/app/magic.py b/apps/api/plane/authentication/views/app/magic.py index 518a5cdea4..9104311a62 100644 --- a/apps/api/plane/authentication/views/app/magic.py +++ b/apps/api/plane/authentication/views/app/magic.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.validators import validate_email from django.http import HttpResponseRedirect diff --git a/apps/api/plane/authentication/views/app/password_management.py b/apps/api/plane/authentication/views/app/password_management.py index de0baa71b5..33a765134f 100644 --- a/apps/api/plane/authentication/views/app/password_management.py +++ b/apps/api/plane/authentication/views/app/password_management.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os from urllib.parse import urlencode, urljoin diff --git a/apps/api/plane/authentication/views/app/signout.py b/apps/api/plane/authentication/views/app/signout.py index b8019dac18..9941da3c9f 100644 --- a/apps/api/plane/authentication/views/app/signout.py +++ b/apps/api/plane/authentication/views/app/signout.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.views import View from django.contrib.auth import logout diff --git a/apps/api/plane/authentication/views/common.py b/apps/api/plane/authentication/views/common.py index c5dd1714c5..c36ae48321 100644 --- a/apps/api/plane/authentication/views/common.py +++ b/apps/api/plane/authentication/views/common.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.shortcuts import render diff --git a/apps/api/plane/authentication/views/space/check.py b/apps/api/plane/authentication/views/space/check.py index 95a5e68dfa..371fadf366 100644 --- a/apps/api/plane/authentication/views/space/check.py +++ b/apps/api/plane/authentication/views/space/check.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os diff --git a/apps/api/plane/authentication/views/space/email.py b/apps/api/plane/authentication/views/space/email.py index 3d092591ad..827348cef2 100644 --- a/apps/api/plane/authentication/views/space/email.py +++ b/apps/api/plane/authentication/views/space/email.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.exceptions import ValidationError from django.core.validators import validate_email diff --git a/apps/api/plane/authentication/views/space/gitea.py b/apps/api/plane/authentication/views/space/gitea.py index 497a1ecc09..04c21678fe 100644 --- a/apps/api/plane/authentication/views/space/gitea.py +++ b/apps/api/plane/authentication/views/space/gitea.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid from urllib.parse import urlencode diff --git a/apps/api/plane/authentication/views/space/github.py b/apps/api/plane/authentication/views/space/github.py index f12498d3b0..1df6a8c619 100644 --- a/apps/api/plane/authentication/views/space/github.py +++ b/apps/api/plane/authentication/views/space/github.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/authentication/views/space/gitlab.py b/apps/api/plane/authentication/views/space/gitlab.py index 498916b344..19c057a069 100644 --- a/apps/api/plane/authentication/views/space/gitlab.py +++ b/apps/api/plane/authentication/views/space/gitlab.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/authentication/views/space/google.py b/apps/api/plane/authentication/views/space/google.py index 0f02c1f93e..daa1b48a6f 100644 --- a/apps/api/plane/authentication/views/space/google.py +++ b/apps/api/plane/authentication/views/space/google.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/authentication/views/space/magic.py b/apps/api/plane/authentication/views/space/magic.py index df940b3275..37683d9acf 100644 --- a/apps/api/plane/authentication/views/space/magic.py +++ b/apps/api/plane/authentication/views/space/magic.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.validators import validate_email from django.http import HttpResponseRedirect diff --git a/apps/api/plane/authentication/views/space/password_management.py b/apps/api/plane/authentication/views/space/password_management.py index 12cc88f63e..49fe4360c5 100644 --- a/apps/api/plane/authentication/views/space/password_management.py +++ b/apps/api/plane/authentication/views/space/password_management.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os from urllib.parse import urlencode diff --git a/apps/api/plane/authentication/views/space/signout.py b/apps/api/plane/authentication/views/space/signout.py index aa890f978d..164c6409bc 100644 --- a/apps/api/plane/authentication/views/space/signout.py +++ b/apps/api/plane/authentication/views/space/signout.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.views import View from django.contrib.auth import logout diff --git a/apps/api/plane/bgtasks/__init__.py b/apps/api/plane/bgtasks/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/bgtasks/__init__.py +++ b/apps/api/plane/bgtasks/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/bgtasks/analytic_plot_export.py b/apps/api/plane/bgtasks/analytic_plot_export.py index 845fb50dd2..77ea6522db 100644 --- a/apps/api/plane/bgtasks/analytic_plot_export.py +++ b/apps/api/plane/bgtasks/analytic_plot_export.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import csv import io diff --git a/apps/api/plane/bgtasks/apps.py b/apps/api/plane/bgtasks/apps.py index 7f6ca38f0c..e5fb0aa547 100644 --- a/apps/api/plane/bgtasks/apps.py +++ b/apps/api/plane/bgtasks/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/bgtasks/cleanup_task.py b/apps/api/plane/bgtasks/cleanup_task.py index 6b23f2571d..407a67ca69 100644 --- a/apps/api/plane/bgtasks/cleanup_task.py +++ b/apps/api/plane/bgtasks/cleanup_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from datetime import timedelta import logging diff --git a/apps/api/plane/bgtasks/copy_s3_object.py b/apps/api/plane/bgtasks/copy_s3_object.py index 7db7fd3b3f..742966a6fb 100644 --- a/apps/api/plane/bgtasks/copy_s3_object.py +++ b/apps/api/plane/bgtasks/copy_s3_object.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid import base64 diff --git a/apps/api/plane/bgtasks/deletion_task.py b/apps/api/plane/bgtasks/deletion_task.py index 932a1fce06..11d9041606 100644 --- a/apps/api/plane/bgtasks/deletion_task.py +++ b/apps/api/plane/bgtasks/deletion_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils import timezone from django.apps import apps diff --git a/apps/api/plane/bgtasks/dummy_data_task.py b/apps/api/plane/bgtasks/dummy_data_task.py index 390bc160b5..6740495d83 100644 --- a/apps/api/plane/bgtasks/dummy_data_task.py +++ b/apps/api/plane/bgtasks/dummy_data_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid import random diff --git a/apps/api/plane/bgtasks/email_notification_task.py b/apps/api/plane/bgtasks/email_notification_task.py index 1402adc41f..19db897462 100644 --- a/apps/api/plane/bgtasks/email_notification_task.py +++ b/apps/api/plane/bgtasks/email_notification_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import logging import re from datetime import datetime diff --git a/apps/api/plane/bgtasks/event_tracking_task.py b/apps/api/plane/bgtasks/event_tracking_task.py index 82857fdfe1..e8f453e9ff 100644 --- a/apps/api/plane/bgtasks/event_tracking_task.py +++ b/apps/api/plane/bgtasks/event_tracking_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import logging import os import uuid diff --git a/apps/api/plane/bgtasks/export_task.py b/apps/api/plane/bgtasks/export_task.py index f77e379108..24486999d7 100644 --- a/apps/api/plane/bgtasks/export_task.py +++ b/apps/api/plane/bgtasks/export_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import io import zipfile diff --git a/apps/api/plane/bgtasks/exporter_expired_task.py b/apps/api/plane/bgtasks/exporter_expired_task.py index 30b638c84c..9ec2a0102a 100644 --- a/apps/api/plane/bgtasks/exporter_expired_task.py +++ b/apps/api/plane/bgtasks/exporter_expired_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import boto3 from datetime import timedelta diff --git a/apps/api/plane/bgtasks/file_asset_task.py b/apps/api/plane/bgtasks/file_asset_task.py index d6eccf7357..e54a754c9a 100644 --- a/apps/api/plane/bgtasks/file_asset_task.py +++ b/apps/api/plane/bgtasks/file_asset_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os from datetime import timedelta diff --git a/apps/api/plane/bgtasks/forgot_password_task.py b/apps/api/plane/bgtasks/forgot_password_task.py index ffaba9937f..4a66551ed9 100644 --- a/apps/api/plane/bgtasks/forgot_password_task.py +++ b/apps/api/plane/bgtasks/forgot_password_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/issue_activities_task.py b/apps/api/plane/bgtasks/issue_activities_task.py index a886305fd2..032feb02a6 100644 --- a/apps/api/plane/bgtasks/issue_activities_task.py +++ b/apps/api/plane/bgtasks/issue_activities_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/bgtasks/issue_automation_task.py b/apps/api/plane/bgtasks/issue_automation_task.py index 1cc303b575..83a2f72d18 100644 --- a/apps/api/plane/bgtasks/issue_automation_task.py +++ b/apps/api/plane/bgtasks/issue_automation_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json from datetime import timedelta diff --git a/apps/api/plane/bgtasks/issue_description_version_sync.py b/apps/api/plane/bgtasks/issue_description_version_sync.py index 763d10cd54..795d5e7efc 100644 --- a/apps/api/plane/bgtasks/issue_description_version_sync.py +++ b/apps/api/plane/bgtasks/issue_description_version_sync.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from typing import Optional import logging diff --git a/apps/api/plane/bgtasks/issue_description_version_task.py b/apps/api/plane/bgtasks/issue_description_version_task.py index 51d5f4a649..49689e8150 100644 --- a/apps/api/plane/bgtasks/issue_description_version_task.py +++ b/apps/api/plane/bgtasks/issue_description_version_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from celery import shared_task from django.db import transaction from django.utils import timezone diff --git a/apps/api/plane/bgtasks/issue_version_sync.py b/apps/api/plane/bgtasks/issue_version_sync.py index 761c26bc2f..221a5a417a 100644 --- a/apps/api/plane/bgtasks/issue_version_sync.py +++ b/apps/api/plane/bgtasks/issue_version_sync.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json from typing import Optional, List, Dict diff --git a/apps/api/plane/bgtasks/logger_task.py b/apps/api/plane/bgtasks/logger_task.py index 01723ef77a..4a74e54bc5 100644 --- a/apps/api/plane/bgtasks/logger_task.py +++ b/apps/api/plane/bgtasks/logger_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging from typing import Optional, Dict, Any diff --git a/apps/api/plane/bgtasks/magic_link_code_task.py b/apps/api/plane/bgtasks/magic_link_code_task.py index d8267e6971..01adc1bd4a 100644 --- a/apps/api/plane/bgtasks/magic_link_code_task.py +++ b/apps/api/plane/bgtasks/magic_link_code_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/notification_task.py b/apps/api/plane/bgtasks/notification_task.py index 6e571c0b17..bfb72afa36 100644 --- a/apps/api/plane/bgtasks/notification_task.py +++ b/apps/api/plane/bgtasks/notification_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json import uuid diff --git a/apps/api/plane/bgtasks/page_transaction_task.py b/apps/api/plane/bgtasks/page_transaction_task.py index 9c0caccf06..8c2cfe7a0c 100644 --- a/apps/api/plane/bgtasks/page_transaction_task.py +++ b/apps/api/plane/bgtasks/page_transaction_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/page_version_task.py b/apps/api/plane/bgtasks/page_version_task.py index 111b4f2360..c554cd2f6d 100644 --- a/apps/api/plane/bgtasks/page_version_task.py +++ b/apps/api/plane/bgtasks/page_version_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/bgtasks/project_add_user_email_task.py b/apps/api/plane/bgtasks/project_add_user_email_task.py index af6014695d..83b034bb35 100644 --- a/apps/api/plane/bgtasks/project_add_user_email_task.py +++ b/apps/api/plane/bgtasks/project_add_user_email_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/project_invitation_task.py b/apps/api/plane/bgtasks/project_invitation_task.py index b8eed5e45a..6876bd9f64 100644 --- a/apps/api/plane/bgtasks/project_invitation_task.py +++ b/apps/api/plane/bgtasks/project_invitation_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/recent_visited_task.py b/apps/api/plane/bgtasks/recent_visited_task.py index eda297ce45..3d4f9e6e9f 100644 --- a/apps/api/plane/bgtasks/recent_visited_task.py +++ b/apps/api/plane/bgtasks/recent_visited_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from django.utils import timezone from django.db import DatabaseError diff --git a/apps/api/plane/bgtasks/storage_metadata_task.py b/apps/api/plane/bgtasks/storage_metadata_task.py index ea745053f7..77f99e9165 100644 --- a/apps/api/plane/bgtasks/storage_metadata_task.py +++ b/apps/api/plane/bgtasks/storage_metadata_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from celery import shared_task diff --git a/apps/api/plane/bgtasks/user_activation_email_task.py b/apps/api/plane/bgtasks/user_activation_email_task.py index 492564b3ce..1f9b46beda 100644 --- a/apps/api/plane/bgtasks/user_activation_email_task.py +++ b/apps/api/plane/bgtasks/user_activation_email_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/user_deactivation_email_task.py b/apps/api/plane/bgtasks/user_deactivation_email_task.py index 2595d8055b..bf27105855 100644 --- a/apps/api/plane/bgtasks/user_deactivation_email_task.py +++ b/apps/api/plane/bgtasks/user_deactivation_email_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/user_email_update_task.py b/apps/api/plane/bgtasks/user_email_update_task.py index 667de368c7..ee45f5b74c 100644 --- a/apps/api/plane/bgtasks/user_email_update_task.py +++ b/apps/api/plane/bgtasks/user_email_update_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/webhook_task.py b/apps/api/plane/bgtasks/webhook_task.py index 3d04a65b71..5da4587cea 100644 --- a/apps/api/plane/bgtasks/webhook_task.py +++ b/apps/api/plane/bgtasks/webhook_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import hashlib import hmac import json diff --git a/apps/api/plane/bgtasks/work_item_link_task.py b/apps/api/plane/bgtasks/work_item_link_task.py index e436c1e8f8..b14dc75bcb 100644 --- a/apps/api/plane/bgtasks/work_item_link_task.py +++ b/apps/api/plane/bgtasks/work_item_link_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/workspace_invitation_task.py b/apps/api/plane/bgtasks/workspace_invitation_task.py index f7480b36a6..ced17d599d 100644 --- a/apps/api/plane/bgtasks/workspace_invitation_task.py +++ b/apps/api/plane/bgtasks/workspace_invitation_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging diff --git a/apps/api/plane/bgtasks/workspace_seed_task.py b/apps/api/plane/bgtasks/workspace_seed_task.py index 66c7969b49..218ba2a717 100644 --- a/apps/api/plane/bgtasks/workspace_seed_task.py +++ b/apps/api/plane/bgtasks/workspace_seed_task.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os import json diff --git a/apps/api/plane/celery.py b/apps/api/plane/celery.py index 828f4a6d59..562d04856f 100644 --- a/apps/api/plane/celery.py +++ b/apps/api/plane/celery.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os import logging diff --git a/apps/api/plane/db/__init__.py b/apps/api/plane/db/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/db/__init__.py +++ b/apps/api/plane/db/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/db/apps.py b/apps/api/plane/db/apps.py index 7d4919d088..92c55908e9 100644 --- a/apps/api/plane/db/apps.py +++ b/apps/api/plane/db/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/db/management/__init__.py b/apps/api/plane/db/management/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/db/management/__init__.py +++ b/apps/api/plane/db/management/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/db/management/commands/__init__.py b/apps/api/plane/db/management/commands/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/db/management/commands/__init__.py +++ b/apps/api/plane/db/management/commands/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/db/management/commands/activate_user.py b/apps/api/plane/db/management/commands/activate_user.py index 5ebe8b7409..3488a98659 100644 --- a/apps/api/plane/db/management/commands/activate_user.py +++ b/apps/api/plane/db/management/commands/activate_user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.management import BaseCommand, CommandError diff --git a/apps/api/plane/db/management/commands/clear_cache.py b/apps/api/plane/db/management/commands/clear_cache.py index 1c66b3eafc..502778f1cf 100644 --- a/apps/api/plane/db/management/commands/clear_cache.py +++ b/apps/api/plane/db/management/commands/clear_cache.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.cache import cache from django.core.management import BaseCommand diff --git a/apps/api/plane/db/management/commands/copy_issue_comment_to_description.py b/apps/api/plane/db/management/commands/copy_issue_comment_to_description.py index 8813f34db2..ec106795b4 100644 --- a/apps/api/plane/db/management/commands/copy_issue_comment_to_description.py +++ b/apps/api/plane/db/management/commands/copy_issue_comment_to_description.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.management.base import BaseCommand from django.db import transaction diff --git a/apps/api/plane/db/management/commands/create_bucket.py b/apps/api/plane/db/management/commands/create_bucket.py index 555fe0aa88..7a39a3a7fc 100644 --- a/apps/api/plane/db/management/commands/create_bucket.py +++ b/apps/api/plane/db/management/commands/create_bucket.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os import boto3 diff --git a/apps/api/plane/db/management/commands/create_dummy_data.py b/apps/api/plane/db/management/commands/create_dummy_data.py index 220576b8f4..c85c1e0176 100644 --- a/apps/api/plane/db/management/commands/create_dummy_data.py +++ b/apps/api/plane/db/management/commands/create_dummy_data.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from typing import Any from django.core.management.base import BaseCommand, CommandError diff --git a/apps/api/plane/db/management/commands/create_instance_admin.py b/apps/api/plane/db/management/commands/create_instance_admin.py index 8d5a912e04..3834918d40 100644 --- a/apps/api/plane/db/management/commands/create_instance_admin.py +++ b/apps/api/plane/db/management/commands/create_instance_admin.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.management.base import BaseCommand, CommandError diff --git a/apps/api/plane/db/management/commands/create_project_member.py b/apps/api/plane/db/management/commands/create_project_member.py index c04dbda7e7..2bd9755787 100644 --- a/apps/api/plane/db/management/commands/create_project_member.py +++ b/apps/api/plane/db/management/commands/create_project_member.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from typing import Any from django.core.management import BaseCommand, CommandError diff --git a/apps/api/plane/db/management/commands/fix_duplicate_sequences.py b/apps/api/plane/db/management/commands/fix_duplicate_sequences.py index 2b262606a2..70624fbc28 100644 --- a/apps/api/plane/db/management/commands/fix_duplicate_sequences.py +++ b/apps/api/plane/db/management/commands/fix_duplicate_sequences.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.management.base import BaseCommand, CommandError from django.db.models import Max diff --git a/apps/api/plane/db/management/commands/reset_password.py b/apps/api/plane/db/management/commands/reset_password.py index 9e483f51e3..5da607c6cd 100644 --- a/apps/api/plane/db/management/commands/reset_password.py +++ b/apps/api/plane/db/management/commands/reset_password.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import getpass diff --git a/apps/api/plane/db/management/commands/sync_issue_description_version.py b/apps/api/plane/db/management/commands/sync_issue_description_version.py index 04e608a3ce..0aac4bb153 100644 --- a/apps/api/plane/db/management/commands/sync_issue_description_version.py +++ b/apps/api/plane/db/management/commands/sync_issue_description_version.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.management.base import BaseCommand diff --git a/apps/api/plane/db/management/commands/sync_issue_version.py b/apps/api/plane/db/management/commands/sync_issue_version.py index 6c9a2cdac1..a7ee98fa75 100644 --- a/apps/api/plane/db/management/commands/sync_issue_version.py +++ b/apps/api/plane/db/management/commands/sync_issue_version.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.management.base import BaseCommand diff --git a/apps/api/plane/db/management/commands/test_email.py b/apps/api/plane/db/management/commands/test_email.py index 22841a671b..103b239b1a 100644 --- a/apps/api/plane/db/management/commands/test_email.py +++ b/apps/api/plane/db/management/commands/test_email.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.core.mail import EmailMultiAlternatives, get_connection from django.core.management import BaseCommand, CommandError from django.template.loader import render_to_string diff --git a/apps/api/plane/db/management/commands/update_bucket.py b/apps/api/plane/db/management/commands/update_bucket.py index 47c28ff739..79f7eab4e7 100644 --- a/apps/api/plane/db/management/commands/update_bucket.py +++ b/apps/api/plane/db/management/commands/update_bucket.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os import boto3 diff --git a/apps/api/plane/db/management/commands/update_deleted_workspace_slug.py b/apps/api/plane/db/management/commands/update_deleted_workspace_slug.py index 8383253541..067afe2316 100644 --- a/apps/api/plane/db/management/commands/update_deleted_workspace_slug.py +++ b/apps/api/plane/db/management/commands/update_deleted_workspace_slug.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.core.management.base import BaseCommand from django.db import transaction from plane.db.models import Workspace diff --git a/apps/api/plane/db/management/commands/wait_for_db.py b/apps/api/plane/db/management/commands/wait_for_db.py index ec971f83a7..8a9fdbc3d6 100644 --- a/apps/api/plane/db/management/commands/wait_for_db.py +++ b/apps/api/plane/db/management/commands/wait_for_db.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import time from django.db import connections from django.db.utils import OperationalError diff --git a/apps/api/plane/db/management/commands/wait_for_migrations.py b/apps/api/plane/db/management/commands/wait_for_migrations.py index 13b251de53..b61d011b25 100644 --- a/apps/api/plane/db/management/commands/wait_for_migrations.py +++ b/apps/api/plane/db/management/commands/wait_for_migrations.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # wait_for_migrations.py import time from django.core.management.base import BaseCommand diff --git a/apps/api/plane/db/mixins.py b/apps/api/plane/db/mixins.py index e43a46e294..b36269959b 100644 --- a/apps/api/plane/db/mixins.py +++ b/apps/api/plane/db/mixins.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Type imports from typing import Any diff --git a/apps/api/plane/db/models/__init__.py b/apps/api/plane/db/models/__init__.py index 5d7267c213..5cf9dec2a3 100644 --- a/apps/api/plane/db/models/__init__.py +++ b/apps/api/plane/db/models/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .analytic import AnalyticView from .api import APIActivityLog, APIToken from .asset import FileAsset diff --git a/apps/api/plane/db/models/analytic.py b/apps/api/plane/db/models/analytic.py index 0efcb957f4..601ef9ea54 100644 --- a/apps/api/plane/db/models/analytic.py +++ b/apps/api/plane/db/models/analytic.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django models from django.db import models diff --git a/apps/api/plane/db/models/api.py b/apps/api/plane/db/models/api.py index 75449a7428..c545860c05 100644 --- a/apps/api/plane/db/models/api.py +++ b/apps/api/plane/db/models/api.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from uuid import uuid4 diff --git a/apps/api/plane/db/models/asset.py b/apps/api/plane/db/models/asset.py index ed9879a733..d309135bca 100644 --- a/apps/api/plane/db/models/asset.py +++ b/apps/api/plane/db/models/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from uuid import uuid4 diff --git a/apps/api/plane/db/models/base.py b/apps/api/plane/db/models/base.py index 468af82614..482dc90635 100644 --- a/apps/api/plane/db/models/base.py +++ b/apps/api/plane/db/models/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import uuid # Django imports diff --git a/apps/api/plane/db/models/cycle.py b/apps/api/plane/db/models/cycle.py index bdffd283d8..78ea977d91 100644 --- a/apps/api/plane/db/models/cycle.py +++ b/apps/api/plane/db/models/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import pytz diff --git a/apps/api/plane/db/models/deploy_board.py b/apps/api/plane/db/models/deploy_board.py index da9c0d6982..b9d8778e08 100644 --- a/apps/api/plane/db/models/deploy_board.py +++ b/apps/api/plane/db/models/deploy_board.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from uuid import uuid4 diff --git a/apps/api/plane/db/models/description.py b/apps/api/plane/db/models/description.py index 6c298546a3..0e8de3ce76 100644 --- a/apps/api/plane/db/models/description.py +++ b/apps/api/plane/db/models/description.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.db import models from django.utils.html import strip_tags from .workspace import WorkspaceBaseModel diff --git a/apps/api/plane/db/models/device.py b/apps/api/plane/db/models/device.py index adcf7974a1..9254a21ffe 100644 --- a/apps/api/plane/db/models/device.py +++ b/apps/api/plane/db/models/device.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # models.py from django.db import models from django.conf import settings diff --git a/apps/api/plane/db/models/draft.py b/apps/api/plane/db/models/draft.py index cabe73d597..2d126da228 100644 --- a/apps/api/plane/db/models/draft.py +++ b/apps/api/plane/db/models/draft.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.db import models diff --git a/apps/api/plane/db/models/estimate.py b/apps/api/plane/db/models/estimate.py index 9373fb3204..0edd75c74d 100644 --- a/apps/api/plane/db/models/estimate.py +++ b/apps/api/plane/db/models/estimate.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.core.validators import MaxValueValidator, MinValueValidator from django.db import models diff --git a/apps/api/plane/db/models/exporter.py b/apps/api/plane/db/models/exporter.py index 8ad9daad7a..7abfe63afd 100644 --- a/apps/api/plane/db/models/exporter.py +++ b/apps/api/plane/db/models/exporter.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import uuid # Python imports diff --git a/apps/api/plane/db/models/favorite.py b/apps/api/plane/db/models/favorite.py index de2b101a05..1ce29da875 100644 --- a/apps/api/plane/db/models/favorite.py +++ b/apps/api/plane/db/models/favorite.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.conf import settings # Django imports diff --git a/apps/api/plane/db/models/importer.py b/apps/api/plane/db/models/importer.py index 9bcea8cf0b..24d987bb7a 100644 --- a/apps/api/plane/db/models/importer.py +++ b/apps/api/plane/db/models/importer.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.db import models diff --git a/apps/api/plane/db/models/intake.py b/apps/api/plane/db/models/intake.py index c3369ae1d0..700d5d8cf7 100644 --- a/apps/api/plane/db/models/intake.py +++ b/apps/api/plane/db/models/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db import models diff --git a/apps/api/plane/db/models/integration/__init__.py b/apps/api/plane/db/models/integration/__init__.py index 34b40e57d9..2242b4ddd1 100644 --- a/apps/api/plane/db/models/integration/__init__.py +++ b/apps/api/plane/db/models/integration/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .base import Integration, WorkspaceIntegration from .github import ( GithubRepository, diff --git a/apps/api/plane/db/models/integration/base.py b/apps/api/plane/db/models/integration/base.py index 296c3cf6d6..d98aa292df 100644 --- a/apps/api/plane/db/models/integration/base.py +++ b/apps/api/plane/db/models/integration/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/db/models/integration/github.py b/apps/api/plane/db/models/integration/github.py index ba278497ed..8d84dbe3e4 100644 --- a/apps/api/plane/db/models/integration/github.py +++ b/apps/api/plane/db/models/integration/github.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports # Django imports diff --git a/apps/api/plane/db/models/integration/slack.py b/apps/api/plane/db/models/integration/slack.py index 1e8ea469b6..f1c33f5c2c 100644 --- a/apps/api/plane/db/models/integration/slack.py +++ b/apps/api/plane/db/models/integration/slack.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports # Django imports diff --git a/apps/api/plane/db/models/issue.py b/apps/api/plane/db/models/issue.py index a2b3af41b6..d24efc8a23 100644 --- a/apps/api/plane/db/models/issue.py +++ b/apps/api/plane/db/models/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python import from uuid import uuid4 diff --git a/apps/api/plane/db/models/issue_type.py b/apps/api/plane/db/models/issue_type.py index 4f3dc08dec..94eaf50bfe 100644 --- a/apps/api/plane/db/models/issue_type.py +++ b/apps/api/plane/db/models/issue_type.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db import models from django.db.models import Q diff --git a/apps/api/plane/db/models/label.py b/apps/api/plane/db/models/label.py index 76ecf10e61..9435e01c65 100644 --- a/apps/api/plane/db/models/label.py +++ b/apps/api/plane/db/models/label.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.db import models from django.db.models import Q diff --git a/apps/api/plane/db/models/module.py b/apps/api/plane/db/models/module.py index ab62f2df54..d660116fa8 100644 --- a/apps/api/plane/db/models/module.py +++ b/apps/api/plane/db/models/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.db import models diff --git a/apps/api/plane/db/models/notification.py b/apps/api/plane/db/models/notification.py index fd97a3c968..c241358548 100644 --- a/apps/api/plane/db/models/notification.py +++ b/apps/api/plane/db/models/notification.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.db import models diff --git a/apps/api/plane/db/models/page.py b/apps/api/plane/db/models/page.py index e51ee9b4c8..2c82c5f44b 100644 --- a/apps/api/plane/db/models/page.py +++ b/apps/api/plane/db/models/page.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import uuid from django.conf import settings diff --git a/apps/api/plane/db/models/project.py b/apps/api/plane/db/models/project.py index 16281025bb..148bd08fc6 100644 --- a/apps/api/plane/db/models/project.py +++ b/apps/api/plane/db/models/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import pytz from uuid import uuid4 diff --git a/apps/api/plane/db/models/recent_visit.py b/apps/api/plane/db/models/recent_visit.py index 42855081bd..fb368fa122 100644 --- a/apps/api/plane/db/models/recent_visit.py +++ b/apps/api/plane/db/models/recent_visit.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db import models from django.conf import settings diff --git a/apps/api/plane/db/models/session.py b/apps/api/plane/db/models/session.py index e884498bf1..52b885ee94 100644 --- a/apps/api/plane/db/models/session.py +++ b/apps/api/plane/db/models/session.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import string diff --git a/apps/api/plane/db/models/social_connection.py b/apps/api/plane/db/models/social_connection.py index 9a85a320d5..7e8ee8c2ca 100644 --- a/apps/api/plane/db/models/social_connection.py +++ b/apps/api/plane/db/models/social_connection.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.db import models diff --git a/apps/api/plane/db/models/state.py b/apps/api/plane/db/models/state.py index 29a02e00c2..fa56900c3f 100644 --- a/apps/api/plane/db/models/state.py +++ b/apps/api/plane/db/models/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db import models from django.template.defaultfilters import slugify diff --git a/apps/api/plane/db/models/sticky.py b/apps/api/plane/db/models/sticky.py index 157077eb8c..757cb8ea11 100644 --- a/apps/api/plane/db/models/sticky.py +++ b/apps/api/plane/db/models/sticky.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.db import models diff --git a/apps/api/plane/db/models/user.py b/apps/api/plane/db/models/user.py index f350246cc4..7f1ab162da 100644 --- a/apps/api/plane/db/models/user.py +++ b/apps/api/plane/db/models/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import random import string diff --git a/apps/api/plane/db/models/view.py b/apps/api/plane/db/models/view.py index d430cd5f97..0e46a90f97 100644 --- a/apps/api/plane/db/models/view.py +++ b/apps/api/plane/db/models/view.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.db import models diff --git a/apps/api/plane/db/models/webhook.py b/apps/api/plane/db/models/webhook.py index 298b0dba3b..99431ed422 100644 --- a/apps/api/plane/db/models/webhook.py +++ b/apps/api/plane/db/models/webhook.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from uuid import uuid4 from urllib.parse import urlparse diff --git a/apps/api/plane/db/models/workspace.py b/apps/api/plane/db/models/workspace.py index 439b41938a..80a3e3e3e4 100644 --- a/apps/api/plane/db/models/workspace.py +++ b/apps/api/plane/db/models/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import pytz from typing import Optional, Any diff --git a/apps/api/plane/license/__init__.py b/apps/api/plane/license/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/license/__init__.py +++ b/apps/api/plane/license/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/license/api/__init__.py b/apps/api/plane/license/api/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/license/api/__init__.py +++ b/apps/api/plane/license/api/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/license/api/permissions/__init__.py b/apps/api/plane/license/api/permissions/__init__.py index d5bedc4c08..8878e2aaf8 100644 --- a/apps/api/plane/license/api/permissions/__init__.py +++ b/apps/api/plane/license/api/permissions/__init__.py @@ -1 +1,5 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .instance import InstanceAdminPermission diff --git a/apps/api/plane/license/api/permissions/instance.py b/apps/api/plane/license/api/permissions/instance.py index a430b688b7..819757375d 100644 --- a/apps/api/plane/license/api/permissions/instance.py +++ b/apps/api/plane/license/api/permissions/instance.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework.permissions import BasePermission diff --git a/apps/api/plane/license/api/serializers/__init__.py b/apps/api/plane/license/api/serializers/__init__.py index 6e0a5941c4..b4a39adcef 100644 --- a/apps/api/plane/license/api/serializers/__init__.py +++ b/apps/api/plane/license/api/serializers/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .instance import InstanceSerializer from .configuration import InstanceConfigurationSerializer diff --git a/apps/api/plane/license/api/serializers/admin.py b/apps/api/plane/license/api/serializers/admin.py index 4df6901cac..ebca0e5622 100644 --- a/apps/api/plane/license/api/serializers/admin.py +++ b/apps/api/plane/license/api/serializers/admin.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import User diff --git a/apps/api/plane/license/api/serializers/base.py b/apps/api/plane/license/api/serializers/base.py index 0c6bba4682..63c173e6d4 100644 --- a/apps/api/plane/license/api/serializers/base.py +++ b/apps/api/plane/license/api/serializers/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework import serializers diff --git a/apps/api/plane/license/api/serializers/configuration.py b/apps/api/plane/license/api/serializers/configuration.py index 1766f21136..21abc7013a 100644 --- a/apps/api/plane/license/api/serializers/configuration.py +++ b/apps/api/plane/license/api/serializers/configuration.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .base import BaseSerializer from plane.license.models import InstanceConfiguration from plane.license.utils.encryption import decrypt_data diff --git a/apps/api/plane/license/api/serializers/instance.py b/apps/api/plane/license/api/serializers/instance.py index c75c62e50f..1598b3fb68 100644 --- a/apps/api/plane/license/api/serializers/instance.py +++ b/apps/api/plane/license/api/serializers/instance.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from plane.license.models import Instance from plane.app.serializers import BaseSerializer diff --git a/apps/api/plane/license/api/serializers/user.py b/apps/api/plane/license/api/serializers/user.py index c53b4a4848..b5e35ac72d 100644 --- a/apps/api/plane/license/api/serializers/user.py +++ b/apps/api/plane/license/api/serializers/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .base import BaseSerializer from plane.db.models import User diff --git a/apps/api/plane/license/api/serializers/workspace.py b/apps/api/plane/license/api/serializers/workspace.py index 75dd938e45..d12473e204 100644 --- a/apps/api/plane/license/api/serializers/workspace.py +++ b/apps/api/plane/license/api/serializers/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party Imports from rest_framework import serializers diff --git a/apps/api/plane/license/api/views/__init__.py b/apps/api/plane/license/api/views/__init__.py index 7f30d53fe6..e25276495f 100644 --- a/apps/api/plane/license/api/views/__init__.py +++ b/apps/api/plane/license/api/views/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .instance import InstanceEndpoint, SignUpScreenVisitedEndpoint diff --git a/apps/api/plane/license/api/views/admin.py b/apps/api/plane/license/api/views/admin.py index 0d37f4fdc0..ba75d52aa2 100644 --- a/apps/api/plane/license/api/views/admin.py +++ b/apps/api/plane/license/api/views/admin.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from urllib.parse import urlencode, urljoin import uuid diff --git a/apps/api/plane/license/api/views/base.py b/apps/api/plane/license/api/views/base.py index d209bd6bf2..8d0d39ac38 100644 --- a/apps/api/plane/license/api/views/base.py +++ b/apps/api/plane/license/api/views/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import zoneinfo from django.conf import settings diff --git a/apps/api/plane/license/api/views/configuration.py b/apps/api/plane/license/api/views/configuration.py index 8bb9535655..bb9a9e00ee 100644 --- a/apps/api/plane/license/api/views/configuration.py +++ b/apps/api/plane/license/api/views/configuration.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from smtplib import ( SMTPAuthenticationError, diff --git a/apps/api/plane/license/api/views/instance.py b/apps/api/plane/license/api/views/instance.py index fed0c5e17e..a0d52d4912 100644 --- a/apps/api/plane/license/api/views/instance.py +++ b/apps/api/plane/license/api/views/instance.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os diff --git a/apps/api/plane/license/api/views/workspace.py b/apps/api/plane/license/api/views/workspace.py index 5d1a2f24bb..966b3b3e8f 100644 --- a/apps/api/plane/license/api/views/workspace.py +++ b/apps/api/plane/license/api/views/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework.response import Response from rest_framework import status diff --git a/apps/api/plane/license/apps.py b/apps/api/plane/license/apps.py index 400e98155a..0cd4aba3b5 100644 --- a/apps/api/plane/license/apps.py +++ b/apps/api/plane/license/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/license/bgtasks/__init__.py b/apps/api/plane/license/bgtasks/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/license/bgtasks/__init__.py +++ b/apps/api/plane/license/bgtasks/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/license/bgtasks/tracer.py b/apps/api/plane/license/bgtasks/tracer.py index 055c45d6c8..f7c04b2a4b 100644 --- a/apps/api/plane/license/bgtasks/tracer.py +++ b/apps/api/plane/license/bgtasks/tracer.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from celery import shared_task from opentelemetry import trace diff --git a/apps/api/plane/license/management/__init__.py b/apps/api/plane/license/management/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/license/management/__init__.py +++ b/apps/api/plane/license/management/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/license/management/commands/__init__.py b/apps/api/plane/license/management/commands/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/license/management/commands/__init__.py +++ b/apps/api/plane/license/management/commands/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/license/management/commands/configure_instance.py b/apps/api/plane/license/management/commands/configure_instance.py index b3e84dd82d..43026a4554 100644 --- a/apps/api/plane/license/management/commands/configure_instance.py +++ b/apps/api/plane/license/management/commands/configure_instance.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os diff --git a/apps/api/plane/license/management/commands/register_instance.py b/apps/api/plane/license/management/commands/register_instance.py index 6717cafd13..5ad6f7d201 100644 --- a/apps/api/plane/license/management/commands/register_instance.py +++ b/apps/api/plane/license/management/commands/register_instance.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json import secrets diff --git a/apps/api/plane/license/models/__init__.py b/apps/api/plane/license/models/__init__.py index d495240244..b1a84d846f 100644 --- a/apps/api/plane/license/models/__init__.py +++ b/apps/api/plane/license/models/__init__.py @@ -1 +1,5 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .instance import Instance, InstanceAdmin, InstanceConfiguration, InstanceEdition diff --git a/apps/api/plane/license/models/instance.py b/apps/api/plane/license/models/instance.py index 1767d8c224..ff9ebc6b46 100644 --- a/apps/api/plane/license/models/instance.py +++ b/apps/api/plane/license/models/instance.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from enum import Enum diff --git a/apps/api/plane/license/urls.py b/apps/api/plane/license/urls.py index 4d306924ea..844a9e181e 100644 --- a/apps/api/plane/license/urls.py +++ b/apps/api/plane/license/urls.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.license.api.views import ( diff --git a/apps/api/plane/license/utils/__init__.py b/apps/api/plane/license/utils/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/license/utils/__init__.py +++ b/apps/api/plane/license/utils/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/license/utils/encryption.py b/apps/api/plane/license/utils/encryption.py index d56766d1e1..8f43167c15 100644 --- a/apps/api/plane/license/utils/encryption.py +++ b/apps/api/plane/license/utils/encryption.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import base64 import hashlib from django.conf import settings diff --git a/apps/api/plane/license/utils/instance_value.py b/apps/api/plane/license/utils/instance_value.py index 8901bc814a..279eb21777 100644 --- a/apps/api/plane/license/utils/instance_value.py +++ b/apps/api/plane/license/utils/instance_value.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os diff --git a/apps/api/plane/middleware/__init__.py b/apps/api/plane/middleware/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/middleware/__init__.py +++ b/apps/api/plane/middleware/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/middleware/apps.py b/apps/api/plane/middleware/apps.py index 9deac8091d..2037b6aa09 100644 --- a/apps/api/plane/middleware/apps.py +++ b/apps/api/plane/middleware/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/middleware/db_routing.py b/apps/api/plane/middleware/db_routing.py index 68b5c44916..7aa045a69c 100644 --- a/apps/api/plane/middleware/db_routing.py +++ b/apps/api/plane/middleware/db_routing.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Database routing middleware for read replica selection. This middleware determines whether database queries should be routed to diff --git a/apps/api/plane/middleware/logger.py b/apps/api/plane/middleware/logger.py index 07facdab0e..b8cf6f9c04 100644 --- a/apps/api/plane/middleware/logger.py +++ b/apps/api/plane/middleware/logger.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging import time diff --git a/apps/api/plane/middleware/request_body_size.py b/apps/api/plane/middleware/request_body_size.py index 9807c57156..c4e014df6f 100644 --- a/apps/api/plane/middleware/request_body_size.py +++ b/apps/api/plane/middleware/request_body_size.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.core.exceptions import RequestDataTooBig from django.http import JsonResponse diff --git a/apps/api/plane/settings/__init__.py b/apps/api/plane/settings/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/settings/__init__.py +++ b/apps/api/plane/settings/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/settings/common.py b/apps/api/plane/settings/common.py index 0ef605ba1f..9d651bd1b4 100644 --- a/apps/api/plane/settings/common.py +++ b/apps/api/plane/settings/common.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """Global Settings""" # Python imports diff --git a/apps/api/plane/settings/local.py b/apps/api/plane/settings/local.py index 15f05aa3d7..1f636df49a 100644 --- a/apps/api/plane/settings/local.py +++ b/apps/api/plane/settings/local.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """Development settings""" import os diff --git a/apps/api/plane/settings/mongo.py b/apps/api/plane/settings/mongo.py index 879d0c436d..7855a52d51 100644 --- a/apps/api/plane/settings/mongo.py +++ b/apps/api/plane/settings/mongo.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings import logging diff --git a/apps/api/plane/settings/openapi.py b/apps/api/plane/settings/openapi.py index b79daeecf3..a1961a0c58 100644 --- a/apps/api/plane/settings/openapi.py +++ b/apps/api/plane/settings/openapi.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ OpenAPI/Swagger configuration for drf-spectacular. diff --git a/apps/api/plane/settings/production.py b/apps/api/plane/settings/production.py index 8df7ae9060..268ad72775 100644 --- a/apps/api/plane/settings/production.py +++ b/apps/api/plane/settings/production.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """Production settings""" import os diff --git a/apps/api/plane/settings/redis.py b/apps/api/plane/settings/redis.py index 628a3d8e63..6c7e613f04 100644 --- a/apps/api/plane/settings/redis.py +++ b/apps/api/plane/settings/redis.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import redis from django.conf import settings from urllib.parse import urlparse diff --git a/apps/api/plane/settings/storage.py b/apps/api/plane/settings/storage.py index 4ebf6c58e8..e4a978bd2b 100644 --- a/apps/api/plane/settings/storage.py +++ b/apps/api/plane/settings/storage.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os import uuid diff --git a/apps/api/plane/settings/test.py b/apps/api/plane/settings/test.py index 6a75f7904d..a8e431338b 100644 --- a/apps/api/plane/settings/test.py +++ b/apps/api/plane/settings/test.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """Test Settings""" from .common import * # noqa diff --git a/apps/api/plane/space/__init__.py b/apps/api/plane/space/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/space/__init__.py +++ b/apps/api/plane/space/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/space/apps.py b/apps/api/plane/space/apps.py index 6f1e76c51c..dd178e3344 100644 --- a/apps/api/plane/space/apps.py +++ b/apps/api/plane/space/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/space/serializer/__init__.py b/apps/api/plane/space/serializer/__init__.py index a3fe1029f3..e571ac011d 100644 --- a/apps/api/plane/space/serializer/__init__.py +++ b/apps/api/plane/space/serializer/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .user import UserLiteSerializer from .issue import LabelLiteSerializer, IssuePublicSerializer diff --git a/apps/api/plane/space/serializer/base.py b/apps/api/plane/space/serializer/base.py index 4b92b06fc3..9f30a7a839 100644 --- a/apps/api/plane/space/serializer/base.py +++ b/apps/api/plane/space/serializer/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework import serializers diff --git a/apps/api/plane/space/serializer/cycle.py b/apps/api/plane/space/serializer/cycle.py index afa760a593..617ac08428 100644 --- a/apps/api/plane/space/serializer/cycle.py +++ b/apps/api/plane/space/serializer/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import Cycle diff --git a/apps/api/plane/space/serializer/intake.py b/apps/api/plane/space/serializer/intake.py index 444c20d429..cf22cebbb1 100644 --- a/apps/api/plane/space/serializer/intake.py +++ b/apps/api/plane/space/serializer/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework import serializers diff --git a/apps/api/plane/space/serializer/issue.py b/apps/api/plane/space/serializer/issue.py index 237e00c5dd..51dd1f41d1 100644 --- a/apps/api/plane/space/serializer/issue.py +++ b/apps/api/plane/space/serializer/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils import timezone diff --git a/apps/api/plane/space/serializer/module.py b/apps/api/plane/space/serializer/module.py index 53840f0782..81ba93c136 100644 --- a/apps/api/plane/space/serializer/module.py +++ b/apps/api/plane/space/serializer/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import Module diff --git a/apps/api/plane/space/serializer/project.py b/apps/api/plane/space/serializer/project.py index f79eef686d..62be19f4f4 100644 --- a/apps/api/plane/space/serializer/project.py +++ b/apps/api/plane/space/serializer/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import Project diff --git a/apps/api/plane/space/serializer/state.py b/apps/api/plane/space/serializer/state.py index 184f48b407..410b408f0b 100644 --- a/apps/api/plane/space/serializer/state.py +++ b/apps/api/plane/space/serializer/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import State diff --git a/apps/api/plane/space/serializer/user.py b/apps/api/plane/space/serializer/user.py index 9b707a3434..4ecbad80e9 100644 --- a/apps/api/plane/space/serializer/user.py +++ b/apps/api/plane/space/serializer/user.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import User diff --git a/apps/api/plane/space/serializer/workspace.py b/apps/api/plane/space/serializer/workspace.py index 4945af96af..c63dfe2a5a 100644 --- a/apps/api/plane/space/serializer/workspace.py +++ b/apps/api/plane/space/serializer/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Module imports from .base import BaseSerializer from plane.db.models import Workspace diff --git a/apps/api/plane/space/urls/__init__.py b/apps/api/plane/space/urls/__init__.py index d9a1f6ec33..06d3a117a1 100644 --- a/apps/api/plane/space/urls/__init__.py +++ b/apps/api/plane/space/urls/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .intake import urlpatterns as intake_urls from .issue import urlpatterns as issue_urls from .project import urlpatterns as project_urls diff --git a/apps/api/plane/space/urls/asset.py b/apps/api/plane/space/urls/asset.py index 2a5c30a221..050aeb4abc 100644 --- a/apps/api/plane/space/urls/asset.py +++ b/apps/api/plane/space/urls/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.urls import path diff --git a/apps/api/plane/space/urls/intake.py b/apps/api/plane/space/urls/intake.py index 59fda12e29..470f7f7b7d 100644 --- a/apps/api/plane/space/urls/intake.py +++ b/apps/api/plane/space/urls/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/space/urls/issue.py b/apps/api/plane/space/urls/issue.py index bb63e66953..5ea7671c25 100644 --- a/apps/api/plane/space/urls/issue.py +++ b/apps/api/plane/space/urls/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/space/urls/project.py b/apps/api/plane/space/urls/project.py index 068b8c5c17..1d58aba421 100644 --- a/apps/api/plane/space/urls/project.py +++ b/apps/api/plane/space/urls/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path diff --git a/apps/api/plane/space/utils/grouper.py b/apps/api/plane/space/utils/grouper.py index f8e2c50a44..e5f893bd5b 100644 --- a/apps/api/plane/space/utils/grouper.py +++ b/apps/api/plane/space/utils/grouper.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.contrib.postgres.aggregates import ArrayAgg from django.contrib.postgres.fields import ArrayField diff --git a/apps/api/plane/space/views/__init__.py b/apps/api/plane/space/views/__init__.py index 22acfd15bd..f70d094deb 100644 --- a/apps/api/plane/space/views/__init__.py +++ b/apps/api/plane/space/views/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .project import ( ProjectDeployBoardPublicSettingsEndpoint, WorkspaceProjectDeployBoardEndpoint, diff --git a/apps/api/plane/space/views/asset.py b/apps/api/plane/space/views/asset.py index faabd97ab6..1749a8fd46 100644 --- a/apps/api/plane/space/views/asset.py +++ b/apps/api/plane/space/views/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid diff --git a/apps/api/plane/space/views/base.py b/apps/api/plane/space/views/base.py index 9be6a2e107..cf8cdbdc5c 100644 --- a/apps/api/plane/space/views/base.py +++ b/apps/api/plane/space/views/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import zoneinfo from django.conf import settings diff --git a/apps/api/plane/space/views/cycle.py b/apps/api/plane/space/views/cycle.py index 505c17ba40..72bec30641 100644 --- a/apps/api/plane/space/views/cycle.py +++ b/apps/api/plane/space/views/cycle.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework import status from rest_framework.permissions import AllowAny diff --git a/apps/api/plane/space/views/intake.py b/apps/api/plane/space/views/intake.py index d4f6f6b7e4..4d9913193c 100644 --- a/apps/api/plane/space/views/intake.py +++ b/apps/api/plane/space/views/intake.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/space/views/issue.py b/apps/api/plane/space/views/issue.py index d0d926319c..9e2187466a 100644 --- a/apps/api/plane/space/views/issue.py +++ b/apps/api/plane/space/views/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/space/views/label.py b/apps/api/plane/space/views/label.py index 51ddb832e4..f7cde57eb3 100644 --- a/apps/api/plane/space/views/label.py +++ b/apps/api/plane/space/views/label.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework.response import Response from rest_framework import status diff --git a/apps/api/plane/space/views/meta.py b/apps/api/plane/space/views/meta.py index be612db700..740bed19f3 100644 --- a/apps/api/plane/space/views/meta.py +++ b/apps/api/plane/space/views/meta.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # third party from rest_framework.permissions import AllowAny from rest_framework import status diff --git a/apps/api/plane/space/views/module.py b/apps/api/plane/space/views/module.py index 7c4628f64f..2df0166aca 100644 --- a/apps/api/plane/space/views/module.py +++ b/apps/api/plane/space/views/module.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework import status from rest_framework.permissions import AllowAny diff --git a/apps/api/plane/space/views/project.py b/apps/api/plane/space/views/project.py index 6f332781ff..17f67c7c13 100644 --- a/apps/api/plane/space/views/project.py +++ b/apps/api/plane/space/views/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db.models import Exists, OuterRef diff --git a/apps/api/plane/space/views/state.py b/apps/api/plane/space/views/state.py index c131866004..05b791475c 100644 --- a/apps/api/plane/space/views/state.py +++ b/apps/api/plane/space/views/state.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.db.models import Q diff --git a/apps/api/plane/tests/__init__.py b/apps/api/plane/tests/__init__.py index 73d90cd21b..5f9223043a 100644 --- a/apps/api/plane/tests/__init__.py +++ b/apps/api/plane/tests/__init__.py @@ -1 +1,5 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Test package initialization diff --git a/apps/api/plane/tests/apps.py b/apps/api/plane/tests/apps.py index 577414e63a..9669869696 100644 --- a/apps/api/plane/tests/apps.py +++ b/apps/api/plane/tests/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/tests/conftest.py b/apps/api/plane/tests/conftest.py index abfede197c..870779c42d 100644 --- a/apps/api/plane/tests/conftest.py +++ b/apps/api/plane/tests/conftest.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from rest_framework.test import APIClient from pytest_django.fixtures import django_db_setup diff --git a/apps/api/plane/tests/conftest_external.py b/apps/api/plane/tests/conftest_external.py index cebb768ca5..cd5469caa6 100644 --- a/apps/api/plane/tests/conftest_external.py +++ b/apps/api/plane/tests/conftest_external.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from unittest.mock import MagicMock, patch diff --git a/apps/api/plane/tests/contract/__init__.py b/apps/api/plane/tests/contract/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/contract/__init__.py +++ b/apps/api/plane/tests/contract/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/contract/api/__init__.py b/apps/api/plane/tests/contract/api/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/contract/api/__init__.py +++ b/apps/api/plane/tests/contract/api/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/contract/api/test_cycles.py b/apps/api/plane/tests/contract/api/test_cycles.py index 644fe2bef9..d0138de8b8 100644 --- a/apps/api/plane/tests/contract/api/test_cycles.py +++ b/apps/api/plane/tests/contract/api/test_cycles.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from rest_framework import status from django.utils import timezone diff --git a/apps/api/plane/tests/contract/api/test_labels.py b/apps/api/plane/tests/contract/api/test_labels.py index a3a43d90aa..db5340dfdf 100644 --- a/apps/api/plane/tests/contract/api/test_labels.py +++ b/apps/api/plane/tests/contract/api/test_labels.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from rest_framework import status from uuid import uuid4 diff --git a/apps/api/plane/tests/contract/app/__init__.py b/apps/api/plane/tests/contract/app/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/contract/app/__init__.py +++ b/apps/api/plane/tests/contract/app/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/contract/app/test_api_token.py b/apps/api/plane/tests/contract/app/test_api_token.py index 35d92b11e1..3e0d3f6621 100644 --- a/apps/api/plane/tests/contract/app/test_api_token.py +++ b/apps/api/plane/tests/contract/app/test_api_token.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from datetime import timedelta from uuid import uuid4 diff --git a/apps/api/plane/tests/contract/app/test_authentication.py b/apps/api/plane/tests/contract/app/test_authentication.py index 1c044f1928..808416b028 100644 --- a/apps/api/plane/tests/contract/app/test_authentication.py +++ b/apps/api/plane/tests/contract/app/test_authentication.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import json import uuid import pytest diff --git a/apps/api/plane/tests/contract/app/test_project_app.py b/apps/api/plane/tests/contract/app/test_project_app.py index 9f05314cfe..979c5e805c 100644 --- a/apps/api/plane/tests/contract/app/test_project_app.py +++ b/apps/api/plane/tests/contract/app/test_project_app.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from rest_framework import status import uuid diff --git a/apps/api/plane/tests/contract/app/test_workspace_app.py b/apps/api/plane/tests/contract/app/test_workspace_app.py index 47b0497952..427bad60b6 100644 --- a/apps/api/plane/tests/contract/app/test_workspace_app.py +++ b/apps/api/plane/tests/contract/app/test_workspace_app.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from django.urls import reverse from rest_framework import status diff --git a/apps/api/plane/tests/factories.py b/apps/api/plane/tests/factories.py index b8cd78361a..4d39d832fa 100644 --- a/apps/api/plane/tests/factories.py +++ b/apps/api/plane/tests/factories.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import factory from uuid import uuid4 from django.utils import timezone diff --git a/apps/api/plane/tests/smoke/__init__.py b/apps/api/plane/tests/smoke/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/smoke/__init__.py +++ b/apps/api/plane/tests/smoke/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/smoke/test_auth_smoke.py b/apps/api/plane/tests/smoke/test_auth_smoke.py index c5a671e9af..1537db79f7 100644 --- a/apps/api/plane/tests/smoke/test_auth_smoke.py +++ b/apps/api/plane/tests/smoke/test_auth_smoke.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest import requests from django.urls import reverse diff --git a/apps/api/plane/tests/unit/__init__.py b/apps/api/plane/tests/unit/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/unit/__init__.py +++ b/apps/api/plane/tests/unit/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/unit/bg_tasks/test_copy_s3_objects.py b/apps/api/plane/tests/unit/bg_tasks/test_copy_s3_objects.py index 9886036599..c153703baa 100644 --- a/apps/api/plane/tests/unit/bg_tasks/test_copy_s3_objects.py +++ b/apps/api/plane/tests/unit/bg_tasks/test_copy_s3_objects.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from plane.db.models import Project, ProjectMember, Issue, FileAsset from unittest.mock import patch, MagicMock diff --git a/apps/api/plane/tests/unit/middleware/__init__.py b/apps/api/plane/tests/unit/middleware/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/unit/middleware/__init__.py +++ b/apps/api/plane/tests/unit/middleware/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/unit/middleware/test_db_routing.py b/apps/api/plane/tests/unit/middleware/test_db_routing.py index 5ac71696ac..9f5439e75c 100644 --- a/apps/api/plane/tests/unit/middleware/test_db_routing.py +++ b/apps/api/plane/tests/unit/middleware/test_db_routing.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Unit tests for ReadReplicaRoutingMiddleware. This module contains comprehensive tests for the ReadReplicaRoutingMiddleware diff --git a/apps/api/plane/tests/unit/models/__init__.py b/apps/api/plane/tests/unit/models/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/unit/models/__init__.py +++ b/apps/api/plane/tests/unit/models/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/unit/models/test_issue_comment_modal.py b/apps/api/plane/tests/unit/models/test_issue_comment_modal.py index 98a0b05b24..37f743d764 100644 --- a/apps/api/plane/tests/unit/models/test_issue_comment_modal.py +++ b/apps/api/plane/tests/unit/models/test_issue_comment_modal.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from plane.db.models import IssueComment, Description, Project, Issue, Workspace, State diff --git a/apps/api/plane/tests/unit/models/test_workspace_model.py b/apps/api/plane/tests/unit/models/test_workspace_model.py index 26a7975126..405538cfbe 100644 --- a/apps/api/plane/tests/unit/models/test_workspace_model.py +++ b/apps/api/plane/tests/unit/models/test_workspace_model.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from uuid import uuid4 diff --git a/apps/api/plane/tests/unit/serializers/__init__.py b/apps/api/plane/tests/unit/serializers/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/unit/serializers/__init__.py +++ b/apps/api/plane/tests/unit/serializers/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/unit/serializers/test_issue_recent_visit.py b/apps/api/plane/tests/unit/serializers/test_issue_recent_visit.py index eac92384b3..59a909eeb7 100644 --- a/apps/api/plane/tests/unit/serializers/test_issue_recent_visit.py +++ b/apps/api/plane/tests/unit/serializers/test_issue_recent_visit.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from plane.db.models import ( diff --git a/apps/api/plane/tests/unit/serializers/test_label.py b/apps/api/plane/tests/unit/serializers/test_label.py index 4775ef49ad..a4ebc88752 100644 --- a/apps/api/plane/tests/unit/serializers/test_label.py +++ b/apps/api/plane/tests/unit/serializers/test_label.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from plane.app.serializers import LabelSerializer from plane.db.models import Project, Label diff --git a/apps/api/plane/tests/unit/serializers/test_workspace.py b/apps/api/plane/tests/unit/serializers/test_workspace.py index 21844c714b..f59667f701 100644 --- a/apps/api/plane/tests/unit/serializers/test_workspace.py +++ b/apps/api/plane/tests/unit/serializers/test_workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from uuid import uuid4 diff --git a/apps/api/plane/tests/unit/settings/__init__.py b/apps/api/plane/tests/unit/settings/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/unit/settings/__init__.py +++ b/apps/api/plane/tests/unit/settings/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/unit/settings/test_storage.py b/apps/api/plane/tests/unit/settings/test_storage.py index fe8cf43f8b..00856aeecb 100644 --- a/apps/api/plane/tests/unit/settings/test_storage.py +++ b/apps/api/plane/tests/unit/settings/test_storage.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import os from unittest.mock import Mock, patch import pytest diff --git a/apps/api/plane/tests/unit/utils/__init__.py b/apps/api/plane/tests/unit/utils/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/tests/unit/utils/__init__.py +++ b/apps/api/plane/tests/unit/utils/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/tests/unit/utils/test_url.py b/apps/api/plane/tests/unit/utils/test_url.py index 465cb3023b..82b5b106d0 100644 --- a/apps/api/plane/tests/unit/utils/test_url.py +++ b/apps/api/plane/tests/unit/utils/test_url.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pytest from plane.utils.url import ( contains_url, diff --git a/apps/api/plane/tests/unit/utils/test_uuid.py b/apps/api/plane/tests/unit/utils/test_uuid.py index d47e59c4b7..33ddebb921 100644 --- a/apps/api/plane/tests/unit/utils/test_uuid.py +++ b/apps/api/plane/tests/unit/utils/test_uuid.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import uuid import pytest from plane.utils.uuid import is_valid_uuid, convert_uuid_to_integer diff --git a/apps/api/plane/throttles/asset.py b/apps/api/plane/throttles/asset.py index 4846500493..bdc3be799f 100644 --- a/apps/api/plane/throttles/asset.py +++ b/apps/api/plane/throttles/asset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from rest_framework.throttling import SimpleRateThrottle diff --git a/apps/api/plane/urls.py b/apps/api/plane/urls.py index 4b1062559a..f5e43408cb 100644 --- a/apps/api/plane/urls.py +++ b/apps/api/plane/urls.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """plane URL Configuration""" from django.conf import settings diff --git a/apps/api/plane/utils/__init__.py b/apps/api/plane/utils/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/utils/__init__.py +++ b/apps/api/plane/utils/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/utils/analytics_events.py b/apps/api/plane/utils/analytics_events.py index 7fa8af9493..ce06ba92e6 100644 --- a/apps/api/plane/utils/analytics_events.py +++ b/apps/api/plane/utils/analytics_events.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + USER_JOINED_WORKSPACE = "user_joined_workspace" USER_INVITED_TO_WORKSPACE = "user_invited_to_workspace" WORKSPACE_CREATED = "workspace_created" diff --git a/apps/api/plane/utils/analytics_plot.py b/apps/api/plane/utils/analytics_plot.py index 12fa39cc03..acd86aca86 100644 --- a/apps/api/plane/utils/analytics_plot.py +++ b/apps/api/plane/utils/analytics_plot.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from datetime import timedelta from itertools import groupby diff --git a/apps/api/plane/utils/build_chart.py b/apps/api/plane/utils/build_chart.py index 573636483b..bf4d1cf2b6 100644 --- a/apps/api/plane/utils/build_chart.py +++ b/apps/api/plane/utils/build_chart.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from typing import Dict, Any, Tuple, Optional, List, Union diff --git a/apps/api/plane/utils/cache.py b/apps/api/plane/utils/cache.py index da3fd45177..9ff5db6d90 100644 --- a/apps/api/plane/utils/cache.py +++ b/apps/api/plane/utils/cache.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports from functools import wraps diff --git a/apps/api/plane/utils/color.py b/apps/api/plane/utils/color.py index 8c45389bdf..61a572dc00 100644 --- a/apps/api/plane/utils/color.py +++ b/apps/api/plane/utils/color.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import random import string diff --git a/apps/api/plane/utils/constants.py b/apps/api/plane/utils/constants.py index 0d5e64a20b..1ccc501ddc 100644 --- a/apps/api/plane/utils/constants.py +++ b/apps/api/plane/utils/constants.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + RESTRICTED_WORKSPACE_SLUGS = [ "404", "accounts", diff --git a/apps/api/plane/utils/content_validator.py b/apps/api/plane/utils/content_validator.py index 00e6c0c660..9dd52b26e5 100644 --- a/apps/api/plane/utils/content_validator.py +++ b/apps/api/plane/utils/content_validator.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import base64 import nh3 diff --git a/apps/api/plane/utils/core/__init__.py b/apps/api/plane/utils/core/__init__.py index 37c6e3741e..7f119b62f9 100644 --- a/apps/api/plane/utils/core/__init__.py +++ b/apps/api/plane/utils/core/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Core utilities for Plane database routing and request scoping. This package contains essential components for managing read replica routing diff --git a/apps/api/plane/utils/core/dbrouters.py b/apps/api/plane/utils/core/dbrouters.py index e175683319..fdd00cca2c 100644 --- a/apps/api/plane/utils/core/dbrouters.py +++ b/apps/api/plane/utils/core/dbrouters.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Database router for read replica selection. This router determines which database to use for read/write operations diff --git a/apps/api/plane/utils/core/mixins/__init__.py b/apps/api/plane/utils/core/mixins/__init__.py index cedd9d4551..73fe2ccc98 100644 --- a/apps/api/plane/utils/core/mixins/__init__.py +++ b/apps/api/plane/utils/core/mixins/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Core mixins for read replica functionality. This package provides mixins for different aspects of read replica management diff --git a/apps/api/plane/utils/core/mixins/view.py b/apps/api/plane/utils/core/mixins/view.py index e15ec6771d..4d923e1c13 100644 --- a/apps/api/plane/utils/core/mixins/view.py +++ b/apps/api/plane/utils/core/mixins/view.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Mixins for Django REST Framework views. """ diff --git a/apps/api/plane/utils/core/request_scope.py b/apps/api/plane/utils/core/request_scope.py index b09e77101f..b8b137120e 100644 --- a/apps/api/plane/utils/core/request_scope.py +++ b/apps/api/plane/utils/core/request_scope.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Database routing utilities for read replica selection. This module provides request-scoped context management for database routing, diff --git a/apps/api/plane/utils/cycle_transfer_issues.py b/apps/api/plane/utils/cycle_transfer_issues.py index fda9f39b95..7963401382 100644 --- a/apps/api/plane/utils/cycle_transfer_issues.py +++ b/apps/api/plane/utils/cycle_transfer_issues.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/utils/date_utils.py b/apps/api/plane/utils/date_utils.py index f15e7f119b..d25d5b1eca 100644 --- a/apps/api/plane/utils/date_utils.py +++ b/apps/api/plane/utils/date_utils.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from datetime import datetime, timedelta, date from django.utils import timezone from typing import Dict, Optional, List, Union, Tuple, Any diff --git a/apps/api/plane/utils/error_codes.py b/apps/api/plane/utils/error_codes.py index 15d38f6bf9..571f9d3687 100644 --- a/apps/api/plane/utils/error_codes.py +++ b/apps/api/plane/utils/error_codes.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + ERROR_CODES = { # issues "INVALID_ARCHIVE_STATE_GROUP": 4091, diff --git a/apps/api/plane/utils/exception_logger.py b/apps/api/plane/utils/exception_logger.py index b0a6f8c38b..657afeb5ca 100644 --- a/apps/api/plane/utils/exception_logger.py +++ b/apps/api/plane/utils/exception_logger.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import logging import traceback diff --git a/apps/api/plane/utils/exporters/__init__.py b/apps/api/plane/utils/exporters/__init__.py index 9e7b1a9d51..632452a311 100644 --- a/apps/api/plane/utils/exporters/__init__.py +++ b/apps/api/plane/utils/exporters/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """Export utilities for various data formats.""" from .exporter import Exporter diff --git a/apps/api/plane/utils/exporters/exporter.py b/apps/api/plane/utils/exporters/exporter.py index 75b396cb4e..ff4df46c7f 100644 --- a/apps/api/plane/utils/exporters/exporter.py +++ b/apps/api/plane/utils/exporters/exporter.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from typing import Any, Dict, List, Type, Union from django.db.models import QuerySet diff --git a/apps/api/plane/utils/exporters/formatters.py b/apps/api/plane/utils/exporters/formatters.py index fc7c23528b..398ae96931 100644 --- a/apps/api/plane/utils/exporters/formatters.py +++ b/apps/api/plane/utils/exporters/formatters.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import csv import io import json diff --git a/apps/api/plane/utils/exporters/schemas/__init__.py b/apps/api/plane/utils/exporters/schemas/__init__.py index 98b2623aed..e792b3c6ff 100644 --- a/apps/api/plane/utils/exporters/schemas/__init__.py +++ b/apps/api/plane/utils/exporters/schemas/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """Export schemas for various data types.""" from .base import ( diff --git a/apps/api/plane/utils/exporters/schemas/base.py b/apps/api/plane/utils/exporters/schemas/base.py index 4e67c6980c..eacee3741a 100644 --- a/apps/api/plane/utils/exporters/schemas/base.py +++ b/apps/api/plane/utils/exporters/schemas/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from dataclasses import dataclass, field from typing import Any, Dict, List, Optional diff --git a/apps/api/plane/utils/exporters/schemas/issue.py b/apps/api/plane/utils/exporters/schemas/issue.py index 744e330524..a3bda90b7b 100644 --- a/apps/api/plane/utils/exporters/schemas/issue.py +++ b/apps/api/plane/utils/exporters/schemas/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from collections import defaultdict from typing import Any, Dict, List, Optional diff --git a/apps/api/plane/utils/filters/__init__.py b/apps/api/plane/utils/filters/__init__.py index 76a96c82c0..cdcf8ac6e1 100644 --- a/apps/api/plane/utils/filters/__init__.py +++ b/apps/api/plane/utils/filters/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Filters module for handling complex filtering operations # Import all utilities from base modules diff --git a/apps/api/plane/utils/filters/converters.py b/apps/api/plane/utils/filters/converters.py index f7693b40ea..4d37c2b0b1 100644 --- a/apps/api/plane/utils/filters/converters.py +++ b/apps/api/plane/utils/filters/converters.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import re import uuid from datetime import datetime diff --git a/apps/api/plane/utils/filters/filter_backend.py b/apps/api/plane/utils/filters/filter_backend.py index 11ed48f718..c21560f70f 100644 --- a/apps/api/plane/utils/filters/filter_backend.py +++ b/apps/api/plane/utils/filters/filter_backend.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import json diff --git a/apps/api/plane/utils/filters/filter_migrations.py b/apps/api/plane/utils/filters/filter_migrations.py index 3e424b6e67..555793dc2a 100644 --- a/apps/api/plane/utils/filters/filter_migrations.py +++ b/apps/api/plane/utils/filters/filter_migrations.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Utilities for migrating legacy filters to rich filters format. diff --git a/apps/api/plane/utils/filters/filterset.py b/apps/api/plane/utils/filters/filterset.py index 0099b83d09..721bf4c7af 100644 --- a/apps/api/plane/utils/filters/filterset.py +++ b/apps/api/plane/utils/filters/filterset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import copy from django.db import models diff --git a/apps/api/plane/utils/global_paginator.py b/apps/api/plane/utils/global_paginator.py index 1b7f908c54..e9b68ba765 100644 --- a/apps/api/plane/utils/global_paginator.py +++ b/apps/api/plane/utils/global_paginator.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # python imports from math import ceil diff --git a/apps/api/plane/utils/grouper.py b/apps/api/plane/utils/grouper.py index 1ec004e95a..ab00879671 100644 --- a/apps/api/plane/utils/grouper.py +++ b/apps/api/plane/utils/grouper.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.contrib.postgres.aggregates import ArrayAgg from django.contrib.postgres.fields import ArrayField diff --git a/apps/api/plane/utils/host.py b/apps/api/plane/utils/host.py index 860e19e0e3..dafd19179e 100644 --- a/apps/api/plane/utils/host.py +++ b/apps/api/plane/utils/host.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.conf import settings from django.core.exceptions import ImproperlyConfigured diff --git a/apps/api/plane/utils/html_processor.py b/apps/api/plane/utils/html_processor.py index 18d103b645..a26f6fe13c 100644 --- a/apps/api/plane/utils/html_processor.py +++ b/apps/api/plane/utils/html_processor.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from io import StringIO from html.parser import HTMLParser diff --git a/apps/api/plane/utils/imports.py b/apps/api/plane/utils/imports.py index 81de0203bb..af86c31e7d 100644 --- a/apps/api/plane/utils/imports.py +++ b/apps/api/plane/utils/imports.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import pkgutil import six diff --git a/apps/api/plane/utils/instance_config_variables/__init__.py b/apps/api/plane/utils/instance_config_variables/__init__.py index 6818ca9bf7..09882ae11c 100644 --- a/apps/api/plane/utils/instance_config_variables/__init__.py +++ b/apps/api/plane/utils/instance_config_variables/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .core import core_config_variables from .extended import extended_config_variables diff --git a/apps/api/plane/utils/instance_config_variables/core.py b/apps/api/plane/utils/instance_config_variables/core.py index 4f4833207a..274c6539af 100644 --- a/apps/api/plane/utils/instance_config_variables/core.py +++ b/apps/api/plane/utils/instance_config_variables/core.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os diff --git a/apps/api/plane/utils/instance_config_variables/extended.py b/apps/api/plane/utils/instance_config_variables/extended.py index 24c6fefda4..cf267aca24 100644 --- a/apps/api/plane/utils/instance_config_variables/extended.py +++ b/apps/api/plane/utils/instance_config_variables/extended.py @@ -1 +1,5 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + extended_config_variables = [] diff --git a/apps/api/plane/utils/ip_address.py b/apps/api/plane/utils/ip_address.py index 01789c431e..3a0f171d79 100644 --- a/apps/api/plane/utils/ip_address.py +++ b/apps/api/plane/utils/ip_address.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + def get_client_ip(request): x_forwarded_for = request.META.get("HTTP_X_FORWARDED_FOR") if x_forwarded_for: diff --git a/apps/api/plane/utils/issue_filters.py b/apps/api/plane/utils/issue_filters.py index 8d56bc3893..ea31a529bb 100644 --- a/apps/api/plane/utils/issue_filters.py +++ b/apps/api/plane/utils/issue_filters.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import re import uuid from datetime import timedelta diff --git a/apps/api/plane/utils/issue_relation_mapper.py b/apps/api/plane/utils/issue_relation_mapper.py index 19d65c1112..ecce5a2d12 100644 --- a/apps/api/plane/utils/issue_relation_mapper.py +++ b/apps/api/plane/utils/issue_relation_mapper.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + def get_inverse_relation(relation_type): relation_mapping = { "start_after": "start_before", diff --git a/apps/api/plane/utils/issue_search.py b/apps/api/plane/utils/issue_search.py index 1e7543d885..7e5fab8fea 100644 --- a/apps/api/plane/utils/issue_search.py +++ b/apps/api/plane/utils/issue_search.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import re diff --git a/apps/api/plane/utils/logging.py b/apps/api/plane/utils/logging.py index 083132f163..61312448d6 100644 --- a/apps/api/plane/utils/logging.py +++ b/apps/api/plane/utils/logging.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import logging.handlers as handlers import time diff --git a/apps/api/plane/utils/markdown.py b/apps/api/plane/utils/markdown.py index 188c54fec3..643dd77886 100644 --- a/apps/api/plane/utils/markdown.py +++ b/apps/api/plane/utils/markdown.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import mistune markdown = mistune.Markdown() diff --git a/apps/api/plane/utils/openapi/__init__.py b/apps/api/plane/utils/openapi/__init__.py index b2c9ba6b0c..d54caf584e 100644 --- a/apps/api/plane/utils/openapi/__init__.py +++ b/apps/api/plane/utils/openapi/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ OpenAPI utilities for drf-spectacular integration. diff --git a/apps/api/plane/utils/openapi/auth.py b/apps/api/plane/utils/openapi/auth.py index 9434956fe8..6f7459ea2d 100644 --- a/apps/api/plane/utils/openapi/auth.py +++ b/apps/api/plane/utils/openapi/auth.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ OpenAPI authentication extensions for drf-spectacular. diff --git a/apps/api/plane/utils/openapi/decorators.py b/apps/api/plane/utils/openapi/decorators.py index b11926889c..8b016f4c01 100644 --- a/apps/api/plane/utils/openapi/decorators.py +++ b/apps/api/plane/utils/openapi/decorators.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Helper decorators for drf-spectacular OpenAPI documentation. diff --git a/apps/api/plane/utils/openapi/examples.py b/apps/api/plane/utils/openapi/examples.py index f41bdddbcb..5a2188e695 100644 --- a/apps/api/plane/utils/openapi/examples.py +++ b/apps/api/plane/utils/openapi/examples.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Common OpenAPI examples for drf-spectacular. diff --git a/apps/api/plane/utils/openapi/hooks.py b/apps/api/plane/utils/openapi/hooks.py index f136324c0b..20319285b1 100644 --- a/apps/api/plane/utils/openapi/hooks.py +++ b/apps/api/plane/utils/openapi/hooks.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Schema processing hooks for drf-spectacular OpenAPI generation. diff --git a/apps/api/plane/utils/openapi/parameters.py b/apps/api/plane/utils/openapi/parameters.py index 47db747ac7..d0ceba6c52 100644 --- a/apps/api/plane/utils/openapi/parameters.py +++ b/apps/api/plane/utils/openapi/parameters.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Common OpenAPI parameters for drf-spectacular. diff --git a/apps/api/plane/utils/openapi/responses.py b/apps/api/plane/utils/openapi/responses.py index 2a569e3778..cb0f81dce7 100644 --- a/apps/api/plane/utils/openapi/responses.py +++ b/apps/api/plane/utils/openapi/responses.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Common OpenAPI responses for drf-spectacular. diff --git a/apps/api/plane/utils/order_queryset.py b/apps/api/plane/utils/order_queryset.py index 167cd0693d..abc0bbca0c 100644 --- a/apps/api/plane/utils/order_queryset.py +++ b/apps/api/plane/utils/order_queryset.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.db.models import Case, CharField, Min, Value, When # Custom ordering for priority and state diff --git a/apps/api/plane/utils/paginator.py b/apps/api/plane/utils/paginator.py index f3a7947567..5ae4d38150 100644 --- a/apps/api/plane/utils/paginator.py +++ b/apps/api/plane/utils/paginator.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import math from collections import defaultdict diff --git a/apps/api/plane/utils/path_validator.py b/apps/api/plane/utils/path_validator.py index ede3f11615..f15fb4ca95 100644 --- a/apps/api/plane/utils/path_validator.py +++ b/apps/api/plane/utils/path_validator.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Django imports from django.utils.http import url_has_allowed_host_and_scheme from django.conf import settings diff --git a/apps/api/plane/utils/permissions/__init__.py b/apps/api/plane/utils/permissions/__init__.py index 849f7ba3ee..22d27694e9 100644 --- a/apps/api/plane/utils/permissions/__init__.py +++ b/apps/api/plane/utils/permissions/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .workspace import ( WorkSpaceBasePermission, WorkspaceOwnerPermission, diff --git a/apps/api/plane/utils/permissions/base.py b/apps/api/plane/utils/permissions/base.py index a2b1a18ff8..7b243cbb78 100644 --- a/apps/api/plane/utils/permissions/base.py +++ b/apps/api/plane/utils/permissions/base.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from plane.db.models import WorkspaceMember, ProjectMember from functools import wraps from rest_framework.response import Response diff --git a/apps/api/plane/utils/permissions/page.py b/apps/api/plane/utils/permissions/page.py index bea878f4c4..844ff4dafb 100644 --- a/apps/api/plane/utils/permissions/page.py +++ b/apps/api/plane/utils/permissions/page.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from plane.db.models import ProjectMember, Page from plane.app.permissions import ROLE diff --git a/apps/api/plane/utils/permissions/project.py b/apps/api/plane/utils/permissions/project.py index a8c0f92a27..55550b27ac 100644 --- a/apps/api/plane/utils/permissions/project.py +++ b/apps/api/plane/utils/permissions/project.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework.permissions import SAFE_METHODS, BasePermission diff --git a/apps/api/plane/utils/permissions/workspace.py b/apps/api/plane/utils/permissions/workspace.py index 8dc791c0cc..ada16ec3b5 100644 --- a/apps/api/plane/utils/permissions/workspace.py +++ b/apps/api/plane/utils/permissions/workspace.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third Party imports from rest_framework.permissions import BasePermission, SAFE_METHODS diff --git a/apps/api/plane/utils/porters/__init__.py b/apps/api/plane/utils/porters/__init__.py index cd411ff724..5e2cf79e83 100644 --- a/apps/api/plane/utils/porters/__init__.py +++ b/apps/api/plane/utils/porters/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .formatters import BaseFormatter, CSVFormatter, JSONFormatter, XLSXFormatter from .exporter import DataExporter from .serializers import IssueExportSerializer diff --git a/apps/api/plane/utils/porters/exporter.py b/apps/api/plane/utils/porters/exporter.py index 3b55d4d984..394a2bb0fd 100644 --- a/apps/api/plane/utils/porters/exporter.py +++ b/apps/api/plane/utils/porters/exporter.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from typing import Dict, List, Union from .formatters import BaseFormatter, CSVFormatter, JSONFormatter, XLSXFormatter diff --git a/apps/api/plane/utils/porters/formatters.py b/apps/api/plane/utils/porters/formatters.py index e130f73540..7b31f6d539 100644 --- a/apps/api/plane/utils/porters/formatters.py +++ b/apps/api/plane/utils/porters/formatters.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ Import/Export System with Pluggable Formatters diff --git a/apps/api/plane/utils/porters/serializers/__init__.py b/apps/api/plane/utils/porters/serializers/__init__.py index a52e98d6dd..e4e4bb7623 100644 --- a/apps/api/plane/utils/porters/serializers/__init__.py +++ b/apps/api/plane/utils/porters/serializers/__init__.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from .issue import IssueExportSerializer __all__ = [ diff --git a/apps/api/plane/utils/porters/serializers/issue.py b/apps/api/plane/utils/porters/serializers/issue.py index 94c6f065ae..31be812cc0 100644 --- a/apps/api/plane/utils/porters/serializers/issue.py +++ b/apps/api/plane/utils/porters/serializers/issue.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Third party imports from rest_framework import serializers diff --git a/apps/api/plane/utils/telemetry.py b/apps/api/plane/utils/telemetry.py index bec3d240dd..e3646eaba1 100644 --- a/apps/api/plane/utils/telemetry.py +++ b/apps/api/plane/utils/telemetry.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import os import atexit diff --git a/apps/api/plane/utils/timezone_converter.py b/apps/api/plane/utils/timezone_converter.py index 9a66742ed2..81aa3692db 100644 --- a/apps/api/plane/utils/timezone_converter.py +++ b/apps/api/plane/utils/timezone_converter.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import pytz from datetime import datetime, time diff --git a/apps/api/plane/utils/url.py b/apps/api/plane/utils/url.py index 773608bd3d..8381d65f9c 100644 --- a/apps/api/plane/utils/url.py +++ b/apps/api/plane/utils/url.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import re from typing import Optional diff --git a/apps/api/plane/utils/uuid.py b/apps/api/plane/utils/uuid.py index 03f695fdb1..2d95d59064 100644 --- a/apps/api/plane/utils/uuid.py +++ b/apps/api/plane/utils/uuid.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + # Python imports import uuid import hashlib diff --git a/apps/api/plane/web/__init__.py b/apps/api/plane/web/__init__.py index e69de29bb2..917e26db4c 100644 --- a/apps/api/plane/web/__init__.py +++ b/apps/api/plane/web/__init__.py @@ -0,0 +1,4 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + diff --git a/apps/api/plane/web/apps.py b/apps/api/plane/web/apps.py index a5861f9b5f..1193cd6ae8 100644 --- a/apps/api/plane/web/apps.py +++ b/apps/api/plane/web/apps.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.apps import AppConfig diff --git a/apps/api/plane/web/urls.py b/apps/api/plane/web/urls.py index 28734ad91b..fe1f8951ae 100644 --- a/apps/api/plane/web/urls.py +++ b/apps/api/plane/web/urls.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.urls import path from plane.web.views import robots_txt, health_check diff --git a/apps/api/plane/web/views.py b/apps/api/plane/web/views.py index 8acb70a771..c2c42710e5 100644 --- a/apps/api/plane/web/views.py +++ b/apps/api/plane/web/views.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + from django.http import HttpResponse, JsonResponse diff --git a/apps/api/plane/wsgi.py b/apps/api/plane/wsgi.py index b3051f9ff7..4c8a791636 100644 --- a/apps/api/plane/wsgi.py +++ b/apps/api/plane/wsgi.py @@ -1,3 +1,7 @@ +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + """ WSGI config for plane project. diff --git a/apps/api/run_tests.py b/apps/api/run_tests.py index b92f9fe5ba..886e8a0412 100755 --- a/apps/api/run_tests.py +++ b/apps/api/run_tests.py @@ -1,4 +1,8 @@ #!/usr/bin/env python +# Copyright (c) 2023-present Plane Software, Inc. and contributors +# SPDX-License-Identifier: AGPL-3.0-only +# See the LICENSE file for details. + import argparse import subprocess import sys diff --git a/apps/live/src/controllers/collaboration.controller.ts b/apps/live/src/controllers/collaboration.controller.ts index 59bfe7b0c1..92ead80d2d 100644 --- a/apps/live/src/controllers/collaboration.controller.ts +++ b/apps/live/src/controllers/collaboration.controller.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Hocuspocus } from "@hocuspocus/server"; import type { Request } from "express"; import type WebSocket from "ws"; diff --git a/apps/live/src/controllers/document.controller.ts b/apps/live/src/controllers/document.controller.ts index b77426ab5d..3a0282f90d 100644 --- a/apps/live/src/controllers/document.controller.ts +++ b/apps/live/src/controllers/document.controller.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Request, Response } from "express"; import { z } from "zod"; // helpers diff --git a/apps/live/src/controllers/health.controller.ts b/apps/live/src/controllers/health.controller.ts index 34026c04b6..463d98672f 100644 --- a/apps/live/src/controllers/health.controller.ts +++ b/apps/live/src/controllers/health.controller.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Request, Response } from "express"; import { Controller, Get } from "@plane/decorators"; import { env } from "@/env"; diff --git a/apps/live/src/controllers/index.ts b/apps/live/src/controllers/index.ts index da116df7cd..2ae3bcea07 100644 --- a/apps/live/src/controllers/index.ts +++ b/apps/live/src/controllers/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CollaborationController } from "./collaboration.controller"; import { DocumentController } from "./document.controller"; import { HealthController } from "./health.controller"; diff --git a/apps/live/src/controllers/pdf-export.controller.ts b/apps/live/src/controllers/pdf-export.controller.ts index 673262951c..34c03d2170 100644 --- a/apps/live/src/controllers/pdf-export.controller.ts +++ b/apps/live/src/controllers/pdf-export.controller.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Request, Response } from "express"; import { Effect, Schema, Cause } from "effect"; import { Controller, Post } from "@plane/decorators"; diff --git a/apps/live/src/env.ts b/apps/live/src/env.ts index 3c1a91ec9a..9b53835187 100644 --- a/apps/live/src/env.ts +++ b/apps/live/src/env.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as dotenv from "@dotenvx/dotenvx"; import { z } from "zod"; diff --git a/apps/live/src/extensions/database.ts b/apps/live/src/extensions/database.ts index 1b40d3b231..becefc8e11 100644 --- a/apps/live/src/extensions/database.ts +++ b/apps/live/src/extensions/database.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Database as HocuspocusDatabase } from "@hocuspocus/extension-database"; // plane imports import { diff --git a/apps/live/src/extensions/force-close-handler.ts b/apps/live/src/extensions/force-close-handler.ts index 19c06fe17f..b13e08e845 100644 --- a/apps/live/src/extensions/force-close-handler.ts +++ b/apps/live/src/extensions/force-close-handler.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Connection, Extension, Hocuspocus, onConfigurePayload } from "@hocuspocus/server"; import { logger } from "@plane/logger"; import { Redis } from "@/extensions/redis"; diff --git a/apps/live/src/extensions/index.ts b/apps/live/src/extensions/index.ts index fb53ab7905..d55ca6e8eb 100644 --- a/apps/live/src/extensions/index.ts +++ b/apps/live/src/extensions/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Database } from "./database"; import { ForceCloseHandler } from "./force-close-handler"; import { Logger } from "./logger"; diff --git a/apps/live/src/extensions/logger.ts b/apps/live/src/extensions/logger.ts index 34a4f6a41a..f670b66c16 100644 --- a/apps/live/src/extensions/logger.ts +++ b/apps/live/src/extensions/logger.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Logger as HocuspocusLogger } from "@hocuspocus/extension-logger"; import { logger } from "@plane/logger"; diff --git a/apps/live/src/extensions/redis.ts b/apps/live/src/extensions/redis.ts index ece29671bb..900a001375 100644 --- a/apps/live/src/extensions/redis.ts +++ b/apps/live/src/extensions/redis.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Redis as HocuspocusRedis } from "@hocuspocus/extension-redis"; import { OutgoingMessage } from "@hocuspocus/server"; import type { onConfigurePayload } from "@hocuspocus/server"; diff --git a/apps/live/src/extensions/title-sync.ts b/apps/live/src/extensions/title-sync.ts index ca3783f14e..c86b749860 100644 --- a/apps/live/src/extensions/title-sync.ts +++ b/apps/live/src/extensions/title-sync.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // hocuspocus import type { Extension, Hocuspocus, Document } from "@hocuspocus/server"; import { TiptapTransformer } from "@hocuspocus/transformer"; diff --git a/apps/live/src/extensions/title-update/debounce.ts b/apps/live/src/extensions/title-update/debounce.ts index e9adeb4a4c..9de1ba44c9 100644 --- a/apps/live/src/extensions/title-update/debounce.ts +++ b/apps/live/src/extensions/title-update/debounce.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { logger } from "@plane/logger"; /** diff --git a/apps/live/src/extensions/title-update/title-update-manager.ts b/apps/live/src/extensions/title-update/title-update-manager.ts index 8469ad4eb0..5521c10ff8 100644 --- a/apps/live/src/extensions/title-update/title-update-manager.ts +++ b/apps/live/src/extensions/title-update/title-update-manager.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { logger } from "@plane/logger"; import { AppError } from "@/lib/errors"; import { getPageService } from "@/services/page/handler"; diff --git a/apps/live/src/extensions/title-update/title-utils.ts b/apps/live/src/extensions/title-update/title-utils.ts index 4113afb33f..ac23948655 100644 --- a/apps/live/src/extensions/title-update/title-utils.ts +++ b/apps/live/src/extensions/title-update/title-utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { sanitizeHTML } from "@plane/utils"; /** diff --git a/apps/live/src/hocuspocus.ts b/apps/live/src/hocuspocus.ts index 1b3b07a7a9..93ebf725ee 100644 --- a/apps/live/src/hocuspocus.ts +++ b/apps/live/src/hocuspocus.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Hocuspocus } from "@hocuspocus/server"; import { v4 as uuidv4 } from "uuid"; // env diff --git a/apps/live/src/instrument.ts b/apps/live/src/instrument.ts index a49016eb1a..36c990f191 100644 --- a/apps/live/src/instrument.ts +++ b/apps/live/src/instrument.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as Sentry from "@sentry/node"; import { nodeProfilingIntegration } from "@sentry/profiling-node"; diff --git a/apps/live/src/lib/auth-middleware.ts b/apps/live/src/lib/auth-middleware.ts index 8cdfc1b32d..fcf06f82d1 100644 --- a/apps/live/src/lib/auth-middleware.ts +++ b/apps/live/src/lib/auth-middleware.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Request, Response, NextFunction } from "express"; import { logger } from "@plane/logger"; import { env } from "@/env"; diff --git a/apps/live/src/lib/auth.ts b/apps/live/src/lib/auth.ts index a1e82314a4..02aa69ca4c 100644 --- a/apps/live/src/lib/auth.ts +++ b/apps/live/src/lib/auth.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IncomingHttpHeaders } from "http"; import type { TUserDetails } from "@plane/editor"; diff --git a/apps/live/src/lib/errors.ts b/apps/live/src/lib/errors.ts index a8b8270dcb..4e2bc264c3 100644 --- a/apps/live/src/lib/errors.ts +++ b/apps/live/src/lib/errors.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AxiosError } from "axios"; /** diff --git a/apps/live/src/lib/pdf/colors.ts b/apps/live/src/lib/pdf/colors.ts index 0d966c9fc1..1b220d7234 100644 --- a/apps/live/src/lib/pdf/colors.ts +++ b/apps/live/src/lib/pdf/colors.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * PDF Export Color Constants * diff --git a/apps/live/src/lib/pdf/icons.tsx b/apps/live/src/lib/pdf/icons.tsx index 66e0af4848..92621f3a8c 100644 --- a/apps/live/src/lib/pdf/icons.tsx +++ b/apps/live/src/lib/pdf/icons.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Circle, Path, Rect, Svg } from "@react-pdf/renderer"; type IconProps = { diff --git a/apps/live/src/lib/pdf/index.ts b/apps/live/src/lib/pdf/index.ts index 1de0f5d574..f3fe47831d 100644 --- a/apps/live/src/lib/pdf/index.ts +++ b/apps/live/src/lib/pdf/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { createPdfDocument, renderPlaneDocToPdfBlob, renderPlaneDocToPdfBuffer } from "./plane-pdf-exporter"; export { createKeyGenerator, nodeRenderers, renderNode } from "./node-renderers"; export { markRenderers, applyMarks } from "./mark-renderers"; diff --git a/apps/live/src/lib/pdf/mark-renderers.ts b/apps/live/src/lib/pdf/mark-renderers.ts index 7b98abf6bb..1f40c4e358 100644 --- a/apps/live/src/lib/pdf/mark-renderers.ts +++ b/apps/live/src/lib/pdf/mark-renderers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Style } from "@react-pdf/types"; import { BACKGROUND_COLORS, diff --git a/apps/live/src/lib/pdf/node-renderers.tsx b/apps/live/src/lib/pdf/node-renderers.tsx index 3a8527f9af..7323b0d294 100644 --- a/apps/live/src/lib/pdf/node-renderers.tsx +++ b/apps/live/src/lib/pdf/node-renderers.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Image, Link, Text, View } from "@react-pdf/renderer"; import type { Style } from "@react-pdf/types"; import type { ReactElement } from "react"; diff --git a/apps/live/src/lib/pdf/plane-pdf-exporter.tsx b/apps/live/src/lib/pdf/plane-pdf-exporter.tsx index e9cd71c5cc..f6c6b599c9 100644 --- a/apps/live/src/lib/pdf/plane-pdf-exporter.tsx +++ b/apps/live/src/lib/pdf/plane-pdf-exporter.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { createRequire } from "module"; import path from "path"; import { Document, Font, Page, pdf, Text } from "@react-pdf/renderer"; diff --git a/apps/live/src/lib/pdf/styles.ts b/apps/live/src/lib/pdf/styles.ts index b0d36e4163..186321a9d9 100644 --- a/apps/live/src/lib/pdf/styles.ts +++ b/apps/live/src/lib/pdf/styles.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { StyleSheet } from "@react-pdf/renderer"; import { BACKGROUND_COLORS, diff --git a/apps/live/src/lib/pdf/types.ts b/apps/live/src/lib/pdf/types.ts index bdbe3268a3..0578a49c54 100644 --- a/apps/live/src/lib/pdf/types.ts +++ b/apps/live/src/lib/pdf/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Style } from "@react-pdf/types"; export type TipTapMark = { diff --git a/apps/live/src/lib/stateless.ts b/apps/live/src/lib/stateless.ts index 1692164d28..d59f8fe99b 100644 --- a/apps/live/src/lib/stateless.ts +++ b/apps/live/src/lib/stateless.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { onStatelessPayload } from "@hocuspocus/server"; import { DocumentCollaborativeEvents } from "@plane/editor/lib"; import type { TDocumentEventsServer } from "@plane/editor/lib"; diff --git a/apps/live/src/redis.ts b/apps/live/src/redis.ts index aac0eb7126..f23374a792 100644 --- a/apps/live/src/redis.ts +++ b/apps/live/src/redis.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Redis from "ioredis"; import { logger } from "@plane/logger"; import { env } from "./env"; diff --git a/apps/live/src/schema/pdf-export.ts b/apps/live/src/schema/pdf-export.ts index 9620c2aa41..e3085eefa9 100644 --- a/apps/live/src/schema/pdf-export.ts +++ b/apps/live/src/schema/pdf-export.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Schema } from "effect"; export const PdfExportRequestBody = Schema.Struct({ diff --git a/apps/live/src/server.ts b/apps/live/src/server.ts index 59e5ec01b3..9a3906bf72 100644 --- a/apps/live/src/server.ts +++ b/apps/live/src/server.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Server as HttpServer } from "http"; import type { Hocuspocus } from "@hocuspocus/server"; import compression from "compression"; diff --git a/apps/live/src/services/api.service.ts b/apps/live/src/services/api.service.ts index 68eb52b38f..3834bbd6b1 100644 --- a/apps/live/src/services/api.service.ts +++ b/apps/live/src/services/api.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AxiosInstance } from "axios"; import axios from "axios"; import { env } from "@/env"; diff --git a/apps/live/src/services/page/core.service.ts b/apps/live/src/services/page/core.service.ts index 235dc04416..9d51d8236a 100644 --- a/apps/live/src/services/page/core.service.ts +++ b/apps/live/src/services/page/core.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { logger } from "@plane/logger"; import type { TPage } from "@plane/types"; // services diff --git a/apps/live/src/services/page/extended.service.ts b/apps/live/src/services/page/extended.service.ts index 29ef316db6..2b076efacd 100644 --- a/apps/live/src/services/page/extended.service.ts +++ b/apps/live/src/services/page/extended.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { PageCoreService } from "./core.service"; /** diff --git a/apps/live/src/services/page/handler.ts b/apps/live/src/services/page/handler.ts index 9b2f5adac3..2bfd0b1dd1 100644 --- a/apps/live/src/services/page/handler.ts +++ b/apps/live/src/services/page/handler.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { AppError } from "@/lib/errors"; import type { HocusPocusServerContext, TDocumentTypes } from "@/types"; // services diff --git a/apps/live/src/services/page/project-page.service.ts b/apps/live/src/services/page/project-page.service.ts index 89a1156272..d89ab0aa7c 100644 --- a/apps/live/src/services/page/project-page.service.ts +++ b/apps/live/src/services/page/project-page.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { AppError } from "@/lib/errors"; import { PageService } from "./extended.service"; diff --git a/apps/live/src/services/pdf-export/effect-utils.ts b/apps/live/src/services/pdf-export/effect-utils.ts index 6838f5df4c..18f40b0898 100644 --- a/apps/live/src/services/pdf-export/effect-utils.ts +++ b/apps/live/src/services/pdf-export/effect-utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Effect, Duration, Schedule, pipe } from "effect"; import { PdfTimeoutError } from "@/schema/pdf-export"; diff --git a/apps/live/src/services/pdf-export/index.ts b/apps/live/src/services/pdf-export/index.ts index b7c3f7f291..fa2a7c68d9 100644 --- a/apps/live/src/services/pdf-export/index.ts +++ b/apps/live/src/services/pdf-export/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { PdfExportService, exportToPdf } from "./pdf-export.service"; export * from "./effect-utils"; export * from "./types"; diff --git a/apps/live/src/services/pdf-export/pdf-export.service.ts b/apps/live/src/services/pdf-export/pdf-export.service.ts index 84157cb09b..e9c67fc36a 100644 --- a/apps/live/src/services/pdf-export/pdf-export.service.ts +++ b/apps/live/src/services/pdf-export/pdf-export.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Effect } from "effect"; import sharp from "sharp"; import { getAllDocumentFormatsFromDocumentEditorBinaryData } from "@plane/editor/lib"; diff --git a/apps/live/src/services/pdf-export/types.ts b/apps/live/src/services/pdf-export/types.ts index 6906ed9a58..1a95b0ece3 100644 --- a/apps/live/src/services/pdf-export/types.ts +++ b/apps/live/src/services/pdf-export/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TipTapDocument, PDFUserMention } from "@/lib/pdf"; export interface PdfExportInput { diff --git a/apps/live/src/services/user.service.ts b/apps/live/src/services/user.service.ts index 272d7543c0..b4c2859215 100644 --- a/apps/live/src/services/user.service.ts +++ b/apps/live/src/services/user.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import { logger } from "@plane/logger"; import type { IUser } from "@plane/types"; diff --git a/apps/live/src/start.ts b/apps/live/src/start.ts index ced70a209b..52a04a69f3 100644 --- a/apps/live/src/start.ts +++ b/apps/live/src/start.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { setupSentry } from "./instrument"; setupSentry(); diff --git a/apps/live/src/types/admin-commands.ts b/apps/live/src/types/admin-commands.ts index bd8e5cd594..1cbe7a537e 100644 --- a/apps/live/src/types/admin-commands.ts +++ b/apps/live/src/types/admin-commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Type-safe admin commands for server-to-server communication */ diff --git a/apps/live/src/types/index.ts b/apps/live/src/types/index.ts index 6c05fb8359..39c941d097 100644 --- a/apps/live/src/types/index.ts +++ b/apps/live/src/types/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { fetchPayload, onLoadDocumentPayload, storePayload } from "@hocuspocus/server"; export type TConvertDocumentRequestBody = { diff --git a/apps/live/src/utils/broadcast-error.ts b/apps/live/src/utils/broadcast-error.ts index d9dbbc485b..4d1077c9fe 100644 --- a/apps/live/src/utils/broadcast-error.ts +++ b/apps/live/src/utils/broadcast-error.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Hocuspocus } from "@hocuspocus/server"; import { createRealtimeEvent } from "@plane/editor"; import { logger } from "@plane/logger"; diff --git a/apps/live/src/utils/broadcast-message.ts b/apps/live/src/utils/broadcast-message.ts index c60ce9ac7a..473a3c731e 100644 --- a/apps/live/src/utils/broadcast-message.ts +++ b/apps/live/src/utils/broadcast-message.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Hocuspocus } from "@hocuspocus/server"; import type { BroadcastedEvent } from "@plane/editor"; import { logger } from "@plane/logger"; diff --git a/apps/live/tests/lib/pdf/pdf-rendering.test.ts b/apps/live/tests/lib/pdf/pdf-rendering.test.ts index 93498a4206..c22103ccdc 100644 --- a/apps/live/tests/lib/pdf/pdf-rendering.test.ts +++ b/apps/live/tests/lib/pdf/pdf-rendering.test.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { describe, it, expect } from "vitest"; import { PDFParse } from "pdf-parse"; import { renderPlaneDocToPdfBuffer } from "@/lib/pdf"; diff --git a/apps/live/tests/services/pdf-export/effect-utils.test.ts b/apps/live/tests/services/pdf-export/effect-utils.test.ts index 0a1a542519..44ff35e67d 100644 --- a/apps/live/tests/services/pdf-export/effect-utils.test.ts +++ b/apps/live/tests/services/pdf-export/effect-utils.test.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { describe, it, expect, assert } from "vitest"; import { Effect, Duration, Either } from "effect"; import { withTimeoutAndRetry, recoverWithDefault, tryAsync } from "@/services/pdf-export/effect-utils"; diff --git a/apps/space/app/[workspaceSlug]/[projectId]/page.tsx b/apps/space/app/[workspaceSlug]/[projectId]/page.tsx index 013e7f8c19..c260d91838 100644 --- a/apps/space/app/[workspaceSlug]/[projectId]/page.tsx +++ b/apps/space/app/[workspaceSlug]/[projectId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; // plane imports import { SitesProjectPublishService } from "@plane/services"; diff --git a/apps/space/app/compat/next/helper.ts b/apps/space/app/compat/next/helper.ts index c046998702..c4edf3d545 100644 --- a/apps/space/app/compat/next/helper.ts +++ b/apps/space/app/compat/next/helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Ensures that a URL has a trailing slash while preserving query parameters and fragments * @param url - The URL to process diff --git a/apps/space/app/compat/next/image.tsx b/apps/space/app/compat/next/image.tsx index 062638de41..12a2bb21ed 100644 --- a/apps/space/app/compat/next/image.tsx +++ b/apps/space/app/compat/next/image.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // Minimal shim so code using next/image compiles under React Router + Vite diff --git a/apps/space/app/compat/next/link.tsx b/apps/space/app/compat/next/link.tsx index b0bca4faf5..85177560fc 100644 --- a/apps/space/app/compat/next/link.tsx +++ b/apps/space/app/compat/next/link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Link as RRLink } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/space/app/compat/next/navigation.ts b/apps/space/app/compat/next/navigation.ts index a825b1e652..0aa9254bcb 100644 --- a/apps/space/app/compat/next/navigation.ts +++ b/apps/space/app/compat/next/navigation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { useLocation, useNavigate, useParams as useParamsRR, useSearchParams as useSearchParamsRR } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/space/app/entry.client.tsx b/apps/space/app/entry.client.tsx index 9cf1c32deb..0a87135953 100644 --- a/apps/space/app/entry.client.tsx +++ b/apps/space/app/entry.client.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as Sentry from "@sentry/react-router"; import { startTransition, StrictMode } from "react"; import { hydrateRoot } from "react-dom/client"; diff --git a/apps/space/app/error.tsx b/apps/space/app/error.tsx index 35267ad5cb..3050a89ae8 100644 --- a/apps/space/app/error.tsx +++ b/apps/space/app/error.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ui import { Button } from "@plane/propel/button"; diff --git a/apps/space/app/issues/[anchor]/layout.tsx b/apps/space/app/issues/[anchor]/layout.tsx index 79f2f7e3ea..1c82e03230 100644 --- a/apps/space/app/issues/[anchor]/layout.tsx +++ b/apps/space/app/issues/[anchor]/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Outlet } from "react-router"; import type { ShouldRevalidateFunctionArgs } from "react-router"; diff --git a/apps/space/app/issues/[anchor]/page.tsx b/apps/space/app/issues/[anchor]/page.tsx index 32cdcad861..cd19bda4b6 100644 --- a/apps/space/app/issues/[anchor]/page.tsx +++ b/apps/space/app/issues/[anchor]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams, useSearchParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/space/app/not-found.tsx b/apps/space/app/not-found.tsx index 2ae119c39e..8835c3d4d2 100644 --- a/apps/space/app/not-found.tsx +++ b/apps/space/app/not-found.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // assets import SomethingWentWrongImage from "@/app/assets/something-went-wrong.svg?url"; diff --git a/apps/space/app/page.tsx b/apps/space/app/page.tsx index 6f58126ed1..7256d391c8 100644 --- a/apps/space/app/page.tsx +++ b/apps/space/app/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { useSearchParams, useRouter } from "next/navigation"; diff --git a/apps/space/app/providers.tsx b/apps/space/app/providers.tsx index 981270cc30..463770ec5f 100644 --- a/apps/space/app/providers.tsx +++ b/apps/space/app/providers.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ThemeProvider } from "next-themes"; // components import { TranslationProvider } from "@plane/i18n"; diff --git a/apps/space/app/root.tsx b/apps/space/app/root.tsx index ca0651042e..de13a13f96 100644 --- a/apps/space/app/root.tsx +++ b/apps/space/app/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as Sentry from "@sentry/react-router"; import { Links, Meta, Outlet, Scripts } from "react-router"; // assets diff --git a/apps/space/app/routes.ts b/apps/space/app/routes.ts index 36c3d20fad..1a94ca0f7f 100644 --- a/apps/space/app/routes.ts +++ b/apps/space/app/routes.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RouteConfig } from "@react-router/dev/routes"; import { index, layout, route } from "@react-router/dev/routes"; diff --git a/apps/space/ce/components/editor/embeds/mentions/index.ts b/apps/space/ce/components/editor/embeds/mentions/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/space/ce/components/editor/embeds/mentions/index.ts +++ b/apps/space/ce/components/editor/embeds/mentions/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/space/ce/components/editor/embeds/mentions/root.tsx b/apps/space/ce/components/editor/embeds/mentions/root.tsx index 6fc36cc740..562ade1c41 100644 --- a/apps/space/ce/components/editor/embeds/mentions/root.tsx +++ b/apps/space/ce/components/editor/embeds/mentions/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane editor import type { TCallbackMentionComponentProps } from "@plane/editor"; diff --git a/apps/space/ce/components/issue-layouts/root.tsx b/apps/space/ce/components/issue-layouts/root.tsx index 95d58029df..6ed0193764 100644 --- a/apps/space/ce/components/issue-layouts/root.tsx +++ b/apps/space/ce/components/issue-layouts/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { PageNotFound } from "@/components/ui/not-found"; import type { PublishStore } from "@/store/publish/publish.store"; diff --git a/apps/space/ce/components/navbar/index.tsx b/apps/space/ce/components/navbar/index.tsx index e91b2d47ea..8300de817a 100644 --- a/apps/space/ce/components/navbar/index.tsx +++ b/apps/space/ce/components/navbar/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { PublishStore } from "@/store/publish/publish.store"; type Props = { diff --git a/apps/space/ce/hooks/store/index.ts b/apps/space/ce/hooks/store/index.ts index a5fc99eef8..bdedd8ce07 100644 --- a/apps/space/ce/hooks/store/index.ts +++ b/apps/space/ce/hooks/store/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-published-view"; diff --git a/apps/space/ce/hooks/store/use-published-view.ts b/apps/space/ce/hooks/store/use-published-view.ts index 170d934da2..7e76d400ca 100644 --- a/apps/space/ce/hooks/store/use-published-view.ts +++ b/apps/space/ce/hooks/store/use-published-view.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const useView = () => ({ // eslint-disable-next-line @typescript-eslint/no-unused-vars fetchViewDetails: (anchor: string) => {}, diff --git a/apps/space/ce/hooks/use-editor-flagging.ts b/apps/space/ce/hooks/use-editor-flagging.ts index 9e80c35aab..f796845170 100644 --- a/apps/space/ce/hooks/use-editor-flagging.ts +++ b/apps/space/ce/hooks/use-editor-flagging.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // editor import type { TExtensions } from "@plane/editor"; diff --git a/apps/space/ce/store/root.store.ts b/apps/space/ce/store/root.store.ts index 710462e13a..196f515046 100644 --- a/apps/space/ce/store/root.store.ts +++ b/apps/space/ce/store/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // store import { CoreRootStore } from "@/store/root.store"; diff --git a/apps/space/core/components/account/auth-forms/auth-banner.tsx b/apps/space/core/components/account/auth-forms/auth-banner.tsx index 689fde5e94..23c350560e 100644 --- a/apps/space/core/components/account/auth-forms/auth-banner.tsx +++ b/apps/space/core/components/account/auth-forms/auth-banner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Info } from "lucide-react"; import { CloseIcon } from "@plane/propel/icons"; // helpers diff --git a/apps/space/core/components/account/auth-forms/auth-header.tsx b/apps/space/core/components/account/auth-forms/auth-header.tsx index cac429ffdf..20df0cb423 100644 --- a/apps/space/core/components/account/auth-forms/auth-header.tsx +++ b/apps/space/core/components/account/auth-forms/auth-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // helpers import { EAuthModes } from "@/types/auth"; diff --git a/apps/space/core/components/account/auth-forms/auth-root.tsx b/apps/space/core/components/account/auth-forms/auth-root.tsx index 4c54e947c3..1c34193f7b 100644 --- a/apps/space/core/components/account/auth-forms/auth-root.tsx +++ b/apps/space/core/components/account/auth-forms/auth-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/account/auth-forms/email.tsx b/apps/space/core/components/account/auth-forms/email.tsx index 00ef886c6e..70270ffa9d 100644 --- a/apps/space/core/components/account/auth-forms/email.tsx +++ b/apps/space/core/components/account/auth-forms/email.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FormEvent } from "react"; import { useMemo, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/account/auth-forms/index.ts b/apps/space/core/components/account/auth-forms/index.ts index aa4ee6fd87..125f6699c4 100644 --- a/apps/space/core/components/account/auth-forms/index.ts +++ b/apps/space/core/components/account/auth-forms/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./auth-root"; diff --git a/apps/space/core/components/account/auth-forms/password.tsx b/apps/space/core/components/account/auth-forms/password.tsx index 45426d4d95..7697477378 100644 --- a/apps/space/core/components/account/auth-forms/password.tsx +++ b/apps/space/core/components/account/auth-forms/password.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useMemo, useRef, useState } from "react"; import { observer } from "mobx-react"; import { Eye, EyeOff, XCircle } from "lucide-react"; diff --git a/apps/space/core/components/account/auth-forms/unique-code.tsx b/apps/space/core/components/account/auth-forms/unique-code.tsx index d049842910..2cf381a446 100644 --- a/apps/space/core/components/account/auth-forms/unique-code.tsx +++ b/apps/space/core/components/account/auth-forms/unique-code.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { CircleCheck, XCircle } from "lucide-react"; // plane imports diff --git a/apps/space/core/components/account/terms-and-conditions.tsx b/apps/space/core/components/account/terms-and-conditions.tsx index 2b3e8daa97..c683e9fc18 100644 --- a/apps/space/core/components/account/terms-and-conditions.tsx +++ b/apps/space/core/components/account/terms-and-conditions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; type Props = { diff --git a/apps/space/core/components/account/user-logged-in.tsx b/apps/space/core/components/account/user-logged-in.tsx index fb719cd723..e6dd723dbd 100644 --- a/apps/space/core/components/account/user-logged-in.tsx +++ b/apps/space/core/components/account/user-logged-in.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { PlaneLockup } from "@plane/propel/icons"; // assets diff --git a/apps/space/core/components/common/logo-spinner.tsx b/apps/space/core/components/common/logo-spinner.tsx index 69a4b602b5..3f0f179384 100644 --- a/apps/space/core/components/common/logo-spinner.tsx +++ b/apps/space/core/components/common/logo-spinner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // assets import LogoSpinnerDark from "@/app/assets/images/logo-spinner-dark.gif?url"; diff --git a/apps/space/core/components/common/powered-by.tsx b/apps/space/core/components/common/powered-by.tsx index 824cad483c..af64caedd3 100644 --- a/apps/space/core/components/common/powered-by.tsx +++ b/apps/space/core/components/common/powered-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { WEBSITE_URL } from "@plane/constants"; // assets import { PlaneLogo } from "@plane/propel/icons"; diff --git a/apps/space/core/components/common/project-logo.tsx b/apps/space/core/components/common/project-logo.tsx index 7319826c83..b9540c0a0d 100644 --- a/apps/space/core/components/common/project-logo.tsx +++ b/apps/space/core/components/common/project-logo.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { TLogoProps } from "@plane/types"; // helpers diff --git a/apps/space/core/components/editor/embeds/mentions/index.ts b/apps/space/core/components/editor/embeds/mentions/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/space/core/components/editor/embeds/mentions/index.ts +++ b/apps/space/core/components/editor/embeds/mentions/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/space/core/components/editor/embeds/mentions/root.tsx b/apps/space/core/components/editor/embeds/mentions/root.tsx index 7b1f7f718b..9896ce827d 100644 --- a/apps/space/core/components/editor/embeds/mentions/root.tsx +++ b/apps/space/core/components/editor/embeds/mentions/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web imports import type { TEditorMentionComponentProps } from "@/plane-web/components/editor/embeds/mentions"; import { EditorAdditionalMentionsRoot } from "@/plane-web/components/editor/embeds/mentions"; diff --git a/apps/space/core/components/editor/embeds/mentions/user.tsx b/apps/space/core/components/editor/embeds/mentions/user.tsx index 33265537b2..6e4eb52bf4 100644 --- a/apps/space/core/components/editor/embeds/mentions/user.tsx +++ b/apps/space/core/components/editor/embeds/mentions/user.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // helpers import { cn } from "@plane/utils"; diff --git a/apps/space/core/components/editor/lite-text-editor.tsx b/apps/space/core/components/editor/lite-text-editor.tsx index dc17219caf..0dbcb0b199 100644 --- a/apps/space/core/components/editor/lite-text-editor.tsx +++ b/apps/space/core/components/editor/lite-text-editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // plane imports import { LiteTextEditorWithRef } from "@plane/editor"; diff --git a/apps/space/core/components/editor/rich-text-editor.tsx b/apps/space/core/components/editor/rich-text-editor.tsx index d1273dd2b9..01587284d6 100644 --- a/apps/space/core/components/editor/rich-text-editor.tsx +++ b/apps/space/core/components/editor/rich-text-editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { forwardRef } from "react"; // plane imports import { RichTextEditorWithRef } from "@plane/editor"; diff --git a/apps/space/core/components/editor/toolbar.tsx b/apps/space/core/components/editor/toolbar.tsx index c1ca99d6a3..54369fd5ee 100644 --- a/apps/space/core/components/editor/toolbar.tsx +++ b/apps/space/core/components/editor/toolbar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState, useCallback } from "react"; // plane imports import { TOOLBAR_ITEMS } from "@plane/editor"; diff --git a/apps/space/core/components/instance/instance-failure-view.tsx b/apps/space/core/components/instance/instance-failure-view.tsx index f519a432dc..bc4e153a8b 100644 --- a/apps/space/core/components/instance/instance-failure-view.tsx +++ b/apps/space/core/components/instance/instance-failure-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; import { Button } from "@plane/propel/button"; // assets diff --git a/apps/space/core/components/issues/filters/applied-filters/filters-list.tsx b/apps/space/core/components/issues/filters/applied-filters/filters-list.tsx index 73be2c1059..6c64e1e395 100644 --- a/apps/space/core/components/issues/filters/applied-filters/filters-list.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/filters-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; import { CloseIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/filters/applied-filters/label.tsx b/apps/space/core/components/issues/filters/applied-filters/label.tsx index 850c166dd4..fce3799e58 100644 --- a/apps/space/core/components/issues/filters/applied-filters/label.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CloseIcon } from "@plane/propel/icons"; // types import type { IIssueLabel } from "@/types/issue"; diff --git a/apps/space/core/components/issues/filters/applied-filters/priority.tsx b/apps/space/core/components/issues/filters/applied-filters/priority.tsx index c439b1d106..e28be1262f 100644 --- a/apps/space/core/components/issues/filters/applied-filters/priority.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CloseIcon, PriorityIcon } from "@plane/propel/icons"; import type { TIssuePriorities } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/filters/applied-filters/root.tsx b/apps/space/core/components/issues/filters/applied-filters/root.tsx index 965ea473c9..58ae48100f 100644 --- a/apps/space/core/components/issues/filters/applied-filters/root.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { cloneDeep } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/filters/applied-filters/state.tsx b/apps/space/core/components/issues/filters/applied-filters/state.tsx index ad41cb001b..4acadbac3c 100644 --- a/apps/space/core/components/issues/filters/applied-filters/state.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EIconSize } from "@plane/constants"; diff --git a/apps/space/core/components/issues/filters/helpers/dropdown.tsx b/apps/space/core/components/issues/filters/helpers/dropdown.tsx index b4987a9df3..17f7ca66b8 100644 --- a/apps/space/core/components/issues/filters/helpers/dropdown.tsx +++ b/apps/space/core/components/issues/filters/helpers/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { Fragment, useState } from "react"; import type { Placement } from "@popperjs/core"; import { usePopper } from "react-popper"; diff --git a/apps/space/core/components/issues/filters/helpers/filter-header.tsx b/apps/space/core/components/issues/filters/helpers/filter-header.tsx index aebbad7f1f..72ed8395a9 100644 --- a/apps/space/core/components/issues/filters/helpers/filter-header.tsx +++ b/apps/space/core/components/issues/filters/helpers/filter-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // icons import { ChevronDownIcon, ChevronUpIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/filters/helpers/filter-option.tsx b/apps/space/core/components/issues/filters/helpers/filter-option.tsx index b690c88ae6..b16948f4cc 100644 --- a/apps/space/core/components/issues/filters/helpers/filter-option.tsx +++ b/apps/space/core/components/issues/filters/helpers/filter-option.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // plane imports import { CheckIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/filters/index.ts b/apps/space/core/components/issues/filters/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/space/core/components/issues/filters/index.ts +++ b/apps/space/core/components/issues/filters/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/space/core/components/issues/filters/labels.tsx b/apps/space/core/components/issues/filters/labels.tsx index 3db53f0253..50c1fa81d8 100644 --- a/apps/space/core/components/issues/filters/labels.tsx +++ b/apps/space/core/components/issues/filters/labels.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; // plane imports import { Loader } from "@plane/ui"; diff --git a/apps/space/core/components/issues/filters/priority.tsx b/apps/space/core/components/issues/filters/priority.tsx index df18ec6aef..06103d5eed 100644 --- a/apps/space/core/components/issues/filters/priority.tsx +++ b/apps/space/core/components/issues/filters/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/space/core/components/issues/filters/root.tsx b/apps/space/core/components/issues/filters/root.tsx index d7d5de6aa2..983f00ad4b 100644 --- a/apps/space/core/components/issues/filters/root.tsx +++ b/apps/space/core/components/issues/filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { cloneDeep } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/filters/selection.tsx b/apps/space/core/components/issues/filters/selection.tsx index 8d016bc266..c8f7e4e216 100644 --- a/apps/space/core/components/issues/filters/selection.tsx +++ b/apps/space/core/components/issues/filters/selection.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { SearchIcon, CloseIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/filters/state.tsx b/apps/space/core/components/issues/filters/state.tsx index 6ea374eb53..c11efb84a5 100644 --- a/apps/space/core/components/issues/filters/state.tsx +++ b/apps/space/core/components/issues/filters/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/space/core/components/issues/issue-layouts/error.tsx b/apps/space/core/components/issues/issue-layouts/error.tsx index 8ae86f1ba9..97f7cdd91c 100644 --- a/apps/space/core/components/issues/issue-layouts/error.tsx +++ b/apps/space/core/components/issues/issue-layouts/error.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // assets import SomethingWentWrongImage from "@/app/assets/something-went-wrong.svg?url"; diff --git a/apps/space/core/components/issues/issue-layouts/index.ts b/apps/space/core/components/issues/issue-layouts/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/space/core/components/issues/issue-layouts/index.ts +++ b/apps/space/core/components/issues/issue-layouts/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/space/core/components/issues/issue-layouts/issue-layout-HOC.tsx b/apps/space/core/components/issues/issue-layouts/issue-layout-HOC.tsx index 849c98a445..f6e481feff 100644 --- a/apps/space/core/components/issues/issue-layouts/issue-layout-HOC.tsx +++ b/apps/space/core/components/issues/issue-layouts/issue-layout-HOC.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { TLoader } from "@plane/types"; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx index 0043ed6601..462d1d1ca8 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo, useRef } from "react"; import { debounce } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/block-reactions.tsx b/apps/space/core/components/issues/issue-layouts/kanban/block-reactions.tsx index d9fc8bb1ec..b4590af274 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/block-reactions.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/block-reactions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane utils diff --git a/apps/space/core/components/issues/issue-layouts/kanban/block.tsx b/apps/space/core/components/issues/issue-layouts/kanban/block.tsx index 9a4b9f18b0..abc1147ace 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/block.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/blocks-list.tsx b/apps/space/core/components/issues/issue-layouts/kanban/blocks-list.tsx index 93e95fed9a..319bdf741c 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/blocks-list.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/blocks-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { observer } from "mobx-react"; //types diff --git a/apps/space/core/components/issues/issue-layouts/kanban/default.tsx b/apps/space/core/components/issues/issue-layouts/kanban/default.tsx index ce8d9796c7..3c0ffd7f54 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/default.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/default.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { isNil } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx b/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx index 38e75d1041..99897e870d 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Circle } from "lucide-react"; // types diff --git a/apps/space/core/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx b/apps/space/core/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx index d86c71178c..619f681ab7 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Circle } from "lucide-react"; import { ChevronDownIcon, ChevronUpIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx b/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx index b467b74757..f1308acb29 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { forwardRef, useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/swimlanes.tsx b/apps/space/core/components/issues/issue-layouts/kanban/swimlanes.tsx index f007ca93e7..f91dea832e 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/swimlanes.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/swimlanes.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/issue-layouts/list/base-list-root.tsx b/apps/space/core/components/issues/issue-layouts/list/base-list-root.tsx index c4cc972fe6..fbc1347ae0 100644 --- a/apps/space/core/components/issues/issue-layouts/list/base-list-root.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/base-list-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/space/core/components/issues/issue-layouts/list/block.tsx b/apps/space/core/components/issues/issue-layouts/list/block.tsx index 2168d9f5f0..026a580164 100644 --- a/apps/space/core/components/issues/issue-layouts/list/block.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/space/core/components/issues/issue-layouts/list/blocks-list.tsx b/apps/space/core/components/issues/issue-layouts/list/blocks-list.tsx index 391c51dd0c..2580afbfd2 100644 --- a/apps/space/core/components/issues/issue-layouts/list/blocks-list.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/blocks-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; // types import type { IIssueDisplayProperties } from "@plane/types"; diff --git a/apps/space/core/components/issues/issue-layouts/list/default.tsx b/apps/space/core/components/issues/issue-layouts/list/default.tsx index fcc27d3e4b..776245c310 100644 --- a/apps/space/core/components/issues/issue-layouts/list/default.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/default.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/space/core/components/issues/issue-layouts/list/headers/group-by-card.tsx b/apps/space/core/components/issues/issue-layouts/list/headers/group-by-card.tsx index f40b379491..2c5f5efd62 100644 --- a/apps/space/core/components/issues/issue-layouts/list/headers/group-by-card.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/headers/group-by-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CircleDashed } from "lucide-react"; diff --git a/apps/space/core/components/issues/issue-layouts/list/list-group.tsx b/apps/space/core/components/issues/issue-layouts/list/list-group.tsx index 7bf8e6c486..e78c2aaa71 100644 --- a/apps/space/core/components/issues/issue-layouts/list/list-group.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/list-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { Fragment, forwardRef, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx b/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx index d9fe6f75aa..948593c8dc 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Paperclip } from "lucide-react"; import { LinkIcon, ViewsIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/cycle.tsx b/apps/space/core/components/issues/issue-layouts/properties/cycle.tsx index a3dac69440..38b6cae326 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/cycle.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/cycle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane ui import { CycleIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx b/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx index 1f6ddb34a3..7fa853b448 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { DueDatePropertyIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/labels.tsx b/apps/space/core/components/issues/issue-layouts/properties/labels.tsx index ce38586a3a..df08e946fc 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/labels.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/labels.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { LabelPropertyIcon } from "@plane/propel/icons"; // plane imports diff --git a/apps/space/core/components/issues/issue-layouts/properties/member.tsx b/apps/space/core/components/issues/issue-layouts/properties/member.tsx index 2309f887cc..b2116e9d9e 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/member.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/member.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons import type { LucideIcon } from "lucide-react"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/modules.tsx b/apps/space/core/components/issues/issue-layouts/properties/modules.tsx index 79ff45ff90..5e80222063 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/modules.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/modules.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane ui import { ModuleIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/priority.tsx b/apps/space/core/components/issues/issue-layouts/properties/priority.tsx index 67ee607b74..34436de785 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/priority.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { SignalHigh } from "lucide-react"; import { useTranslation } from "@plane/i18n"; // types diff --git a/apps/space/core/components/issues/issue-layouts/properties/state.tsx b/apps/space/core/components/issues/issue-layouts/properties/state.tsx index 71d57796f8..de15969796 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/state.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane ui import { StateGroupIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/root.tsx b/apps/space/core/components/issues/issue-layouts/root.tsx index 27d92a79bd..1b8f985243 100644 --- a/apps/space/core/components/issues/issue-layouts/root.tsx +++ b/apps/space/core/components/issues/issue-layouts/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/space/core/components/issues/issue-layouts/utils.tsx b/apps/space/core/components/issues/issue-layouts/utils.tsx index 33d811bd51..14d61c6fba 100644 --- a/apps/space/core/components/issues/issue-layouts/utils.tsx +++ b/apps/space/core/components/issues/issue-layouts/utils.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isNil } from "lodash-es"; // types import { EIconSize, ISSUE_PRIORITIES } from "@plane/constants"; diff --git a/apps/space/core/components/issues/issue-layouts/with-display-properties-HOC.tsx b/apps/space/core/components/issues/issue-layouts/with-display-properties-HOC.tsx index 40593cde75..bd6a665795 100644 --- a/apps/space/core/components/issues/issue-layouts/with-display-properties-HOC.tsx +++ b/apps/space/core/components/issues/issue-layouts/with-display-properties-HOC.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { IIssueDisplayProperties } from "@plane/types"; diff --git a/apps/space/core/components/issues/navbar/controls.tsx b/apps/space/core/components/issues/navbar/controls.tsx index b8e2a06f6e..f5902dda07 100644 --- a/apps/space/core/components/issues/navbar/controls.tsx +++ b/apps/space/core/components/issues/navbar/controls.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/issues/navbar/index.ts b/apps/space/core/components/issues/navbar/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/space/core/components/issues/navbar/index.ts +++ b/apps/space/core/components/issues/navbar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/space/core/components/issues/navbar/layout-icon.tsx b/apps/space/core/components/issues/navbar/layout-icon.tsx index e5dc3d0a7e..79f8f39e61 100644 --- a/apps/space/core/components/issues/navbar/layout-icon.tsx +++ b/apps/space/core/components/issues/navbar/layout-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssueLayout } from "@plane/constants"; import { ListLayoutIcon, BoardLayoutIcon } from "@plane/propel/icons"; import type { ISvgIcons } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/navbar/layout-selection.tsx b/apps/space/core/components/issues/navbar/layout-selection.tsx index 9c9662c2bc..74cf5370b6 100644 --- a/apps/space/core/components/issues/navbar/layout-selection.tsx +++ b/apps/space/core/components/issues/navbar/layout-selection.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useRouter, useSearchParams } from "next/navigation"; // ui diff --git a/apps/space/core/components/issues/navbar/root.tsx b/apps/space/core/components/issues/navbar/root.tsx index 5ae4da3681..4bc3254bdb 100644 --- a/apps/space/core/components/issues/navbar/root.tsx +++ b/apps/space/core/components/issues/navbar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { ProjectIcon } from "@plane/propel/icons"; // components diff --git a/apps/space/core/components/issues/navbar/theme.tsx b/apps/space/core/components/issues/navbar/theme.tsx index 21df650769..4e241b751f 100644 --- a/apps/space/core/components/issues/navbar/theme.tsx +++ b/apps/space/core/components/issues/navbar/theme.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/space/core/components/issues/navbar/user-avatar.tsx b/apps/space/core/components/issues/navbar/user-avatar.tsx index 59c9fbcb44..ad87781867 100644 --- a/apps/space/core/components/issues/navbar/user-avatar.tsx +++ b/apps/space/core/components/issues/navbar/user-avatar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment, useEffect, useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/space/core/components/issues/peek-overview/comment/add-comment.tsx b/apps/space/core/components/issues/peek-overview/comment/add-comment.tsx index f0e91d8b40..acd86cdd5c 100644 --- a/apps/space/core/components/issues/peek-overview/comment/add-comment.tsx +++ b/apps/space/core/components/issues/peek-overview/comment/add-comment.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import { useForm, Controller } from "react-hook-form"; diff --git a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx index 2351df40bd..73a0201597 100644 --- a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx +++ b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/space/core/components/issues/peek-overview/comment/comment-reactions.tsx b/apps/space/core/components/issues/peek-overview/comment/comment-reactions.tsx index 7a73fb4a0c..be6a6fb48b 100644 --- a/apps/space/core/components/issues/peek-overview/comment/comment-reactions.tsx +++ b/apps/space/core/components/issues/peek-overview/comment/comment-reactions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { usePathname, useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx b/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx index c2fe4d8e7e..4cf425ba87 100644 --- a/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx +++ b/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { Loader } from "@plane/ui"; diff --git a/apps/space/core/components/issues/peek-overview/header.tsx b/apps/space/core/components/issues/peek-overview/header.tsx index 67f325e384..ff98e47e9e 100644 --- a/apps/space/core/components/issues/peek-overview/header.tsx +++ b/apps/space/core/components/issues/peek-overview/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { MoveRight } from "lucide-react"; diff --git a/apps/space/core/components/issues/peek-overview/index.ts b/apps/space/core/components/issues/peek-overview/index.ts index eec9d1e67d..d0bf32463d 100644 --- a/apps/space/core/components/issues/peek-overview/index.ts +++ b/apps/space/core/components/issues/peek-overview/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./layout"; diff --git a/apps/space/core/components/issues/peek-overview/issue-activity.tsx b/apps/space/core/components/issues/peek-overview/issue-activity.tsx index b5e94560e5..68b93e1c0c 100644 --- a/apps/space/core/components/issues/peek-overview/issue-activity.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-activity.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; diff --git a/apps/space/core/components/issues/peek-overview/issue-details.tsx b/apps/space/core/components/issues/peek-overview/issue-details.tsx index 94d7a125b2..37b5e73ff6 100644 --- a/apps/space/core/components/issues/peek-overview/issue-details.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-details.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { RichTextEditor } from "@/components/editor/rich-text-editor"; diff --git a/apps/space/core/components/issues/peek-overview/issue-properties.tsx b/apps/space/core/components/issues/peek-overview/issue-properties.tsx index 5e2ea10d01..d476483ed3 100644 --- a/apps/space/core/components/issues/peek-overview/issue-properties.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import { LinkIcon } from "lucide-react"; diff --git a/apps/space/core/components/issues/peek-overview/issue-reaction.tsx b/apps/space/core/components/issues/peek-overview/issue-reaction.tsx index 6e13a85bd2..2b847d476b 100644 --- a/apps/space/core/components/issues/peek-overview/issue-reaction.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-reaction.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { IssueEmojiReactions } from "@/components/issues/reactions/issue-emoji-reactions"; diff --git a/apps/space/core/components/issues/peek-overview/layout.tsx b/apps/space/core/components/issues/peek-overview/layout.tsx index 3d2930e36a..ca12aff417 100644 --- a/apps/space/core/components/issues/peek-overview/layout.tsx +++ b/apps/space/core/components/issues/peek-overview/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment, useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/issues/peek-overview/side-peek-view.tsx b/apps/space/core/components/issues/peek-overview/side-peek-view.tsx index c965b7056c..aa981d8d94 100644 --- a/apps/space/core/components/issues/peek-overview/side-peek-view.tsx +++ b/apps/space/core/components/issues/peek-overview/side-peek-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { Loader } from "@plane/ui"; diff --git a/apps/space/core/components/issues/reactions/issue-emoji-reactions.tsx b/apps/space/core/components/issues/reactions/issue-emoji-reactions.tsx index 4f881595d6..7727ec90bd 100644 --- a/apps/space/core/components/issues/reactions/issue-emoji-reactions.tsx +++ b/apps/space/core/components/issues/reactions/issue-emoji-reactions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { usePathname, useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/issues/reactions/issue-vote-reactions.tsx b/apps/space/core/components/issues/reactions/issue-vote-reactions.tsx index b57d1410ee..cafd3a19fd 100644 --- a/apps/space/core/components/issues/reactions/issue-vote-reactions.tsx +++ b/apps/space/core/components/issues/reactions/issue-vote-reactions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { ArrowDown, ArrowUp } from "lucide-react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/ui/not-found.tsx b/apps/space/core/components/ui/not-found.tsx index 5ec0874cb3..4b7267df26 100644 --- a/apps/space/core/components/ui/not-found.tsx +++ b/apps/space/core/components/ui/not-found.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // images import Image404 from "@/app/assets/404.svg?url"; diff --git a/apps/space/core/components/views/auth.tsx b/apps/space/core/components/views/auth.tsx index 3fdf137356..7a5ea1980c 100644 --- a/apps/space/core/components/views/auth.tsx +++ b/apps/space/core/components/views/auth.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { AuthRoot } from "@/components/account/auth-forms"; import { PoweredBy } from "@/components/common/powered-by"; diff --git a/apps/space/core/components/views/header.tsx b/apps/space/core/components/views/header.tsx index 30284882d6..e78bcee005 100644 --- a/apps/space/core/components/views/header.tsx +++ b/apps/space/core/components/views/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import Link from "next/link"; import { PlaneLockup } from "@plane/propel/icons"; diff --git a/apps/space/core/components/views/index.ts b/apps/space/core/components/views/index.ts index 97ccf76494..68908cdd49 100644 --- a/apps/space/core/components/views/index.ts +++ b/apps/space/core/components/views/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./auth"; diff --git a/apps/space/core/hooks/oauth/core.tsx b/apps/space/core/hooks/oauth/core.tsx index 54fce85e05..63a18cc2e5 100644 --- a/apps/space/core/hooks/oauth/core.tsx +++ b/apps/space/core/hooks/oauth/core.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { useSearchParams } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/space/core/hooks/oauth/extended.tsx b/apps/space/core/hooks/oauth/extended.tsx index d6793f9de6..9e7ca61f17 100644 --- a/apps/space/core/hooks/oauth/extended.tsx +++ b/apps/space/core/hooks/oauth/extended.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TOAuthConfigs } from "@plane/types"; diff --git a/apps/space/core/hooks/oauth/index.ts b/apps/space/core/hooks/oauth/index.ts index 2b15648737..e88c743999 100644 --- a/apps/space/core/hooks/oauth/index.ts +++ b/apps/space/core/hooks/oauth/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TOAuthConfigs } from "@plane/types"; // local imports diff --git a/apps/space/core/hooks/store/publish/index.ts b/apps/space/core/hooks/store/publish/index.ts index a7b42ad5bb..6b565416f0 100644 --- a/apps/space/core/hooks/store/publish/index.ts +++ b/apps/space/core/hooks/store/publish/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-publish-list"; export * from "./use-publish"; diff --git a/apps/space/core/hooks/store/publish/use-publish-list.ts b/apps/space/core/hooks/store/publish/use-publish-list.ts index 94ad0080ef..8a731bd42e 100644 --- a/apps/space/core/hooks/store/publish/use-publish-list.ts +++ b/apps/space/core/hooks/store/publish/use-publish-list.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/publish/use-publish.ts b/apps/space/core/hooks/store/publish/use-publish.ts index 957e9fc70e..50ea52776c 100644 --- a/apps/space/core/hooks/store/publish/use-publish.ts +++ b/apps/space/core/hooks/store/publish/use-publish.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-cycle.ts b/apps/space/core/hooks/store/use-cycle.ts index eea623ee8c..4b7e9e4d55 100644 --- a/apps/space/core/hooks/store/use-cycle.ts +++ b/apps/space/core/hooks/store/use-cycle.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-instance.ts b/apps/space/core/hooks/store/use-instance.ts index 6dbfda6a13..3f783a90e8 100644 --- a/apps/space/core/hooks/store/use-instance.ts +++ b/apps/space/core/hooks/store/use-instance.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-issue-details.tsx b/apps/space/core/hooks/store/use-issue-details.tsx index 6456a73c83..a30403e1fd 100644 --- a/apps/space/core/hooks/store/use-issue-details.tsx +++ b/apps/space/core/hooks/store/use-issue-details.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-issue-filter.ts b/apps/space/core/hooks/store/use-issue-filter.ts index bd9043fd74..1f60bae999 100644 --- a/apps/space/core/hooks/store/use-issue-filter.ts +++ b/apps/space/core/hooks/store/use-issue-filter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-issue.ts b/apps/space/core/hooks/store/use-issue.ts index 0061c760a3..808117e050 100644 --- a/apps/space/core/hooks/store/use-issue.ts +++ b/apps/space/core/hooks/store/use-issue.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-label.ts b/apps/space/core/hooks/store/use-label.ts index fd004f587f..f7c261839d 100644 --- a/apps/space/core/hooks/store/use-label.ts +++ b/apps/space/core/hooks/store/use-label.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-member.ts b/apps/space/core/hooks/store/use-member.ts index 334f852c89..82443db77d 100644 --- a/apps/space/core/hooks/store/use-member.ts +++ b/apps/space/core/hooks/store/use-member.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-module.ts b/apps/space/core/hooks/store/use-module.ts index 1ee7a7c4f4..c2d5768da4 100644 --- a/apps/space/core/hooks/store/use-module.ts +++ b/apps/space/core/hooks/store/use-module.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-state.ts b/apps/space/core/hooks/store/use-state.ts index b7ada164b9..8f239777d1 100644 --- a/apps/space/core/hooks/store/use-state.ts +++ b/apps/space/core/hooks/store/use-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-user-profile.ts b/apps/space/core/hooks/store/use-user-profile.ts index 37d3571f34..ec53da955a 100644 --- a/apps/space/core/hooks/store/use-user-profile.ts +++ b/apps/space/core/hooks/store/use-user-profile.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/store/use-user.ts b/apps/space/core/hooks/store/use-user.ts index 93e1cad9d4..b3af67a511 100644 --- a/apps/space/core/hooks/store/use-user.ts +++ b/apps/space/core/hooks/store/use-user.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // lib import { StoreContext } from "@/lib/store-provider"; diff --git a/apps/space/core/hooks/use-clipboard-write-permission.tsx b/apps/space/core/hooks/use-clipboard-write-permission.tsx index 687a574c29..8b1bf16ac9 100644 --- a/apps/space/core/hooks/use-clipboard-write-permission.tsx +++ b/apps/space/core/hooks/use-clipboard-write-permission.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; const useClipboardWritePermission = () => { diff --git a/apps/space/core/hooks/use-intersection-observer.tsx b/apps/space/core/hooks/use-intersection-observer.tsx index e2f2fd71eb..4cf9a270a6 100644 --- a/apps/space/core/hooks/use-intersection-observer.tsx +++ b/apps/space/core/hooks/use-intersection-observer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import { useEffect } from "react"; diff --git a/apps/space/core/hooks/use-is-in-iframe.tsx b/apps/space/core/hooks/use-is-in-iframe.tsx index 2b5823644e..3fb5b55757 100644 --- a/apps/space/core/hooks/use-is-in-iframe.tsx +++ b/apps/space/core/hooks/use-is-in-iframe.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; const useIsInIframe = () => { diff --git a/apps/space/core/hooks/use-mention.tsx b/apps/space/core/hooks/use-mention.tsx index fc66eda1c4..e54ff3e773 100644 --- a/apps/space/core/hooks/use-mention.tsx +++ b/apps/space/core/hooks/use-mention.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useEffect } from "react"; import useSWR from "swr"; // plane imports diff --git a/apps/space/core/hooks/use-parse-editor-content.ts b/apps/space/core/hooks/use-parse-editor-content.ts index e540aad637..ec13194ea3 100644 --- a/apps/space/core/hooks/use-parse-editor-content.ts +++ b/apps/space/core/hooks/use-parse-editor-content.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; // helpers import type { TCustomComponentsMetaData } from "@plane/utils"; diff --git a/apps/space/core/hooks/use-timer.tsx b/apps/space/core/hooks/use-timer.tsx index 1edf4931ab..c663d80071 100644 --- a/apps/space/core/hooks/use-timer.tsx +++ b/apps/space/core/hooks/use-timer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; const TIMER = 30; diff --git a/apps/space/core/lib/b-progress/AppProgressBar.tsx b/apps/space/core/lib/b-progress/AppProgressBar.tsx index 7ad93fc11b..e4362581dc 100644 --- a/apps/space/core/lib/b-progress/AppProgressBar.tsx +++ b/apps/space/core/lib/b-progress/AppProgressBar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { BProgress } from "@bprogress/core"; import { useNavigation } from "react-router"; diff --git a/apps/space/core/lib/b-progress/index.tsx b/apps/space/core/lib/b-progress/index.tsx index 7b531da2b2..592017255e 100644 --- a/apps/space/core/lib/b-progress/index.tsx +++ b/apps/space/core/lib/b-progress/index.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./AppProgressBar"; diff --git a/apps/space/core/lib/instance-provider.tsx b/apps/space/core/lib/instance-provider.tsx index 89ee49dfcf..7ec9bfac97 100644 --- a/apps/space/core/lib/instance-provider.tsx +++ b/apps/space/core/lib/instance-provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useTheme } from "next-themes"; diff --git a/apps/space/core/lib/store-provider.tsx b/apps/space/core/lib/store-provider.tsx index e251909df1..725cd1f58e 100644 --- a/apps/space/core/lib/store-provider.tsx +++ b/apps/space/core/lib/store-provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { createContext } from "react"; // plane web store import { RootStore } from "@/plane-web/store/root.store"; diff --git a/apps/space/core/lib/toast-provider.tsx b/apps/space/core/lib/toast-provider.tsx index fc30bf1fa5..420c801131 100644 --- a/apps/space/core/lib/toast-provider.tsx +++ b/apps/space/core/lib/toast-provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // plane imports import { Toast } from "@plane/propel/toast"; diff --git a/apps/space/core/store/cycle.store.ts b/apps/space/core/store/cycle.store.ts index 0f71d8841a..41ef8d0d43 100644 --- a/apps/space/core/store/cycle.store.ts +++ b/apps/space/core/store/cycle.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, observable, runInAction } from "mobx"; // plane imports import { SitesCycleService } from "@plane/services"; diff --git a/apps/space/core/store/helpers/base-issues.store.ts b/apps/space/core/store/helpers/base-issues.store.ts index 5c0ac63445..b1c342308e 100644 --- a/apps/space/core/store/helpers/base-issues.store.ts +++ b/apps/space/core/store/helpers/base-issues.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { concat, get, set, uniq, update } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/space/core/store/helpers/filter.helpers.ts b/apps/space/core/store/helpers/filter.helpers.ts index 342f1ee7b4..8a0e45464f 100644 --- a/apps/space/core/store/helpers/filter.helpers.ts +++ b/apps/space/core/store/helpers/filter.helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { EIssueGroupByToServerOptions, EServerGroupByToFilterOptions } from "@plane/constants"; import type { IssuePaginationOptions, TIssueParams } from "@plane/types"; diff --git a/apps/space/core/store/instance.store.ts b/apps/space/core/store/instance.store.ts index a1a49118db..3672c5f008 100644 --- a/apps/space/core/store/instance.store.ts +++ b/apps/space/core/store/instance.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { observable, action, makeObservable, runInAction } from "mobx"; // plane imports diff --git a/apps/space/core/store/issue-detail.store.ts b/apps/space/core/store/issue-detail.store.ts index a9b2431ab1..0840e70c00 100644 --- a/apps/space/core/store/issue-detail.store.ts +++ b/apps/space/core/store/issue-detail.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { makeObservable, observable, action, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/space/core/store/issue-filters.store.ts b/apps/space/core/store/issue-filters.store.ts index a48b07a79e..1632a0b3ea 100644 --- a/apps/space/core/store/issue-filters.store.ts +++ b/apps/space/core/store/issue-filters.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cloneDeep, isEqual, set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/space/core/store/issue.store.ts b/apps/space/core/store/issue.store.ts index ed4112a822..27ed2ad895 100644 --- a/apps/space/core/store/issue.store.ts +++ b/apps/space/core/store/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, runInAction } from "mobx"; // plane imports import { SitesIssueService } from "@plane/services"; diff --git a/apps/space/core/store/label.store.ts b/apps/space/core/store/label.store.ts index 53ffcbc6f7..b720816cf1 100644 --- a/apps/space/core/store/label.store.ts +++ b/apps/space/core/store/label.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // plane imports diff --git a/apps/space/core/store/members.store.ts b/apps/space/core/store/members.store.ts index 45abdc7113..5c429b0037 100644 --- a/apps/space/core/store/members.store.ts +++ b/apps/space/core/store/members.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // plane imports diff --git a/apps/space/core/store/module.store.ts b/apps/space/core/store/module.store.ts index 0635d6f8c2..1f2dd2d54a 100644 --- a/apps/space/core/store/module.store.ts +++ b/apps/space/core/store/module.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // plane imports diff --git a/apps/space/core/store/profile.store.ts b/apps/space/core/store/profile.store.ts index 84455bc08d..0dee248dda 100644 --- a/apps/space/core/store/profile.store.ts +++ b/apps/space/core/store/profile.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; // plane imports diff --git a/apps/space/core/store/publish/publish.store.ts b/apps/space/core/store/publish/publish.store.ts index 49148d5553..b59ff2be23 100644 --- a/apps/space/core/store/publish/publish.store.ts +++ b/apps/space/core/store/publish/publish.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observable, makeObservable, computed } from "mobx"; // types import type { diff --git a/apps/space/core/store/publish/publish_list.store.ts b/apps/space/core/store/publish/publish_list.store.ts index 9cb9085f29..29a09dca17 100644 --- a/apps/space/core/store/publish/publish_list.store.ts +++ b/apps/space/core/store/publish/publish_list.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { makeObservable, observable, runInAction, action } from "mobx"; // plane imports diff --git a/apps/space/core/store/root.store.ts b/apps/space/core/store/root.store.ts index 047e8582d9..0505da1ded 100644 --- a/apps/space/core/store/root.store.ts +++ b/apps/space/core/store/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { enableStaticRendering } from "mobx-react"; // store imports import type { IInstanceStore } from "@/store/instance.store"; diff --git a/apps/space/core/store/state.store.ts b/apps/space/core/store/state.store.ts index 1de0fd6ab6..f900c5105f 100644 --- a/apps/space/core/store/state.store.ts +++ b/apps/space/core/store/state.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { clone } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // plane imports diff --git a/apps/space/core/store/user.store.ts b/apps/space/core/store/user.store.ts index 611afa4838..fac64281ea 100644 --- a/apps/space/core/store/user.store.ts +++ b/apps/space/core/store/user.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { AxiosError } from "axios"; import { set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; diff --git a/apps/space/core/types/auth.ts b/apps/space/core/types/auth.ts index 45e501ba4f..72e12cd469 100644 --- a/apps/space/core/types/auth.ts +++ b/apps/space/core/types/auth.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EAuthModes { SIGN_IN = "SIGN_IN", SIGN_UP = "SIGN_UP", diff --git a/apps/space/ee/components/issue-layouts/root.tsx b/apps/space/ee/components/issue-layouts/root.tsx index d785c5c11c..3241453c4b 100644 --- a/apps/space/ee/components/issue-layouts/root.tsx +++ b/apps/space/ee/components/issue-layouts/root.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/issue-layouts/root"; diff --git a/apps/space/ee/components/navbar/index.tsx b/apps/space/ee/components/navbar/index.tsx index 960fa25074..711d7c1da3 100644 --- a/apps/space/ee/components/navbar/index.tsx +++ b/apps/space/ee/components/navbar/index.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/navbar"; diff --git a/apps/space/ee/hooks/store/index.ts b/apps/space/ee/hooks/store/index.ts index 6ce80b4fb5..093d52e46a 100644 --- a/apps/space/ee/hooks/store/index.ts +++ b/apps/space/ee/hooks/store/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/store"; diff --git a/apps/space/ee/store/root.store.ts b/apps/space/ee/store/root.store.ts index c514c4c25f..0f36aac3dd 100644 --- a/apps/space/ee/store/root.store.ts +++ b/apps/space/ee/store/root.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/root.store"; diff --git a/apps/space/helpers/authentication.helper.tsx b/apps/space/helpers/authentication.helper.tsx index 9981f7c37d..a5c7eb8bc5 100644 --- a/apps/space/helpers/authentication.helper.tsx +++ b/apps/space/helpers/authentication.helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; // helpers import { SUPPORT_EMAIL } from "@plane/constants"; diff --git a/apps/space/helpers/common.helper.ts b/apps/space/helpers/common.helper.ts index 1f2c22b024..f11f634e66 100644 --- a/apps/space/helpers/common.helper.ts +++ b/apps/space/helpers/common.helper.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const resolveGeneralTheme = (resolvedTheme: string | undefined) => resolvedTheme?.includes("light") ? "light" : resolvedTheme?.includes("dark") ? "dark" : "system"; diff --git a/apps/space/helpers/date-time.helper.ts b/apps/space/helpers/date-time.helper.ts index f0bb648922..eb6ce9b3b5 100644 --- a/apps/space/helpers/date-time.helper.ts +++ b/apps/space/helpers/date-time.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { format, isValid } from "date-fns"; import { isNumber } from "lodash-es"; diff --git a/apps/space/helpers/editor.helper.ts b/apps/space/helpers/editor.helper.ts index f8fbd1158f..26c787dc54 100644 --- a/apps/space/helpers/editor.helper.ts +++ b/apps/space/helpers/editor.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { MAX_FILE_SIZE } from "@plane/constants"; import type { TFileHandler } from "@plane/editor"; diff --git a/apps/space/helpers/emoji.helper.tsx b/apps/space/helpers/emoji.helper.tsx index 8190a6552f..12d359a73e 100644 --- a/apps/space/helpers/emoji.helper.tsx +++ b/apps/space/helpers/emoji.helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const renderEmoji = ( emoji: | string diff --git a/apps/space/helpers/file.helper.ts b/apps/space/helpers/file.helper.ts index 0d396bbd24..1a5947e820 100644 --- a/apps/space/helpers/file.helper.ts +++ b/apps/space/helpers/file.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; diff --git a/apps/space/helpers/issue.helper.ts b/apps/space/helpers/issue.helper.ts index 7971b4a516..aa110349c9 100644 --- a/apps/space/helpers/issue.helper.ts +++ b/apps/space/helpers/issue.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { differenceInCalendarDays } from "date-fns/differenceInCalendarDays"; // plane internal import { STATE_GROUPS } from "@plane/constants"; diff --git a/apps/space/helpers/query-param-generator.ts b/apps/space/helpers/query-param-generator.ts index 888462f1bb..6f2ffcd2c2 100644 --- a/apps/space/helpers/query-param-generator.ts +++ b/apps/space/helpers/query-param-generator.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + type TQueryParamValue = string | string[] | boolean | number | bigint | undefined | null; export const queryParamGenerator = (queryObject: Record) => { diff --git a/apps/space/helpers/state.helper.ts b/apps/space/helpers/state.helper.ts index f5a8a88e58..8a701dc862 100644 --- a/apps/space/helpers/state.helper.ts +++ b/apps/space/helpers/state.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { STATE_GROUPS } from "@plane/constants"; import type { IState } from "@plane/types"; diff --git a/apps/space/helpers/string.helper.ts b/apps/space/helpers/string.helper.ts index 3eec9b9a1a..674a4bac98 100644 --- a/apps/space/helpers/string.helper.ts +++ b/apps/space/helpers/string.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const addSpaceIfCamelCase = (str: string) => str.replace(/([a-z])([A-Z])/g, "$1 $2"); const fallbackCopyTextToClipboard = (text: string) => { diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/_sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/_sidebar.tsx index b87edfb297..bbbea87352 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/_sidebar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/_sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/header.tsx index 6eed5ff95c..710b777306 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; // ui diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/layout.tsx index 9d4e32d26c..fb000228c3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/page.tsx index f0c470cfbb..222fa03c99 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/header.tsx index 85798e17e1..ed2c9215a8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; import { AnalyticsIcon } from "@plane/propel/icons"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/layout.tsx index 4521939e69..e12366070a 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/page.tsx index 58b0f9567b..a77ec91e66 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx index 091fdae9db..50f6bf84eb 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/layout.tsx index 48dd7cec74..b8b8a58e6d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { Outlet } from "react-router"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx index d9f7d82b0b..25d431d350 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/work-item-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/work-item-header.tsx index e4aa6e1fba..dd7978fe55 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/work-item-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/work-item-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/header.tsx index c34457db1d..a063df5256 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/layout.tsx index 539d35e77f..d7df53f905 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/page.tsx index 7c3814c6dc..300fbce171 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { PageHead } from "@/components/core/page-title"; import { WorkspaceDraftIssuesRoot } from "@/components/issues/workspace-draft"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx index a79a12a265..51f98ba9fa 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar-wrapper.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar-wrapper.tsx index d3ae5de8ae..cd51cd4924 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar-wrapper.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar.tsx index 4c51edcb13..0b8ad77aae 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/header.tsx index 0eef838a34..f15d767388 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Shapes } from "lucide-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/layout.tsx index f64640536b..8ef999a050 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Outlet } from "react-router"; import { ProjectsAppPowerKProvider } from "@/components/power-k/projects-app-provider"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/layout.tsx index 13aacc02b3..34f9c58ac5 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { NotificationsSidebarRoot } from "@/components/workspace-notifications/sidebar"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/page.tsx index a9b293bdc2..ad99b55d3b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/page.tsx index 86baf2781a..4d4547ae25 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/[profileViewId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/[profileViewId]/page.tsx index 689a76173f..1f1fe4ce81 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/[profileViewId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/[profileViewId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx index 6d1f212a14..7bd93646c2 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/header.tsx index 5bfdc10c1c..62c1c16215 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ui import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx index b77c6493f1..46462efd69 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { Outlet } from "react-router"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/mobile-header.tsx index df9247d539..362bdd1821 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/navbar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/navbar.tsx index 82dd85c0b3..dbbef4b919 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/navbar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/navbar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { useParams, usePathname } from "next/navigation"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx index 6a670e6727..0fac006625 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import useSWR from "swr"; // plane imports import { GROUP_CHOICES } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/layout.tsx index d8212f6ed0..1b3fc1ef3d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/page.tsx index 077ab4edc6..d25a11bf8b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/header.tsx index ce8f2d82f1..e8ccabf970 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import { ArchiveIcon, CycleIcon, ModuleIcon, WorkItemsIcon } from "@plane/propel/icons"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx index 97c1bc8ef6..592bf09a50 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx index 112810c167..e8324c2f63 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/layout.tsx index acb4f7189f..1d99a73209 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/layout.tsx index 83dffbaf95..6385a3a1cc 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/page.tsx index 51c9c90d3c..0a493cb3d5 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/layout.tsx index d04808bf85..0101dcf220 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/page.tsx index 53c50f6521..39a6a16a65 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/[cycleId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/[cycleId]/page.tsx index 3d38155b36..41f5553bd1 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/[cycleId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/[cycleId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { cn } from "@plane/utils"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx index b74886bae7..78478a5a88 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/layout.tsx index 40c0d7b114..2d92265f48 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx index 26ac9b4801..eb219a64c3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/header.tsx index 5ee1f4e44b..337e59b0b4 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // ui diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/layout.tsx index f65235274a..c1b003348a 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/mobile-header.tsx index f3bdc98b7d..4726971adf 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/page.tsx index f029bc0b31..0f314d5583 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/layout.tsx index 3d3ec5d053..267226e550 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/page.tsx index 4904f9da13..4125ce356b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(detail)/[issueId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(detail)/[issueId]/page.tsx index 216aed2ad5..bc2632ee4c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(detail)/[issueId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(detail)/[issueId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; import { redirect } from "react-router"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/header.tsx index f444410013..eb82758b1f 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { IssuesHeader } from "@/plane-web/components/issues/header"; export function ProjectIssuesHeader() { diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/layout.tsx index 5fe249e5c3..c8ac595714 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx index 7a13d897e4..50555cee53 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/page.tsx index f2d5355b1f..15ebb8bbb3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // i18n import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/layout.tsx index 885ccf786a..2e7cc3f0eb 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Outlet } from "react-router"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/[moduleId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/[moduleId]/page.tsx index 9c5db9a986..9b4a68bc10 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/[moduleId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/[moduleId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx index 38dbcbc87b..45d9b0aad9 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/layout.tsx index 33234e33c4..f11b9068b2 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx index bce3d92322..317a7b0775 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/header.tsx index f08452982f..6b5eb42dc8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/layout.tsx index 909418c898..46eb9f101c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/mobile-header.tsx index c044561544..e5bb7b6507 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { MODULE_VIEW_LAYOUTS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/page.tsx index 292db35540..0b60c82520 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/[pageId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/[pageId]/page.tsx index 85d5b49615..5ab4ceb315 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/[pageId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/[pageId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useMemo } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx index 3f8dbe2ae4..08fe3b55c3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/layout.tsx index 59f609dbfb..0ba3728ce5 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // component import { Outlet } from "react-router"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx index 74c04c18b9..e76f55b9a8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams, useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/layout.tsx index 911ef24bbb..b803854bd9 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/page.tsx index b4f6ff523b..8a4250a59c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx index 22bf0796bb..3393257eeb 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/page.tsx index a51b2dbb51..c4c03eb49a 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; // assets diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/layout.tsx index dfd295513a..b33381b930 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx index ba08f18159..4cf703cc92 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // ui diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/layout.tsx index 41751627c1..0b6dda9dc1 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/mobile-header.tsx index b60158a0fb..1e4dd349cf 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons import { ListFilter } from "lucide-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/page.tsx index 76bebd6711..b827d89771 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/layout.tsx index 588a8a43da..1e81fe89e2 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/page.tsx index bbd6d42b19..3706d80308 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ProjectPageRoot } from "@/plane-web/components/projects/page"; function ProjectsPage() { diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/layout.tsx index 5087369279..53308d88f5 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/page.tsx index bbd6d42b19..3706d80308 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ProjectPageRoot } from "@/plane-web/components/projects/page"; function ProjectsPage() { diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/sidebar.tsx index f076ea2d35..26c4734c73 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/sidebar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/star-us-link.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/star-us-link.tsx index 8b1cc9769e..c4039f7ab5 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/star-us-link.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/star-us-link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/header.tsx index 9c77a82c84..7eab6a4a7f 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/layout.tsx index f33cfefd0b..14be62a144 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/page.tsx index 463e75c612..d925b2ce4f 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { PageHead } from "@/components/core/page-title"; import { StickiesInfinite } from "@/components/stickies/layout/stickies-infinite"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/[globalViewId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/[globalViewId]/page.tsx index 9862aae69f..3d62aded36 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/[globalViewId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/[globalViewId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx index 961c6b7cd7..0c6ebe3095 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/layout.tsx index 34fa8df49b..60f6e5aa4c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx index 70007f5a07..008dfca064 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/layout.tsx index 142f94ecf5..8b800d9c77 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/header.tsx index 71e84bf53c..6172567806 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { WORKSPACE_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/page.tsx index d15d68b1db..85d59618f1 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // component import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/header.tsx index 668f45fa25..2cc08a4bfd 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { WORKSPACE_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/page.tsx index dbe9e2b394..ee5cb8c3e8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/header.tsx index 4351be5346..7a69bb295b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { WORKSPACE_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx index 91043f17ae..ea32086874 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; // components diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/layout.tsx index d392508ee3..73542932b8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { Outlet } from "react-router"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/header.tsx index 72a12a71d2..243f8da7b7 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { WORKSPACE_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx index 9c869de32a..cc6a92fee3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/page.tsx index 3025c521b9..55422ecc79 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/header.tsx index efd2f9fe78..7c24c6ba54 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { WORKSPACE_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/page.tsx index 26f506275c..5cb9d3c17e 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/header.tsx index 1136eb2b87..0916bf9f05 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { WORKSPACE_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/page.tsx index 096403de22..3e1517f123 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/header.tsx index e736d892bd..df9ae6e9e2 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/layout.tsx index cd84d7c2f3..a4d766c539 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Outlet } from "react-router"; // plane web imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/page.tsx index 657a78c961..b591e91b1a 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/header.tsx index 34086c6b06..447f925a02 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/page.tsx index 44fc12c7d4..cfa1e94237 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/cycles/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/cycles/header.tsx index 756eaac160..c2fa9dee50 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/cycles/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/cycles/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/cycles/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/cycles/page.tsx index a943c15096..b86a1b2948 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/cycles/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/cycles/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/intake/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/intake/header.tsx index 0bbff98579..5f81d40afc 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/intake/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/intake/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/intake/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/intake/page.tsx index a8ac0adebf..3349a79d35 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/intake/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/intake/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/modules/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/modules/header.tsx index 397a2b6a48..baf32b2b90 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/modules/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/modules/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/modules/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/modules/page.tsx index 7f5f540fe7..1253f0d654 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/modules/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/modules/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/pages/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/pages/header.tsx index 9ee3db684f..fa7a40e286 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/pages/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/pages/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/pages/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/pages/page.tsx index 05ed1e6cb0..2b018e56de 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/pages/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/pages/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/views/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/views/header.tsx index 4ca18074a5..c8429d90c9 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/views/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/views/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/views/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/views/page.tsx index 39f46d11f2..594028f8f8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/views/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/views/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/header.tsx index ba3e7c5fd1..95d4720511 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/header.tsx index 0138b0ea84..b9daaae1e5 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/page.tsx index 5b2416f9ec..870c05fa75 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/layout.tsx index 8381edbe3d..1182c4d33b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { Outlet } from "react-router"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/header.tsx index c9a2348fb0..e8e3c4fe40 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/page.tsx index 21141c14ca..5b2cc065af 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/page.tsx index 00b9d7b534..39a804660d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/header.tsx index f69d22922b..957632b25c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/page.tsx index ff3309d458..9913d521c3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/layout.tsx index 977d9ebc9a..86229fe9c0 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { Outlet } from "react-router"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/page.tsx index 522e2ff5fb..c783250f5c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/layout.tsx index 854e6bbaf2..17bb8dcbee 100644 --- a/apps/web/app/(all)/[workspaceSlug]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import { AuthenticationWrapper } from "@/lib/wrappers/authentication-wrapper"; import { WorkspaceContentWrapper } from "@/plane-web/components/workspace/content-wrapper"; diff --git a/apps/web/app/(all)/accounts/forgot-password/layout.tsx b/apps/web/app/(all)/accounts/forgot-password/layout.tsx index 0e4b9b4beb..f503c81e28 100644 --- a/apps/web/app/(all)/accounts/forgot-password/layout.tsx +++ b/apps/web/app/(all)/accounts/forgot-password/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(all)/accounts/forgot-password/page.tsx b/apps/web/app/(all)/accounts/forgot-password/page.tsx index 299897364e..35d684c6d2 100644 --- a/apps/web/app/(all)/accounts/forgot-password/page.tsx +++ b/apps/web/app/(all)/accounts/forgot-password/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { ForgotPasswordForm } from "@/components/account/auth-forms/forgot-password"; diff --git a/apps/web/app/(all)/accounts/reset-password/layout.tsx b/apps/web/app/(all)/accounts/reset-password/layout.tsx index 30e798d44c..d3955daa82 100644 --- a/apps/web/app/(all)/accounts/reset-password/layout.tsx +++ b/apps/web/app/(all)/accounts/reset-password/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(all)/accounts/reset-password/page.tsx b/apps/web/app/(all)/accounts/reset-password/page.tsx index b37fb9aed6..68fc71e934 100644 --- a/apps/web/app/(all)/accounts/reset-password/page.tsx +++ b/apps/web/app/(all)/accounts/reset-password/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { EAuthModes } from "@plane/constants"; // components diff --git a/apps/web/app/(all)/accounts/set-password/layout.tsx b/apps/web/app/(all)/accounts/set-password/layout.tsx index 290d153a95..4455b84fcc 100644 --- a/apps/web/app/(all)/accounts/set-password/layout.tsx +++ b/apps/web/app/(all)/accounts/set-password/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(all)/accounts/set-password/page.tsx b/apps/web/app/(all)/accounts/set-password/page.tsx index 4e3a3bfa01..886f888729 100644 --- a/apps/web/app/(all)/accounts/set-password/page.tsx +++ b/apps/web/app/(all)/accounts/set-password/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { EAuthModes } from "@plane/constants"; // components diff --git a/apps/web/app/(all)/create-workspace/layout.tsx b/apps/web/app/(all)/create-workspace/layout.tsx index 880b1f3947..95b73bf8d2 100644 --- a/apps/web/app/(all)/create-workspace/layout.tsx +++ b/apps/web/app/(all)/create-workspace/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(all)/create-workspace/page.tsx b/apps/web/app/(all)/create-workspace/page.tsx index 0228efa2dc..23b8b16fc9 100644 --- a/apps/web/app/(all)/create-workspace/page.tsx +++ b/apps/web/app/(all)/create-workspace/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/app/(all)/invitations/layout.tsx b/apps/web/app/(all)/invitations/layout.tsx index cbda5f4c04..68f4fe7a48 100644 --- a/apps/web/app/(all)/invitations/layout.tsx +++ b/apps/web/app/(all)/invitations/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(all)/invitations/page.tsx b/apps/web/app/(all)/invitations/page.tsx index ca926bc502..5543c492cb 100644 --- a/apps/web/app/(all)/invitations/page.tsx +++ b/apps/web/app/(all)/invitations/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/app/(all)/layout.preload.tsx b/apps/web/app/(all)/layout.preload.tsx index af2368fa8c..e070eaa667 100644 --- a/apps/web/app/(all)/layout.preload.tsx +++ b/apps/web/app/(all)/layout.preload.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // TODO: Check if we need this // https://nextjs.org/docs/app/api-reference/functions/generate-metadata#link-relpreload // export const usePreloadResources = () => { diff --git a/apps/web/app/(all)/layout.tsx b/apps/web/app/(all)/layout.tsx index 986e93e4a5..ab06034b0b 100644 --- a/apps/web/app/(all)/layout.tsx +++ b/apps/web/app/(all)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; import { PreloadResources } from "./layout.preload"; diff --git a/apps/web/app/(all)/onboarding/layout.tsx b/apps/web/app/(all)/onboarding/layout.tsx index ac20091f29..fee10f7a09 100644 --- a/apps/web/app/(all)/onboarding/layout.tsx +++ b/apps/web/app/(all)/onboarding/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(all)/onboarding/page.tsx b/apps/web/app/(all)/onboarding/page.tsx index 9dc169495c..2f400962ab 100644 --- a/apps/web/app/(all)/onboarding/page.tsx +++ b/apps/web/app/(all)/onboarding/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/settings/profile/[profileTabId]/page.tsx b/apps/web/app/(all)/settings/profile/[profileTabId]/page.tsx index 6b481d8189..0a2ba9c9ac 100644 --- a/apps/web/app/(all)/settings/profile/[profileTabId]/page.tsx +++ b/apps/web/app/(all)/settings/profile/[profileTabId]/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PROFILE_SETTINGS_TABS } from "@plane/constants"; diff --git a/apps/web/app/(all)/settings/profile/layout.tsx b/apps/web/app/(all)/settings/profile/layout.tsx index 38311cb08d..5b34677671 100644 --- a/apps/web/app/(all)/settings/profile/layout.tsx +++ b/apps/web/app/(all)/settings/profile/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // components import { ProjectsAppPowerKProvider } from "@/components/power-k/projects-app-provider"; diff --git a/apps/web/app/(all)/sign-up/layout.tsx b/apps/web/app/(all)/sign-up/layout.tsx index daf5a0307b..97a8147e45 100644 --- a/apps/web/app/(all)/sign-up/layout.tsx +++ b/apps/web/app/(all)/sign-up/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(all)/sign-up/page.tsx b/apps/web/app/(all)/sign-up/page.tsx index b3563ae7d7..639d765cc5 100644 --- a/apps/web/app/(all)/sign-up/page.tsx +++ b/apps/web/app/(all)/sign-up/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { AuthBase } from "@/components/auth-screens/auth-base"; // helpers diff --git a/apps/web/app/(all)/workspace-invitations/layout.tsx b/apps/web/app/(all)/workspace-invitations/layout.tsx index cab6733a62..b9a7337461 100644 --- a/apps/web/app/(all)/workspace-invitations/layout.tsx +++ b/apps/web/app/(all)/workspace-invitations/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(all)/workspace-invitations/page.tsx b/apps/web/app/(all)/workspace-invitations/page.tsx index 315d825f86..a70bf51aa7 100644 --- a/apps/web/app/(all)/workspace-invitations/page.tsx +++ b/apps/web/app/(all)/workspace-invitations/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/app/(home)/layout.tsx b/apps/web/app/(home)/layout.tsx index a972f662ac..c723b076cf 100644 --- a/apps/web/app/(home)/layout.tsx +++ b/apps/web/app/(home)/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Outlet } from "react-router"; // types import type { Route } from "./+types/layout"; diff --git a/apps/web/app/(home)/page.tsx b/apps/web/app/(home)/page.tsx index 657ee50179..4717705f16 100644 --- a/apps/web/app/(home)/page.tsx +++ b/apps/web/app/(home)/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // components import { AuthBase } from "@/components/auth-screens/auth-base"; diff --git a/apps/web/app/compat/next/helper.ts b/apps/web/app/compat/next/helper.ts index c046998702..c4edf3d545 100644 --- a/apps/web/app/compat/next/helper.ts +++ b/apps/web/app/compat/next/helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Ensures that a URL has a trailing slash while preserving query parameters and fragments * @param url - The URL to process diff --git a/apps/web/app/compat/next/image.tsx b/apps/web/app/compat/next/image.tsx index 58e8765eb5..f229d0d5ff 100644 --- a/apps/web/app/compat/next/image.tsx +++ b/apps/web/app/compat/next/image.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // Minimal shim so code using next/image compiles under React Router + Vite diff --git a/apps/web/app/compat/next/link.tsx b/apps/web/app/compat/next/link.tsx index b0bca4faf5..85177560fc 100644 --- a/apps/web/app/compat/next/link.tsx +++ b/apps/web/app/compat/next/link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Link as RRLink } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/web/app/compat/next/navigation.ts b/apps/web/app/compat/next/navigation.ts index 7a5f099842..3803ffe1fb 100644 --- a/apps/web/app/compat/next/navigation.ts +++ b/apps/web/app/compat/next/navigation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { useLocation, useNavigate, useParams as useParamsRR, useSearchParams as useSearchParamsRR } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/web/app/compat/next/script.tsx b/apps/web/app/compat/next/script.tsx index af1063dbf1..c2b470b790 100644 --- a/apps/web/app/compat/next/script.tsx +++ b/apps/web/app/compat/next/script.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; type ScriptProps = { diff --git a/apps/web/app/entry.client.tsx b/apps/web/app/entry.client.tsx index 9cf1c32deb..0a87135953 100644 --- a/apps/web/app/entry.client.tsx +++ b/apps/web/app/entry.client.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as Sentry from "@sentry/react-router"; import { startTransition, StrictMode } from "react"; import { hydrateRoot } from "react-dom/client"; diff --git a/apps/web/app/error/dev.tsx b/apps/web/app/error/dev.tsx index 8dd696f0bf..787f4baf90 100644 --- a/apps/web/app/error/dev.tsx +++ b/apps/web/app/error/dev.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { isRouteErrorResponse } from "react-router"; import { Banner } from "@plane/propel/banner"; diff --git a/apps/web/app/error/index.tsx b/apps/web/app/error/index.tsx index d7da7a8dbc..9c3712b6da 100644 --- a/apps/web/app/error/index.tsx +++ b/apps/web/app/error/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // hooks import { useAppRouter } from "@/hooks/use-app-router"; // layouts diff --git a/apps/web/app/error/prod.tsx b/apps/web/app/error/prod.tsx index 75148e7838..fdbfcd5f1d 100644 --- a/apps/web/app/error/prod.tsx +++ b/apps/web/app/error/prod.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // plane imports import { Button } from "@plane/propel/button"; diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 04a46a2058..ab41f06d4e 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Script from "next/script"; // styles diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx index 44290d63cd..13763951ce 100644 --- a/apps/web/app/not-found.tsx +++ b/apps/web/app/not-found.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/app/provider.tsx b/apps/web/app/provider.tsx index ef696647b2..a8a5d27188 100644 --- a/apps/web/app/provider.tsx +++ b/apps/web/app/provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { lazy, Suspense } from "react"; import { useTheme } from "next-themes"; import { SWRConfig } from "swr"; diff --git a/apps/web/app/root.tsx b/apps/web/app/root.tsx index 2fbfd46c64..1125cab392 100644 --- a/apps/web/app/root.tsx +++ b/apps/web/app/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import * as Sentry from "@sentry/react-router"; import Script from "next/script"; diff --git a/apps/web/app/routes.ts b/apps/web/app/routes.ts index e862bd15f4..cdfea2ea16 100644 --- a/apps/web/app/routes.ts +++ b/apps/web/app/routes.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { route } from "@react-router/dev/routes"; import type { RouteConfigEntry } from "@react-router/dev/routes"; import { coreRoutes } from "./routes/core"; diff --git a/apps/web/app/routes/core.ts b/apps/web/app/routes/core.ts index daa83c95f8..c9c82bd247 100644 --- a/apps/web/app/routes/core.ts +++ b/apps/web/app/routes/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { index, layout, route } from "@react-router/dev/routes"; import type { RouteConfig, RouteConfigEntry } from "@react-router/dev/routes"; diff --git a/apps/web/app/routes/extended.ts b/apps/web/app/routes/extended.ts index bbc5aa4cc0..452d214ad9 100644 --- a/apps/web/app/routes/extended.ts +++ b/apps/web/app/routes/extended.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RouteConfigEntry } from "@react-router/dev/routes"; export const extendedRoutes: RouteConfigEntry[] = []; diff --git a/apps/web/app/routes/helper.ts b/apps/web/app/routes/helper.ts index 5db1c8855a..74dcab50ce 100644 --- a/apps/web/app/routes/helper.ts +++ b/apps/web/app/routes/helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RouteConfigEntry } from "@react-router/dev/routes"; /** diff --git a/apps/web/app/routes/redirects/core/accounts-signup.tsx b/apps/web/app/routes/redirects/core/accounts-signup.tsx index 5343e27bea..be1ca73ab2 100644 --- a/apps/web/app/routes/redirects/core/accounts-signup.tsx +++ b/apps/web/app/routes/redirects/core/accounts-signup.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; export const clientLoader = () => { diff --git a/apps/web/app/routes/redirects/core/analytics.tsx b/apps/web/app/routes/redirects/core/analytics.tsx index 21bacf5097..3cc7c81efa 100644 --- a/apps/web/app/routes/redirects/core/analytics.tsx +++ b/apps/web/app/routes/redirects/core/analytics.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; import type { Route } from "./+types/analytics"; diff --git a/apps/web/app/routes/redirects/core/api-tokens.tsx b/apps/web/app/routes/redirects/core/api-tokens.tsx index d97413084b..9d070a1675 100644 --- a/apps/web/app/routes/redirects/core/api-tokens.tsx +++ b/apps/web/app/routes/redirects/core/api-tokens.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; export const clientLoader = () => { diff --git a/apps/web/app/routes/redirects/core/inbox.tsx b/apps/web/app/routes/redirects/core/inbox.tsx index bf2bd9a503..2d71229a91 100644 --- a/apps/web/app/routes/redirects/core/inbox.tsx +++ b/apps/web/app/routes/redirects/core/inbox.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; import type { Route } from "./+types/inbox"; diff --git a/apps/web/app/routes/redirects/core/index.ts b/apps/web/app/routes/redirects/core/index.ts index 480386bf62..e1eaeca46e 100644 --- a/apps/web/app/routes/redirects/core/index.ts +++ b/apps/web/app/routes/redirects/core/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { route } from "@react-router/dev/routes"; import type { RouteConfigEntry } from "@react-router/dev/routes"; diff --git a/apps/web/app/routes/redirects/core/login.tsx b/apps/web/app/routes/redirects/core/login.tsx index ed49c8ca3e..d591a33fd7 100644 --- a/apps/web/app/routes/redirects/core/login.tsx +++ b/apps/web/app/routes/redirects/core/login.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; export const clientLoader = () => { diff --git a/apps/web/app/routes/redirects/core/profile-settings.tsx b/apps/web/app/routes/redirects/core/profile-settings.tsx index 7e8a0c15a2..82362df47e 100644 --- a/apps/web/app/routes/redirects/core/profile-settings.tsx +++ b/apps/web/app/routes/redirects/core/profile-settings.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; import type { Route } from "./+types/profile-settings"; diff --git a/apps/web/app/routes/redirects/core/project-settings.tsx b/apps/web/app/routes/redirects/core/project-settings.tsx index da14c515a9..db74d57cc7 100644 --- a/apps/web/app/routes/redirects/core/project-settings.tsx +++ b/apps/web/app/routes/redirects/core/project-settings.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; import type { Route } from "./+types/project-settings"; diff --git a/apps/web/app/routes/redirects/core/register.tsx b/apps/web/app/routes/redirects/core/register.tsx index 7910404957..bdcb453f97 100644 --- a/apps/web/app/routes/redirects/core/register.tsx +++ b/apps/web/app/routes/redirects/core/register.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; export const clientLoader = () => { diff --git a/apps/web/app/routes/redirects/core/sign-in.tsx b/apps/web/app/routes/redirects/core/sign-in.tsx index 83a91a3eb4..5016e254ec 100644 --- a/apps/web/app/routes/redirects/core/sign-in.tsx +++ b/apps/web/app/routes/redirects/core/sign-in.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; export const clientLoader = () => { diff --git a/apps/web/app/routes/redirects/core/signin.tsx b/apps/web/app/routes/redirects/core/signin.tsx index e440e83996..f557230de2 100644 --- a/apps/web/app/routes/redirects/core/signin.tsx +++ b/apps/web/app/routes/redirects/core/signin.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; export const clientLoader = () => { diff --git a/apps/web/app/routes/redirects/core/workspace-account-settings.tsx b/apps/web/app/routes/redirects/core/workspace-account-settings.tsx index 10d375e9a1..2e44a5bdad 100644 --- a/apps/web/app/routes/redirects/core/workspace-account-settings.tsx +++ b/apps/web/app/routes/redirects/core/workspace-account-settings.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { redirect } from "react-router"; import type { Route } from "./+types/workspace-account-settings"; diff --git a/apps/web/app/routes/redirects/extended/index.ts b/apps/web/app/routes/redirects/extended/index.ts index 7f2c496e15..7b4da929db 100644 --- a/apps/web/app/routes/redirects/extended/index.ts +++ b/apps/web/app/routes/redirects/extended/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RouteConfigEntry } from "@react-router/dev/routes"; export const extendedRedirectRoutes: RouteConfigEntry[] = []; diff --git a/apps/web/app/routes/redirects/index.ts b/apps/web/app/routes/redirects/index.ts index 4c78ea3545..b736b22f4b 100644 --- a/apps/web/app/routes/redirects/index.ts +++ b/apps/web/app/routes/redirects/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RouteConfigEntry } from "@react-router/dev/routes"; import { coreRedirectRoutes } from "./core"; import { extendedRedirectRoutes } from "./extended"; diff --git a/apps/web/ce/components/active-cycles/index.ts b/apps/web/ce/components/active-cycles/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/active-cycles/index.ts +++ b/apps/web/ce/components/active-cycles/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/active-cycles/root.tsx b/apps/web/ce/components/active-cycles/root.tsx index ae0aa9b1f7..81805656b3 100644 --- a/apps/web/ce/components/active-cycles/root.tsx +++ b/apps/web/ce/components/active-cycles/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import { WorkspaceActiveCyclesUpgrade } from "./workspace-active-cycles-upgrade"; diff --git a/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx b/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx index 512ef97093..d1702b94ce 100644 --- a/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx +++ b/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { AlertOctagon, BarChart4, CircleDashed, Folder, Microscope } from "lucide-react"; // plane imports diff --git a/apps/web/ce/components/analytics/tabs.tsx b/apps/web/ce/components/analytics/tabs.tsx index 3cca973990..1fdbc0cbcf 100644 --- a/apps/web/ce/components/analytics/tabs.tsx +++ b/apps/web/ce/components/analytics/tabs.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AnalyticsTab } from "@plane/types"; import { Overview } from "@/components/analytics/overview"; import { WorkItems } from "@/components/analytics/work-items"; diff --git a/apps/web/ce/components/analytics/use-analytics-tabs.tsx b/apps/web/ce/components/analytics/use-analytics-tabs.tsx index 71f1ab15fd..0387797512 100644 --- a/apps/web/ce/components/analytics/use-analytics-tabs.tsx +++ b/apps/web/ce/components/analytics/use-analytics-tabs.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { useTranslation } from "@plane/i18n"; import { getAnalyticsTabs } from "./tabs"; diff --git a/apps/web/ce/components/app-rail/app-rail-hoc.tsx b/apps/web/ce/components/app-rail/app-rail-hoc.tsx index 63d13e5c2e..82f25e1f68 100644 --- a/apps/web/ce/components/app-rail/app-rail-hoc.tsx +++ b/apps/web/ce/components/app-rail/app-rail-hoc.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // hoc/withDockItems.tsx import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/app-rail/index.ts b/apps/web/ce/components/app-rail/index.ts index c29a9bf13a..8b6ba42a4c 100644 --- a/apps/web/ce/components/app-rail/index.ts +++ b/apps/web/ce/components/app-rail/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./app-rail-hoc"; diff --git a/apps/web/ce/components/automations/list/wrapper.tsx b/apps/web/ce/components/automations/list/wrapper.tsx index 80b819aa09..f884b403fd 100644 --- a/apps/web/ce/components/automations/list/wrapper.tsx +++ b/apps/web/ce/components/automations/list/wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + type Props = { projectId: string; workspaceSlug: string; diff --git a/apps/web/ce/components/automations/root.tsx b/apps/web/ce/components/automations/root.tsx index 9dbb44942f..f36f36d3ce 100644 --- a/apps/web/ce/components/automations/root.tsx +++ b/apps/web/ce/components/automations/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; diff --git a/apps/web/ce/components/breadcrumbs/common.tsx b/apps/web/ce/components/breadcrumbs/common.tsx index 1aaeaaa78f..9040cb21b5 100644 --- a/apps/web/ce/components/breadcrumbs/common.tsx +++ b/apps/web/ce/components/breadcrumbs/common.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local components import { useProjectNavigationPreferences } from "@/hooks/use-navigation-preferences"; import { ProjectBreadcrumb } from "./project"; diff --git a/apps/web/ce/components/breadcrumbs/project-feature.tsx b/apps/web/ce/components/breadcrumbs/project-feature.tsx index 51d26d8ea6..4b076a7abd 100644 --- a/apps/web/ce/components/breadcrumbs/project-feature.tsx +++ b/apps/web/ce/components/breadcrumbs/project-feature.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/breadcrumbs/project.tsx b/apps/web/ce/components/breadcrumbs/project.tsx index fc17a5eb1f..b83ecf0470 100644 --- a/apps/web/ce/components/breadcrumbs/project.tsx +++ b/apps/web/ce/components/breadcrumbs/project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Logo } from "@plane/propel/emoji-icon-picker"; import { ProjectIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/browse/workItem-detail.tsx b/apps/web/ce/components/browse/workItem-detail.tsx index 64c466fbdf..b56a9d940a 100644 --- a/apps/web/ce/components/browse/workItem-detail.tsx +++ b/apps/web/ce/components/browse/workItem-detail.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { TIssue } from "@plane/types"; import { IssueDetailRoot } from "@/components/issues/issue-detail/root"; diff --git a/apps/web/ce/components/command-palette/actions/index.ts b/apps/web/ce/components/command-palette/actions/index.ts index c7f1e122d1..a6961e2387 100644 --- a/apps/web/ce/components/command-palette/actions/index.ts +++ b/apps/web/ce/components/command-palette/actions/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./work-item-actions"; diff --git a/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx b/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx index 91ccd7444c..69e4aed88e 100644 --- a/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx +++ b/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Command } from "cmdk"; import { observer } from "mobx-react"; import { EIconSize } from "@plane/constants"; diff --git a/apps/web/ce/components/command-palette/actions/work-item-actions/index.ts b/apps/web/ce/components/command-palette/actions/work-item-actions/index.ts index ac7f8aa866..3f2f8c0718 100644 --- a/apps/web/ce/components/command-palette/actions/work-item-actions/index.ts +++ b/apps/web/ce/components/command-palette/actions/work-item-actions/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./change-state-list"; diff --git a/apps/web/ce/components/command-palette/helpers.tsx b/apps/web/ce/components/command-palette/helpers.tsx index 714f9a7e59..d691579226 100644 --- a/apps/web/ce/components/command-palette/helpers.tsx +++ b/apps/web/ce/components/command-palette/helpers.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { LayoutGrid } from "lucide-react"; // plane imports import { CycleIcon, ModuleIcon, PageIcon, ProjectIcon, ViewsIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/command-palette/index.ts b/apps/web/ce/components/command-palette/index.ts index cb220b2bd9..128f77fb15 100644 --- a/apps/web/ce/components/command-palette/index.ts +++ b/apps/web/ce/components/command-palette/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./actions"; export * from "./helpers"; diff --git a/apps/web/ce/components/command-palette/modals/project-level.tsx b/apps/web/ce/components/command-palette/modals/project-level.tsx index baf430f55e..e01b002efd 100644 --- a/apps/web/ce/components/command-palette/modals/project-level.tsx +++ b/apps/web/ce/components/command-palette/modals/project-level.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { CycleCreateUpdateModal } from "@/components/cycles/modal"; diff --git a/apps/web/ce/components/command-palette/modals/work-item-level.tsx b/apps/web/ce/components/command-palette/modals/work-item-level.tsx index 8f71596c7f..cb9d8dc228 100644 --- a/apps/web/ce/components/command-palette/modals/work-item-level.tsx +++ b/apps/web/ce/components/command-palette/modals/work-item-level.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/ce/components/command-palette/modals/workspace-level.tsx b/apps/web/ce/components/command-palette/modals/workspace-level.tsx index 6a82d54e91..e07f5d1a38 100644 --- a/apps/web/ce/components/command-palette/modals/workspace-level.tsx +++ b/apps/web/ce/components/command-palette/modals/workspace-level.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { CreateProjectModal } from "@/components/project/create-project-modal"; diff --git a/apps/web/ce/components/command-palette/power-k/constants.ts b/apps/web/ce/components/command-palette/power-k/constants.ts index 3b2a051c20..870a4f46ba 100644 --- a/apps/web/ce/components/command-palette/power-k/constants.ts +++ b/apps/web/ce/components/command-palette/power-k/constants.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // core import type { TPowerKModalPageDetails } from "@/components/power-k/ui/modal/constants"; // local imports diff --git a/apps/web/ce/components/command-palette/power-k/context-detector.ts b/apps/web/ce/components/command-palette/power-k/context-detector.ts index e84ca20b89..42dcc201a4 100644 --- a/apps/web/ce/components/command-palette/power-k/context-detector.ts +++ b/apps/web/ce/components/command-palette/power-k/context-detector.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Params } from "react-router"; // local imports import type { TPowerKContextTypeExtended } from "./types"; diff --git a/apps/web/ce/components/command-palette/power-k/hooks/use-extended-context-indicator.ts b/apps/web/ce/components/command-palette/power-k/hooks/use-extended-context-indicator.ts index e92e54e2e6..e24bc08aa1 100644 --- a/apps/web/ce/components/command-palette/power-k/hooks/use-extended-context-indicator.ts +++ b/apps/web/ce/components/command-palette/power-k/hooks/use-extended-context-indicator.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import type { TPowerKContextType } from "@/components/power-k/core/types"; diff --git a/apps/web/ce/components/command-palette/power-k/pages/context-based/index.ts b/apps/web/ce/components/command-palette/power-k/pages/context-based/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/command-palette/power-k/pages/context-based/index.ts +++ b/apps/web/ce/components/command-palette/power-k/pages/context-based/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/command-palette/power-k/pages/context-based/root.tsx b/apps/web/ce/components/command-palette/power-k/pages/context-based/root.tsx index 12833d9df3..1cac3d3f0c 100644 --- a/apps/web/ce/components/command-palette/power-k/pages/context-based/root.tsx +++ b/apps/web/ce/components/command-palette/power-k/pages/context-based/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import type { TPowerKCommandConfig } from "@/components/power-k/core/types"; import type { ContextBasedActionsProps, TContextEntityMap } from "@/components/power-k/ui/pages/context-based"; diff --git a/apps/web/ce/components/command-palette/power-k/pages/context-based/work-item/state-menu-item.tsx b/apps/web/ce/components/command-palette/power-k/pages/context-based/work-item/state-menu-item.tsx index 2478fdf4f0..f9e2497b00 100644 --- a/apps/web/ce/components/command-palette/power-k/pages/context-based/work-item/state-menu-item.tsx +++ b/apps/web/ce/components/command-palette/power-k/pages/context-based/work-item/state-menu-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import { StateGroupIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx b/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx index 8639b52be8..af4debf751 100644 --- a/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx +++ b/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Command } from "cmdk"; import { useTranslation } from "@plane/i18n"; import { SearchIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/command-palette/power-k/search/search-results-map.tsx b/apps/web/ce/components/command-palette/power-k/search/search-results-map.tsx index 90d5b5f20a..c137f6f779 100644 --- a/apps/web/ce/components/command-palette/power-k/search/search-results-map.tsx +++ b/apps/web/ce/components/command-palette/power-k/search/search-results-map.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import type { TPowerKSearchResultGroupDetails } from "@/components/power-k/ui/modal/search-results-map"; // local imports diff --git a/apps/web/ce/components/command-palette/power-k/types.ts b/apps/web/ce/components/command-palette/power-k/types.ts index 4e497f8b87..9d0086f70f 100644 --- a/apps/web/ce/components/command-palette/power-k/types.ts +++ b/apps/web/ce/components/command-palette/power-k/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TPowerKContextTypeExtended = never; export type TPowerKPageTypeExtended = never; diff --git a/apps/web/ce/components/comments/comment-block.tsx b/apps/web/ce/components/comments/comment-block.tsx index 47590e53ff..84feaa6ee3 100644 --- a/apps/web/ce/components/comments/comment-block.tsx +++ b/apps/web/ce/components/comments/comment-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/comments/index.ts b/apps/web/ce/components/comments/index.ts index 6144f52360..3bbc477fb9 100644 --- a/apps/web/ce/components/comments/index.ts +++ b/apps/web/ce/components/comments/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./comment-block"; export { CommentCardDisplay } from "@/components/comments/card/display"; diff --git a/apps/web/ce/components/common/extended-app-header.tsx b/apps/web/ce/components/common/extended-app-header.tsx index 10c782d32b..8149e25c69 100644 --- a/apps/web/ce/components/common/extended-app-header.tsx +++ b/apps/web/ce/components/common/extended-app-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; import { useParams } from "react-router"; diff --git a/apps/web/ce/components/common/modal/global.tsx b/apps/web/ce/components/common/modal/global.tsx index 76b859c3e8..98292c6bd8 100644 --- a/apps/web/ce/components/common/modal/global.tsx +++ b/apps/web/ce/components/common/modal/global.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { lazy, Suspense } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/common/quick-actions-factory.tsx b/apps/web/ce/components/common/quick-actions-factory.tsx index a59a61e533..9f94c8ddf1 100644 --- a/apps/web/ce/components/common/quick-actions-factory.tsx +++ b/apps/web/ce/components/common/quick-actions-factory.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { useQuickActionsFactory } from "@/components/common/quick-actions-factory"; diff --git a/apps/web/ce/components/common/subscription/subscription-pill.tsx b/apps/web/ce/components/common/subscription/subscription-pill.tsx index e03ecf8d75..f286b870a3 100644 --- a/apps/web/ce/components/common/subscription/subscription-pill.tsx +++ b/apps/web/ce/components/common/subscription/subscription-pill.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IWorkspace } from "@plane/types"; type TProps = { diff --git a/apps/web/ce/components/cycles/active-cycle/index.ts b/apps/web/ce/components/cycles/active-cycle/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/cycles/active-cycle/index.ts +++ b/apps/web/ce/components/cycles/active-cycle/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/cycles/active-cycle/root.tsx b/apps/web/ce/components/cycles/active-cycle/root.tsx index 465dfaa602..99ffdae74f 100644 --- a/apps/web/ce/components/cycles/active-cycle/root.tsx +++ b/apps/web/ce/components/cycles/active-cycle/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTheme } from "next-themes"; import { Disclosure } from "@headlessui/react"; diff --git a/apps/web/ce/components/cycles/additional-actions.tsx b/apps/web/ce/components/cycles/additional-actions.tsx index 96a4a004d1..843e9e51e9 100644 --- a/apps/web/ce/components/cycles/additional-actions.tsx +++ b/apps/web/ce/components/cycles/additional-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; type Props = { diff --git a/apps/web/ce/components/cycles/analytics-sidebar/base.tsx b/apps/web/ce/components/cycles/analytics-sidebar/base.tsx index 3bcf283217..5dd97c32dd 100644 --- a/apps/web/ce/components/cycles/analytics-sidebar/base.tsx +++ b/apps/web/ce/components/cycles/analytics-sidebar/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/cycles/analytics-sidebar/index.ts b/apps/web/ce/components/cycles/analytics-sidebar/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/cycles/analytics-sidebar/index.ts +++ b/apps/web/ce/components/cycles/analytics-sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/cycles/analytics-sidebar/root.tsx b/apps/web/ce/components/cycles/analytics-sidebar/root.tsx index 947a8844cb..ce0865c4d4 100644 --- a/apps/web/ce/components/cycles/analytics-sidebar/root.tsx +++ b/apps/web/ce/components/cycles/analytics-sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; // components diff --git a/apps/web/ce/components/cycles/end-cycle/index.ts b/apps/web/ce/components/cycles/end-cycle/index.ts index 031608e25f..dd65a9ec34 100644 --- a/apps/web/ce/components/cycles/end-cycle/index.ts +++ b/apps/web/ce/components/cycles/end-cycle/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; diff --git a/apps/web/ce/components/cycles/end-cycle/modal.tsx b/apps/web/ce/components/cycles/end-cycle/modal.tsx index 87b4ded455..98c906942b 100644 --- a/apps/web/ce/components/cycles/end-cycle/modal.tsx +++ b/apps/web/ce/components/cycles/end-cycle/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; interface Props { diff --git a/apps/web/ce/components/cycles/index.ts b/apps/web/ce/components/cycles/index.ts index 1da1150255..defcd502a9 100644 --- a/apps/web/ce/components/cycles/index.ts +++ b/apps/web/ce/components/cycles/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./active-cycle"; export * from "./analytics-sidebar"; export * from "./additional-actions"; diff --git a/apps/web/ce/components/de-dupe/de-dupe-button.tsx b/apps/web/ce/components/de-dupe/de-dupe-button.tsx index 1575abac83..2060f15566 100644 --- a/apps/web/ce/components/de-dupe/de-dupe-button.tsx +++ b/apps/web/ce/components/de-dupe/de-dupe-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; // local components diff --git a/apps/web/ce/components/de-dupe/duplicate-modal/index.ts b/apps/web/ce/components/de-dupe/duplicate-modal/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/de-dupe/duplicate-modal/index.ts +++ b/apps/web/ce/components/de-dupe/duplicate-modal/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/de-dupe/duplicate-modal/root.tsx b/apps/web/ce/components/de-dupe/duplicate-modal/root.tsx index 577152beee..60e3ec924c 100644 --- a/apps/web/ce/components/de-dupe/duplicate-modal/root.tsx +++ b/apps/web/ce/components/de-dupe/duplicate-modal/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // types import type { TDeDupeIssue } from "@plane/types"; diff --git a/apps/web/ce/components/de-dupe/duplicate-popover/index.ts b/apps/web/ce/components/de-dupe/duplicate-popover/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/de-dupe/duplicate-popover/index.ts +++ b/apps/web/ce/components/de-dupe/duplicate-popover/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/de-dupe/duplicate-popover/root.tsx b/apps/web/ce/components/de-dupe/duplicate-popover/root.tsx index 957fb01f21..51dfff897f 100644 --- a/apps/web/ce/components/de-dupe/duplicate-popover/root.tsx +++ b/apps/web/ce/components/de-dupe/duplicate-popover/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/de-dupe/issue-block/button-label.tsx b/apps/web/ce/components/de-dupe/issue-block/button-label.tsx index 2ec2b8caa6..461187bd09 100644 --- a/apps/web/ce/components/de-dupe/issue-block/button-label.tsx +++ b/apps/web/ce/components/de-dupe/issue-block/button-label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; type TDeDupeIssueButtonLabelProps = { diff --git a/apps/web/ce/components/desktop/helper.ts b/apps/web/ce/components/desktop/helper.ts index 2082e74ed8..cae74441f4 100644 --- a/apps/web/ce/components/desktop/helper.ts +++ b/apps/web/ce/components/desktop/helper.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const isSidebarToggleVisible = () => true; diff --git a/apps/web/ce/components/desktop/index.ts b/apps/web/ce/components/desktop/index.ts index c562f81021..8b7f5878ec 100644 --- a/apps/web/ce/components/desktop/index.ts +++ b/apps/web/ce/components/desktop/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./helper"; export * from "./sidebar-workspace-menu"; diff --git a/apps/web/ce/components/desktop/sidebar-workspace-menu.tsx b/apps/web/ce/components/desktop/sidebar-workspace-menu.tsx index 98ea7e961e..9dadb9ef2e 100644 --- a/apps/web/ce/components/desktop/sidebar-workspace-menu.tsx +++ b/apps/web/ce/components/desktop/sidebar-workspace-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function DesktopSidebarWorkspaceMenu() { return null; } diff --git a/apps/web/ce/components/editor/embeds/mentions/index.ts b/apps/web/ce/components/editor/embeds/mentions/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/editor/embeds/mentions/index.ts +++ b/apps/web/ce/components/editor/embeds/mentions/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/editor/embeds/mentions/root.tsx b/apps/web/ce/components/editor/embeds/mentions/root.tsx index 2f3f9a5b6a..21802e0a6d 100644 --- a/apps/web/ce/components/editor/embeds/mentions/root.tsx +++ b/apps/web/ce/components/editor/embeds/mentions/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TCallbackMentionComponentProps } from "@plane/editor"; diff --git a/apps/web/ce/components/epics/epic-modal/index.ts b/apps/web/ce/components/epics/epic-modal/index.ts index 031608e25f..dd65a9ec34 100644 --- a/apps/web/ce/components/epics/epic-modal/index.ts +++ b/apps/web/ce/components/epics/epic-modal/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; diff --git a/apps/web/ce/components/epics/epic-modal/modal.tsx b/apps/web/ce/components/epics/epic-modal/modal.tsx index f1dbe83d53..14509d580d 100644 --- a/apps/web/ce/components/epics/epic-modal/modal.tsx +++ b/apps/web/ce/components/epics/epic-modal/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import type { TIssue } from "@plane/types"; diff --git a/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx b/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx index d20c0217ac..02934a2311 100644 --- a/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx +++ b/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { PROJECT_SETTINGS_TRACKER_ELEMENTS } from "@plane/constants"; import { TrashIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/estimates/helper.tsx b/apps/web/ce/components/estimates/helper.tsx index 71b5be8a18..12c91f62f7 100644 --- a/apps/web/ce/components/estimates/helper.tsx +++ b/apps/web/ce/components/estimates/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TEstimateSystemKeys } from "@plane/types"; import { EEstimateSystem } from "@plane/types"; diff --git a/apps/web/ce/components/estimates/index.ts b/apps/web/ce/components/estimates/index.ts index 4852874e24..7fd8f88cfd 100644 --- a/apps/web/ce/components/estimates/index.ts +++ b/apps/web/ce/components/estimates/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./estimate-list-item-buttons"; export * from "./update"; export * from "./points"; diff --git a/apps/web/ce/components/estimates/inputs/index.ts b/apps/web/ce/components/estimates/inputs/index.ts index 49b9c68c44..778cadf32f 100644 --- a/apps/web/ce/components/estimates/inputs/index.ts +++ b/apps/web/ce/components/estimates/inputs/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./time-input"; diff --git a/apps/web/ce/components/estimates/inputs/time-input.tsx b/apps/web/ce/components/estimates/inputs/time-input.tsx index 17d6cec9df..f210f0083a 100644 --- a/apps/web/ce/components/estimates/inputs/time-input.tsx +++ b/apps/web/ce/components/estimates/inputs/time-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; export type TEstimateTimeInputProps = { diff --git a/apps/web/ce/components/estimates/points/delete.tsx b/apps/web/ce/components/estimates/points/delete.tsx index e59dae5547..f5969a9392 100644 --- a/apps/web/ce/components/estimates/points/delete.tsx +++ b/apps/web/ce/components/estimates/points/delete.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeErrorObject } from "@plane/types"; diff --git a/apps/web/ce/components/estimates/points/index.ts b/apps/web/ce/components/estimates/points/index.ts index fe722bd231..c83c4600f4 100644 --- a/apps/web/ce/components/estimates/points/index.ts +++ b/apps/web/ce/components/estimates/points/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./delete"; diff --git a/apps/web/ce/components/estimates/update/index.ts b/apps/web/ce/components/estimates/update/index.ts index 031608e25f..dd65a9ec34 100644 --- a/apps/web/ce/components/estimates/update/index.ts +++ b/apps/web/ce/components/estimates/update/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; diff --git a/apps/web/ce/components/estimates/update/modal.tsx b/apps/web/ce/components/estimates/update/modal.tsx index 09c6e7649f..cfb6720977 100644 --- a/apps/web/ce/components/estimates/update/modal.tsx +++ b/apps/web/ce/components/estimates/update/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/gantt-chart/blocks/block-row-list.tsx b/apps/web/ce/components/gantt-chart/blocks/block-row-list.tsx index 8de8f722bb..25cb82a645 100644 --- a/apps/web/ce/components/gantt-chart/blocks/block-row-list.tsx +++ b/apps/web/ce/components/gantt-chart/blocks/block-row-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import type { IBlockUpdateData, IGanttBlock } from "@plane/types"; import RenderIfVisible from "@/components/core/render-if-visible-HOC"; diff --git a/apps/web/ce/components/gantt-chart/blocks/blocks-list.tsx b/apps/web/ce/components/gantt-chart/blocks/blocks-list.tsx index 1a14dd2de3..2c252ded63 100644 --- a/apps/web/ce/components/gantt-chart/blocks/blocks-list.tsx +++ b/apps/web/ce/components/gantt-chart/blocks/blocks-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // import type { IBlockUpdateDependencyData } from "@plane/types"; diff --git a/apps/web/ce/components/gantt-chart/dependency/blockDraggables/index.ts b/apps/web/ce/components/gantt-chart/dependency/blockDraggables/index.ts index c2f4f8aecf..47ac85d92b 100644 --- a/apps/web/ce/components/gantt-chart/dependency/blockDraggables/index.ts +++ b/apps/web/ce/components/gantt-chart/dependency/blockDraggables/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./left-draggable"; export * from "./right-draggable"; diff --git a/apps/web/ce/components/gantt-chart/dependency/blockDraggables/left-draggable.tsx b/apps/web/ce/components/gantt-chart/dependency/blockDraggables/left-draggable.tsx index 5257bacece..252e331760 100644 --- a/apps/web/ce/components/gantt-chart/dependency/blockDraggables/left-draggable.tsx +++ b/apps/web/ce/components/gantt-chart/dependency/blockDraggables/left-draggable.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import type { IGanttBlock } from "@plane/types"; diff --git a/apps/web/ce/components/gantt-chart/dependency/blockDraggables/right-draggable.tsx b/apps/web/ce/components/gantt-chart/dependency/blockDraggables/right-draggable.tsx index a8388d4f40..059702dd00 100644 --- a/apps/web/ce/components/gantt-chart/dependency/blockDraggables/right-draggable.tsx +++ b/apps/web/ce/components/gantt-chart/dependency/blockDraggables/right-draggable.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import type { IGanttBlock } from "@plane/types"; diff --git a/apps/web/ce/components/gantt-chart/dependency/dependency-paths.tsx b/apps/web/ce/components/gantt-chart/dependency/dependency-paths.tsx index d88f5206da..92c531cfef 100644 --- a/apps/web/ce/components/gantt-chart/dependency/dependency-paths.tsx +++ b/apps/web/ce/components/gantt-chart/dependency/dependency-paths.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; type Props = { diff --git a/apps/web/ce/components/gantt-chart/dependency/draggable-dependency-path.tsx b/apps/web/ce/components/gantt-chart/dependency/draggable-dependency-path.tsx index d37b2f5506..0f73549ef1 100644 --- a/apps/web/ce/components/gantt-chart/dependency/draggable-dependency-path.tsx +++ b/apps/web/ce/components/gantt-chart/dependency/draggable-dependency-path.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function TimelineDraggablePath() { return <>; } diff --git a/apps/web/ce/components/gantt-chart/dependency/index.ts b/apps/web/ce/components/gantt-chart/dependency/index.ts index 91d0018db5..d92fa43db6 100644 --- a/apps/web/ce/components/gantt-chart/dependency/index.ts +++ b/apps/web/ce/components/gantt-chart/dependency/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./blockDraggables"; export * from "./dependency-paths"; export * from "./draggable-dependency-path"; diff --git a/apps/web/ce/components/gantt-chart/index.ts b/apps/web/ce/components/gantt-chart/index.ts index d652e4bbce..cebec203cb 100644 --- a/apps/web/ce/components/gantt-chart/index.ts +++ b/apps/web/ce/components/gantt-chart/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./dependency"; export * from "./layers"; diff --git a/apps/web/ce/components/gantt-chart/layers/additional-layers.tsx b/apps/web/ce/components/gantt-chart/layers/additional-layers.tsx index 5cc7c2ce5e..0a5ced219e 100644 --- a/apps/web/ce/components/gantt-chart/layers/additional-layers.tsx +++ b/apps/web/ce/components/gantt-chart/layers/additional-layers.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; type Props = { diff --git a/apps/web/ce/components/gantt-chart/layers/index.ts b/apps/web/ce/components/gantt-chart/layers/index.ts index fcd77a972c..84012f80a4 100644 --- a/apps/web/ce/components/gantt-chart/layers/index.ts +++ b/apps/web/ce/components/gantt-chart/layers/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { GanttAdditionalLayers } from "./additional-layers"; diff --git a/apps/web/ce/components/global/index.ts b/apps/web/ce/components/global/index.ts index 08b85c764c..1d62fc2cfe 100644 --- a/apps/web/ce/components/global/index.ts +++ b/apps/web/ce/components/global/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./version-number"; diff --git a/apps/web/ce/components/global/product-updates/changelog.tsx b/apps/web/ce/components/global/product-updates/changelog.tsx index 672b7490bc..2418a4f397 100644 --- a/apps/web/ce/components/global/product-updates/changelog.tsx +++ b/apps/web/ce/components/global/product-updates/changelog.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect, useRef } from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/web/ce/components/global/product-updates/header.tsx b/apps/web/ce/components/global/product-updates/header.tsx index 0f6d26e572..93720d58c2 100644 --- a/apps/web/ce/components/global/product-updates/header.tsx +++ b/apps/web/ce/components/global/product-updates/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import packageJson from "package.json"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/ce/components/global/version-number.tsx b/apps/web/ce/components/global/version-number.tsx index b04ae581ea..a883eac9d6 100644 --- a/apps/web/ce/components/global/version-number.tsx +++ b/apps/web/ce/components/global/version-number.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // assets import { useTranslation } from "@plane/i18n"; import packageJson from "package.json"; diff --git a/apps/web/ce/components/home/header.tsx b/apps/web/ce/components/home/header.tsx index ac905596ee..5fab957355 100644 --- a/apps/web/ce/components/home/header.tsx +++ b/apps/web/ce/components/home/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function HomePageHeader() { return <>; } diff --git a/apps/web/ce/components/home/index.ts b/apps/web/ce/components/home/index.ts index d64a7a983d..9a89775602 100644 --- a/apps/web/ce/components/home/index.ts +++ b/apps/web/ce/components/home/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./peek-overviews"; diff --git a/apps/web/ce/components/home/peek-overviews.tsx b/apps/web/ce/components/home/peek-overviews.tsx index 74d2d7d5a9..2c869df144 100644 --- a/apps/web/ce/components/home/peek-overviews.tsx +++ b/apps/web/ce/components/home/peek-overviews.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { IssuePeekOverview } from "@/components/issues/peek-overview"; import { useIssueDetail } from "@/hooks/store/use-issue-detail"; diff --git a/apps/web/ce/components/inbox/source-pill.tsx b/apps/web/ce/components/inbox/source-pill.tsx index 1d8bc06eae..a9f2303088 100644 --- a/apps/web/ce/components/inbox/source-pill.tsx +++ b/apps/web/ce/components/inbox/source-pill.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EInboxIssueSource } from "@plane/types"; export type TInboxSourcePill = { diff --git a/apps/web/ce/components/instance/index.ts b/apps/web/ce/components/instance/index.ts index 960f954e75..78624d0ec5 100644 --- a/apps/web/ce/components/instance/index.ts +++ b/apps/web/ce/components/instance/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./maintenance-message"; diff --git a/apps/web/ce/components/instance/maintenance-message.tsx b/apps/web/ce/components/instance/maintenance-message.tsx index e8dc103529..d33b3e2bad 100644 --- a/apps/web/ce/components/instance/maintenance-message.tsx +++ b/apps/web/ce/components/instance/maintenance-message.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function MaintenanceMessage() { const linkMap = [ { diff --git a/apps/web/ce/components/issues/bulk-operations/index.ts b/apps/web/ce/components/issues/bulk-operations/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/issues/bulk-operations/index.ts +++ b/apps/web/ce/components/issues/bulk-operations/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/issues/bulk-operations/root.tsx b/apps/web/ce/components/issues/bulk-operations/root.tsx index fef3b7220d..567fd12d23 100644 --- a/apps/web/ce/components/issues/bulk-operations/root.tsx +++ b/apps/web/ce/components/issues/bulk-operations/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { BulkOperationsUpgradeBanner } from "@/components/issues/bulk-operations/upgrade-banner"; diff --git a/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx b/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx index 21047074a9..09ff7737f5 100644 --- a/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx +++ b/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; type Props = { diff --git a/apps/web/ce/components/issues/filters/issue-types.tsx b/apps/web/ce/components/issues/filters/issue-types.tsx index dc3397e2cb..8c9bc6f060 100644 --- a/apps/web/ce/components/issues/filters/issue-types.tsx +++ b/apps/web/ce/components/issues/filters/issue-types.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/filters/team-project.tsx b/apps/web/ce/components/issues/filters/team-project.tsx index dd82531901..e231da3d15 100644 --- a/apps/web/ce/components/issues/filters/team-project.tsx +++ b/apps/web/ce/components/issues/filters/team-project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/header.tsx b/apps/web/ce/components/issues/header.tsx index 89772ae197..4871217bb9 100644 --- a/apps/web/ce/components/issues/header.tsx +++ b/apps/web/ce/components/issues/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // icons diff --git a/apps/web/ce/components/issues/issue-detail-widgets/action-buttons.tsx b/apps/web/ce/components/issues/issue-detail-widgets/action-buttons.tsx index bac610826e..d1e200e222 100644 --- a/apps/web/ce/components/issues/issue-detail-widgets/action-buttons.tsx +++ b/apps/web/ce/components/issues/issue-detail-widgets/action-buttons.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // plane types import type { TIssueServiceType, TWorkItemWidgets } from "@plane/types"; diff --git a/apps/web/ce/components/issues/issue-detail-widgets/collapsibles.tsx b/apps/web/ce/components/issues/issue-detail-widgets/collapsibles.tsx index 092663d903..02cf461199 100644 --- a/apps/web/ce/components/issues/issue-detail-widgets/collapsibles.tsx +++ b/apps/web/ce/components/issues/issue-detail-widgets/collapsibles.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // plane types import type { TIssueServiceType, TWorkItemWidgets } from "@plane/types"; diff --git a/apps/web/ce/components/issues/issue-detail-widgets/modals.tsx b/apps/web/ce/components/issues/issue-detail-widgets/modals.tsx index 07327c44c1..8be9058da3 100644 --- a/apps/web/ce/components/issues/issue-detail-widgets/modals.tsx +++ b/apps/web/ce/components/issues/issue-detail-widgets/modals.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // plane types import type { TIssueServiceType, TWorkItemWidgets } from "@plane/types"; diff --git a/apps/web/ce/components/issues/issue-details/additional-activity-root.tsx b/apps/web/ce/components/issues/issue-details/additional-activity-root.tsx index 1097356457..345811e553 100644 --- a/apps/web/ce/components/issues/issue-details/additional-activity-root.tsx +++ b/apps/web/ce/components/issues/issue-details/additional-activity-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/issue-details/additional-properties.tsx b/apps/web/ce/components/issues/issue-details/additional-properties.tsx index 69602593e3..7f04dde779 100644 --- a/apps/web/ce/components/issues/issue-details/additional-properties.tsx +++ b/apps/web/ce/components/issues/issue-details/additional-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; // plane imports diff --git a/apps/web/ce/components/issues/issue-details/index.ts b/apps/web/ce/components/issues/issue-details/index.ts index c5724f0f73..abd9df1638 100644 --- a/apps/web/ce/components/issues/issue-details/index.ts +++ b/apps/web/ce/components/issues/issue-details/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue-identifier"; export * from "./issue-properties-activity"; export * from "./issue-type-switcher"; diff --git a/apps/web/ce/components/issues/issue-details/issue-creator.tsx b/apps/web/ce/components/issues/issue-details/issue-creator.tsx index f56de6be97..6b82ad6fd8 100644 --- a/apps/web/ce/components/issues/issue-details/issue-creator.tsx +++ b/apps/web/ce/components/issues/issue-details/issue-creator.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import Link from "next/link"; // hooks diff --git a/apps/web/ce/components/issues/issue-details/issue-identifier.tsx b/apps/web/ce/components/issues/issue-details/issue-identifier.tsx index e4eaba42c2..f2f8a55790 100644 --- a/apps/web/ce/components/issues/issue-details/issue-identifier.tsx +++ b/apps/web/ce/components/issues/issue-details/issue-identifier.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { TIssueIdentifierProps, TIssueTypeIdentifier } from "@plane/types"; diff --git a/apps/web/ce/components/issues/issue-details/issue-properties-activity/index.ts b/apps/web/ce/components/issues/issue-details/issue-properties-activity/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/issues/issue-details/issue-properties-activity/index.ts +++ b/apps/web/ce/components/issues/issue-details/issue-properties-activity/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/issues/issue-details/issue-properties-activity/root.tsx b/apps/web/ce/components/issues/issue-details/issue-properties-activity/root.tsx index 43ad4d3aae..db97243b13 100644 --- a/apps/web/ce/components/issues/issue-details/issue-properties-activity/root.tsx +++ b/apps/web/ce/components/issues/issue-details/issue-properties-activity/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; type TIssueAdditionalPropertiesActivity = { diff --git a/apps/web/ce/components/issues/issue-details/issue-type-activity.tsx b/apps/web/ce/components/issues/issue-details/issue-type-activity.tsx index 7eb04be1fc..d85155aaf1 100644 --- a/apps/web/ce/components/issues/issue-details/issue-type-activity.tsx +++ b/apps/web/ce/components/issues/issue-details/issue-type-activity.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/issue-details/issue-type-switcher.tsx b/apps/web/ce/components/issues/issue-details/issue-type-switcher.tsx index b46ebe03d2..87e60aca67 100644 --- a/apps/web/ce/components/issues/issue-details/issue-type-switcher.tsx +++ b/apps/web/ce/components/issues/issue-details/issue-type-switcher.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // store hooks import { useIssueDetail } from "@/hooks/store/use-issue-detail"; diff --git a/apps/web/ce/components/issues/issue-details/parent-select-root.tsx b/apps/web/ce/components/issues/issue-details/parent-select-root.tsx index d606dac816..2a1d2b51d0 100644 --- a/apps/web/ce/components/issues/issue-details/parent-select-root.tsx +++ b/apps/web/ce/components/issues/issue-details/parent-select-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/issues/issue-details/sidebar/date-alert.tsx b/apps/web/ce/components/issues/issue-details/sidebar/date-alert.tsx index a0f3afed48..6d5459f53d 100644 --- a/apps/web/ce/components/issues/issue-details/sidebar/date-alert.tsx +++ b/apps/web/ce/components/issues/issue-details/sidebar/date-alert.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssue } from "@plane/types"; export type TDateAlertProps = { diff --git a/apps/web/ce/components/issues/issue-details/sidebar/transfer-hop-info.tsx b/apps/web/ce/components/issues/issue-details/sidebar/transfer-hop-info.tsx index 51f616680b..071c8476e9 100644 --- a/apps/web/ce/components/issues/issue-details/sidebar/transfer-hop-info.tsx +++ b/apps/web/ce/components/issues/issue-details/sidebar/transfer-hop-info.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssue } from "@plane/types"; // eslint-disable-next-line @typescript-eslint/no-unused-vars export function TransferHopInfo({ workItem }: { workItem: TIssue }) { diff --git a/apps/web/ce/components/issues/issue-layouts/additional-properties.tsx b/apps/web/ce/components/issues/issue-layouts/additional-properties.tsx index 2d10001ee6..37a5505d44 100644 --- a/apps/web/ce/components/issues/issue-layouts/additional-properties.tsx +++ b/apps/web/ce/components/issues/issue-layouts/additional-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import type { IIssueDisplayProperties, TIssue } from "@plane/types"; diff --git a/apps/web/ce/components/issues/issue-layouts/empty-states/index.ts b/apps/web/ce/components/issues/issue-layouts/empty-states/index.ts index 319b4c6844..27407dd37b 100644 --- a/apps/web/ce/components/issues/issue-layouts/empty-states/index.ts +++ b/apps/web/ce/components/issues/issue-layouts/empty-states/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./team-issues"; export * from "./team-view-issues"; diff --git a/apps/web/ce/components/issues/issue-layouts/empty-states/team-issues.tsx b/apps/web/ce/components/issues/issue-layouts/empty-states/team-issues.tsx index 8f267503c4..fbd6d73dce 100644 --- a/apps/web/ce/components/issues/issue-layouts/empty-states/team-issues.tsx +++ b/apps/web/ce/components/issues/issue-layouts/empty-states/team-issues.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; export const TeamEmptyState = observer(function TeamEmptyState() { diff --git a/apps/web/ce/components/issues/issue-layouts/empty-states/team-project.tsx b/apps/web/ce/components/issues/issue-layouts/empty-states/team-project.tsx index ab15463a0a..b221f01086 100644 --- a/apps/web/ce/components/issues/issue-layouts/empty-states/team-project.tsx +++ b/apps/web/ce/components/issues/issue-layouts/empty-states/team-project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; export const TeamProjectWorkItemEmptyState = observer(function TeamProjectWorkItemEmptyState() { diff --git a/apps/web/ce/components/issues/issue-layouts/empty-states/team-view-issues.tsx b/apps/web/ce/components/issues/issue-layouts/empty-states/team-view-issues.tsx index c8e7412433..8453b37697 100644 --- a/apps/web/ce/components/issues/issue-layouts/empty-states/team-view-issues.tsx +++ b/apps/web/ce/components/issues/issue-layouts/empty-states/team-view-issues.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; export const TeamViewEmptyState = observer(function TeamViewEmptyState() { diff --git a/apps/web/ce/components/issues/issue-layouts/issue-stats.tsx b/apps/web/ce/components/issues/issue-layouts/issue-stats.tsx index 11f34ac1b6..4ff1eed555 100644 --- a/apps/web/ce/components/issues/issue-layouts/issue-stats.tsx +++ b/apps/web/ce/components/issues/issue-layouts/issue-stats.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; diff --git a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx index 641c9fc394..ecea63ccb5 100644 --- a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx +++ b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ISvgIcons } from "@plane/propel/icons"; import type { TContextMenuItem } from "@plane/ui"; diff --git a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/duplicate-modal.tsx b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/duplicate-modal.tsx index c186c77e3a..4c09712dc4 100644 --- a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/duplicate-modal.tsx +++ b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/duplicate-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; type TDuplicateWorkItemModalProps = { diff --git a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/index.ts b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/index.ts index 470ae9181e..e99ab1e46d 100644 --- a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/index.ts +++ b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./duplicate-modal"; export * from "./copy-menu-helper"; diff --git a/apps/web/ce/components/issues/issue-layouts/utils.tsx b/apps/web/ce/components/issues/issue-layouts/utils.tsx index 6b6fa529d1..0a0ddf7f72 100644 --- a/apps/web/ce/components/issues/issue-layouts/utils.tsx +++ b/apps/web/ce/components/issues/issue-layouts/utils.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { CalendarDays, LayersIcon, Paperclip } from "lucide-react"; // types diff --git a/apps/web/ce/components/issues/issue-modal/index.ts b/apps/web/ce/components/issues/issue-modal/index.ts index 304be8c916..006cc1c829 100644 --- a/apps/web/ce/components/issues/issue-modal/index.ts +++ b/apps/web/ce/components/issues/issue-modal/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./provider"; export * from "./issue-type-select"; export * from "./template-select"; diff --git a/apps/web/ce/components/issues/issue-modal/issue-type-select.tsx b/apps/web/ce/components/issues/issue-modal/issue-type-select.tsx index 2a02e13672..dd4c29cca8 100644 --- a/apps/web/ce/components/issues/issue-modal/issue-type-select.tsx +++ b/apps/web/ce/components/issues/issue-modal/issue-type-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Control } from "react-hook-form"; // plane imports import type { EditorRefApi } from "@plane/editor"; diff --git a/apps/web/ce/components/issues/issue-modal/modal-additional-properties.tsx b/apps/web/ce/components/issues/issue-modal/modal-additional-properties.tsx index c0011d51a1..4daec9f8b6 100644 --- a/apps/web/ce/components/issues/issue-modal/modal-additional-properties.tsx +++ b/apps/web/ce/components/issues/issue-modal/modal-additional-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; export type TWorkItemModalAdditionalPropertiesProps = { diff --git a/apps/web/ce/components/issues/issue-modal/provider.tsx b/apps/web/ce/components/issues/issue-modal/provider.tsx index 82763907f7..0494b35a05 100644 --- a/apps/web/ce/components/issues/issue-modal/provider.tsx +++ b/apps/web/ce/components/issues/issue-modal/provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/issues/issue-modal/template-select.tsx b/apps/web/ce/components/issues/issue-modal/template-select.tsx index 7cad3debb0..ee0a081c6d 100644 --- a/apps/web/ce/components/issues/issue-modal/template-select.tsx +++ b/apps/web/ce/components/issues/issue-modal/template-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TWorkItemTemplateDropdownSize = "xs" | "sm"; export type TWorkItemTemplateSelect = { diff --git a/apps/web/ce/components/issues/quick-add/index.ts b/apps/web/ce/components/issues/quick-add/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/issues/quick-add/index.ts +++ b/apps/web/ce/components/issues/quick-add/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/issues/quick-add/root.tsx b/apps/web/ce/components/issues/quick-add/root.tsx index 4857d8bb17..bb5ab7d002 100644 --- a/apps/web/ce/components/issues/quick-add/root.tsx +++ b/apps/web/ce/components/issues/quick-add/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/worklog/activity/filter-root.tsx b/apps/web/ce/components/issues/worklog/activity/filter-root.tsx index 27b109986c..2c40285fe0 100644 --- a/apps/web/ce/components/issues/worklog/activity/filter-root.tsx +++ b/apps/web/ce/components/issues/worklog/activity/filter-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // plane imports import type { TActivityFilters, TActivityFilterOption } from "@plane/constants"; diff --git a/apps/web/ce/components/issues/worklog/activity/index.ts b/apps/web/ce/components/issues/worklog/activity/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/issues/worklog/activity/index.ts +++ b/apps/web/ce/components/issues/worklog/activity/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/issues/worklog/activity/root.tsx b/apps/web/ce/components/issues/worklog/activity/root.tsx index 7b5a8ca9ac..d885232588 100644 --- a/apps/web/ce/components/issues/worklog/activity/root.tsx +++ b/apps/web/ce/components/issues/worklog/activity/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import type { TIssueActivityComment } from "@plane/types"; diff --git a/apps/web/ce/components/issues/worklog/activity/worklog-create-button.tsx b/apps/web/ce/components/issues/worklog/activity/worklog-create-button.tsx index 8e9ac541b9..f9e13ccdf1 100644 --- a/apps/web/ce/components/issues/worklog/activity/worklog-create-button.tsx +++ b/apps/web/ce/components/issues/worklog/activity/worklog-create-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; type TIssueActivityWorklogCreateButton = { diff --git a/apps/web/ce/components/issues/worklog/property/index.ts b/apps/web/ce/components/issues/worklog/property/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/issues/worklog/property/index.ts +++ b/apps/web/ce/components/issues/worklog/property/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/issues/worklog/property/root.tsx b/apps/web/ce/components/issues/worklog/property/root.tsx index 5ab77f3dd3..151be1460e 100644 --- a/apps/web/ce/components/issues/worklog/property/root.tsx +++ b/apps/web/ce/components/issues/worklog/property/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; type TIssueWorklogProperty = { diff --git a/apps/web/ce/components/license/index.ts b/apps/web/ce/components/license/index.ts index 031608e25f..dd65a9ec34 100644 --- a/apps/web/ce/components/license/index.ts +++ b/apps/web/ce/components/license/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; diff --git a/apps/web/ce/components/license/modal/index.ts b/apps/web/ce/components/license/modal/index.ts index 8add86e5df..c255805ae8 100644 --- a/apps/web/ce/components/license/modal/index.ts +++ b/apps/web/ce/components/license/modal/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./upgrade-modal"; diff --git a/apps/web/ce/components/license/modal/upgrade-modal.tsx b/apps/web/ce/components/license/modal/upgrade-modal.tsx index 2fc439d690..c7e35a1833 100644 --- a/apps/web/ce/components/license/modal/upgrade-modal.tsx +++ b/apps/web/ce/components/license/modal/upgrade-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { diff --git a/apps/web/ce/components/navigations/index.ts b/apps/web/ce/components/navigations/index.ts index ed26407514..b4131e9325 100644 --- a/apps/web/ce/components/navigations/index.ts +++ b/apps/web/ce/components/navigations/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-navigation-items"; export * from "./top-navigation-root"; diff --git a/apps/web/ce/components/navigations/top-navigation-root.tsx b/apps/web/ce/components/navigations/top-navigation-root.tsx index 1ee0d9e192..324494e013 100644 --- a/apps/web/ce/components/navigations/top-navigation-root.tsx +++ b/apps/web/ce/components/navigations/top-navigation-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { observer } from "mobx-react"; import { useParams, usePathname } from "next/navigation"; diff --git a/apps/web/ce/components/navigations/use-navigation-items.ts b/apps/web/ce/components/navigations/use-navigation-items.ts index db051cb631..7e085a1d24 100644 --- a/apps/web/ce/components/navigations/use-navigation-items.ts +++ b/apps/web/ce/components/navigations/use-navigation-items.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useCallback } from "react"; // plane imports import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/ce/components/onboarding/tour/root.tsx b/apps/web/ce/components/onboarding/tour/root.tsx index 8e9a87004e..2f68467b35 100644 --- a/apps/web/ce/components/onboarding/tour/root.tsx +++ b/apps/web/ce/components/onboarding/tour/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/onboarding/tour/sidebar.tsx b/apps/web/ce/components/onboarding/tour/sidebar.tsx index 2a41cd503b..03b827b5f5 100644 --- a/apps/web/ce/components/onboarding/tour/sidebar.tsx +++ b/apps/web/ce/components/onboarding/tour/sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { CycleIcon, ModuleIcon, PageIcon, ViewsIcon, WorkItemsIcon } from "@plane/propel/icons"; import type { ISvgIcons } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/pages/editor/ai/ask-pi-menu.tsx b/apps/web/ce/components/pages/editor/ai/ask-pi-menu.tsx index 21fe0185b8..686021bb56 100644 --- a/apps/web/ce/components/pages/editor/ai/ask-pi-menu.tsx +++ b/apps/web/ce/components/pages/editor/ai/ask-pi-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { CircleArrowUp, CornerDownRight, RefreshCcw, Sparkles } from "lucide-react"; // ui diff --git a/apps/web/ce/components/pages/editor/ai/index.ts b/apps/web/ce/components/pages/editor/ai/index.ts index d21eb63d70..c2d7f64496 100644 --- a/apps/web/ce/components/pages/editor/ai/index.ts +++ b/apps/web/ce/components/pages/editor/ai/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./ask-pi-menu"; export * from "./menu"; diff --git a/apps/web/ce/components/pages/editor/ai/menu.tsx b/apps/web/ce/components/pages/editor/ai/menu.tsx index 448fbd07a9..02bed2cf2a 100644 --- a/apps/web/ce/components/pages/editor/ai/menu.tsx +++ b/apps/web/ce/components/pages/editor/ai/menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useRef, useState } from "react"; import type { LucideIcon } from "lucide-react"; import { CornerDownRight, RefreshCcw, Sparkles, TriangleAlert } from "lucide-react"; diff --git a/apps/web/ce/components/pages/editor/embed/index.ts b/apps/web/ce/components/pages/editor/embed/index.ts index e16822834a..7ab6ada6b6 100644 --- a/apps/web/ce/components/pages/editor/embed/index.ts +++ b/apps/web/ce/components/pages/editor/embed/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue-embed-upgrade-card"; diff --git a/apps/web/ce/components/pages/editor/embed/issue-embed-upgrade-card.tsx b/apps/web/ce/components/pages/editor/embed/issue-embed-upgrade-card.tsx index 331db5ec95..703fab3660 100644 --- a/apps/web/ce/components/pages/editor/embed/issue-embed-upgrade-card.tsx +++ b/apps/web/ce/components/pages/editor/embed/issue-embed-upgrade-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { getButtonStyling } from "@plane/propel/button"; import { cn } from "@plane/utils"; diff --git a/apps/web/ce/components/pages/editor/index.ts b/apps/web/ce/components/pages/editor/index.ts index 88b26fa277..d95ce40f04 100644 --- a/apps/web/ce/components/pages/editor/index.ts +++ b/apps/web/ce/components/pages/editor/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./ai"; export * from "./embed"; diff --git a/apps/web/ce/components/pages/extra-actions.tsx b/apps/web/ce/components/pages/extra-actions.tsx index 28ebe15371..a6eaee6335 100644 --- a/apps/web/ce/components/pages/extra-actions.tsx +++ b/apps/web/ce/components/pages/extra-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // store import type { EPageStoreType } from "@/plane-web/hooks/store"; import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/components/pages/header/collaborators-list.tsx b/apps/web/ce/components/pages/header/collaborators-list.tsx index 6dbd4cf811..1deaf46760 100644 --- a/apps/web/ce/components/pages/header/collaborators-list.tsx +++ b/apps/web/ce/components/pages/header/collaborators-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // store import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/components/pages/header/lock-control.tsx b/apps/web/ce/components/pages/header/lock-control.tsx index d99f8fd9c9..c65cdfe59a 100644 --- a/apps/web/ce/components/pages/header/lock-control.tsx +++ b/apps/web/ce/components/pages/header/lock-control.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect, useRef } from "react"; import { observer } from "mobx-react"; import { LockKeyhole, LockKeyholeOpen } from "lucide-react"; diff --git a/apps/web/ce/components/pages/header/move-control.tsx b/apps/web/ce/components/pages/header/move-control.tsx index dee6b88baf..744893dbb6 100644 --- a/apps/web/ce/components/pages/header/move-control.tsx +++ b/apps/web/ce/components/pages/header/move-control.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // store import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/components/pages/header/share-control.tsx b/apps/web/ce/components/pages/header/share-control.tsx index 3b19105573..d84ee26bdc 100644 --- a/apps/web/ce/components/pages/header/share-control.tsx +++ b/apps/web/ce/components/pages/header/share-control.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EPageStoreType } from "@/plane-web/hooks/store"; // store import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/components/pages/index.ts b/apps/web/ce/components/pages/index.ts index c4131c5f95..12beee9cd3 100644 --- a/apps/web/ce/components/pages/index.ts +++ b/apps/web/ce/components/pages/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./editor"; export * from "./modals"; export * from "./extra-actions"; diff --git a/apps/web/ce/components/pages/modals/index.ts b/apps/web/ce/components/pages/modals/index.ts index c1c5c24d22..ee765fe166 100644 --- a/apps/web/ce/components/pages/modals/index.ts +++ b/apps/web/ce/components/pages/modals/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./move-page-modal"; export * from "./modals"; diff --git a/apps/web/ce/components/pages/modals/modals.tsx b/apps/web/ce/components/pages/modals/modals.tsx index ddfe5f3d1c..0b36ce33f2 100644 --- a/apps/web/ce/components/pages/modals/modals.tsx +++ b/apps/web/ce/components/pages/modals/modals.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import { observer } from "mobx-react"; // components diff --git a/apps/web/ce/components/pages/modals/move-page-modal.tsx b/apps/web/ce/components/pages/modals/move-page-modal.tsx index 9abe0e4ec6..39c3a02225 100644 --- a/apps/web/ce/components/pages/modals/move-page-modal.tsx +++ b/apps/web/ce/components/pages/modals/move-page-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // store types import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/components/pages/navigation-pane/index.ts b/apps/web/ce/components/pages/navigation-pane/index.ts index 79ee20c26d..1eb3094a1b 100644 --- a/apps/web/ce/components/pages/navigation-pane/index.ts +++ b/apps/web/ce/components/pages/navigation-pane/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TPageNavigationPaneTab = "outline" | "info" | "assets"; export const PAGE_NAVIGATION_PANE_TABS_LIST: Record< diff --git a/apps/web/ce/components/pages/navigation-pane/tab-panels/assets.tsx b/apps/web/ce/components/pages/navigation-pane/tab-panels/assets.tsx index 45d6062861..68487f9c66 100644 --- a/apps/web/ce/components/pages/navigation-pane/tab-panels/assets.tsx +++ b/apps/web/ce/components/pages/navigation-pane/tab-panels/assets.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TEditorAsset } from "@plane/editor"; // store diff --git a/apps/web/ce/components/pages/navigation-pane/tab-panels/empty-states/assets.tsx b/apps/web/ce/components/pages/navigation-pane/tab-panels/empty-states/assets.tsx index 35c0773040..776d722ee8 100644 --- a/apps/web/ce/components/pages/navigation-pane/tab-panels/empty-states/assets.tsx +++ b/apps/web/ce/components/pages/navigation-pane/tab-panels/empty-states/assets.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/ce/components/pages/navigation-pane/tab-panels/empty-states/outline.tsx b/apps/web/ce/components/pages/navigation-pane/tab-panels/empty-states/outline.tsx index f9b9e612ec..e4158078da 100644 --- a/apps/web/ce/components/pages/navigation-pane/tab-panels/empty-states/outline.tsx +++ b/apps/web/ce/components/pages/navigation-pane/tab-panels/empty-states/outline.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/ce/components/pages/navigation-pane/tab-panels/root.tsx b/apps/web/ce/components/pages/navigation-pane/tab-panels/root.tsx index a12d26be41..14b19476bf 100644 --- a/apps/web/ce/components/pages/navigation-pane/tab-panels/root.tsx +++ b/apps/web/ce/components/pages/navigation-pane/tab-panels/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // store import type { TPageInstance } from "@/store/pages/base-page"; // local imports diff --git a/apps/web/ce/components/preferences/theme-switcher.tsx b/apps/web/ce/components/preferences/theme-switcher.tsx index b2c2008b1a..b335b99b34 100644 --- a/apps/web/ce/components/preferences/theme-switcher.tsx +++ b/apps/web/ce/components/preferences/theme-switcher.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/ce/components/projects/create/attributes.tsx b/apps/web/ce/components/projects/create/attributes.tsx index f19537bdca..5e6614eaa8 100644 --- a/apps/web/ce/components/projects/create/attributes.tsx +++ b/apps/web/ce/components/projects/create/attributes.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Controller, useFormContext } from "react-hook-form"; // plane imports import { NETWORK_CHOICES, ETabIndices } from "@plane/constants"; diff --git a/apps/web/ce/components/projects/create/root.tsx b/apps/web/ce/components/projects/create/root.tsx index 8a1d142e56..3e4b5b4166 100644 --- a/apps/web/ce/components/projects/create/root.tsx +++ b/apps/web/ce/components/projects/create/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { FormProvider, useForm } from "react-hook-form"; diff --git a/apps/web/ce/components/projects/create/template-select.tsx b/apps/web/ce/components/projects/create/template-select.tsx index 3220c0fe85..84c089cad1 100644 --- a/apps/web/ce/components/projects/create/template-select.tsx +++ b/apps/web/ce/components/projects/create/template-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TProjectTemplateSelect = { disabled?: boolean; onClick?: () => void; diff --git a/apps/web/ce/components/projects/create/utils.ts b/apps/web/ce/components/projects/create/utils.ts index 4605fa2bf8..513819b041 100644 --- a/apps/web/ce/components/projects/create/utils.ts +++ b/apps/web/ce/components/projects/create/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { RANDOM_EMOJI_CODES } from "@plane/constants"; import type { IProject } from "@plane/types"; import { getRandomCoverImage } from "@/helpers/cover-image.helper"; diff --git a/apps/web/ce/components/projects/header.tsx b/apps/web/ce/components/projects/header.tsx index 81cde755f8..08e10d013f 100644 --- a/apps/web/ce/components/projects/header.tsx +++ b/apps/web/ce/components/projects/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ProjectsBaseHeader } from "@/components/project/header"; export function ProjectsListHeader() { diff --git a/apps/web/ce/components/projects/mobile-header.tsx b/apps/web/ce/components/projects/mobile-header.tsx index 8eff30aaf0..e1d3bfbd82 100644 --- a/apps/web/ce/components/projects/mobile-header.tsx +++ b/apps/web/ce/components/projects/mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/ce/components/projects/navigation/helper.tsx b/apps/web/ce/components/projects/navigation/helper.tsx index 811eb9a17d..26baffb3f7 100644 --- a/apps/web/ce/components/projects/navigation/helper.tsx +++ b/apps/web/ce/components/projects/navigation/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { EUserPermissions, EProjectFeatureKey } from "@plane/constants"; import { CycleIcon, IntakeIcon, ModuleIcon, PageIcon, ViewsIcon, WorkItemsIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/projects/page.tsx b/apps/web/ce/components/projects/page.tsx index 64ec67bbe0..cb5af31118 100644 --- a/apps/web/ce/components/projects/page.tsx +++ b/apps/web/ce/components/projects/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/ce/components/projects/settings/features-list.tsx b/apps/web/ce/components/projects/settings/features-list.tsx index 26fc591fdb..f256288ae1 100644 --- a/apps/web/ce/components/projects/settings/features-list.tsx +++ b/apps/web/ce/components/projects/settings/features-list.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { ProjectFeaturesList } from "@/components/project/settings/features-list"; diff --git a/apps/web/ce/components/projects/settings/intake/header.tsx b/apps/web/ce/components/projects/settings/intake/header.tsx index aba1264d77..89db4e931c 100644 --- a/apps/web/ce/components/projects/settings/intake/header.tsx +++ b/apps/web/ce/components/projects/settings/intake/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/ce/components/projects/settings/useProjectColumns.tsx b/apps/web/ce/components/projects/settings/useProjectColumns.tsx index 378629e2cc..75e6156fc0 100644 --- a/apps/web/ce/components/projects/settings/useProjectColumns.tsx +++ b/apps/web/ce/components/projects/settings/useProjectColumns.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // plane imports import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/ce/components/projects/teamspaces/teamspace-list.tsx b/apps/web/ce/components/projects/teamspaces/teamspace-list.tsx index 137e962ace..2f62c53e11 100644 --- a/apps/web/ce/components/projects/teamspaces/teamspace-list.tsx +++ b/apps/web/ce/components/projects/teamspaces/teamspace-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TProjectTeamspaceList = { workspaceSlug: string; projectId: string; diff --git a/apps/web/ce/components/relations/activity.ts b/apps/web/ce/components/relations/activity.ts index 820966f4d3..83a89ef14c 100644 --- a/apps/web/ce/components/relations/activity.ts +++ b/apps/web/ce/components/relations/activity.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssueActivity } from "@plane/types"; export const getRelationActivityContent = (activity: TIssueActivity | undefined): string | undefined => { diff --git a/apps/web/ce/components/relations/index.tsx b/apps/web/ce/components/relations/index.tsx index 956bf5acdd..02ff0f28d2 100644 --- a/apps/web/ce/components/relations/index.tsx +++ b/apps/web/ce/components/relations/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CircleDot, XCircle } from "lucide-react"; import { RelatedIcon, DuplicatePropertyIcon } from "@plane/propel/icons"; import type { TRelationObject } from "@/components/issues/issue-detail-widgets/relations"; diff --git a/apps/web/ce/components/rich-filters/filter-value-input/root.tsx b/apps/web/ce/components/rich-filters/filter-value-input/root.tsx index 5119266dda..06a04cb823 100644 --- a/apps/web/ce/components/rich-filters/filter-value-input/root.tsx +++ b/apps/web/ce/components/rich-filters/filter-value-input/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/sidebar/app-switcher.tsx b/apps/web/ce/components/sidebar/app-switcher.tsx index 9bd2d21db4..80cc87797f 100644 --- a/apps/web/ce/components/sidebar/app-switcher.tsx +++ b/apps/web/ce/components/sidebar/app-switcher.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function SidebarAppSwitcher() { return null; } diff --git a/apps/web/ce/components/sidebar/index.ts b/apps/web/ce/components/sidebar/index.ts index 129f420207..4f6ed0ef8d 100644 --- a/apps/web/ce/components/sidebar/index.ts +++ b/apps/web/ce/components/sidebar/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./app-switcher"; export * from "./project-navigation-root"; diff --git a/apps/web/ce/components/sidebar/project-navigation-root.tsx b/apps/web/ce/components/sidebar/project-navigation-root.tsx index 29f66fd8b7..51463851e3 100644 --- a/apps/web/ce/components/sidebar/project-navigation-root.tsx +++ b/apps/web/ce/components/sidebar/project-navigation-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // components import { ProjectNavigation } from "@/components/workspace/sidebar/project-navigation"; diff --git a/apps/web/ce/components/views/access-controller.tsx b/apps/web/ce/components/views/access-controller.tsx index 56b59a0215..5491770507 100644 --- a/apps/web/ce/components/views/access-controller.tsx +++ b/apps/web/ce/components/views/access-controller.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // eslint-disable-next-line @typescript-eslint/no-unused-vars export function AccessController(props: any) { return <>; diff --git a/apps/web/ce/components/views/filters/access-filter.tsx b/apps/web/ce/components/views/filters/access-filter.tsx index ebc8c3ef8d..65ef98c538 100644 --- a/apps/web/ce/components/views/filters/access-filter.tsx +++ b/apps/web/ce/components/views/filters/access-filter.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // eslint-disable-next-line @typescript-eslint/no-unused-vars export function FilterByAccess(props: any) { return <>; diff --git a/apps/web/ce/components/views/helper.tsx b/apps/web/ce/components/views/helper.tsx index 155249e2d1..e725632ec0 100644 --- a/apps/web/ce/components/views/helper.tsx +++ b/apps/web/ce/components/views/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EIssueLayoutTypes, IProjectView } from "@plane/types"; import type { TWorkspaceLayoutProps } from "@/components/views/helper"; diff --git a/apps/web/ce/components/views/publish/index.ts b/apps/web/ce/components/views/publish/index.ts index 8c04a4e3d8..0bc5586440 100644 --- a/apps/web/ce/components/views/publish/index.ts +++ b/apps/web/ce/components/views/publish/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; export * from "./use-view-publish"; diff --git a/apps/web/ce/components/views/publish/modal.tsx b/apps/web/ce/components/views/publish/modal.tsx index 241e356806..7be8c47da5 100644 --- a/apps/web/ce/components/views/publish/modal.tsx +++ b/apps/web/ce/components/views/publish/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectView } from "@plane/types"; type Props = { diff --git a/apps/web/ce/components/views/publish/use-view-publish.tsx b/apps/web/ce/components/views/publish/use-view-publish.tsx index 687a79ed76..133db0cf19 100644 --- a/apps/web/ce/components/views/publish/use-view-publish.tsx +++ b/apps/web/ce/components/views/publish/use-view-publish.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // eslint-disable-next-line @typescript-eslint/no-unused-vars export const useViewPublish = (isPublished: boolean, isAuthorized: boolean) => ({ isPublishModalOpen: false, diff --git a/apps/web/ce/components/workflow/index.ts b/apps/web/ce/components/workflow/index.ts index 07b59ccc3f..4bdac48e5c 100644 --- a/apps/web/ce/components/workflow/index.ts +++ b/apps/web/ce/components/workflow/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./state-option"; export * from "./use-workflow-drag-n-drop"; export * from "./workflow-disabled-message"; diff --git a/apps/web/ce/components/workflow/state-option.tsx b/apps/web/ce/components/workflow/state-option.tsx index ee260e7177..7a2ccc7d47 100644 --- a/apps/web/ce/components/workflow/state-option.tsx +++ b/apps/web/ce/components/workflow/state-option.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Combobox } from "@headlessui/react"; import { CheckIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/workflow/use-workflow-drag-n-drop.ts b/apps/web/ce/components/workflow/use-workflow-drag-n-drop.ts index 20c97eb4fd..4a5be99879 100644 --- a/apps/web/ce/components/workflow/use-workflow-drag-n-drop.ts +++ b/apps/web/ce/components/workflow/use-workflow-drag-n-drop.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable @typescript-eslint/no-unused-vars */ import type { TIssueGroupByOptions } from "@plane/types"; diff --git a/apps/web/ce/components/workflow/workflow-disabled-message.tsx b/apps/web/ce/components/workflow/workflow-disabled-message.tsx index 87f2c04080..dad8cf36e9 100644 --- a/apps/web/ce/components/workflow/workflow-disabled-message.tsx +++ b/apps/web/ce/components/workflow/workflow-disabled-message.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable @typescript-eslint/no-unused-vars */ type Props = { parentStateId: string; diff --git a/apps/web/ce/components/workflow/workflow-disabled-overlay.tsx b/apps/web/ce/components/workflow/workflow-disabled-overlay.tsx index 197a808a22..a5f22da0a1 100644 --- a/apps/web/ce/components/workflow/workflow-disabled-overlay.tsx +++ b/apps/web/ce/components/workflow/workflow-disabled-overlay.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; export type TWorkflowDisabledOverlayProps = { diff --git a/apps/web/ce/components/workflow/workflow-group-tree.tsx b/apps/web/ce/components/workflow/workflow-group-tree.tsx index 3f0e7300a4..9767e6c892 100644 --- a/apps/web/ce/components/workflow/workflow-group-tree.tsx +++ b/apps/web/ce/components/workflow/workflow-group-tree.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable @typescript-eslint/no-unused-vars */ import type { TIssueGroupByOptions } from "@plane/types"; diff --git a/apps/web/ce/components/workspace-notifications/index.ts b/apps/web/ce/components/workspace-notifications/index.ts index ed26efa234..1c9404afa7 100644 --- a/apps/web/ce/components/workspace-notifications/index.ts +++ b/apps/web/ce/components/workspace-notifications/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./list-root"; diff --git a/apps/web/ce/components/workspace-notifications/list-root.tsx b/apps/web/ce/components/workspace-notifications/list-root.tsx index cad9c438b8..1edb479d1f 100644 --- a/apps/web/ce/components/workspace-notifications/list-root.tsx +++ b/apps/web/ce/components/workspace-notifications/list-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { NotificationCardListRoot } from "./notification-card/root"; export type TNotificationListRoot = { diff --git a/apps/web/ce/components/workspace-notifications/notification-card/content.ts b/apps/web/ce/components/workspace-notifications/notification-card/content.ts index 74cdc61996..443a9f02aa 100644 --- a/apps/web/ce/components/workspace-notifications/notification-card/content.ts +++ b/apps/web/ce/components/workspace-notifications/notification-card/content.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { replaceUnderscoreIfSnakeCase } from "@plane/utils"; import type { TNotificationContentMap } from "@/components/workspace-notifications/sidebar/notification-card/content"; diff --git a/apps/web/ce/components/workspace-notifications/notification-card/root.tsx b/apps/web/ce/components/workspace-notifications/notification-card/root.tsx index aed7327667..9c07b8e308 100644 --- a/apps/web/ce/components/workspace-notifications/notification-card/root.tsx +++ b/apps/web/ce/components/workspace-notifications/notification-card/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/workspace/app-switcher.tsx b/apps/web/ce/components/workspace/app-switcher.tsx index f4f5ce0ff3..4c1779e375 100644 --- a/apps/web/ce/components/workspace/app-switcher.tsx +++ b/apps/web/ce/components/workspace/app-switcher.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; export function WorkspaceAppSwitcher() { diff --git a/apps/web/ce/components/workspace/billing/billing-actions-button.tsx b/apps/web/ce/components/workspace/billing/billing-actions-button.tsx index 4460eeff39..99aeecae49 100644 --- a/apps/web/ce/components/workspace/billing/billing-actions-button.tsx +++ b/apps/web/ce/components/workspace/billing/billing-actions-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; export type TBillingActionsButtonProps = { diff --git a/apps/web/ce/components/workspace/billing/comparison/frequency-toggle.tsx b/apps/web/ce/components/workspace/billing/comparison/frequency-toggle.tsx index 50c5333982..e18ea7f228 100644 --- a/apps/web/ce/components/workspace/billing/comparison/frequency-toggle.tsx +++ b/apps/web/ce/components/workspace/billing/comparison/frequency-toggle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { observer } from "mobx-react"; import type { EProductSubscriptionEnum, TBillingFrequency } from "@plane/types"; diff --git a/apps/web/ce/components/workspace/billing/comparison/plan-detail.tsx b/apps/web/ce/components/workspace/billing/comparison/plan-detail.tsx index 26bb31979d..a11c6e7a77 100644 --- a/apps/web/ce/components/workspace/billing/comparison/plan-detail.tsx +++ b/apps/web/ce/components/workspace/billing/comparison/plan-detail.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { diff --git a/apps/web/ce/components/workspace/billing/comparison/root.tsx b/apps/web/ce/components/workspace/billing/comparison/root.tsx index 109667c219..7ff2178840 100644 --- a/apps/web/ce/components/workspace/billing/comparison/root.tsx +++ b/apps/web/ce/components/workspace/billing/comparison/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { EProductSubscriptionEnum, TBillingFrequency } from "@plane/types"; diff --git a/apps/web/ce/components/workspace/billing/index.ts b/apps/web/ce/components/workspace/billing/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/ce/components/workspace/billing/index.ts +++ b/apps/web/ce/components/workspace/billing/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/ce/components/workspace/billing/root.tsx b/apps/web/ce/components/workspace/billing/root.tsx index ff6b243b9e..ee456702dd 100644 --- a/apps/web/ce/components/workspace/billing/root.tsx +++ b/apps/web/ce/components/workspace/billing/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/workspace/content-wrapper.tsx b/apps/web/ce/components/workspace/content-wrapper.tsx index 86e15689dd..868ea946de 100644 --- a/apps/web/ce/components/workspace/content-wrapper.tsx +++ b/apps/web/ce/components/workspace/content-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/workspace/delete-workspace-modal.tsx b/apps/web/ce/components/workspace/delete-workspace-modal.tsx index ae9fdec9a9..19e5e5b24d 100644 --- a/apps/web/ce/components/workspace/delete-workspace-modal.tsx +++ b/apps/web/ce/components/workspace/delete-workspace-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import type { IWorkspace } from "@plane/types"; diff --git a/apps/web/ce/components/workspace/delete-workspace-section.tsx b/apps/web/ce/components/workspace/delete-workspace-section.tsx index cc4ab51ecc..e66abcf417 100644 --- a/apps/web/ce/components/workspace/delete-workspace-section.tsx +++ b/apps/web/ce/components/workspace/delete-workspace-section.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/workspace/edition-badge.tsx b/apps/web/ce/components/workspace/edition-badge.tsx index ec7f98675f..34ef704987 100644 --- a/apps/web/ce/components/workspace/edition-badge.tsx +++ b/apps/web/ce/components/workspace/edition-badge.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/ce/components/workspace/members/index.ts b/apps/web/ce/components/workspace/members/index.ts index 8e7291706c..7511bfeedb 100644 --- a/apps/web/ce/components/workspace/members/index.ts +++ b/apps/web/ce/components/workspace/members/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./invite-modal"; export * from "./members-activity-button"; diff --git a/apps/web/ce/components/workspace/members/invite-modal.tsx b/apps/web/ce/components/workspace/members/invite-modal.tsx index a0b72caedd..5e97a69d92 100644 --- a/apps/web/ce/components/workspace/members/invite-modal.tsx +++ b/apps/web/ce/components/workspace/members/invite-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/ce/components/workspace/members/members-activity-button.tsx b/apps/web/ce/components/workspace/members/members-activity-button.tsx index bf3d333d89..a078b1960e 100644 --- a/apps/web/ce/components/workspace/members/members-activity-button.tsx +++ b/apps/web/ce/components/workspace/members/members-activity-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/apps/web/ce/components/workspace/settings/useMemberColumns.tsx b/apps/web/ce/components/workspace/settings/useMemberColumns.tsx index f59ba65eb2..bf0d188b99 100644 --- a/apps/web/ce/components/workspace/settings/useMemberColumns.tsx +++ b/apps/web/ce/components/workspace/settings/useMemberColumns.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { useParams } from "next/navigation"; import { EUserPermissions, EUserPermissionsLevel, LOGIN_MEDIUM_LABELS } from "@plane/constants"; diff --git a/apps/web/ce/components/workspace/sidebar/extended-sidebar-item.tsx b/apps/web/ce/components/workspace/sidebar/extended-sidebar-item.tsx index c442aebf45..008c8901e1 100644 --- a/apps/web/ce/components/workspace/sidebar/extended-sidebar-item.tsx +++ b/apps/web/ce/components/workspace/sidebar/extended-sidebar-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/ce/components/workspace/sidebar/helper.tsx b/apps/web/ce/components/workspace/sidebar/helper.tsx index 50323f3202..9bf4a01bf2 100644 --- a/apps/web/ce/components/workspace/sidebar/helper.tsx +++ b/apps/web/ce/components/workspace/sidebar/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { AnalyticsIcon, ArchiveIcon, diff --git a/apps/web/ce/components/workspace/sidebar/sidebar-item.tsx b/apps/web/ce/components/workspace/sidebar/sidebar-item.tsx index b497cb4586..a1fb30bfc4 100644 --- a/apps/web/ce/components/workspace/sidebar/sidebar-item.tsx +++ b/apps/web/ce/components/workspace/sidebar/sidebar-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import type { IWorkspaceSidebarNavigationItem } from "@plane/constants"; import { SidebarItemBase } from "@/components/workspace/sidebar/sidebar-item"; diff --git a/apps/web/ce/components/workspace/sidebar/teams-sidebar-list.tsx b/apps/web/ce/components/workspace/sidebar/teams-sidebar-list.tsx index fd8ca8be95..3d6a97d14e 100644 --- a/apps/web/ce/components/workspace/sidebar/teams-sidebar-list.tsx +++ b/apps/web/ce/components/workspace/sidebar/teams-sidebar-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function SidebarTeamsList() { return null; } diff --git a/apps/web/ce/components/workspace/upgrade-badge.tsx b/apps/web/ce/components/workspace/upgrade-badge.tsx index 463ffedd35..b6f30f63e8 100644 --- a/apps/web/ce/components/workspace/upgrade-badge.tsx +++ b/apps/web/ce/components/workspace/upgrade-badge.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // helpers import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/ce/constants/ai.ts b/apps/web/ce/constants/ai.ts index c5c1b04fa9..7c670e311d 100644 --- a/apps/web/ce/constants/ai.ts +++ b/apps/web/ce/constants/ai.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum AI_EDITOR_TASKS { ASK_ANYTHING = "ASK_ANYTHING", } diff --git a/apps/web/ce/constants/gantt-chart.ts b/apps/web/ce/constants/gantt-chart.ts index 95e39bcc8a..142e5ce04b 100644 --- a/apps/web/ce/constants/gantt-chart.ts +++ b/apps/web/ce/constants/gantt-chart.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssueRelationTypes } from "../types"; export const REVERSE_RELATIONS: { [key in TIssueRelationTypes]: TIssueRelationTypes } = { diff --git a/apps/web/ce/constants/project/index.ts b/apps/web/ce/constants/project/index.ts index dcf101b0c6..5b516d9036 100644 --- a/apps/web/ce/constants/project/index.ts +++ b/apps/web/ce/constants/project/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./settings"; diff --git a/apps/web/ce/constants/project/settings/features.tsx b/apps/web/ce/constants/project/settings/features.tsx index 0017d8cef1..06ebaaae3c 100644 --- a/apps/web/ce/constants/project/settings/features.tsx +++ b/apps/web/ce/constants/project/settings/features.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; // plane imports import { CycleIcon, IntakeIcon, ModuleIcon, PageIcon, ViewsIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/constants/project/settings/index.ts b/apps/web/ce/constants/project/settings/index.ts index 0e849261ac..e9201fe43a 100644 --- a/apps/web/ce/constants/project/settings/index.ts +++ b/apps/web/ce/constants/project/settings/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./features"; diff --git a/apps/web/ce/constants/sidebar-favorites.ts b/apps/web/ce/constants/sidebar-favorites.ts index aaa615e8ae..e2935a6a5a 100644 --- a/apps/web/ce/constants/sidebar-favorites.ts +++ b/apps/web/ce/constants/sidebar-favorites.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LucideIcon } from "lucide-react"; // plane imports import type { ISvgIcons } from "@plane/propel/icons"; diff --git a/apps/web/ce/helpers/command-palette.ts b/apps/web/ce/helpers/command-palette.ts index 697d12c283..2d99c141e2 100644 --- a/apps/web/ce/helpers/command-palette.ts +++ b/apps/web/ce/helpers/command-palette.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TCommandPaletteActionList, TCommandPaletteShortcut, TCommandPaletteShortcutList } from "@plane/types"; // store import { store } from "@/lib/store-context"; diff --git a/apps/web/ce/helpers/epic-analytics.ts b/apps/web/ce/helpers/epic-analytics.ts index 1a7a9df411..eaf62a9e5f 100644 --- a/apps/web/ce/helpers/epic-analytics.ts +++ b/apps/web/ce/helpers/epic-analytics.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TEpicAnalyticsGroup } from "@plane/types"; export const updateEpicAnalytics = () => { diff --git a/apps/web/ce/helpers/instance.helper.ts b/apps/web/ce/helpers/instance.helper.ts index 622ef4af7e..983ff2a474 100644 --- a/apps/web/ce/helpers/instance.helper.ts +++ b/apps/web/ce/helpers/instance.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { store } from "@/lib/store-context"; export const getIsWorkspaceCreationDisabled = () => { diff --git a/apps/web/ce/helpers/issue-action-helper.ts b/apps/web/ce/helpers/issue-action-helper.ts index a3c66e2731..8cf56fc82e 100644 --- a/apps/web/ce/helpers/issue-action-helper.ts +++ b/apps/web/ce/helpers/issue-action-helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IssueActions } from "@/hooks/use-issues-actions"; export const useTeamIssueActions: () => IssueActions = () => ({ diff --git a/apps/web/ce/helpers/issue-filter.helper.ts b/apps/web/ce/helpers/issue-filter.helper.ts index 48a893d3c2..5ca0d75b61 100644 --- a/apps/web/ce/helpers/issue-filter.helper.ts +++ b/apps/web/ce/helpers/issue-filter.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { IIssueDisplayProperties } from "@plane/types"; // lib diff --git a/apps/web/ce/helpers/pi-chat.helper.ts b/apps/web/ce/helpers/pi-chat.helper.ts index 5676e9c00e..d06cc1f3bf 100644 --- a/apps/web/ce/helpers/pi-chat.helper.ts +++ b/apps/web/ce/helpers/pi-chat.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const hideFloatingBot = () => {}; export const showFloatingBot = () => {}; diff --git a/apps/web/ce/helpers/project-settings.ts b/apps/web/ce/helpers/project-settings.ts index dbe06507af..05a3971978 100644 --- a/apps/web/ce/helpers/project-settings.ts +++ b/apps/web/ce/helpers/project-settings.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * @description Get the i18n key for the project settings page label * @param _settingsKey - The key of the project settings page diff --git a/apps/web/ce/helpers/work-item-filters/project-level.ts b/apps/web/ce/helpers/work-item-filters/project-level.ts index be0bc64ec9..ffa5052fdd 100644 --- a/apps/web/ce/helpers/work-item-filters/project-level.ts +++ b/apps/web/ce/helpers/work-item-filters/project-level.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { EIssuesStoreType } from "@plane/types"; // plane web imports diff --git a/apps/web/ce/helpers/workspace.helper.ts b/apps/web/ce/helpers/workspace.helper.ts index 5e4bf3e464..6093c483d6 100644 --- a/apps/web/ce/helpers/workspace.helper.ts +++ b/apps/web/ce/helpers/workspace.helper.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TRenderSettingsLink = (workspaceSlug: string, settingKey: string) => boolean; export const shouldRenderSettingLink: TRenderSettingsLink = (workspaceSlug, settingKey) => true; diff --git a/apps/web/ce/hooks/app-rail/index.ts b/apps/web/ce/hooks/app-rail/index.ts index 1a8f850f5f..d46b5c917e 100644 --- a/apps/web/ce/hooks/app-rail/index.ts +++ b/apps/web/ce/hooks/app-rail/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./provider"; diff --git a/apps/web/ce/hooks/app-rail/provider.tsx b/apps/web/ce/hooks/app-rail/provider.tsx index 296ed3dc1a..029f5a8353 100644 --- a/apps/web/ce/hooks/app-rail/provider.tsx +++ b/apps/web/ce/hooks/app-rail/provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { AppRailVisibilityProvider as CoreProvider } from "@/lib/app-rail"; diff --git a/apps/web/ce/hooks/editor/use-extended-editor-config.ts b/apps/web/ce/hooks/editor/use-extended-editor-config.ts index 9ca7b74a08..172d9026a8 100644 --- a/apps/web/ce/hooks/editor/use-extended-editor-config.ts +++ b/apps/web/ce/hooks/editor/use-extended-editor-config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; // plane imports import type { TExtendedFileHandler } from "@plane/editor"; diff --git a/apps/web/ce/hooks/pages/index.ts b/apps/web/ce/hooks/pages/index.ts index e67eaa7975..bc7999e282 100644 --- a/apps/web/ce/hooks/pages/index.ts +++ b/apps/web/ce/hooks/pages/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-pages-pane-extensions"; export * from "./use-extended-editor-extensions"; diff --git a/apps/web/ce/hooks/pages/use-extended-editor-extensions.ts b/apps/web/ce/hooks/pages/use-extended-editor-extensions.ts index 737578481b..cc3b0a213e 100644 --- a/apps/web/ce/hooks/pages/use-extended-editor-extensions.ts +++ b/apps/web/ce/hooks/pages/use-extended-editor-extensions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IEditorPropsExtended } from "@plane/editor"; import type { TSearchEntityRequestPayload, TSearchResponse } from "@plane/types"; import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/hooks/pages/use-pages-pane-extensions.ts b/apps/web/ce/hooks/pages/use-pages-pane-extensions.ts index 5aef069cf6..6b2837e2fc 100644 --- a/apps/web/ce/hooks/pages/use-pages-pane-extensions.ts +++ b/apps/web/ce/hooks/pages/use-pages-pane-extensions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import type { RefObject } from "react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/ce/hooks/rich-filters/use-filters-operator-configs.ts b/apps/web/ce/hooks/rich-filters/use-filters-operator-configs.ts index 0c65a4de82..23d4601094 100644 --- a/apps/web/ce/hooks/rich-filters/use-filters-operator-configs.ts +++ b/apps/web/ce/hooks/rich-filters/use-filters-operator-configs.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TSupportedOperators } from "@plane/types"; import { CORE_OPERATORS } from "@plane/types"; diff --git a/apps/web/ce/hooks/store/index.ts b/apps/web/ce/hooks/store/index.ts index 1962c9b262..c514dcefe5 100644 --- a/apps/web/ce/hooks/store/index.ts +++ b/apps/web/ce/hooks/store/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-page-store"; export * from "./use-page"; diff --git a/apps/web/ce/hooks/store/use-page-store.ts b/apps/web/ce/hooks/store/use-page-store.ts index 025e03836c..e9fe5776f1 100644 --- a/apps/web/ce/hooks/store/use-page-store.ts +++ b/apps/web/ce/hooks/store/use-page-store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // context import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/ce/hooks/store/use-page.ts b/apps/web/ce/hooks/store/use-page.ts index d4c531fe47..7b588321e8 100644 --- a/apps/web/ce/hooks/store/use-page.ts +++ b/apps/web/ce/hooks/store/use-page.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/ce/hooks/use-additional-editor-mention.tsx b/apps/web/ce/hooks/use-additional-editor-mention.tsx index a3b719231d..3f936ebd26 100644 --- a/apps/web/ce/hooks/use-additional-editor-mention.tsx +++ b/apps/web/ce/hooks/use-additional-editor-mention.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; // plane editor import type { TMentionSection } from "@plane/editor"; diff --git a/apps/web/ce/hooks/use-additional-favorite-item-details.ts b/apps/web/ce/hooks/use-additional-favorite-item-details.ts index 7d1a6d36fa..7bf502ea11 100644 --- a/apps/web/ce/hooks/use-additional-favorite-item-details.ts +++ b/apps/web/ce/hooks/use-additional-favorite-item-details.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IFavorite } from "@plane/types"; // components diff --git a/apps/web/ce/hooks/use-bulk-operation-status.ts b/apps/web/ce/hooks/use-bulk-operation-status.ts index 0bb6768101..539779061f 100644 --- a/apps/web/ce/hooks/use-bulk-operation-status.ts +++ b/apps/web/ce/hooks/use-bulk-operation-status.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const useBulkOperationStatus = () => false; diff --git a/apps/web/ce/hooks/use-debounced-duplicate-issues.tsx b/apps/web/ce/hooks/use-debounced-duplicate-issues.tsx index b8c32d1bda..f84f4d2be7 100644 --- a/apps/web/ce/hooks/use-debounced-duplicate-issues.tsx +++ b/apps/web/ce/hooks/use-debounced-duplicate-issues.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TDeDupeIssue } from "@plane/types"; export const useDebouncedDuplicateIssues = ( diff --git a/apps/web/ce/hooks/use-editor-flagging.ts b/apps/web/ce/hooks/use-editor-flagging.ts index 2c8766c955..e1841ff666 100644 --- a/apps/web/ce/hooks/use-editor-flagging.ts +++ b/apps/web/ce/hooks/use-editor-flagging.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // editor import type { TExtensions } from "@plane/editor"; import type { EPageStoreType } from "@/plane-web/hooks/store"; diff --git a/apps/web/ce/hooks/use-file-size.ts b/apps/web/ce/hooks/use-file-size.ts index c72e96da5b..a453d65dc5 100644 --- a/apps/web/ce/hooks/use-file-size.ts +++ b/apps/web/ce/hooks/use-file-size.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { MAX_FILE_SIZE } from "@plane/constants"; // hooks diff --git a/apps/web/ce/hooks/use-issue-embed.tsx b/apps/web/ce/hooks/use-issue-embed.tsx index 67bc79b7eb..6ffbec7cdb 100644 --- a/apps/web/ce/hooks/use-issue-embed.tsx +++ b/apps/web/ce/hooks/use-issue-embed.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // editor import type { TEmbedConfig } from "@plane/editor"; // plane types diff --git a/apps/web/ce/hooks/use-issue-properties.tsx b/apps/web/ce/hooks/use-issue-properties.tsx index 12a020c8ce..4eff976d40 100644 --- a/apps/web/ce/hooks/use-issue-properties.tsx +++ b/apps/web/ce/hooks/use-issue-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssueServiceType } from "@plane/types"; export const useWorkItemProperties = ( diff --git a/apps/web/ce/hooks/use-notification-preview.tsx b/apps/web/ce/hooks/use-notification-preview.tsx index 6e21868a5f..11bcbf4a2c 100644 --- a/apps/web/ce/hooks/use-notification-preview.tsx +++ b/apps/web/ce/hooks/use-notification-preview.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IWorkItemPeekOverview } from "@plane/types"; import { EIssueServiceType } from "@plane/types"; import { IssuePeekOverview } from "@/components/issues/peek-overview"; diff --git a/apps/web/ce/hooks/use-page-flag.ts b/apps/web/ce/hooks/use-page-flag.ts index 94d72065ac..1fff2492a4 100644 --- a/apps/web/ce/hooks/use-page-flag.ts +++ b/apps/web/ce/hooks/use-page-flag.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TPageFlagHookArgs = { workspaceSlug: string; }; diff --git a/apps/web/ce/hooks/use-timeline-chart.ts b/apps/web/ce/hooks/use-timeline-chart.ts index b935a74034..2deaae2542 100644 --- a/apps/web/ce/hooks/use-timeline-chart.ts +++ b/apps/web/ce/hooks/use-timeline-chart.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { TTimelineTypeCore } from "@plane/types"; import { GANTT_TIMELINE_TYPE } from "@plane/types"; diff --git a/apps/web/ce/hooks/use-workspace-issue-properties-extended.tsx b/apps/web/ce/hooks/use-workspace-issue-properties-extended.tsx index 6e9ba79f25..a9d7b019d6 100644 --- a/apps/web/ce/hooks/use-workspace-issue-properties-extended.tsx +++ b/apps/web/ce/hooks/use-workspace-issue-properties-extended.tsx @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // eslint-disable-next-line @typescript-eslint/no-unused-vars export const useWorkspaceIssuePropertiesExtended = (workspaceSlug: string | string[] | undefined) => {}; diff --git a/apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx b/apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx index e16bdd2bda..67753b1cfe 100644 --- a/apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx +++ b/apps/web/ce/hooks/work-item-filters/use-work-item-filters-config.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { AtSign, Briefcase } from "lucide-react"; // plane imports diff --git a/apps/web/ce/layouts/project-wrapper.tsx b/apps/web/ce/layouts/project-wrapper.tsx index edfd3d41fd..0a15f6c6a5 100644 --- a/apps/web/ce/layouts/project-wrapper.tsx +++ b/apps/web/ce/layouts/project-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // layouts import { ProjectAuthWrapper as CoreProjectAuthWrapper } from "@/layouts/auth-layout/project-wrapper"; diff --git a/apps/web/ce/layouts/workspace-wrapper.tsx b/apps/web/ce/layouts/workspace-wrapper.tsx index 1eaba348de..239551949c 100644 --- a/apps/web/ce/layouts/workspace-wrapper.tsx +++ b/apps/web/ce/layouts/workspace-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // layouts diff --git a/apps/web/ce/services/index.ts b/apps/web/ce/services/index.ts index 7e406b1b4c..998e3e9a46 100644 --- a/apps/web/ce/services/index.ts +++ b/apps/web/ce/services/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./project"; export * from "@/services/workspace.service"; diff --git a/apps/web/ce/services/project/estimate.service.ts b/apps/web/ce/services/project/estimate.service.ts index 95b9a39a45..343d4b0168 100644 --- a/apps/web/ce/services/project/estimate.service.ts +++ b/apps/web/ce/services/project/estimate.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable no-useless-catch */ // types diff --git a/apps/web/ce/services/project/index.ts b/apps/web/ce/services/project/index.ts index 8b75f6bf5a..870a66a181 100644 --- a/apps/web/ce/services/project/index.ts +++ b/apps/web/ce/services/project/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./estimate.service"; export * from "@/services/view.service"; diff --git a/apps/web/ce/services/project/project-state.service.ts b/apps/web/ce/services/project/project-state.service.ts index f4a48ae717..74aa51083c 100644 --- a/apps/web/ce/services/project/project-state.service.ts +++ b/apps/web/ce/services/project/project-state.service.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/services/project/project-state.service"; diff --git a/apps/web/ce/store/analytics.store.ts b/apps/web/ce/store/analytics.store.ts index 9556dcf3aa..9ae14f9b65 100644 --- a/apps/web/ce/store/analytics.store.ts +++ b/apps/web/ce/store/analytics.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IBaseAnalyticsStore } from "@/store/analytics.store"; import { BaseAnalyticsStore } from "@/store/analytics.store"; diff --git a/apps/web/ce/store/command-palette.store.ts b/apps/web/ce/store/command-palette.store.ts index 6a3f8abae1..9d5ff8a01d 100644 --- a/apps/web/ce/store/command-palette.store.ts +++ b/apps/web/ce/store/command-palette.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { computed, makeObservable } from "mobx"; // types / constants import type { IBaseCommandPaletteStore } from "@/store/base-command-palette.store"; diff --git a/apps/web/ce/store/cycle/index.ts b/apps/web/ce/store/cycle/index.ts index d9b3080a86..884a0e71b8 100644 --- a/apps/web/ce/store/cycle/index.ts +++ b/apps/web/ce/store/cycle/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type { ICycleStore } from "@/store/cycle.store"; diff --git a/apps/web/ce/store/estimates/estimate.ts b/apps/web/ce/store/estimates/estimate.ts index 8a32799bc7..d85b1ef6e2 100644 --- a/apps/web/ce/store/estimates/estimate.ts +++ b/apps/web/ce/store/estimates/estimate.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { orderBy, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/ce/store/global-view.store.ts b/apps/web/ce/store/global-view.store.ts index f0d5cdfb40..069b4fcd35 100644 --- a/apps/web/ce/store/global-view.store.ts +++ b/apps/web/ce/store/global-view.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/store/global-view.store"; diff --git a/apps/web/ce/store/issue/epic/filter.store.ts b/apps/web/ce/store/issue/epic/filter.store.ts index 999e1515d3..be441707cb 100644 --- a/apps/web/ce/store/issue/epic/filter.store.ts +++ b/apps/web/ce/store/issue/epic/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectIssuesFilter } from "@/store/issue/project"; import { ProjectIssuesFilter } from "@/store/issue/project"; import type { IIssueRootStore } from "@/store/issue/root.store"; diff --git a/apps/web/ce/store/issue/epic/index.ts b/apps/web/ce/store/issue/epic/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/ce/store/issue/epic/index.ts +++ b/apps/web/ce/store/issue/epic/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/ce/store/issue/epic/issue.store.ts b/apps/web/ce/store/issue/epic/issue.store.ts index 702a4c05ce..b6761eac89 100644 --- a/apps/web/ce/store/issue/epic/issue.store.ts +++ b/apps/web/ce/store/issue/epic/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectIssues } from "@/store/issue/project"; import { ProjectIssues } from "@/store/issue/project"; import type { IIssueRootStore } from "@/store/issue/root.store"; diff --git a/apps/web/ce/store/issue/helpers/base-issue-store.ts b/apps/web/ce/store/issue/helpers/base-issue-store.ts index eac5cec17c..59d6d7b6a0 100644 --- a/apps/web/ce/store/issue/helpers/base-issue-store.ts +++ b/apps/web/ce/store/issue/helpers/base-issue-store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssue } from "@plane/types"; import { getIssueIds } from "@/store/issue/helpers/base-issues-utils"; diff --git a/apps/web/ce/store/issue/helpers/base-issue.store.ts b/apps/web/ce/store/issue/helpers/base-issue.store.ts index eac5cec17c..59d6d7b6a0 100644 --- a/apps/web/ce/store/issue/helpers/base-issue.store.ts +++ b/apps/web/ce/store/issue/helpers/base-issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssue } from "@plane/types"; import { getIssueIds } from "@/store/issue/helpers/base-issues-utils"; diff --git a/apps/web/ce/store/issue/helpers/filter-utils.ts b/apps/web/ce/store/issue/helpers/filter-utils.ts index eedd126240..66ce743550 100644 --- a/apps/web/ce/store/issue/helpers/filter-utils.ts +++ b/apps/web/ce/store/issue/helpers/filter-utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IIssueDisplayFilterOptions } from "@plane/types"; export const getEnabledDisplayFilters = (displayFilters: IIssueDisplayFilterOptions) => displayFilters; diff --git a/apps/web/ce/store/issue/issue-details/activity.store.ts b/apps/web/ce/store/issue/issue-details/activity.store.ts index ab86bc1c1c..a9f4b0a5e5 100644 --- a/apps/web/ce/store/issue/issue-details/activity.store.ts +++ b/apps/web/ce/store/issue/issue-details/activity.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { concat, orderBy, set, uniq, update } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/ce/store/issue/issue-details/root.store.ts b/apps/web/ce/store/issue/issue-details/root.store.ts index 2bc4f03ed3..1b96b49e1d 100644 --- a/apps/web/ce/store/issue/issue-details/root.store.ts +++ b/apps/web/ce/store/issue/issue-details/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { makeObservable } from "mobx"; import type { TIssueServiceType } from "@plane/types"; import type { IIssueDetail as IIssueDetailCore } from "@/store/issue/issue-details/root.store"; diff --git a/apps/web/ce/store/issue/team-project/filter.store.ts b/apps/web/ce/store/issue/team-project/filter.store.ts index 8cdb7787da..45d5324c89 100644 --- a/apps/web/ce/store/issue/team-project/filter.store.ts +++ b/apps/web/ce/store/issue/team-project/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectIssuesFilter } from "@/store/issue/project"; import { ProjectIssuesFilter } from "@/store/issue/project"; import type { IIssueRootStore } from "@/store/issue/root.store"; diff --git a/apps/web/ce/store/issue/team-project/index.ts b/apps/web/ce/store/issue/team-project/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/ce/store/issue/team-project/index.ts +++ b/apps/web/ce/store/issue/team-project/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/ce/store/issue/team-project/issue.store.ts b/apps/web/ce/store/issue/team-project/issue.store.ts index 496d5fda63..fa27134901 100644 --- a/apps/web/ce/store/issue/team-project/issue.store.ts +++ b/apps/web/ce/store/issue/team-project/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectIssues } from "@/store/issue/project"; import { ProjectIssues } from "@/store/issue/project"; import type { IIssueRootStore } from "@/store/issue/root.store"; diff --git a/apps/web/ce/store/issue/team-views/filter.store.ts b/apps/web/ce/store/issue/team-views/filter.store.ts index a40a3eaa2a..133f98da4d 100644 --- a/apps/web/ce/store/issue/team-views/filter.store.ts +++ b/apps/web/ce/store/issue/team-views/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectViewIssuesFilter } from "@/store/issue/project-views"; import { ProjectViewIssuesFilter } from "@/store/issue/project-views"; import type { IIssueRootStore } from "@/store/issue/root.store"; diff --git a/apps/web/ce/store/issue/team-views/index.ts b/apps/web/ce/store/issue/team-views/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/ce/store/issue/team-views/index.ts +++ b/apps/web/ce/store/issue/team-views/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/ce/store/issue/team-views/issue.store.ts b/apps/web/ce/store/issue/team-views/issue.store.ts index 8bcfbc67ea..610520007f 100644 --- a/apps/web/ce/store/issue/team-views/issue.store.ts +++ b/apps/web/ce/store/issue/team-views/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectViewIssues } from "@/store/issue/project-views"; import { ProjectViewIssues } from "@/store/issue/project-views"; import type { IIssueRootStore } from "@/store/issue/root.store"; diff --git a/apps/web/ce/store/issue/team/filter.store.ts b/apps/web/ce/store/issue/team/filter.store.ts index 62e1f2eb6d..20842d2a32 100644 --- a/apps/web/ce/store/issue/team/filter.store.ts +++ b/apps/web/ce/store/issue/team/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectIssuesFilter } from "@/store/issue/project"; import { ProjectIssuesFilter } from "@/store/issue/project"; import type { IIssueRootStore } from "@/store/issue/root.store"; diff --git a/apps/web/ce/store/issue/team/index.ts b/apps/web/ce/store/issue/team/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/ce/store/issue/team/index.ts +++ b/apps/web/ce/store/issue/team/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/ce/store/issue/team/issue.store.ts b/apps/web/ce/store/issue/team/issue.store.ts index 446332c585..a24515c23c 100644 --- a/apps/web/ce/store/issue/team/issue.store.ts +++ b/apps/web/ce/store/issue/team/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectIssues } from "@/store/issue/project"; import { ProjectIssues } from "@/store/issue/project"; import type { IIssueRootStore } from "@/store/issue/root.store"; diff --git a/apps/web/ce/store/issue/workspace/issue.store.ts b/apps/web/ce/store/issue/workspace/issue.store.ts index 7317da96d3..0862be70c1 100644 --- a/apps/web/ce/store/issue/workspace/issue.store.ts +++ b/apps/web/ce/store/issue/workspace/issue.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/store/issue/workspace/issue.store"; diff --git a/apps/web/ce/store/member/project-member.store.ts b/apps/web/ce/store/member/project-member.store.ts index f0e5b3069d..6f534a150f 100644 --- a/apps/web/ce/store/member/project-member.store.ts +++ b/apps/web/ce/store/member/project-member.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { computedFn } from "mobx-utils"; import type { EUserProjectRoles } from "@plane/types"; // plane imports diff --git a/apps/web/ce/store/pages/extended-base-page.ts b/apps/web/ce/store/pages/extended-base-page.ts index 2c5cd30664..3144ef647b 100644 --- a/apps/web/ce/store/pages/extended-base-page.ts +++ b/apps/web/ce/store/pages/extended-base-page.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TPage, TPageExtended } from "@plane/types"; import type { RootStore } from "@/plane-web/store/root.store"; import type { TBasePageServices } from "@/store/pages/base-page"; diff --git a/apps/web/ce/store/power-k.store.ts b/apps/web/ce/store/power-k.store.ts index 753d329407..9528c5e166 100644 --- a/apps/web/ce/store/power-k.store.ts +++ b/apps/web/ce/store/power-k.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { makeObservable } from "mobx"; // types import type { IBasePowerKStore } from "@/store/base-power-k.store"; diff --git a/apps/web/ce/store/project-inbox.store.ts b/apps/web/ce/store/project-inbox.store.ts index 327ff23af7..3adbb18627 100644 --- a/apps/web/ce/store/project-inbox.store.ts +++ b/apps/web/ce/store/project-inbox.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/store/inbox/project-inbox.store"; diff --git a/apps/web/ce/store/project-view.store.ts b/apps/web/ce/store/project-view.store.ts index 41d7ba1ca4..0763fb6653 100644 --- a/apps/web/ce/store/project-view.store.ts +++ b/apps/web/ce/store/project-view.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/store/project-view.store"; diff --git a/apps/web/ce/store/root.store.ts b/apps/web/ce/store/root.store.ts index ca6caff8ca..9eadadf725 100644 --- a/apps/web/ce/store/root.store.ts +++ b/apps/web/ce/store/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // store import { CoreRootStore } from "@/store/root.store"; import type { ITimelineStore } from "./timeline"; diff --git a/apps/web/ce/store/state.store.ts b/apps/web/ce/store/state.store.ts index a25412ca8a..b27221268a 100644 --- a/apps/web/ce/store/state.store.ts +++ b/apps/web/ce/store/state.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/store/state.store"; diff --git a/apps/web/ce/store/timeline/base-timeline.store.ts b/apps/web/ce/store/timeline/base-timeline.store.ts index 37a75d3de1..b1c70f9940 100644 --- a/apps/web/ce/store/timeline/base-timeline.store.ts +++ b/apps/web/ce/store/timeline/base-timeline.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEqual, set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/ce/store/timeline/index.ts b/apps/web/ce/store/timeline/index.ts index a6afa124c6..7fe482b93f 100644 --- a/apps/web/ce/store/timeline/index.ts +++ b/apps/web/ce/store/timeline/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RootStore } from "@/plane-web/store/root.store"; import { IssuesTimeLineStore } from "@/store/timeline/issues-timeline.store"; import type { IIssuesTimeLineStore } from "@/store/timeline/issues-timeline.store"; diff --git a/apps/web/ce/store/user/permission.store.ts b/apps/web/ce/store/user/permission.store.ts index ea062133de..42b5dd4cca 100644 --- a/apps/web/ce/store/user/permission.store.ts +++ b/apps/web/ce/store/user/permission.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { computedFn } from "mobx-utils"; import type { EUserPermissions } from "@plane/constants"; import type { RootStore } from "@/plane-web/store/root.store"; diff --git a/apps/web/ce/store/workspace/index.ts b/apps/web/ce/store/workspace/index.ts index 086063cb4d..b274563645 100644 --- a/apps/web/ce/store/workspace/index.ts +++ b/apps/web/ce/store/workspace/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // store import { BaseWorkspaceRootStore } from "@/store/workspace"; import type { RootStore } from "@/plane-web/store/root.store"; diff --git a/apps/web/ce/types/gantt-chart.ts b/apps/web/ce/types/gantt-chart.ts index 36bb65c60f..ad2324a5de 100644 --- a/apps/web/ce/types/gantt-chart.ts +++ b/apps/web/ce/types/gantt-chart.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TIssueRelationTypes = "blocking" | "blocked_by" | "duplicate" | "relates_to"; diff --git a/apps/web/ce/types/index.ts b/apps/web/ce/types/index.ts index 105b7e96a4..c39bc348af 100644 --- a/apps/web/ce/types/index.ts +++ b/apps/web/ce/types/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./projects"; export * from "./issue-types"; export * from "./gantt-chart"; diff --git a/apps/web/ce/types/issue-types/index.ts b/apps/web/ce/types/issue-types/index.ts index 7259fa3518..8406674ae0 100644 --- a/apps/web/ce/types/issue-types/index.ts +++ b/apps/web/ce/types/issue-types/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue-property-values.d"; diff --git a/apps/web/ce/types/pages/pane-extensions.ts b/apps/web/ce/types/pages/pane-extensions.ts index 4d89005c1d..72c966850c 100644 --- a/apps/web/ce/types/pages/pane-extensions.ts +++ b/apps/web/ce/types/pages/pane-extensions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // CE re-exports the core navigation pane extension types directly // EE overrides this with specific extension data types export type { diff --git a/apps/web/ce/types/projects/index.ts b/apps/web/ce/types/projects/index.ts index 9fb35777a3..7acb1c4707 100644 --- a/apps/web/ce/types/projects/index.ts +++ b/apps/web/ce/types/projects/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./projects"; export * from "./project-activity"; diff --git a/apps/web/ce/types/projects/project-activity.ts b/apps/web/ce/types/projects/project-activity.ts index 766b0adaf2..31830d756f 100644 --- a/apps/web/ce/types/projects/project-activity.ts +++ b/apps/web/ce/types/projects/project-activity.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TProjectBaseActivity } from "@plane/types"; export type TProjectActivity = TProjectBaseActivity & { diff --git a/apps/web/ce/types/projects/projects.ts b/apps/web/ce/types/projects/projects.ts index 51427282a0..b39cd81414 100644 --- a/apps/web/ce/types/projects/projects.ts +++ b/apps/web/ce/types/projects/projects.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IPartialProject, IProject } from "@plane/types"; export type TPartialProject = IPartialProject; diff --git a/apps/web/core/components/account/auth-forms/auth-banner.tsx b/apps/web/core/components/account/auth-forms/auth-banner.tsx index 6e7abe6bcb..496a6eddfb 100644 --- a/apps/web/core/components/account/auth-forms/auth-banner.tsx +++ b/apps/web/core/components/account/auth-forms/auth-banner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Info } from "lucide-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/account/auth-forms/auth-header.tsx b/apps/web/core/components/account/auth-forms/auth-header.tsx index c6c4545ea7..ef72b49cc1 100644 --- a/apps/web/core/components/account/auth-forms/auth-header.tsx +++ b/apps/web/core/components/account/auth-forms/auth-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/account/auth-forms/auth-root.tsx b/apps/web/core/components/account/auth-forms/auth-root.tsx index f50d1af2be..9f075d03f5 100644 --- a/apps/web/core/components/account/auth-forms/auth-root.tsx +++ b/apps/web/core/components/account/auth-forms/auth-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/account/auth-forms/common/container.tsx b/apps/web/core/components/account/auth-forms/common/container.tsx index 8eff06f64e..618c183ebe 100644 --- a/apps/web/core/components/account/auth-forms/common/container.tsx +++ b/apps/web/core/components/account/auth-forms/common/container.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function FormContainer({ children }: { children: React.ReactNode }) { return (
diff --git a/apps/web/core/components/account/auth-forms/common/header.tsx b/apps/web/core/components/account/auth-forms/common/header.tsx index 6d7e68adaf..4639634df6 100644 --- a/apps/web/core/components/account/auth-forms/common/header.tsx +++ b/apps/web/core/components/account/auth-forms/common/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function AuthFormHeader({ title, description }: { title: string; description: string }) { return (
diff --git a/apps/web/core/components/account/auth-forms/email.tsx b/apps/web/core/components/account/auth-forms/email.tsx index 649824a0b0..5f85d63690 100644 --- a/apps/web/core/components/account/auth-forms/email.tsx +++ b/apps/web/core/components/account/auth-forms/email.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC, FormEvent } from "react"; import { useMemo, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/account/auth-forms/forgot-password-popover.tsx b/apps/web/core/components/account/auth-forms/forgot-password-popover.tsx index 5b6c50d512..1ef9fb71cb 100644 --- a/apps/web/core/components/account/auth-forms/forgot-password-popover.tsx +++ b/apps/web/core/components/account/auth-forms/forgot-password-popover.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment, useState } from "react"; import { usePopper } from "react-popper"; import { Popover } from "@headlessui/react"; diff --git a/apps/web/core/components/account/auth-forms/forgot-password.tsx b/apps/web/core/components/account/auth-forms/forgot-password.tsx index 10d2d82318..50ed55e875 100644 --- a/apps/web/core/components/account/auth-forms/forgot-password.tsx +++ b/apps/web/core/components/account/auth-forms/forgot-password.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/account/auth-forms/form-root.tsx b/apps/web/core/components/account/auth-forms/form-root.tsx index 35ad625cbb..ab3aa8340e 100644 --- a/apps/web/core/components/account/auth-forms/form-root.tsx +++ b/apps/web/core/components/account/auth-forms/form-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/account/auth-forms/index.ts b/apps/web/core/components/account/auth-forms/index.ts index aa4ee6fd87..125f6699c4 100644 --- a/apps/web/core/components/account/auth-forms/index.ts +++ b/apps/web/core/components/account/auth-forms/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./auth-root"; diff --git a/apps/web/core/components/account/auth-forms/password.tsx b/apps/web/core/components/account/auth-forms/password.tsx index e773246153..b6a3edbb8b 100644 --- a/apps/web/core/components/account/auth-forms/password.tsx +++ b/apps/web/core/components/account/auth-forms/password.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useMemo, useRef, useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/account/auth-forms/reset-password.tsx b/apps/web/core/components/account/auth-forms/reset-password.tsx index 5ac2bb6015..5c3e7269bd 100644 --- a/apps/web/core/components/account/auth-forms/reset-password.tsx +++ b/apps/web/core/components/account/auth-forms/reset-password.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/account/auth-forms/set-password.tsx b/apps/web/core/components/account/auth-forms/set-password.tsx index 0fa36dd876..9de60d05ef 100644 --- a/apps/web/core/components/account/auth-forms/set-password.tsx +++ b/apps/web/core/components/account/auth-forms/set-password.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FormEvent } from "react"; import { useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/account/auth-forms/unique-code.tsx b/apps/web/core/components/account/auth-forms/unique-code.tsx index e09fc392a0..11e0aba249 100644 --- a/apps/web/core/components/account/auth-forms/unique-code.tsx +++ b/apps/web/core/components/account/auth-forms/unique-code.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { CircleCheck, XCircle } from "lucide-react"; import { API_BASE_URL } from "@plane/constants"; diff --git a/apps/web/core/components/account/deactivate-account-modal.tsx b/apps/web/core/components/account/deactivate-account-modal.tsx index c5ba6d481a..b094e5d397 100644 --- a/apps/web/core/components/account/deactivate-account-modal.tsx +++ b/apps/web/core/components/account/deactivate-account-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { useTranslation } from "@plane/i18n"; // ui diff --git a/apps/web/core/components/account/terms-and-conditions.tsx b/apps/web/core/components/account/terms-and-conditions.tsx index 6a500df7dc..131e61083e 100644 --- a/apps/web/core/components/account/terms-and-conditions.tsx +++ b/apps/web/core/components/account/terms-and-conditions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import Link from "next/link"; import { EAuthModes } from "@plane/constants"; diff --git a/apps/web/core/components/analytics/analytics-filter-actions.tsx b/apps/web/core/components/analytics/analytics-filter-actions.tsx index 2c10cf7eba..1f9a3d206c 100644 --- a/apps/web/core/components/analytics/analytics-filter-actions.tsx +++ b/apps/web/core/components/analytics/analytics-filter-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web components import { observer } from "mobx-react"; // hooks diff --git a/apps/web/core/components/analytics/analytics-section-wrapper.tsx b/apps/web/core/components/analytics/analytics-section-wrapper.tsx index 637d684c4f..1585c3581d 100644 --- a/apps/web/core/components/analytics/analytics-section-wrapper.tsx +++ b/apps/web/core/components/analytics/analytics-section-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cn } from "@plane/utils"; type Props = { diff --git a/apps/web/core/components/analytics/analytics-wrapper.tsx b/apps/web/core/components/analytics/analytics-wrapper.tsx index 9f369b1a5c..6cd886b047 100644 --- a/apps/web/core/components/analytics/analytics-wrapper.tsx +++ b/apps/web/core/components/analytics/analytics-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // plane package imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/analytics/empty-state.tsx b/apps/web/core/components/analytics/empty-state.tsx index 7341b6f1d7..0f862bdee1 100644 --- a/apps/web/core/components/analytics/empty-state.tsx +++ b/apps/web/core/components/analytics/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // plane package imports import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/analytics/export.ts b/apps/web/core/components/analytics/export.ts index 8a8307857a..c77d1783e0 100644 --- a/apps/web/core/components/analytics/export.ts +++ b/apps/web/core/components/analytics/export.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ColumnDef, Row } from "@tanstack/react-table"; import { download, generateCsv, mkConfig } from "export-to-csv"; diff --git a/apps/web/core/components/analytics/insight-card.tsx b/apps/web/core/components/analytics/insight-card.tsx index b0b2f9ad9d..d8a30a1c91 100644 --- a/apps/web/core/components/analytics/insight-card.tsx +++ b/apps/web/core/components/analytics/insight-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane package imports import React from "react"; import type { IAnalyticsResponseFields } from "@plane/types"; diff --git a/apps/web/core/components/analytics/insight-table/data-table.tsx b/apps/web/core/components/analytics/insight-table/data-table.tsx index 87ced204ae..8836bc89e8 100644 --- a/apps/web/core/components/analytics/insight-table/data-table.tsx +++ b/apps/web/core/components/analytics/insight-table/data-table.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ColumnDef, diff --git a/apps/web/core/components/analytics/insight-table/index.ts b/apps/web/core/components/analytics/insight-table/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/analytics/insight-table/index.ts +++ b/apps/web/core/components/analytics/insight-table/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/analytics/insight-table/loader.tsx b/apps/web/core/components/analytics/insight-table/loader.tsx index ff7ea7a19a..e07da23746 100644 --- a/apps/web/core/components/analytics/insight-table/loader.tsx +++ b/apps/web/core/components/analytics/insight-table/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ColumnDef } from "@tanstack/react-table"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@plane/propel/table"; diff --git a/apps/web/core/components/analytics/insight-table/root.tsx b/apps/web/core/components/analytics/insight-table/root.tsx index 1c7b3cef17..9607d6e958 100644 --- a/apps/web/core/components/analytics/insight-table/root.tsx +++ b/apps/web/core/components/analytics/insight-table/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ColumnDef, Row, Table } from "@tanstack/react-table"; import { Download } from "lucide-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/analytics/loaders.tsx b/apps/web/core/components/analytics/loaders.tsx index cd9f19f22c..c298dd0015 100644 --- a/apps/web/core/components/analytics/loaders.tsx +++ b/apps/web/core/components/analytics/loaders.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Loader } from "@plane/ui"; export function ProjectInsightsLoader() { diff --git a/apps/web/core/components/analytics/overview/active-project-item.tsx b/apps/web/core/components/analytics/overview/active-project-item.tsx index 0b7648e9c6..82127daa42 100644 --- a/apps/web/core/components/analytics/overview/active-project-item.tsx +++ b/apps/web/core/components/analytics/overview/active-project-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane package imports import { Logo } from "@plane/propel/emoji-icon-picker"; import { ProjectIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/analytics/overview/active-projects.tsx b/apps/web/core/components/analytics/overview/active-projects.tsx index 7796f0793b..b34aebcf80 100644 --- a/apps/web/core/components/analytics/overview/active-projects.tsx +++ b/apps/web/core/components/analytics/overview/active-projects.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/analytics/overview/index.ts b/apps/web/core/components/analytics/overview/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/analytics/overview/index.ts +++ b/apps/web/core/components/analytics/overview/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/analytics/overview/project-insights.tsx b/apps/web/core/components/analytics/overview/project-insights.tsx index 56c1275b0e..65735e8a4f 100644 --- a/apps/web/core/components/analytics/overview/project-insights.tsx +++ b/apps/web/core/components/analytics/overview/project-insights.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { lazy, Suspense } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/analytics/overview/root.tsx b/apps/web/core/components/analytics/overview/root.tsx index 7ebb4ed076..600d5692a0 100644 --- a/apps/web/core/components/analytics/overview/root.tsx +++ b/apps/web/core/components/analytics/overview/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import AnalyticsWrapper from "../analytics-wrapper"; import TotalInsights from "../total-insights"; diff --git a/apps/web/core/components/analytics/select/analytics-params.tsx b/apps/web/core/components/analytics/select/analytics-params.tsx index 7cd78abc1a..a577002b7c 100644 --- a/apps/web/core/components/analytics/select/analytics-params.tsx +++ b/apps/web/core/components/analytics/select/analytics-params.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { observer } from "mobx-react"; import type { Control, UseFormSetValue } from "react-hook-form"; diff --git a/apps/web/core/components/analytics/select/duration.tsx b/apps/web/core/components/analytics/select/duration.tsx index f668f3c472..afeb8f7540 100644 --- a/apps/web/core/components/analytics/select/duration.tsx +++ b/apps/web/core/components/analytics/select/duration.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane package imports import type { ReactNode } from "react"; import React from "react"; diff --git a/apps/web/core/components/analytics/select/project.tsx b/apps/web/core/components/analytics/select/project.tsx index 2b657fdc9e..7bdbbddb36 100644 --- a/apps/web/core/components/analytics/select/project.tsx +++ b/apps/web/core/components/analytics/select/project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane package imports import { getButtonStyling } from "@plane/propel/button"; diff --git a/apps/web/core/components/analytics/select/select-x-axis.tsx b/apps/web/core/components/analytics/select/select-x-axis.tsx index 56f944a915..6effcfa4da 100644 --- a/apps/web/core/components/analytics/select/select-x-axis.tsx +++ b/apps/web/core/components/analytics/select/select-x-axis.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane package imports import type { ChartXAxisProperty } from "@plane/types"; import { CustomSelect } from "@plane/ui"; diff --git a/apps/web/core/components/analytics/select/select-y-axis.tsx b/apps/web/core/components/analytics/select/select-y-axis.tsx index 83fd3b6590..64c69fbff5 100644 --- a/apps/web/core/components/analytics/select/select-y-axis.tsx +++ b/apps/web/core/components/analytics/select/select-y-axis.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import { EEstimateSystem } from "@plane/constants"; diff --git a/apps/web/core/components/analytics/total-insights.tsx b/apps/web/core/components/analytics/total-insights.tsx index 8dd996cd40..98e5ed0ee8 100644 --- a/apps/web/core/components/analytics/total-insights.tsx +++ b/apps/web/core/components/analytics/total-insights.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane package imports import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/analytics/trend-piece.tsx b/apps/web/core/components/analytics/trend-piece.tsx index 176c5b4c94..f246c4e418 100644 --- a/apps/web/core/components/analytics/trend-piece.tsx +++ b/apps/web/core/components/analytics/trend-piece.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane package imports import React from "react"; import { TrendingDown, TrendingUp } from "lucide-react"; diff --git a/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx b/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx index 1a81567eaf..66a6a72ac1 100644 --- a/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx +++ b/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/analytics/work-items/customized-insights.tsx b/apps/web/core/components/analytics/work-items/customized-insights.tsx index 6e8590fd5b..c40a853b45 100644 --- a/apps/web/core/components/analytics/work-items/customized-insights.tsx +++ b/apps/web/core/components/analytics/work-items/customized-insights.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import { useForm } from "react-hook-form"; diff --git a/apps/web/core/components/analytics/work-items/index.ts b/apps/web/core/components/analytics/work-items/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/analytics/work-items/index.ts +++ b/apps/web/core/components/analytics/work-items/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/analytics/work-items/modal/content.tsx b/apps/web/core/components/analytics/work-items/modal/content.tsx index 082b9266d4..259dec20ca 100644 --- a/apps/web/core/components/analytics/work-items/modal/content.tsx +++ b/apps/web/core/components/analytics/work-items/modal/content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { Tab } from "@headlessui/react"; diff --git a/apps/web/core/components/analytics/work-items/modal/header.tsx b/apps/web/core/components/analytics/work-items/modal/header.tsx index 894ed88adf..c515deb98d 100644 --- a/apps/web/core/components/analytics/work-items/modal/header.tsx +++ b/apps/web/core/components/analytics/work-items/modal/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane package imports import { Expand, Shrink } from "lucide-react"; diff --git a/apps/web/core/components/analytics/work-items/modal/index.tsx b/apps/web/core/components/analytics/work-items/modal/index.tsx index c750bc01a0..a284ba93c8 100644 --- a/apps/web/core/components/analytics/work-items/modal/index.tsx +++ b/apps/web/core/components/analytics/work-items/modal/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; // plane package imports diff --git a/apps/web/core/components/analytics/work-items/priority-chart.tsx b/apps/web/core/components/analytics/work-items/priority-chart.tsx index fef9a810bb..48180c0fab 100644 --- a/apps/web/core/components/analytics/work-items/priority-chart.tsx +++ b/apps/web/core/components/analytics/work-items/priority-chart.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import type { ColumnDef, Row, RowData, Table } from "@tanstack/react-table"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/analytics/work-items/root.tsx b/apps/web/core/components/analytics/work-items/root.tsx index 94ddfbaceb..55fb767f95 100644 --- a/apps/web/core/components/analytics/work-items/root.tsx +++ b/apps/web/core/components/analytics/work-items/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import AnalyticsWrapper from "../analytics-wrapper"; import TotalInsights from "../total-insights"; diff --git a/apps/web/core/components/analytics/work-items/utils.ts b/apps/web/core/components/analytics/work-items/utils.ts index 613fa6b620..38535a1bf6 100644 --- a/apps/web/core/components/analytics/work-items/utils.ts +++ b/apps/web/core/components/analytics/work-items/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane package imports import type { ChartYAxisMetric, IState } from "@plane/types"; import { ChartXAxisProperty } from "@plane/types"; diff --git a/apps/web/core/components/analytics/work-items/workitems-insight-table.tsx b/apps/web/core/components/analytics/work-items/workitems-insight-table.tsx index d33ec72186..fec1a70360 100644 --- a/apps/web/core/components/analytics/work-items/workitems-insight-table.tsx +++ b/apps/web/core/components/analytics/work-items/workitems-insight-table.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import type { ColumnDef, Row, RowData } from "@tanstack/react-table"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/api-token/delete-token-modal.tsx b/apps/web/core/components/api-token/delete-token-modal.tsx index cc42fb9a57..d2c9d653a4 100644 --- a/apps/web/core/components/api-token/delete-token-modal.tsx +++ b/apps/web/core/components/api-token/delete-token-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { mutate } from "swr"; // types diff --git a/apps/web/core/components/api-token/empty-state.tsx b/apps/web/core/components/api-token/empty-state.tsx index 155c6a1afb..16b101b0ed 100644 --- a/apps/web/core/components/api-token/empty-state.tsx +++ b/apps/web/core/components/api-token/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/api-token/modal/create-token-modal.tsx b/apps/web/core/components/api-token/modal/create-token-modal.tsx index a5f9e1a645..9ea6055daf 100644 --- a/apps/web/core/components/api-token/modal/create-token-modal.tsx +++ b/apps/web/core/components/api-token/modal/create-token-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { mutate } from "swr"; // plane imports diff --git a/apps/web/core/components/api-token/modal/form.tsx b/apps/web/core/components/api-token/modal/form.tsx index 56086afa9e..87d7af327a 100644 --- a/apps/web/core/components/api-token/modal/form.tsx +++ b/apps/web/core/components/api-token/modal/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { add } from "date-fns"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/api-token/modal/generated-token-details.tsx b/apps/web/core/components/api-token/modal/generated-token-details.tsx index 76bfd2bc99..8995c438e0 100644 --- a/apps/web/core/components/api-token/modal/generated-token-details.tsx +++ b/apps/web/core/components/api-token/modal/generated-token-details.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { Button } from "@plane/propel/button"; import { CopyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/api-token/token-list-item.tsx b/apps/web/core/components/api-token/token-list-item.tsx index 7bdc81fb52..8b40b9b16c 100644 --- a/apps/web/core/components/api-token/token-list-item.tsx +++ b/apps/web/core/components/api-token/token-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { XCircle } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/appearance/index.ts b/apps/web/core/components/appearance/index.ts index 1d07ba69ea..895fab0cf9 100644 --- a/apps/web/core/components/appearance/index.ts +++ b/apps/web/core/components/appearance/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./theme-switcher"; diff --git a/apps/web/core/components/appearance/theme-switcher.tsx b/apps/web/core/components/appearance/theme-switcher.tsx index 993a06df58..4ec2eba432 100644 --- a/apps/web/core/components/appearance/theme-switcher.tsx +++ b/apps/web/core/components/appearance/theme-switcher.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/archives/archive-tabs-list.tsx b/apps/web/core/components/archives/archive-tabs-list.tsx index f9cf3cb585..1b29c14156 100644 --- a/apps/web/core/components/archives/archive-tabs-list.tsx +++ b/apps/web/core/components/archives/archive-tabs-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/archives/index.ts b/apps/web/core/components/archives/index.ts index 4b519fca03..db04e247fe 100644 --- a/apps/web/core/components/archives/index.ts +++ b/apps/web/core/components/archives/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./archive-tabs-list"; diff --git a/apps/web/core/components/auth-screens/auth-base.tsx b/apps/web/core/components/auth-screens/auth-base.tsx index b3b5d361f8..c0b19af250 100644 --- a/apps/web/core/components/auth-screens/auth-base.tsx +++ b/apps/web/core/components/auth-screens/auth-base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { AuthRoot } from "@/components/account/auth-forms/auth-root"; import type { EAuthModes } from "@/helpers/authentication.helper"; diff --git a/apps/web/core/components/auth-screens/footer.tsx b/apps/web/core/components/auth-screens/footer.tsx index 8bfdd73ffb..fbe6b84289 100644 --- a/apps/web/core/components/auth-screens/footer.tsx +++ b/apps/web/core/components/auth-screens/footer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { AccentureLogo, DolbyLogo, SonyLogo, ZerodhaLogo } from "@plane/propel/icons"; diff --git a/apps/web/core/components/auth-screens/header.tsx b/apps/web/core/components/auth-screens/header.tsx index 9d7a1e73a1..31ddfeff8d 100644 --- a/apps/web/core/components/auth-screens/header.tsx +++ b/apps/web/core/components/auth-screens/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/auth-screens/not-authorized-view.tsx b/apps/web/core/components/auth-screens/not-authorized-view.tsx index 82d950a2b9..ceb7fae05c 100644 --- a/apps/web/core/components/auth-screens/not-authorized-view.tsx +++ b/apps/web/core/components/auth-screens/not-authorized-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // assets diff --git a/apps/web/core/components/auth-screens/project/project-access-restriction.tsx b/apps/web/core/components/auth-screens/project/project-access-restriction.tsx index 8484a3c6a5..9110f88dca 100644 --- a/apps/web/core/components/auth-screens/project/project-access-restriction.tsx +++ b/apps/web/core/components/auth-screens/project/project-access-restriction.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/auth-screens/workspace/not-a-member.tsx b/apps/web/core/components/auth-screens/workspace/not-a-member.tsx index 6b80d64b8b..b38603006f 100644 --- a/apps/web/core/components/auth-screens/workspace/not-a-member.tsx +++ b/apps/web/core/components/auth-screens/workspace/not-a-member.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/automation/auto-archive-automation.tsx b/apps/web/core/components/automation/auto-archive-automation.tsx index dd01cca409..d724f43db7 100644 --- a/apps/web/core/components/automation/auto-archive-automation.tsx +++ b/apps/web/core/components/automation/auto-archive-automation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/automation/auto-close-automation.tsx b/apps/web/core/components/automation/auto-close-automation.tsx index 7ceaba3b02..51c3fdddc7 100644 --- a/apps/web/core/components/automation/auto-close-automation.tsx +++ b/apps/web/core/components/automation/auto-close-automation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/automation/index.ts b/apps/web/core/components/automation/index.ts index 73decae11c..9f126cd0d0 100644 --- a/apps/web/core/components/automation/index.ts +++ b/apps/web/core/components/automation/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./auto-close-automation"; export * from "./auto-archive-automation"; export * from "./select-month-modal"; diff --git a/apps/web/core/components/automation/select-month-modal.tsx b/apps/web/core/components/automation/select-month-modal.tsx index f1459c107c..e29e247df2 100644 --- a/apps/web/core/components/automation/select-month-modal.tsx +++ b/apps/web/core/components/automation/select-month-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useParams } from "next/navigation"; // react-hook-form import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/base-layouts/constants.ts b/apps/web/core/components/base-layouts/constants.ts index 943d23c7fe..4965963732 100644 --- a/apps/web/core/components/base-layouts/constants.ts +++ b/apps/web/core/components/base-layouts/constants.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { BoardLayoutIcon, ListLayoutIcon, TimelineLayoutIcon } from "@plane/propel/icons"; import type { IBaseLayoutConfig } from "@plane/types"; diff --git a/apps/web/core/components/base-layouts/gantt/index.ts b/apps/web/core/components/base-layouts/gantt/index.ts index 9f4e2dafb0..d7b4e143b9 100644 --- a/apps/web/core/components/base-layouts/gantt/index.ts +++ b/apps/web/core/components/base-layouts/gantt/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { BaseGanttLayout } from "./layout"; export { BaseGanttSidebar } from "./sidebar"; diff --git a/apps/web/core/components/base-layouts/gantt/layout.tsx b/apps/web/core/components/base-layouts/gantt/layout.tsx index b21510c46b..17fa2fc8dd 100644 --- a/apps/web/core/components/base-layouts/gantt/layout.tsx +++ b/apps/web/core/components/base-layouts/gantt/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { GANTT_TIMELINE_TYPE } from "@plane/types"; diff --git a/apps/web/core/components/base-layouts/gantt/sidebar.tsx b/apps/web/core/components/base-layouts/gantt/sidebar.tsx index 7ab1446a14..c044cca45f 100644 --- a/apps/web/core/components/base-layouts/gantt/sidebar.tsx +++ b/apps/web/core/components/base-layouts/gantt/sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/base-layouts/hooks/use-group-drop-target.ts b/apps/web/core/components/base-layouts/hooks/use-group-drop-target.ts index 5fa232092c..a28f344a9d 100644 --- a/apps/web/core/components/base-layouts/hooks/use-group-drop-target.ts +++ b/apps/web/core/components/base-layouts/hooks/use-group-drop-target.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/base-layouts/hooks/use-layout-state.ts b/apps/web/core/components/base-layouts/hooks/use-layout-state.ts index 8d8bc75b27..0aba3edd38 100644 --- a/apps/web/core/components/base-layouts/hooks/use-layout-state.ts +++ b/apps/web/core/components/base-layouts/hooks/use-layout-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState, useCallback } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/core/components/base-layouts/kanban/group-header.tsx b/apps/web/core/components/base-layouts/kanban/group-header.tsx index c8e3f6b146..9d69bd22c5 100644 --- a/apps/web/core/components/base-layouts/kanban/group-header.tsx +++ b/apps/web/core/components/base-layouts/kanban/group-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IGroupHeaderProps } from "@plane/types"; export function GroupHeader({ group, itemCount, onToggleGroup }: IGroupHeaderProps) { diff --git a/apps/web/core/components/base-layouts/kanban/group.tsx b/apps/web/core/components/base-layouts/kanban/group.tsx index 39bd2c3ed9..87dadf36d5 100644 --- a/apps/web/core/components/base-layouts/kanban/group.tsx +++ b/apps/web/core/components/base-layouts/kanban/group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; import type { IBaseLayoutsKanbanItem, IBaseLayoutsKanbanGroupProps } from "@plane/types"; diff --git a/apps/web/core/components/base-layouts/kanban/item.tsx b/apps/web/core/components/base-layouts/kanban/item.tsx index 1bc5609430..648d5cd3e9 100644 --- a/apps/web/core/components/base-layouts/kanban/item.tsx +++ b/apps/web/core/components/base-layouts/kanban/item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/base-layouts/kanban/layout.tsx b/apps/web/core/components/base-layouts/kanban/layout.tsx index 1006eb10b6..8305ad9ce8 100644 --- a/apps/web/core/components/base-layouts/kanban/layout.tsx +++ b/apps/web/core/components/base-layouts/kanban/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { IBaseLayoutsKanbanItem, IBaseLayoutsKanbanProps } from "@plane/types"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/base-layouts/layout-switcher.tsx b/apps/web/core/components/base-layouts/layout-switcher.tsx index 45d30ac444..0ee433f979 100644 --- a/apps/web/core/components/base-layouts/layout-switcher.tsx +++ b/apps/web/core/components/base-layouts/layout-switcher.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { Tooltip } from "@plane/propel/tooltip"; import type { TBaseLayoutType } from "@plane/types"; diff --git a/apps/web/core/components/base-layouts/list/group-header.tsx b/apps/web/core/components/base-layouts/list/group-header.tsx index ade7ecbfb3..d26f8322e4 100644 --- a/apps/web/core/components/base-layouts/list/group-header.tsx +++ b/apps/web/core/components/base-layouts/list/group-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IGroupHeaderProps } from "@plane/types"; export function GroupHeader({ group, itemCount, onToggleGroup }: IGroupHeaderProps) { diff --git a/apps/web/core/components/base-layouts/list/group.tsx b/apps/web/core/components/base-layouts/list/group.tsx index ff50c11de8..8cda8691ad 100644 --- a/apps/web/core/components/base-layouts/list/group.tsx +++ b/apps/web/core/components/base-layouts/list/group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; import type { IBaseLayoutsListItem, IBaseLayoutsListGroupProps } from "@plane/types"; diff --git a/apps/web/core/components/base-layouts/list/item.tsx b/apps/web/core/components/base-layouts/list/item.tsx index 22f808b8cd..759b75b1c5 100644 --- a/apps/web/core/components/base-layouts/list/item.tsx +++ b/apps/web/core/components/base-layouts/list/item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/base-layouts/list/layout.tsx b/apps/web/core/components/base-layouts/list/layout.tsx index 36e91ec301..7e631e2434 100644 --- a/apps/web/core/components/base-layouts/list/layout.tsx +++ b/apps/web/core/components/base-layouts/list/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { IBaseLayoutsListItem, IBaseLayoutsListProps } from "@plane/types"; import { cn } from "@plane/ui"; diff --git a/apps/web/core/components/base-layouts/loaders/layout-loader.tsx b/apps/web/core/components/base-layouts/loaders/layout-loader.tsx index 894c8cafd1..177c3027f3 100644 --- a/apps/web/core/components/base-layouts/loaders/layout-loader.tsx +++ b/apps/web/core/components/base-layouts/loaders/layout-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TBaseLayoutType } from "@plane/types"; import { KanbanLayoutLoader } from "@/components/ui/loader/layouts/kanban-layout-loader"; import { ListLayoutLoader } from "@/components/ui/loader/layouts/list-layout-loader"; diff --git a/apps/web/core/components/chart/utils.ts b/apps/web/core/components/chart/utils.ts index 7bd8c41208..e7055a96d4 100644 --- a/apps/web/core/components/chart/utils.ts +++ b/apps/web/core/components/chart/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { getWeekOfMonth, isValid } from "date-fns"; import { CHART_X_AXIS_DATE_PROPERTIES, ChartXAxisDateGrouping, TO_CAPITALIZE_PROPERTIES } from "@plane/constants"; import type { ChartXAxisProperty, TChart, TChartDatum } from "@plane/types"; diff --git a/apps/web/core/components/comments/card/display.tsx b/apps/web/core/components/comments/card/display.tsx index ea8911a25a..17de130527 100644 --- a/apps/web/core/components/comments/card/display.tsx +++ b/apps/web/core/components/comments/card/display.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useCallback, useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/comments/card/edit-form.tsx b/apps/web/core/components/comments/card/edit-form.tsx index 6747df1233..a8cac90455 100644 --- a/apps/web/core/components/comments/card/edit-form.tsx +++ b/apps/web/core/components/comments/card/edit-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; import { useForm } from "react-hook-form"; diff --git a/apps/web/core/components/comments/card/root.tsx b/apps/web/core/components/comments/card/root.tsx index 18666a42c2..006a365dd2 100644 --- a/apps/web/core/components/comments/card/root.tsx +++ b/apps/web/core/components/comments/card/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/comments/comment-create.tsx b/apps/web/core/components/comments/comment-create.tsx index 4038170511..f727fc7896 100644 --- a/apps/web/core/components/comments/comment-create.tsx +++ b/apps/web/core/components/comments/comment-create.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/comments/comment-reaction.tsx b/apps/web/core/components/comments/comment-reaction.tsx index deb32bc92b..e9d1c931b0 100644 --- a/apps/web/core/components/comments/comment-reaction.tsx +++ b/apps/web/core/components/comments/comment-reaction.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/comments/comments.tsx b/apps/web/core/components/comments/comments.tsx index e370fcb1d0..b5fe0194ae 100644 --- a/apps/web/core/components/comments/comments.tsx +++ b/apps/web/core/components/comments/comments.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/comments/index.ts b/apps/web/core/components/comments/index.ts index 222a6656c0..b20656c8ff 100644 --- a/apps/web/core/components/comments/index.ts +++ b/apps/web/core/components/comments/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./comments"; diff --git a/apps/web/core/components/comments/quick-actions.tsx b/apps/web/core/components/comments/quick-actions.tsx index e80497d257..5d20f5a231 100644 --- a/apps/web/core/components/comments/quick-actions.tsx +++ b/apps/web/core/components/comments/quick-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { observer } from "mobx-react"; import { MoreHorizontal } from "lucide-react"; diff --git a/apps/web/core/components/common/access-field.tsx b/apps/web/core/components/common/access-field.tsx index f8c4aa8d9b..14ee044bc4 100644 --- a/apps/web/core/components/common/access-field.tsx +++ b/apps/web/core/components/common/access-field.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LucideIcon } from "lucide-react"; // plane ui import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/common/activity/activity-block.tsx b/apps/web/core/components/common/activity/activity-block.tsx index 5ed9e17beb..25b3b2767c 100644 --- a/apps/web/core/components/common/activity/activity-block.tsx +++ b/apps/web/core/components/common/activity/activity-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC, ReactNode } from "react"; import { Network } from "lucide-react"; // types diff --git a/apps/web/core/components/common/activity/activity-item.tsx b/apps/web/core/components/common/activity/activity-item.tsx index cb4241887d..c4b3e363aa 100644 --- a/apps/web/core/components/common/activity/activity-item.tsx +++ b/apps/web/core/components/common/activity/activity-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/common/activity/helper.tsx b/apps/web/core/components/common/activity/helper.tsx index 639a0c2739..b633c86b99 100644 --- a/apps/web/core/components/common/activity/helper.tsx +++ b/apps/web/core/components/common/activity/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC, ReactNode } from "react"; import { RotateCcw, diff --git a/apps/web/core/components/common/activity/user.tsx b/apps/web/core/components/common/activity/user.tsx index c9fff9b849..0fda94d3bf 100644 --- a/apps/web/core/components/common/activity/user.tsx +++ b/apps/web/core/components/common/activity/user.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/common/applied-filters/date.tsx b/apps/web/core/components/common/applied-filters/date.tsx index 9ea7233330..9638efac3d 100644 --- a/apps/web/core/components/common/applied-filters/date.tsx +++ b/apps/web/core/components/common/applied-filters/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons import { DATE_BEFORE_FILTER_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/common/applied-filters/members.tsx b/apps/web/core/components/common/applied-filters/members.tsx index 161103dac1..ad19a8fd0b 100644 --- a/apps/web/core/components/common/applied-filters/members.tsx +++ b/apps/web/core/components/common/applied-filters/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CloseIcon } from "@plane/propel/icons"; // plane ui diff --git a/apps/web/core/components/common/breadcrumb-link.tsx b/apps/web/core/components/common/breadcrumb-link.tsx index cff11e7626..3e5fcd0700 100644 --- a/apps/web/core/components/common/breadcrumb-link.tsx +++ b/apps/web/core/components/common/breadcrumb-link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/common/count-chip.tsx b/apps/web/core/components/common/count-chip.tsx index 255fe4e7e2..df413f217a 100644 --- a/apps/web/core/components/common/count-chip.tsx +++ b/apps/web/core/components/common/count-chip.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/common/cover-image.tsx b/apps/web/core/components/common/cover-image.tsx index d0b410bfc3..2162e254d6 100644 --- a/apps/web/core/components/common/cover-image.tsx +++ b/apps/web/core/components/common/cover-image.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cn } from "@plane/utils"; // helpers import { getCoverImageDisplayURL, DEFAULT_COVER_IMAGE_URL } from "@/helpers/cover-image.helper"; diff --git a/apps/web/core/components/common/empty-state.tsx b/apps/web/core/components/common/empty-state.tsx index 796aa7fbca..d259d65988 100644 --- a/apps/web/core/components/common/empty-state.tsx +++ b/apps/web/core/components/common/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // ui diff --git a/apps/web/core/components/common/filters/created-at.tsx b/apps/web/core/components/common/filters/created-at.tsx index 23082626fa..7fa0870dee 100644 --- a/apps/web/core/components/common/filters/created-at.tsx +++ b/apps/web/core/components/common/filters/created-at.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/common/filters/created-by.tsx b/apps/web/core/components/common/filters/created-by.tsx index c3ba0eaea7..b3ccacee92 100644 --- a/apps/web/core/components/common/filters/created-by.tsx +++ b/apps/web/core/components/common/filters/created-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/common/latest-feature-block.tsx b/apps/web/core/components/common/latest-feature-block.tsx index 33dfc508ba..7ea1289b2d 100644 --- a/apps/web/core/components/common/latest-feature-block.tsx +++ b/apps/web/core/components/common/latest-feature-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { useTheme } from "next-themes"; // icons diff --git a/apps/web/core/components/common/layout/sidebar/property-list-item.tsx b/apps/web/core/components/common/layout/sidebar/property-list-item.tsx index 33b4d58a9b..9ca01cb193 100644 --- a/apps/web/core/components/common/layout/sidebar/property-list-item.tsx +++ b/apps/web/core/components/common/layout/sidebar/property-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/common/logo-spinner.tsx b/apps/web/core/components/common/logo-spinner.tsx index 0d08b77e59..039cff59e7 100644 --- a/apps/web/core/components/common/logo-spinner.tsx +++ b/apps/web/core/components/common/logo-spinner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // assets import LogoSpinnerDark from "@/app/assets/images/logo-spinner-dark.gif?url"; diff --git a/apps/web/core/components/common/new-empty-state.tsx b/apps/web/core/components/common/new-empty-state.tsx index 2445a46c11..af4e51a407 100644 --- a/apps/web/core/components/common/new-empty-state.tsx +++ b/apps/web/core/components/common/new-empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; // ui diff --git a/apps/web/core/components/common/page-access-icon.tsx b/apps/web/core/components/common/page-access-icon.tsx index 42fb39dfa6..a4ece44dc0 100644 --- a/apps/web/core/components/common/page-access-icon.tsx +++ b/apps/web/core/components/common/page-access-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ArchiveIcon, Earth } from "lucide-react"; import { EPageAccess } from "@plane/constants"; import { LockIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/common/pro-icon.tsx b/apps/web/core/components/common/pro-icon.tsx index 21fa05aed2..177b9cb32c 100644 --- a/apps/web/core/components/common/pro-icon.tsx +++ b/apps/web/core/components/common/pro-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { Crown } from "lucide-react"; // helpers diff --git a/apps/web/core/components/common/quick-actions-factory.tsx b/apps/web/core/components/common/quick-actions-factory.tsx index 52e6bfbd30..ee7f8fb5f7 100644 --- a/apps/web/core/components/common/quick-actions-factory.tsx +++ b/apps/web/core/components/common/quick-actions-factory.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Pencil, ExternalLink, Link, Trash2, ArchiveRestoreIcon } from "lucide-react"; import { useTranslation } from "@plane/i18n"; import { ArchiveIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/common/quick-actions-helper.tsx b/apps/web/core/components/common/quick-actions-helper.tsx index eadb1a7062..4b9af1dadd 100644 --- a/apps/web/core/components/common/quick-actions-helper.tsx +++ b/apps/web/core/components/common/quick-actions-helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { ICycle, IModule, IProjectView, IWorkspaceView } from "@plane/types"; import type { TContextMenuItem } from "@plane/ui"; diff --git a/apps/web/core/components/common/switcher-label.tsx b/apps/web/core/components/common/switcher-label.tsx index 291cb3a8cd..e19d23278d 100644 --- a/apps/web/core/components/common/switcher-label.tsx +++ b/apps/web/core/components/common/switcher-label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { Logo } from "@plane/propel/emoji-icon-picker"; import type { ISvgIcons } from "@plane/propel/icons"; diff --git a/apps/web/core/components/core/activity.tsx b/apps/web/core/components/core/activity.tsx index e898578d97..dd8705fcdd 100644 --- a/apps/web/core/components/core/activity.tsx +++ b/apps/web/core/components/core/activity.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/core/app-header.tsx b/apps/web/core/components/core/app-header.tsx index f13fcd134c..2badf4574e 100644 --- a/apps/web/core/components/core/app-header.tsx +++ b/apps/web/core/components/core/app-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/core/content-overflow-HOC.tsx b/apps/web/core/components/core/content-overflow-HOC.tsx index cb60eaaee5..963429cc29 100644 --- a/apps/web/core/components/core/content-overflow-HOC.tsx +++ b/apps/web/core/components/core/content-overflow-HOC.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/core/content-wrapper.tsx b/apps/web/core/components/core/content-wrapper.tsx index 0d0d796be0..c40b50470a 100644 --- a/apps/web/core/components/core/content-wrapper.tsx +++ b/apps/web/core/components/core/content-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; // helpers import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/core/description-versions/dropdown-item.tsx b/apps/web/core/components/core/description-versions/dropdown-item.tsx index a4513c098c..4b66274a58 100644 --- a/apps/web/core/components/core/description-versions/dropdown-item.tsx +++ b/apps/web/core/components/core/description-versions/dropdown-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/core/description-versions/dropdown.tsx b/apps/web/core/components/core/description-versions/dropdown.tsx index d39fc49e38..f12f2011f6 100644 --- a/apps/web/core/components/core/description-versions/dropdown.tsx +++ b/apps/web/core/components/core/description-versions/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { History } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/core/description-versions/index.ts b/apps/web/core/components/core/description-versions/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/core/description-versions/index.ts +++ b/apps/web/core/components/core/description-versions/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/core/description-versions/modal.tsx b/apps/web/core/components/core/description-versions/modal.tsx index 1a61095b5b..d0e0989bc2 100644 --- a/apps/web/core/components/core/description-versions/modal.tsx +++ b/apps/web/core/components/core/description-versions/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useRef } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/core/description-versions/root.tsx b/apps/web/core/components/core/description-versions/root.tsx index e465293512..9922cd27ac 100644 --- a/apps/web/core/components/core/description-versions/root.tsx +++ b/apps/web/core/components/core/description-versions/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/core/filters/date-filter-modal.tsx b/apps/web/core/components/core/filters/date-filter-modal.tsx index 545dd3b77e..0f1ac2c53c 100644 --- a/apps/web/core/components/core/filters/date-filter-modal.tsx +++ b/apps/web/core/components/core/filters/date-filter-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Controller, useForm } from "react-hook-form"; import { Button } from "@plane/propel/button"; import { Calendar } from "@plane/propel/calendar"; diff --git a/apps/web/core/components/core/filters/date-filter-select.tsx b/apps/web/core/components/core/filters/date-filter-select.tsx index 44a838feba..fd106a9fbe 100644 --- a/apps/web/core/components/core/filters/date-filter-select.tsx +++ b/apps/web/core/components/core/filters/date-filter-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { CalendarDays } from "lucide-react"; // ui diff --git a/apps/web/core/components/core/image-picker-popover.tsx b/apps/web/core/components/core/image-picker-popover.tsx index 42712ab719..3682845545 100644 --- a/apps/web/core/components/core/image-picker-popover.tsx +++ b/apps/web/core/components/core/image-picker-popover.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useRef, useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/core/list/index.ts b/apps/web/core/components/core/list/index.ts index d5489c45ea..fd1bcf1f26 100644 --- a/apps/web/core/components/core/list/index.ts +++ b/apps/web/core/components/core/list/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./list-item"; export * from "./list-root"; diff --git a/apps/web/core/components/core/list/list-item.tsx b/apps/web/core/components/core/list/list-item.tsx index ce68d6fba0..fa48c8ebc6 100644 --- a/apps/web/core/components/core/list/list-item.tsx +++ b/apps/web/core/components/core/list/list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // ui import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/core/list/list-root.tsx b/apps/web/core/components/core/list/list-root.tsx index 391ca29648..a47075454e 100644 --- a/apps/web/core/components/core/list/list-root.tsx +++ b/apps/web/core/components/core/list/list-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { Row, ERowVariant } from "@plane/ui"; diff --git a/apps/web/core/components/core/modals/bulk-delete-issues-modal-item.tsx b/apps/web/core/components/core/modals/bulk-delete-issues-modal-item.tsx index 589959c623..7f3615959f 100644 --- a/apps/web/core/components/core/modals/bulk-delete-issues-modal-item.tsx +++ b/apps/web/core/components/core/modals/bulk-delete-issues-modal-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Combobox } from "@headlessui/react"; // hooks diff --git a/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx b/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx index 5015dd3d62..aec8f83272 100644 --- a/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx +++ b/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/core/modals/change-email-modal.tsx b/apps/web/core/components/core/modals/change-email-modal.tsx index 8917d07863..c2b8b84f5a 100644 --- a/apps/web/core/components/core/modals/change-email-modal.tsx +++ b/apps/web/core/components/core/modals/change-email-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx index 0d95a90f26..146d5e7a58 100644 --- a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx +++ b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState, useRef } from "react"; import { Rocket } from "lucide-react"; import { Combobox } from "@headlessui/react"; diff --git a/apps/web/core/components/core/modals/gpt-assistant-popover.tsx b/apps/web/core/components/core/modals/gpt-assistant-popover.tsx index 0e64a12c52..12cd2474cf 100644 --- a/apps/web/core/components/core/modals/gpt-assistant-popover.tsx +++ b/apps/web/core/components/core/modals/gpt-assistant-popover.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Ref } from "react"; import React, { useEffect, useState, useRef, Fragment } from "react"; import type { Placement } from "@popperjs/core"; diff --git a/apps/web/core/components/core/modals/issue-search-modal-empty-state.tsx b/apps/web/core/components/core/modals/issue-search-modal-empty-state.tsx index b3269fdbf2..24b1343fce 100644 --- a/apps/web/core/components/core/modals/issue-search-modal-empty-state.tsx +++ b/apps/web/core/components/core/modals/issue-search-modal-empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { useTheme } from "next-themes"; // plane imports diff --git a/apps/web/core/components/core/modals/user-image-upload-modal.tsx b/apps/web/core/components/core/modals/user-image-upload-modal.tsx index 72f4f18d98..74796e93a7 100644 --- a/apps/web/core/components/core/modals/user-image-upload-modal.tsx +++ b/apps/web/core/components/core/modals/user-image-upload-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useDropzone } from "react-dropzone"; diff --git a/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx b/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx index 6915bfd2fa..2c2f64cf45 100644 --- a/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx +++ b/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/core/multiple-select/entity-select-action.tsx b/apps/web/core/components/core/multiple-select/entity-select-action.tsx index 31f59e6e23..a4b40e5610 100644 --- a/apps/web/core/components/core/multiple-select/entity-select-action.tsx +++ b/apps/web/core/components/core/multiple-select/entity-select-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // ui import { Checkbox } from "@plane/ui"; diff --git a/apps/web/core/components/core/multiple-select/group-select-action.tsx b/apps/web/core/components/core/multiple-select/group-select-action.tsx index ec67bbac66..900b0e18e5 100644 --- a/apps/web/core/components/core/multiple-select/group-select-action.tsx +++ b/apps/web/core/components/core/multiple-select/group-select-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ui import { Checkbox } from "@plane/ui"; // helpers diff --git a/apps/web/core/components/core/multiple-select/index.ts b/apps/web/core/components/core/multiple-select/index.ts index b2cdf13c36..e14cb4c82f 100644 --- a/apps/web/core/components/core/multiple-select/index.ts +++ b/apps/web/core/components/core/multiple-select/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./entity-select-action"; export * from "./group-select-action"; export * from "./select-group"; diff --git a/apps/web/core/components/core/multiple-select/select-group.tsx b/apps/web/core/components/core/multiple-select/select-group.tsx index c23ee07ee3..7881b9e7d7 100644 --- a/apps/web/core/components/core/multiple-select/select-group.tsx +++ b/apps/web/core/components/core/multiple-select/select-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import type { TSelectionHelper } from "@/hooks/use-multiple-select"; diff --git a/apps/web/core/components/core/page-title.tsx b/apps/web/core/components/core/page-title.tsx index cd51986451..5f7d51d972 100644 --- a/apps/web/core/components/core/page-title.tsx +++ b/apps/web/core/components/core/page-title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; type PageHeadTitleProps = { diff --git a/apps/web/core/components/core/render-if-visible-HOC.tsx b/apps/web/core/components/core/render-if-visible-HOC.tsx index 07962bdd35..bd8a77a04a 100644 --- a/apps/web/core/components/core/render-if-visible-HOC.tsx +++ b/apps/web/core/components/core/render-if-visible-HOC.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode, MutableRefObject } from "react"; import React, { useState, useRef, useEffect } from "react"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/core/sidebar/progress-chart.tsx b/apps/web/core/components/core/sidebar/progress-chart.tsx index 190a8cc8ca..a5b99a9cdd 100644 --- a/apps/web/core/components/core/sidebar/progress-chart.tsx +++ b/apps/web/core/components/core/sidebar/progress-chart.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // plane imports import { AreaChart } from "@plane/propel/charts/area-chart"; diff --git a/apps/web/core/components/core/sidebar/progress-stats/assignee.tsx b/apps/web/core/components/core/sidebar/progress-stats/assignee.tsx index 6410cca287..374cd7adff 100644 --- a/apps/web/core/components/core/sidebar/progress-stats/assignee.tsx +++ b/apps/web/core/components/core/sidebar/progress-stats/assignee.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/core/sidebar/progress-stats/label.tsx b/apps/web/core/components/core/sidebar/progress-stats/label.tsx index 7472ac4523..0fb9b95bd5 100644 --- a/apps/web/core/components/core/sidebar/progress-stats/label.tsx +++ b/apps/web/core/components/core/sidebar/progress-stats/label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/core/sidebar/progress-stats/shared.ts b/apps/web/core/components/core/sidebar/progress-stats/shared.ts index 38f2352f35..93e0c8bf55 100644 --- a/apps/web/core/components/core/sidebar/progress-stats/shared.ts +++ b/apps/web/core/components/core/sidebar/progress-stats/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TWorkItemFilterCondition } from "@plane/shared-state"; import type { TFilterConditionNodeForDisplay, TFilterValue, TWorkItemFilterProperty } from "@plane/types"; diff --git a/apps/web/core/components/core/sidebar/progress-stats/state_group.tsx b/apps/web/core/components/core/sidebar/progress-stats/state_group.tsx index 7391ac63a6..bcc4fdb765 100644 --- a/apps/web/core/components/core/sidebar/progress-stats/state_group.tsx +++ b/apps/web/core/components/core/sidebar/progress-stats/state_group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { StateGroupIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/core/sidebar/sidebar-menu-hamburger-toggle.tsx b/apps/web/core/components/core/sidebar/sidebar-menu-hamburger-toggle.tsx index dc61ea8b1f..72d8d8f920 100644 --- a/apps/web/core/components/core/sidebar/sidebar-menu-hamburger-toggle.tsx +++ b/apps/web/core/components/core/sidebar/sidebar-menu-hamburger-toggle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { PanelRight } from "lucide-react"; import { useAppTheme } from "@/hooks/store/use-app-theme"; diff --git a/apps/web/core/components/core/sidebar/single-progress-stats.tsx b/apps/web/core/components/core/sidebar/single-progress-stats.tsx index ecb453b9b5..59c219b362 100644 --- a/apps/web/core/components/core/sidebar/single-progress-stats.tsx +++ b/apps/web/core/components/core/sidebar/single-progress-stats.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; type TSingleProgressStatsProps = { diff --git a/apps/web/core/components/core/theme/color-inputs.tsx b/apps/web/core/components/core/theme/color-inputs.tsx index 3459a203a0..3b08acfd52 100644 --- a/apps/web/core/components/core/theme/color-inputs.tsx +++ b/apps/web/core/components/core/theme/color-inputs.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; import { Controller } from "react-hook-form"; diff --git a/apps/web/core/components/core/theme/custom-theme-selector.tsx b/apps/web/core/components/core/theme/custom-theme-selector.tsx index e498840b69..416a5468ad 100644 --- a/apps/web/core/components/core/theme/custom-theme-selector.tsx +++ b/apps/web/core/components/core/theme/custom-theme-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useForm } from "react-hook-form"; diff --git a/apps/web/core/components/core/theme/download-config-button.tsx b/apps/web/core/components/core/theme/download-config-button.tsx index 0a80a2aa2a..c2ffc0bc3d 100644 --- a/apps/web/core/components/core/theme/download-config-button.tsx +++ b/apps/web/core/components/core/theme/download-config-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { UseFormGetValues } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/core/theme/import-config-button.tsx b/apps/web/core/components/core/theme/import-config-button.tsx index c585e3c507..a4586163b4 100644 --- a/apps/web/core/components/core/theme/import-config-button.tsx +++ b/apps/web/core/components/core/theme/import-config-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; import type { UseFormSetValue } from "react-hook-form"; diff --git a/apps/web/core/components/core/theme/theme-mode-selector.tsx b/apps/web/core/components/core/theme/theme-mode-selector.tsx index d791a14864..06cc637500 100644 --- a/apps/web/core/components/core/theme/theme-mode-selector.tsx +++ b/apps/web/core/components/core/theme/theme-mode-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; import { Controller } from "react-hook-form"; diff --git a/apps/web/core/components/core/theme/theme-switch.tsx b/apps/web/core/components/core/theme/theme-switch.tsx index d0a0ac3b6d..15785d9f4e 100644 --- a/apps/web/core/components/core/theme/theme-switch.tsx +++ b/apps/web/core/components/core/theme/theme-switch.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // plane imports import type { I_THEME_OPTION } from "@plane/constants"; diff --git a/apps/web/core/components/cycles/active-cycle/cycle-stats.tsx b/apps/web/core/components/cycles/active-cycle/cycle-stats.tsx index ec2668323e..78f52aa13f 100644 --- a/apps/web/core/components/cycles/active-cycle/cycle-stats.tsx +++ b/apps/web/core/components/cycles/active-cycle/cycle-stats.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { Fragment, useCallback, useRef, useState } from "react"; import { isEmpty } from "lodash-es"; diff --git a/apps/web/core/components/cycles/active-cycle/productivity.tsx b/apps/web/core/components/cycles/active-cycle/productivity.tsx index f34153b64c..f78c2f1113 100644 --- a/apps/web/core/components/cycles/active-cycle/productivity.tsx +++ b/apps/web/core/components/cycles/active-cycle/productivity.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { Fragment } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/active-cycle/progress.tsx b/apps/web/core/components/cycles/active-cycle/progress.tsx index b0d5ac74e8..61a02339b1 100644 --- a/apps/web/core/components/cycles/active-cycle/progress.tsx +++ b/apps/web/core/components/cycles/active-cycle/progress.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/cycles/active-cycle/use-cycles-details.ts b/apps/web/core/components/cycles/active-cycle/use-cycles-details.ts index 7f9154320f..d404520c59 100644 --- a/apps/web/core/components/cycles/active-cycle/use-cycles-details.ts +++ b/apps/web/core/components/cycles/active-cycle/use-cycles-details.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { useRouter } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/core/components/cycles/analytics-sidebar/index.ts b/apps/web/core/components/cycles/analytics-sidebar/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/index.ts +++ b/apps/web/core/components/cycles/analytics-sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/cycles/analytics-sidebar/issue-progress.tsx b/apps/web/core/components/cycles/analytics-sidebar/issue-progress.tsx index 711bfc66a2..c05d967f97 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/issue-progress.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/issue-progress.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useMemo } from "react"; import { isEmpty } from "lodash-es"; diff --git a/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx b/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx index 79db497626..a6735f4357 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Tab } from "@headlessui/react"; // plane imports diff --git a/apps/web/core/components/cycles/analytics-sidebar/root.tsx b/apps/web/core/components/cycles/analytics-sidebar/root.tsx index af1fd07a19..b714e9daf4 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/root.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx b/apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx index 2f33d3364e..c2cada51d4 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { isEmpty } from "lodash-es"; diff --git a/apps/web/core/components/cycles/analytics-sidebar/sidebar-header.tsx b/apps/web/core/components/cycles/analytics-sidebar/sidebar-header.tsx index f30f26ea06..c5ddb03796 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/sidebar-header.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/sidebar-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/cycles/applied-filters/date.tsx b/apps/web/core/components/cycles/applied-filters/date.tsx index cadb83e6e8..85e2210c80 100644 --- a/apps/web/core/components/cycles/applied-filters/date.tsx +++ b/apps/web/core/components/cycles/applied-filters/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // helpers import { DATE_AFTER_FILTER_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/cycles/applied-filters/index.ts b/apps/web/core/components/cycles/applied-filters/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/cycles/applied-filters/index.ts +++ b/apps/web/core/components/cycles/applied-filters/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/cycles/applied-filters/root.tsx b/apps/web/core/components/cycles/applied-filters/root.tsx index 7dcad6dd2f..5f1ef09744 100644 --- a/apps/web/core/components/cycles/applied-filters/root.tsx +++ b/apps/web/core/components/cycles/applied-filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/core/components/cycles/applied-filters/status.tsx b/apps/web/core/components/cycles/applied-filters/status.tsx index c0bfb956b8..762b1b05d4 100644 --- a/apps/web/core/components/cycles/applied-filters/status.tsx +++ b/apps/web/core/components/cycles/applied-filters/status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { CYCLE_STATUS } from "@plane/constants"; diff --git a/apps/web/core/components/cycles/archived-cycles/header.tsx b/apps/web/core/components/cycles/archived-cycles/header.tsx index 85cda87b65..bf54518f62 100644 --- a/apps/web/core/components/cycles/archived-cycles/header.tsx +++ b/apps/web/core/components/cycles/archived-cycles/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/cycles/archived-cycles/index.ts b/apps/web/core/components/cycles/archived-cycles/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/cycles/archived-cycles/index.ts +++ b/apps/web/core/components/cycles/archived-cycles/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/cycles/archived-cycles/modal.tsx b/apps/web/core/components/cycles/archived-cycles/modal.tsx index a686e580af..e29c05fed9 100644 --- a/apps/web/core/components/cycles/archived-cycles/modal.tsx +++ b/apps/web/core/components/cycles/archived-cycles/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/cycles/archived-cycles/root.tsx b/apps/web/core/components/cycles/archived-cycles/root.tsx index f14c153ca3..fdb0ad0e36 100644 --- a/apps/web/core/components/cycles/archived-cycles/root.tsx +++ b/apps/web/core/components/cycles/archived-cycles/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/cycles/archived-cycles/view.tsx b/apps/web/core/components/cycles/archived-cycles/view.tsx index 6e99016e22..1595958570 100644 --- a/apps/web/core/components/cycles/archived-cycles/view.tsx +++ b/apps/web/core/components/cycles/archived-cycles/view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // assets diff --git a/apps/web/core/components/cycles/cycle-peek-overview.tsx b/apps/web/core/components/cycles/cycle-peek-overview.tsx index a604958a5a..6b0b65f6c8 100644 --- a/apps/web/core/components/cycles/cycle-peek-overview.tsx +++ b/apps/web/core/components/cycles/cycle-peek-overview.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect } from "react"; import { observer } from "mobx-react"; import { usePathname, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/cycles/cycles-view-header.tsx b/apps/web/core/components/cycles/cycles-view-header.tsx index 549251feba..cdbc189720 100644 --- a/apps/web/core/components/cycles/cycles-view-header.tsx +++ b/apps/web/core/components/cycles/cycles-view-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; import { ListFilter } from "lucide-react"; diff --git a/apps/web/core/components/cycles/cycles-view.tsx b/apps/web/core/components/cycles/cycles-view.tsx index 13fce57436..fb2885e4be 100644 --- a/apps/web/core/components/cycles/cycles-view.tsx +++ b/apps/web/core/components/cycles/cycles-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // components diff --git a/apps/web/core/components/cycles/delete-modal.tsx b/apps/web/core/components/cycles/delete-modal.tsx index d491ffe90b..0bfadd2876 100644 --- a/apps/web/core/components/cycles/delete-modal.tsx +++ b/apps/web/core/components/cycles/delete-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/cycles/dropdowns/estimate-type-dropdown.tsx b/apps/web/core/components/cycles/dropdowns/estimate-type-dropdown.tsx index e1c371c50d..510457097d 100644 --- a/apps/web/core/components/cycles/dropdowns/estimate-type-dropdown.tsx +++ b/apps/web/core/components/cycles/dropdowns/estimate-type-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import type { TCycleEstimateType } from "@plane/types"; diff --git a/apps/web/core/components/cycles/dropdowns/filters/end-date.tsx b/apps/web/core/components/cycles/dropdowns/filters/end-date.tsx index a34aef8486..ce34f56f80 100644 --- a/apps/web/core/components/cycles/dropdowns/filters/end-date.tsx +++ b/apps/web/core/components/cycles/dropdowns/filters/end-date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/cycles/dropdowns/filters/index.ts b/apps/web/core/components/cycles/dropdowns/filters/index.ts index 3d097b6f06..95c8d66c94 100644 --- a/apps/web/core/components/cycles/dropdowns/filters/index.ts +++ b/apps/web/core/components/cycles/dropdowns/filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./end-date"; export * from "./root"; export * from "./start-date"; diff --git a/apps/web/core/components/cycles/dropdowns/filters/root.tsx b/apps/web/core/components/cycles/dropdowns/filters/root.tsx index 386a80938b..014542210e 100644 --- a/apps/web/core/components/cycles/dropdowns/filters/root.tsx +++ b/apps/web/core/components/cycles/dropdowns/filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { SearchIcon, CloseIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/cycles/dropdowns/filters/start-date.tsx b/apps/web/core/components/cycles/dropdowns/filters/start-date.tsx index 922a4c1c16..655f739311 100644 --- a/apps/web/core/components/cycles/dropdowns/filters/start-date.tsx +++ b/apps/web/core/components/cycles/dropdowns/filters/start-date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // constants diff --git a/apps/web/core/components/cycles/dropdowns/filters/status.tsx b/apps/web/core/components/cycles/dropdowns/filters/status.tsx index b0abe13352..ce39377da4 100644 --- a/apps/web/core/components/cycles/dropdowns/filters/status.tsx +++ b/apps/web/core/components/cycles/dropdowns/filters/status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { CYCLE_STATUS } from "@plane/constants"; diff --git a/apps/web/core/components/cycles/dropdowns/index.ts b/apps/web/core/components/cycles/dropdowns/index.ts index 2d1f115541..9c20b30b1b 100644 --- a/apps/web/core/components/cycles/dropdowns/index.ts +++ b/apps/web/core/components/cycles/dropdowns/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filters"; export * from "./estimate-type-dropdown"; diff --git a/apps/web/core/components/cycles/form.tsx b/apps/web/core/components/cycles/form.tsx index a046dd7a2f..55e978e0d6 100644 --- a/apps/web/core/components/cycles/form.tsx +++ b/apps/web/core/components/cycles/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/cycles/list/cycle-list-group-header.tsx b/apps/web/core/components/cycles/list/cycle-list-group-header.tsx index 2dfd4867dc..0ac641ff1c 100644 --- a/apps/web/core/components/cycles/list/cycle-list-group-header.tsx +++ b/apps/web/core/components/cycles/list/cycle-list-group-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; // types diff --git a/apps/web/core/components/cycles/list/cycle-list-item-action.tsx b/apps/web/core/components/cycles/list/cycle-list-item-action.tsx index e918dd53f6..93b5227eac 100644 --- a/apps/web/core/components/cycles/list/cycle-list-item-action.tsx +++ b/apps/web/core/components/cycles/list/cycle-list-item-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MouseEvent } from "react"; import React, { useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/list/cycle-list-project-group-header.tsx b/apps/web/core/components/cycles/list/cycle-list-project-group-header.tsx index 401a555330..8b055872ea 100644 --- a/apps/web/core/components/cycles/list/cycle-list-project-group-header.tsx +++ b/apps/web/core/components/cycles/list/cycle-list-project-group-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/list/cycles-list-item.tsx b/apps/web/core/components/cycles/list/cycles-list-item.tsx index 09c32ddf0f..c0b25f3647 100644 --- a/apps/web/core/components/cycles/list/cycles-list-item.tsx +++ b/apps/web/core/components/cycles/list/cycles-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MouseEvent } from "react"; import { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/list/cycles-list-map.tsx b/apps/web/core/components/cycles/list/cycles-list-map.tsx index 887f026c8c..d59c7f94bf 100644 --- a/apps/web/core/components/cycles/list/cycles-list-map.tsx +++ b/apps/web/core/components/cycles/list/cycles-list-map.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { CyclesListItem } from "./cycles-list-item"; diff --git a/apps/web/core/components/cycles/list/index.ts b/apps/web/core/components/cycles/list/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/cycles/list/index.ts +++ b/apps/web/core/components/cycles/list/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/cycles/list/root.tsx b/apps/web/core/components/cycles/list/root.tsx index 92278ffb46..a1155e577b 100644 --- a/apps/web/core/components/cycles/list/root.tsx +++ b/apps/web/core/components/cycles/list/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/modal.tsx b/apps/web/core/components/cycles/modal.tsx index bc068ddd70..2128bc3461 100644 --- a/apps/web/core/components/cycles/modal.tsx +++ b/apps/web/core/components/cycles/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { mutate } from "swr"; // types diff --git a/apps/web/core/components/cycles/quick-actions.tsx b/apps/web/core/components/cycles/quick-actions.tsx index 4254a0f315..72b4bf10d2 100644 --- a/apps/web/core/components/cycles/quick-actions.tsx +++ b/apps/web/core/components/cycles/quick-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { MoreHorizontal } from "lucide-react"; diff --git a/apps/web/core/components/cycles/transfer-issues-modal.tsx b/apps/web/core/components/cycles/transfer-issues-modal.tsx index caf2e6a5f7..2518eea8c3 100644 --- a/apps/web/core/components/cycles/transfer-issues-modal.tsx +++ b/apps/web/core/components/cycles/transfer-issues-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/cycles/transfer-issues.tsx b/apps/web/core/components/cycles/transfer-issues.tsx index 666a98c117..adbab83aa4 100644 --- a/apps/web/core/components/cycles/transfer-issues.tsx +++ b/apps/web/core/components/cycles/transfer-issues.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { AlertCircle } from "lucide-react"; // ui diff --git a/apps/web/core/components/dropdowns/buttons.tsx b/apps/web/core/components/dropdowns/buttons.tsx index b7e04a3673..421d012679 100644 --- a/apps/web/core/components/dropdowns/buttons.tsx +++ b/apps/web/core/components/dropdowns/buttons.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // helpers import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/dropdowns/constants.ts b/apps/web/core/components/dropdowns/constants.ts index 9451b1fca9..77479c8d3a 100644 --- a/apps/web/core/components/dropdowns/constants.ts +++ b/apps/web/core/components/dropdowns/constants.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { TButtonVariants } from "./types"; diff --git a/apps/web/core/components/dropdowns/cycle/cycle-options.tsx b/apps/web/core/components/dropdowns/cycle/cycle-options.tsx index 75d40a80ca..4e08a27019 100644 --- a/apps/web/core/components/dropdowns/cycle/cycle-options.tsx +++ b/apps/web/core/components/dropdowns/cycle/cycle-options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/cycle/index.tsx b/apps/web/core/components/dropdowns/cycle/index.tsx index f5d8d7adb1..a2a9919b1b 100644 --- a/apps/web/core/components/dropdowns/cycle/index.tsx +++ b/apps/web/core/components/dropdowns/cycle/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/date-range.tsx b/apps/web/core/components/dropdowns/date-range.tsx index 1ffb264311..1ee1e0ad8b 100644 --- a/apps/web/core/components/dropdowns/date-range.tsx +++ b/apps/web/core/components/dropdowns/date-range.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/date.tsx b/apps/web/core/components/dropdowns/date.tsx index d1185c3a9a..2181edab48 100644 --- a/apps/web/core/components/dropdowns/date.tsx +++ b/apps/web/core/components/dropdowns/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import { createPortal } from "react-dom"; diff --git a/apps/web/core/components/dropdowns/estimate.tsx b/apps/web/core/components/dropdowns/estimate.tsx index b938dc67ee..98a7ef3596 100644 --- a/apps/web/core/components/dropdowns/estimate.tsx +++ b/apps/web/core/components/dropdowns/estimate.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/intake-state/base.tsx b/apps/web/core/components/dropdowns/intake-state/base.tsx index 48b19edbda..f08ebff978 100644 --- a/apps/web/core/components/dropdowns/intake-state/base.tsx +++ b/apps/web/core/components/dropdowns/intake-state/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/intake-state/dropdown.tsx b/apps/web/core/components/dropdowns/intake-state/dropdown.tsx index 2a0e419885..a9220ee7a6 100644 --- a/apps/web/core/components/dropdowns/intake-state/dropdown.tsx +++ b/apps/web/core/components/dropdowns/intake-state/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/dropdowns/layout.tsx b/apps/web/core/components/dropdowns/layout.tsx index ae3e01a232..5b6ef2186c 100644 --- a/apps/web/core/components/dropdowns/layout.tsx +++ b/apps/web/core/components/dropdowns/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/dropdowns/member/avatar.tsx b/apps/web/core/components/dropdowns/member/avatar.tsx index 3ca658c814..13f4078bf5 100644 --- a/apps/web/core/components/dropdowns/member/avatar.tsx +++ b/apps/web/core/components/dropdowns/member/avatar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { LucideIcon } from "lucide-react"; import { MembersPropertyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/dropdowns/member/base.tsx b/apps/web/core/components/dropdowns/member/base.tsx index 73190676b1..2583c93cb3 100644 --- a/apps/web/core/components/dropdowns/member/base.tsx +++ b/apps/web/core/components/dropdowns/member/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; import { observer } from "mobx-react"; import type { LucideIcon } from "lucide-react"; diff --git a/apps/web/core/components/dropdowns/member/dropdown.tsx b/apps/web/core/components/dropdowns/member/dropdown.tsx index b573bc074a..2ab8e5c350 100644 --- a/apps/web/core/components/dropdowns/member/dropdown.tsx +++ b/apps/web/core/components/dropdowns/member/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import type { LucideIcon } from "lucide-react"; diff --git a/apps/web/core/components/dropdowns/member/member-options.tsx b/apps/web/core/components/dropdowns/member/member-options.tsx index e45e68f18c..a18a8f8310 100644 --- a/apps/web/core/components/dropdowns/member/member-options.tsx +++ b/apps/web/core/components/dropdowns/member/member-options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/merged-date.tsx b/apps/web/core/components/dropdowns/merged-date.tsx index bbf337ac78..62966e5cb6 100644 --- a/apps/web/core/components/dropdowns/merged-date.tsx +++ b/apps/web/core/components/dropdowns/merged-date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // helpers diff --git a/apps/web/core/components/dropdowns/module/base.tsx b/apps/web/core/components/dropdowns/module/base.tsx index 83459d17d5..1343858963 100644 --- a/apps/web/core/components/dropdowns/module/base.tsx +++ b/apps/web/core/components/dropdowns/module/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/module/button-content.tsx b/apps/web/core/components/dropdowns/module/button-content.tsx index 2d6d68c713..5b69f7aa0f 100644 --- a/apps/web/core/components/dropdowns/module/button-content.tsx +++ b/apps/web/core/components/dropdowns/module/button-content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { CloseIcon, ModuleIcon, ChevronDownIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/dropdowns/module/dropdown.tsx b/apps/web/core/components/dropdowns/module/dropdown.tsx index 40fad645d8..5a8f948111 100644 --- a/apps/web/core/components/dropdowns/module/dropdown.tsx +++ b/apps/web/core/components/dropdowns/module/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/dropdowns/module/module-options.tsx b/apps/web/core/components/dropdowns/module/module-options.tsx index 243684987e..6db54330d4 100644 --- a/apps/web/core/components/dropdowns/module/module-options.tsx +++ b/apps/web/core/components/dropdowns/module/module-options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/priority.tsx b/apps/web/core/components/dropdowns/priority.tsx index 809c4be36c..a7ccae829a 100644 --- a/apps/web/core/components/dropdowns/priority.tsx +++ b/apps/web/core/components/dropdowns/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useRef, useState } from "react"; import { usePopper } from "react-popper"; diff --git a/apps/web/core/components/dropdowns/project/base.tsx b/apps/web/core/components/dropdowns/project/base.tsx index e3362e83ff..c551209f12 100644 --- a/apps/web/core/components/dropdowns/project/base.tsx +++ b/apps/web/core/components/dropdowns/project/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/project/dropdown.tsx b/apps/web/core/components/dropdowns/project/dropdown.tsx index 1d59330526..165f734db5 100644 --- a/apps/web/core/components/dropdowns/project/dropdown.tsx +++ b/apps/web/core/components/dropdowns/project/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/web/core/components/dropdowns/state/base.tsx b/apps/web/core/components/dropdowns/state/base.tsx index 06e369196a..687e227b8c 100644 --- a/apps/web/core/components/dropdowns/state/base.tsx +++ b/apps/web/core/components/dropdowns/state/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/state/dropdown.tsx b/apps/web/core/components/dropdowns/state/dropdown.tsx index d7fe55fe1f..ea6bbc6567 100644 --- a/apps/web/core/components/dropdowns/state/dropdown.tsx +++ b/apps/web/core/components/dropdowns/state/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/editor/document/editor.tsx b/apps/web/core/components/editor/document/editor.tsx index 383325c518..20f8c6e095 100644 --- a/apps/web/core/components/editor/document/editor.tsx +++ b/apps/web/core/components/editor/document/editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { forwardRef } from "react"; // plane imports import { DocumentEditorWithRef } from "@plane/editor"; diff --git a/apps/web/core/components/editor/embeds/mentions/index.ts b/apps/web/core/components/editor/embeds/mentions/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/editor/embeds/mentions/index.ts +++ b/apps/web/core/components/editor/embeds/mentions/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/editor/embeds/mentions/root.tsx b/apps/web/core/components/editor/embeds/mentions/root.tsx index 6f83f064fb..88621d6de2 100644 --- a/apps/web/core/components/editor/embeds/mentions/root.tsx +++ b/apps/web/core/components/editor/embeds/mentions/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web imports import type { TEditorMentionComponentProps } from "@/plane-web/components/editor/embeds/mentions"; import { EditorAdditionalMentionsRoot } from "@/plane-web/components/editor/embeds/mentions"; diff --git a/apps/web/core/components/editor/embeds/mentions/user.tsx b/apps/web/core/components/editor/embeds/mentions/user.tsx index 7d47857f0f..4ffce3b2cd 100644 --- a/apps/web/core/components/editor/embeds/mentions/user.tsx +++ b/apps/web/core/components/editor/embeds/mentions/user.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import { Link } from "react-router"; diff --git a/apps/web/core/components/editor/lite-text/editor.tsx b/apps/web/core/components/editor/lite-text/editor.tsx index 6cae6fed8d..97e41d6420 100644 --- a/apps/web/core/components/editor/lite-text/editor.tsx +++ b/apps/web/core/components/editor/lite-text/editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; // plane constants import type { EIssueCommentAccessSpecifier } from "@plane/constants"; diff --git a/apps/web/core/components/editor/lite-text/index.ts b/apps/web/core/components/editor/lite-text/index.ts index f73ee92ef6..459e4deca8 100644 --- a/apps/web/core/components/editor/lite-text/index.ts +++ b/apps/web/core/components/editor/lite-text/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./editor"; export * from "./toolbar"; diff --git a/apps/web/core/components/editor/lite-text/lite-toolbar.tsx b/apps/web/core/components/editor/lite-text/lite-toolbar.tsx index 4eee50976d..7166575596 100644 --- a/apps/web/core/components/editor/lite-text/lite-toolbar.tsx +++ b/apps/web/core/components/editor/lite-text/lite-toolbar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { ArrowUp, Paperclip } from "lucide-react"; // constants diff --git a/apps/web/core/components/editor/lite-text/toolbar.tsx b/apps/web/core/components/editor/lite-text/toolbar.tsx index 95389fe9eb..9e8f01c83f 100644 --- a/apps/web/core/components/editor/lite-text/toolbar.tsx +++ b/apps/web/core/components/editor/lite-text/toolbar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState, useCallback } from "react"; import type { LucideIcon } from "lucide-react"; diff --git a/apps/web/core/components/editor/pdf/document.tsx b/apps/web/core/components/editor/pdf/document.tsx index a1d5b12ad2..1c439bfae1 100644 --- a/apps/web/core/components/editor/pdf/document.tsx +++ b/apps/web/core/components/editor/pdf/document.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { PageProps } from "@react-pdf/renderer"; import { Document, Font, Page } from "@react-pdf/renderer"; import { Html } from "react-pdf-html"; diff --git a/apps/web/core/components/editor/pdf/index.ts b/apps/web/core/components/editor/pdf/index.ts index fe6d89c0eb..a53ff8fb4e 100644 --- a/apps/web/core/components/editor/pdf/index.ts +++ b/apps/web/core/components/editor/pdf/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./document"; diff --git a/apps/web/core/components/editor/rich-text/description-input/index.ts b/apps/web/core/components/editor/rich-text/description-input/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/editor/rich-text/description-input/index.ts +++ b/apps/web/core/components/editor/rich-text/description-input/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/editor/rich-text/description-input/loader.tsx b/apps/web/core/components/editor/rich-text/description-input/loader.tsx index 2d3a068ee4..06db68b0f7 100644 --- a/apps/web/core/components/editor/rich-text/description-input/loader.tsx +++ b/apps/web/core/components/editor/rich-text/description-input/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { Loader } from "@plane/ui"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/editor/rich-text/description-input/root.tsx b/apps/web/core/components/editor/rich-text/description-input/root.tsx index 3703461582..188a1f046f 100644 --- a/apps/web/core/components/editor/rich-text/description-input/root.tsx +++ b/apps/web/core/components/editor/rich-text/description-input/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useState, useRef } from "react"; import { debounce } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/editor/rich-text/editor.tsx b/apps/web/core/components/editor/rich-text/editor.tsx index e3cb6ba613..3e667ef6f4 100644 --- a/apps/web/core/components/editor/rich-text/editor.tsx +++ b/apps/web/core/components/editor/rich-text/editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { forwardRef } from "react"; // plane imports import { RichTextEditorWithRef } from "@plane/editor"; diff --git a/apps/web/core/components/editor/rich-text/index.ts b/apps/web/core/components/editor/rich-text/index.ts index 8b1fd904bb..4c9233aa45 100644 --- a/apps/web/core/components/editor/rich-text/index.ts +++ b/apps/web/core/components/editor/rich-text/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./editor"; diff --git a/apps/web/core/components/editor/sticky-editor/color-palette.tsx b/apps/web/core/components/editor/sticky-editor/color-palette.tsx index 09f7f16e55..ea9f7615d9 100644 --- a/apps/web/core/components/editor/sticky-editor/color-palette.tsx +++ b/apps/web/core/components/editor/sticky-editor/color-palette.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TSticky } from "@plane/types"; export const STICKY_COLORS_LIST: { diff --git a/apps/web/core/components/editor/sticky-editor/editor.tsx b/apps/web/core/components/editor/sticky-editor/editor.tsx index 999c047a4d..0a0347c780 100644 --- a/apps/web/core/components/editor/sticky-editor/editor.tsx +++ b/apps/web/core/components/editor/sticky-editor/editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; // plane constants import type { EIssueCommentAccessSpecifier } from "@plane/constants"; diff --git a/apps/web/core/components/editor/sticky-editor/index.ts b/apps/web/core/components/editor/sticky-editor/index.ts index f73ee92ef6..459e4deca8 100644 --- a/apps/web/core/components/editor/sticky-editor/index.ts +++ b/apps/web/core/components/editor/sticky-editor/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./editor"; export * from "./toolbar"; diff --git a/apps/web/core/components/editor/sticky-editor/toolbar.tsx b/apps/web/core/components/editor/sticky-editor/toolbar.tsx index 6753eeeec2..35d12cc87a 100644 --- a/apps/web/core/components/editor/sticky-editor/toolbar.tsx +++ b/apps/web/core/components/editor/sticky-editor/toolbar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState, useCallback } from "react"; import { Palette } from "lucide-react"; // editor diff --git a/apps/web/core/components/empty-state/comic-box-button.tsx b/apps/web/core/components/empty-state/comic-box-button.tsx index c4a8d23fd2..591b0cc73f 100644 --- a/apps/web/core/components/empty-state/comic-box-button.tsx +++ b/apps/web/core/components/empty-state/comic-box-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Ref } from "react"; import { Fragment, useState } from "react"; import { usePopper } from "react-popper"; diff --git a/apps/web/core/components/empty-state/detailed-empty-state-root.tsx b/apps/web/core/components/empty-state/detailed-empty-state-root.tsx index 6f26f321e6..9dfcdf39ec 100644 --- a/apps/web/core/components/empty-state/detailed-empty-state-root.tsx +++ b/apps/web/core/components/empty-state/detailed-empty-state-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/empty-state/helper.tsx b/apps/web/core/components/empty-state/helper.tsx index 4f5cfc1274..03460f62e1 100644 --- a/apps/web/core/components/empty-state/helper.tsx +++ b/apps/web/core/components/empty-state/helper.tsx @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const getEmptyStateImagePath = (category: string, type: string, isLightMode: boolean) => `/empty-state/${category}/${type}-${isLightMode ? "light" : "dark"}.webp`; diff --git a/apps/web/core/components/empty-state/section-empty-state-root.tsx b/apps/web/core/components/empty-state/section-empty-state-root.tsx index 50227504f0..37cd702123 100644 --- a/apps/web/core/components/empty-state/section-empty-state-root.tsx +++ b/apps/web/core/components/empty-state/section-empty-state-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/empty-state/simple-empty-state-root.tsx b/apps/web/core/components/empty-state/simple-empty-state-root.tsx index fc92cfdf0c..38c9c7ffba 100644 --- a/apps/web/core/components/empty-state/simple-empty-state-root.tsx +++ b/apps/web/core/components/empty-state/simple-empty-state-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // utils import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/estimates/create/modal.tsx b/apps/web/core/components/estimates/create/modal.tsx index 54392b5e17..7894a0af2a 100644 --- a/apps/web/core/components/estimates/create/modal.tsx +++ b/apps/web/core/components/estimates/create/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/create/stage-one.tsx b/apps/web/core/components/estimates/create/stage-one.tsx index 3013a56655..92f4ef23a7 100644 --- a/apps/web/core/components/estimates/create/stage-one.tsx +++ b/apps/web/core/components/estimates/create/stage-one.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Info } from "lucide-react"; // plane imports import { EEstimateSystem, ESTIMATE_SYSTEMS } from "@plane/constants"; diff --git a/apps/web/core/components/estimates/delete/modal.tsx b/apps/web/core/components/estimates/delete/modal.tsx index f583bec023..d47468489c 100644 --- a/apps/web/core/components/estimates/delete/modal.tsx +++ b/apps/web/core/components/estimates/delete/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/estimates/empty-screen.tsx b/apps/web/core/components/estimates/empty-screen.tsx index 28c69729a1..0591a0d6c1 100644 --- a/apps/web/core/components/estimates/empty-screen.tsx +++ b/apps/web/core/components/estimates/empty-screen.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/estimates/estimate-disable-switch.tsx b/apps/web/core/components/estimates/estimate-disable-switch.tsx index 4378ce2abb..7553ce0757 100644 --- a/apps/web/core/components/estimates/estimate-disable-switch.tsx +++ b/apps/web/core/components/estimates/estimate-disable-switch.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/estimates/estimate-list-item.tsx b/apps/web/core/components/estimates/estimate-list-item.tsx index 0ae6888866..e16dcf9912 100644 --- a/apps/web/core/components/estimates/estimate-list-item.tsx +++ b/apps/web/core/components/estimates/estimate-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EEstimateSystem } from "@plane/constants"; diff --git a/apps/web/core/components/estimates/estimate-list.tsx b/apps/web/core/components/estimates/estimate-list.tsx index f52055e766..0a428e8f71 100644 --- a/apps/web/core/components/estimates/estimate-list.tsx +++ b/apps/web/core/components/estimates/estimate-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // local imports diff --git a/apps/web/core/components/estimates/estimate-search.tsx b/apps/web/core/components/estimates/estimate-search.tsx index d67403c9db..38a6439f18 100644 --- a/apps/web/core/components/estimates/estimate-search.tsx +++ b/apps/web/core/components/estimates/estimate-search.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/index.ts b/apps/web/core/components/estimates/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/estimates/index.ts +++ b/apps/web/core/components/estimates/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/estimates/inputs/index.ts b/apps/web/core/components/estimates/inputs/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/estimates/inputs/index.ts +++ b/apps/web/core/components/estimates/inputs/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/estimates/inputs/number-input.tsx b/apps/web/core/components/estimates/inputs/number-input.tsx index 4b4db415bb..24e9d7a2bb 100644 --- a/apps/web/core/components/estimates/inputs/number-input.tsx +++ b/apps/web/core/components/estimates/inputs/number-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useTranslation } from "@plane/i18n"; type TEstimateNumberInputProps = { diff --git a/apps/web/core/components/estimates/inputs/root.tsx b/apps/web/core/components/estimates/inputs/root.tsx index 117f68fe77..ac7a03cc41 100644 --- a/apps/web/core/components/estimates/inputs/root.tsx +++ b/apps/web/core/components/estimates/inputs/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // plane imports import type { TEstimateSystemKeys } from "@plane/types"; diff --git a/apps/web/core/components/estimates/inputs/text-input.tsx b/apps/web/core/components/estimates/inputs/text-input.tsx index 477d0b5fd9..4dabb65da4 100644 --- a/apps/web/core/components/estimates/inputs/text-input.tsx +++ b/apps/web/core/components/estimates/inputs/text-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useTranslation } from "@plane/i18n"; type TEstimateTextInputProps = { diff --git a/apps/web/core/components/estimates/loader-screen.tsx b/apps/web/core/components/estimates/loader-screen.tsx index 29474b9c96..79f3b03947 100644 --- a/apps/web/core/components/estimates/loader-screen.tsx +++ b/apps/web/core/components/estimates/loader-screen.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/estimates/points/create-root.tsx b/apps/web/core/components/estimates/points/create-root.tsx index 75d447be91..b309b2890c 100644 --- a/apps/web/core/components/estimates/points/create-root.tsx +++ b/apps/web/core/components/estimates/points/create-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, FC, SetStateAction } from "react"; import { useCallback, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/points/create.tsx b/apps/web/core/components/estimates/points/create.tsx index 7c78626006..f06a53f324 100644 --- a/apps/web/core/components/estimates/points/create.tsx +++ b/apps/web/core/components/estimates/points/create.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FormEvent } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/points/index.ts b/apps/web/core/components/estimates/points/index.ts index 2ef48eb2ad..26c9e6ed3b 100644 --- a/apps/web/core/components/estimates/points/index.ts +++ b/apps/web/core/components/estimates/points/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./create-root"; diff --git a/apps/web/core/components/estimates/points/preview.tsx b/apps/web/core/components/estimates/points/preview.tsx index a10288abd5..b34aa8d615 100644 --- a/apps/web/core/components/estimates/points/preview.tsx +++ b/apps/web/core/components/estimates/points/preview.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/points/update.tsx b/apps/web/core/components/estimates/points/update.tsx index 3ca443bc5e..5504f905ce 100644 --- a/apps/web/core/components/estimates/points/update.tsx +++ b/apps/web/core/components/estimates/points/update.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FormEvent } from "react"; import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/radio-select.tsx b/apps/web/core/components/estimates/radio-select.tsx index 1401357239..f4954e8ef5 100644 --- a/apps/web/core/components/estimates/radio-select.tsx +++ b/apps/web/core/components/estimates/radio-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // helpers import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/estimates/root.tsx b/apps/web/core/components/estimates/root.tsx index 53b7e05e41..85d18cf5bf 100644 --- a/apps/web/core/components/estimates/root.tsx +++ b/apps/web/core/components/estimates/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/exporter/column.tsx b/apps/web/core/components/exporter/column.tsx index a1d25cd9e6..524beaec02 100644 --- a/apps/web/core/components/exporter/column.tsx +++ b/apps/web/core/components/exporter/column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Download } from "lucide-react"; import type { IExportData } from "@plane/types"; import { getDate, getFileURL, renderFormattedDate } from "@plane/utils"; diff --git a/apps/web/core/components/exporter/export-form.tsx b/apps/web/core/components/exporter/export-form.tsx index d71014bb24..3c2016d9ca 100644 --- a/apps/web/core/components/exporter/export-form.tsx +++ b/apps/web/core/components/exporter/export-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { intersection } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/exporter/export-modal.tsx b/apps/web/core/components/exporter/export-modal.tsx index 309e842ccb..5b7fc39f69 100644 --- a/apps/web/core/components/exporter/export-modal.tsx +++ b/apps/web/core/components/exporter/export-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { intersection } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/exporter/guide.tsx b/apps/web/core/components/exporter/guide.tsx index 7861f0d9b0..e8d20cad5b 100644 --- a/apps/web/core/components/exporter/guide.tsx +++ b/apps/web/core/components/exporter/guide.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/exporter/prev-exports.tsx b/apps/web/core/components/exporter/prev-exports.tsx index d777ef8a45..2d747e00bd 100644 --- a/apps/web/core/components/exporter/prev-exports.tsx +++ b/apps/web/core/components/exporter/prev-exports.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import useSWR, { mutate } from "swr"; diff --git a/apps/web/core/components/exporter/single-export.tsx b/apps/web/core/components/exporter/single-export.tsx index e536e9daf2..a327068723 100644 --- a/apps/web/core/components/exporter/single-export.tsx +++ b/apps/web/core/components/exporter/single-export.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; // ui diff --git a/apps/web/core/components/gantt-chart/blocks/block-row.tsx b/apps/web/core/components/gantt-chart/blocks/block-row.tsx index 6f37d6805e..b71aabdd62 100644 --- a/apps/web/core/components/gantt-chart/blocks/block-row.tsx +++ b/apps/web/core/components/gantt-chart/blocks/block-row.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { ArrowRight } from "lucide-react"; diff --git a/apps/web/core/components/gantt-chart/blocks/block.tsx b/apps/web/core/components/gantt-chart/blocks/block.tsx index 4e5e52988d..75e770a649 100644 --- a/apps/web/core/components/gantt-chart/blocks/block.tsx +++ b/apps/web/core/components/gantt-chart/blocks/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/gantt-chart/chart/header.tsx b/apps/web/core/components/gantt-chart/chart/header.tsx index 6ad34b6002..5c47b4ab5a 100644 --- a/apps/web/core/components/gantt-chart/chart/header.tsx +++ b/apps/web/core/components/gantt-chart/chart/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Expand, Shrink } from "lucide-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/gantt-chart/chart/index.ts b/apps/web/core/components/gantt-chart/chart/index.ts index 68b20b89a1..cf20bf51d0 100644 --- a/apps/web/core/components/gantt-chart/chart/index.ts +++ b/apps/web/core/components/gantt-chart/chart/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./views"; export * from "./header"; export * from "./main-content"; diff --git a/apps/web/core/components/gantt-chart/chart/main-content.tsx b/apps/web/core/components/gantt-chart/chart/main-content.tsx index 4a3047f3a9..f6e53bdf48 100644 --- a/apps/web/core/components/gantt-chart/chart/main-content.tsx +++ b/apps/web/core/components/gantt-chart/chart/main-content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/core/components/gantt-chart/chart/root.tsx b/apps/web/core/components/gantt-chart/chart/root.tsx index 2eae619e47..22effbef89 100644 --- a/apps/web/core/components/gantt-chart/chart/root.tsx +++ b/apps/web/core/components/gantt-chart/chart/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/gantt-chart/chart/timeline-drag-helper.tsx b/apps/web/core/components/gantt-chart/chart/timeline-drag-helper.tsx index 12441f9240..48d1145b8f 100644 --- a/apps/web/core/components/gantt-chart/chart/timeline-drag-helper.tsx +++ b/apps/web/core/components/gantt-chart/chart/timeline-drag-helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/web/core/components/gantt-chart/chart/views/index.ts b/apps/web/core/components/gantt-chart/chart/views/index.ts index ea7c85e841..b7964eb50e 100644 --- a/apps/web/core/components/gantt-chart/chart/views/index.ts +++ b/apps/web/core/components/gantt-chart/chart/views/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./month"; export * from "./quarter"; export * from "./week"; diff --git a/apps/web/core/components/gantt-chart/chart/views/month.tsx b/apps/web/core/components/gantt-chart/chart/views/month.tsx index 7c2c7bdc65..1e2ee55551 100644 --- a/apps/web/core/components/gantt-chart/chart/views/month.tsx +++ b/apps/web/core/components/gantt-chart/chart/views/month.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/gantt-chart/chart/views/quarter.tsx b/apps/web/core/components/gantt-chart/chart/views/quarter.tsx index 02d746c059..98e482a7a1 100644 --- a/apps/web/core/components/gantt-chart/chart/views/quarter.tsx +++ b/apps/web/core/components/gantt-chart/chart/views/quarter.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane utils import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/gantt-chart/chart/views/week.tsx b/apps/web/core/components/gantt-chart/chart/views/week.tsx index 976ea717e4..a1c9a2d900 100644 --- a/apps/web/core/components/gantt-chart/chart/views/week.tsx +++ b/apps/web/core/components/gantt-chart/chart/views/week.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane utils import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/gantt-chart/constants.ts b/apps/web/core/components/gantt-chart/constants.ts index e875fb8eae..04ab7d2250 100644 --- a/apps/web/core/components/gantt-chart/constants.ts +++ b/apps/web/core/components/gantt-chart/constants.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const BLOCK_HEIGHT = 44; export const HEADER_HEIGHT = 48; diff --git a/apps/web/core/components/gantt-chart/contexts/index.tsx b/apps/web/core/components/gantt-chart/contexts/index.tsx index 894a06d75e..c3fbcdc8e3 100644 --- a/apps/web/core/components/gantt-chart/contexts/index.tsx +++ b/apps/web/core/components/gantt-chart/contexts/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { createContext, useContext } from "react"; import type { TTimelineType } from "@plane/types"; diff --git a/apps/web/core/components/gantt-chart/data/index.ts b/apps/web/core/components/gantt-chart/data/index.ts index 50cc76ec5a..18640a4f7a 100644 --- a/apps/web/core/components/gantt-chart/data/index.ts +++ b/apps/web/core/components/gantt-chart/data/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { WeekMonthDataType, ChartDataType, TGanttViews } from "@plane/types"; import { EStartOfTheWeek } from "@plane/types"; diff --git a/apps/web/core/components/gantt-chart/helpers/add-block.tsx b/apps/web/core/components/gantt-chart/helpers/add-block.tsx index 8db7ab7780..cffab8ff26 100644 --- a/apps/web/core/components/gantt-chart/helpers/add-block.tsx +++ b/apps/web/core/components/gantt-chart/helpers/add-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { addDays } from "date-fns"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/gantt-chart/helpers/blockResizables/left-resizable.tsx b/apps/web/core/components/gantt-chart/helpers/blockResizables/left-resizable.tsx index a2a1d7dd26..3c91c30a41 100644 --- a/apps/web/core/components/gantt-chart/helpers/blockResizables/left-resizable.tsx +++ b/apps/web/core/components/gantt-chart/helpers/blockResizables/left-resizable.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane utils diff --git a/apps/web/core/components/gantt-chart/helpers/blockResizables/right-resizable.tsx b/apps/web/core/components/gantt-chart/helpers/blockResizables/right-resizable.tsx index b6c1c689da..3cb02ff3c9 100644 --- a/apps/web/core/components/gantt-chart/helpers/blockResizables/right-resizable.tsx +++ b/apps/web/core/components/gantt-chart/helpers/blockResizables/right-resizable.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane utils diff --git a/apps/web/core/components/gantt-chart/helpers/blockResizables/use-gantt-resizable.ts b/apps/web/core/components/gantt-chart/helpers/blockResizables/use-gantt-resizable.ts index 2a6814ff3b..3a79ec618a 100644 --- a/apps/web/core/components/gantt-chart/helpers/blockResizables/use-gantt-resizable.ts +++ b/apps/web/core/components/gantt-chart/helpers/blockResizables/use-gantt-resizable.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; // Plane import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/gantt-chart/helpers/draggable.tsx b/apps/web/core/components/gantt-chart/helpers/draggable.tsx index 9ea0e71b3d..a0065141a8 100644 --- a/apps/web/core/components/gantt-chart/helpers/draggable.tsx +++ b/apps/web/core/components/gantt-chart/helpers/draggable.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/gantt-chart/helpers/index.ts b/apps/web/core/components/gantt-chart/helpers/index.ts index c96d42eec4..c63e7fe512 100644 --- a/apps/web/core/components/gantt-chart/helpers/index.ts +++ b/apps/web/core/components/gantt-chart/helpers/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./add-block"; export * from "./draggable"; diff --git a/apps/web/core/components/gantt-chart/index.ts b/apps/web/core/components/gantt-chart/index.ts index 49aaf6eeae..b9a1d964fb 100644 --- a/apps/web/core/components/gantt-chart/index.ts +++ b/apps/web/core/components/gantt-chart/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./chart"; export * from "./helpers"; export * from "./root"; diff --git a/apps/web/core/components/gantt-chart/root.tsx b/apps/web/core/components/gantt-chart/root.tsx index 18bedc87f7..ecf27a4e11 100644 --- a/apps/web/core/components/gantt-chart/root.tsx +++ b/apps/web/core/components/gantt-chart/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/gantt-chart/sidebar/gantt-dnd-HOC.tsx b/apps/web/core/components/gantt-chart/sidebar/gantt-dnd-HOC.tsx index 5d09cf507c..fe4bf0bc5e 100644 --- a/apps/web/core/components/gantt-chart/sidebar/gantt-dnd-HOC.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/gantt-dnd-HOC.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/gantt-chart/sidebar/index.ts b/apps/web/core/components/gantt-chart/sidebar/index.ts index e0e48c81eb..4ff511812a 100644 --- a/apps/web/core/components/gantt-chart/sidebar/index.ts +++ b/apps/web/core/components/gantt-chart/sidebar/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issues"; export * from "./modules"; export * from "./root"; diff --git a/apps/web/core/components/gantt-chart/sidebar/issues/block.tsx b/apps/web/core/components/gantt-chart/sidebar/issues/block.tsx index cdefcc39cd..f4a4594bab 100644 --- a/apps/web/core/components/gantt-chart/sidebar/issues/block.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/issues/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { IGanttBlock } from "@plane/types"; diff --git a/apps/web/core/components/gantt-chart/sidebar/issues/index.ts b/apps/web/core/components/gantt-chart/sidebar/issues/index.ts index 01acaeffb1..1f9c99db0c 100644 --- a/apps/web/core/components/gantt-chart/sidebar/issues/index.ts +++ b/apps/web/core/components/gantt-chart/sidebar/issues/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./sidebar"; diff --git a/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx b/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx index a210c40016..48a90a9625 100644 --- a/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/gantt-chart/sidebar/modules/block.tsx b/apps/web/core/components/gantt-chart/sidebar/modules/block.tsx index 0afffda566..479390afd7 100644 --- a/apps/web/core/components/gantt-chart/sidebar/modules/block.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/modules/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // Plane import { Row } from "@plane/ui"; diff --git a/apps/web/core/components/gantt-chart/sidebar/modules/index.ts b/apps/web/core/components/gantt-chart/sidebar/modules/index.ts index 01acaeffb1..1f9c99db0c 100644 --- a/apps/web/core/components/gantt-chart/sidebar/modules/index.ts +++ b/apps/web/core/components/gantt-chart/sidebar/modules/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./sidebar"; diff --git a/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx b/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx index 1e8373f57c..0bfaa7c80b 100644 --- a/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // ui import { GANTT_TIMELINE_TYPE } from "@plane/types"; diff --git a/apps/web/core/components/gantt-chart/sidebar/root.tsx b/apps/web/core/components/gantt-chart/sidebar/root.tsx index 4235db09f9..21d3837234 100644 --- a/apps/web/core/components/gantt-chart/sidebar/root.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/gantt-chart/sidebar/utils.ts b/apps/web/core/components/gantt-chart/sidebar/utils.ts index 1130fd389d..6844316867 100644 --- a/apps/web/core/components/gantt-chart/sidebar/utils.ts +++ b/apps/web/core/components/gantt-chart/sidebar/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ChartDataType, IBlockUpdateData, IGanttBlock } from "@plane/types"; export const handleOrderChange = ( diff --git a/apps/web/core/components/gantt-chart/views/helpers.ts b/apps/web/core/components/gantt-chart/views/helpers.ts index 3a603f70bd..5d02405873 100644 --- a/apps/web/core/components/gantt-chart/views/helpers.ts +++ b/apps/web/core/components/gantt-chart/views/helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ChartDataType, IGanttBlock } from "@plane/types"; import { addDaysToDate, findTotalDaysInRange, getDate } from "@plane/utils"; import { DEFAULT_BLOCK_WIDTH } from "../constants"; diff --git a/apps/web/core/components/gantt-chart/views/index.ts b/apps/web/core/components/gantt-chart/views/index.ts index 8a4835739c..1e94dbfe97 100644 --- a/apps/web/core/components/gantt-chart/views/index.ts +++ b/apps/web/core/components/gantt-chart/views/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./week-view"; export * from "./month-view"; export * from "./quarter-view"; diff --git a/apps/web/core/components/gantt-chart/views/month-view.ts b/apps/web/core/components/gantt-chart/views/month-view.ts index ffd12d9e9b..3b3f507345 100644 --- a/apps/web/core/components/gantt-chart/views/month-view.ts +++ b/apps/web/core/components/gantt-chart/views/month-view.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cloneDeep, uniqBy } from "lodash-es"; // plane imports import type { ChartDataType } from "@plane/types"; diff --git a/apps/web/core/components/gantt-chart/views/quarter-view.ts b/apps/web/core/components/gantt-chart/views/quarter-view.ts index ab307dee30..95f99128ac 100644 --- a/apps/web/core/components/gantt-chart/views/quarter-view.ts +++ b/apps/web/core/components/gantt-chart/views/quarter-view.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // import type { ChartDataType } from "@plane/types"; import { quarters } from "../data"; diff --git a/apps/web/core/components/gantt-chart/views/week-view.ts b/apps/web/core/components/gantt-chart/views/week-view.ts index f50afeeae1..a94ffab14e 100644 --- a/apps/web/core/components/gantt-chart/views/week-view.ts +++ b/apps/web/core/components/gantt-chart/views/week-view.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // import type { ChartDataType } from "@plane/types"; import { EStartOfTheWeek } from "@plane/types"; diff --git a/apps/web/core/components/global/chat-support-modal.tsx b/apps/web/core/components/global/chat-support-modal.tsx index 75c6c10ad1..5956c5e8f3 100644 --- a/apps/web/core/components/global/chat-support-modal.tsx +++ b/apps/web/core/components/global/chat-support-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { Intercom, shutdown, show } from "@intercom/messenger-js-sdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/global/index.ts b/apps/web/core/components/global/index.ts index bb0ffcec8a..32e2d4a18a 100644 --- a/apps/web/core/components/global/index.ts +++ b/apps/web/core/components/global/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./product-updates"; export * from "./timezone-select"; diff --git a/apps/web/core/components/global/product-updates/fallback.tsx b/apps/web/core/components/global/product-updates/fallback.tsx index ac865f437e..57ed75f958 100644 --- a/apps/web/core/components/global/product-updates/fallback.tsx +++ b/apps/web/core/components/global/product-updates/fallback.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { EmptyStateDetailed } from "@plane/propel/empty-state"; type TProductUpdatesFallbackProps = { diff --git a/apps/web/core/components/global/product-updates/footer.tsx b/apps/web/core/components/global/product-updates/footer.tsx index 2e88607a95..daf9a20f4f 100644 --- a/apps/web/core/components/global/product-updates/footer.tsx +++ b/apps/web/core/components/global/product-updates/footer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { USER_TRACKER_ELEMENTS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; // ui diff --git a/apps/web/core/components/global/product-updates/index.ts b/apps/web/core/components/global/product-updates/index.ts index 6886b55038..b9ae9c0117 100644 --- a/apps/web/core/components/global/product-updates/index.ts +++ b/apps/web/core/components/global/product-updates/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; export * from "./footer"; diff --git a/apps/web/core/components/global/product-updates/modal.tsx b/apps/web/core/components/global/product-updates/modal.tsx index ef3f7540da..8239769c69 100644 --- a/apps/web/core/components/global/product-updates/modal.tsx +++ b/apps/web/core/components/global/product-updates/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // ui import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui"; diff --git a/apps/web/core/components/global/timezone-select.tsx b/apps/web/core/components/global/timezone-select.tsx index 1a25a022a6..a4d692a557 100644 --- a/apps/web/core/components/global/timezone-select.tsx +++ b/apps/web/core/components/global/timezone-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { CustomSearchSelect } from "@plane/ui"; diff --git a/apps/web/core/components/home/home-dashboard-widgets.tsx b/apps/web/core/components/home/home-dashboard-widgets.tsx index 40f3f59da2..5cc635dfe4 100644 --- a/apps/web/core/components/home/home-dashboard-widgets.tsx +++ b/apps/web/core/components/home/home-dashboard-widgets.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams, usePathname } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/home/index.ts b/apps/web/core/components/home/index.ts index 09005cb24a..696c86c92e 100644 --- a/apps/web/core/components/home/index.ts +++ b/apps/web/core/components/home/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./widgets"; export * from "./home-dashboard-widgets"; export * from "./root"; diff --git a/apps/web/core/components/home/root.tsx b/apps/web/core/components/home/root.tsx index 8735e8812b..6473c35c1e 100644 --- a/apps/web/core/components/home/root.tsx +++ b/apps/web/core/components/home/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/core/components/home/user-greetings.tsx b/apps/web/core/components/home/user-greetings.tsx index 5c46d7e1d9..170da6c1bb 100644 --- a/apps/web/core/components/home/user-greetings.tsx +++ b/apps/web/core/components/home/user-greetings.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; // plane types import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/home/widgets/empty-states/index.ts b/apps/web/core/components/home/widgets/empty-states/index.ts index 72b042924d..2300b912a1 100644 --- a/apps/web/core/components/home/widgets/empty-states/index.ts +++ b/apps/web/core/components/home/widgets/empty-states/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./links"; export * from "./no-projects"; export * from "./recents"; diff --git a/apps/web/core/components/home/widgets/empty-states/links.tsx b/apps/web/core/components/home/widgets/empty-states/links.tsx index 05e93db936..a881ad5c2f 100644 --- a/apps/web/core/components/home/widgets/empty-states/links.tsx +++ b/apps/web/core/components/home/widgets/empty-states/links.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { EmptyStateCompact } from "@plane/propel/empty-state"; diff --git a/apps/web/core/components/home/widgets/empty-states/no-projects.tsx b/apps/web/core/components/home/widgets/empty-states/no-projects.tsx index 09cb48f461..9b11d0a538 100644 --- a/apps/web/core/components/home/widgets/empty-states/no-projects.tsx +++ b/apps/web/core/components/home/widgets/empty-states/no-projects.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // mobx import { observer } from "mobx-react"; diff --git a/apps/web/core/components/home/widgets/empty-states/recents.tsx b/apps/web/core/components/home/widgets/empty-states/recents.tsx index 02cb744fb8..eec43c25ed 100644 --- a/apps/web/core/components/home/widgets/empty-states/recents.tsx +++ b/apps/web/core/components/home/widgets/empty-states/recents.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { EmptyStateCompact } from "@plane/propel/empty-state"; import type { CompactAssetType } from "@plane/propel/empty-state"; diff --git a/apps/web/core/components/home/widgets/empty-states/stickies.tsx b/apps/web/core/components/home/widgets/empty-states/stickies.tsx index d6b2e1d186..5ccf408274 100644 --- a/apps/web/core/components/home/widgets/empty-states/stickies.tsx +++ b/apps/web/core/components/home/widgets/empty-states/stickies.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { EmptyStateCompact } from "@plane/propel/empty-state"; diff --git a/apps/web/core/components/home/widgets/index.ts b/apps/web/core/components/home/widgets/index.ts index 038e42ff1b..18e0accce9 100644 --- a/apps/web/core/components/home/widgets/index.ts +++ b/apps/web/core/components/home/widgets/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./empty-states"; export * from "./loaders"; export * from "./recents"; diff --git a/apps/web/core/components/home/widgets/links/action.tsx b/apps/web/core/components/home/widgets/links/action.tsx index 0b3f4b6e09..37a85db4b6 100644 --- a/apps/web/core/components/home/widgets/links/action.tsx +++ b/apps/web/core/components/home/widgets/links/action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { PlusIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx b/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx index f412b6e754..04b351b1f9 100644 --- a/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx +++ b/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/home/widgets/links/index.ts b/apps/web/core/components/home/widgets/links/index.ts index 380f7763c1..a8215b5b25 100644 --- a/apps/web/core/components/home/widgets/links/index.ts +++ b/apps/web/core/components/home/widgets/links/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./links"; export * from "./link-detail"; diff --git a/apps/web/core/components/home/widgets/links/link-detail.tsx b/apps/web/core/components/home/widgets/links/link-detail.tsx index 26bb203708..e2a7bc7274 100644 --- a/apps/web/core/components/home/widgets/links/link-detail.tsx +++ b/apps/web/core/components/home/widgets/links/link-detail.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/home/widgets/links/links.tsx b/apps/web/core/components/home/widgets/links/links.tsx index e0a533a6a5..874340160a 100644 --- a/apps/web/core/components/home/widgets/links/links.tsx +++ b/apps/web/core/components/home/widgets/links/links.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // computed diff --git a/apps/web/core/components/home/widgets/links/root.tsx b/apps/web/core/components/home/widgets/links/root.tsx index 8e02c3a2c7..ac8fe40c2b 100644 --- a/apps/web/core/components/home/widgets/links/root.tsx +++ b/apps/web/core/components/home/widgets/links/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/home/widgets/links/use-links.tsx b/apps/web/core/components/home/widgets/links/use-links.tsx index 4413258755..72da254219 100644 --- a/apps/web/core/components/home/widgets/links/use-links.tsx +++ b/apps/web/core/components/home/widgets/links/use-links.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { useTranslation } from "@plane/i18n"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/home/widgets/loaders/home-loader.tsx b/apps/web/core/components/home/widgets/loaders/home-loader.tsx index 220f3c2f3c..61a57356cf 100644 --- a/apps/web/core/components/home/widgets/loaders/home-loader.tsx +++ b/apps/web/core/components/home/widgets/loaders/home-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; // ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/home/widgets/loaders/index.ts b/apps/web/core/components/home/widgets/loaders/index.ts index a0925eccdf..1ea5354505 100644 --- a/apps/web/core/components/home/widgets/loaders/index.ts +++ b/apps/web/core/components/home/widgets/loaders/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./loader"; export * from "./home-loader"; diff --git a/apps/web/core/components/home/widgets/loaders/loader.tsx b/apps/web/core/components/home/widgets/loaders/loader.tsx index 75b87daf00..afdfe3834c 100644 --- a/apps/web/core/components/home/widgets/loaders/loader.tsx +++ b/apps/web/core/components/home/widgets/loaders/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { QuickLinksWidgetLoader } from "./quick-links"; import { RecentActivityWidgetLoader } from "./recent-activity"; diff --git a/apps/web/core/components/home/widgets/loaders/quick-links.tsx b/apps/web/core/components/home/widgets/loaders/quick-links.tsx index 08915ce6b5..3745a003ca 100644 --- a/apps/web/core/components/home/widgets/loaders/quick-links.tsx +++ b/apps/web/core/components/home/widgets/loaders/quick-links.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; // ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/home/widgets/loaders/recent-activity.tsx b/apps/web/core/components/home/widgets/loaders/recent-activity.tsx index 96a73679bc..337e34df97 100644 --- a/apps/web/core/components/home/widgets/loaders/recent-activity.tsx +++ b/apps/web/core/components/home/widgets/loaders/recent-activity.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; // ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/home/widgets/manage/index.tsx b/apps/web/core/components/home/widgets/manage/index.tsx index b0b2939460..912b3ed7c8 100644 --- a/apps/web/core/components/home/widgets/manage/index.tsx +++ b/apps/web/core/components/home/widgets/manage/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // plane types diff --git a/apps/web/core/components/home/widgets/manage/widget-item-drag-handle.tsx b/apps/web/core/components/home/widgets/manage/widget-item-drag-handle.tsx index ac898f62db..40bbf3723f 100644 --- a/apps/web/core/components/home/widgets/manage/widget-item-drag-handle.tsx +++ b/apps/web/core/components/home/widgets/manage/widget-item-drag-handle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/home/widgets/manage/widget-item.tsx b/apps/web/core/components/home/widgets/manage/widget-item.tsx index f42384cfd5..320cf29314 100644 --- a/apps/web/core/components/home/widgets/manage/widget-item.tsx +++ b/apps/web/core/components/home/widgets/manage/widget-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/home/widgets/manage/widget-list.tsx b/apps/web/core/components/home/widgets/manage/widget-list.tsx index 0fdec3a534..972c7691b6 100644 --- a/apps/web/core/components/home/widgets/manage/widget-list.tsx +++ b/apps/web/core/components/home/widgets/manage/widget-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { DragLocationHistory, DropTargetRecord, diff --git a/apps/web/core/components/home/widgets/manage/widget.helpers.ts b/apps/web/core/components/home/widgets/manage/widget.helpers.ts index e9429e13e6..1f25a7bb7a 100644 --- a/apps/web/core/components/home/widgets/manage/widget.helpers.ts +++ b/apps/web/core/components/home/widgets/manage/widget.helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item"; import type { InstructionType, IPragmaticPayloadLocation, TDropTarget, TWidgetEntityData } from "@plane/types"; diff --git a/apps/web/core/components/home/widgets/recents/filters.tsx b/apps/web/core/components/home/widgets/recents/filters.tsx index febd4b3066..d383ec94bc 100644 --- a/apps/web/core/components/home/widgets/recents/filters.tsx +++ b/apps/web/core/components/home/widgets/recents/filters.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/home/widgets/recents/index.tsx b/apps/web/core/components/home/widgets/recents/index.tsx index e1331ede0a..172c3efd8a 100644 --- a/apps/web/core/components/home/widgets/recents/index.tsx +++ b/apps/web/core/components/home/widgets/recents/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/home/widgets/recents/issue.tsx b/apps/web/core/components/home/widgets/recents/issue.tsx index 4bee13bdf5..13811be9a3 100644 --- a/apps/web/core/components/home/widgets/recents/issue.tsx +++ b/apps/web/core/components/home/widgets/recents/issue.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import { PriorityIcon, StateGroupIcon, WorkItemsIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/home/widgets/recents/page.tsx b/apps/web/core/components/home/widgets/recents/page.tsx index 8235bb3a65..48a7516973 100644 --- a/apps/web/core/components/home/widgets/recents/page.tsx +++ b/apps/web/core/components/home/widgets/recents/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRouter } from "next/navigation"; import { Logo } from "@plane/propel/emoji-icon-picker"; import { PageIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/home/widgets/recents/project.tsx b/apps/web/core/components/home/widgets/recents/project.tsx index 4397f77c48..af00d4c11a 100644 --- a/apps/web/core/components/home/widgets/recents/project.tsx +++ b/apps/web/core/components/home/widgets/recents/project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRouter } from "next/navigation"; // plane types import { Logo } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/icons/attachment/attachment-icon.tsx b/apps/web/core/components/icons/attachment/attachment-icon.tsx index e21ae88937..dcbf652cd8 100644 --- a/apps/web/core/components/icons/attachment/attachment-icon.tsx +++ b/apps/web/core/components/icons/attachment/attachment-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { AudioIcon, CssIcon, diff --git a/apps/web/core/components/icons/attachment/audio-file-icon.tsx b/apps/web/core/components/icons/attachment/audio-file-icon.tsx index d8e893b8cf..0cb2b87509 100644 --- a/apps/web/core/components/icons/attachment/audio-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/audio-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import AudioFileIcon from "@/app/assets/attachment/audio-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/css-file-icon.tsx b/apps/web/core/components/icons/attachment/css-file-icon.tsx index 7f6f27c16f..662d6c08c0 100644 --- a/apps/web/core/components/icons/attachment/css-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/css-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import CssFileIcon from "@/app/assets/attachment/css-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/csv-file-icon.tsx b/apps/web/core/components/icons/attachment/csv-file-icon.tsx index 2856575b1d..b770314b39 100644 --- a/apps/web/core/components/icons/attachment/csv-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/csv-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import CSVFileIcon from "@/app/assets/attachment/csv-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/default-file-icon.tsx b/apps/web/core/components/icons/attachment/default-file-icon.tsx index fac931af93..fb7e5d8514 100644 --- a/apps/web/core/components/icons/attachment/default-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/default-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import DefaultFileIcon from "@/app/assets/attachment/default-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/doc-file-icon.tsx b/apps/web/core/components/icons/attachment/doc-file-icon.tsx index 2f8c174eec..23982ffd37 100644 --- a/apps/web/core/components/icons/attachment/doc-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/doc-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import DocFileIcon from "@/app/assets/attachment/doc-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/document-icon.tsx b/apps/web/core/components/icons/attachment/document-icon.tsx index aeccb9f648..d1518edb30 100644 --- a/apps/web/core/components/icons/attachment/document-icon.tsx +++ b/apps/web/core/components/icons/attachment/document-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { Props } from "../types"; diff --git a/apps/web/core/components/icons/attachment/figma-file-icon.tsx b/apps/web/core/components/icons/attachment/figma-file-icon.tsx index a88fb8e607..3efbdad307 100644 --- a/apps/web/core/components/icons/attachment/figma-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/figma-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import FigmaFileIcon from "@/app/assets/attachment/figma-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/html-file-icon.tsx b/apps/web/core/components/icons/attachment/html-file-icon.tsx index 1f82f0761b..37b0347046 100644 --- a/apps/web/core/components/icons/attachment/html-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/html-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import HtmlFileIcon from "@/app/assets/attachment/html-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/img-file-icon.tsx b/apps/web/core/components/icons/attachment/img-file-icon.tsx index 93055cd8a8..077b8aefc2 100644 --- a/apps/web/core/components/icons/attachment/img-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/img-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import ImgFileIcon from "@/app/assets/attachment/img-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/index.ts b/apps/web/core/components/icons/attachment/index.ts index a2c65ceef1..b56265b834 100644 --- a/apps/web/core/components/icons/attachment/index.ts +++ b/apps/web/core/components/icons/attachment/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./attachment-icon"; export * from "./audio-file-icon"; export * from "./css-file-icon"; diff --git a/apps/web/core/components/icons/attachment/jpg-file-icon.tsx b/apps/web/core/components/icons/attachment/jpg-file-icon.tsx index 88118585a4..5ab72faba2 100644 --- a/apps/web/core/components/icons/attachment/jpg-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/jpg-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import JpgFileIcon from "@/app/assets/attachment/jpg-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/js-file-icon.tsx b/apps/web/core/components/icons/attachment/js-file-icon.tsx index 5bfadeee32..e35827b144 100644 --- a/apps/web/core/components/icons/attachment/js-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/js-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import JsFileIcon from "@/app/assets/attachment/js-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/pdf-file-icon.tsx b/apps/web/core/components/icons/attachment/pdf-file-icon.tsx index 84ef4cff25..449fa6efd0 100644 --- a/apps/web/core/components/icons/attachment/pdf-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/pdf-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import PDFFileIcon from "@/app/assets/attachment/pdf-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/png-file-icon.tsx b/apps/web/core/components/icons/attachment/png-file-icon.tsx index fd294addaa..4346141e29 100644 --- a/apps/web/core/components/icons/attachment/png-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/png-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import PngFileIcon from "@/app/assets/attachment/png-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/rar-file-icon.tsx b/apps/web/core/components/icons/attachment/rar-file-icon.tsx index 6e813520bc..50f75e36e6 100644 --- a/apps/web/core/components/icons/attachment/rar-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/rar-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import RarFileIcon from "@/app/assets/attachment/rar-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/setting-icon.tsx b/apps/web/core/components/icons/attachment/setting-icon.tsx index aedcc87bb9..3842e88035 100644 --- a/apps/web/core/components/icons/attachment/setting-icon.tsx +++ b/apps/web/core/components/icons/attachment/setting-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { Props } from "../types"; diff --git a/apps/web/core/components/icons/attachment/sheet-file-icon.tsx b/apps/web/core/components/icons/attachment/sheet-file-icon.tsx index e78beb1dfd..1881ccb72e 100644 --- a/apps/web/core/components/icons/attachment/sheet-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/sheet-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import SheetFileIcon from "@/app/assets/attachment/excel-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/svg-file-icon.tsx b/apps/web/core/components/icons/attachment/svg-file-icon.tsx index 56541e5255..e603afde90 100644 --- a/apps/web/core/components/icons/attachment/svg-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/svg-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import SvgFileIcon from "@/app/assets/attachment/svg-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/tune-icon.tsx b/apps/web/core/components/icons/attachment/tune-icon.tsx index ef3d439d61..3574729341 100644 --- a/apps/web/core/components/icons/attachment/tune-icon.tsx +++ b/apps/web/core/components/icons/attachment/tune-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { Props } from "../types"; diff --git a/apps/web/core/components/icons/attachment/txt-file-icon.tsx b/apps/web/core/components/icons/attachment/txt-file-icon.tsx index c1b2033671..c7fb36d954 100644 --- a/apps/web/core/components/icons/attachment/txt-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/txt-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import TxtFileIcon from "@/app/assets/attachment/txt-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/video-file-icon.tsx b/apps/web/core/components/icons/attachment/video-file-icon.tsx index 9d201ae088..e67ab6c393 100644 --- a/apps/web/core/components/icons/attachment/video-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/video-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import VideoFileIcon from "@/app/assets/attachment/video-icon.png?url"; diff --git a/apps/web/core/components/icons/attachment/zip-file-icon.tsx b/apps/web/core/components/icons/attachment/zip-file-icon.tsx index 787eede55b..2d7a88a067 100644 --- a/apps/web/core/components/icons/attachment/zip-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/zip-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // image import ZipFileIcon from "@/app/assets/attachment/zip-icon.png?url"; diff --git a/apps/web/core/components/icons/index.ts b/apps/web/core/components/icons/index.ts index 9f9f388606..32ce7e5a6c 100644 --- a/apps/web/core/components/icons/index.ts +++ b/apps/web/core/components/icons/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./attachment"; diff --git a/apps/web/core/components/icons/locked-component.tsx b/apps/web/core/components/icons/locked-component.tsx index 8c32fa437d..d98984f19c 100644 --- a/apps/web/core/components/icons/locked-component.tsx +++ b/apps/web/core/components/icons/locked-component.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { LockIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/inbox/content/inbox-issue-header.tsx b/apps/web/core/components/inbox/content/inbox-issue-header.tsx index f326186f10..f89e460508 100644 --- a/apps/web/core/components/inbox/content/inbox-issue-header.tsx +++ b/apps/web/core/components/inbox/content/inbox-issue-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback, useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx b/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx index 8b8439e7ad..67f4f72659 100644 --- a/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx +++ b/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { CircleCheck, CircleX, Clock, FileStack, PanelLeft, MoveRight } from "lucide-react"; diff --git a/apps/web/core/components/inbox/content/index.ts b/apps/web/core/components/inbox/content/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/inbox/content/index.ts +++ b/apps/web/core/components/inbox/content/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/inbox/content/issue-properties.tsx b/apps/web/core/components/inbox/content/issue-properties.tsx index c9d1419777..91916518f0 100644 --- a/apps/web/core/components/inbox/content/issue-properties.tsx +++ b/apps/web/core/components/inbox/content/issue-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { StatePropertyIcon, diff --git a/apps/web/core/components/inbox/content/issue-root.tsx b/apps/web/core/components/inbox/content/issue-root.tsx index c09dc192f2..a41b385827 100644 --- a/apps/web/core/components/inbox/content/issue-root.tsx +++ b/apps/web/core/components/inbox/content/issue-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, SetStateAction } from "react"; import { useEffect, useMemo, useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/content/root.tsx b/apps/web/core/components/inbox/content/root.tsx index f330f64689..3de80d4c41 100644 --- a/apps/web/core/components/inbox/content/root.tsx +++ b/apps/web/core/components/inbox/content/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/date.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/date.tsx index ae02289552..d076829b16 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/date.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { PAST_DURATION_FILTER_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/label.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/label.tsx index 592226227f..8231a00114 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/label.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/member.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/member.tsx index 11ef82db7f..335a69def5 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/member.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/member.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/priority.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/priority.tsx index 18339b9cf1..f910f08a95 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/priority.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { ISSUE_PRIORITIES } from "@plane/constants"; diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/root.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/root.tsx index bf33b282eb..29b158d106 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/root.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/state.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/state.tsx index 86450c6093..a7b8ae0b2f 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/state.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { EIconSize } from "@plane/constants"; diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/status.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/status.tsx index 6c07b4ad43..889b0b62b8 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/status.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { INBOX_STATUS } from "@plane/constants"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/date.tsx b/apps/web/core/components/inbox/inbox-filter/filters/date.tsx index 135aee2a20..e817c06ab4 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/date.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { concat, uniq } from "lodash-es"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/filter-selection.tsx b/apps/web/core/components/inbox/inbox-filter/filters/filter-selection.tsx index fbfe55fc61..eb1fe2a615 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/filter-selection.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/filter-selection.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/labels.tsx b/apps/web/core/components/inbox/inbox-filter/filters/labels.tsx index 7d7884c26b..5fb9fdf1d5 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/labels.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/labels.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/members.tsx b/apps/web/core/components/inbox/inbox-filter/filters/members.tsx index a9831be68e..505b220b36 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/members.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/priority.tsx b/apps/web/core/components/inbox/inbox-filter/filters/priority.tsx index ca5b8b6b08..8036dddbc7 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/priority.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/state.tsx b/apps/web/core/components/inbox/inbox-filter/filters/state.tsx index 147e402014..936c25757d 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/state.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/status.tsx b/apps/web/core/components/inbox/inbox-filter/filters/status.tsx index 0580667916..e042fc9fe7 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/status.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/index.ts b/apps/web/core/components/inbox/inbox-filter/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/inbox/inbox-filter/index.ts +++ b/apps/web/core/components/inbox/inbox-filter/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/inbox/inbox-filter/root.tsx b/apps/web/core/components/inbox/inbox-filter/root.tsx index 4130fb1e51..b9b1807178 100644 --- a/apps/web/core/components/inbox/inbox-filter/root.tsx +++ b/apps/web/core/components/inbox/inbox-filter/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { ListFilter } from "lucide-react"; import { getButtonStyling } from "@plane/propel/button"; diff --git a/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx b/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx index daa1093273..60e7c72f1b 100644 --- a/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx +++ b/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { ArrowDownWideNarrow, ArrowUpWideNarrow } from "lucide-react"; diff --git a/apps/web/core/components/inbox/inbox-issue-status.tsx b/apps/web/core/components/inbox/inbox-issue-status.tsx index 8c93d7f299..57b05b6adf 100644 --- a/apps/web/core/components/inbox/inbox-issue-status.tsx +++ b/apps/web/core/components/inbox/inbox-issue-status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // constants diff --git a/apps/web/core/components/inbox/inbox-status-icon.tsx b/apps/web/core/components/inbox/inbox-status-icon.tsx index 61450b6086..ed92f91dc6 100644 --- a/apps/web/core/components/inbox/inbox-status-icon.tsx +++ b/apps/web/core/components/inbox/inbox-status-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { AlertTriangle, CheckCircle2, Clock, XCircle } from "lucide-react"; import { CopyIcon } from "@plane/propel/icons"; import type { TInboxIssueStatus } from "@plane/types"; diff --git a/apps/web/core/components/inbox/index.ts b/apps/web/core/components/inbox/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/inbox/index.ts +++ b/apps/web/core/components/inbox/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/inbox/modals/create-modal/create-root.tsx b/apps/web/core/components/inbox/modals/create-modal/create-root.tsx index 059a4d2f78..ad02e18cd0 100644 --- a/apps/web/core/components/inbox/modals/create-modal/create-root.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/create-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FormEvent } from "react"; import { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/modals/create-modal/index.ts b/apps/web/core/components/inbox/modals/create-modal/index.ts index 031608e25f..dd65a9ec34 100644 --- a/apps/web/core/components/inbox/modals/create-modal/index.ts +++ b/apps/web/core/components/inbox/modals/create-modal/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; diff --git a/apps/web/core/components/inbox/modals/create-modal/issue-description.tsx b/apps/web/core/components/inbox/modals/create-modal/issue-description.tsx index d17acd2a14..3f67c5002c 100644 --- a/apps/web/core/components/inbox/modals/create-modal/issue-description.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/issue-description.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC, RefObject } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/inbox/modals/create-modal/issue-properties.tsx b/apps/web/core/components/inbox/modals/create-modal/issue-properties.tsx index cb013c6bc9..f0f1e7bb0f 100644 --- a/apps/web/core/components/inbox/modals/create-modal/issue-properties.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/issue-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/modals/create-modal/issue-title.tsx b/apps/web/core/components/inbox/modals/create-modal/issue-title.tsx index 116d352af9..3c8c809ec9 100644 --- a/apps/web/core/components/inbox/modals/create-modal/issue-title.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/issue-title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/inbox/modals/create-modal/modal.tsx b/apps/web/core/components/inbox/modals/create-modal/modal.tsx index 9c3eff145f..267424f5d8 100644 --- a/apps/web/core/components/inbox/modals/create-modal/modal.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; // plane imports diff --git a/apps/web/core/components/inbox/modals/decline-issue-modal.tsx b/apps/web/core/components/inbox/modals/decline-issue-modal.tsx index f0b3207eb8..10c516c831 100644 --- a/apps/web/core/components/inbox/modals/decline-issue-modal.tsx +++ b/apps/web/core/components/inbox/modals/decline-issue-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; // types import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/inbox/modals/delete-issue-modal.tsx b/apps/web/core/components/inbox/modals/delete-issue-modal.tsx index a90f1727be..88089cecbd 100644 --- a/apps/web/core/components/inbox/modals/delete-issue-modal.tsx +++ b/apps/web/core/components/inbox/modals/delete-issue-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/inbox/modals/select-duplicate.tsx b/apps/web/core/components/inbox/modals/select-duplicate.tsx index 22344aa9c9..3d3b9a6e10 100644 --- a/apps/web/core/components/inbox/modals/select-duplicate.tsx +++ b/apps/web/core/components/inbox/modals/select-duplicate.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { useParams } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/inbox/modals/snooze-issue-modal.tsx b/apps/web/core/components/inbox/modals/snooze-issue-modal.tsx index 4f05552df9..708458efbb 100644 --- a/apps/web/core/components/inbox/modals/snooze-issue-modal.tsx +++ b/apps/web/core/components/inbox/modals/snooze-issue-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // ui import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/inbox/root.tsx b/apps/web/core/components/inbox/root.tsx index 21ca11134c..18b6c9a5a5 100644 --- a/apps/web/core/components/inbox/root.tsx +++ b/apps/web/core/components/inbox/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { PanelLeft } from "lucide-react"; diff --git a/apps/web/core/components/inbox/sidebar/inbox-list-item.tsx b/apps/web/core/components/inbox/sidebar/inbox-list-item.tsx index 2bdf1c239d..3f7016cd2d 100644 --- a/apps/web/core/components/inbox/sidebar/inbox-list-item.tsx +++ b/apps/web/core/components/inbox/sidebar/inbox-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC, MouseEvent } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/inbox/sidebar/inbox-list.tsx b/apps/web/core/components/inbox/sidebar/inbox-list.tsx index 7cace3d50d..886171cda4 100644 --- a/apps/web/core/components/inbox/sidebar/inbox-list.tsx +++ b/apps/web/core/components/inbox/sidebar/inbox-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { Fragment } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/sidebar/index.ts b/apps/web/core/components/inbox/sidebar/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/inbox/sidebar/index.ts +++ b/apps/web/core/components/inbox/sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/inbox/sidebar/root.tsx b/apps/web/core/components/inbox/sidebar/root.tsx index 7d89f271d8..064604ffd4 100644 --- a/apps/web/core/components/inbox/sidebar/root.tsx +++ b/apps/web/core/components/inbox/sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/instance/index.ts b/apps/web/core/components/instance/index.ts index 43e76eba72..0b4b6ab363 100644 --- a/apps/web/core/components/instance/index.ts +++ b/apps/web/core/components/instance/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./not-ready-view"; export * from "./maintenance-view"; diff --git a/apps/web/core/components/instance/maintenance-view.tsx b/apps/web/core/components/instance/maintenance-view.tsx index d703ddd171..1e6ff3a5f2 100644 --- a/apps/web/core/components/instance/maintenance-view.tsx +++ b/apps/web/core/components/instance/maintenance-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useTheme } from "next-themes"; // assets diff --git a/apps/web/core/components/instance/not-ready-view.tsx b/apps/web/core/components/instance/not-ready-view.tsx index 7bedc9fb86..98bb8b8af5 100644 --- a/apps/web/core/components/instance/not-ready-view.tsx +++ b/apps/web/core/components/instance/not-ready-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import Link from "next/link"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/integration/github/select-repository.tsx b/apps/web/core/components/integration/github/select-repository.tsx index 6a9ff58077..bcfa001a94 100644 --- a/apps/web/core/components/integration/github/select-repository.tsx +++ b/apps/web/core/components/integration/github/select-repository.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { useParams } from "next/navigation"; import useSWRInfinite from "swr/infinite"; diff --git a/apps/web/core/components/integration/single-integration-card.tsx b/apps/web/core/components/integration/single-integration-card.tsx index 926625821d..caeb31fe32 100644 --- a/apps/web/core/components/integration/single-integration-card.tsx +++ b/apps/web/core/components/integration/single-integration-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/integration/slack/select-channel.tsx b/apps/web/core/components/integration/slack/select-channel.tsx index 827b8d438b..4ed32564f0 100644 --- a/apps/web/core/components/integration/slack/select-channel.tsx +++ b/apps/web/core/components/integration/slack/select-channel.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/archive-issue-modal.tsx b/apps/web/core/components/issues/archive-issue-modal.tsx index f54518406e..ad487abca1 100644 --- a/apps/web/core/components/issues/archive-issue-modal.tsx +++ b/apps/web/core/components/issues/archive-issue-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // i18n import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/archived-issues-header.tsx b/apps/web/core/components/issues/archived-issues-header.tsx index e6db994441..2f0077911e 100644 --- a/apps/web/core/components/issues/archived-issues-header.tsx +++ b/apps/web/core/components/issues/archived-issues-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/attachment/attachment-detail.tsx b/apps/web/core/components/issues/attachment/attachment-detail.tsx index 235832413b..1d7db39795 100644 --- a/apps/web/core/components/issues/attachment/attachment-detail.tsx +++ b/apps/web/core/components/issues/attachment/attachment-detail.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/attachment/attachment-item-list.tsx b/apps/web/core/components/issues/attachment/attachment-item-list.tsx index c9754d2cd2..04b0b0049c 100644 --- a/apps/web/core/components/issues/attachment/attachment-item-list.tsx +++ b/apps/web/core/components/issues/attachment/attachment-item-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/attachment/attachment-list-item.tsx b/apps/web/core/components/issues/attachment/attachment-list-item.tsx index d0823097ec..3a6752fd16 100644 --- a/apps/web/core/components/issues/attachment/attachment-list-item.tsx +++ b/apps/web/core/components/issues/attachment/attachment-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/attachment/attachment-list-upload-item.tsx b/apps/web/core/components/issues/attachment/attachment-list-upload-item.tsx index 06743cdf06..5086b799db 100644 --- a/apps/web/core/components/issues/attachment/attachment-list-upload-item.tsx +++ b/apps/web/core/components/issues/attachment/attachment-list-upload-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // ui import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/attachment/attachment-upload-details.tsx b/apps/web/core/components/issues/attachment/attachment-upload-details.tsx index b70b28f1cb..d5ebd65deb 100644 --- a/apps/web/core/components/issues/attachment/attachment-upload-details.tsx +++ b/apps/web/core/components/issues/attachment/attachment-upload-details.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Tooltip } from "@plane/propel/tooltip"; import { CircularProgressIndicator } from "@plane/ui"; diff --git a/apps/web/core/components/issues/attachment/attachment-upload.tsx b/apps/web/core/components/issues/attachment/attachment-upload.tsx index 9ecb101b48..c537361ef9 100644 --- a/apps/web/core/components/issues/attachment/attachment-upload.tsx +++ b/apps/web/core/components/issues/attachment/attachment-upload.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { useDropzone } from "react-dropzone"; diff --git a/apps/web/core/components/issues/attachment/attachments-list.tsx b/apps/web/core/components/issues/attachment/attachments-list.tsx index 6cd0636bad..2811709075 100644 --- a/apps/web/core/components/issues/attachment/attachments-list.tsx +++ b/apps/web/core/components/issues/attachment/attachments-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/web/core/components/issues/attachment/delete-attachment-modal.tsx b/apps/web/core/components/issues/attachment/delete-attachment-modal.tsx index 5ea7225d9d..691b312617 100644 --- a/apps/web/core/components/issues/attachment/delete-attachment-modal.tsx +++ b/apps/web/core/components/issues/attachment/delete-attachment-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/attachment/index.ts b/apps/web/core/components/issues/attachment/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/issues/attachment/index.ts +++ b/apps/web/core/components/issues/attachment/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/issues/attachment/root.tsx b/apps/web/core/components/issues/attachment/root.tsx index e1060746b1..7e8597ccfb 100644 --- a/apps/web/core/components/issues/attachment/root.tsx +++ b/apps/web/core/components/issues/attachment/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import { useAttachmentOperations } from "../issue-detail-widgets/attachments/helper"; diff --git a/apps/web/core/components/issues/bulk-operations/upgrade-banner.tsx b/apps/web/core/components/issues/bulk-operations/upgrade-banner.tsx index 743b420e8b..6906b0eb94 100644 --- a/apps/web/core/components/issues/bulk-operations/upgrade-banner.tsx +++ b/apps/web/core/components/issues/bulk-operations/upgrade-banner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { MARKETING_PLANE_ONE_PAGE_LINK } from "@plane/constants"; import { getButtonStyling } from "@plane/propel/button"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/issues/confirm-issue-discard.tsx b/apps/web/core/components/issues/confirm-issue-discard.tsx index 16ca19a2d9..79bb004827 100644 --- a/apps/web/core/components/issues/confirm-issue-discard.tsx +++ b/apps/web/core/components/issues/confirm-issue-discard.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/issues/create-issue-toast-action-items.tsx b/apps/web/core/components/issues/create-issue-toast-action-items.tsx index 550bc2ec4f..43647a9d94 100644 --- a/apps/web/core/components/issues/create-issue-toast-action-items.tsx +++ b/apps/web/core/components/issues/create-issue-toast-action-items.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/delete-issue-modal.tsx b/apps/web/core/components/issues/delete-issue-modal.tsx index 9230e4aae9..a9d853cd56 100644 --- a/apps/web/core/components/issues/delete-issue-modal.tsx +++ b/apps/web/core/components/issues/delete-issue-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/filters.tsx b/apps/web/core/components/issues/filters.tsx index dbe85651a9..36c686ffe8 100644 --- a/apps/web/core/components/issues/filters.tsx +++ b/apps/web/core/components/issues/filters.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { ChartNoAxesColumn, SlidersHorizontal } from "lucide-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx b/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx index b52ed6af9d..5c0dda4019 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { Paperclip } from "lucide-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/content.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/content.tsx index efadb710df..a536acf5a5 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/content.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/helper.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/helper.tsx index 0ca891f17a..e32dfbbd09 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/helper.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { setPromiseToast, TOAST_TYPE, setToast } from "@plane/propel/toast"; import type { TIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/index.ts b/apps/web/core/components/issues/issue-detail-widgets/attachments/index.ts index 78eef97686..3c6016adb3 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/index.ts +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./content"; export * from "./title"; export * from "./root"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx index 8c52d7b60b..4354d38069 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useCallback, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/root.tsx index 1bf1d457e5..0c94fca605 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/title.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/title.tsx index 6ff4047ccc..b94a9f4811 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/title.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/index.ts b/apps/web/core/components/issues/issue-detail-widgets/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/index.ts +++ b/apps/web/core/components/issues/issue-detail-widgets/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx b/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx index fa792e8008..962e933190 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-modals.tsx b/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-modals.tsx index c13ec40888..fc08f6a7b9 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-modals.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-modals.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/content.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/content.tsx index 49f2a56b1a..999721885c 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/content.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import type { TIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/helper.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/helper.tsx index cdce12ca57..c1bb10f2e2 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/helper.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/index.ts b/apps/web/core/components/issues/issue-detail-widgets/links/index.ts index 78eef97686..3c6016adb3 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/index.ts +++ b/apps/web/core/components/issues/issue-detail-widgets/links/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./content"; export * from "./title"; export * from "./root"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx index 3cb3d98fc1..f10504ef7a 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/root.tsx index 5f809be46b..b38c6b2b6f 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/title.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/title.tsx index b4bc38fd58..4a3ff4410e 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/title.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/content.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/content.tsx index 8406d8895f..1a420334bc 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/content.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/helper.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/helper.tsx index 1666613330..4842a9d177 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/helper.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/index.ts b/apps/web/core/components/issues/issue-detail-widgets/relations/index.ts index 78eef97686..3c6016adb3 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/index.ts +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./content"; export * from "./title"; export * from "./root"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx index 11d16c3995..98700c9181 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/root.tsx index e13f9beb72..edebdb19b6 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/title.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/title.tsx index e4d8061c80..5b9c29a536 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/title.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/root.tsx index 44b5a76f71..037e345f1f 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/content.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/content.tsx index f5b5f12c95..96e020113a 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/content.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useEffect, useState, useCallback } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/display-filters.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/display-filters.tsx index f4f9f4c83b..8010fc88b9 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/display-filters.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/display-filters.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useMemo } from "react"; import { isEmpty } from "lodash-es"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/filters.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/filters.tsx index 1823d491b6..7e9eb339ed 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/filters.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/filters.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/helper.ts b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/helper.ts index ab1722b364..35f941e89a 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/helper.ts +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/index.ts b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/index.ts index a5fd0a41af..bc6b004bbb 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/index.ts +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./content"; export * from "./display-filters"; export * from "./quick-action-button"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-group.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-group.tsx index 0a1068d4e2..37b633dec1 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-group.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx index 35689cbef9..c17bd38796 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Link as Loader } from "lucide-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx index 921b8daba4..70b2507ea1 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { SyntheticEvent } from "react"; import { useMemo } from "react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/root.tsx index f33c441f1f..ef808a1fe7 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx index 56f5a8c4a7..8e825e00c0 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx index ccfa46ac61..c0de91cb92 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title-actions.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title-actions.tsx index de6c8ccd02..36d593c052 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title-actions.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback } from "react"; import { cloneDeep } from "lodash-es"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title.tsx index db66f8e68c..6ea45824ff 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail-widgets/widget-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/widget-button.tsx index 3b27711a97..c848aeea11 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/widget-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/widget-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; // helpers diff --git a/apps/web/core/components/issues/issue-detail/cycle-select.tsx b/apps/web/core/components/issues/issue-detail/cycle-select.tsx index 7ac2b5b01f..00dcdb8cf4 100644 --- a/apps/web/core/components/issues/issue-detail/cycle-select.tsx +++ b/apps/web/core/components/issues/issue-detail/cycle-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail/identifier-text.tsx b/apps/web/core/components/issues/issue-detail/identifier-text.tsx index 4c1282079f..466074905e 100644 --- a/apps/web/core/components/issues/issue-detail/identifier-text.tsx +++ b/apps/web/core/components/issues/issue-detail/identifier-text.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { setToast, TOAST_TYPE } from "@plane/propel/toast"; import { Tooltip } from "@plane/propel/tooltip"; import type { TIdentifierTextProps, TIdentifierTextVariant, TIssueIdentifierSize } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-detail/index.ts b/apps/web/core/components/issues/issue-detail/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/issues/issue-detail/index.ts +++ b/apps/web/core/components/issues/issue-detail/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity-comment-root.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity-comment-root.tsx index ec802686ca..689def91c7 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity-comment-root.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity-comment-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { E_SORT_ORDER, TActivityFilters, EActivityFilterType } from "@plane/constants"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity-filter.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity-filter.tsx index b63aa81444..de8a675688 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity-filter.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity-filter.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { ListFilter } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/archived-at.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/archived-at.tsx index 49e86aea7a..588d298339 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/archived-at.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/archived-at.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { RotateCcw } from "lucide-react"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/assignee.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/assignee.tsx index 8ed796b30c..0ab22b2b0c 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/assignee.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/assignee.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons import { MembersPropertyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/attachment.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/attachment.tsx index f68e5be2ba..c25c4539bb 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/attachment.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/attachment.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Paperclip } from "lucide-react"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/cycle.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/cycle.tsx index def64665d0..35fada263b 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/cycle.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/cycle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import { CycleIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/default.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/default.tsx index cbc9b55ff2..b95177cff0 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/default.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/default.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { WorkItemsIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/description.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/description.tsx index a1be80e5ff..1c40cfb12f 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/description.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/description.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { AlignLeft } from "lucide-react"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/estimate.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/estimate.tsx index f3eeac4715..e4ae08471e 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/estimate.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/estimate.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { EstimatePropertyIcon } from "@plane/propel/icons"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/activity-block.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/activity-block.tsx index 5cc9eea444..bfe47cf749 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/activity-block.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/activity-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC, ReactNode } from "react"; import { Network } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-link.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-link.tsx index 41f3faa96e..922f32437e 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-link.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Tooltip } from "@plane/propel/tooltip"; import { generateWorkItemLink } from "@plane/utils"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-user.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-user.tsx index 5cf3aacc52..7a510bf021 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-user.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-user.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; // hooks import { useIssueDetail } from "@/hooks/store/use-issue-detail"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/inbox.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/inbox.tsx index b9d7df24d3..4dd03c0877 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/inbox.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/inbox.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import { IntakeIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/index.ts b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/index.ts index ea69163085..c64e4afeca 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/index.ts +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./default"; export * from "./name"; export * from "./description"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/label-activity-chip.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/label-activity-chip.tsx index 94929187ae..0ef269c658 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/label-activity-chip.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/label-activity-chip.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Tooltip } from "@plane/propel/tooltip"; type TIssueLabelPill = { name?: string; color?: string }; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/label.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/label.tsx index 0f6ae75c31..d0584f2d0f 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/label.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { LabelPropertyIcon } from "@plane/propel/icons"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/link.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/link.tsx index a9a371481b..1af4cf9e51 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/link.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { MessageSquare } from "lucide-react"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/module.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/module.tsx index a9668b7f3a..8e4b53c50d 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/module.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/module.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import { ModuleIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/name.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/name.tsx index 5e1c0b073b..60058c2919 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/name.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/name.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Type } from "lucide-react"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/parent.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/parent.tsx index 2239bd77d9..d1060a276a 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/parent.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/parent.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { ParentPropertyIcon } from "@plane/propel/icons"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/priority.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/priority.tsx index d36c821eb1..3b89a348a6 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/priority.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { PriorityPropertyIcon } from "@plane/propel/icons"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/relation.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/relation.tsx index 91ce152da4..fc036611f8 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/relation.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/relation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import { useIssueDetail } from "@/hooks/store/use-issue-detail"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/start_date.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/start_date.tsx index a6bdde67cc..c25eb6d149 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/start_date.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/start_date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CalendarDays } from "lucide-react"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/state.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/state.tsx index 49022acefd..c51625573c 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/state.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import { StatePropertyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/target_date.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/target_date.tsx index 6af4f7e092..a7da1d45d2 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/target_date.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/target_date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { CalendarDays } from "lucide-react"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/activity-list.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/activity-list.tsx index 68d7312554..579569ef07 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/activity-list.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/activity-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // helpers import { getValidKeysFromObject } from "@plane/utils"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/helper.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/helper.tsx index 07361cf130..8f13d0f504 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/helper.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { useTranslation } from "@plane/i18n"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/index.ts b/apps/web/core/components/issues/issue-detail/issue-activity/index.ts index 5eb4ac7d30..c20c39ce62 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/index.ts +++ b/apps/web/core/components/issues/issue-detail/issue-activity/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./activity-comment-root"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/loader.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/loader.tsx index e0fa46f4b6..46562ac565 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/loader.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/root.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/root.tsx index ca3f524b45..66e3bad674 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/root.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import uniq from "lodash-es/uniq"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/sort-root.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/sort-root.tsx index 8e6a64e312..c2eca48be5 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/sort-root.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/sort-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { memo } from "react"; import { ArrowUpWideNarrow, ArrowDownWideNarrow } from "lucide-react"; // plane package imports diff --git a/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx b/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx index fc084bf5ef..cc00a6d170 100644 --- a/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail/label/create-label.tsx b/apps/web/core/components/issues/issue-detail/label/create-label.tsx index bc9fec02a4..d2fa6063ed 100644 --- a/apps/web/core/components/issues/issue-detail/label/create-label.tsx +++ b/apps/web/core/components/issues/issue-detail/label/create-label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, Fragment, useEffect } from "react"; import { TwitterPicker } from "react-color"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-detail/label/index.ts b/apps/web/core/components/issues/issue-detail/label/index.ts index 83f1e73bc6..cb23f59483 100644 --- a/apps/web/core/components/issues/issue-detail/label/index.ts +++ b/apps/web/core/components/issues/issue-detail/label/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./label-list"; diff --git a/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx b/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx index 90f457e289..3d677f8b77 100644 --- a/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx +++ b/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Button } from "@plane/propel/button"; import { CloseIcon, LabelFilledIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/label/label-list.tsx b/apps/web/core/components/issues/issue-detail/label/label-list.tsx index 4e3d9030ad..054f84a299 100644 --- a/apps/web/core/components/issues/issue-detail/label/label-list.tsx +++ b/apps/web/core/components/issues/issue-detail/label/label-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { LabelListItem } from "./label-list-item"; diff --git a/apps/web/core/components/issues/issue-detail/label/root.tsx b/apps/web/core/components/issues/issue-detail/label/root.tsx index c8c669bfe0..7e5faabd21 100644 --- a/apps/web/core/components/issues/issue-detail/label/root.tsx +++ b/apps/web/core/components/issues/issue-detail/label/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail/label/select/label-select.tsx b/apps/web/core/components/issues/issue-detail/label/select/label-select.tsx index c3621ab206..57234d73b4 100644 --- a/apps/web/core/components/issues/issue-detail/label/select/label-select.tsx +++ b/apps/web/core/components/issues/issue-detail/label/select/label-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment, useState } from "react"; import { observer } from "mobx-react"; import { usePopper } from "react-popper"; diff --git a/apps/web/core/components/issues/issue-detail/label/select/root.tsx b/apps/web/core/components/issues/issue-detail/label/select/root.tsx index 22dc6a8258..c43ec6ad36 100644 --- a/apps/web/core/components/issues/issue-detail/label/select/root.tsx +++ b/apps/web/core/components/issues/issue-detail/label/select/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import type { TLabelOperations } from "../root"; import { IssueLabelSelect } from "./label-select"; diff --git a/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx b/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx index b68eb6ca32..d35cf3eeaa 100644 --- a/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx +++ b/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail/links/index.ts b/apps/web/core/components/issues/issue-detail/links/index.ts index 1241167ab2..4ee36de924 100644 --- a/apps/web/core/components/issues/issue-detail/links/index.ts +++ b/apps/web/core/components/issues/issue-detail/links/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./links"; diff --git a/apps/web/core/components/issues/issue-detail/links/link-detail.tsx b/apps/web/core/components/issues/issue-detail/links/link-detail.tsx index a2161d1c92..26ecd02d84 100644 --- a/apps/web/core/components/issues/issue-detail/links/link-detail.tsx +++ b/apps/web/core/components/issues/issue-detail/links/link-detail.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { NewTabIcon, EditIcon, TrashIcon } from "@plane/propel/icons"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/issue-detail/links/link-item.tsx b/apps/web/core/components/issues/issue-detail/links/link-item.tsx index 1cac1cc783..3910f63b36 100644 --- a/apps/web/core/components/issues/issue-detail/links/link-item.tsx +++ b/apps/web/core/components/issues/issue-detail/links/link-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail/links/link-list.tsx b/apps/web/core/components/issues/issue-detail/links/link-list.tsx index 34d842c146..e691ecba38 100644 --- a/apps/web/core/components/issues/issue-detail/links/link-list.tsx +++ b/apps/web/core/components/issues/issue-detail/links/link-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { TIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-detail/links/links.tsx b/apps/web/core/components/issues/issue-detail/links/links.tsx index c4b2ca08de..524c344395 100644 --- a/apps/web/core/components/issues/issue-detail/links/links.tsx +++ b/apps/web/core/components/issues/issue-detail/links/links.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // computed import { useIssueDetail } from "@/hooks/store/use-issue-detail"; diff --git a/apps/web/core/components/issues/issue-detail/links/root.tsx b/apps/web/core/components/issues/issue-detail/links/root.tsx index c045faa606..5ba3340062 100644 --- a/apps/web/core/components/issues/issue-detail/links/root.tsx +++ b/apps/web/core/components/issues/issue-detail/links/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo, useState } from "react"; import { PlusIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/main-content.tsx b/apps/web/core/components/issues/issue-detail/main-content.tsx index 78ac4e7507..a42b821ba7 100644 --- a/apps/web/core/components/issues/issue-detail/main-content.tsx +++ b/apps/web/core/components/issues/issue-detail/main-content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail/module-select.tsx b/apps/web/core/components/issues/issue-detail/module-select.tsx index 42e0fe1ec2..f0b6b2a4d5 100644 --- a/apps/web/core/components/issues/issue-detail/module-select.tsx +++ b/apps/web/core/components/issues/issue-detail/module-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { xor } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail/parent-select.tsx b/apps/web/core/components/issues/issue-detail/parent-select.tsx index 8249e0476b..71542928bb 100644 --- a/apps/web/core/components/issues/issue-detail/parent-select.tsx +++ b/apps/web/core/components/issues/issue-detail/parent-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/issues/issue-detail/parent/index.ts b/apps/web/core/components/issues/issue-detail/parent/index.ts index 1b5a967495..38f9dc2dd8 100644 --- a/apps/web/core/components/issues/issue-detail/parent/index.ts +++ b/apps/web/core/components/issues/issue-detail/parent/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./siblings"; diff --git a/apps/web/core/components/issues/issue-detail/parent/root.tsx b/apps/web/core/components/issues/issue-detail/parent/root.tsx index 043f793da2..15972f08a9 100644 --- a/apps/web/core/components/issues/issue-detail/parent/root.tsx +++ b/apps/web/core/components/issues/issue-detail/parent/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; import { MinusCircle } from "lucide-react"; diff --git a/apps/web/core/components/issues/issue-detail/parent/sibling-item.tsx b/apps/web/core/components/issues/issue-detail/parent/sibling-item.tsx index 518a336cef..aeb1925aa7 100644 --- a/apps/web/core/components/issues/issue-detail/parent/sibling-item.tsx +++ b/apps/web/core/components/issues/issue-detail/parent/sibling-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // ui import { CustomMenu } from "@plane/ui"; diff --git a/apps/web/core/components/issues/issue-detail/parent/siblings.tsx b/apps/web/core/components/issues/issue-detail/parent/siblings.tsx index 4a666db2e1..b00a17ff66 100644 --- a/apps/web/core/components/issues/issue-detail/parent/siblings.tsx +++ b/apps/web/core/components/issues/issue-detail/parent/siblings.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; import type { TIssue } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-detail/reactions/index.ts b/apps/web/core/components/issues/issue-detail/reactions/index.ts index 9ab00bd773..535518720f 100644 --- a/apps/web/core/components/issues/issue-detail/reactions/index.ts +++ b/apps/web/core/components/issues/issue-detail/reactions/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue"; export * from "./issue-comment"; diff --git a/apps/web/core/components/issues/issue-detail/reactions/issue-comment.tsx b/apps/web/core/components/issues/issue-detail/reactions/issue-comment.tsx index 4abe66ce9b..2ece8b9b7e 100644 --- a/apps/web/core/components/issues/issue-detail/reactions/issue-comment.tsx +++ b/apps/web/core/components/issues/issue-detail/reactions/issue-comment.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { stringToEmoji } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/issues/issue-detail/reactions/issue.tsx b/apps/web/core/components/issues/issue-detail/reactions/issue.tsx index edc16742c4..20e2e17bc5 100644 --- a/apps/web/core/components/issues/issue-detail/reactions/issue.tsx +++ b/apps/web/core/components/issues/issue-detail/reactions/issue.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { stringToEmoji } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/issues/issue-detail/relation-select.tsx b/apps/web/core/components/issues/issue-detail/relation-select.tsx index f01100a932..8559c6c423 100644 --- a/apps/web/core/components/issues/issue-detail/relation-select.tsx +++ b/apps/web/core/components/issues/issue-detail/relation-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/issues/issue-detail/root.tsx b/apps/web/core/components/issues/issue-detail/root.tsx index fcb07e07f4..72484c696b 100644 --- a/apps/web/core/components/issues/issue-detail/root.tsx +++ b/apps/web/core/components/issues/issue-detail/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail/sidebar.tsx b/apps/web/core/components/issues/issue-detail/sidebar.tsx index 67dfcfa24a..b51c55b5e4 100644 --- a/apps/web/core/components/issues/issue-detail/sidebar.tsx +++ b/apps/web/core/components/issues/issue-detail/sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // i18n import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail/subscription.tsx b/apps/web/core/components/issues/issue-detail/subscription.tsx index 33f58a9297..16c3fa4107 100644 --- a/apps/web/core/components/issues/issue-detail/subscription.tsx +++ b/apps/web/core/components/issues/issue-detail/subscription.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { isNil } from "lodash-es"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/base-calendar-root.tsx b/apps/web/core/components/issues/issue-layouts/calendar/base-calendar-root.tsx index 21980eab95..3f4eef8de5 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/base-calendar-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/base-calendar-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/calendar.tsx b/apps/web/core/components/issues/issue-layouts/calendar/calendar.tsx index b6569300f4..b088c48067 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/calendar.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/calendar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/day-tile.tsx b/apps/web/core/components/issues/issue-layouts/calendar/day-tile.tsx index 9c92945eb4..97c94aa37b 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/day-tile.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/day-tile.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/index.ts b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/index.ts index 3f32637c32..eded9f4e9b 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/index.ts +++ b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./months-dropdown"; export * from "./options-dropdown"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/months-dropdown.tsx b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/months-dropdown.tsx index dff887c26f..e6228890dc 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/months-dropdown.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/months-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { usePopper } from "react-popper"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx index a2c3076838..2a8736516d 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/header.tsx b/apps/web/core/components/issues/issue-layouts/calendar/header.tsx index 6f653963dd..8d1f1e5eb1 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/header.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components diff --git a/apps/web/core/components/issues/issue-layouts/calendar/issue-block-root.tsx b/apps/web/core/components/issues/issue-layouts/calendar/issue-block-root.tsx index fbc5177ac9..d2aaf6f38b 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/issue-block-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/issue-block-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/issue-block.tsx b/apps/web/core/components/issues/issue-layouts/calendar/issue-block.tsx index 1f440609c2..fcd2bb811d 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/issue-block.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/issue-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef, forwardRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/issue-blocks.tsx b/apps/web/core/components/issues/issue-layouts/calendar/issue-blocks.tsx index 48bda9e73a..cddb9d8d3c 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/issue-blocks.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/issue-blocks.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; import type { TIssue, TPaginationData } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx b/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx index 08ff9651e7..99f2e7fe87 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { differenceInCalendarDays } from "date-fns/differenceInCalendarDays"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/roots/cycle-root.tsx b/apps/web/core/components/issues/issue-layouts/calendar/roots/cycle-root.tsx index 69469c89f7..5d98ec5a25 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/roots/cycle-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/roots/cycle-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/roots/module-root.tsx b/apps/web/core/components/issues/issue-layouts/calendar/roots/module-root.tsx index b06e5b87c8..30a1e544d7 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/roots/module-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/roots/module-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/roots/project-root.tsx b/apps/web/core/components/issues/issue-layouts/calendar/roots/project-root.tsx index 0214473a1c..4d696b3167 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/roots/project-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/roots/project-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/calendar/roots/project-view-root.tsx b/apps/web/core/components/issues/issue-layouts/calendar/roots/project-view-root.tsx index 0cb8915b7b..45c56c5c58 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/roots/project-view-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/roots/project-view-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // local imports diff --git a/apps/web/core/components/issues/issue-layouts/calendar/utils.ts b/apps/web/core/components/issues/issue-layouts/calendar/utils.ts index bab8c863b9..b795eb9092 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/utils.ts +++ b/apps/web/core/components/issues/issue-layouts/calendar/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssue } from "@plane/types"; export const handleDragDrop = async ( diff --git a/apps/web/core/components/issues/issue-layouts/calendar/week-days.tsx b/apps/web/core/components/issues/issue-layouts/calendar/week-days.tsx index edc8716ea4..5f3381e0c7 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/week-days.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/week-days.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { TGroupedIssues, TIssue, TIssueMap, TPaginationData, ICalendarDate, ICalendarWeek } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/week-header.tsx b/apps/web/core/components/issues/issue-layouts/calendar/week-header.tsx index 1bf5b6a95f..16dfd94d59 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/week-header.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/week-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { EStartOfTheWeek } from "@plane/types"; import { getOrderedDays } from "@plane/utils"; diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/archived-issues.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/archived-issues.tsx index de57575b8e..8ae22d842f 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/archived-issues.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/archived-issues.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/cycle.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/cycle.tsx index c98fafacc4..14d0e14f7f 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/cycle.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/cycle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/global-view.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/global-view.tsx index e2c2553e81..9be06fa7a0 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/global-view.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/global-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/index.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/index.tsx index 44573f94d6..3f6523ba86 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/index.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web components import { EIssuesStoreType } from "@plane/types"; import { TeamEmptyState } from "@/plane-web/components/issues/issue-layouts/empty-states/team-issues"; diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/module.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/module.tsx index 461ecc5c6b..6c0022d269 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/module.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/module.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/profile-view.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/profile-view.tsx index 26c90e6982..9d6283ab25 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/profile-view.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/profile-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // components diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/project-epic.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/project-epic.tsx index d2249c683f..83d332a97a 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/project-epic.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/project-epic.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function ProjectEpicsEmptyState() { return <>; } diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/project-issues.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/project-issues.tsx index 488c8d205b..dd9ab174f0 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/project-issues.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/project-issues.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/project-view.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/project-view.tsx index 3e8bb73513..e5b8b1ce4e 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/project-view.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/project-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { EUserPermissions, EUserPermissionsLevel, WORK_ITEM_TRACKER_ELEMENTS } from "@plane/constants"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/cycle.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/cycle.tsx index c6df0b2919..a3b2c7525b 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/cycle.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/cycle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CloseIcon, CycleGroupIcon } from "@plane/propel/icons"; import type { TCycleGroups } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/date.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/date.tsx index da9038c08a..89bec65783 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/date.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons import { DATE_AFTER_FILTER_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/index.ts b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/index.ts index b2b7ab67b0..0f2f68865f 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/index.ts +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./date"; export * from "./label"; export * from "./members"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/label.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/label.tsx index 61f358d1cd..34dcb6114f 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/label.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/members.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/members.tsx index f8e56dcc99..760be503ff 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/members.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CloseIcon } from "@plane/propel/icons"; // plane ui diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/module.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/module.tsx index 1053619bb0..8c57a5ff33 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/module.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/module.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import { CloseIcon, ModuleIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/priority.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/priority.tsx index 0bc7c768d1..db4ae8ddf0 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/priority.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/project.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/project.tsx index e46210de4d..9375bebd97 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/project.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Logo } from "@plane/propel/emoji-icon-picker"; import { CloseIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state-group.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state-group.tsx index f11c5eeab6..f3ec236d9a 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state-group.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state.tsx index 545ce7e6a8..47be180965 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/display-filters-selection.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/display-filters-selection.tsx index f601aeaa0f..b761c5b8d9 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/display-filters-selection.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/display-filters-selection.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/display-properties.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/display-properties.tsx index 3555a381dd..31c3635ee8 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/display-properties.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/display-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/extra-options.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/extra-options.tsx index 5ff566c86f..7daaec7aea 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/extra-options.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/extra-options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/group-by.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/group-by.tsx index 4e60772389..a15d80c0ea 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/group-by.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/group-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/index.ts b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/index.ts index 07b50f85ee..7f9e7350c9 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/index.ts +++ b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./display-filters-selection"; export * from "./display-properties"; export * from "./extra-options"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/order-by.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/order-by.tsx index 98eab66336..8905f85565 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/order-by.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/order-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { ISSUE_ORDER_BY_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/sub-group-by.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/sub-group-by.tsx index 0ce1eebf91..c367b6f626 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/sub-group-by.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/display-filters/sub-group-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { ISSUE_GROUP_BY_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/assignee.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/assignee.tsx index 0bd2c18e33..31dfb06276 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/assignee.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/assignee.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/created-by.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/created-by.tsx index b04b5b2056..9b395955f2 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/created-by.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/created-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/cycle.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/cycle.tsx index d9a11c7f78..4778ae5bc5 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/cycle.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/cycle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/due-date.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/due-date.tsx index dbb1b9e1f5..ec8b2881a6 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/due-date.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/due-date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // constants diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/index.ts b/apps/web/core/components/issues/issue-layouts/filters/header/filters/index.ts index 65bca8ba8d..24a2444240 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/index.ts +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./assignee"; export * from "./mentions"; export * from "./created-by"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/labels.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/labels.tsx index e296676cfe..259664cabe 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/labels.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/labels.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/mentions.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/mentions.tsx index bb41b99b88..71a187fe76 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/mentions.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/mentions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/module.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/module.tsx index 31a64db28a..71ef7ed8d9 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/module.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/module.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/priority.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/priority.tsx index f83d547075..5bdf6a40b9 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/priority.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane constants diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/project.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/project.tsx index 5abd5ca778..89559be0dc 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/project.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/start-date.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/start-date.tsx index 1a596186a8..97c9d6a780 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/start-date.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/start-date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // constants diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/state-group.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/state-group.tsx index cd9edcc068..05397dd397 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/state-group.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/state-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/state.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/state.tsx index c301c8ec59..37b9d3982d 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/state.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx index 2a58f70bde..f904fb931d 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { Fragment, useState } from "react"; import type { Placement } from "@popperjs/core"; import { usePopper } from "react-popper"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-header.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-header.tsx index ffe374f60e..e6e2b80af0 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-header.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { ChevronDownIcon, ChevronUpIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-option.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-option.tsx index 72bccb111b..d0cf3c259b 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-option.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/filter-option.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CheckIcon } from "@plane/propel/icons"; type Props = { diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/index.ts b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/index.ts index ef38d9884d..a817cc1c76 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/index.ts +++ b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./dropdown"; export * from "./filter-header"; export * from "./filter-option"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/index.ts b/apps/web/core/components/issues/issue-layouts/filters/header/index.ts index 9a0c40d640..ae7cf17c13 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/index.ts +++ b/apps/web/core/components/issues/issue-layouts/filters/header/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./display-filters"; export * from "./filters"; export * from "./helpers"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/layout-selection.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/layout-selection.tsx index adb33b0d70..6b8f857b1a 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/layout-selection.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/layout-selection.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { ISSUE_LAYOUTS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/mobile-layout-selection.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/mobile-layout-selection.tsx index cf6cf09d9e..2ca1b4616e 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/mobile-layout-selection.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/mobile-layout-selection.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ISSUE_LAYOUTS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/index.ts b/apps/web/core/components/issues/issue-layouts/filters/index.ts index 427d969431..2196c7bb2d 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/index.ts +++ b/apps/web/core/components/issues/issue-layouts/filters/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./header"; export * from "./applied-filters"; diff --git a/apps/web/core/components/issues/issue-layouts/gantt/base-gantt-root.tsx b/apps/web/core/components/issues/issue-layouts/gantt/base-gantt-root.tsx index 5d45e4286b..3404b438ca 100644 --- a/apps/web/core/components/issues/issue-layouts/gantt/base-gantt-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/gantt/base-gantt-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/gantt/blocks.tsx b/apps/web/core/components/issues/issue-layouts/gantt/blocks.tsx index 3910d6bbd5..3a8141e0b5 100644 --- a/apps/web/core/components/issues/issue-layouts/gantt/blocks.tsx +++ b/apps/web/core/components/issues/issue-layouts/gantt/blocks.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/gantt/index.ts b/apps/web/core/components/issues/issue-layouts/gantt/index.ts index 6728bd6590..53d7de8215 100644 --- a/apps/web/core/components/issues/issue-layouts/gantt/index.ts +++ b/apps/web/core/components/issues/issue-layouts/gantt/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./base-gantt-root"; diff --git a/apps/web/core/components/issues/issue-layouts/group-drag-overlay.tsx b/apps/web/core/components/issues/issue-layouts/group-drag-overlay.tsx index 26f5b1b327..a3fe1c7918 100644 --- a/apps/web/core/components/issues/issue-layouts/group-drag-overlay.tsx +++ b/apps/web/core/components/issues/issue-layouts/group-drag-overlay.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { AlertCircle } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/issue-layout-HOC.tsx b/apps/web/core/components/issues/issue-layouts/issue-layout-HOC.tsx index a838604825..50a0323a9a 100644 --- a/apps/web/core/components/issues/issue-layouts/issue-layout-HOC.tsx +++ b/apps/web/core/components/issues/issue-layouts/issue-layout-HOC.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EIssueLayoutTypes } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/apps/web/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx index a172d8687d..231c6a8e43 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/block.tsx b/apps/web/core/components/issues/issue-layouts/kanban/block.tsx index 70a849e76b..b1cbca9ffb 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/block.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/blocks-list.tsx b/apps/web/core/components/issues/issue-layouts/kanban/blocks-list.tsx index e4357ce33d..9361e4cedc 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/blocks-list.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/blocks-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/kanban/default.tsx b/apps/web/core/components/issues/issue-layouts/kanban/default.tsx index 7b10c9a772..d015bd8402 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/default.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/default.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { observer } from "mobx-react"; // i18n diff --git a/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx b/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx index 67664b4a0f..c6e35aa20e 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx b/apps/web/core/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx index 533ec8cd1c..b052766e84 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/kanban-group.tsx b/apps/web/core/components/issues/issue-layouts/kanban/kanban-group.tsx index 675fcb0be5..662e96050a 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/kanban-group.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/kanban-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/roots/cycle-root.tsx b/apps/web/core/components/issues/issue-layouts/kanban/roots/cycle-root.tsx index a766ebad16..5aa59c66d1 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/roots/cycle-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/roots/cycle-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/roots/module-root.tsx b/apps/web/core/components/issues/issue-layouts/kanban/roots/module-root.tsx index 26f3e4e31f..5c17b8873e 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/roots/module-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/roots/module-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/roots/profile-issues-root.tsx b/apps/web/core/components/issues/issue-layouts/kanban/roots/profile-issues-root.tsx index db6eb64185..5224212f64 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/roots/profile-issues-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/roots/profile-issues-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/kanban/roots/project-root.tsx b/apps/web/core/components/issues/issue-layouts/kanban/roots/project-root.tsx index 22250fd810..6d691ad906 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/roots/project-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/roots/project-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/kanban/roots/project-view-root.tsx b/apps/web/core/components/issues/issue-layouts/kanban/roots/project-view-root.tsx index ef4239fd81..01e9823a5f 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/roots/project-view-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/roots/project-view-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/swimlanes.tsx b/apps/web/core/components/issues/issue-layouts/kanban/swimlanes.tsx index 735123ed85..1fe40fb219 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/swimlanes.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/swimlanes.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/layout-icon.tsx b/apps/web/core/components/issues/issue-layouts/layout-icon.tsx index 6788a8aea2..5b06251f62 100644 --- a/apps/web/core/components/issues/issue-layouts/layout-icon.tsx +++ b/apps/web/core/components/issues/issue-layouts/layout-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ListLayoutIcon, BoardLayoutIcon, diff --git a/apps/web/core/components/issues/issue-layouts/list/base-list-root.tsx b/apps/web/core/components/issues/issue-layouts/list/base-list-root.tsx index e437adcd02..4122b7e953 100644 --- a/apps/web/core/components/issues/issue-layouts/list/base-list-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/base-list-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/list/block-root.tsx b/apps/web/core/components/issues/issue-layouts/list/block-root.tsx index 10a083eed7..8ab27463dd 100644 --- a/apps/web/core/components/issues/issue-layouts/list/block-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/block-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC, MutableRefObject } from "react"; import React, { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/list/block.tsx b/apps/web/core/components/issues/issue-layouts/list/block.tsx index 70c22a6e3b..1d93d53b10 100644 --- a/apps/web/core/components/issues/issue-layouts/list/block.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, MouseEvent, SetStateAction } from "react"; import { useEffect, useRef } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/list/blocks-list.tsx b/apps/web/core/components/issues/issue-layouts/list/blocks-list.tsx index 72be4c66be..958ebb26e2 100644 --- a/apps/web/core/components/issues/issue-layouts/list/blocks-list.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/blocks-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC, MutableRefObject } from "react"; // components import type { TIssue, IIssueDisplayProperties, TIssueMap, TGroupedIssues } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-layouts/list/default.tsx b/apps/web/core/components/issues/issue-layouts/list/default.tsx index b4948266f8..0ee2a9d2a1 100644 --- a/apps/web/core/components/issues/issue-layouts/list/default.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/default.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx b/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx index 3b1396cfc2..bdb137b34c 100644 --- a/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/list/list-group.tsx b/apps/web/core/components/issues/issue-layouts/list/list-group.tsx index ee5b81f27d..e2c0f0248b 100644 --- a/apps/web/core/components/issues/issue-layouts/list/list-group.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/list-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/list/roots/archived-issue-root.tsx b/apps/web/core/components/issues/issue-layouts/list/roots/archived-issue-root.tsx index 21f85da306..7d134080b0 100644 --- a/apps/web/core/components/issues/issue-layouts/list/roots/archived-issue-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/roots/archived-issue-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // local imports diff --git a/apps/web/core/components/issues/issue-layouts/list/roots/cycle-root.tsx b/apps/web/core/components/issues/issue-layouts/list/roots/cycle-root.tsx index 65f66b185e..acf44ae6be 100644 --- a/apps/web/core/components/issues/issue-layouts/list/roots/cycle-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/roots/cycle-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/list/roots/module-root.tsx b/apps/web/core/components/issues/issue-layouts/list/roots/module-root.tsx index bd1dd7b48b..e2930736c5 100644 --- a/apps/web/core/components/issues/issue-layouts/list/roots/module-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/roots/module-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/list/roots/profile-issues-root.tsx b/apps/web/core/components/issues/issue-layouts/list/roots/profile-issues-root.tsx index 4affe00765..eb1c3450e7 100644 --- a/apps/web/core/components/issues/issue-layouts/list/roots/profile-issues-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/roots/profile-issues-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/list/roots/project-root.tsx b/apps/web/core/components/issues/issue-layouts/list/roots/project-root.tsx index 8819433aed..7d4eb226ea 100644 --- a/apps/web/core/components/issues/issue-layouts/list/roots/project-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/roots/project-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/list/roots/project-view-root.tsx b/apps/web/core/components/issues/issue-layouts/list/roots/project-view-root.tsx index 0c11123647..9e57dddeb4 100644 --- a/apps/web/core/components/issues/issue-layouts/list/roots/project-view-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/roots/project-view-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx b/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx index d0358d46d9..f8975acac7 100644 --- a/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx +++ b/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { SyntheticEvent } from "react"; import { useCallback, useMemo } from "react"; import { xor } from "lodash-es"; diff --git a/apps/web/core/components/issues/issue-layouts/properties/index.ts b/apps/web/core/components/issues/issue-layouts/properties/index.ts index 668979012c..c45303fa54 100644 --- a/apps/web/core/components/issues/issue-layouts/properties/index.ts +++ b/apps/web/core/components/issues/issue-layouts/properties/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./labels"; export * from "./all-properties"; export * from "./label-dropdown"; diff --git a/apps/web/core/components/issues/issue-layouts/properties/label-dropdown.tsx b/apps/web/core/components/issues/issue-layouts/properties/label-dropdown.tsx index cc52345a50..983c7ee67f 100644 --- a/apps/web/core/components/issues/issue-layouts/properties/label-dropdown.tsx +++ b/apps/web/core/components/issues/issue-layouts/properties/label-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/properties/labels.tsx b/apps/web/core/components/issues/issue-layouts/properties/labels.tsx index dbdf25e962..496ecbeb63 100644 --- a/apps/web/core/components/issues/issue-layouts/properties/labels.tsx +++ b/apps/web/core/components/issues/issue-layouts/properties/labels.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/properties/with-display-properties-HOC.tsx b/apps/web/core/components/issues/issue-layouts/properties/with-display-properties-HOC.tsx index 4745942e1b..dbabad499c 100644 --- a/apps/web/core/components/issues/issue-layouts/properties/with-display-properties-HOC.tsx +++ b/apps/web/core/components/issues/issue-layouts/properties/with-display-properties-HOC.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; import type { IIssueDisplayProperties } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/all-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/all-issue.tsx index fecff54e5f..8ae79765e9 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/all-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/all-issue.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/archived-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/archived-issue.tsx index cf51cefd13..0149f038af 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/archived-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/archived-issue.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/cycle-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/cycle-issue.tsx index 57de8584e1..319a887329 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/cycle-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/cycle-issue.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/helper.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/helper.tsx index 577107f552..a7f33baacb 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/helper.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { XCircle, ArchiveRestoreIcon } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/index.ts b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/index.ts index 19147a0ad6..0a7b1695e9 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/index.ts +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./all-issue"; export * from "./archived-issue"; export * from "./cycle-issue"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/issue-detail.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/issue-detail.tsx index c28a67f642..489e47f03d 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/issue-detail.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/issue-detail.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/module-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/module-issue.tsx index b8b70edccd..30ce5cd334 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/module-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/module-issue.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/project-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/project-issue.tsx index 4f5cc2768a..d9070a6e37 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/project-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/project-issue.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/gantt.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/button/gantt.tsx index d2b8e0817e..d6f2f0c8b1 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/button/gantt.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/gantt.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/index.ts b/apps/web/core/components/issues/issue-layouts/quick-add/button/index.ts index 91477c053d..b19f48e091 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/button/index.ts +++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./list"; export * from "./kanban"; export * from "./gantt"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/kanban.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/button/kanban.tsx index acb558b27e..399b454a59 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/button/kanban.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/kanban.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/list.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/button/list.tsx index 12067f6955..ae21a2eb1c 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/button/list.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/button/spreadsheet.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/button/spreadsheet.tsx index b9a6827fb3..62b89a2fcc 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/button/spreadsheet.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/button/spreadsheet.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/form/calendar.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/form/calendar.tsx index 0aa630e71c..d43a9e1e1e 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/form/calendar.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/form/calendar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import type { TQuickAddIssueForm } from "../root"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/form/gantt.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/form/gantt.tsx index 3802b775ec..05e384705e 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/form/gantt.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/form/gantt.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/form/index.ts b/apps/web/core/components/issues/issue-layouts/quick-add/form/index.ts index d0a45c124c..afaf1468cd 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/form/index.ts +++ b/apps/web/core/components/issues/issue-layouts/quick-add/form/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./list"; export * from "./kanban"; export * from "./gantt"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/form/kanban.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/form/kanban.tsx index ff9f538b18..80110dfbe5 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/form/kanban.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/form/kanban.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/form/list.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/form/list.tsx index d2886977aa..b08135fac2 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/form/list.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/form/list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/form/spreadsheet.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/form/spreadsheet.tsx index 84e99b1d83..f2e3bda3b4 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/form/spreadsheet.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/form/spreadsheet.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/index.ts b/apps/web/core/components/issues/issue-layouts/quick-add/index.ts index a82947248f..5fddc3b578 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/index.ts +++ b/apps/web/core/components/issues/issue-layouts/quick-add/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./form"; export * from "./button"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx index d0505121de..89038fba3c 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/roots/all-issue-layout-root.tsx b/apps/web/core/components/issues/issue-layouts/roots/all-issue-layout-root.tsx index ecdf1e66fa..5a2921ba7e 100644 --- a/apps/web/core/components/issues/issue-layouts/roots/all-issue-layout-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/roots/all-issue-layout-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { useParams, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/roots/archived-issue-layout-root.tsx b/apps/web/core/components/issues/issue-layouts/roots/archived-issue-layout-root.tsx index 00e4ec2e64..6e2ad29f25 100644 --- a/apps/web/core/components/issues/issue-layouts/roots/archived-issue-layout-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/roots/archived-issue-layout-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/roots/cycle-layout-root.tsx b/apps/web/core/components/issues/issue-layouts/roots/cycle-layout-root.tsx index 30b30b0b11..8365efc7ca 100644 --- a/apps/web/core/components/issues/issue-layouts/roots/cycle-layout-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/roots/cycle-layout-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/roots/module-layout-root.tsx b/apps/web/core/components/issues/issue-layouts/roots/module-layout-root.tsx index a69b4ff2e8..811cb02369 100644 --- a/apps/web/core/components/issues/issue-layouts/roots/module-layout-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/roots/module-layout-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx b/apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx index 79d4324f72..e6ab9a1c92 100644 --- a/apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/core/components/issues/issue-layouts/roots/project-view-layout-root.tsx b/apps/web/core/components/issues/issue-layouts/roots/project-view-layout-root.tsx index 0e3ad0cf78..3d01bd899d 100644 --- a/apps/web/core/components/issues/issue-layouts/roots/project-view-layout-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/roots/project-view-layout-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx index 1fb1edff88..4a156821e7 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/assignee-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/assignee-column.tsx index 056d047c4a..78f30b0ed4 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/assignee-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/assignee-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/attachment-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/attachment-column.tsx index ea4cd28960..c248ee8081 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/attachment-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/attachment-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/created-on-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/created-on-column.tsx index b06e87921f..8798d31b3f 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/created-on-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/created-on-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/cycle-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/cycle-column.tsx index 624adacd0f..eff04160a7 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/cycle-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/cycle-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/due-date-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/due-date-column.tsx index 91caed64b6..d60a1c8d0a 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/due-date-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/due-date-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { DueDatePropertyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/estimate-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/estimate-column.tsx index f7e733edaf..a60262b43b 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/estimate-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/estimate-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // types import type { TIssue } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx index c519f4bc0c..e68676e42e 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + //ui import { ArrowDownWideNarrow, ArrowUpNarrowWide, CheckIcon, ChevronDownIcon, Eraser, MoveRight } from "lucide-react"; // constants diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/index.ts b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/index.ts index 3439d398b4..e02316d514 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/index.ts +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./assignee-column"; export * from "./attachment-column"; export * from "./created-on-column"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/label-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/label-column.tsx index e45a9ccd59..4aee8beaa4 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/label-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/label-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/link-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/link-column.tsx index 86a4f78225..0ceb32c986 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/link-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/link-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/module-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/module-column.tsx index 4717a57255..30f55a38a9 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/module-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/module-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { xor } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/priority-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/priority-column.tsx index 7a65e42052..cab106dcd1 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/priority-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/priority-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/start-date-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/start-date-column.tsx index 0f09c857e0..fd4a180c9d 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/start-date-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/start-date-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { StartDatePropertyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/state-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/state-column.tsx index 81ebe6dc86..5136346bca 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/state-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/state-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/sub-issue-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/sub-issue-column.tsx index 2ef3066cad..d23887fdfb 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/sub-issue-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/sub-issue-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/updated-on-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/updated-on-column.tsx index 8ac0a4770b..dfb398d5d3 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/updated-on-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/updated-on-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-column.tsx index 9265d0005f..c639103967 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-row.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-row.tsx index 5626b74dde..b2e08aae93 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-row.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-row.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, MouseEvent, MutableRefObject, SetStateAction } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/cycle-root.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/cycle-root.tsx index d5e2c37440..0337318d02 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/cycle-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/cycle-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/module-root.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/module-root.tsx index 7c95fd3a89..dbb3a50ec3 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/module-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/module-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/project-root.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/project-root.tsx index 1b3f17ff90..bec8eeaa14 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/project-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/project-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/project-view-root.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/project-view-root.tsx index ec798f5f1a..1899af8ff4 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/project-view-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/project-view-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/workspace-root.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/workspace-root.tsx index 73bac55087..b1201baf09 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/workspace-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/roots/workspace-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback } from "react"; import { observer } from "mobx-react"; // plane constants diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-header-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-header-column.tsx index 1d7c04a0ef..be12503cfc 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-header-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-header-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; //types import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-header.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-header.tsx index bd6477fe47..9cfe55ebef 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-header.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // constants diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-table.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-table.tsx index 689a23b62e..2af5ba5942 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-table.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-table.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-view.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-view.tsx index c6c6792ef3..0f8efa2ac1 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-view.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/spreadsheet-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useRef } from "react"; import { observer } from "mobx-react"; // plane constants diff --git a/apps/web/core/components/issues/issue-layouts/utils.tsx b/apps/web/core/components/issues/issue-layouts/utils.tsx index 1417343b8a..f7add99327 100644 --- a/apps/web/core/components/issues/issue-layouts/utils.tsx +++ b/apps/web/core/components/issues/issue-layouts/utils.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { CSSProperties, FC } from "react"; import { extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item"; import { clone, isNil, pull, uniq, concat } from "lodash-es"; diff --git a/apps/web/core/components/issues/issue-modal/base.tsx b/apps/web/core/components/issues/issue-modal/base.tsx index f6dfe63a81..d30ac73bb7 100644 --- a/apps/web/core/components/issues/issue-modal/base.tsx +++ b/apps/web/core/components/issues/issue-modal/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { xor } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-modal/components/default-properties.tsx b/apps/web/core/components/issues/issue-modal/components/default-properties.tsx index 76bfb7d2f3..249f9dd6c0 100644 --- a/apps/web/core/components/issues/issue-modal/components/default-properties.tsx +++ b/apps/web/core/components/issues/issue-modal/components/default-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/components/description-editor.tsx b/apps/web/core/components/issues/issue-modal/components/description-editor.tsx index 5373378e8e..fec4651dcd 100644 --- a/apps/web/core/components/issues/issue-modal/components/description-editor.tsx +++ b/apps/web/core/components/issues/issue-modal/components/description-editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/components/index.ts b/apps/web/core/components/issues/issue-modal/components/index.ts index 3e0c1d4d9a..951a4c1604 100644 --- a/apps/web/core/components/issues/issue-modal/components/index.ts +++ b/apps/web/core/components/issues/issue-modal/components/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./project-select"; export * from "./parent-tag"; export * from "./title-input"; diff --git a/apps/web/core/components/issues/issue-modal/components/parent-tag.tsx b/apps/web/core/components/issues/issue-modal/components/parent-tag.tsx index d6f774e279..0912e8cb56 100644 --- a/apps/web/core/components/issues/issue-modal/components/parent-tag.tsx +++ b/apps/web/core/components/issues/issue-modal/components/parent-tag.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/components/project-select.tsx b/apps/web/core/components/issues/issue-modal/components/project-select.tsx index b996bbbe21..2c2d605224 100644 --- a/apps/web/core/components/issues/issue-modal/components/project-select.tsx +++ b/apps/web/core/components/issues/issue-modal/components/project-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/components/title-input.tsx b/apps/web/core/components/issues/issue-modal/components/title-input.tsx index c844dc8465..cf1a1795f5 100644 --- a/apps/web/core/components/issues/issue-modal/components/title-input.tsx +++ b/apps/web/core/components/issues/issue-modal/components/title-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import type { Control, FormState } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/context/index.ts b/apps/web/core/components/issues/issue-modal/context/index.ts index e396ff2c17..1681445635 100644 --- a/apps/web/core/components/issues/issue-modal/context/index.ts +++ b/apps/web/core/components/issues/issue-modal/context/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue-modal-context"; diff --git a/apps/web/core/components/issues/issue-modal/context/issue-modal-context.tsx b/apps/web/core/components/issues/issue-modal/context/issue-modal-context.tsx index fab55cee6f..40ee76539d 100644 --- a/apps/web/core/components/issues/issue-modal/context/issue-modal-context.tsx +++ b/apps/web/core/components/issues/issue-modal/context/issue-modal-context.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { createContext } from "react"; // ce imports import type { UseFormReset, UseFormWatch } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/draft-issue-layout.tsx b/apps/web/core/components/issues/issue-modal/draft-issue-layout.tsx index bb9082422e..af8ba95022 100644 --- a/apps/web/core/components/issues/issue-modal/draft-issue-layout.tsx +++ b/apps/web/core/components/issues/issue-modal/draft-issue-layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-modal/form.tsx b/apps/web/core/components/issues/issue-modal/form.tsx index 1648d9d990..be024feb9a 100644 --- a/apps/web/core/components/issues/issue-modal/form.tsx +++ b/apps/web/core/components/issues/issue-modal/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useState, useRef, useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-modal/modal.tsx b/apps/web/core/components/issues/issue-modal/modal.tsx index 8c504da06d..ba03fbbdbd 100644 --- a/apps/web/core/components/issues/issue-modal/modal.tsx +++ b/apps/web/core/components/issues/issue-modal/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-update-status.tsx b/apps/web/core/components/issues/issue-update-status.tsx index 8cdce83ceb..0b2e3588b0 100644 --- a/apps/web/core/components/issues/issue-update-status.tsx +++ b/apps/web/core/components/issues/issue-update-status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { RefreshCw } from "lucide-react"; diff --git a/apps/web/core/components/issues/label.tsx b/apps/web/core/components/issues/label.tsx index 70ae462bb3..2b9fa832f8 100644 --- a/apps/web/core/components/issues/label.tsx +++ b/apps/web/core/components/issues/label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // components import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/layout-quick-actions.tsx b/apps/web/core/components/issues/layout-quick-actions.tsx index 3d3a5d1d5d..0c7b983d6a 100644 --- a/apps/web/core/components/issues/layout-quick-actions.tsx +++ b/apps/web/core/components/issues/layout-quick-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; import type { TContextMenuItem } from "@plane/ui"; diff --git a/apps/web/core/components/issues/parent-issues-list-modal.tsx b/apps/web/core/components/issues/parent-issues-list-modal.tsx index b197b7e9d5..98b266e1c6 100644 --- a/apps/web/core/components/issues/parent-issues-list-modal.tsx +++ b/apps/web/core/components/issues/parent-issues-list-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { useParams } from "next/navigation"; // icons diff --git a/apps/web/core/components/issues/peek-overview/error.tsx b/apps/web/core/components/issues/peek-overview/error.tsx index 7b65cc6c4f..b2e46cbc16 100644 --- a/apps/web/core/components/issues/peek-overview/error.tsx +++ b/apps/web/core/components/issues/peek-overview/error.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { MoveRight } from "lucide-react"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/peek-overview/header.tsx b/apps/web/core/components/issues/peek-overview/header.tsx index 98393c3957..fb91acd6ca 100644 --- a/apps/web/core/components/issues/peek-overview/header.tsx +++ b/apps/web/core/components/issues/peek-overview/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/issues/peek-overview/index.ts b/apps/web/core/components/issues/peek-overview/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/issues/peek-overview/index.ts +++ b/apps/web/core/components/issues/peek-overview/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/issues/peek-overview/issue-detail.tsx b/apps/web/core/components/issues/peek-overview/issue-detail.tsx index 3efdbf6418..87a3d347db 100644 --- a/apps/web/core/components/issues/peek-overview/issue-detail.tsx +++ b/apps/web/core/components/issues/peek-overview/issue-detail.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/peek-overview/loader.tsx b/apps/web/core/components/issues/peek-overview/loader.tsx index e3ca80bab9..ac99523e91 100644 --- a/apps/web/core/components/issues/peek-overview/loader.tsx +++ b/apps/web/core/components/issues/peek-overview/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { MoveRight } from "lucide-react"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/peek-overview/properties.tsx b/apps/web/core/components/issues/peek-overview/properties.tsx index 73fb91007c..c2cbcdf767 100644 --- a/apps/web/core/components/issues/peek-overview/properties.tsx +++ b/apps/web/core/components/issues/peek-overview/properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // i18n import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/peek-overview/root.tsx b/apps/web/core/components/issues/peek-overview/root.tsx index 42bdd0c573..7e964edba4 100644 --- a/apps/web/core/components/issues/peek-overview/root.tsx +++ b/apps/web/core/components/issues/peek-overview/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useMemo, useCallback } from "react"; import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; diff --git a/apps/web/core/components/issues/peek-overview/view.tsx b/apps/web/core/components/issues/peek-overview/view.tsx index b5d091e35a..a821a8bad9 100644 --- a/apps/web/core/components/issues/peek-overview/view.tsx +++ b/apps/web/core/components/issues/peek-overview/view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/preview-card/date.tsx b/apps/web/core/components/issues/preview-card/date.tsx index dc1a016ac5..d0ba4f61e8 100644 --- a/apps/web/core/components/issues/preview-card/date.tsx +++ b/apps/web/core/components/issues/preview-card/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CalendarDays } from "lucide-react"; // plane imports import { DueDatePropertyIcon, StartDatePropertyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/preview-card/index.ts b/apps/web/core/components/issues/preview-card/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/issues/preview-card/index.ts +++ b/apps/web/core/components/issues/preview-card/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/issues/preview-card/root.tsx b/apps/web/core/components/issues/preview-card/root.tsx index c506abb4f2..22f5254ec8 100644 --- a/apps/web/core/components/issues/preview-card/root.tsx +++ b/apps/web/core/components/issues/preview-card/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { PriorityIcon, StateGroupIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/relations/issue-list-item.tsx b/apps/web/core/components/issues/relations/issue-list-item.tsx index fa2ecc81c3..1a12e35d9e 100644 --- a/apps/web/core/components/issues/relations/issue-list-item.tsx +++ b/apps/web/core/components/issues/relations/issue-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/relations/issue-list.tsx b/apps/web/core/components/issues/relations/issue-list.tsx index e78ab6086e..b5a23e7718 100644 --- a/apps/web/core/components/issues/relations/issue-list.tsx +++ b/apps/web/core/components/issues/relations/issue-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/relations/properties.tsx b/apps/web/core/components/issues/relations/properties.tsx index 2609ee69f1..80bf9567b4 100644 --- a/apps/web/core/components/issues/relations/properties.tsx +++ b/apps/web/core/components/issues/relations/properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/select/base.tsx b/apps/web/core/components/issues/select/base.tsx index 97a2b5db9e..e4e44443a4 100644 --- a/apps/web/core/components/issues/select/base.tsx +++ b/apps/web/core/components/issues/select/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/select/dropdown.tsx b/apps/web/core/components/issues/select/dropdown.tsx index ea0d803c79..b21bb267da 100644 --- a/apps/web/core/components/issues/select/dropdown.tsx +++ b/apps/web/core/components/issues/select/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/select/index.ts b/apps/web/core/components/issues/select/index.ts index 22dfbe30b4..9bcbbe62bf 100644 --- a/apps/web/core/components/issues/select/index.ts +++ b/apps/web/core/components/issues/select/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./dropdown"; diff --git a/apps/web/core/components/issues/title-input.tsx b/apps/web/core/components/issues/title-input.tsx index fac79d4ee5..189d1b9aca 100644 --- a/apps/web/core/components/issues/title-input.tsx +++ b/apps/web/core/components/issues/title-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState, useEffect, useCallback, useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/workspace-draft/delete-modal.tsx b/apps/web/core/components/issues/workspace-draft/delete-modal.tsx index 380b45cbf9..1b0634c2c0 100644 --- a/apps/web/core/components/issues/workspace-draft/delete-modal.tsx +++ b/apps/web/core/components/issues/workspace-draft/delete-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; // types import { PROJECT_ERROR_MESSAGES, EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx b/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx index 0f5f0e34de..294cd0d1e4 100644 --- a/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx +++ b/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useRef, useState } from "react"; import { omit } from "lodash-es"; diff --git a/apps/web/core/components/issues/workspace-draft/draft-issue-properties.tsx b/apps/web/core/components/issues/workspace-draft/draft-issue-properties.tsx index a3d3d8e5b2..e526909abb 100644 --- a/apps/web/core/components/issues/workspace-draft/draft-issue-properties.tsx +++ b/apps/web/core/components/issues/workspace-draft/draft-issue-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/workspace-draft/empty-state.tsx b/apps/web/core/components/issues/workspace-draft/empty-state.tsx index 6ea7f82bcf..a720a58a5e 100644 --- a/apps/web/core/components/issues/workspace-draft/empty-state.tsx +++ b/apps/web/core/components/issues/workspace-draft/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { Fragment, useState } from "react"; // components diff --git a/apps/web/core/components/issues/workspace-draft/index.ts b/apps/web/core/components/issues/workspace-draft/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/issues/workspace-draft/index.ts +++ b/apps/web/core/components/issues/workspace-draft/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/issues/workspace-draft/loader.tsx b/apps/web/core/components/issues/workspace-draft/loader.tsx index 62f2c9bc54..60d0a610e5 100644 --- a/apps/web/core/components/issues/workspace-draft/loader.tsx +++ b/apps/web/core/components/issues/workspace-draft/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { range } from "lodash-es"; // components diff --git a/apps/web/core/components/issues/workspace-draft/quick-action.tsx b/apps/web/core/components/issues/workspace-draft/quick-action.tsx index 1166ea1621..45ba5c37be 100644 --- a/apps/web/core/components/issues/workspace-draft/quick-action.tsx +++ b/apps/web/core/components/issues/workspace-draft/quick-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; // ui diff --git a/apps/web/core/components/issues/workspace-draft/root.tsx b/apps/web/core/components/issues/workspace-draft/root.tsx index fd1d167429..f9dab2a515 100644 --- a/apps/web/core/components/issues/workspace-draft/root.tsx +++ b/apps/web/core/components/issues/workspace-draft/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/labels/create-update-label-inline.tsx b/apps/web/core/components/labels/create-update-label-inline.tsx index 73cf4ebe80..e721552262 100644 --- a/apps/web/core/components/labels/create-update-label-inline.tsx +++ b/apps/web/core/components/labels/create-update-label-inline.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { forwardRef, useEffect } from "react"; import { observer } from "mobx-react"; import { TwitterPicker } from "react-color"; diff --git a/apps/web/core/components/labels/delete-label-modal.tsx b/apps/web/core/components/labels/delete-label-modal.tsx index 3528f2963c..9adc238349 100644 --- a/apps/web/core/components/labels/delete-label-modal.tsx +++ b/apps/web/core/components/labels/delete-label-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/labels/index.ts b/apps/web/core/components/labels/index.ts index 7fe388345f..6fe30a046e 100644 --- a/apps/web/core/components/labels/index.ts +++ b/apps/web/core/components/labels/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./create-update-label-inline"; export * from "./delete-label-modal"; export * from "./project-setting-label-group"; diff --git a/apps/web/core/components/labels/label-block/label-item-block.tsx b/apps/web/core/components/labels/label-block/label-item-block.tsx index a60fbdcb56..7f8bc075ee 100644 --- a/apps/web/core/components/labels/label-block/label-item-block.tsx +++ b/apps/web/core/components/labels/label-block/label-item-block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { useRef, useState } from "react"; import type { LucideIcon } from "lucide-react"; diff --git a/apps/web/core/components/labels/label-block/label-name.tsx b/apps/web/core/components/labels/label-block/label-name.tsx index 7978ff2447..23e0c60ac8 100644 --- a/apps/web/core/components/labels/label-block/label-name.tsx +++ b/apps/web/core/components/labels/label-block/label-name.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Component } from "lucide-react"; interface ILabelName { diff --git a/apps/web/core/components/labels/label-drag-n-drop-HOC.tsx b/apps/web/core/components/labels/label-drag-n-drop-HOC.tsx index 81fdfb1c5e..0c7cd60f2a 100644 --- a/apps/web/core/components/labels/label-drag-n-drop-HOC.tsx +++ b/apps/web/core/components/labels/label-drag-n-drop-HOC.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { MutableRefObject } from "react"; import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/labels/label-utils.ts b/apps/web/core/components/labels/label-utils.ts index 7181a899b7..2d5402151a 100644 --- a/apps/web/core/components/labels/label-utils.ts +++ b/apps/web/core/components/labels/label-utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item"; import type { IIssueLabel, IPragmaticPayloadLocation, InstructionType, TDropTarget } from "@plane/types"; diff --git a/apps/web/core/components/labels/project-setting-label-group.tsx b/apps/web/core/components/labels/project-setting-label-group.tsx index e6c507dc80..d204c6d73f 100644 --- a/apps/web/core/components/labels/project-setting-label-group.tsx +++ b/apps/web/core/components/labels/project-setting-label-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, SetStateAction } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/labels/project-setting-label-item.tsx b/apps/web/core/components/labels/project-setting-label-item.tsx index 53c26f3753..0d2eb00283 100644 --- a/apps/web/core/components/labels/project-setting-label-item.tsx +++ b/apps/web/core/components/labels/project-setting-label-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, SetStateAction } from "react"; import { useState } from "react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/labels/project-setting-label-list.tsx b/apps/web/core/components/labels/project-setting-label-list.tsx index 2eb7dc488d..c8be577e78 100644 --- a/apps/web/core/components/labels/project-setting-label-list.tsx +++ b/apps/web/core/components/labels/project-setting-label-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/license/index.ts b/apps/web/core/components/license/index.ts index 031608e25f..dd65a9ec34 100644 --- a/apps/web/core/components/license/index.ts +++ b/apps/web/core/components/license/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; diff --git a/apps/web/core/components/license/modal/card/base-paid-plan-card.tsx b/apps/web/core/components/license/modal/card/base-paid-plan-card.tsx index 092e2119a1..296f4b2314 100644 --- a/apps/web/core/components/license/modal/card/base-paid-plan-card.tsx +++ b/apps/web/core/components/license/modal/card/base-paid-plan-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { CheckCircle } from "lucide-react"; diff --git a/apps/web/core/components/license/modal/card/checkout-button.tsx b/apps/web/core/components/license/modal/card/checkout-button.tsx index 0aa45e38d4..85a03080db 100644 --- a/apps/web/core/components/license/modal/card/checkout-button.tsx +++ b/apps/web/core/components/license/modal/card/checkout-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/license/modal/card/discount-info.tsx b/apps/web/core/components/license/modal/card/discount-info.tsx index a98935eb23..b1a596a53e 100644 --- a/apps/web/core/components/license/modal/card/discount-info.tsx +++ b/apps/web/core/components/license/modal/card/discount-info.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTheme } from "next-themes"; // plane imports import type { TBillingFrequency } from "@plane/types"; diff --git a/apps/web/core/components/license/modal/card/free-plan.tsx b/apps/web/core/components/license/modal/card/free-plan.tsx index 005c4df56a..6cb8d0e0af 100644 --- a/apps/web/core/components/license/modal/card/free-plan.tsx +++ b/apps/web/core/components/license/modal/card/free-plan.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CircleX } from "lucide-react"; // plane constants diff --git a/apps/web/core/components/license/modal/card/index.ts b/apps/web/core/components/license/modal/card/index.ts index 0333c15dbd..3ce3953884 100644 --- a/apps/web/core/components/license/modal/card/index.ts +++ b/apps/web/core/components/license/modal/card/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./base-paid-plan-card"; export * from "./free-plan"; export * from "./talk-to-sales"; diff --git a/apps/web/core/components/license/modal/card/plan-upgrade.tsx b/apps/web/core/components/license/modal/card/plan-upgrade.tsx index 218e19d23f..a3338eb13d 100644 --- a/apps/web/core/components/license/modal/card/plan-upgrade.tsx +++ b/apps/web/core/components/license/modal/card/plan-upgrade.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { TALK_TO_SALES_URL } from "@plane/constants"; diff --git a/apps/web/core/components/license/modal/card/talk-to-sales.tsx b/apps/web/core/components/license/modal/card/talk-to-sales.tsx index 45b85ca8a5..4973a475d3 100644 --- a/apps/web/core/components/license/modal/card/talk-to-sales.tsx +++ b/apps/web/core/components/license/modal/card/talk-to-sales.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // types // plane imports diff --git a/apps/web/core/components/license/modal/index.ts b/apps/web/core/components/license/modal/index.ts index 1d243e763f..4260f8508d 100644 --- a/apps/web/core/components/license/modal/index.ts +++ b/apps/web/core/components/license/modal/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./card"; diff --git a/apps/web/core/components/modules/analytics-sidebar/index.ts b/apps/web/core/components/modules/analytics-sidebar/index.ts index c509152a2b..b329fd847c 100644 --- a/apps/web/core/components/modules/analytics-sidebar/index.ts +++ b/apps/web/core/components/modules/analytics-sidebar/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./issue-progress"; export * from "./progress-stats"; diff --git a/apps/web/core/components/modules/analytics-sidebar/issue-progress.tsx b/apps/web/core/components/modules/analytics-sidebar/issue-progress.tsx index 7802aa84c2..400ffab607 100644 --- a/apps/web/core/components/modules/analytics-sidebar/issue-progress.tsx +++ b/apps/web/core/components/modules/analytics-sidebar/issue-progress.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { Fragment, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx b/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx index f3baa4d295..2abb3871c0 100644 --- a/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx +++ b/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Tab } from "@headlessui/react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/modules/analytics-sidebar/root.tsx b/apps/web/core/components/modules/analytics-sidebar/root.tsx index aa768730bb..5381342600 100644 --- a/apps/web/core/components/modules/analytics-sidebar/root.tsx +++ b/apps/web/core/components/modules/analytics-sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/applied-filters/date.tsx b/apps/web/core/components/modules/applied-filters/date.tsx index f9d5c21065..1169f2aeaf 100644 --- a/apps/web/core/components/modules/applied-filters/date.tsx +++ b/apps/web/core/components/modules/applied-filters/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons import { DATE_AFTER_FILTER_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/modules/applied-filters/index.ts b/apps/web/core/components/modules/applied-filters/index.ts index cf34b6e69e..4631563d94 100644 --- a/apps/web/core/components/modules/applied-filters/index.ts +++ b/apps/web/core/components/modules/applied-filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./date"; export * from "./members"; export * from "./root"; diff --git a/apps/web/core/components/modules/applied-filters/members.tsx b/apps/web/core/components/modules/applied-filters/members.tsx index c57fdbc18c..e280b1c206 100644 --- a/apps/web/core/components/modules/applied-filters/members.tsx +++ b/apps/web/core/components/modules/applied-filters/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CloseIcon } from "@plane/propel/icons"; // plane ui diff --git a/apps/web/core/components/modules/applied-filters/root.tsx b/apps/web/core/components/modules/applied-filters/root.tsx index cfac0f26cc..a4eedbb8c2 100644 --- a/apps/web/core/components/modules/applied-filters/root.tsx +++ b/apps/web/core/components/modules/applied-filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { CloseIcon } from "@plane/propel/icons"; import type { TModuleDisplayFilters, TModuleFilters } from "@plane/types"; diff --git a/apps/web/core/components/modules/applied-filters/status.tsx b/apps/web/core/components/modules/applied-filters/status.tsx index e13627b0e7..582119fcc1 100644 --- a/apps/web/core/components/modules/applied-filters/status.tsx +++ b/apps/web/core/components/modules/applied-filters/status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // ui import { MODULE_STATUS } from "@plane/constants"; diff --git a/apps/web/core/components/modules/archived-modules/header.tsx b/apps/web/core/components/modules/archived-modules/header.tsx index c96f8721d7..b00be1e449 100644 --- a/apps/web/core/components/modules/archived-modules/header.tsx +++ b/apps/web/core/components/modules/archived-modules/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/archived-modules/index.ts b/apps/web/core/components/modules/archived-modules/index.ts index f59f0954ef..d6b767c614 100644 --- a/apps/web/core/components/modules/archived-modules/index.ts +++ b/apps/web/core/components/modules/archived-modules/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./view"; export * from "./header"; diff --git a/apps/web/core/components/modules/archived-modules/modal.tsx b/apps/web/core/components/modules/archived-modules/modal.tsx index 65aa7933b4..58067d62c6 100644 --- a/apps/web/core/components/modules/archived-modules/modal.tsx +++ b/apps/web/core/components/modules/archived-modules/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/modules/archived-modules/root.tsx b/apps/web/core/components/modules/archived-modules/root.tsx index 26f3737e42..716ccbcdf1 100644 --- a/apps/web/core/components/modules/archived-modules/root.tsx +++ b/apps/web/core/components/modules/archived-modules/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/archived-modules/view.tsx b/apps/web/core/components/modules/archived-modules/view.tsx index 332617a079..cd09d423b6 100644 --- a/apps/web/core/components/modules/archived-modules/view.tsx +++ b/apps/web/core/components/modules/archived-modules/view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // assets diff --git a/apps/web/core/components/modules/delete-module-modal.tsx b/apps/web/core/components/modules/delete-module-modal.tsx index a803ebe658..5c75065b4f 100644 --- a/apps/web/core/components/modules/delete-module-modal.tsx +++ b/apps/web/core/components/modules/delete-module-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/dropdowns/filters/index.ts b/apps/web/core/components/modules/dropdowns/filters/index.ts index 786fc5cec8..8280ae9c64 100644 --- a/apps/web/core/components/modules/dropdowns/filters/index.ts +++ b/apps/web/core/components/modules/dropdowns/filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./lead"; export * from "./members"; export * from "./root"; diff --git a/apps/web/core/components/modules/dropdowns/filters/lead.tsx b/apps/web/core/components/modules/dropdowns/filters/lead.tsx index 5a1fef606e..fa4ee6124f 100644 --- a/apps/web/core/components/modules/dropdowns/filters/lead.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/lead.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/dropdowns/filters/members.tsx b/apps/web/core/components/modules/dropdowns/filters/members.tsx index 72f0d9bff4..1af34e16ce 100644 --- a/apps/web/core/components/modules/dropdowns/filters/members.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/dropdowns/filters/root.tsx b/apps/web/core/components/modules/dropdowns/filters/root.tsx index 09a81925f4..264494593e 100644 --- a/apps/web/core/components/modules/dropdowns/filters/root.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import type { TModuleStatus } from "@plane/propel/icons"; diff --git a/apps/web/core/components/modules/dropdowns/filters/start-date.tsx b/apps/web/core/components/modules/dropdowns/filters/start-date.tsx index 8ae64109bf..57458cc740 100644 --- a/apps/web/core/components/modules/dropdowns/filters/start-date.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/start-date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // constants diff --git a/apps/web/core/components/modules/dropdowns/filters/status.tsx b/apps/web/core/components/modules/dropdowns/filters/status.tsx index 6fcaf1c713..5957924e60 100644 --- a/apps/web/core/components/modules/dropdowns/filters/status.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { MODULE_STATUS } from "@plane/constants"; diff --git a/apps/web/core/components/modules/dropdowns/filters/target-date.tsx b/apps/web/core/components/modules/dropdowns/filters/target-date.tsx index ad134d7500..39338d9129 100644 --- a/apps/web/core/components/modules/dropdowns/filters/target-date.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/target-date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane constants diff --git a/apps/web/core/components/modules/dropdowns/index.ts b/apps/web/core/components/modules/dropdowns/index.ts index f6c42552f6..41a21b5cb7 100644 --- a/apps/web/core/components/modules/dropdowns/index.ts +++ b/apps/web/core/components/modules/dropdowns/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filters"; export * from "./order-by"; diff --git a/apps/web/core/components/modules/dropdowns/order-by.tsx b/apps/web/core/components/modules/dropdowns/order-by.tsx index c91f0180f4..b33cf62cd3 100644 --- a/apps/web/core/components/modules/dropdowns/order-by.tsx +++ b/apps/web/core/components/modules/dropdowns/order-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ArrowDownWideNarrow, ArrowUpWideNarrow } from "lucide-react"; import { MODULE_ORDER_BY_OPTIONS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/modules/form.tsx b/apps/web/core/components/modules/form.tsx index 4f9f8b12cb..3cc901289e 100644 --- a/apps/web/core/components/modules/form.tsx +++ b/apps/web/core/components/modules/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/modules/gantt-chart/blocks.tsx b/apps/web/core/components/modules/gantt-chart/blocks.tsx index 72bd890cba..d40d1bb619 100644 --- a/apps/web/core/components/modules/gantt-chart/blocks.tsx +++ b/apps/web/core/components/modules/gantt-chart/blocks.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/gantt-chart/index.ts b/apps/web/core/components/modules/gantt-chart/index.ts index 72eb6bfc54..1b44f4a0ed 100644 --- a/apps/web/core/components/modules/gantt-chart/index.ts +++ b/apps/web/core/components/modules/gantt-chart/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./blocks"; export * from "./modules-list-layout"; diff --git a/apps/web/core/components/modules/gantt-chart/modules-list-layout.tsx b/apps/web/core/components/modules/gantt-chart/modules-list-layout.tsx index 4683852398..8f5df8df28 100644 --- a/apps/web/core/components/modules/gantt-chart/modules-list-layout.tsx +++ b/apps/web/core/components/modules/gantt-chart/modules-list-layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // PLane diff --git a/apps/web/core/components/modules/index.ts b/apps/web/core/components/modules/index.ts index a9a4e65e45..96ef55393a 100644 --- a/apps/web/core/components/modules/index.ts +++ b/apps/web/core/components/modules/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./applied-filters"; export * from "./dropdowns"; export * from "./select"; diff --git a/apps/web/core/components/modules/links/create-update-modal.tsx b/apps/web/core/components/modules/links/create-update-modal.tsx index 35eac054b3..48085d3650 100644 --- a/apps/web/core/components/modules/links/create-update-modal.tsx +++ b/apps/web/core/components/modules/links/create-update-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/modules/links/index.ts b/apps/web/core/components/modules/links/index.ts index 1141121906..80472cdd71 100644 --- a/apps/web/core/components/modules/links/index.ts +++ b/apps/web/core/components/modules/links/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./create-update-modal"; export * from "./list-item"; export * from "./list"; diff --git a/apps/web/core/components/modules/links/list-item.tsx b/apps/web/core/components/modules/links/list-item.tsx index bb34c56992..79298e0aca 100644 --- a/apps/web/core/components/modules/links/list-item.tsx +++ b/apps/web/core/components/modules/links/list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { MODULE_TRACKER_ELEMENTS } from "@plane/constants"; diff --git a/apps/web/core/components/modules/links/list.tsx b/apps/web/core/components/modules/links/list.tsx index cd0a3c93a2..4497ae6c71 100644 --- a/apps/web/core/components/modules/links/list.tsx +++ b/apps/web/core/components/modules/links/list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; // plane types diff --git a/apps/web/core/components/modules/modal.tsx b/apps/web/core/components/modules/modal.tsx index c71bc5f9f5..b85d9b4890 100644 --- a/apps/web/core/components/modules/modal.tsx +++ b/apps/web/core/components/modules/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useForm } from "react-hook-form"; diff --git a/apps/web/core/components/modules/module-card-item.tsx b/apps/web/core/components/modules/module-card-item.tsx index 69a8b5dbf1..26f426883c 100644 --- a/apps/web/core/components/modules/module-card-item.tsx +++ b/apps/web/core/components/modules/module-card-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { SyntheticEvent } from "react"; import React, { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/module-layout-icon.tsx b/apps/web/core/components/modules/module-layout-icon.tsx index e59dd65c21..cab7e1d1ad 100644 --- a/apps/web/core/components/modules/module-layout-icon.tsx +++ b/apps/web/core/components/modules/module-layout-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { TimelineLayoutIcon, GridLayoutIcon, ListLayoutIcon } from "@plane/propel/icons"; import type { TModuleLayoutOptions } from "@plane/types"; diff --git a/apps/web/core/components/modules/module-list-item-action.tsx b/apps/web/core/components/modules/module-list-item-action.tsx index 999cc5a938..73746d0535 100644 --- a/apps/web/core/components/modules/module-list-item-action.tsx +++ b/apps/web/core/components/modules/module-list-item-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/module-list-item.tsx b/apps/web/core/components/modules/module-list-item.tsx index 0d2701613b..ac942244a8 100644 --- a/apps/web/core/components/modules/module-list-item.tsx +++ b/apps/web/core/components/modules/module-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useRef } from "react"; import { observer } from "mobx-react"; import { useParams, usePathname, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/module-peek-overview.tsx b/apps/web/core/components/modules/module-peek-overview.tsx index 8aa0f21771..612c0b2afe 100644 --- a/apps/web/core/components/modules/module-peek-overview.tsx +++ b/apps/web/core/components/modules/module-peek-overview.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect } from "react"; import { observer } from "mobx-react"; import { usePathname, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/module-status-dropdown.tsx b/apps/web/core/components/modules/module-status-dropdown.tsx index 6aa27c15e8..b0bf9b8cb6 100644 --- a/apps/web/core/components/modules/module-status-dropdown.tsx +++ b/apps/web/core/components/modules/module-status-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/module-view-header.tsx b/apps/web/core/components/modules/module-view-header.tsx index f2ec043a64..c55779a563 100644 --- a/apps/web/core/components/modules/module-view-header.tsx +++ b/apps/web/core/components/modules/module-view-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/modules-list-view.tsx b/apps/web/core/components/modules/modules-list-view.tsx index 3da71dcc71..7495f17f69 100644 --- a/apps/web/core/components/modules/modules-list-view.tsx +++ b/apps/web/core/components/modules/modules-list-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams, useSearchParams } from "next/navigation"; // components diff --git a/apps/web/core/components/modules/quick-actions.tsx b/apps/web/core/components/modules/quick-actions.tsx index 4638cd2603..0612b4a2cc 100644 --- a/apps/web/core/components/modules/quick-actions.tsx +++ b/apps/web/core/components/modules/quick-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { MoreHorizontal } from "lucide-react"; diff --git a/apps/web/core/components/modules/select/index.ts b/apps/web/core/components/modules/select/index.ts index ed1ec7efa7..1e350bd8ab 100644 --- a/apps/web/core/components/modules/select/index.ts +++ b/apps/web/core/components/modules/select/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./status"; diff --git a/apps/web/core/components/modules/select/status.tsx b/apps/web/core/components/modules/select/status.tsx index fc265e5876..3b48570c3c 100644 --- a/apps/web/core/components/modules/select/status.tsx +++ b/apps/web/core/components/modules/select/status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // react hook form diff --git a/apps/web/core/components/modules/sidebar-select/index.ts b/apps/web/core/components/modules/sidebar-select/index.ts index 2d2ba0d912..81b8792862 100644 --- a/apps/web/core/components/modules/sidebar-select/index.ts +++ b/apps/web/core/components/modules/sidebar-select/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./select-status"; diff --git a/apps/web/core/components/modules/sidebar-select/select-status.tsx b/apps/web/core/components/modules/sidebar-select/select-status.tsx index 58ca853b81..541e31592a 100644 --- a/apps/web/core/components/modules/sidebar-select/select-status.tsx +++ b/apps/web/core/components/modules/sidebar-select/select-status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // react import React from "react"; // react-hook-form diff --git a/apps/web/core/components/navigation/app-rail-root.tsx b/apps/web/core/components/navigation/app-rail-root.tsx index eb37e7d212..0a79d11372 100644 --- a/apps/web/core/components/navigation/app-rail-root.tsx +++ b/apps/web/core/components/navigation/app-rail-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + "use client"; import { observer } from "mobx-react"; import { useParams, usePathname } from "next/navigation"; diff --git a/apps/web/core/components/navigation/customize-navigation-dialog.tsx b/apps/web/core/components/navigation/customize-navigation-dialog.tsx index 63edd309b6..d38a8a6a78 100644 --- a/apps/web/core/components/navigation/customize-navigation-dialog.tsx +++ b/apps/web/core/components/navigation/customize-navigation-dialog.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useCallback, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/navigation/index.ts b/apps/web/core/components/navigation/index.ts index 2494d65578..db9f557cf7 100644 --- a/apps/web/core/components/navigation/index.ts +++ b/apps/web/core/components/navigation/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./app-rail-root"; export * from "./tab-navigation-root"; export * from "./top-nav-power-k"; diff --git a/apps/web/core/components/navigation/items-root.tsx b/apps/web/core/components/navigation/items-root.tsx index da36dca5d8..5ba8e1e33f 100644 --- a/apps/web/core/components/navigation/items-root.tsx +++ b/apps/web/core/components/navigation/items-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components/AppSidebarItemsRoot.tsx import React from "react"; diff --git a/apps/web/core/components/navigation/project-actions-menu.tsx b/apps/web/core/components/navigation/project-actions-menu.tsx index 0637e9b9cb..f5fdc6f92c 100644 --- a/apps/web/core/components/navigation/project-actions-menu.tsx +++ b/apps/web/core/components/navigation/project-actions-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef } from "react"; import { useNavigate } from "react-router"; import { LogOut, MoreHorizontal, Settings, Share2, ArchiveIcon } from "lucide-react"; diff --git a/apps/web/core/components/navigation/project-header-button.tsx b/apps/web/core/components/navigation/project-header-button.tsx index 6da1b2d461..87b742fa1d 100644 --- a/apps/web/core/components/navigation/project-header-button.tsx +++ b/apps/web/core/components/navigation/project-header-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TPartialProject } from "@/plane-web/types"; // plane propel imports import { Logo } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/navigation/project-header.tsx b/apps/web/core/components/navigation/project-header.tsx index ea87a87ac8..134c8d3031 100644 --- a/apps/web/core/components/navigation/project-header.tsx +++ b/apps/web/core/components/navigation/project-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/navigation/tab-navigation-overflow-menu.tsx b/apps/web/core/components/navigation/tab-navigation-overflow-menu.tsx index efeed1d4df..4f3d13cb86 100644 --- a/apps/web/core/components/navigation/tab-navigation-overflow-menu.tsx +++ b/apps/web/core/components/navigation/tab-navigation-overflow-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Link } from "react-router"; import { MoreHorizontal, Pin } from "lucide-react"; diff --git a/apps/web/core/components/navigation/tab-navigation-root.tsx b/apps/web/core/components/navigation/tab-navigation-root.tsx index 1959f8684c..d4d974ee66 100644 --- a/apps/web/core/components/navigation/tab-navigation-root.tsx +++ b/apps/web/core/components/navigation/tab-navigation-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/navigation/tab-navigation-utils.ts b/apps/web/core/components/navigation/tab-navigation-utils.ts index a3cffe01d8..de8fa1423b 100644 --- a/apps/web/core/components/navigation/tab-navigation-utils.ts +++ b/apps/web/core/components/navigation/tab-navigation-utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Tab preferences type export type TTabPreferences = { defaultTab: string; diff --git a/apps/web/core/components/navigation/tab-navigation-visible-item.tsx b/apps/web/core/components/navigation/tab-navigation-visible-item.tsx index 4a533e2772..8210663c3a 100644 --- a/apps/web/core/components/navigation/tab-navigation-visible-item.tsx +++ b/apps/web/core/components/navigation/tab-navigation-visible-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Link } from "react-router"; import { PinOff } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/navigation/top-nav-power-k.tsx b/apps/web/core/components/navigation/top-nav-power-k.tsx index b4e9bacb0c..7d454515fe 100644 --- a/apps/web/core/components/navigation/top-nav-power-k.tsx +++ b/apps/web/core/components/navigation/top-nav-power-k.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useMemo, useCallback, useEffect } from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/navigation/use-active-tab.ts b/apps/web/core/components/navigation/use-active-tab.ts index f014289255..50ca1c6ba0 100644 --- a/apps/web/core/components/navigation/use-active-tab.ts +++ b/apps/web/core/components/navigation/use-active-tab.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import type { TIssue } from "@plane/types"; import type { TNavigationItem } from "@/components/navigation/tab-navigation-root"; diff --git a/apps/web/core/components/navigation/use-project-actions.ts b/apps/web/core/components/navigation/use-project-actions.ts index 24e3fc9fa7..1b881278db 100644 --- a/apps/web/core/components/navigation/use-project-actions.ts +++ b/apps/web/core/components/navigation/use-project-actions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useState } from "react"; import { setToast, TOAST_TYPE } from "@plane/propel/toast"; import { copyUrlToClipboard } from "@plane/utils"; diff --git a/apps/web/core/components/navigation/use-responsive-tab-layout.ts b/apps/web/core/components/navigation/use-responsive-tab-layout.ts index c76724a067..cde061524c 100644 --- a/apps/web/core/components/navigation/use-responsive-tab-layout.ts +++ b/apps/web/core/components/navigation/use-responsive-tab-layout.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import type { TNavigationItem } from "./tab-navigation-root"; diff --git a/apps/web/core/components/navigation/use-tab-preferences.ts b/apps/web/core/components/navigation/use-tab-preferences.ts index 5edc2396ed..a29829eea9 100644 --- a/apps/web/core/components/navigation/use-tab-preferences.ts +++ b/apps/web/core/components/navigation/use-tab-preferences.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { setToast, TOAST_TYPE } from "@plane/propel/toast"; import { useMember } from "@/hooks/store/use-member"; diff --git a/apps/web/core/components/onboarding/create-or-join-workspaces.tsx b/apps/web/core/components/onboarding/create-or-join-workspaces.tsx index 4b6e45f726..0c94f9fd80 100644 --- a/apps/web/core/components/onboarding/create-or-join-workspaces.tsx +++ b/apps/web/core/components/onboarding/create-or-join-workspaces.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { OctagonAlert } from "lucide-react"; diff --git a/apps/web/core/components/onboarding/create-workspace.tsx b/apps/web/core/components/onboarding/create-workspace.tsx index 4f145e1bef..9ae8e16e63 100644 --- a/apps/web/core/components/onboarding/create-workspace.tsx +++ b/apps/web/core/components/onboarding/create-workspace.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/header.tsx b/apps/web/core/components/onboarding/header.tsx index 9f8f621ed8..0320f00b28 100644 --- a/apps/web/core/components/onboarding/header.tsx +++ b/apps/web/core/components/onboarding/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/onboarding/index.ts b/apps/web/core/components/onboarding/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/onboarding/index.ts +++ b/apps/web/core/components/onboarding/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/onboarding/invitations.tsx b/apps/web/core/components/onboarding/invitations.tsx index 457fb32650..e9ed76f78e 100644 --- a/apps/web/core/components/onboarding/invitations.tsx +++ b/apps/web/core/components/onboarding/invitations.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // plane imports import { ROLE } from "@plane/constants"; diff --git a/apps/web/core/components/onboarding/invite-members.tsx b/apps/web/core/components/onboarding/invite-members.tsx index 9f2464f4f4..01b5b1f15f 100644 --- a/apps/web/core/components/onboarding/invite-members.tsx +++ b/apps/web/core/components/onboarding/invite-members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import type { diff --git a/apps/web/core/components/onboarding/profile-setup.tsx b/apps/web/core/components/onboarding/profile-setup.tsx index 0374a8ee05..41e384b21f 100644 --- a/apps/web/core/components/onboarding/profile-setup.tsx +++ b/apps/web/core/components/onboarding/profile-setup.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/root.tsx b/apps/web/core/components/onboarding/root.tsx index b839066fbe..17347545fb 100644 --- a/apps/web/core/components/onboarding/root.tsx +++ b/apps/web/core/components/onboarding/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/onboarding/step-indicator.tsx b/apps/web/core/components/onboarding/step-indicator.tsx index 543614a5bf..651dfa13a0 100644 --- a/apps/web/core/components/onboarding/step-indicator.tsx +++ b/apps/web/core/components/onboarding/step-indicator.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // helpers import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/onboarding/steps/common/header.tsx b/apps/web/core/components/onboarding/steps/common/header.tsx index 7137ec2090..9905f0e4a8 100644 --- a/apps/web/core/components/onboarding/steps/common/header.tsx +++ b/apps/web/core/components/onboarding/steps/common/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; type Props = { diff --git a/apps/web/core/components/onboarding/steps/common/index.ts b/apps/web/core/components/onboarding/steps/common/index.ts index 49ac70fe21..f595712fc2 100644 --- a/apps/web/core/components/onboarding/steps/common/index.ts +++ b/apps/web/core/components/onboarding/steps/common/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./header"; diff --git a/apps/web/core/components/onboarding/steps/index.ts b/apps/web/core/components/onboarding/steps/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/onboarding/steps/index.ts +++ b/apps/web/core/components/onboarding/steps/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/onboarding/steps/profile/consent.tsx b/apps/web/core/components/onboarding/steps/profile/consent.tsx index d94478b0e3..ea8a2dc5ed 100644 --- a/apps/web/core/components/onboarding/steps/profile/consent.tsx +++ b/apps/web/core/components/onboarding/steps/profile/consent.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { CheckIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/onboarding/steps/profile/index.ts b/apps/web/core/components/onboarding/steps/profile/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/onboarding/steps/profile/index.ts +++ b/apps/web/core/components/onboarding/steps/profile/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/onboarding/steps/profile/root.tsx b/apps/web/core/components/onboarding/steps/profile/root.tsx index 06a1062490..788e389669 100644 --- a/apps/web/core/components/onboarding/steps/profile/root.tsx +++ b/apps/web/core/components/onboarding/steps/profile/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/steps/profile/set-password.tsx b/apps/web/core/components/onboarding/steps/profile/set-password.tsx index 614cb32581..8736fd9814 100644 --- a/apps/web/core/components/onboarding/steps/profile/set-password.tsx +++ b/apps/web/core/components/onboarding/steps/profile/set-password.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useCallback, useMemo } from "react"; import { LockIcon, ChevronDownIcon } from "@plane/propel/icons"; import { PasswordInput, PasswordStrengthIndicator } from "@plane/ui"; diff --git a/apps/web/core/components/onboarding/steps/role/index.ts b/apps/web/core/components/onboarding/steps/role/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/onboarding/steps/role/index.ts +++ b/apps/web/core/components/onboarding/steps/role/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/onboarding/steps/role/root.tsx b/apps/web/core/components/onboarding/steps/role/root.tsx index 824f5763bf..8aa07ed7ab 100644 --- a/apps/web/core/components/onboarding/steps/role/root.tsx +++ b/apps/web/core/components/onboarding/steps/role/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; import { Box, PenTool, Rocket, Monitor, RefreshCw } from "lucide-react"; diff --git a/apps/web/core/components/onboarding/steps/root.tsx b/apps/web/core/components/onboarding/steps/root.tsx index f4941eafa9..0ef9440118 100644 --- a/apps/web/core/components/onboarding/steps/root.tsx +++ b/apps/web/core/components/onboarding/steps/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; // plane imports import type { IWorkspaceMemberInvitation } from "@plane/types"; diff --git a/apps/web/core/components/onboarding/steps/team/index.ts b/apps/web/core/components/onboarding/steps/team/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/onboarding/steps/team/index.ts +++ b/apps/web/core/components/onboarding/steps/team/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/onboarding/steps/team/root.tsx b/apps/web/core/components/onboarding/steps/team/root.tsx index b088e7c144..12b3345f84 100644 --- a/apps/web/core/components/onboarding/steps/team/root.tsx +++ b/apps/web/core/components/onboarding/steps/team/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import type { diff --git a/apps/web/core/components/onboarding/steps/usecase/index.ts b/apps/web/core/components/onboarding/steps/usecase/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/onboarding/steps/usecase/index.ts +++ b/apps/web/core/components/onboarding/steps/usecase/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/onboarding/steps/usecase/root.tsx b/apps/web/core/components/onboarding/steps/usecase/root.tsx index 63a3401497..2fb3954487 100644 --- a/apps/web/core/components/onboarding/steps/usecase/root.tsx +++ b/apps/web/core/components/onboarding/steps/usecase/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/onboarding/steps/workspace/create.tsx b/apps/web/core/components/onboarding/steps/workspace/create.tsx index 6100f75c1a..2f5669f144 100644 --- a/apps/web/core/components/onboarding/steps/workspace/create.tsx +++ b/apps/web/core/components/onboarding/steps/workspace/create.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/steps/workspace/index.ts b/apps/web/core/components/onboarding/steps/workspace/index.ts index 2cce58b07f..fb5bdd9b49 100644 --- a/apps/web/core/components/onboarding/steps/workspace/index.ts +++ b/apps/web/core/components/onboarding/steps/workspace/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./create"; export * from "./join-invites"; export * from "./root"; diff --git a/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx b/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx index 98511293c0..81286f4aed 100644 --- a/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx +++ b/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // plane imports import { ROLE } from "@plane/constants"; diff --git a/apps/web/core/components/onboarding/steps/workspace/root.tsx b/apps/web/core/components/onboarding/steps/workspace/root.tsx index f5cfef3eca..f123487935 100644 --- a/apps/web/core/components/onboarding/steps/workspace/root.tsx +++ b/apps/web/core/components/onboarding/steps/workspace/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/onboarding/switch-account-dropdown.tsx b/apps/web/core/components/onboarding/switch-account-dropdown.tsx index a909efb45e..f66219976f 100644 --- a/apps/web/core/components/onboarding/switch-account-dropdown.tsx +++ b/apps/web/core/components/onboarding/switch-account-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/onboarding/switch-account-modal.tsx b/apps/web/core/components/onboarding/switch-account-modal.tsx index 8f94cdfb15..c41ec0a901 100644 --- a/apps/web/core/components/onboarding/switch-account-modal.tsx +++ b/apps/web/core/components/onboarding/switch-account-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/pages/dropdowns/actions.tsx b/apps/web/core/components/pages/dropdowns/actions.tsx index 0b300a757e..aec992c403 100644 --- a/apps/web/core/components/pages/dropdowns/actions.tsx +++ b/apps/web/core/components/pages/dropdowns/actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/pages/dropdowns/index.ts b/apps/web/core/components/pages/dropdowns/index.ts index 8ff5a89aff..8f46fb467f 100644 --- a/apps/web/core/components/pages/dropdowns/index.ts +++ b/apps/web/core/components/pages/dropdowns/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./actions"; diff --git a/apps/web/core/components/pages/editor/content-limit-banner.tsx b/apps/web/core/components/pages/editor/content-limit-banner.tsx index 13f453d086..0a6e487fd6 100644 --- a/apps/web/core/components/pages/editor/content-limit-banner.tsx +++ b/apps/web/core/components/pages/editor/content-limit-banner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { TriangleAlert } from "lucide-react"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/pages/editor/editor-body.tsx b/apps/web/core/components/pages/editor/editor-body.tsx index 53b61e0a5d..2175a5c755 100644 --- a/apps/web/core/components/pages/editor/editor-body.tsx +++ b/apps/web/core/components/pages/editor/editor-body.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useMemo, useRef } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/pages/editor/header/index.ts b/apps/web/core/components/pages/editor/header/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/pages/editor/header/index.ts +++ b/apps/web/core/components/pages/editor/header/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/pages/editor/header/logo-picker.tsx b/apps/web/core/components/pages/editor/header/logo-picker.tsx index df6eac425d..9102be8a82 100644 --- a/apps/web/core/components/pages/editor/header/logo-picker.tsx +++ b/apps/web/core/components/pages/editor/header/logo-picker.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/pages/editor/header/root.tsx b/apps/web/core/components/pages/editor/header/root.tsx index 136e7c5912..3b754fb13a 100644 --- a/apps/web/core/components/pages/editor/header/root.tsx +++ b/apps/web/core/components/pages/editor/header/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { SmilePlus } from "lucide-react"; diff --git a/apps/web/core/components/pages/editor/page-root.tsx b/apps/web/core/components/pages/editor/page-root.tsx index 533e0ea9fe..eec8e3c264 100644 --- a/apps/web/core/components/pages/editor/page-root.tsx +++ b/apps/web/core/components/pages/editor/page-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/pages/editor/summary/content-browser.tsx b/apps/web/core/components/pages/editor/summary/content-browser.tsx index dda98d3061..1d301940ad 100644 --- a/apps/web/core/components/pages/editor/summary/content-browser.tsx +++ b/apps/web/core/components/pages/editor/summary/content-browser.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect, useCallback } from "react"; // plane imports import type { EditorRefApi, IMarking } from "@plane/editor"; diff --git a/apps/web/core/components/pages/editor/summary/heading-components.tsx b/apps/web/core/components/pages/editor/summary/heading-components.tsx index c5d3d3b250..8f1e82e87c 100644 --- a/apps/web/core/components/pages/editor/summary/heading-components.tsx +++ b/apps/web/core/components/pages/editor/summary/heading-components.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IMarking } from "@plane/editor"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/pages/editor/summary/index.ts b/apps/web/core/components/pages/editor/summary/index.ts index 779b785483..17a5415e18 100644 --- a/apps/web/core/components/pages/editor/summary/index.ts +++ b/apps/web/core/components/pages/editor/summary/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./content-browser"; diff --git a/apps/web/core/components/pages/editor/title.tsx b/apps/web/core/components/pages/editor/title.tsx index 73c398d49b..5272afbb2a 100644 --- a/apps/web/core/components/pages/editor/title.tsx +++ b/apps/web/core/components/pages/editor/title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // editor diff --git a/apps/web/core/components/pages/editor/toolbar/color-dropdown.tsx b/apps/web/core/components/pages/editor/toolbar/color-dropdown.tsx index 591f8f3142..116dc8135c 100644 --- a/apps/web/core/components/pages/editor/toolbar/color-dropdown.tsx +++ b/apps/web/core/components/pages/editor/toolbar/color-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { memo } from "react"; import { ALargeSmall, Ban } from "lucide-react"; import { Popover } from "@headlessui/react"; diff --git a/apps/web/core/components/pages/editor/toolbar/index.ts b/apps/web/core/components/pages/editor/toolbar/index.ts index 2c36785bd3..bd1654ccdb 100644 --- a/apps/web/core/components/pages/editor/toolbar/index.ts +++ b/apps/web/core/components/pages/editor/toolbar/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./color-dropdown"; export * from "./options-dropdown"; export * from "./root"; diff --git a/apps/web/core/components/pages/editor/toolbar/options-dropdown.tsx b/apps/web/core/components/pages/editor/toolbar/options-dropdown.tsx index 5655469ccd..72438d1512 100644 --- a/apps/web/core/components/pages/editor/toolbar/options-dropdown.tsx +++ b/apps/web/core/components/pages/editor/toolbar/options-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { ArrowUpToLine, Clipboard, History } from "lucide-react"; diff --git a/apps/web/core/components/pages/editor/toolbar/root.tsx b/apps/web/core/components/pages/editor/toolbar/root.tsx index c4ea3eeec7..862831d2aa 100644 --- a/apps/web/core/components/pages/editor/toolbar/root.tsx +++ b/apps/web/core/components/pages/editor/toolbar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { PanelRight } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/pages/editor/toolbar/toolbar.tsx b/apps/web/core/components/pages/editor/toolbar/toolbar.tsx index b5dd1cc2b3..3f71ba5fc7 100644 --- a/apps/web/core/components/pages/editor/toolbar/toolbar.tsx +++ b/apps/web/core/components/pages/editor/toolbar/toolbar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState, useCallback } from "react"; import type { EditorRefApi } from "@plane/editor"; // plane imports diff --git a/apps/web/core/components/pages/header/actions.tsx b/apps/web/core/components/pages/header/actions.tsx index f381ef5d06..7ebad8adce 100644 --- a/apps/web/core/components/pages/header/actions.tsx +++ b/apps/web/core/components/pages/header/actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane web components import { PageLockControl } from "@/plane-web/components/pages/header/lock-control"; diff --git a/apps/web/core/components/pages/header/archived-badge.tsx b/apps/web/core/components/pages/header/archived-badge.tsx index 2bd7e17423..c7bb607e66 100644 --- a/apps/web/core/components/pages/header/archived-badge.tsx +++ b/apps/web/core/components/pages/header/archived-badge.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { ArchiveIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/pages/header/copy-link-control.tsx b/apps/web/core/components/pages/header/copy-link-control.tsx index aa502f7123..40ad4a75a1 100644 --- a/apps/web/core/components/pages/header/copy-link-control.tsx +++ b/apps/web/core/components/pages/header/copy-link-control.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef, useEffect, useCallback } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/pages/header/favorite-control.tsx b/apps/web/core/components/pages/header/favorite-control.tsx index 7e74abba72..38c982d487 100644 --- a/apps/web/core/components/pages/header/favorite-control.tsx +++ b/apps/web/core/components/pages/header/favorite-control.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Star } from "lucide-react"; // ui diff --git a/apps/web/core/components/pages/header/index.ts b/apps/web/core/components/pages/header/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/pages/header/index.ts +++ b/apps/web/core/components/pages/header/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/pages/header/offline-badge.tsx b/apps/web/core/components/pages/header/offline-badge.tsx index fcb6adea1d..460d071d73 100644 --- a/apps/web/core/components/pages/header/offline-badge.tsx +++ b/apps/web/core/components/pages/header/offline-badge.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/pages/header/root.tsx b/apps/web/core/components/pages/header/root.tsx index 1dc01cc9b7..1223b97dbb 100644 --- a/apps/web/core/components/pages/header/root.tsx +++ b/apps/web/core/components/pages/header/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { ListFilter } from "lucide-react"; diff --git a/apps/web/core/components/pages/header/syncing-badge.tsx b/apps/web/core/components/pages/header/syncing-badge.tsx index 4aac9f1818..e0aaab3f60 100644 --- a/apps/web/core/components/pages/header/syncing-badge.tsx +++ b/apps/web/core/components/pages/header/syncing-badge.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; import { CloudOff, Dot } from "lucide-react"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/pages/list/applied-filters/index.ts b/apps/web/core/components/pages/list/applied-filters/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/pages/list/applied-filters/index.ts +++ b/apps/web/core/components/pages/list/applied-filters/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/pages/list/applied-filters/root.tsx b/apps/web/core/components/pages/list/applied-filters/root.tsx index e911ea01df..3329de2b3c 100644 --- a/apps/web/core/components/pages/list/applied-filters/root.tsx +++ b/apps/web/core/components/pages/list/applied-filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { CloseIcon } from "@plane/propel/icons"; // plane imports diff --git a/apps/web/core/components/pages/list/block-item-action.tsx b/apps/web/core/components/pages/list/block-item-action.tsx index c8034e7bfe..3e7629597d 100644 --- a/apps/web/core/components/pages/list/block-item-action.tsx +++ b/apps/web/core/components/pages/list/block-item-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Earth, Info, Minus } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/pages/list/block.tsx b/apps/web/core/components/pages/list/block.tsx index 7433234343..5d658a42e2 100644 --- a/apps/web/core/components/pages/list/block.tsx +++ b/apps/web/core/components/pages/list/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; import { Logo } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/pages/list/filters/index.ts b/apps/web/core/components/pages/list/filters/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/pages/list/filters/index.ts +++ b/apps/web/core/components/pages/list/filters/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/pages/list/filters/root.tsx b/apps/web/core/components/pages/list/filters/root.tsx index 52ec6a8acb..e60462cfba 100644 --- a/apps/web/core/components/pages/list/filters/root.tsx +++ b/apps/web/core/components/pages/list/filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef, useEffect } from "react"; import { observer } from "mobx-react"; import { SearchIcon, CloseIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/pages/list/index.ts b/apps/web/core/components/pages/list/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/pages/list/index.ts +++ b/apps/web/core/components/pages/list/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/pages/list/order-by.tsx b/apps/web/core/components/pages/list/order-by.tsx index 867247a0be..8bdf960fa1 100644 --- a/apps/web/core/components/pages/list/order-by.tsx +++ b/apps/web/core/components/pages/list/order-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react"; // plane imports import { getButtonStyling } from "@plane/propel/button"; diff --git a/apps/web/core/components/pages/list/root.tsx b/apps/web/core/components/pages/list/root.tsx index 0d477745fe..3764e5bc19 100644 --- a/apps/web/core/components/pages/list/root.tsx +++ b/apps/web/core/components/pages/list/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // types import type { TPageNavigationTabs } from "@plane/types"; diff --git a/apps/web/core/components/pages/list/search-input.tsx b/apps/web/core/components/pages/list/search-input.tsx index fc8492f71a..200957b44a 100644 --- a/apps/web/core/components/pages/list/search-input.tsx +++ b/apps/web/core/components/pages/list/search-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; // plane imports import { useOutsideClickDetector } from "@plane/hooks"; diff --git a/apps/web/core/components/pages/list/tab-navigation.tsx b/apps/web/core/components/pages/list/tab-navigation.tsx index 5ed0ee1b86..3fe4bc5647 100644 --- a/apps/web/core/components/pages/list/tab-navigation.tsx +++ b/apps/web/core/components/pages/list/tab-navigation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; // types import type { TPageNavigationTabs } from "@plane/types"; diff --git a/apps/web/core/components/pages/loaders/page-content-loader.tsx b/apps/web/core/components/pages/loaders/page-content-loader.tsx index a910f8b60f..3bc57163ec 100644 --- a/apps/web/core/components/pages/loaders/page-content-loader.tsx +++ b/apps/web/core/components/pages/loaders/page-content-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { Loader } from "@plane/ui"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/pages/loaders/page-loader.tsx b/apps/web/core/components/pages/loaders/page-loader.tsx index c07ac6b04b..a217229ad1 100644 --- a/apps/web/core/components/pages/loaders/page-loader.tsx +++ b/apps/web/core/components/pages/loaders/page-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/pages/modals/create-page-modal.tsx b/apps/web/core/components/pages/modals/create-page-modal.tsx index 927c0f268f..493cb84e3e 100644 --- a/apps/web/core/components/pages/modals/create-page-modal.tsx +++ b/apps/web/core/components/pages/modals/create-page-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; // constants import type { EPageAccess } from "@plane/constants"; diff --git a/apps/web/core/components/pages/modals/delete-page-modal.tsx b/apps/web/core/components/pages/modals/delete-page-modal.tsx index 701431c18e..8a99b98b9d 100644 --- a/apps/web/core/components/pages/modals/delete-page-modal.tsx +++ b/apps/web/core/components/pages/modals/delete-page-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/pages/modals/export-page-modal.tsx b/apps/web/core/components/pages/modals/export-page-modal.tsx index 861e5c1526..531fecc26b 100644 --- a/apps/web/core/components/pages/modals/export-page-modal.tsx +++ b/apps/web/core/components/pages/modals/export-page-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { PageProps } from "@react-pdf/renderer"; import { pdf } from "@react-pdf/renderer"; diff --git a/apps/web/core/components/pages/modals/page-form.tsx b/apps/web/core/components/pages/modals/page-form.tsx index 05dcc95ba4..9aad37280f 100644 --- a/apps/web/core/components/pages/modals/page-form.tsx +++ b/apps/web/core/components/pages/modals/page-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FormEvent } from "react"; import { useState } from "react"; import type { LucideIcon } from "lucide-react"; diff --git a/apps/web/core/components/pages/navigation-pane/index.ts b/apps/web/core/components/pages/navigation-pane/index.ts index cbb4ee7b45..20f042aa57 100644 --- a/apps/web/core/components/pages/navigation-pane/index.ts +++ b/apps/web/core/components/pages/navigation-pane/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web imports import { ORDERED_PAGE_NAVIGATION_TABS_LIST } from "@/plane-web/components/pages/navigation-pane"; diff --git a/apps/web/core/components/pages/navigation-pane/root.tsx b/apps/web/core/components/pages/navigation-pane/root.tsx index 75ee8fbe2d..a4091300fd 100644 --- a/apps/web/core/components/pages/navigation-pane/root.tsx +++ b/apps/web/core/components/pages/navigation-pane/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback } from "react"; import { observer } from "mobx-react"; import { useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/pages/navigation-pane/tab-panels/assets.tsx b/apps/web/core/components/pages/navigation-pane/tab-panels/assets.tsx index 1b1b09df81..02be601891 100644 --- a/apps/web/core/components/pages/navigation-pane/tab-panels/assets.tsx +++ b/apps/web/core/components/pages/navigation-pane/tab-panels/assets.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/pages/navigation-pane/tab-panels/info/actors-info.tsx b/apps/web/core/components/pages/navigation-pane/tab-panels/info/actors-info.tsx index fe71741350..8757dec73c 100644 --- a/apps/web/core/components/pages/navigation-pane/tab-panels/info/actors-info.tsx +++ b/apps/web/core/components/pages/navigation-pane/tab-panels/info/actors-info.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/pages/navigation-pane/tab-panels/info/document-info.tsx b/apps/web/core/components/pages/navigation-pane/tab-panels/info/document-info.tsx index 80828fbb32..479f77fee8 100644 --- a/apps/web/core/components/pages/navigation-pane/tab-panels/info/document-info.tsx +++ b/apps/web/core/components/pages/navigation-pane/tab-panels/info/document-info.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/pages/navigation-pane/tab-panels/info/root.tsx b/apps/web/core/components/pages/navigation-pane/tab-panels/info/root.tsx index fda6b8aef3..2aa67586b4 100644 --- a/apps/web/core/components/pages/navigation-pane/tab-panels/info/root.tsx +++ b/apps/web/core/components/pages/navigation-pane/tab-panels/info/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import type { TPageRootHandlers } from "@/components/pages/editor/page-root"; diff --git a/apps/web/core/components/pages/navigation-pane/tab-panels/info/version-history.tsx b/apps/web/core/components/pages/navigation-pane/tab-panels/info/version-history.tsx index 3057693fe9..2f3f76d0ae 100644 --- a/apps/web/core/components/pages/navigation-pane/tab-panels/info/version-history.tsx +++ b/apps/web/core/components/pages/navigation-pane/tab-panels/info/version-history.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/pages/navigation-pane/tab-panels/outline.tsx b/apps/web/core/components/pages/navigation-pane/tab-panels/outline.tsx index adae3ab5df..5ce3f9b188 100644 --- a/apps/web/core/components/pages/navigation-pane/tab-panels/outline.tsx +++ b/apps/web/core/components/pages/navigation-pane/tab-panels/outline.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web imports import { PageNavigationPaneOutlineTabEmptyState } from "@/plane-web/components/pages/navigation-pane/tab-panels/empty-states/outline"; // store diff --git a/apps/web/core/components/pages/navigation-pane/tab-panels/root.tsx b/apps/web/core/components/pages/navigation-pane/tab-panels/root.tsx index aba1a04444..3e12d09238 100644 --- a/apps/web/core/components/pages/navigation-pane/tab-panels/root.tsx +++ b/apps/web/core/components/pages/navigation-pane/tab-panels/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Tab } from "@headlessui/react"; // components diff --git a/apps/web/core/components/pages/navigation-pane/tabs-list.tsx b/apps/web/core/components/pages/navigation-pane/tabs-list.tsx index 57f639ec9e..9661bbf88a 100644 --- a/apps/web/core/components/pages/navigation-pane/tabs-list.tsx +++ b/apps/web/core/components/pages/navigation-pane/tabs-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Tab } from "@headlessui/react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/pages/navigation-pane/types/extensions.ts b/apps/web/core/components/pages/navigation-pane/types/extensions.ts index 6d9fa8efb5..e24a049577 100644 --- a/apps/web/core/components/pages/navigation-pane/types/extensions.ts +++ b/apps/web/core/components/pages/navigation-pane/types/extensions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import type { EPageStoreType } from "@/plane-web/hooks/store"; import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/core/components/pages/navigation-pane/types/index.ts b/apps/web/core/components/pages/navigation-pane/types/index.ts index fd10e53821..f833485a0b 100644 --- a/apps/web/core/components/pages/navigation-pane/types/index.ts +++ b/apps/web/core/components/pages/navigation-pane/types/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Export generic extension system interfaces export type { INavigationPaneExtensionProps, diff --git a/apps/web/core/components/pages/pages-list-main-content.tsx b/apps/web/core/components/pages/pages-list-main-content.tsx index e41d0f8858..adfce6b910 100644 --- a/apps/web/core/components/pages/pages-list-main-content.tsx +++ b/apps/web/core/components/pages/pages-list-main-content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/pages/pages-list-view.tsx b/apps/web/core/components/pages/pages-list-view.tsx index 15f114f46e..5cd4c794f6 100644 --- a/apps/web/core/components/pages/pages-list-view.tsx +++ b/apps/web/core/components/pages/pages-list-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import useSWR from "swr"; import type { TPageNavigationTabs } from "@plane/types"; diff --git a/apps/web/core/components/pages/version/editor.tsx b/apps/web/core/components/pages/version/editor.tsx index 27a5945666..4543af5b02 100644 --- a/apps/web/core/components/pages/version/editor.tsx +++ b/apps/web/core/components/pages/version/editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/pages/version/index.ts b/apps/web/core/components/pages/version/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/pages/version/index.ts +++ b/apps/web/core/components/pages/version/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/pages/version/main-content.tsx b/apps/web/core/components/pages/version/main-content.tsx index 38a9dbcaaa..907519be7e 100644 --- a/apps/web/core/components/pages/version/main-content.tsx +++ b/apps/web/core/components/pages/version/main-content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/pages/version/root.tsx b/apps/web/core/components/pages/version/root.tsx index 81e2c816bd..1e75c76f5e 100644 --- a/apps/web/core/components/pages/version/root.tsx +++ b/apps/web/core/components/pages/version/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/power-k/actions/helper.ts b/apps/web/core/components/power-k/actions/helper.ts index 5156cadf73..a72f9d4413 100644 --- a/apps/web/core/components/power-k/actions/helper.ts +++ b/apps/web/core/components/power-k/actions/helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { store } from "@/lib/store-context"; export const openProjectAndScrollToSidebar = (itemProjectId: string | undefined) => { diff --git a/apps/web/core/components/power-k/config/account-commands.ts b/apps/web/core/components/power-k/config/account-commands.ts index 8adce5e6de..e412ed8d29 100644 --- a/apps/web/core/components/power-k/config/account-commands.ts +++ b/apps/web/core/components/power-k/config/account-commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { LogOut, Mails } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/power-k/config/commands.ts b/apps/web/core/components/power-k/config/commands.ts index 055257403f..eef139ae81 100644 --- a/apps/web/core/components/power-k/config/commands.ts +++ b/apps/web/core/components/power-k/config/commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import type { TPowerKCommandConfig } from "../core/types"; import { usePowerKContextBasedActions } from "../ui/pages/context-based"; diff --git a/apps/web/core/components/power-k/config/creation/command.ts b/apps/web/core/components/power-k/config/creation/command.ts index ca75f4d91a..fb1ff07d93 100644 --- a/apps/web/core/components/power-k/config/creation/command.ts +++ b/apps/web/core/components/power-k/config/creation/command.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { FileText, FolderPlus, Layers, SquarePlus } from "lucide-react"; // plane imports import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/core/components/power-k/config/creation/root.ts b/apps/web/core/components/power-k/config/creation/root.ts index 59402c3a68..10bc9434ec 100644 --- a/apps/web/core/components/power-k/config/creation/root.ts +++ b/apps/web/core/components/power-k/config/creation/root.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { TPowerKCommandConfig } from "@/components/power-k/core/types"; // local imports diff --git a/apps/web/core/components/power-k/config/help-commands.ts b/apps/web/core/components/power-k/config/help-commands.ts index 9f61a5ceb4..77e18de362 100644 --- a/apps/web/core/components/power-k/config/help-commands.ts +++ b/apps/web/core/components/power-k/config/help-commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { FileText, GithubIcon, MessageSquare, Rocket } from "lucide-react"; // plane imports import { DiscordIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/power-k/config/miscellaneous-commands.ts b/apps/web/core/components/power-k/config/miscellaneous-commands.ts index 562f4dea50..de1d617cf0 100644 --- a/apps/web/core/components/power-k/config/miscellaneous-commands.ts +++ b/apps/web/core/components/power-k/config/miscellaneous-commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { PanelLeft } from "lucide-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/power-k/config/navigation/commands.ts b/apps/web/core/components/power-k/config/navigation/commands.ts index 94e424adf8..aecd31b786 100644 --- a/apps/web/core/components/power-k/config/navigation/commands.ts +++ b/apps/web/core/components/power-k/config/navigation/commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { BarChart2, Briefcase, FileText, Home, Inbox, Layers, PenSquare, Settings } from "lucide-react"; // plane imports import { EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/core/components/power-k/config/navigation/root.ts b/apps/web/core/components/power-k/config/navigation/root.ts index 529fd1662e..b2f8cb2945 100644 --- a/apps/web/core/components/power-k/config/navigation/root.ts +++ b/apps/web/core/components/power-k/config/navigation/root.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import type { TPowerKCommandConfig } from "@/components/power-k/core/types"; // local imports diff --git a/apps/web/core/components/power-k/config/preferences-commands.ts b/apps/web/core/components/power-k/config/preferences-commands.ts index 6e6ad8e864..b1a9e97188 100644 --- a/apps/web/core/components/power-k/config/preferences-commands.ts +++ b/apps/web/core/components/power-k/config/preferences-commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { useTheme } from "next-themes"; import { Calendar, Earth, Languages, Palette } from "lucide-react"; diff --git a/apps/web/core/components/power-k/core/context-detector.ts b/apps/web/core/components/power-k/core/context-detector.ts index 929b62c635..eb3093b6d1 100644 --- a/apps/web/core/components/power-k/core/context-detector.ts +++ b/apps/web/core/components/power-k/core/context-detector.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Params } from "react-router"; // plane web imports import { detectExtendedContextFromURL } from "@/plane-web/components/command-palette/power-k/context-detector"; diff --git a/apps/web/core/components/power-k/core/registry.ts b/apps/web/core/components/power-k/core/registry.ts index 83c0ecba6e..08ed75a9f2 100644 --- a/apps/web/core/components/power-k/core/registry.ts +++ b/apps/web/core/components/power-k/core/registry.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, observable, makeObservable } from "mobx"; import { computedFn } from "mobx-utils"; import type { TPowerKCommandConfig, TPowerKContext, TPowerKCommandGroup } from "./types"; diff --git a/apps/web/core/components/power-k/core/shortcut-handler.ts b/apps/web/core/components/power-k/core/shortcut-handler.ts index ed95421a2f..85bcb27a10 100644 --- a/apps/web/core/components/power-k/core/shortcut-handler.ts +++ b/apps/web/core/components/power-k/core/shortcut-handler.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IPowerKCommandRegistry } from "./registry"; import type { TPowerKCommandConfig, TPowerKContext } from "./types"; diff --git a/apps/web/core/components/power-k/core/types.ts b/apps/web/core/components/power-k/core/types.ts index 0ced81e28f..c10b29709a 100644 --- a/apps/web/core/components/power-k/core/types.ts +++ b/apps/web/core/components/power-k/core/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { useRouter } from "next/navigation"; // plane web imports import type { diff --git a/apps/web/core/components/power-k/global-shortcuts.tsx b/apps/web/core/components/power-k/global-shortcuts.tsx index 606d6d7057..fe4fe8e2ea 100644 --- a/apps/web/core/components/power-k/global-shortcuts.tsx +++ b/apps/web/core/components/power-k/global-shortcuts.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/power-k/hooks/use-context-indicator.ts b/apps/web/core/components/power-k/hooks/use-context-indicator.ts index 52699135a5..047d2fb4a0 100644 --- a/apps/web/core/components/power-k/hooks/use-context-indicator.ts +++ b/apps/web/core/components/power-k/hooks/use-context-indicator.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useParams } from "next/navigation"; // plane imports import { getPageName } from "@plane/utils"; diff --git a/apps/web/core/components/power-k/menus/builder.tsx b/apps/web/core/components/power-k/menus/builder.tsx index e7b0b82589..5a6565cc3f 100644 --- a/apps/web/core/components/power-k/menus/builder.tsx +++ b/apps/web/core/components/power-k/menus/builder.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Command } from "cmdk"; // local imports diff --git a/apps/web/core/components/power-k/menus/cycles.tsx b/apps/web/core/components/power-k/menus/cycles.tsx index b6af888e46..4714b26f26 100644 --- a/apps/web/core/components/power-k/menus/cycles.tsx +++ b/apps/web/core/components/power-k/menus/cycles.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/menus/empty-state.tsx b/apps/web/core/components/power-k/menus/empty-state.tsx index 9958d68fcd..89496a327a 100644 --- a/apps/web/core/components/power-k/menus/empty-state.tsx +++ b/apps/web/core/components/power-k/menus/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; type Props = { diff --git a/apps/web/core/components/power-k/menus/labels.tsx b/apps/web/core/components/power-k/menus/labels.tsx index 61e87d7d44..1fc6dc6da6 100644 --- a/apps/web/core/components/power-k/menus/labels.tsx +++ b/apps/web/core/components/power-k/menus/labels.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/menus/members.tsx b/apps/web/core/components/power-k/menus/members.tsx index ab0e549046..4c9174da50 100644 --- a/apps/web/core/components/power-k/menus/members.tsx +++ b/apps/web/core/components/power-k/menus/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Command } from "cmdk"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/menus/modules.tsx b/apps/web/core/components/power-k/menus/modules.tsx index 8684cfdd0f..dd8c4e0206 100644 --- a/apps/web/core/components/power-k/menus/modules.tsx +++ b/apps/web/core/components/power-k/menus/modules.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/menus/projects.tsx b/apps/web/core/components/power-k/menus/projects.tsx index c65f902e5c..559b586598 100644 --- a/apps/web/core/components/power-k/menus/projects.tsx +++ b/apps/web/core/components/power-k/menus/projects.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // components import { Logo } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/power-k/menus/settings.tsx b/apps/web/core/components/power-k/menus/settings.tsx index ed594f3b13..da08b08dac 100644 --- a/apps/web/core/components/power-k/menus/settings.tsx +++ b/apps/web/core/components/power-k/menus/settings.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // local imports diff --git a/apps/web/core/components/power-k/menus/views.tsx b/apps/web/core/components/power-k/menus/views.tsx index fdd8ec8d9d..4404d85138 100644 --- a/apps/web/core/components/power-k/menus/views.tsx +++ b/apps/web/core/components/power-k/menus/views.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { Layers } from "lucide-react"; diff --git a/apps/web/core/components/power-k/menus/workspaces.tsx b/apps/web/core/components/power-k/menus/workspaces.tsx index a8c494628b..e5b5cda6a9 100644 --- a/apps/web/core/components/power-k/menus/workspaces.tsx +++ b/apps/web/core/components/power-k/menus/workspaces.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // plane imports import type { IWorkspace } from "@plane/types"; diff --git a/apps/web/core/components/power-k/projects-app-provider.tsx b/apps/web/core/components/power-k/projects-app-provider.tsx index 8b0caffa7d..624bb708fc 100644 --- a/apps/web/core/components/power-k/projects-app-provider.tsx +++ b/apps/web/core/components/power-k/projects-app-provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/power-k/ui/modal/command-item-shortcut-badge.tsx b/apps/web/core/components/power-k/ui/modal/command-item-shortcut-badge.tsx index fb00412539..32d700aa18 100644 --- a/apps/web/core/components/power-k/ui/modal/command-item-shortcut-badge.tsx +++ b/apps/web/core/components/power-k/ui/modal/command-item-shortcut-badge.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; /** diff --git a/apps/web/core/components/power-k/ui/modal/command-item.tsx b/apps/web/core/components/power-k/ui/modal/command-item.tsx index 669b53abcf..60be8f5e1f 100644 --- a/apps/web/core/components/power-k/ui/modal/command-item.tsx +++ b/apps/web/core/components/power-k/ui/modal/command-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Command } from "cmdk"; diff --git a/apps/web/core/components/power-k/ui/modal/commands-list.tsx b/apps/web/core/components/power-k/ui/modal/commands-list.tsx index 2c805eba6d..69e7ce1d0a 100644 --- a/apps/web/core/components/power-k/ui/modal/commands-list.tsx +++ b/apps/web/core/components/power-k/ui/modal/commands-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TPowerKCommandConfig, TPowerKContext, TPowerKPageType } from "../../core/types"; import { PowerKModalPagesList } from "../pages"; import { PowerKContextBasedPagesList } from "../pages/context-based"; diff --git a/apps/web/core/components/power-k/ui/modal/constants.ts b/apps/web/core/components/power-k/ui/modal/constants.ts index 361151ae64..5cdf5495aa 100644 --- a/apps/web/core/components/power-k/ui/modal/constants.ts +++ b/apps/web/core/components/power-k/ui/modal/constants.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web imports import { POWER_K_MODAL_PAGE_DETAILS_EXTENDED } from "@/plane-web/components/command-palette/power-k/constants"; // local imports diff --git a/apps/web/core/components/power-k/ui/modal/context-indicator.tsx b/apps/web/core/components/power-k/ui/modal/context-indicator.tsx index 0cf65341a8..cd21bdd9c8 100644 --- a/apps/web/core/components/power-k/ui/modal/context-indicator.tsx +++ b/apps/web/core/components/power-k/ui/modal/context-indicator.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { X } from "lucide-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/power-k/ui/modal/footer.tsx b/apps/web/core/components/power-k/ui/modal/footer.tsx index 3814f023d3..1ed7051ece 100644 --- a/apps/web/core/components/power-k/ui/modal/footer.tsx +++ b/apps/web/core/components/power-k/ui/modal/footer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/ui/modal/header.tsx b/apps/web/core/components/power-k/ui/modal/header.tsx index 5fb45526ae..adcf80b5fc 100644 --- a/apps/web/core/components/power-k/ui/modal/header.tsx +++ b/apps/web/core/components/power-k/ui/modal/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Command } from "cmdk"; import { X } from "lucide-react"; diff --git a/apps/web/core/components/power-k/ui/modal/search-menu.tsx b/apps/web/core/components/power-k/ui/modal/search-menu.tsx index 8c1daffdf6..9092d27729 100644 --- a/apps/web/core/components/power-k/ui/modal/search-menu.tsx +++ b/apps/web/core/components/power-k/ui/modal/search-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/power-k/ui/modal/search-results-map.tsx b/apps/web/core/components/power-k/ui/modal/search-results-map.tsx index 8233e2f503..574a40d813 100644 --- a/apps/web/core/components/power-k/ui/modal/search-results-map.tsx +++ b/apps/web/core/components/power-k/ui/modal/search-results-map.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Briefcase, FileText, Layers, LayoutGrid } from "lucide-react"; // plane imports import { ContrastIcon, DiceIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/power-k/ui/modal/search-results.tsx b/apps/web/core/components/power-k/ui/modal/search-results.tsx index efe942ed46..12c49304f9 100644 --- a/apps/web/core/components/power-k/ui/modal/search-results.tsx +++ b/apps/web/core/components/power-k/ui/modal/search-results.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Command } from "cmdk"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx b/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx index 202c772f5e..cd0cbd3f5d 100644 --- a/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx +++ b/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; // plane imports diff --git a/apps/web/core/components/power-k/ui/modal/wrapper.tsx b/apps/web/core/components/power-k/ui/modal/wrapper.tsx index 8a0b5723f9..310d56b982 100644 --- a/apps/web/core/components/power-k/ui/modal/wrapper.tsx +++ b/apps/web/core/components/power-k/ui/modal/wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useEffect, useCallback } from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/cycle/commands.ts b/apps/web/core/components/power-k/ui/pages/context-based/cycle/commands.ts index 4b277f03e9..26dce16558 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/cycle/commands.ts +++ b/apps/web/core/components/power-k/ui/pages/context-based/cycle/commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { useParams } from "next/navigation"; import { Star, StarOff } from "lucide-react"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/index.ts b/apps/web/core/components/power-k/ui/pages/context-based/index.ts index 01709be4dd..e0dd4dfa40 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/index.ts +++ b/apps/web/core/components/power-k/ui/pages/context-based/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; // components diff --git a/apps/web/core/components/power-k/ui/pages/context-based/module/commands.tsx b/apps/web/core/components/power-k/ui/pages/context-based/module/commands.tsx index ad280b3a35..d624f6f586 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/module/commands.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/module/commands.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { useParams } from "next/navigation"; import { Star, StarOff, Users } from "lucide-react"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/module/index.ts b/apps/web/core/components/power-k/ui/pages/context-based/module/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/module/index.ts +++ b/apps/web/core/components/power-k/ui/pages/context-based/module/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/module/root.tsx b/apps/web/core/components/power-k/ui/pages/context-based/module/root.tsx index 8aefda0ca2..86b7e7754f 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/module/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/module/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // components diff --git a/apps/web/core/components/power-k/ui/pages/context-based/module/status-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/module/status-menu.tsx index 0635217518..30a85ebfe4 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/module/status-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/module/status-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Command } from "cmdk"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/ui/pages/context-based/page/commands.ts b/apps/web/core/components/power-k/ui/pages/context-based/page/commands.ts index f22dc49b16..162ab5406a 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/page/commands.ts +++ b/apps/web/core/components/power-k/ui/pages/context-based/page/commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { useParams } from "next/navigation"; import { ArchiveIcon, ArchiveRestoreIcon, LockKeyhole, LockKeyholeOpen, Star, StarOff } from "lucide-react"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/root.tsx b/apps/web/core/components/power-k/ui/pages/context-based/root.tsx index 0e264de1e6..a87344c98f 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import type { TPowerKCommandConfig, TPowerKContextType, TPowerKPageType } from "@/components/power-k/core/types"; // plane web imports diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/commands.ts b/apps/web/core/components/power-k/ui/pages/context-based/work-item/commands.ts index 5baf85f281..888260c9a2 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/commands.ts +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { useParams } from "next/navigation"; import { diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/cycles-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/cycles-menu.tsx index 1fbc7befe7..a43374b1fc 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/cycles-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/cycles-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import type { ICycle, TIssue } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx index 30b7f4ac4f..fa9cd018da 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Command } from "cmdk"; import { observer } from "mobx-react"; import { Triangle } from "lucide-react"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/index.ts b/apps/web/core/components/power-k/ui/pages/context-based/work-item/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/index.ts +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/labels-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/labels-menu.tsx index 03d974506f..42a5f61f5b 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/labels-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/labels-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import type { IIssueLabel, TIssue } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/modules-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/modules-menu.tsx index bda75dc734..d780f8c5a3 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/modules-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/modules-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import type { IModule, TIssue } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/priorities-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/priorities-menu.tsx index 881604447a..1ea30ebd19 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/priorities-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/priorities-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Command } from "cmdk"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/root.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/root.tsx index efe2f978d2..70dc4392cf 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/states-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/states-menu.tsx index 6afc459f03..96f1538307 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/states-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/states-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Command } from "cmdk"; import { observer } from "mobx-react"; // plane types diff --git a/apps/web/core/components/power-k/ui/pages/default.tsx b/apps/web/core/components/power-k/ui/pages/default.tsx index 72e905c052..6d3f6ddf7f 100644 --- a/apps/web/core/components/power-k/ui/pages/default.tsx +++ b/apps/web/core/components/power-k/ui/pages/default.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // hooks import { usePowerK } from "@/hooks/store/use-power-k"; diff --git a/apps/web/core/components/power-k/ui/pages/index.ts b/apps/web/core/components/power-k/ui/pages/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/power-k/ui/pages/index.ts +++ b/apps/web/core/components/power-k/ui/pages/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/project-cycles-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/project-cycles-menu.tsx index 448aa8fbe7..0b2b7fdb76 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/project-cycles-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/project-cycles-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import type { ICycle } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/project-modules-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/project-modules-menu.tsx index a175014605..b359501d56 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/project-modules-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/project-modules-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import type { IModule } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/project-settings-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/project-settings-menu.tsx index 25920d8d42..5a1be462b4 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/project-settings-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/project-settings-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EUserPermissionsLevel, PROJECT_SETTINGS } from "@plane/constants"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/project-views-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/project-views-menu.tsx index 6d59efa94a..16a04530f8 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/project-views-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/project-views-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import type { IProjectView } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/projects-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/projects-menu.tsx index 2c3913ffe6..a1d48b5d9a 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/projects-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/projects-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import type { IPartialProject } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/root.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/root.tsx index 23967d7c88..c6de0cc538 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import { PowerKOpenProjectCyclesMenu } from "./project-cycles-menu"; import { PowerKOpenProjectModulesMenu } from "./project-modules-menu"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/shared.ts b/apps/web/core/components/power-k/ui/pages/open-entity/shared.ts index 93fb406148..c399a6cc37 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/shared.ts +++ b/apps/web/core/components/power-k/ui/pages/open-entity/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import type { TPowerKContext, TPowerKPageType } from "@/components/power-k/core/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/workspace-settings-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/workspace-settings-menu.tsx index c4e9997ec5..6520ed2f80 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/workspace-settings-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/workspace-settings-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import { EUserPermissionsLevel, WORKSPACE_SETTINGS } from "@plane/constants"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/workspaces-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/workspaces-menu.tsx index 755a783765..70df60e4b0 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/workspaces-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/workspaces-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane types import type { IWorkspace } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/preferences/index.ts b/apps/web/core/components/power-k/ui/pages/preferences/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/index.ts +++ b/apps/web/core/components/power-k/ui/pages/preferences/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/power-k/ui/pages/preferences/languages-menu.tsx b/apps/web/core/components/power-k/ui/pages/preferences/languages-menu.tsx index 63039ae899..1a2632077b 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/languages-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/languages-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/power-k/ui/pages/preferences/root.tsx b/apps/web/core/components/power-k/ui/pages/preferences/root.tsx index a40ca22a5f..32d21df4b6 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // components diff --git a/apps/web/core/components/power-k/ui/pages/preferences/start-of-week-menu.tsx b/apps/web/core/components/power-k/ui/pages/preferences/start-of-week-menu.tsx index d16dcb75e6..2d9c8b699b 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/start-of-week-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/start-of-week-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Command } from "cmdk"; // plane imports diff --git a/apps/web/core/components/power-k/ui/pages/preferences/themes-menu.tsx b/apps/web/core/components/power-k/ui/pages/preferences/themes-menu.tsx index ca64085b7a..6018fe2563 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/themes-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/themes-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/power-k/ui/pages/preferences/timezone-menu.tsx b/apps/web/core/components/power-k/ui/pages/preferences/timezone-menu.tsx index 088ca359aa..3d309bd4dc 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/timezone-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/timezone-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/power-k/ui/pages/root.tsx b/apps/web/core/components/power-k/ui/pages/root.tsx index 8286b32d2a..21524bea4d 100644 --- a/apps/web/core/components/power-k/ui/pages/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // local imports diff --git a/apps/web/core/components/power-k/ui/pages/work-item-selection-page.tsx b/apps/web/core/components/power-k/ui/pages/work-item-selection-page.tsx index d27a6ccbac..9dc9b4dabe 100644 --- a/apps/web/core/components/power-k/ui/pages/work-item-selection-page.tsx +++ b/apps/web/core/components/power-k/ui/pages/work-item-selection-page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useEffect } from "react"; // plane imports // import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/power-k/ui/renderer/command.tsx b/apps/web/core/components/power-k/ui/renderer/command.tsx index 4422a31617..408a454700 100644 --- a/apps/web/core/components/power-k/ui/renderer/command.tsx +++ b/apps/web/core/components/power-k/ui/renderer/command.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Command } from "cmdk"; // plane imports diff --git a/apps/web/core/components/power-k/ui/renderer/shared.ts b/apps/web/core/components/power-k/ui/renderer/shared.ts index 782752c433..bf65ab84d0 100644 --- a/apps/web/core/components/power-k/ui/renderer/shared.ts +++ b/apps/web/core/components/power-k/ui/renderer/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TPowerKCommandGroup } from "../../core/types"; export const POWER_K_GROUP_PRIORITY: Record = { diff --git a/apps/web/core/components/power-k/ui/renderer/shortcut.tsx b/apps/web/core/components/power-k/ui/renderer/shortcut.tsx index 07fda48edc..3cd9b0cd49 100644 --- a/apps/web/core/components/power-k/ui/renderer/shortcut.tsx +++ b/apps/web/core/components/power-k/ui/renderer/shortcut.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { useTranslation } from "@plane/i18n"; import { substringMatch } from "@plane/utils"; diff --git a/apps/web/core/components/power-k/utils/navigation.ts b/apps/web/core/components/power-k/utils/navigation.ts index 2c88823e34..f5b3323911 100644 --- a/apps/web/core/components/power-k/utils/navigation.ts +++ b/apps/web/core/components/power-k/utils/navigation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { joinUrlPath } from "@plane/utils"; // local imports diff --git a/apps/web/core/components/profile/activity/activity-list.tsx b/apps/web/core/components/profile/activity/activity-list.tsx index e2a292640c..54941086e2 100644 --- a/apps/web/core/components/profile/activity/activity-list.tsx +++ b/apps/web/core/components/profile/activity/activity-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/profile/activity/download-button.tsx b/apps/web/core/components/profile/activity/download-button.tsx index 9eb5ccd83e..d162dbd245 100644 --- a/apps/web/core/components/profile/activity/download-button.tsx +++ b/apps/web/core/components/profile/activity/download-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { useParams } from "next/navigation"; // services diff --git a/apps/web/core/components/profile/activity/profile-activity-list.tsx b/apps/web/core/components/profile/activity/profile-activity-list.tsx index 872118d1cd..3702796b9d 100644 --- a/apps/web/core/components/profile/activity/profile-activity-list.tsx +++ b/apps/web/core/components/profile/activity/profile-activity-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/profile/activity/workspace-activity-list.tsx b/apps/web/core/components/profile/activity/workspace-activity-list.tsx index 1f9e140d37..c1e0a32d9c 100644 --- a/apps/web/core/components/profile/activity/workspace-activity-list.tsx +++ b/apps/web/core/components/profile/activity/workspace-activity-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/core/components/profile/overview/activity.tsx b/apps/web/core/components/profile/overview/activity.tsx index a532e3c50f..d1a0627983 100644 --- a/apps/web/core/components/profile/overview/activity.tsx +++ b/apps/web/core/components/profile/overview/activity.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/core/components/profile/overview/priority-distribution.tsx b/apps/web/core/components/profile/overview/priority-distribution.tsx index cefcfed9df..5de6d3e872 100644 --- a/apps/web/core/components/profile/overview/priority-distribution.tsx +++ b/apps/web/core/components/profile/overview/priority-distribution.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { useTranslation } from "@plane/i18n"; import { BarChart } from "@plane/propel/charts/bar-chart"; diff --git a/apps/web/core/components/profile/overview/state-distribution.tsx b/apps/web/core/components/profile/overview/state-distribution.tsx index e7403142a2..b1de4995a3 100644 --- a/apps/web/core/components/profile/overview/state-distribution.tsx +++ b/apps/web/core/components/profile/overview/state-distribution.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { STATE_GROUPS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/profile/overview/stats.tsx b/apps/web/core/components/profile/overview/stats.tsx index f4950b8eea..9431cc8115 100644 --- a/apps/web/core/components/profile/overview/stats.tsx +++ b/apps/web/core/components/profile/overview/stats.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/profile/overview/workload.tsx b/apps/web/core/components/profile/overview/workload.tsx index 9a40cbefaa..0cadee4c0f 100644 --- a/apps/web/core/components/profile/overview/workload.tsx +++ b/apps/web/core/components/profile/overview/workload.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { STATE_GROUPS } from "@plane/constants"; // types diff --git a/apps/web/core/components/profile/profile-issues-filter.tsx b/apps/web/core/components/profile/profile-issues-filter.tsx index 865bc63465..73a40667e9 100644 --- a/apps/web/core/components/profile/profile-issues-filter.tsx +++ b/apps/web/core/components/profile/profile-issues-filter.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/profile/profile-issues.tsx b/apps/web/core/components/profile/profile-issues.tsx index 6022418674..d4cefe9007 100644 --- a/apps/web/core/components/profile/profile-issues.tsx +++ b/apps/web/core/components/profile/profile-issues.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/profile/profile-setting-content-wrapper.tsx b/apps/web/core/components/profile/profile-setting-content-wrapper.tsx index 6672dd574d..b2d743396e 100644 --- a/apps/web/core/components/profile/profile-setting-content-wrapper.tsx +++ b/apps/web/core/components/profile/profile-setting-content-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cn } from "@plane/utils"; import { SidebarHamburgerToggle } from "@/components/core/sidebar/sidebar-menu-hamburger-toggle"; diff --git a/apps/web/core/components/profile/sidebar.tsx b/apps/web/core/components/profile/sidebar.tsx index 4d7633051e..4b37234b58 100644 --- a/apps/web/core/components/profile/sidebar.tsx +++ b/apps/web/core/components/profile/sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/profile/start-of-week-preference.tsx b/apps/web/core/components/profile/start-of-week-preference.tsx index 535305f96a..93893b4ce8 100644 --- a/apps/web/core/components/profile/start-of-week-preference.tsx +++ b/apps/web/core/components/profile/start-of-week-preference.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { START_OF_THE_WEEK_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/profile/time.tsx b/apps/web/core/components/profile/time.tsx index 1fc47cc62f..5265e2b2e3 100644 --- a/apps/web/core/components/profile/time.tsx +++ b/apps/web/core/components/profile/time.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // hooks import { useCurrentTime } from "@/hooks/use-current-time"; diff --git a/apps/web/core/components/project-states/create-update/create.tsx b/apps/web/core/components/project-states/create-update/create.tsx index a47eaed264..0505fcb587 100644 --- a/apps/web/core/components/project-states/create-update/create.tsx +++ b/apps/web/core/components/project-states/create-update/create.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { STATE_GROUPS } from "@plane/constants"; diff --git a/apps/web/core/components/project-states/create-update/form.tsx b/apps/web/core/components/project-states/create-update/form.tsx index 0b41377dc3..cd41e28dda 100644 --- a/apps/web/core/components/project-states/create-update/form.tsx +++ b/apps/web/core/components/project-states/create-update/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { TwitterPicker } from "react-color"; import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/project-states/create-update/index.ts b/apps/web/core/components/project-states/create-update/index.ts index a295e4a83e..8afd9ccebb 100644 --- a/apps/web/core/components/project-states/create-update/index.ts +++ b/apps/web/core/components/project-states/create-update/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./create"; export * from "./update"; export * from "./form"; diff --git a/apps/web/core/components/project-states/create-update/update.tsx b/apps/web/core/components/project-states/create-update/update.tsx index beeec8ef25..9b91a1b2fb 100644 --- a/apps/web/core/components/project-states/create-update/update.tsx +++ b/apps/web/core/components/project-states/create-update/update.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/project-states/group-item.tsx b/apps/web/core/components/project-states/group-item.tsx index 485e35037c..92ec33d653 100644 --- a/apps/web/core/components/project-states/group-item.tsx +++ b/apps/web/core/components/project-states/group-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project-states/group-list.tsx b/apps/web/core/components/project-states/group-list.tsx index 6490340ab0..eec413d79b 100644 --- a/apps/web/core/components/project-states/group-list.tsx +++ b/apps/web/core/components/project-states/group-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/project-states/index.ts b/apps/web/core/components/project-states/index.ts index 22e130d6ef..58dbbc48b6 100644 --- a/apps/web/core/components/project-states/index.ts +++ b/apps/web/core/components/project-states/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./group-list"; diff --git a/apps/web/core/components/project-states/loader.tsx b/apps/web/core/components/project-states/loader.tsx index 2cb7b3f82f..876110c8e3 100644 --- a/apps/web/core/components/project-states/loader.tsx +++ b/apps/web/core/components/project-states/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Loader } from "@plane/ui"; export function ProjectStateLoader() { diff --git a/apps/web/core/components/project-states/options/delete.tsx b/apps/web/core/components/project-states/options/delete.tsx index 7048bf4b1e..235b4433d5 100644 --- a/apps/web/core/components/project-states/options/delete.tsx +++ b/apps/web/core/components/project-states/options/delete.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { Loader } from "lucide-react"; diff --git a/apps/web/core/components/project-states/options/index.ts b/apps/web/core/components/project-states/options/index.ts index 6aad9566cb..77e6d70f01 100644 --- a/apps/web/core/components/project-states/options/index.ts +++ b/apps/web/core/components/project-states/options/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./mark-as-default"; export * from "./delete"; diff --git a/apps/web/core/components/project-states/options/mark-as-default.tsx b/apps/web/core/components/project-states/options/mark-as-default.tsx index 38e857a82c..de3e0b143d 100644 --- a/apps/web/core/components/project-states/options/mark-as-default.tsx +++ b/apps/web/core/components/project-states/options/mark-as-default.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/project-states/root.tsx b/apps/web/core/components/project-states/root.tsx index 1143b268b4..8aac7f4d8b 100644 --- a/apps/web/core/components/project-states/root.tsx +++ b/apps/web/core/components/project-states/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project-states/state-delete-modal.tsx b/apps/web/core/components/project-states/state-delete-modal.tsx index 831950365a..c1b04d4553 100644 --- a/apps/web/core/components/project-states/state-delete-modal.tsx +++ b/apps/web/core/components/project-states/state-delete-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project-states/state-item-title.tsx b/apps/web/core/components/project-states/state-item-title.tsx index db6eb7ca0e..920efa8341 100644 --- a/apps/web/core/components/project-states/state-item-title.tsx +++ b/apps/web/core/components/project-states/state-item-title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { SetStateAction } from "react"; import { observer } from "mobx-react"; import { GripVertical } from "lucide-react"; diff --git a/apps/web/core/components/project-states/state-item.tsx b/apps/web/core/components/project-states/state-item.tsx index 84407cbb90..49c8752454 100644 --- a/apps/web/core/components/project-states/state-item.tsx +++ b/apps/web/core/components/project-states/state-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment, useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/project-states/state-list.tsx b/apps/web/core/components/project-states/state-list.tsx index e379eaf646..0035b5d296 100644 --- a/apps/web/core/components/project-states/state-list.tsx +++ b/apps/web/core/components/project-states/state-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { IState, TStateGroups, TStateOperationsCallbacks } from "@plane/types"; // components diff --git a/apps/web/core/components/project/applied-filters/access.tsx b/apps/web/core/components/project/applied-filters/access.tsx index 1c7e1b4a1b..4919d5a46b 100644 --- a/apps/web/core/components/project/applied-filters/access.tsx +++ b/apps/web/core/components/project/applied-filters/access.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // constants import { NETWORK_CHOICES } from "@plane/constants"; diff --git a/apps/web/core/components/project/applied-filters/date.tsx b/apps/web/core/components/project/applied-filters/date.tsx index 443201acac..ec7610548f 100644 --- a/apps/web/core/components/project/applied-filters/date.tsx +++ b/apps/web/core/components/project/applied-filters/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { PROJECT_CREATED_AT_FILTER_OPTIONS } from "@plane/constants"; import { CloseIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/project/applied-filters/index.ts b/apps/web/core/components/project/applied-filters/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/project/applied-filters/index.ts +++ b/apps/web/core/components/project/applied-filters/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/project/applied-filters/members.tsx b/apps/web/core/components/project/applied-filters/members.tsx index fc6242bc24..6e7a8b92c0 100644 --- a/apps/web/core/components/project/applied-filters/members.tsx +++ b/apps/web/core/components/project/applied-filters/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CloseIcon } from "@plane/propel/icons"; // ui diff --git a/apps/web/core/components/project/applied-filters/project-display-filters.tsx b/apps/web/core/components/project/applied-filters/project-display-filters.tsx index 93106a9156..177830cdec 100644 --- a/apps/web/core/components/project/applied-filters/project-display-filters.tsx +++ b/apps/web/core/components/project/applied-filters/project-display-filters.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons // types diff --git a/apps/web/core/components/project/applied-filters/root.tsx b/apps/web/core/components/project/applied-filters/root.tsx index 70f5a94c26..979a524da2 100644 --- a/apps/web/core/components/project/applied-filters/root.tsx +++ b/apps/web/core/components/project/applied-filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { CloseIcon } from "@plane/propel/icons"; // plane imports diff --git a/apps/web/core/components/project/archive-restore-modal.tsx b/apps/web/core/components/project/archive-restore-modal.tsx index 8a7699fe8d..0f17ce90f7 100644 --- a/apps/web/core/components/project/archive-restore-modal.tsx +++ b/apps/web/core/components/project/archive-restore-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/project/card-list.tsx b/apps/web/core/components/project/card-list.tsx index 01e7842379..961045d648 100644 --- a/apps/web/core/components/project/card-list.tsx +++ b/apps/web/core/components/project/card-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { EUserPermissionsLevel, EUserPermissions } from "@plane/constants"; diff --git a/apps/web/core/components/project/card.tsx b/apps/web/core/components/project/card.tsx index 9c7dcd7b56..cf15562420 100644 --- a/apps/web/core/components/project/card.tsx +++ b/apps/web/core/components/project/card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/project/confirm-project-member-remove.tsx b/apps/web/core/components/project/confirm-project-member-remove.tsx index d8f2b56488..6f606e52bd 100644 --- a/apps/web/core/components/project/confirm-project-member-remove.tsx +++ b/apps/web/core/components/project/confirm-project-member-remove.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project/create-project-modal.tsx b/apps/web/core/components/project/create-project-modal.tsx index ca6d0a2a66..c1c9a31e7d 100644 --- a/apps/web/core/components/project/create-project-modal.tsx +++ b/apps/web/core/components/project/create-project-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui"; import { getAssetIdFromUrl, checkURLValidity } from "@plane/utils"; diff --git a/apps/web/core/components/project/create/common-attributes.tsx b/apps/web/core/components/project/create/common-attributes.tsx index c0f4320253..56907c3c2c 100644 --- a/apps/web/core/components/project/create/common-attributes.tsx +++ b/apps/web/core/components/project/create/common-attributes.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ChangeEvent } from "react"; import type { UseFormSetValue } from "react-hook-form"; import { Controller, useFormContext } from "react-hook-form"; diff --git a/apps/web/core/components/project/create/header.tsx b/apps/web/core/components/project/create/header.tsx index 3e6c1384cc..149bc675f1 100644 --- a/apps/web/core/components/project/create/header.tsx +++ b/apps/web/core/components/project/create/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { Controller, useFormContext } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/project/create/project-create-buttons.tsx b/apps/web/core/components/project/create/project-create-buttons.tsx index db77a8fadf..f268c6734f 100644 --- a/apps/web/core/components/project/create/project-create-buttons.tsx +++ b/apps/web/core/components/project/create/project-create-buttons.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useFormContext } from "react-hook-form"; // plane imports import { ETabIndices } from "@plane/constants"; diff --git a/apps/web/core/components/project/delete-project-modal.tsx b/apps/web/core/components/project/delete-project-modal.tsx index 3a0276fee9..dd9ac01a90 100644 --- a/apps/web/core/components/project/delete-project-modal.tsx +++ b/apps/web/core/components/project/delete-project-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useParams } from "next/navigation"; import { Controller, useForm } from "react-hook-form"; import { AlertTriangle } from "lucide-react"; diff --git a/apps/web/core/components/project/dropdowns/filters/access.tsx b/apps/web/core/components/project/dropdowns/filters/access.tsx index 6b3d0032e8..5b850f29c0 100644 --- a/apps/web/core/components/project/dropdowns/filters/access.tsx +++ b/apps/web/core/components/project/dropdowns/filters/access.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/project/dropdowns/filters/created-at.tsx b/apps/web/core/components/project/dropdowns/filters/created-at.tsx index 0c1034a3ce..ac0a6f2adc 100644 --- a/apps/web/core/components/project/dropdowns/filters/created-at.tsx +++ b/apps/web/core/components/project/dropdowns/filters/created-at.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; // plane constants diff --git a/apps/web/core/components/project/dropdowns/filters/index.ts b/apps/web/core/components/project/dropdowns/filters/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/project/dropdowns/filters/index.ts +++ b/apps/web/core/components/project/dropdowns/filters/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/project/dropdowns/filters/lead.tsx b/apps/web/core/components/project/dropdowns/filters/lead.tsx index 5a1fef606e..fa4ee6124f 100644 --- a/apps/web/core/components/project/dropdowns/filters/lead.tsx +++ b/apps/web/core/components/project/dropdowns/filters/lead.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project/dropdowns/filters/member-list.tsx b/apps/web/core/components/project/dropdowns/filters/member-list.tsx index 35c2bac2ca..bb8acd15ec 100644 --- a/apps/web/core/components/project/dropdowns/filters/member-list.tsx +++ b/apps/web/core/components/project/dropdowns/filters/member-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/project/dropdowns/filters/members.tsx b/apps/web/core/components/project/dropdowns/filters/members.tsx index 72f0d9bff4..1af34e16ce 100644 --- a/apps/web/core/components/project/dropdowns/filters/members.tsx +++ b/apps/web/core/components/project/dropdowns/filters/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project/dropdowns/filters/root.tsx b/apps/web/core/components/project/dropdowns/filters/root.tsx index c4d56f6b1d..e24bf45615 100644 --- a/apps/web/core/components/project/dropdowns/filters/root.tsx +++ b/apps/web/core/components/project/dropdowns/filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { SearchIcon, CloseIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/project/dropdowns/order-by.tsx b/apps/web/core/components/project/dropdowns/order-by.tsx index b780f80a52..02d9c2c90c 100644 --- a/apps/web/core/components/project/dropdowns/order-by.tsx +++ b/apps/web/core/components/project/dropdowns/order-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ArrowDownWideNarrow } from "lucide-react"; // plane imports import { PROJECT_ORDER_BY_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/project/empty-state.tsx b/apps/web/core/components/project/empty-state.tsx index 942fba8151..2e70a30e14 100644 --- a/apps/web/core/components/project/empty-state.tsx +++ b/apps/web/core/components/project/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/project/filters.tsx b/apps/web/core/components/project/filters.tsx index 09620729ee..5f7215bc4a 100644 --- a/apps/web/core/components/project/filters.tsx +++ b/apps/web/core/components/project/filters.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project/form-loader.tsx b/apps/web/core/components/project/form-loader.tsx index ef2c913fca..a78d4d134c 100644 --- a/apps/web/core/components/project/form-loader.tsx +++ b/apps/web/core/components/project/form-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/project/form.tsx b/apps/web/core/components/project/form.tsx index 527dab3224..60d917cadf 100644 --- a/apps/web/core/components/project/form.tsx +++ b/apps/web/core/components/project/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { Controller, useForm } from "react-hook-form"; import { Info } from "lucide-react"; diff --git a/apps/web/core/components/project/header.tsx b/apps/web/core/components/project/header.tsx index 2e53bf9661..d5b08d72e7 100644 --- a/apps/web/core/components/project/header.tsx +++ b/apps/web/core/components/project/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; // i18n diff --git a/apps/web/core/components/project/integration-card.tsx b/apps/web/core/components/project/integration-card.tsx index 468d6d2855..4378161947 100644 --- a/apps/web/core/components/project/integration-card.tsx +++ b/apps/web/core/components/project/integration-card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useParams } from "next/navigation"; import useSWR, { mutate } from "swr"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/project/join-project-modal.tsx b/apps/web/core/components/project/join-project-modal.tsx index 4e7cf2659c..86b811acf7 100644 --- a/apps/web/core/components/project/join-project-modal.tsx +++ b/apps/web/core/components/project/join-project-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; // types import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/project/leave-project-modal.tsx b/apps/web/core/components/project/leave-project-modal.tsx index 202a43f38c..5aeda69709 100644 --- a/apps/web/core/components/project/leave-project-modal.tsx +++ b/apps/web/core/components/project/leave-project-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/project/member-header-column.tsx b/apps/web/core/components/project/member-header-column.tsx index 8b105183f3..6dd57bea22 100644 --- a/apps/web/core/components/project/member-header-column.tsx +++ b/apps/web/core/components/project/member-header-column.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ui import { observer } from "mobx-react"; import { ArrowDownWideNarrow, ArrowUpNarrowWide, CheckIcon, ChevronDownIcon, Eraser, MoveRight } from "lucide-react"; diff --git a/apps/web/core/components/project/member-list-item.tsx b/apps/web/core/components/project/member-list-item.tsx index 4955f85c48..8c0b388c04 100644 --- a/apps/web/core/components/project/member-list-item.tsx +++ b/apps/web/core/components/project/member-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/project/member-list.tsx b/apps/web/core/components/project/member-list.tsx index 5dbe78d72e..f8e4691484 100644 --- a/apps/web/core/components/project/member-list.tsx +++ b/apps/web/core/components/project/member-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/project/member-select.tsx b/apps/web/core/components/project/member-select.tsx index c66940ed05..4453c90a99 100644 --- a/apps/web/core/components/project/member-select.tsx +++ b/apps/web/core/components/project/member-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project/multi-select-modal.tsx b/apps/web/core/components/project/multi-select-modal.tsx index cac7e4b3f3..fb40f63fb0 100644 --- a/apps/web/core/components/project/multi-select-modal.tsx +++ b/apps/web/core/components/project/multi-select-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useMemo, useRef, useState } from "react"; import { xor } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project/project-feature-update.tsx b/apps/web/core/components/project/project-feature-update.tsx index 9aa14282b5..761492b9ad 100644 --- a/apps/web/core/components/project/project-feature-update.tsx +++ b/apps/web/core/components/project/project-feature-update.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/project/project-network-icon.tsx b/apps/web/core/components/project/project-network-icon.tsx index c3f8945e57..d48dae932c 100644 --- a/apps/web/core/components/project/project-network-icon.tsx +++ b/apps/web/core/components/project/project-network-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TNetworkChoiceIconKey } from "@plane/constants"; // plane imports import { GlobeIcon, LockIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/project/project-settings-member-defaults.tsx b/apps/web/core/components/project/project-settings-member-defaults.tsx index a6a6087069..a0a741ea43 100644 --- a/apps/web/core/components/project/project-settings-member-defaults.tsx +++ b/apps/web/core/components/project/project-settings-member-defaults.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project/publish-project/modal.tsx b/apps/web/core/components/project/publish-project/modal.tsx index 69947c36cf..50733e0649 100644 --- a/apps/web/core/components/project/publish-project/modal.tsx +++ b/apps/web/core/components/project/publish-project/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project/root.tsx b/apps/web/core/components/project/root.tsx index a9b87f1b56..45dc41be0c 100644 --- a/apps/web/core/components/project/root.tsx +++ b/apps/web/core/components/project/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; import { useParams, usePathname } from "next/navigation"; diff --git a/apps/web/core/components/project/search-projects.tsx b/apps/web/core/components/project/search-projects.tsx index 50beeb337f..cf4277afe3 100644 --- a/apps/web/core/components/project/search-projects.tsx +++ b/apps/web/core/components/project/search-projects.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; import { observer } from "mobx-react"; // plane hooks diff --git a/apps/web/core/components/project/send-project-invitation-modal.tsx b/apps/web/core/components/project/send-project-invitation-modal.tsx index e2b8ef68e1..947dff0d38 100644 --- a/apps/web/core/components/project/send-project-invitation-modal.tsx +++ b/apps/web/core/components/project/send-project-invitation-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect } from "react"; import { observer } from "mobx-react"; import { useForm, Controller, useFieldArray } from "react-hook-form"; diff --git a/apps/web/core/components/project/settings/control-section.tsx b/apps/web/core/components/project/settings/control-section.tsx index 9f850aa202..c7764ec714 100644 --- a/apps/web/core/components/project/settings/control-section.tsx +++ b/apps/web/core/components/project/settings/control-section.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "react-router"; diff --git a/apps/web/core/components/project/settings/features-list.tsx b/apps/web/core/components/project/settings/features-list.tsx index 655cb7e39c..1d15734a55 100644 --- a/apps/web/core/components/project/settings/features-list.tsx +++ b/apps/web/core/components/project/settings/features-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/project/settings/helper.tsx b/apps/web/core/components/project/settings/helper.tsx index ec667b557d..6be3106087 100644 --- a/apps/web/core/components/project/settings/helper.tsx +++ b/apps/web/core/components/project/settings/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { PROJECT_TRACKER_ELEMENTS } from "@plane/constants"; import { ChevronRightIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/project/settings/member-columns.tsx b/apps/web/core/components/project/settings/member-columns.tsx index d304a005f9..813fa180cd 100644 --- a/apps/web/core/components/project/settings/member-columns.tsx +++ b/apps/web/core/components/project/settings/member-columns.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/readonly/cycle.tsx b/apps/web/core/components/readonly/cycle.tsx index 0b0abffb6b..c5fc9753d1 100644 --- a/apps/web/core/components/readonly/cycle.tsx +++ b/apps/web/core/components/readonly/cycle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/readonly/date.tsx b/apps/web/core/components/readonly/date.tsx index 5e2c71af44..b09650d351 100644 --- a/apps/web/core/components/readonly/date.tsx +++ b/apps/web/core/components/readonly/date.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/readonly/estimate.tsx b/apps/web/core/components/readonly/estimate.tsx index 8863e4765d..1573681191 100644 --- a/apps/web/core/components/readonly/estimate.tsx +++ b/apps/web/core/components/readonly/estimate.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/readonly/index.tsx b/apps/web/core/components/readonly/index.tsx index 66e7a06b77..dea820817b 100644 --- a/apps/web/core/components/readonly/index.tsx +++ b/apps/web/core/components/readonly/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Readonly components for displaying single values instead of interactive dropdowns // These components handle their own data fetching using internal hooks export { ReadonlyState, type TReadonlyStateProps } from "./state"; diff --git a/apps/web/core/components/readonly/labels.tsx b/apps/web/core/components/readonly/labels.tsx index c9773259cf..420bb87d08 100644 --- a/apps/web/core/components/readonly/labels.tsx +++ b/apps/web/core/components/readonly/labels.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/readonly/member.tsx b/apps/web/core/components/readonly/member.tsx index 556b764d58..14fae53be3 100644 --- a/apps/web/core/components/readonly/member.tsx +++ b/apps/web/core/components/readonly/member.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { LucideIcon } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/readonly/module.tsx b/apps/web/core/components/readonly/module.tsx index d74fd23075..30a1dc32b0 100644 --- a/apps/web/core/components/readonly/module.tsx +++ b/apps/web/core/components/readonly/module.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { Layers } from "lucide-react"; diff --git a/apps/web/core/components/readonly/priority.tsx b/apps/web/core/components/readonly/priority.tsx index e059b93676..c3343ace4e 100644 --- a/apps/web/core/components/readonly/priority.tsx +++ b/apps/web/core/components/readonly/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { ISSUE_PRIORITIES } from "@plane/constants"; diff --git a/apps/web/core/components/readonly/state.tsx b/apps/web/core/components/readonly/state.tsx index 7e7105ec9f..f041dcbfaf 100644 --- a/apps/web/core/components/readonly/state.tsx +++ b/apps/web/core/components/readonly/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/rich-filters/add-filters/button.tsx b/apps/web/core/components/rich-filters/add-filters/button.tsx index f47a0aac20..51f58c3750 100644 --- a/apps/web/core/components/rich-filters/add-filters/button.tsx +++ b/apps/web/core/components/rich-filters/add-filters/button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { ListFilter } from "lucide-react"; diff --git a/apps/web/core/components/rich-filters/add-filters/dropdown.tsx b/apps/web/core/components/rich-filters/add-filters/dropdown.tsx index 459a4e498a..505162b349 100644 --- a/apps/web/core/components/rich-filters/add-filters/dropdown.tsx +++ b/apps/web/core/components/rich-filters/add-filters/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/rich-filters/filter-item/close-button.tsx b/apps/web/core/components/rich-filters/filter-item/close-button.tsx index 737e724888..82d83cf771 100644 --- a/apps/web/core/components/rich-filters/filter-item/close-button.tsx +++ b/apps/web/core/components/rich-filters/filter-item/close-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/rich-filters/filter-item/container.tsx b/apps/web/core/components/rich-filters/filter-item/container.tsx index f9a4db55a9..d711b5a681 100644 --- a/apps/web/core/components/rich-filters/filter-item/container.tsx +++ b/apps/web/core/components/rich-filters/filter-item/container.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; // plane imports import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/rich-filters/filter-item/invalid.tsx b/apps/web/core/components/rich-filters/filter-item/invalid.tsx index f042607358..931f3d8e8e 100644 --- a/apps/web/core/components/rich-filters/filter-item/invalid.tsx +++ b/apps/web/core/components/rich-filters/filter-item/invalid.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { CircleAlert } from "lucide-react"; diff --git a/apps/web/core/components/rich-filters/filter-item/loader.tsx b/apps/web/core/components/rich-filters/filter-item/loader.tsx index de81d2b762..508d7546c3 100644 --- a/apps/web/core/components/rich-filters/filter-item/loader.tsx +++ b/apps/web/core/components/rich-filters/filter-item/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Loader } from "@plane/ui"; export function FilterItemLoader() { diff --git a/apps/web/core/components/rich-filters/filter-item/property.tsx b/apps/web/core/components/rich-filters/filter-item/property.tsx index a3e36266e7..46c9d9f7ef 100644 --- a/apps/web/core/components/rich-filters/filter-item/property.tsx +++ b/apps/web/core/components/rich-filters/filter-item/property.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/rich-filters/filter-item/root.tsx b/apps/web/core/components/rich-filters/filter-item/root.tsx index e70cca28a8..1440f46546 100644 --- a/apps/web/core/components/rich-filters/filter-item/root.tsx +++ b/apps/web/core/components/rich-filters/filter-item/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/rich-filters/filter-value-input/date/range.tsx b/apps/web/core/components/rich-filters/filter-value-input/date/range.tsx index 818f4565cf..8a96acf37e 100644 --- a/apps/web/core/components/rich-filters/filter-value-input/date/range.tsx +++ b/apps/web/core/components/rich-filters/filter-value-input/date/range.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/rich-filters/filter-value-input/date/single.tsx b/apps/web/core/components/rich-filters/filter-value-input/date/single.tsx index 6fc667740f..0eb70df03f 100644 --- a/apps/web/core/components/rich-filters/filter-value-input/date/single.tsx +++ b/apps/web/core/components/rich-filters/filter-value-input/date/single.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/rich-filters/filter-value-input/root.tsx b/apps/web/core/components/rich-filters/filter-value-input/root.tsx index a9717b09ca..b1e996ed1a 100644 --- a/apps/web/core/components/rich-filters/filter-value-input/root.tsx +++ b/apps/web/core/components/rich-filters/filter-value-input/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/rich-filters/filter-value-input/select/multi.tsx b/apps/web/core/components/rich-filters/filter-value-input/select/multi.tsx index 222faa2f4a..2c5fb409fa 100644 --- a/apps/web/core/components/rich-filters/filter-value-input/select/multi.tsx +++ b/apps/web/core/components/rich-filters/filter-value-input/select/multi.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useEffect, useMemo } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/rich-filters/filter-value-input/select/selected-options-display.tsx b/apps/web/core/components/rich-filters/filter-value-input/select/selected-options-display.tsx index 5e269570ff..54d9fcee4f 100644 --- a/apps/web/core/components/rich-filters/filter-value-input/select/selected-options-display.tsx +++ b/apps/web/core/components/rich-filters/filter-value-input/select/selected-options-display.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Transition } from "@headlessui/react"; // plane imports diff --git a/apps/web/core/components/rich-filters/filter-value-input/select/shared.tsx b/apps/web/core/components/rich-filters/filter-value-input/select/shared.tsx index 35e0cf26b1..a948b26804 100644 --- a/apps/web/core/components/rich-filters/filter-value-input/select/shared.tsx +++ b/apps/web/core/components/rich-filters/filter-value-input/select/shared.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TSupportedFilterFieldConfigs, IFilterOption, TFilterValue } from "@plane/types"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/rich-filters/filter-value-input/select/single.tsx b/apps/web/core/components/rich-filters/filter-value-input/select/single.tsx index 20c6d52967..2e525b5d6e 100644 --- a/apps/web/core/components/rich-filters/filter-value-input/select/single.tsx +++ b/apps/web/core/components/rich-filters/filter-value-input/select/single.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useEffect, useMemo } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/rich-filters/filters-row.tsx b/apps/web/core/components/rich-filters/filters-row.tsx index 30316890f6..423cb33620 100644 --- a/apps/web/core/components/rich-filters/filters-row.tsx +++ b/apps/web/core/components/rich-filters/filters-row.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { ListFilterPlus } from "lucide-react"; diff --git a/apps/web/core/components/rich-filters/filters-toggle.tsx b/apps/web/core/components/rich-filters/filters-toggle.tsx index 76f8445320..27479216fb 100644 --- a/apps/web/core/components/rich-filters/filters-toggle.tsx +++ b/apps/web/core/components/rich-filters/filters-toggle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { IconButton } from "@plane/propel/icon-button"; diff --git a/apps/web/core/components/rich-filters/shared.ts b/apps/web/core/components/rich-filters/shared.ts index 763128503e..498ac4258f 100644 --- a/apps/web/core/components/rich-filters/shared.ts +++ b/apps/web/core/components/rich-filters/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { SingleOrArray, TFilterConditionNodeForDisplay, diff --git a/apps/web/core/components/settings/boxed-control-item.tsx b/apps/web/core/components/settings/boxed-control-item.tsx index 6aac41f6ee..3126dfac9a 100644 --- a/apps/web/core/components/settings/boxed-control-item.tsx +++ b/apps/web/core/components/settings/boxed-control-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/settings/content-wrapper.tsx b/apps/web/core/components/settings/content-wrapper.tsx index 9af0f97a4c..d51f0fa9fa 100644 --- a/apps/web/core/components/settings/content-wrapper.tsx +++ b/apps/web/core/components/settings/content-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { ScrollArea } from "@plane/propel/scrollarea"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/settings/control-item.tsx b/apps/web/core/components/settings/control-item.tsx index b6074ed86d..966f4313b1 100644 --- a/apps/web/core/components/settings/control-item.tsx +++ b/apps/web/core/components/settings/control-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + type Props = { control: React.ReactNode; description: string; diff --git a/apps/web/core/components/settings/heading.tsx b/apps/web/core/components/settings/heading.tsx index 7cd44034fc..213e71bdcf 100644 --- a/apps/web/core/components/settings/heading.tsx +++ b/apps/web/core/components/settings/heading.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { cn } from "@plane/ui"; diff --git a/apps/web/core/components/settings/helper.ts b/apps/web/core/components/settings/helper.ts index 71fe03f2f1..85b1fe1328 100644 --- a/apps/web/core/components/settings/helper.ts +++ b/apps/web/core/components/settings/helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { GROUPED_WORKSPACE_SETTINGS, PROJECT_SETTINGS_FLAT_MAP } from "@plane/constants"; const hrefToLabelMap = (options: Record>) => diff --git a/apps/web/core/components/settings/layout.tsx b/apps/web/core/components/settings/layout.tsx index 43923e0dfd..4b04e2a680 100644 --- a/apps/web/core/components/settings/layout.tsx +++ b/apps/web/core/components/settings/layout.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/settings/mobile/nav.tsx b/apps/web/core/components/settings/mobile/nav.tsx index ac8e2fa2a5..2f70c55538 100644 --- a/apps/web/core/components/settings/mobile/nav.tsx +++ b/apps/web/core/components/settings/mobile/nav.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef } from "react"; import { observer } from "mobx-react"; import { Menu } from "lucide-react"; diff --git a/apps/web/core/components/settings/page-header.tsx b/apps/web/core/components/settings/page-header.tsx index 56bb7dd6ca..2b3328a78b 100644 --- a/apps/web/core/components/settings/page-header.tsx +++ b/apps/web/core/components/settings/page-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Header } from "@plane/ui"; type Props = { diff --git a/apps/web/core/components/settings/profile/content/index.ts b/apps/web/core/components/settings/profile/content/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/settings/profile/content/index.ts +++ b/apps/web/core/components/settings/profile/content/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/settings/profile/content/pages/activity/activity-list.tsx b/apps/web/core/components/settings/profile/content/pages/activity/activity-list.tsx index 43798f71ce..a5c01086ae 100644 --- a/apps/web/core/components/settings/profile/content/pages/activity/activity-list.tsx +++ b/apps/web/core/components/settings/profile/content/pages/activity/activity-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/settings/profile/content/pages/activity/index.ts b/apps/web/core/components/settings/profile/content/pages/activity/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/settings/profile/content/pages/activity/index.ts +++ b/apps/web/core/components/settings/profile/content/pages/activity/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/settings/profile/content/pages/activity/root.tsx b/apps/web/core/components/settings/profile/content/pages/activity/root.tsx index 71c3292a32..b09cf5d429 100644 --- a/apps/web/core/components/settings/profile/content/pages/activity/root.tsx +++ b/apps/web/core/components/settings/profile/content/pages/activity/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { ChevronDown } from "lucide-react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/settings/profile/content/pages/api-tokens.tsx b/apps/web/core/components/settings/profile/content/pages/api-tokens.tsx index 630b0ab5ff..3205e25b2e 100644 --- a/apps/web/core/components/settings/profile/content/pages/api-tokens.tsx +++ b/apps/web/core/components/settings/profile/content/pages/api-tokens.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/settings/profile/content/pages/general/form.tsx b/apps/web/core/components/settings/profile/content/pages/general/form.tsx index 8d47033da3..b92388e1d3 100644 --- a/apps/web/core/components/settings/profile/content/pages/general/form.tsx +++ b/apps/web/core/components/settings/profile/content/pages/general/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/settings/profile/content/pages/general/index.ts b/apps/web/core/components/settings/profile/content/pages/general/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/settings/profile/content/pages/general/index.ts +++ b/apps/web/core/components/settings/profile/content/pages/general/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/settings/profile/content/pages/general/root.tsx b/apps/web/core/components/settings/profile/content/pages/general/root.tsx index 47673520e7..2abf499860 100644 --- a/apps/web/core/components/settings/profile/content/pages/general/root.tsx +++ b/apps/web/core/components/settings/profile/content/pages/general/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; // components diff --git a/apps/web/core/components/settings/profile/content/pages/index.ts b/apps/web/core/components/settings/profile/content/pages/index.ts index 030086c2e0..c9e4179c12 100644 --- a/apps/web/core/components/settings/profile/content/pages/index.ts +++ b/apps/web/core/components/settings/profile/content/pages/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { lazy } from "react"; // plane imports import type { TProfileSettingsTabs } from "@plane/types"; diff --git a/apps/web/core/components/settings/profile/content/pages/notifications/email-notification-form.tsx b/apps/web/core/components/settings/profile/content/pages/notifications/email-notification-form.tsx index d4e46a6330..e0add312b3 100644 --- a/apps/web/core/components/settings/profile/content/pages/notifications/email-notification-form.tsx +++ b/apps/web/core/components/settings/profile/content/pages/notifications/email-notification-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/settings/profile/content/pages/notifications/index.ts b/apps/web/core/components/settings/profile/content/pages/notifications/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/settings/profile/content/pages/notifications/index.ts +++ b/apps/web/core/components/settings/profile/content/pages/notifications/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/settings/profile/content/pages/notifications/root.tsx b/apps/web/core/components/settings/profile/content/pages/notifications/root.tsx index 7aabc3cb9e..d28ef0fb7a 100644 --- a/apps/web/core/components/settings/profile/content/pages/notifications/root.tsx +++ b/apps/web/core/components/settings/profile/content/pages/notifications/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import useSWR from "swr"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/settings/profile/content/pages/preferences/default-list.tsx b/apps/web/core/components/settings/profile/content/pages/preferences/default-list.tsx index 0952adca93..9f780ab314 100644 --- a/apps/web/core/components/settings/profile/content/pages/preferences/default-list.tsx +++ b/apps/web/core/components/settings/profile/content/pages/preferences/default-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { ThemeSwitcher } from "ce/components/preferences/theme-switcher"; diff --git a/apps/web/core/components/settings/profile/content/pages/preferences/index.ts b/apps/web/core/components/settings/profile/content/pages/preferences/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/settings/profile/content/pages/preferences/index.ts +++ b/apps/web/core/components/settings/profile/content/pages/preferences/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/settings/profile/content/pages/preferences/language-and-timezone-list.tsx b/apps/web/core/components/settings/profile/content/pages/preferences/language-and-timezone-list.tsx index 1afcff638d..5ec822a95c 100644 --- a/apps/web/core/components/settings/profile/content/pages/preferences/language-and-timezone-list.tsx +++ b/apps/web/core/components/settings/profile/content/pages/preferences/language-and-timezone-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { SUPPORTED_LANGUAGES, useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/settings/profile/content/pages/preferences/root.tsx b/apps/web/core/components/settings/profile/content/pages/preferences/root.tsx index 38e53fcabe..cabf93680c 100644 --- a/apps/web/core/components/settings/profile/content/pages/preferences/root.tsx +++ b/apps/web/core/components/settings/profile/content/pages/preferences/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/settings/profile/content/pages/security.tsx b/apps/web/core/components/settings/profile/content/pages/security.tsx index fa6916b12b..281da2dbab 100644 --- a/apps/web/core/components/settings/profile/content/pages/security.tsx +++ b/apps/web/core/components/settings/profile/content/pages/security.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/settings/profile/content/root.tsx b/apps/web/core/components/settings/profile/content/root.tsx index 0b4e721c2b..24db7015c0 100644 --- a/apps/web/core/components/settings/profile/content/root.tsx +++ b/apps/web/core/components/settings/profile/content/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Suspense } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/settings/profile/heading.tsx b/apps/web/core/components/settings/profile/heading.tsx index 2a1f6433a0..9107fc09ad 100644 --- a/apps/web/core/components/settings/profile/heading.tsx +++ b/apps/web/core/components/settings/profile/heading.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { cn } from "@plane/ui"; diff --git a/apps/web/core/components/settings/profile/modal.tsx b/apps/web/core/components/settings/profile/modal.tsx index d1ffbd33d9..43abd90afb 100644 --- a/apps/web/core/components/settings/profile/modal.tsx +++ b/apps/web/core/components/settings/profile/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { X } from "lucide-react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/settings/profile/sidebar/header.tsx b/apps/web/core/components/settings/profile/sidebar/header.tsx index 1bd4f1b1c7..bdc0f189da 100644 --- a/apps/web/core/components/settings/profile/sidebar/header.tsx +++ b/apps/web/core/components/settings/profile/sidebar/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { Avatar } from "@plane/ui"; diff --git a/apps/web/core/components/settings/profile/sidebar/index.ts b/apps/web/core/components/settings/profile/sidebar/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/settings/profile/sidebar/index.ts +++ b/apps/web/core/components/settings/profile/sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/settings/profile/sidebar/item-categories.tsx b/apps/web/core/components/settings/profile/sidebar/item-categories.tsx index b204e4110d..d1ee973f3e 100644 --- a/apps/web/core/components/settings/profile/sidebar/item-categories.tsx +++ b/apps/web/core/components/settings/profile/sidebar/item-categories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import type { LucideIcon } from "lucide-react"; import { Activity, Bell, CircleUser, KeyRound, LockIcon, Settings2 } from "lucide-react"; diff --git a/apps/web/core/components/settings/profile/sidebar/root.tsx b/apps/web/core/components/settings/profile/sidebar/root.tsx index 703218e04f..36a097f44a 100644 --- a/apps/web/core/components/settings/profile/sidebar/root.tsx +++ b/apps/web/core/components/settings/profile/sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { ScrollArea } from "@plane/propel/scrollarea"; import type { TProfileSettingsTabs } from "@plane/types"; diff --git a/apps/web/core/components/settings/profile/sidebar/workspace-options.tsx b/apps/web/core/components/settings/profile/sidebar/workspace-options.tsx index a695437ad3..c2bb1c8cf1 100644 --- a/apps/web/core/components/settings/profile/sidebar/workspace-options.tsx +++ b/apps/web/core/components/settings/profile/sidebar/workspace-options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CirclePlus, Mails } from "lucide-react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/settings/project/content/feature-control-item.tsx b/apps/web/core/components/settings/project/content/feature-control-item.tsx index 227e8cd52b..4db4298ec6 100644 --- a/apps/web/core/components/settings/project/content/feature-control-item.tsx +++ b/apps/web/core/components/settings/project/content/feature-control-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { setPromiseToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/settings/project/sidebar/header.tsx b/apps/web/core/components/settings/project/sidebar/header.tsx index aa255908f5..541b5ec8e0 100644 --- a/apps/web/core/components/settings/project/sidebar/header.tsx +++ b/apps/web/core/components/settings/project/sidebar/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ArrowLeft } from "lucide-react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/settings/project/sidebar/index.ts b/apps/web/core/components/settings/project/sidebar/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/settings/project/sidebar/index.ts +++ b/apps/web/core/components/settings/project/sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/settings/project/sidebar/item-categories.tsx b/apps/web/core/components/settings/project/sidebar/item-categories.tsx index d368a27928..f94141c19d 100644 --- a/apps/web/core/components/settings/project/sidebar/item-categories.tsx +++ b/apps/web/core/components/settings/project/sidebar/item-categories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { useParams } from "react-router"; diff --git a/apps/web/core/components/settings/project/sidebar/item-icon.tsx b/apps/web/core/components/settings/project/sidebar/item-icon.tsx index 6988776b3c..80d324b668 100644 --- a/apps/web/core/components/settings/project/sidebar/item-icon.tsx +++ b/apps/web/core/components/settings/project/sidebar/item-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LucideIcon } from "lucide-react"; import { Users, Zap } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/settings/project/sidebar/root.tsx b/apps/web/core/components/settings/project/sidebar/root.tsx index 2764e96286..1352b0fd9b 100644 --- a/apps/web/core/components/settings/project/sidebar/root.tsx +++ b/apps/web/core/components/settings/project/sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { ScrollArea } from "@plane/propel/scrollarea"; // local imports diff --git a/apps/web/core/components/settings/sidebar/item.tsx b/apps/web/core/components/settings/sidebar/item.tsx index 2fdd804454..9adb1455d1 100644 --- a/apps/web/core/components/settings/sidebar/item.tsx +++ b/apps/web/core/components/settings/sidebar/item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import Link from "next/link"; // plane imports diff --git a/apps/web/core/components/settings/workspace/sidebar/header.tsx b/apps/web/core/components/settings/workspace/sidebar/header.tsx index 534e50271f..40a8d2017b 100644 --- a/apps/web/core/components/settings/workspace/sidebar/header.tsx +++ b/apps/web/core/components/settings/workspace/sidebar/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ArrowLeft } from "lucide-react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/settings/workspace/sidebar/index.ts b/apps/web/core/components/settings/workspace/sidebar/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/settings/workspace/sidebar/index.ts +++ b/apps/web/core/components/settings/workspace/sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/settings/workspace/sidebar/item-categories.tsx b/apps/web/core/components/settings/workspace/sidebar/item-categories.tsx index 9223ba8c62..8243063723 100644 --- a/apps/web/core/components/settings/workspace/sidebar/item-categories.tsx +++ b/apps/web/core/components/settings/workspace/sidebar/item-categories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { useParams } from "react-router"; diff --git a/apps/web/core/components/settings/workspace/sidebar/item-icon.tsx b/apps/web/core/components/settings/workspace/sidebar/item-icon.tsx index 3a34f969ba..b89c11fd22 100644 --- a/apps/web/core/components/settings/workspace/sidebar/item-icon.tsx +++ b/apps/web/core/components/settings/workspace/sidebar/item-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LucideIcon } from "lucide-react"; import { ArrowUpToLine, Building, CreditCard, Users, Webhook } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/settings/workspace/sidebar/root.tsx b/apps/web/core/components/settings/workspace/sidebar/root.tsx index f3f1e10e00..0d6390ad79 100644 --- a/apps/web/core/components/settings/workspace/sidebar/root.tsx +++ b/apps/web/core/components/settings/workspace/sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { ScrollArea } from "@plane/propel/scrollarea"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/sidebar/add-button.tsx b/apps/web/core/components/sidebar/add-button.tsx index 1e092ff182..1e41f5192f 100644 --- a/apps/web/core/components/sidebar/add-button.tsx +++ b/apps/web/core/components/sidebar/add-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Button } from "@plane/propel/button"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/sidebar/resizable-sidebar.tsx b/apps/web/core/components/sidebar/resizable-sidebar.tsx index fac0a1107f..155547a6c8 100644 --- a/apps/web/core/components/sidebar/resizable-sidebar.tsx +++ b/apps/web/core/components/sidebar/resizable-sidebar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, ReactElement, SetStateAction } from "react"; import React, { useCallback, useEffect, useState, useRef } from "react"; // helpers diff --git a/apps/web/core/components/sidebar/search-button.tsx b/apps/web/core/components/sidebar/search-button.tsx index 9c94eb525d..48da94e9db 100644 --- a/apps/web/core/components/sidebar/search-button.tsx +++ b/apps/web/core/components/sidebar/search-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { SearchIcon } from "@plane/propel/icons"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/sidebar/sidebar-item.tsx b/apps/web/core/components/sidebar/sidebar-item.tsx index 7e407bf5e1..fa3cfef1b5 100644 --- a/apps/web/core/components/sidebar/sidebar-item.tsx +++ b/apps/web/core/components/sidebar/sidebar-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/sidebar/sidebar-navigation.tsx b/apps/web/core/components/sidebar/sidebar-navigation.tsx index 27eace49ca..4e312f2dcc 100644 --- a/apps/web/core/components/sidebar/sidebar-navigation.tsx +++ b/apps/web/core/components/sidebar/sidebar-navigation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cn } from "@plane/utils"; type TSidebarNavItem = { diff --git a/apps/web/core/components/sidebar/sidebar-toggle-button.tsx b/apps/web/core/components/sidebar/sidebar-toggle-button.tsx index 78f0cf4706..65452d5488 100644 --- a/apps/web/core/components/sidebar/sidebar-toggle-button.tsx +++ b/apps/web/core/components/sidebar/sidebar-toggle-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { PanelLeft } from "lucide-react"; // hooks diff --git a/apps/web/core/components/sidebar/sidebar-wrapper.tsx b/apps/web/core/components/sidebar/sidebar-wrapper.tsx index 28bc3d2845..a5a32392d9 100644 --- a/apps/web/core/components/sidebar/sidebar-wrapper.tsx +++ b/apps/web/core/components/sidebar/sidebar-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; // plane helpers diff --git a/apps/web/core/components/stickies/action-bar.tsx b/apps/web/core/components/stickies/action-bar.tsx index ba9c6f177a..d9f65d699f 100644 --- a/apps/web/core/components/stickies/action-bar.tsx +++ b/apps/web/core/components/stickies/action-bar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/stickies/delete-modal.tsx b/apps/web/core/components/stickies/delete-modal.tsx index a29d16eead..e26c0ebd04 100644 --- a/apps/web/core/components/stickies/delete-modal.tsx +++ b/apps/web/core/components/stickies/delete-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/stickies/layout/stickies-infinite.tsx b/apps/web/core/components/stickies/layout/stickies-infinite.tsx index e52e920cda..93849f0064 100644 --- a/apps/web/core/components/stickies/layout/stickies-infinite.tsx +++ b/apps/web/core/components/stickies/layout/stickies-infinite.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/stickies/layout/stickies-list.tsx b/apps/web/core/components/stickies/layout/stickies-list.tsx index 087b7f8e84..4580867d01 100644 --- a/apps/web/core/components/stickies/layout/stickies-list.tsx +++ b/apps/web/core/components/stickies/layout/stickies-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import type { DropTargetRecord, diff --git a/apps/web/core/components/stickies/layout/stickies-loader.tsx b/apps/web/core/components/stickies/layout/stickies-loader.tsx index 6da65603cd..b2ad667849 100644 --- a/apps/web/core/components/stickies/layout/stickies-loader.tsx +++ b/apps/web/core/components/stickies/layout/stickies-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/stickies/layout/stickies-truncated.tsx b/apps/web/core/components/stickies/layout/stickies-truncated.tsx index 8343239361..10ac90d5eb 100644 --- a/apps/web/core/components/stickies/layout/stickies-truncated.tsx +++ b/apps/web/core/components/stickies/layout/stickies-truncated.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/stickies/layout/sticky-dnd-wrapper.tsx b/apps/web/core/components/stickies/layout/sticky-dnd-wrapper.tsx index 8faaf70d4c..7372716c1d 100644 --- a/apps/web/core/components/stickies/layout/sticky-dnd-wrapper.tsx +++ b/apps/web/core/components/stickies/layout/sticky-dnd-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import type { diff --git a/apps/web/core/components/stickies/layout/sticky.helpers.ts b/apps/web/core/components/stickies/layout/sticky.helpers.ts index 0807885562..485544513b 100644 --- a/apps/web/core/components/stickies/layout/sticky.helpers.ts +++ b/apps/web/core/components/stickies/layout/sticky.helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item"; import type { InstructionType, IPragmaticPayloadLocation, TDropTarget } from "@plane/types"; diff --git a/apps/web/core/components/stickies/modal/index.tsx b/apps/web/core/components/stickies/modal/index.tsx index dbc824211c..5dff0bb507 100644 --- a/apps/web/core/components/stickies/modal/index.tsx +++ b/apps/web/core/components/stickies/modal/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { EModalWidth, ModalCore } from "@plane/ui"; import { Stickies } from "./stickies"; diff --git a/apps/web/core/components/stickies/modal/search.tsx b/apps/web/core/components/stickies/modal/search.tsx index 8fe857be4f..3cb2456958 100644 --- a/apps/web/core/components/stickies/modal/search.tsx +++ b/apps/web/core/components/stickies/modal/search.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useRef, useState } from "react"; import { debounce } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/stickies/modal/stickies.tsx b/apps/web/core/components/stickies/modal/stickies.tsx index d5b53ea245..deb903364a 100644 --- a/apps/web/core/components/stickies/modal/stickies.tsx +++ b/apps/web/core/components/stickies/modal/stickies.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/stickies/sticky/index.ts b/apps/web/core/components/stickies/sticky/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/stickies/sticky/index.ts +++ b/apps/web/core/components/stickies/sticky/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/stickies/sticky/inputs.tsx b/apps/web/core/components/stickies/sticky/inputs.tsx index acc393ff39..f67382646e 100644 --- a/apps/web/core/components/stickies/sticky/inputs.tsx +++ b/apps/web/core/components/stickies/sticky/inputs.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef } from "react"; import { usePathname } from "next/navigation"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/stickies/sticky/root.tsx b/apps/web/core/components/stickies/sticky/root.tsx index 6f9c126e2c..3c86662da9 100644 --- a/apps/web/core/components/stickies/sticky/root.tsx +++ b/apps/web/core/components/stickies/sticky/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useState } from "react"; import { debounce } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/stickies/sticky/sticky-item-drag-handle.tsx b/apps/web/core/components/stickies/sticky/sticky-item-drag-handle.tsx index 6abad84248..6e2a3a012a 100644 --- a/apps/web/core/components/stickies/sticky/sticky-item-drag-handle.tsx +++ b/apps/web/core/components/stickies/sticky/sticky-item-drag-handle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // ui import { DragHandle } from "@plane/ui"; diff --git a/apps/web/core/components/stickies/sticky/use-operations.tsx b/apps/web/core/components/stickies/sticky/use-operations.tsx index c8be717057..c1177ecb9a 100644 --- a/apps/web/core/components/stickies/sticky/use-operations.tsx +++ b/apps/web/core/components/stickies/sticky/use-operations.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; // plane types import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/stickies/widget.tsx b/apps/web/core/components/stickies/widget.tsx index 6a76eafd5a..ac5c16927e 100644 --- a/apps/web/core/components/stickies/widget.tsx +++ b/apps/web/core/components/stickies/widget.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/ui/empty-space.tsx b/apps/web/core/components/ui/empty-space.tsx index 657db32c4d..a058d194ed 100644 --- a/apps/web/core/components/ui/empty-space.tsx +++ b/apps/web/core/components/ui/empty-space.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // next import React from "react"; import Link from "next/link"; diff --git a/apps/web/core/components/ui/integration-and-import-export-banner.tsx b/apps/web/core/components/ui/integration-and-import-export-banner.tsx index 58c9250780..a67c2d6c33 100644 --- a/apps/web/core/components/ui/integration-and-import-export-banner.tsx +++ b/apps/web/core/components/ui/integration-and-import-export-banner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { AlertCircle } from "lucide-react"; type Props = { diff --git a/apps/web/core/components/ui/labels-list.tsx b/apps/web/core/components/ui/labels-list.tsx index b8991c55e1..1d63d36f8c 100644 --- a/apps/web/core/components/ui/labels-list.tsx +++ b/apps/web/core/components/ui/labels-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ui import { Tooltip } from "@plane/propel/tooltip"; import type { IIssueLabel } from "@plane/types"; diff --git a/apps/web/core/components/ui/loader/cycle-module-board-loader.tsx b/apps/web/core/components/ui/loader/cycle-module-board-loader.tsx index f53fcdce31..ac32705031 100644 --- a/apps/web/core/components/ui/loader/cycle-module-board-loader.tsx +++ b/apps/web/core/components/ui/loader/cycle-module-board-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function CycleModuleBoardLayoutLoader() { diff --git a/apps/web/core/components/ui/loader/cycle-module-list-loader.tsx b/apps/web/core/components/ui/loader/cycle-module-list-loader.tsx index 106974d482..50a849d9e2 100644 --- a/apps/web/core/components/ui/loader/cycle-module-list-loader.tsx +++ b/apps/web/core/components/ui/loader/cycle-module-list-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function CycleModuleListLayoutLoader() { diff --git a/apps/web/core/components/ui/loader/layouts/calendar-layout-loader.tsx b/apps/web/core/components/ui/loader/layouts/calendar-layout-loader.tsx index 55d148e1ee..4e80992789 100644 --- a/apps/web/core/components/ui/loader/layouts/calendar-layout-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/calendar-layout-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; import { getRandomInt } from "../utils"; diff --git a/apps/web/core/components/ui/loader/layouts/gantt-layout-loader.tsx b/apps/web/core/components/ui/loader/layouts/gantt-layout-loader.tsx index 10285b8e51..f20d42ee17 100644 --- a/apps/web/core/components/ui/loader/layouts/gantt-layout-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/gantt-layout-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; import { Row } from "@plane/ui"; import { BLOCK_HEIGHT } from "@/components/gantt-chart/constants"; diff --git a/apps/web/core/components/ui/loader/layouts/kanban-layout-loader.tsx b/apps/web/core/components/ui/loader/layouts/kanban-layout-loader.tsx index 2c79c17a78..6e4e7347b2 100644 --- a/apps/web/core/components/ui/loader/layouts/kanban-layout-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/kanban-layout-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { forwardRef } from "react"; import { range } from "lodash-es"; // plane ui diff --git a/apps/web/core/components/ui/loader/layouts/list-layout-loader.tsx b/apps/web/core/components/ui/loader/layouts/list-layout-loader.tsx index cf37bffd46..12ea14115e 100644 --- a/apps/web/core/components/ui/loader/layouts/list-layout-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/list-layout-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Fragment, forwardRef } from "react"; import { range } from "lodash-es"; // plane ui diff --git a/apps/web/core/components/ui/loader/layouts/members-layout-loader.tsx b/apps/web/core/components/ui/loader/layouts/members-layout-loader.tsx index fb02d57ab5..8d1a864ba9 100644 --- a/apps/web/core/components/ui/loader/layouts/members-layout-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/members-layout-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function MembersLayoutLoader() { return ( diff --git a/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx b/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx index 26fd59d45c..5d4ec7ed78 100644 --- a/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-sidebar-loader.tsx b/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-sidebar-loader.tsx index 277400ff47..8734094c4e 100644 --- a/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-sidebar-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-sidebar-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { range } from "lodash-es"; diff --git a/apps/web/core/components/ui/loader/layouts/spreadsheet-layout-loader.tsx b/apps/web/core/components/ui/loader/layouts/spreadsheet-layout-loader.tsx index 90e9282798..7ba2721c89 100644 --- a/apps/web/core/components/ui/loader/layouts/spreadsheet-layout-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/spreadsheet-layout-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; import { Row } from "@plane/ui"; import { getRandomLength } from "../utils"; diff --git a/apps/web/core/components/ui/loader/notification-loader.tsx b/apps/web/core/components/ui/loader/notification-loader.tsx index 6ce421c22d..e33e944fae 100644 --- a/apps/web/core/components/ui/loader/notification-loader.tsx +++ b/apps/web/core/components/ui/loader/notification-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function NotificationsLoader() { diff --git a/apps/web/core/components/ui/loader/pages-loader.tsx b/apps/web/core/components/ui/loader/pages-loader.tsx index b765a80de9..fc9f52089b 100644 --- a/apps/web/core/components/ui/loader/pages-loader.tsx +++ b/apps/web/core/components/ui/loader/pages-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function PagesLoader() { diff --git a/apps/web/core/components/ui/loader/projects-loader.tsx b/apps/web/core/components/ui/loader/projects-loader.tsx index ba4ae2b18f..838ab2cab1 100644 --- a/apps/web/core/components/ui/loader/projects-loader.tsx +++ b/apps/web/core/components/ui/loader/projects-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function ProjectsLoader() { diff --git a/apps/web/core/components/ui/loader/settings/activity.tsx b/apps/web/core/components/ui/loader/settings/activity.tsx index 48a8efa5d1..5a3ebb7bc6 100644 --- a/apps/web/core/components/ui/loader/settings/activity.tsx +++ b/apps/web/core/components/ui/loader/settings/activity.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; import { getRandomLength } from "../utils"; diff --git a/apps/web/core/components/ui/loader/settings/api-token.tsx b/apps/web/core/components/ui/loader/settings/api-token.tsx index 8d4fe11e8f..d429505559 100644 --- a/apps/web/core/components/ui/loader/settings/api-token.tsx +++ b/apps/web/core/components/ui/loader/settings/api-token.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; import { useTranslation } from "@plane/i18n"; export function APITokenSettingsLoader() { diff --git a/apps/web/core/components/ui/loader/settings/email.tsx b/apps/web/core/components/ui/loader/settings/email.tsx index 2d79088da4..4197eb29b5 100644 --- a/apps/web/core/components/ui/loader/settings/email.tsx +++ b/apps/web/core/components/ui/loader/settings/email.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function EmailSettingsLoader() { diff --git a/apps/web/core/components/ui/loader/settings/import-and-export.tsx b/apps/web/core/components/ui/loader/settings/import-and-export.tsx index 0930ab7bd0..1d94800285 100644 --- a/apps/web/core/components/ui/loader/settings/import-and-export.tsx +++ b/apps/web/core/components/ui/loader/settings/import-and-export.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function ImportExportSettingsLoader() { diff --git a/apps/web/core/components/ui/loader/settings/integration.tsx b/apps/web/core/components/ui/loader/settings/integration.tsx index 5a9dea826c..e8a79c6aca 100644 --- a/apps/web/core/components/ui/loader/settings/integration.tsx +++ b/apps/web/core/components/ui/loader/settings/integration.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function IntegrationsSettingsLoader() { diff --git a/apps/web/core/components/ui/loader/settings/members.tsx b/apps/web/core/components/ui/loader/settings/members.tsx index f6abc297ec..8ec47b2b7d 100644 --- a/apps/web/core/components/ui/loader/settings/members.tsx +++ b/apps/web/core/components/ui/loader/settings/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function MembersSettingsLoader() { diff --git a/apps/web/core/components/ui/loader/settings/web-hook.tsx b/apps/web/core/components/ui/loader/settings/web-hook.tsx index f8ddd85759..b12e6d7452 100644 --- a/apps/web/core/components/ui/loader/settings/web-hook.tsx +++ b/apps/web/core/components/ui/loader/settings/web-hook.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function WebhookSettingsLoader() { return (
diff --git a/apps/web/core/components/ui/loader/utils.tsx b/apps/web/core/components/ui/loader/utils.tsx index 3637626edc..0a2b2da4a6 100644 --- a/apps/web/core/components/ui/loader/utils.tsx +++ b/apps/web/core/components/ui/loader/utils.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const getRandomInt = (min: number, max: number) => Math.floor(Math.random() * (max - min + 1)) + min; export const getRandomLength = (lengthArray: string[]) => { diff --git a/apps/web/core/components/ui/loader/view-list-loader.tsx b/apps/web/core/components/ui/loader/view-list-loader.tsx index ebd7542885..2589871f25 100644 --- a/apps/web/core/components/ui/loader/view-list-loader.tsx +++ b/apps/web/core/components/ui/loader/view-list-loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function ViewListLoader() { diff --git a/apps/web/core/components/ui/markdown-to-component.tsx b/apps/web/core/components/ui/markdown-to-component.tsx index a371f45dd9..af66e84b26 100644 --- a/apps/web/core/components/ui/markdown-to-component.tsx +++ b/apps/web/core/components/ui/markdown-to-component.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import ReactMarkdown from "react-markdown"; diff --git a/apps/web/core/components/ui/profile-empty-state.tsx b/apps/web/core/components/ui/profile-empty-state.tsx index 986250f503..29d5fcf23e 100644 --- a/apps/web/core/components/ui/profile-empty-state.tsx +++ b/apps/web/core/components/ui/profile-empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; type Props = { diff --git a/apps/web/core/components/user/index.ts b/apps/web/core/components/user/index.ts index 9c2663b18c..320ded1905 100644 --- a/apps/web/core/components/user/index.ts +++ b/apps/web/core/components/user/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./user-greetings"; diff --git a/apps/web/core/components/user/user-greetings.tsx b/apps/web/core/components/user/user-greetings.tsx index ea7c2e5224..200f3b6604 100644 --- a/apps/web/core/components/user/user-greetings.tsx +++ b/apps/web/core/components/user/user-greetings.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane types import { useTranslation } from "@plane/i18n"; // hooks diff --git a/apps/web/core/components/views/applied-filters/access.tsx b/apps/web/core/components/views/applied-filters/access.tsx index 480e698dbf..7d71252395 100644 --- a/apps/web/core/components/views/applied-filters/access.tsx +++ b/apps/web/core/components/views/applied-filters/access.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // icons import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/views/applied-filters/index.tsx b/apps/web/core/components/views/applied-filters/index.tsx index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/views/applied-filters/index.tsx +++ b/apps/web/core/components/views/applied-filters/index.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/views/applied-filters/root.tsx b/apps/web/core/components/views/applied-filters/root.tsx index bb6cc41a30..7f59b090a3 100644 --- a/apps/web/core/components/views/applied-filters/root.tsx +++ b/apps/web/core/components/views/applied-filters/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { CloseIcon } from "@plane/propel/icons"; // plane imports diff --git a/apps/web/core/components/views/delete-view-modal.tsx b/apps/web/core/components/views/delete-view-modal.tsx index f657fb60e8..fa6f448ede 100644 --- a/apps/web/core/components/views/delete-view-modal.tsx +++ b/apps/web/core/components/views/delete-view-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams, useRouter } from "next/navigation"; diff --git a/apps/web/core/components/views/filters/filter-selection.tsx b/apps/web/core/components/views/filters/filter-selection.tsx index 2c706352a8..67392ae4e7 100644 --- a/apps/web/core/components/views/filters/filter-selection.tsx +++ b/apps/web/core/components/views/filters/filter-selection.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/views/filters/order-by.tsx b/apps/web/core/components/views/filters/order-by.tsx index 023c30a4df..d06689479a 100644 --- a/apps/web/core/components/views/filters/order-by.tsx +++ b/apps/web/core/components/views/filters/order-by.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ArrowDownWideNarrow, ArrowUpWideNarrow } from "lucide-react"; // plane imports import { VIEW_SORT_BY_OPTIONS, VIEW_SORTING_KEY_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/views/form.tsx b/apps/web/core/components/views/form.tsx index 10e34a3daf..048d274e85 100644 --- a/apps/web/core/components/views/form.tsx +++ b/apps/web/core/components/views/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/views/helper.tsx b/apps/web/core/components/views/helper.tsx index 91b13b46d7..664cb346e6 100644 --- a/apps/web/core/components/views/helper.tsx +++ b/apps/web/core/components/views/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { EIssueLayoutTypes } from "@plane/types"; import { WorkspaceSpreadsheetRoot } from "@/components/issues/issue-layouts/spreadsheet/roots/workspace-root"; import { WorkspaceAdditionalLayouts } from "@/plane-web/components/views/helper"; diff --git a/apps/web/core/components/views/modal.tsx b/apps/web/core/components/views/modal.tsx index 785e901ff0..0d16de1cea 100644 --- a/apps/web/core/components/views/modal.tsx +++ b/apps/web/core/components/views/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // types import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/views/quick-actions.tsx b/apps/web/core/components/views/quick-actions.tsx index 6e1faad59e..07b5c59f93 100644 --- a/apps/web/core/components/views/quick-actions.tsx +++ b/apps/web/core/components/views/quick-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { MoreHorizontal } from "lucide-react"; diff --git a/apps/web/core/components/views/view-list-header.tsx b/apps/web/core/components/views/view-list-header.tsx index 3f386f2309..723558e9a3 100644 --- a/apps/web/core/components/views/view-list-header.tsx +++ b/apps/web/core/components/views/view-list-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; // icons diff --git a/apps/web/core/components/views/view-list-item-action.tsx b/apps/web/core/components/views/view-list-item-action.tsx index 1291643ae4..5c99869f84 100644 --- a/apps/web/core/components/views/view-list-item-action.tsx +++ b/apps/web/core/components/views/view-list-item-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/views/view-list-item.tsx b/apps/web/core/components/views/view-list-item.tsx index de2ccdd83e..511759bf15 100644 --- a/apps/web/core/components/views/view-list-item.tsx +++ b/apps/web/core/components/views/view-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/views/views-list.tsx b/apps/web/core/components/views/views-list.tsx index 90e91ab883..727f616cdb 100644 --- a/apps/web/core/components/views/views-list.tsx +++ b/apps/web/core/components/views/views-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/web-hooks/create-webhook-modal.tsx b/apps/web/core/components/web-hooks/create-webhook-modal.tsx index e3c36746a2..ccde260ee1 100644 --- a/apps/web/core/components/web-hooks/create-webhook-modal.tsx +++ b/apps/web/core/components/web-hooks/create-webhook-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { useParams } from "next/navigation"; // types diff --git a/apps/web/core/components/web-hooks/delete-webhook-modal.tsx b/apps/web/core/components/web-hooks/delete-webhook-modal.tsx index 11d72cd904..1e13fde0bc 100644 --- a/apps/web/core/components/web-hooks/delete-webhook-modal.tsx +++ b/apps/web/core/components/web-hooks/delete-webhook-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { useParams } from "next/navigation"; // ui diff --git a/apps/web/core/components/web-hooks/empty-state.tsx b/apps/web/core/components/web-hooks/empty-state.tsx index ca148c03eb..fed779771d 100644 --- a/apps/web/core/components/web-hooks/empty-state.tsx +++ b/apps/web/core/components/web-hooks/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/web-hooks/form/delete-section.tsx b/apps/web/core/components/web-hooks/form/delete-section.tsx index 4e9c49fa1e..55225ae240 100644 --- a/apps/web/core/components/web-hooks/form/delete-section.tsx +++ b/apps/web/core/components/web-hooks/form/delete-section.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Disclosure, Transition } from "@headlessui/react"; import { WORKSPACE_SETTINGS_TRACKER_ELEMENTS } from "@plane/constants"; import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/web-hooks/form/event-types.tsx b/apps/web/core/components/web-hooks/form/event-types.tsx index ff8553a7d9..e98f89d63b 100644 --- a/apps/web/core/components/web-hooks/form/event-types.tsx +++ b/apps/web/core/components/web-hooks/form/event-types.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import { useTranslation } from "@plane/i18n"; import type { TWebhookEventTypes } from "@plane/types"; diff --git a/apps/web/core/components/web-hooks/form/form.tsx b/apps/web/core/components/web-hooks/form/form.tsx index 43fa78a24f..009c42b3c8 100644 --- a/apps/web/core/components/web-hooks/form/form.tsx +++ b/apps/web/core/components/web-hooks/form/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/web-hooks/form/index.ts b/apps/web/core/components/web-hooks/form/index.ts index 680d1c0b27..5de5b3bcfc 100644 --- a/apps/web/core/components/web-hooks/form/index.ts +++ b/apps/web/core/components/web-hooks/form/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./delete-section"; export * from "./event-types"; export * from "./form"; diff --git a/apps/web/core/components/web-hooks/form/individual-event-options.tsx b/apps/web/core/components/web-hooks/form/individual-event-options.tsx index 7cbbb3ee36..3df6a5bc31 100644 --- a/apps/web/core/components/web-hooks/form/individual-event-options.tsx +++ b/apps/web/core/components/web-hooks/form/individual-event-options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Control } from "react-hook-form"; import { Controller } from "react-hook-form"; import type { IWebhook } from "@plane/types"; diff --git a/apps/web/core/components/web-hooks/form/input.tsx b/apps/web/core/components/web-hooks/form/input.tsx index af13f89110..1618f4d88f 100644 --- a/apps/web/core/components/web-hooks/form/input.tsx +++ b/apps/web/core/components/web-hooks/form/input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useTranslation } from "@plane/i18n"; import { Input } from "@plane/ui"; diff --git a/apps/web/core/components/web-hooks/form/secret-key.tsx b/apps/web/core/components/web-hooks/form/secret-key.tsx index 1c0d60bb8d..32437bb6f6 100644 --- a/apps/web/core/components/web-hooks/form/secret-key.tsx +++ b/apps/web/core/components/web-hooks/form/secret-key.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { useState } from "react"; import { range } from "lodash-es"; diff --git a/apps/web/core/components/web-hooks/form/toggle.tsx b/apps/web/core/components/web-hooks/form/toggle.tsx index 88aca446df..7ac83365fd 100644 --- a/apps/web/core/components/web-hooks/form/toggle.tsx +++ b/apps/web/core/components/web-hooks/form/toggle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Control } from "react-hook-form"; import { Controller } from "react-hook-form"; // constants diff --git a/apps/web/core/components/web-hooks/generated-hook-details.tsx b/apps/web/core/components/web-hooks/generated-hook-details.tsx index d392803659..74ea401660 100644 --- a/apps/web/core/components/web-hooks/generated-hook-details.tsx +++ b/apps/web/core/components/web-hooks/generated-hook-details.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // components // ui import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/web-hooks/index.ts b/apps/web/core/components/web-hooks/index.ts index fd23f43300..1fa7690da8 100644 --- a/apps/web/core/components/web-hooks/index.ts +++ b/apps/web/core/components/web-hooks/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./delete-webhook-modal"; export * from "./empty-state"; export * from "./form"; diff --git a/apps/web/core/components/web-hooks/utils.ts b/apps/web/core/components/web-hooks/utils.ts index ea8447f57b..28a0029e07 100644 --- a/apps/web/core/components/web-hooks/utils.ts +++ b/apps/web/core/components/web-hooks/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // helpers import type { IWebhook, IWorkspace } from "@plane/types"; import { renderFormattedPayloadDate } from "@plane/utils"; diff --git a/apps/web/core/components/web-hooks/webhooks-list-item.tsx b/apps/web/core/components/web-hooks/webhooks-list-item.tsx index 3795d40e1d..84e00a946e 100644 --- a/apps/web/core/components/web-hooks/webhooks-list-item.tsx +++ b/apps/web/core/components/web-hooks/webhooks-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Link from "next/link"; import { useParams } from "next/navigation"; // Plane imports diff --git a/apps/web/core/components/web-hooks/webhooks-list.tsx b/apps/web/core/components/web-hooks/webhooks-list.tsx index 62043596c5..5e61027340 100644 --- a/apps/web/core/components/web-hooks/webhooks-list.tsx +++ b/apps/web/core/components/web-hooks/webhooks-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // hooks import { useWebhook } from "@/hooks/store/use-webhook"; diff --git a/apps/web/core/components/work-item-filters/filters-hoc/base.tsx b/apps/web/core/components/work-item-filters/filters-hoc/base.tsx index 0b83278ce0..58df7f06e6 100644 --- a/apps/web/core/components/work-item-filters/filters-hoc/base.tsx +++ b/apps/web/core/components/work-item-filters/filters-hoc/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useMemo } from "react"; import { observer } from "mobx-react"; import { v4 as uuidv4 } from "uuid"; diff --git a/apps/web/core/components/work-item-filters/filters-hoc/project-level.tsx b/apps/web/core/components/work-item-filters/filters-hoc/project-level.tsx index 2c3f42207c..9e9b7c226c 100644 --- a/apps/web/core/components/work-item-filters/filters-hoc/project-level.tsx +++ b/apps/web/core/components/work-item-filters/filters-hoc/project-level.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo, useState } from "react"; import { isEqual, cloneDeep } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/work-item-filters/filters-hoc/shared.ts b/apps/web/core/components/work-item-filters/filters-hoc/shared.ts index 01d585a670..7f598d6cb0 100644 --- a/apps/web/core/components/work-item-filters/filters-hoc/shared.ts +++ b/apps/web/core/components/work-item-filters/filters-hoc/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TSaveViewOptions, TUpdateViewOptions } from "@plane/constants"; import type { IWorkItemFilterInstance } from "@plane/shared-state"; diff --git a/apps/web/core/components/work-item-filters/filters-hoc/workspace-level.tsx b/apps/web/core/components/work-item-filters/filters-hoc/workspace-level.tsx index 5f15f8fe1c..bf09fd70c0 100644 --- a/apps/web/core/components/work-item-filters/filters-hoc/workspace-level.tsx +++ b/apps/web/core/components/work-item-filters/filters-hoc/workspace-level.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo, useState } from "react"; import { isEqual, cloneDeep } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/work-item-filters/filters-row.tsx b/apps/web/core/components/work-item-filters/filters-row.tsx index f3a6441d3b..531701a8a0 100644 --- a/apps/web/core/components/work-item-filters/filters-row.tsx +++ b/apps/web/core/components/work-item-filters/filters-row.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { IWorkItemFilterInstance } from "@plane/shared-state"; diff --git a/apps/web/core/components/work-item-filters/filters-toggle.tsx b/apps/web/core/components/work-item-filters/filters-toggle.tsx index 60b2073b69..17021b4df7 100644 --- a/apps/web/core/components/work-item-filters/filters-toggle.tsx +++ b/apps/web/core/components/work-item-filters/filters-toggle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import type { EIssuesStoreType } from "@plane/types"; diff --git a/apps/web/core/components/workspace-notifications/index.ts b/apps/web/core/components/workspace-notifications/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/workspace-notifications/index.ts +++ b/apps/web/core/components/workspace-notifications/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/workspace-notifications/notification-app-sidebar-option.tsx b/apps/web/core/components/workspace-notifications/notification-app-sidebar-option.tsx index 788963fc93..a6b39246ed 100644 --- a/apps/web/core/components/workspace-notifications/notification-app-sidebar-option.tsx +++ b/apps/web/core/components/workspace-notifications/notification-app-sidebar-option.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/workspace-notifications/root.tsx b/apps/web/core/components/workspace-notifications/root.tsx index 26e856bd16..d6878f8e93 100644 --- a/apps/web/core/components/workspace-notifications/root.tsx +++ b/apps/web/core/components/workspace-notifications/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/empty-state.tsx b/apps/web/core/components/workspace-notifications/sidebar/empty-state.tsx index f67dc0b0dc..aed3b4a0c2 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/empty-state.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { ENotificationTab } from "@plane/constants"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/filters/applied-filter.tsx b/apps/web/core/components/workspace-notifications/sidebar/filters/applied-filter.tsx index 45d0f80b22..dc84970cd4 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/filters/applied-filter.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/filters/applied-filter.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { ENotificationFilterType, FILTER_TYPE_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/index.ts b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/index.ts +++ b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx index 4171f6b5bd..7c81ac4b60 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { ENotificationFilterType } from "@plane/constants"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/root.tsx index 8ff2fe2398..12e8ada055 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { ListFilter } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/index.ts b/apps/web/core/components/workspace-notifications/sidebar/header/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/index.ts +++ b/apps/web/core/components/workspace-notifications/sidebar/header/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/options/index.ts b/apps/web/core/components/workspace-notifications/sidebar/header/options/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/options/index.ts +++ b/apps/web/core/components/workspace-notifications/sidebar/header/options/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/index.ts b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/index.ts +++ b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/menu-item.tsx b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/menu-item.tsx index e05946d2c8..6ea43dcbfb 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/menu-item.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/menu-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // components import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx index 23608e472b..02c59aed98 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; import { CheckCircle, Clock, MoreVertical } from "lucide-react"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/options/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/header/options/root.tsx index e90622de40..9a4722a474 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/options/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/header/options/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { CheckCheck, RefreshCw } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/header/root.tsx index 29d7c186f5..13f3c412ea 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/header/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/index.ts b/apps/web/core/components/workspace-notifications/sidebar/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/index.ts +++ b/apps/web/core/components/workspace-notifications/sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/loader.tsx b/apps/web/core/components/workspace-notifications/sidebar/loader.tsx index 58573a9ea7..a4c39ccac2 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/loader.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; export function NotificationsLoader() { diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/content.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/content.tsx index f8feb54a8a..ae5c7054d2 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/content.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; // plane imports import type { TNotification } from "@plane/types"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/item.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/item.tsx index bed835e84e..08bf6abed1 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/item.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { Clock } from "lucide-react"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/archive.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/archive.tsx index 3c1c76399a..8e5ab80665 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/archive.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/archive.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { ArchiveRestore } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/button.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/button.tsx index c5bc1e6117..0c8ea52158 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/button.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { Tooltip } from "@plane/propel/tooltip"; // helpers diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/index.ts b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/index.ts index 47dff31929..173eda609f 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/index.ts +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./read"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/read.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/read.tsx index f10480e602..16a5b51333 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/read.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/read.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { MessageSquare } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/root.tsx index 26b0c957c7..dfca9dd650 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, SetStateAction } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/index.ts b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/index.ts index 5238728d7c..b5ea89de6b 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/index.ts +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./modal"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/modal.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/modal.tsx index e50e552f17..02e8c353c3 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/modal.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useParams } from "next/navigation"; import { useForm, Controller } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx index ef09751a01..de71972be4 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, SetStateAction } from "react"; import { Fragment } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/root.tsx index 6354976a40..5174ee6d9e 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/ConfirmWorkspaceMemberRemove.tsx b/apps/web/core/components/workspace/ConfirmWorkspaceMemberRemove.tsx index 5309a8d852..04edd6bc34 100644 --- a/apps/web/core/components/workspace/ConfirmWorkspaceMemberRemove.tsx +++ b/apps/web/core/components/workspace/ConfirmWorkspaceMemberRemove.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { AlertTriangle } from "lucide-react"; diff --git a/apps/web/core/components/workspace/billing/comparison/base.tsx b/apps/web/core/components/workspace/billing/comparison/base.tsx index f198907f00..e36a2b6fe7 100644 --- a/apps/web/core/components/workspace/billing/comparison/base.tsx +++ b/apps/web/core/components/workspace/billing/comparison/base.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { ArrowDown, ArrowUp } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace/billing/comparison/feature-detail.tsx b/apps/web/core/components/workspace/billing/comparison/feature-detail.tsx index 0d5ba24a80..5476f142a1 100644 --- a/apps/web/core/components/workspace/billing/comparison/feature-detail.tsx +++ b/apps/web/core/components/workspace/billing/comparison/feature-detail.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CheckCircle2, Minus, MinusCircle } from "lucide-react"; import type { EProductSubscriptionEnum } from "@plane/types"; // plane imports diff --git a/apps/web/core/components/workspace/billing/comparison/index.ts b/apps/web/core/components/workspace/billing/comparison/index.ts index 955fdd1439..d109057541 100644 --- a/apps/web/core/components/workspace/billing/comparison/index.ts +++ b/apps/web/core/components/workspace/billing/comparison/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./base"; diff --git a/apps/web/core/components/workspace/confirm-workspace-member-remove.tsx b/apps/web/core/components/workspace/confirm-workspace-member-remove.tsx index 8e38061a7d..6d9be3c684 100644 --- a/apps/web/core/components/workspace/confirm-workspace-member-remove.tsx +++ b/apps/web/core/components/workspace/confirm-workspace-member-remove.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { AlertTriangle } from "lucide-react"; diff --git a/apps/web/core/components/workspace/create-workspace-form.tsx b/apps/web/core/components/workspace/create-workspace-form.tsx index 2af67c09e9..de7bca392a 100644 --- a/apps/web/core/components/workspace/create-workspace-form.tsx +++ b/apps/web/core/components/workspace/create-workspace-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Dispatch, SetStateAction } from "react"; import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/workspace/delete-workspace-form.tsx b/apps/web/core/components/workspace/delete-workspace-form.tsx index c0041d8ab6..a272cd94cb 100644 --- a/apps/web/core/components/workspace/delete-workspace-form.tsx +++ b/apps/web/core/components/workspace/delete-workspace-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; import { AlertTriangle } from "lucide-react"; diff --git a/apps/web/core/components/workspace/invite-modal/actions.tsx b/apps/web/core/components/workspace/invite-modal/actions.tsx index dbbf9b4d0e..23b5f4d0dd 100644 --- a/apps/web/core/components/workspace/invite-modal/actions.tsx +++ b/apps/web/core/components/workspace/invite-modal/actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/workspace/invite-modal/fields.tsx b/apps/web/core/components/workspace/invite-modal/fields.tsx index 340fa549b0..927b0cafa8 100644 --- a/apps/web/core/components/workspace/invite-modal/fields.tsx +++ b/apps/web/core/components/workspace/invite-modal/fields.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import type { Control, FieldArrayWithId, FormState } from "react-hook-form"; import { Controller } from "react-hook-form"; diff --git a/apps/web/core/components/workspace/invite-modal/form.tsx b/apps/web/core/components/workspace/invite-modal/form.tsx index 1a806cf8e7..486fe6dde4 100644 --- a/apps/web/core/components/workspace/invite-modal/form.tsx +++ b/apps/web/core/components/workspace/invite-modal/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Dialog } from "@headlessui/react"; diff --git a/apps/web/core/components/workspace/logo.tsx b/apps/web/core/components/workspace/logo.tsx index ee5a008487..c5a280f179 100644 --- a/apps/web/core/components/workspace/logo.tsx +++ b/apps/web/core/components/workspace/logo.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/workspace/settings/invitations-list-item.tsx b/apps/web/core/components/workspace/settings/invitations-list-item.tsx index 12b4cc821f..61a14dd642 100644 --- a/apps/web/core/components/workspace/settings/invitations-list-item.tsx +++ b/apps/web/core/components/workspace/settings/invitations-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/settings/member-columns.tsx b/apps/web/core/components/workspace/settings/member-columns.tsx index 4167a79397..bf27b05220 100644 --- a/apps/web/core/components/workspace/settings/member-columns.tsx +++ b/apps/web/core/components/workspace/settings/member-columns.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/workspace/settings/members-list-item.tsx b/apps/web/core/components/workspace/settings/members-list-item.tsx index 2f388d4919..bdaba38f45 100644 --- a/apps/web/core/components/workspace/settings/members-list-item.tsx +++ b/apps/web/core/components/workspace/settings/members-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/workspace/settings/members-list.tsx b/apps/web/core/components/workspace/settings/members-list.tsx index 1dae187643..2b7b29c110 100644 --- a/apps/web/core/components/workspace/settings/members-list.tsx +++ b/apps/web/core/components/workspace/settings/members-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/settings/workspace-details.tsx b/apps/web/core/components/workspace/settings/workspace-details.tsx index 66cb59c720..eec1dda17f 100644 --- a/apps/web/core/components/workspace/settings/workspace-details.tsx +++ b/apps/web/core/components/workspace/settings/workspace-details.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/workspace/sidebar/dropdown-item.tsx b/apps/web/core/components/workspace/sidebar/dropdown-item.tsx index 5002b12870..3b47d7418c 100644 --- a/apps/web/core/components/workspace/sidebar/dropdown-item.tsx +++ b/apps/web/core/components/workspace/sidebar/dropdown-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-folder.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-folder.tsx index 24418d7bf0..64be328ef8 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-folder.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-folder.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import type { diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-drag-handle.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-drag-handle.tsx index 35b2d4d3df..60e64b6856 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-drag-handle.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-drag-handle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-quick-action.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-quick-action.tsx index 84deb7784a..adde5fac0a 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-quick-action.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-quick-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { MoreHorizontal, Star } from "lucide-react"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-title.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-title.tsx index 65d42314cf..481132c9e1 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-title.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-title.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-wrapper.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-wrapper.tsx index 2bd28f3f28..355beb3fc3 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-wrapper.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // helpers import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/helper.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/helper.tsx index 7d11050992..8e30eb9141 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/helper.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Logo } from "@plane/propel/emoji-icon-picker"; import { PageIcon } from "@plane/propel/icons"; // plane imports diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/index.ts b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/index.ts index 5e03ce1c74..c044bec246 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/index.ts +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./favorite-item-drag-handle"; export * from "./favorite-item-quick-action"; export * from "./favorite-item-wrapper"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/index.ts b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/index.ts index 1037372f37..6feb3340d8 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/index.ts +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./common"; export * from "./root"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/root.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/root.tsx index 733367663a..5ad0b8b628 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/root.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import type { diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorites-menu.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorites-menu.tsx index 532c3a7376..9b588b03b7 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorites-menu.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorites-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import type { diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorites.helpers.ts b/apps/web/core/components/workspace/sidebar/favorites/favorites.helpers.ts index 44e1c022d8..a911f596e1 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorites.helpers.ts +++ b/apps/web/core/components/workspace/sidebar/favorites/favorites.helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item"; import type { IFavorite, InstructionType, IPragmaticPayloadLocation, TDropTarget } from "@plane/types"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/new-fav-folder.tsx b/apps/web/core/components/workspace/sidebar/favorites/new-fav-folder.tsx index c51412d0bf..c789340891 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/new-fav-folder.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/new-fav-folder.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/help-section/index.ts b/apps/web/core/components/workspace/sidebar/help-section/index.ts index 1efe34c51e..d980334597 100644 --- a/apps/web/core/components/workspace/sidebar/help-section/index.ts +++ b/apps/web/core/components/workspace/sidebar/help-section/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/apps/web/core/components/workspace/sidebar/help-section/root.tsx b/apps/web/core/components/workspace/sidebar/help-section/root.tsx index 55bd9d430f..adaccb5795 100644 --- a/apps/web/core/components/workspace/sidebar/help-section/root.tsx +++ b/apps/web/core/components/workspace/sidebar/help-section/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { observer } from "mobx-react"; import { HelpCircle, MessagesSquare, User } from "lucide-react"; diff --git a/apps/web/core/components/workspace/sidebar/project-navigation.tsx b/apps/web/core/components/workspace/sidebar/project-navigation.tsx index 481f5929e6..8f50d39515 100644 --- a/apps/web/core/components/workspace/sidebar/project-navigation.tsx +++ b/apps/web/core/components/workspace/sidebar/project-navigation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/sidebar/projects-list-item.tsx b/apps/web/core/components/workspace/sidebar/projects-list-item.tsx index d869a12cb6..e633cca8cc 100644 --- a/apps/web/core/components/workspace/sidebar/projects-list-item.tsx +++ b/apps/web/core/components/workspace/sidebar/projects-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/workspace/sidebar/projects-list.tsx b/apps/web/core/components/workspace/sidebar/projects-list.tsx index 2d9c4f5a7b..f581b408ed 100644 --- a/apps/web/core/components/workspace/sidebar/projects-list.tsx +++ b/apps/web/core/components/workspace/sidebar/projects-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef, useEffect } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/core/components/workspace/sidebar/quick-actions.tsx b/apps/web/core/components/workspace/sidebar/quick-actions.tsx index 0f5cdf98a2..a54d2b30b3 100644 --- a/apps/web/core/components/workspace/sidebar/quick-actions.tsx +++ b/apps/web/core/components/workspace/sidebar/quick-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/sidebar-item.tsx b/apps/web/core/components/workspace/sidebar/sidebar-item.tsx index a852856dbf..205e9839f9 100644 --- a/apps/web/core/components/workspace/sidebar/sidebar-item.tsx +++ b/apps/web/core/components/workspace/sidebar/sidebar-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/sidebar/sidebar-menu-items.tsx b/apps/web/core/components/workspace/sidebar/sidebar-menu-items.tsx index b6597524da..791cfce645 100644 --- a/apps/web/core/components/workspace/sidebar/sidebar-menu-items.tsx +++ b/apps/web/core/components/workspace/sidebar/sidebar-menu-items.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo } from "react"; import { observer } from "mobx-react"; import { Ellipsis } from "lucide-react"; diff --git a/apps/web/core/components/workspace/sidebar/user-menu-item.tsx b/apps/web/core/components/workspace/sidebar/user-menu-item.tsx index 1360511bb9..02aa128a75 100644 --- a/apps/web/core/components/workspace/sidebar/user-menu-item.tsx +++ b/apps/web/core/components/workspace/sidebar/user-menu-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useParams, usePathname } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/user-menu-root.tsx b/apps/web/core/components/workspace/sidebar/user-menu-root.tsx index 8fbd13a2d5..6cd08da79b 100644 --- a/apps/web/core/components/workspace/sidebar/user-menu-root.tsx +++ b/apps/web/core/components/workspace/sidebar/user-menu-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/user-menu.tsx b/apps/web/core/components/workspace/sidebar/user-menu.tsx index 53ee7b747f..f4f7b4ad36 100644 --- a/apps/web/core/components/workspace/sidebar/user-menu.tsx +++ b/apps/web/core/components/workspace/sidebar/user-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/workspace-menu-header.tsx b/apps/web/core/components/workspace/sidebar/workspace-menu-header.tsx index a8ce79e9df..d0e1bdc9cf 100644 --- a/apps/web/core/components/workspace/sidebar/workspace-menu-header.tsx +++ b/apps/web/core/components/workspace/sidebar/workspace-menu-header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useRef } from "react"; import { observer } from "mobx-react"; import { useParams, useRouter } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/workspace-menu-item.tsx b/apps/web/core/components/workspace/sidebar/workspace-menu-item.tsx index 2707612e0c..0199dc7091 100644 --- a/apps/web/core/components/workspace/sidebar/workspace-menu-item.tsx +++ b/apps/web/core/components/workspace/sidebar/workspace-menu-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useParams, usePathname } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx b/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx index 8475fe1942..132feed66e 100644 --- a/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx +++ b/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { Fragment, useState, useEffect } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/sidebar/workspace-menu.tsx b/apps/web/core/components/workspace/sidebar/workspace-menu.tsx index 569c74c4ba..8923f56f10 100644 --- a/apps/web/core/components/workspace/sidebar/workspace-menu.tsx +++ b/apps/web/core/components/workspace/sidebar/workspace-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/views/default-view-list-item.tsx b/apps/web/core/components/workspace/views/default-view-list-item.tsx index d906894d61..3aace5d4b3 100644 --- a/apps/web/core/components/workspace/views/default-view-list-item.tsx +++ b/apps/web/core/components/workspace/views/default-view-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/views/default-view-quick-action.tsx b/apps/web/core/components/workspace/views/default-view-quick-action.tsx index 99d2641516..fd400b328f 100644 --- a/apps/web/core/components/workspace/views/default-view-quick-action.tsx +++ b/apps/web/core/components/workspace/views/default-view-quick-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/workspace/views/delete-view-modal.tsx b/apps/web/core/components/workspace/views/delete-view-modal.tsx index 6562fe5333..3659062063 100644 --- a/apps/web/core/components/workspace/views/delete-view-modal.tsx +++ b/apps/web/core/components/workspace/views/delete-view-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/views/form.tsx b/apps/web/core/components/workspace/views/form.tsx index 8dbdb5104e..efe4566e5f 100644 --- a/apps/web/core/components/workspace/views/form.tsx +++ b/apps/web/core/components/workspace/views/form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/workspace/views/header.tsx b/apps/web/core/components/workspace/views/header.tsx index dd26d830c7..92102b3e20 100644 --- a/apps/web/core/components/workspace/views/header.tsx +++ b/apps/web/core/components/workspace/views/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/views/modal.tsx b/apps/web/core/components/workspace/views/modal.tsx index 89a9102f9a..8f9be46fac 100644 --- a/apps/web/core/components/workspace/views/modal.tsx +++ b/apps/web/core/components/workspace/views/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/workspace/views/quick-action.tsx b/apps/web/core/components/workspace/views/quick-action.tsx index 0d70a3b8c4..3248b2061a 100644 --- a/apps/web/core/components/workspace/views/quick-action.tsx +++ b/apps/web/core/components/workspace/views/quick-action.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/workspace/views/view-list-item.tsx b/apps/web/core/components/workspace/views/view-list-item.tsx index 0db808d0a0..93acab3ad6 100644 --- a/apps/web/core/components/workspace/views/view-list-item.tsx +++ b/apps/web/core/components/workspace/views/view-list-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/views/views-list.tsx b/apps/web/core/components/workspace/views/views-list.tsx index 6adb4e428c..34d3c6b803 100644 --- a/apps/web/core/components/workspace/views/views-list.tsx +++ b/apps/web/core/components/workspace/views/views-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/core/constants/calendar.ts b/apps/web/core/constants/calendar.ts index 2fca3539d0..86d1d6257e 100644 --- a/apps/web/core/constants/calendar.ts +++ b/apps/web/core/constants/calendar.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TCalendarLayouts } from "@plane/types"; import { EStartOfTheWeek } from "@plane/types"; diff --git a/apps/web/core/constants/editor.ts b/apps/web/core/constants/editor.ts index dc6d70f29b..5cd8b929cd 100644 --- a/apps/web/core/constants/editor.ts +++ b/apps/web/core/constants/editor.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Styles } from "@react-pdf/renderer"; import { StyleSheet } from "@react-pdf/renderer"; import type { LucideIcon } from "lucide-react"; diff --git a/apps/web/core/constants/fetch-keys.ts b/apps/web/core/constants/fetch-keys.ts index b7d669506e..abcbcf2bf4 100644 --- a/apps/web/core/constants/fetch-keys.ts +++ b/apps/web/core/constants/fetch-keys.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EUserPermissions, IJiraMetadata } from "@plane/types"; const paramsToKey = (params: any) => { diff --git a/apps/web/core/constants/plans.tsx b/apps/web/core/constants/plans.tsx index c664132b44..60f64f5e50 100644 --- a/apps/web/core/constants/plans.tsx +++ b/apps/web/core/constants/plans.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Mail, MessageCircle } from "lucide-react"; import { DiscordIcon } from "@plane/propel/icons"; import { EProductSubscriptionEnum } from "@plane/types"; diff --git a/apps/web/core/custom-events/chat-support.ts b/apps/web/core/custom-events/chat-support.ts index 01c27b18e4..8c7d0fa5c3 100644 --- a/apps/web/core/custom-events/chat-support.ts +++ b/apps/web/core/custom-events/chat-support.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + type ChatSupportType = "open"; type ChatSupportEventType = `chat-support:${ChatSupportType}`; diff --git a/apps/web/core/hooks/context/use-issue-modal.tsx b/apps/web/core/hooks/context/use-issue-modal.tsx index 270731d8d0..2cb6a35a50 100644 --- a/apps/web/core/hooks/context/use-issue-modal.tsx +++ b/apps/web/core/hooks/context/use-issue-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // components import { IssueModalContext } from "@/components/issues/issue-modal/context"; diff --git a/apps/web/core/hooks/editor/index.ts b/apps/web/core/hooks/editor/index.ts index 532916cd48..90fb1856e2 100644 --- a/apps/web/core/hooks/editor/index.ts +++ b/apps/web/core/hooks/editor/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-editor-config"; export * from "./use-editor-mention"; diff --git a/apps/web/core/hooks/editor/use-editor-config.ts b/apps/web/core/hooks/editor/use-editor-config.ts index cee66cca43..98eb92c753 100644 --- a/apps/web/core/hooks/editor/use-editor-config.ts +++ b/apps/web/core/hooks/editor/use-editor-config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; // plane imports import type { TFileHandler } from "@plane/editor"; diff --git a/apps/web/core/hooks/editor/use-editor-mention.tsx b/apps/web/core/hooks/editor/use-editor-mention.tsx index 622fc04389..46aa85229b 100644 --- a/apps/web/core/hooks/editor/use-editor-mention.tsx +++ b/apps/web/core/hooks/editor/use-editor-mention.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; // plane editor import type { TMentionSection, TMentionSuggestion } from "@plane/editor"; diff --git a/apps/web/core/hooks/oauth/core.tsx b/apps/web/core/hooks/oauth/core.tsx index ab084eefb1..1614883fe8 100644 --- a/apps/web/core/hooks/oauth/core.tsx +++ b/apps/web/core/hooks/oauth/core.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { useSearchParams } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/hooks/oauth/extended.tsx b/apps/web/core/hooks/oauth/extended.tsx index a23ee8e18d..01608b6e6b 100644 --- a/apps/web/core/hooks/oauth/extended.tsx +++ b/apps/web/core/hooks/oauth/extended.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TOAuthConfigs } from "@plane/types"; diff --git a/apps/web/core/hooks/oauth/index.ts b/apps/web/core/hooks/oauth/index.ts index 2b15648737..e88c743999 100644 --- a/apps/web/core/hooks/oauth/index.ts +++ b/apps/web/core/hooks/oauth/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TOAuthConfigs } from "@plane/types"; // local imports diff --git a/apps/web/core/hooks/store/estimates/index.ts b/apps/web/core/hooks/store/estimates/index.ts index 3b22fbb6f9..3316d5eca9 100644 --- a/apps/web/core/hooks/store/estimates/index.ts +++ b/apps/web/core/hooks/store/estimates/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-project-estimate"; export * from "./use-estimate"; export * from "./use-estimate-point"; diff --git a/apps/web/core/hooks/store/estimates/use-estimate-point.ts b/apps/web/core/hooks/store/estimates/use-estimate-point.ts index ba54a60dc4..1478364c5b 100644 --- a/apps/web/core/hooks/store/estimates/use-estimate-point.ts +++ b/apps/web/core/hooks/store/estimates/use-estimate-point.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/estimates/use-estimate.ts b/apps/web/core/hooks/store/estimates/use-estimate.ts index b79110459e..e01f3f44dd 100644 --- a/apps/web/core/hooks/store/estimates/use-estimate.ts +++ b/apps/web/core/hooks/store/estimates/use-estimate.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/estimates/use-project-estimate.ts b/apps/web/core/hooks/store/estimates/use-project-estimate.ts index a848271b0c..08b548225b 100644 --- a/apps/web/core/hooks/store/estimates/use-project-estimate.ts +++ b/apps/web/core/hooks/store/estimates/use-project-estimate.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // context import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/notifications/index.ts b/apps/web/core/hooks/store/notifications/index.ts index 07bcca1cf0..7a7b57e5f6 100644 --- a/apps/web/core/hooks/store/notifications/index.ts +++ b/apps/web/core/hooks/store/notifications/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-workspace-notifications"; export * from "./use-notification"; diff --git a/apps/web/core/hooks/store/notifications/use-notification.ts b/apps/web/core/hooks/store/notifications/use-notification.ts index 2086b05c92..e4e9ed0d51 100644 --- a/apps/web/core/hooks/store/notifications/use-notification.ts +++ b/apps/web/core/hooks/store/notifications/use-notification.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/notifications/use-workspace-notifications.ts b/apps/web/core/hooks/store/notifications/use-workspace-notifications.ts index 3dcdf46e5a..bd5268350c 100644 --- a/apps/web/core/hooks/store/notifications/use-workspace-notifications.ts +++ b/apps/web/core/hooks/store/notifications/use-workspace-notifications.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // context import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-analytics.ts b/apps/web/core/hooks/store/use-analytics.ts index e0494567af..6982f28c45 100644 --- a/apps/web/core/hooks/store/use-analytics.ts +++ b/apps/web/core/hooks/store/use-analytics.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-app-theme.ts b/apps/web/core/hooks/store/use-app-theme.ts index f10e89fc27..bd639f09bb 100644 --- a/apps/web/core/hooks/store/use-app-theme.ts +++ b/apps/web/core/hooks/store/use-app-theme.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-calendar-view.ts b/apps/web/core/hooks/store/use-calendar-view.ts index da3433fa34..cf19bec5bd 100644 --- a/apps/web/core/hooks/store/use-calendar-view.ts +++ b/apps/web/core/hooks/store/use-calendar-view.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-command-palette.ts b/apps/web/core/hooks/store/use-command-palette.ts index 26d58485c3..e08e2b7653 100644 --- a/apps/web/core/hooks/store/use-command-palette.ts +++ b/apps/web/core/hooks/store/use-command-palette.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-cycle-filter.ts b/apps/web/core/hooks/store/use-cycle-filter.ts index 14754d257a..0c533630f3 100644 --- a/apps/web/core/hooks/store/use-cycle-filter.ts +++ b/apps/web/core/hooks/store/use-cycle-filter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-cycle.ts b/apps/web/core/hooks/store/use-cycle.ts index 5893d7593c..810b940687 100644 --- a/apps/web/core/hooks/store/use-cycle.ts +++ b/apps/web/core/hooks/store/use-cycle.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-dashboard.ts b/apps/web/core/hooks/store/use-dashboard.ts index 9b43f54c10..eaba6c5a13 100644 --- a/apps/web/core/hooks/store/use-dashboard.ts +++ b/apps/web/core/hooks/store/use-dashboard.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-editor-asset.ts b/apps/web/core/hooks/store/use-editor-asset.ts index 08c9b74ddf..ec46c54f29 100644 --- a/apps/web/core/hooks/store/use-editor-asset.ts +++ b/apps/web/core/hooks/store/use-editor-asset.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-favorite.ts b/apps/web/core/hooks/store/use-favorite.ts index 6c21a55609..788ec94612 100644 --- a/apps/web/core/hooks/store/use-favorite.ts +++ b/apps/web/core/hooks/store/use-favorite.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-global-view.ts b/apps/web/core/hooks/store/use-global-view.ts index 92691be257..10ef617a17 100644 --- a/apps/web/core/hooks/store/use-global-view.ts +++ b/apps/web/core/hooks/store/use-global-view.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-home.ts b/apps/web/core/hooks/store/use-home.ts index 40d701ee0e..3012ea73be 100644 --- a/apps/web/core/hooks/store/use-home.ts +++ b/apps/web/core/hooks/store/use-home.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-inbox-issues.ts b/apps/web/core/hooks/store/use-inbox-issues.ts index 6c46e8ab84..bdd1ebe814 100644 --- a/apps/web/core/hooks/store/use-inbox-issues.ts +++ b/apps/web/core/hooks/store/use-inbox-issues.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-instance.ts b/apps/web/core/hooks/store/use-instance.ts index de66b10151..a64b4558dd 100644 --- a/apps/web/core/hooks/store/use-instance.ts +++ b/apps/web/core/hooks/store/use-instance.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-issue-detail.ts b/apps/web/core/hooks/store/use-issue-detail.ts index d0685f6a29..1d83949f86 100644 --- a/apps/web/core/hooks/store/use-issue-detail.ts +++ b/apps/web/core/hooks/store/use-issue-detail.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; import type { TIssueServiceType } from "@plane/types"; import { EIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/hooks/store/use-issues.ts b/apps/web/core/hooks/store/use-issues.ts index 33e6023fdf..816397d840 100644 --- a/apps/web/core/hooks/store/use-issues.ts +++ b/apps/web/core/hooks/store/use-issues.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; import { merge } from "lodash-es"; import type { TIssueMap } from "@plane/types"; diff --git a/apps/web/core/hooks/store/use-kanban-view.ts b/apps/web/core/hooks/store/use-kanban-view.ts index cf217a1e64..d1d4f468e7 100644 --- a/apps/web/core/hooks/store/use-kanban-view.ts +++ b/apps/web/core/hooks/store/use-kanban-view.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-label.ts b/apps/web/core/hooks/store/use-label.ts index d0412c5eba..abefad4054 100644 --- a/apps/web/core/hooks/store/use-label.ts +++ b/apps/web/core/hooks/store/use-label.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-member.ts b/apps/web/core/hooks/store/use-member.ts index bf093e960a..745bfd366f 100644 --- a/apps/web/core/hooks/store/use-member.ts +++ b/apps/web/core/hooks/store/use-member.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-module-filter.ts b/apps/web/core/hooks/store/use-module-filter.ts index a9ec42605d..6ba4ab5180 100644 --- a/apps/web/core/hooks/store/use-module-filter.ts +++ b/apps/web/core/hooks/store/use-module-filter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-module.ts b/apps/web/core/hooks/store/use-module.ts index cf07f4b0ff..cf47e4e6eb 100644 --- a/apps/web/core/hooks/store/use-module.ts +++ b/apps/web/core/hooks/store/use-module.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-multiple-select-store.ts b/apps/web/core/hooks/store/use-multiple-select-store.ts index 1a599bfa74..70d9bae0ff 100644 --- a/apps/web/core/hooks/store/use-multiple-select-store.ts +++ b/apps/web/core/hooks/store/use-multiple-select-store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-power-k.ts b/apps/web/core/hooks/store/use-power-k.ts index caf149df35..5a5025d3a5 100644 --- a/apps/web/core/hooks/store/use-power-k.ts +++ b/apps/web/core/hooks/store/use-power-k.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-project-filter.ts b/apps/web/core/hooks/store/use-project-filter.ts index 0c52ce423d..686e3444a4 100644 --- a/apps/web/core/hooks/store/use-project-filter.ts +++ b/apps/web/core/hooks/store/use-project-filter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-project-inbox.ts b/apps/web/core/hooks/store/use-project-inbox.ts index d36af8171d..18296aa765 100644 --- a/apps/web/core/hooks/store/use-project-inbox.ts +++ b/apps/web/core/hooks/store/use-project-inbox.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-project-publish.ts b/apps/web/core/hooks/store/use-project-publish.ts index 76ce87984b..5f0f111304 100644 --- a/apps/web/core/hooks/store/use-project-publish.ts +++ b/apps/web/core/hooks/store/use-project-publish.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-project-state.ts b/apps/web/core/hooks/store/use-project-state.ts index 106b1c3bec..3bfbf2b82c 100644 --- a/apps/web/core/hooks/store/use-project-state.ts +++ b/apps/web/core/hooks/store/use-project-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-project-view.ts b/apps/web/core/hooks/store/use-project-view.ts index 43e43d56d5..d26dc0ee45 100644 --- a/apps/web/core/hooks/store/use-project-view.ts +++ b/apps/web/core/hooks/store/use-project-view.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-project.ts b/apps/web/core/hooks/store/use-project.ts index 1ee2d7bf6f..4694f030d8 100644 --- a/apps/web/core/hooks/store/use-project.ts +++ b/apps/web/core/hooks/store/use-project.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-router-params.ts b/apps/web/core/hooks/store/use-router-params.ts index 2e420c4bb2..19a49ce516 100644 --- a/apps/web/core/hooks/store/use-router-params.ts +++ b/apps/web/core/hooks/store/use-router-params.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-webhook.ts b/apps/web/core/hooks/store/use-webhook.ts index 3c2e40e8c8..ed8dd139a8 100644 --- a/apps/web/core/hooks/store/use-webhook.ts +++ b/apps/web/core/hooks/store/use-webhook.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/use-workspace.ts b/apps/web/core/hooks/store/use-workspace.ts index 4b77c98b8b..482e800e10 100644 --- a/apps/web/core/hooks/store/use-workspace.ts +++ b/apps/web/core/hooks/store/use-workspace.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/user/index.ts b/apps/web/core/hooks/store/user/index.ts index 8b00f82b04..845d751841 100644 --- a/apps/web/core/hooks/store/user/index.ts +++ b/apps/web/core/hooks/store/user/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./user-user"; export * from "./user-user-profile"; export * from "./user-user-settings"; diff --git a/apps/web/core/hooks/store/user/user-permissions.ts b/apps/web/core/hooks/store/user/user-permissions.ts index ce698a9f99..548e2aaafe 100644 --- a/apps/web/core/hooks/store/user/user-permissions.ts +++ b/apps/web/core/hooks/store/user/user-permissions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/user/user-user-profile.ts b/apps/web/core/hooks/store/user/user-user-profile.ts index c9937cd902..d7393dd9c8 100644 --- a/apps/web/core/hooks/store/user/user-user-profile.ts +++ b/apps/web/core/hooks/store/user/user-user-profile.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/user/user-user-settings.ts b/apps/web/core/hooks/store/user/user-user-settings.ts index 85d5fa0172..b14a8d1ad5 100644 --- a/apps/web/core/hooks/store/user/user-user-settings.ts +++ b/apps/web/core/hooks/store/user/user-user-settings.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/user/user-user.ts b/apps/web/core/hooks/store/user/user-user.ts index e2261e0b1c..6c5757927a 100644 --- a/apps/web/core/hooks/store/user/user-user.ts +++ b/apps/web/core/hooks/store/user/user-user.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/work-item-filters/use-work-item-filter-instance.ts b/apps/web/core/hooks/store/work-item-filters/use-work-item-filter-instance.ts index 686b5c6e83..fca3685b2f 100644 --- a/apps/web/core/hooks/store/work-item-filters/use-work-item-filter-instance.ts +++ b/apps/web/core/hooks/store/work-item-filters/use-work-item-filter-instance.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IWorkItemFilterInstance } from "@plane/shared-state"; import type { EIssuesStoreType } from "@plane/types"; diff --git a/apps/web/core/hooks/store/work-item-filters/use-work-item-filters.ts b/apps/web/core/hooks/store/work-item-filters/use-work-item-filters.ts index 3c64033218..1a3ac339c6 100644 --- a/apps/web/core/hooks/store/work-item-filters/use-work-item-filters.ts +++ b/apps/web/core/hooks/store/work-item-filters/use-work-item-filters.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // plane imports import type { IWorkItemFilterStore } from "@plane/shared-state"; diff --git a/apps/web/core/hooks/store/workspace-draft/index.ts b/apps/web/core/hooks/store/workspace-draft/index.ts index 59f8e2d965..5e1485114e 100644 --- a/apps/web/core/hooks/store/workspace-draft/index.ts +++ b/apps/web/core/hooks/store/workspace-draft/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-workspace-draft-issue"; export * from "./use-workspace-draft-issue-filters"; diff --git a/apps/web/core/hooks/store/workspace-draft/use-workspace-draft-issue-filters.ts b/apps/web/core/hooks/store/workspace-draft/use-workspace-draft-issue-filters.ts index b0fc6639be..1c0b96ec9b 100644 --- a/apps/web/core/hooks/store/workspace-draft/use-workspace-draft-issue-filters.ts +++ b/apps/web/core/hooks/store/workspace-draft/use-workspace-draft-issue-filters.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/store/workspace-draft/use-workspace-draft-issue.ts b/apps/web/core/hooks/store/workspace-draft/use-workspace-draft-issue.ts index a6301f4001..929e156ef6 100644 --- a/apps/web/core/hooks/store/workspace-draft/use-workspace-draft-issue.ts +++ b/apps/web/core/hooks/store/workspace-draft/use-workspace-draft-issue.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // mobx store import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/use-app-router.tsx b/apps/web/core/hooks/use-app-router.tsx index 9fb11e2c48..a86920bd0a 100644 --- a/apps/web/core/hooks/use-app-router.tsx +++ b/apps/web/core/hooks/use-app-router.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // router from n-progress-bar import { useRouter } from "next/navigation"; diff --git a/apps/web/core/hooks/use-auto-save.tsx b/apps/web/core/hooks/use-auto-save.tsx index 1d8a6b12b3..351a34cb35 100644 --- a/apps/web/core/hooks/use-auto-save.tsx +++ b/apps/web/core/hooks/use-auto-save.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { debounce } from "lodash-es"; diff --git a/apps/web/core/hooks/use-auto-scroller.tsx b/apps/web/core/hooks/use-auto-scroller.tsx index 48a1ac2c00..bf3e654fb2 100644 --- a/apps/web/core/hooks/use-auto-scroller.tsx +++ b/apps/web/core/hooks/use-auto-scroller.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import { useEffect, useRef } from "react"; diff --git a/apps/web/core/hooks/use-chat-support.ts b/apps/web/core/hooks/use-chat-support.ts index 9e284275dd..b4e3e70a0c 100644 --- a/apps/web/core/hooks/use-chat-support.ts +++ b/apps/web/core/hooks/use-chat-support.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; // custom events import { ChatSupportEvent } from "@/custom-events/chat-support"; diff --git a/apps/web/core/hooks/use-collaborative-page-actions.tsx b/apps/web/core/hooks/use-collaborative-page-actions.tsx index b10d8405db..7fc1491ff2 100644 --- a/apps/web/core/hooks/use-collaborative-page-actions.tsx +++ b/apps/web/core/hooks/use-collaborative-page-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect, useCallback, useMemo } from "react"; import type { EditorRefApi, TDocumentEventsServer } from "@plane/editor"; import type { TDocumentEventsClient } from "@plane/editor/lib"; diff --git a/apps/web/core/hooks/use-current-time.tsx b/apps/web/core/hooks/use-current-time.tsx index 4f361cea86..f703b63413 100644 --- a/apps/web/core/hooks/use-current-time.tsx +++ b/apps/web/core/hooks/use-current-time.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; export const useCurrentTime = () => { diff --git a/apps/web/core/hooks/use-debounce.tsx b/apps/web/core/hooks/use-debounce.tsx index 80a02a1626..6e833da129 100644 --- a/apps/web/core/hooks/use-debounce.tsx +++ b/apps/web/core/hooks/use-debounce.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; const useDebounce = (value: T, milliSeconds: number): T => { diff --git a/apps/web/core/hooks/use-dropdown-key-down.tsx b/apps/web/core/hooks/use-dropdown-key-down.tsx index fdb925dc23..ede4c1a8b3 100644 --- a/apps/web/core/hooks/use-dropdown-key-down.tsx +++ b/apps/web/core/hooks/use-dropdown-key-down.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; type TUseDropdownKeyDown = { diff --git a/apps/web/core/hooks/use-dropdown.ts b/apps/web/core/hooks/use-dropdown.ts index 5568305e83..ab54a0a5ab 100644 --- a/apps/web/core/hooks/use-dropdown.ts +++ b/apps/web/core/hooks/use-dropdown.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; // plane helpers import { useOutsideClickDetector } from "@plane/hooks"; diff --git a/apps/web/core/hooks/use-expandable-search.ts b/apps/web/core/hooks/use-expandable-search.ts index 3b9c380685..a63252f187 100644 --- a/apps/web/core/hooks/use-expandable-search.ts +++ b/apps/web/core/hooks/use-expandable-search.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef, useState } from "react"; import { useOutsideClickDetector } from "@plane/hooks"; diff --git a/apps/web/core/hooks/use-extended-sidebar-overview-outside-click.tsx b/apps/web/core/hooks/use-extended-sidebar-overview-outside-click.tsx index ebe873f6c5..6fecda2f2b 100644 --- a/apps/web/core/hooks/use-extended-sidebar-overview-outside-click.tsx +++ b/apps/web/core/hooks/use-extended-sidebar-overview-outside-click.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import { useEffect, useCallback } from "react"; diff --git a/apps/web/core/hooks/use-favorite-item-details.tsx b/apps/web/core/hooks/use-favorite-item-details.tsx index ae8c7638ac..b3c9468e39 100644 --- a/apps/web/core/hooks/use-favorite-item-details.tsx +++ b/apps/web/core/hooks/use-favorite-item-details.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IFavorite } from "@plane/types"; // components diff --git a/apps/web/core/hooks/use-group-dragndrop.ts b/apps/web/core/hooks/use-group-dragndrop.ts index f1929283b0..b21cdcbe10 100644 --- a/apps/web/core/hooks/use-group-dragndrop.ts +++ b/apps/web/core/hooks/use-group-dragndrop.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useParams } from "next/navigation"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; import type { EIssuesStoreType, TIssue, TIssueGroupByOptions, TIssueOrderByOptions } from "@plane/types"; diff --git a/apps/web/core/hooks/use-integration-popup.tsx b/apps/web/core/hooks/use-integration-popup.tsx index 371aef0064..92fbe2c277 100644 --- a/apps/web/core/hooks/use-integration-popup.tsx +++ b/apps/web/core/hooks/use-integration-popup.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRef, useState } from "react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/hooks/use-intersection-observer.ts b/apps/web/core/hooks/use-intersection-observer.ts index 982894d13e..ea74c09323 100644 --- a/apps/web/core/hooks/use-intersection-observer.ts +++ b/apps/web/core/hooks/use-intersection-observer.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RefObject } from "react"; import { useEffect } from "react"; diff --git a/apps/web/core/hooks/use-issue-layout-store.ts b/apps/web/core/hooks/use-issue-layout-store.ts index f5a8d35fda..dc1bae7e8c 100644 --- a/apps/web/core/hooks/use-issue-layout-store.ts +++ b/apps/web/core/hooks/use-issue-layout-store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { createContext, useContext } from "react"; import { useParams } from "next/navigation"; import { EIssuesStoreType } from "@plane/types"; diff --git a/apps/web/core/hooks/use-issue-peek-overview-redirection.tsx b/apps/web/core/hooks/use-issue-peek-overview-redirection.tsx index c1d0163d5c..5e4f92263b 100644 --- a/apps/web/core/hooks/use-issue-peek-overview-redirection.tsx +++ b/apps/web/core/hooks/use-issue-peek-overview-redirection.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useRouter } from "next/navigation"; // types import type { TIssue } from "@plane/types"; diff --git a/apps/web/core/hooks/use-issues-actions.tsx b/apps/web/core/hooks/use-issues-actions.tsx index c14c951fa5..13059fd94d 100644 --- a/apps/web/core/hooks/use-issues-actions.tsx +++ b/apps/web/core/hooks/use-issues-actions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable react-hooks/exhaustive-deps */ import { useCallback, useMemo } from "react"; // types diff --git a/apps/web/core/hooks/use-keypress.tsx b/apps/web/core/hooks/use-keypress.tsx index c7243348d7..655b1a8d3d 100644 --- a/apps/web/core/hooks/use-keypress.tsx +++ b/apps/web/core/hooks/use-keypress.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; const useKeypress = (key: string, callback: (event: KeyboardEvent) => void) => { diff --git a/apps/web/core/hooks/use-local-storage.tsx b/apps/web/core/hooks/use-local-storage.tsx index 66c92cf9b0..e62c894790 100644 --- a/apps/web/core/hooks/use-local-storage.tsx +++ b/apps/web/core/hooks/use-local-storage.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect, useCallback } from "react"; export const getValueFromLocalStorage = (key: string, defaultValue: any) => { diff --git a/apps/web/core/hooks/use-multiple-select.ts b/apps/web/core/hooks/use-multiple-select.ts index 609bf335a1..cb55c1c92c 100644 --- a/apps/web/core/hooks/use-multiple-select.ts +++ b/apps/web/core/hooks/use-multiple-select.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useMemo } from "react"; // hooks import { useMultipleSelectStore } from "@/hooks/store/use-multiple-select-store"; diff --git a/apps/web/core/hooks/use-navigation-preferences.ts b/apps/web/core/hooks/use-navigation-preferences.ts index 155414cb8e..a7a71d09b7 100644 --- a/apps/web/core/hooks/use-navigation-preferences.ts +++ b/apps/web/core/hooks/use-navigation-preferences.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; import { useParams } from "next/navigation"; import type { diff --git a/apps/web/core/hooks/use-online-status.ts b/apps/web/core/hooks/use-online-status.ts index 610fe1d5d2..517738c552 100644 --- a/apps/web/core/hooks/use-online-status.ts +++ b/apps/web/core/hooks/use-online-status.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; const useOnlineStatus = () => { diff --git a/apps/web/core/hooks/use-page-fallback.ts b/apps/web/core/hooks/use-page-fallback.ts index 1392bb639a..bbcc328fa8 100644 --- a/apps/web/core/hooks/use-page-fallback.ts +++ b/apps/web/core/hooks/use-page-fallback.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef, useState } from "react"; import type { EditorRefApi, CollaborationState } from "@plane/editor"; // plane editor diff --git a/apps/web/core/hooks/use-page-filters.ts b/apps/web/core/hooks/use-page-filters.ts index b290253a86..df944672cc 100644 --- a/apps/web/core/hooks/use-page-filters.ts +++ b/apps/web/core/hooks/use-page-filters.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; // plane editor import type { TEditorFontSize, TEditorFontStyle } from "@plane/editor"; diff --git a/apps/web/core/hooks/use-page-operations.ts b/apps/web/core/hooks/use-page-operations.ts index da63c3e768..13b38443ef 100644 --- a/apps/web/core/hooks/use-page-operations.ts +++ b/apps/web/core/hooks/use-page-operations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo } from "react"; // plane imports import { IS_FAVORITE_MENU_OPEN } from "@plane/constants"; diff --git a/apps/web/core/hooks/use-parse-editor-content.ts b/apps/web/core/hooks/use-parse-editor-content.ts index 840317fa6b..72d47a2a51 100644 --- a/apps/web/core/hooks/use-parse-editor-content.ts +++ b/apps/web/core/hooks/use-parse-editor-content.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; // plane types import type { TSearchEntities } from "@plane/types"; diff --git a/apps/web/core/hooks/use-peek-overview-outside-click.tsx b/apps/web/core/hooks/use-peek-overview-outside-click.tsx index 1183a1c124..d8c1dd0eea 100644 --- a/apps/web/core/hooks/use-peek-overview-outside-click.tsx +++ b/apps/web/core/hooks/use-peek-overview-outside-click.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import { useEffect, useCallback } from "react"; diff --git a/apps/web/core/hooks/use-platform-os.tsx b/apps/web/core/hooks/use-platform-os.tsx index 771706d1d3..b531586ab1 100644 --- a/apps/web/core/hooks/use-platform-os.tsx +++ b/apps/web/core/hooks/use-platform-os.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const usePlatformOS = () => { const userAgent = window.navigator.userAgent; const isMobile = /iPhone|iPad|iPod|Android/i.test(userAgent); diff --git a/apps/web/core/hooks/use-project-issue-properties.ts b/apps/web/core/hooks/use-project-issue-properties.ts index 77904ce3f8..2e496eaadf 100644 --- a/apps/web/core/hooks/use-project-issue-properties.ts +++ b/apps/web/core/hooks/use-project-issue-properties.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useProjectEstimates } from "./store/estimates"; import { useCycle } from "./store/use-cycle"; import { useLabel } from "./store/use-label"; diff --git a/apps/web/core/hooks/use-query-params.ts b/apps/web/core/hooks/use-query-params.ts index 84d65bebb3..b8ffbf518f 100644 --- a/apps/web/core/hooks/use-query-params.ts +++ b/apps/web/core/hooks/use-query-params.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { useSearchParams, usePathname } from "next/navigation"; diff --git a/apps/web/core/hooks/use-realtime-page-events.tsx b/apps/web/core/hooks/use-realtime-page-events.tsx index 2b849764e0..949fe0397d 100644 --- a/apps/web/core/hooks/use-realtime-page-events.tsx +++ b/apps/web/core/hooks/use-realtime-page-events.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useMemo } from "react"; // plane imports import type { EventToPayloadMap } from "@plane/editor"; diff --git a/apps/web/core/hooks/use-reload-confirmation.tsx b/apps/web/core/hooks/use-reload-confirmation.tsx index 6ba324d148..62332f0c11 100644 --- a/apps/web/core/hooks/use-reload-confirmation.tsx +++ b/apps/web/core/hooks/use-reload-confirmation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useState } from "react"; //TODO: remove temp flag isActive later and use showAlert as the source of truth diff --git a/apps/web/core/hooks/use-stickies.tsx b/apps/web/core/hooks/use-stickies.tsx index df09a87f5b..8e197c3f60 100644 --- a/apps/web/core/hooks/use-stickies.tsx +++ b/apps/web/core/hooks/use-stickies.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // context import { StoreContext } from "@/lib/store-context"; diff --git a/apps/web/core/hooks/use-table-keyboard-navigation.tsx b/apps/web/core/hooks/use-table-keyboard-navigation.tsx index 0d1c26f3c2..83d46905f2 100644 --- a/apps/web/core/hooks/use-table-keyboard-navigation.tsx +++ b/apps/web/core/hooks/use-table-keyboard-navigation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const useTableKeyboardNavigation = () => { const getPreviousRow = (element: HTMLElement) => { const previousRow = element.closest("tr")?.previousSibling; diff --git a/apps/web/core/hooks/use-timeline-chart.ts b/apps/web/core/hooks/use-timeline-chart.ts index 5dec8b5eaa..ec8b4f1a0b 100644 --- a/apps/web/core/hooks/use-timeline-chart.ts +++ b/apps/web/core/hooks/use-timeline-chart.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // types import type { TTimelineType } from "@plane/types"; diff --git a/apps/web/core/hooks/use-timer.tsx b/apps/web/core/hooks/use-timer.tsx index 1edf4931ab..c663d80071 100644 --- a/apps/web/core/hooks/use-timer.tsx +++ b/apps/web/core/hooks/use-timer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; const TIMER = 30; diff --git a/apps/web/core/hooks/use-timezone-converter.tsx b/apps/web/core/hooks/use-timezone-converter.tsx index 6db001d448..d4f6a7533f 100644 --- a/apps/web/core/hooks/use-timezone-converter.tsx +++ b/apps/web/core/hooks/use-timezone-converter.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; import { format } from "date-fns"; import { useProject } from "@/hooks/store/use-project"; diff --git a/apps/web/core/hooks/use-timezone.tsx b/apps/web/core/hooks/use-timezone.tsx index 2356317cfa..045356670a 100644 --- a/apps/web/core/hooks/use-timezone.tsx +++ b/apps/web/core/hooks/use-timezone.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import useSWR from "swr"; import type { TTimezoneObject } from "@plane/types"; // services diff --git a/apps/web/core/hooks/use-window-size.tsx b/apps/web/core/hooks/use-window-size.tsx index dbe44a777b..4516de5e0b 100644 --- a/apps/web/core/hooks/use-window-size.tsx +++ b/apps/web/core/hooks/use-window-size.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useState } from "react"; const useSize = () => { diff --git a/apps/web/core/hooks/use-workspace-invitation.tsx b/apps/web/core/hooks/use-workspace-invitation.tsx index 483e46e05c..1ca94427c2 100644 --- a/apps/web/core/hooks/use-workspace-invitation.tsx +++ b/apps/web/core/hooks/use-workspace-invitation.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect } from "react"; import type { Control, FieldArrayWithId, FormState, UseFormWatch } from "react-hook-form"; import { useFieldArray, useForm } from "react-hook-form"; diff --git a/apps/web/core/hooks/use-workspace-issue-properties.ts b/apps/web/core/hooks/use-workspace-issue-properties.ts index f1491f5a05..3c71503d54 100644 --- a/apps/web/core/hooks/use-workspace-issue-properties.ts +++ b/apps/web/core/hooks/use-workspace-issue-properties.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import useSWR from "swr"; // plane web imports import { WORKSPACE_ESTIMATES, WORKSPACE_CYCLES, WORKSPACE_LABELS, WORKSPACE_MODULES } from "@/constants/fetch-keys"; diff --git a/apps/web/core/hooks/use-workspace-paths.ts b/apps/web/core/hooks/use-workspace-paths.ts index f0d1c9b52e..7ba6a8d101 100644 --- a/apps/web/core/hooks/use-workspace-paths.ts +++ b/apps/web/core/hooks/use-workspace-paths.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useParams, usePathname } from "next/navigation"; /** diff --git a/apps/web/core/layouts/auth-layout/project-wrapper.tsx b/apps/web/core/layouts/auth-layout/project-wrapper.tsx index fbbe1807cc..1c4fac1b50 100644 --- a/apps/web/core/layouts/auth-layout/project-wrapper.tsx +++ b/apps/web/core/layouts/auth-layout/project-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx b/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx index 394fdabf38..7cba3ee368 100644 --- a/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx +++ b/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/layouts/default-layout/index.tsx b/apps/web/core/layouts/default-layout/index.tsx index ca7e5db442..850d828925 100644 --- a/apps/web/core/layouts/default-layout/index.tsx +++ b/apps/web/core/layouts/default-layout/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/lib/app-rail/context.tsx b/apps/web/core/lib/app-rail/context.tsx index e2e871e4c8..70932d7e5d 100644 --- a/apps/web/core/lib/app-rail/context.tsx +++ b/apps/web/core/lib/app-rail/context.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { createContext, useContext } from "react"; import type { IAppRailVisibilityContext } from "./types"; diff --git a/apps/web/core/lib/app-rail/index.ts b/apps/web/core/lib/app-rail/index.ts index 053a94f0c6..2e5c29a906 100644 --- a/apps/web/core/lib/app-rail/index.ts +++ b/apps/web/core/lib/app-rail/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./context"; export * from "./provider"; export * from "./types"; diff --git a/apps/web/core/lib/app-rail/provider.tsx b/apps/web/core/lib/app-rail/provider.tsx index e51e82c9ce..7788b786b0 100644 --- a/apps/web/core/lib/app-rail/provider.tsx +++ b/apps/web/core/lib/app-rail/provider.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/lib/app-rail/types.ts b/apps/web/core/lib/app-rail/types.ts index 36dbcb129e..459fed8928 100644 --- a/apps/web/core/lib/app-rail/types.ts +++ b/apps/web/core/lib/app-rail/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Type definitions for app-rail visibility context */ diff --git a/apps/web/core/lib/b-progress/AppProgressBar.tsx b/apps/web/core/lib/b-progress/AppProgressBar.tsx index b07f0ffb28..c3e0f03cc2 100644 --- a/apps/web/core/lib/b-progress/AppProgressBar.tsx +++ b/apps/web/core/lib/b-progress/AppProgressBar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { BProgress } from "@bprogress/core"; import { useNavigation } from "react-router"; diff --git a/apps/web/core/lib/local-storage.ts b/apps/web/core/lib/local-storage.ts index f81b96d959..b68c122172 100644 --- a/apps/web/core/lib/local-storage.ts +++ b/apps/web/core/lib/local-storage.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty } from "lodash-es"; export const storage = { diff --git a/apps/web/core/lib/polyfills/index.ts b/apps/web/core/lib/polyfills/index.ts index e006a090f1..2243dc620c 100644 --- a/apps/web/core/lib/polyfills/index.ts +++ b/apps/web/core/lib/polyfills/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + if (typeof window !== "undefined" && window) { // Add request callback polyfill to browser in case it does not exist window.requestIdleCallback = diff --git a/apps/web/core/lib/store-context.tsx b/apps/web/core/lib/store-context.tsx index 5402bb9fe4..6a5f5c2102 100644 --- a/apps/web/core/lib/store-context.tsx +++ b/apps/web/core/lib/store-context.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactElement } from "react"; import { createContext } from "react"; // plane web store diff --git a/apps/web/core/lib/wrappers/authentication-wrapper.tsx b/apps/web/core/lib/wrappers/authentication-wrapper.tsx index 5d8ae189b4..fc142c3002 100644 --- a/apps/web/core/lib/wrappers/authentication-wrapper.tsx +++ b/apps/web/core/lib/wrappers/authentication-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; import { useSearchParams, usePathname } from "next/navigation"; diff --git a/apps/web/core/lib/wrappers/instance-wrapper.tsx b/apps/web/core/lib/wrappers/instance-wrapper.tsx index fb082107fa..c5beae4d0f 100644 --- a/apps/web/core/lib/wrappers/instance-wrapper.tsx +++ b/apps/web/core/lib/wrappers/instance-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/lib/wrappers/store-wrapper.tsx b/apps/web/core/lib/wrappers/store-wrapper.tsx index 5dad12826c..64c0940058 100644 --- a/apps/web/core/lib/wrappers/store-wrapper.tsx +++ b/apps/web/core/lib/wrappers/store-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/services/ai.service.ts b/apps/web/core/services/ai.service.ts index 92f9d30d94..d76fdc6c6d 100644 --- a/apps/web/core/services/ai.service.ts +++ b/apps/web/core/services/ai.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // helpers import { API_BASE_URL } from "@plane/constants"; // plane web constants diff --git a/apps/web/core/services/analytics.service.ts b/apps/web/core/services/analytics.service.ts index e3ccfb5000..9b0c9431df 100644 --- a/apps/web/core/services/analytics.service.ts +++ b/apps/web/core/services/analytics.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { diff --git a/apps/web/core/services/api.service.ts b/apps/web/core/services/api.service.ts index 7c6cd1c6e1..4ef1a2a4bd 100644 --- a/apps/web/core/services/api.service.ts +++ b/apps/web/core/services/api.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable @typescript-eslint/no-explicit-any */ import type { AxiosInstance, AxiosRequestConfig } from "axios"; import axios from "axios"; diff --git a/apps/web/core/services/app_config.service.ts b/apps/web/core/services/app_config.service.ts index e930ac232a..f7d75c7e78 100644 --- a/apps/web/core/services/app_config.service.ts +++ b/apps/web/core/services/app_config.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // services import { API_BASE_URL } from "@plane/constants"; import { APIService } from "@/services/api.service"; diff --git a/apps/web/core/services/app_installation.service.ts b/apps/web/core/services/app_installation.service.ts index 6c5f0e4def..d91600c474 100644 --- a/apps/web/core/services/app_installation.service.ts +++ b/apps/web/core/services/app_installation.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // services import { API_BASE_URL } from "@plane/constants"; import { APIService } from "@/services/api.service"; diff --git a/apps/web/core/services/auth.service.ts b/apps/web/core/services/auth.service.ts index d1360f9ae1..c2aff17e53 100644 --- a/apps/web/core/services/auth.service.ts +++ b/apps/web/core/services/auth.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import { API_BASE_URL } from "@plane/constants"; import type { ICsrfTokenData, IEmailCheckData, IEmailCheckResponse } from "@plane/types"; diff --git a/apps/web/core/services/cycle.service.ts b/apps/web/core/services/cycle.service.ts index 222f04bf2a..75385ed96f 100644 --- a/apps/web/core/services/cycle.service.ts +++ b/apps/web/core/services/cycle.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // services import { API_BASE_URL } from "@plane/constants"; import type { diff --git a/apps/web/core/services/cycle_archive.service.ts b/apps/web/core/services/cycle_archive.service.ts index 22b1e94331..564747d03c 100644 --- a/apps/web/core/services/cycle_archive.service.ts +++ b/apps/web/core/services/cycle_archive.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // type import { API_BASE_URL } from "@plane/constants"; import type { ICycle } from "@plane/types"; diff --git a/apps/web/core/services/dashboard.service.ts b/apps/web/core/services/dashboard.service.ts index 211b47173c..a6ebc46292 100644 --- a/apps/web/core/services/dashboard.service.ts +++ b/apps/web/core/services/dashboard.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { THomeDashboardResponse, TWidget, TWidgetStatsResponse, TWidgetStatsRequestParams } from "@plane/types"; import { APIService } from "@/services/api.service"; diff --git a/apps/web/core/services/favorite/favorite.service.ts b/apps/web/core/services/favorite/favorite.service.ts index 13168932fb..6e8dd9f9a9 100644 --- a/apps/web/core/services/favorite/favorite.service.ts +++ b/apps/web/core/services/favorite/favorite.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IFavorite } from "@plane/types"; // helpers diff --git a/apps/web/core/services/favorite/index.ts b/apps/web/core/services/favorite/index.ts index 41df23a178..a789ea33c8 100644 --- a/apps/web/core/services/favorite/index.ts +++ b/apps/web/core/services/favorite/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./favorite.service"; diff --git a/apps/web/core/services/file-upload.service.ts b/apps/web/core/services/file-upload.service.ts index 1c404cb02c..f8f4939679 100644 --- a/apps/web/core/services/file-upload.service.ts +++ b/apps/web/core/services/file-upload.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AxiosRequestConfig } from "axios"; import axios from "axios"; // services diff --git a/apps/web/core/services/file.service.ts b/apps/web/core/services/file.service.ts index cfa367376a..6e252d76af 100644 --- a/apps/web/core/services/file.service.ts +++ b/apps/web/core/services/file.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AxiosRequestConfig } from "axios"; // plane types import { API_BASE_URL } from "@plane/constants"; diff --git a/apps/web/core/services/inbox/inbox-issue.service.ts b/apps/web/core/services/inbox/inbox-issue.service.ts index 3cdfc28fc9..af0b4dee45 100644 --- a/apps/web/core/services/inbox/inbox-issue.service.ts +++ b/apps/web/core/services/inbox/inbox-issue.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { TInboxIssue, TIssue, TInboxIssueWithPagination } from "@plane/types"; diff --git a/apps/web/core/services/inbox/index.ts b/apps/web/core/services/inbox/index.ts index 64bbf162b2..03fb811970 100644 --- a/apps/web/core/services/inbox/index.ts +++ b/apps/web/core/services/inbox/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./inbox-issue.service"; export * from "./intake-work_item_version.service"; diff --git a/apps/web/core/services/inbox/intake-work_item_version.service.ts b/apps/web/core/services/inbox/intake-work_item_version.service.ts index 231ae718c3..5d821dbd44 100644 --- a/apps/web/core/services/inbox/intake-work_item_version.service.ts +++ b/apps/web/core/services/inbox/intake-work_item_version.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { TDescriptionVersionsListResponse, TDescriptionVersionDetails } from "@plane/types"; diff --git a/apps/web/core/services/instance.service.ts b/apps/web/core/services/instance.service.ts index b85fad7db2..ae2e9d516f 100644 --- a/apps/web/core/services/instance.service.ts +++ b/apps/web/core/services/instance.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import { API_BASE_URL } from "@plane/constants"; import type { IInstanceInfo, TPage } from "@plane/types"; diff --git a/apps/web/core/services/integrations/github.service.ts b/apps/web/core/services/integrations/github.service.ts index 11fdaf1e07..5992ffad4e 100644 --- a/apps/web/core/services/integrations/github.service.ts +++ b/apps/web/core/services/integrations/github.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IGithubRepoInfo, IGithubServiceImportFormData } from "@plane/types"; import { APIService } from "@/services/api.service"; diff --git a/apps/web/core/services/integrations/index.ts b/apps/web/core/services/integrations/index.ts index cf9a070eec..595441e0dc 100644 --- a/apps/web/core/services/integrations/index.ts +++ b/apps/web/core/services/integrations/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./github.service"; export * from "./integration.service"; export * from "./jira.service"; diff --git a/apps/web/core/services/integrations/integration.service.ts b/apps/web/core/services/integrations/integration.service.ts index 0f6ef6a0db..e158ef35ad 100644 --- a/apps/web/core/services/integrations/integration.service.ts +++ b/apps/web/core/services/integrations/integration.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IAppIntegration, IImporterService, IWorkspaceIntegration, IExportServiceResponse } from "@plane/types"; import { APIService } from "@/services/api.service"; diff --git a/apps/web/core/services/integrations/jira.service.ts b/apps/web/core/services/integrations/jira.service.ts index 935b15a33e..cbc3e3623b 100644 --- a/apps/web/core/services/integrations/jira.service.ts +++ b/apps/web/core/services/integrations/jira.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IJiraMetadata, IJiraResponse, IJiraImporterForm } from "@plane/types"; import { APIService } from "@/services/api.service"; diff --git a/apps/web/core/services/issue/index.ts b/apps/web/core/services/issue/index.ts index 08983c0e13..3b3525ec1e 100644 --- a/apps/web/core/services/issue/index.ts +++ b/apps/web/core/services/issue/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue_archive.service"; export * from "./issue.service"; export * from "./issue_reaction.service"; diff --git a/apps/web/core/services/issue/issue.service.ts b/apps/web/core/services/issue/issue.service.ts index cae879ff64..f80ed38054 100644 --- a/apps/web/core/services/issue/issue.service.ts +++ b/apps/web/core/services/issue/issue.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import { EIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/services/issue/issue_activity.service.ts b/apps/web/core/services/issue/issue_activity.service.ts index 1a31da5fdc..61102f8089 100644 --- a/apps/web/core/services/issue/issue_activity.service.ts +++ b/apps/web/core/services/issue/issue_activity.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { TIssueActivity, TIssueServiceType } from "@plane/types"; import { EIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/services/issue/issue_archive.service.ts b/apps/web/core/services/issue/issue_archive.service.ts index eccd95699e..0ebf5abc6c 100644 --- a/apps/web/core/services/issue/issue_archive.service.ts +++ b/apps/web/core/services/issue/issue_archive.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { TIssue, TIssueServiceType } from "@plane/types"; import { EIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/services/issue/issue_attachment.service.ts b/apps/web/core/services/issue/issue_attachment.service.ts index f8bb1df85e..98660ae6c0 100644 --- a/apps/web/core/services/issue/issue_attachment.service.ts +++ b/apps/web/core/services/issue/issue_attachment.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AxiosRequestConfig } from "axios"; import { API_BASE_URL } from "@plane/constants"; // plane types diff --git a/apps/web/core/services/issue/issue_comment.service.ts b/apps/web/core/services/issue/issue_comment.service.ts index 05425f2068..873c8a1ca0 100644 --- a/apps/web/core/services/issue/issue_comment.service.ts +++ b/apps/web/core/services/issue/issue_comment.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane types import { API_BASE_URL } from "@plane/constants"; import type { TIssueComment, TIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/services/issue/issue_label.service.ts b/apps/web/core/services/issue/issue_label.service.ts index 00971feb7a..d07fcd7d7d 100644 --- a/apps/web/core/services/issue/issue_label.service.ts +++ b/apps/web/core/services/issue/issue_label.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IIssueLabel } from "@plane/types"; // services diff --git a/apps/web/core/services/issue/issue_reaction.service.ts b/apps/web/core/services/issue/issue_reaction.service.ts index fe5752f164..5136310205 100644 --- a/apps/web/core/services/issue/issue_reaction.service.ts +++ b/apps/web/core/services/issue/issue_reaction.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import { EIssueServiceType } from "@plane/types"; import type { TIssueCommentReaction, TIssueReaction, TIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/services/issue/issue_relation.service.ts b/apps/web/core/services/issue/issue_relation.service.ts index cb9c46bc7c..906cacbd56 100644 --- a/apps/web/core/services/issue/issue_relation.service.ts +++ b/apps/web/core/services/issue/issue_relation.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { TIssueRelation, TIssue } from "@plane/types"; // helpers diff --git a/apps/web/core/services/issue/work_item_version.service.ts b/apps/web/core/services/issue/work_item_version.service.ts index 81802aa861..d36cb52418 100644 --- a/apps/web/core/services/issue/work_item_version.service.ts +++ b/apps/web/core/services/issue/work_item_version.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import { EIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/services/issue/workspace_draft.service.ts b/apps/web/core/services/issue/workspace_draft.service.ts index 45626d5d18..f66841eb15 100644 --- a/apps/web/core/services/issue/workspace_draft.service.ts +++ b/apps/web/core/services/issue/workspace_draft.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { TIssue, TWorkspaceDraftIssue, TWorkspaceDraftPaginationInfo } from "@plane/types"; // helpers diff --git a/apps/web/core/services/issue_filter.service.ts b/apps/web/core/services/issue_filter.service.ts index c81d7e4336..ac3f8fb5a9 100644 --- a/apps/web/core/services/issue_filter.service.ts +++ b/apps/web/core/services/issue_filter.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // services import { API_BASE_URL } from "@plane/constants"; import type { IIssueFiltersResponse } from "@plane/types"; diff --git a/apps/web/core/services/module.service.ts b/apps/web/core/services/module.service.ts index cf67fcf947..8546ef0876 100644 --- a/apps/web/core/services/module.service.ts +++ b/apps/web/core/services/module.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import { API_BASE_URL } from "@plane/constants"; import type { IModule, ILinkDetails, ModuleLink, TIssuesResponse } from "@plane/types"; diff --git a/apps/web/core/services/module_archive.service.ts b/apps/web/core/services/module_archive.service.ts index 2a7566ec9d..be907466bb 100644 --- a/apps/web/core/services/module_archive.service.ts +++ b/apps/web/core/services/module_archive.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // type import { API_BASE_URL } from "@plane/constants"; import type { IModule } from "@plane/types"; diff --git a/apps/web/core/services/page/index.ts b/apps/web/core/services/page/index.ts index b25199e7f3..cd5daae289 100644 --- a/apps/web/core/services/page/index.ts +++ b/apps/web/core/services/page/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./project-page-version.service"; export * from "./project-page.service"; diff --git a/apps/web/core/services/page/project-page-version.service.ts b/apps/web/core/services/page/project-page-version.service.ts index 4d842785ac..452014b6b3 100644 --- a/apps/web/core/services/page/project-page-version.service.ts +++ b/apps/web/core/services/page/project-page-version.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane types import { API_BASE_URL } from "@plane/constants"; import type { TPageVersion } from "@plane/types"; diff --git a/apps/web/core/services/page/project-page.service.ts b/apps/web/core/services/page/project-page.service.ts index 16a6703842..817907e4e4 100644 --- a/apps/web/core/services/page/project-page.service.ts +++ b/apps/web/core/services/page/project-page.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import { API_BASE_URL } from "@plane/constants"; import type { TDocumentPayload, TPage } from "@plane/types"; diff --git a/apps/web/core/services/project/index.ts b/apps/web/core/services/project/index.ts index 9b11f60ed9..0be71d3eb8 100644 --- a/apps/web/core/services/project/index.ts +++ b/apps/web/core/services/project/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./project.service"; export * from "./project-export.service"; export * from "./project-member.service"; diff --git a/apps/web/core/services/project/project-archive.service.ts b/apps/web/core/services/project/project-archive.service.ts index 8e0d87773d..b60763f707 100644 --- a/apps/web/core/services/project/project-archive.service.ts +++ b/apps/web/core/services/project/project-archive.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // helpers import { API_BASE_URL } from "@plane/constants"; // services diff --git a/apps/web/core/services/project/project-export.service.ts b/apps/web/core/services/project/project-export.service.ts index 7ae47c6dc7..73dd1249c9 100644 --- a/apps/web/core/services/project/project-export.service.ts +++ b/apps/web/core/services/project/project-export.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { TWorkItemFilterExpression } from "@plane/types"; import { APIService } from "@/services/api.service"; diff --git a/apps/web/core/services/project/project-member.service.ts b/apps/web/core/services/project/project-member.service.ts index 8c378afa41..037fc1fd78 100644 --- a/apps/web/core/services/project/project-member.service.ts +++ b/apps/web/core/services/project/project-member.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import { API_BASE_URL } from "@plane/constants"; import type { IProjectBulkAddFormData, TProjectMembership } from "@plane/types"; diff --git a/apps/web/core/services/project/project-publish.service.ts b/apps/web/core/services/project/project-publish.service.ts index 76a931b8fe..b027d73d05 100644 --- a/apps/web/core/services/project/project-publish.service.ts +++ b/apps/web/core/services/project/project-publish.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import { API_BASE_URL } from "@plane/constants"; import type { TProjectPublishSettings } from "@plane/types"; diff --git a/apps/web/core/services/project/project-state.service.ts b/apps/web/core/services/project/project-state.service.ts index ca0d344d03..4ec2b97e3e 100644 --- a/apps/web/core/services/project/project-state.service.ts +++ b/apps/web/core/services/project/project-state.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // services import { API_BASE_URL } from "@plane/constants"; import type { IIntakeState, IState } from "@plane/types"; diff --git a/apps/web/core/services/project/project.service.ts b/apps/web/core/services/project/project.service.ts index f4e29cecfc..885cb1bddc 100644 --- a/apps/web/core/services/project/project.service.ts +++ b/apps/web/core/services/project/project.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { GithubRepositoriesResponse, diff --git a/apps/web/core/services/sticky.service.ts b/apps/web/core/services/sticky.service.ts index e3c4707917..ff4491e8ed 100644 --- a/apps/web/core/services/sticky.service.ts +++ b/apps/web/core/services/sticky.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // helpers import { STICKIES_PER_PAGE, API_BASE_URL } from "@plane/constants"; import type { TSticky } from "@plane/types"; diff --git a/apps/web/core/services/timezone.service.ts b/apps/web/core/services/timezone.service.ts index 0b08542320..b66609a416 100644 --- a/apps/web/core/services/timezone.service.ts +++ b/apps/web/core/services/timezone.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { TTimezones } from "@plane/types"; // helpers diff --git a/apps/web/core/services/user.service.ts b/apps/web/core/services/user.service.ts index 33fffc2ee1..6122c432ad 100644 --- a/apps/web/core/services/user.service.ts +++ b/apps/web/core/services/user.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // services import { API_BASE_URL } from "@plane/constants"; import type { diff --git a/apps/web/core/services/view.service.ts b/apps/web/core/services/view.service.ts index 96d4c5f313..722128319b 100644 --- a/apps/web/core/services/view.service.ts +++ b/apps/web/core/services/view.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IProjectView } from "@plane/types"; import { APIService } from "@/services/api.service"; diff --git a/apps/web/core/services/webhook.service.ts b/apps/web/core/services/webhook.service.ts index ab0dd2fbf1..3f8e8f4dcf 100644 --- a/apps/web/core/services/webhook.service.ts +++ b/apps/web/core/services/webhook.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // api services import { API_BASE_URL } from "@plane/constants"; import type { IWebhook } from "@plane/types"; diff --git a/apps/web/core/services/workspace-notification.service.ts b/apps/web/core/services/workspace-notification.service.ts index 640fa99a04..fc5c3f86ea 100644 --- a/apps/web/core/services/workspace-notification.service.ts +++ b/apps/web/core/services/workspace-notification.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable no-useless-catch */ import { API_BASE_URL } from "@plane/constants"; diff --git a/apps/web/core/services/workspace.service.ts b/apps/web/core/services/workspace.service.ts index c544348266..3c2565322a 100644 --- a/apps/web/core/services/workspace.service.ts +++ b/apps/web/core/services/workspace.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IWorkspace, diff --git a/apps/web/core/store/analytics.store.ts b/apps/web/core/store/analytics.store.ts index 0a949d55ea..ca1ffc1409 100644 --- a/apps/web/core/store/analytics.store.ts +++ b/apps/web/core/store/analytics.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { ANALYTICS_DURATION_FILTER_OPTIONS } from "@plane/constants"; import type { TAnalyticsTabsBase } from "@plane/types"; diff --git a/apps/web/core/store/base-command-palette.store.ts b/apps/web/core/store/base-command-palette.store.ts index e459295303..e5fe61b344 100644 --- a/apps/web/core/store/base-command-palette.store.ts +++ b/apps/web/core/store/base-command-palette.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observable, action, makeObservable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; // plane imports diff --git a/apps/web/core/store/base-power-k.store.ts b/apps/web/core/store/base-power-k.store.ts index a5182bd105..ded57f3e6b 100644 --- a/apps/web/core/store/base-power-k.store.ts +++ b/apps/web/core/store/base-power-k.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observable, action, makeObservable } from "mobx"; // plane imports import type { EIssuesStoreType } from "@plane/types"; diff --git a/apps/web/core/store/cycle.store.ts b/apps/web/core/store/cycle.store.ts index e39ad44125..bd84433dcb 100644 --- a/apps/web/core/store/cycle.store.ts +++ b/apps/web/core/store/cycle.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isPast, isToday } from "date-fns"; import { sortBy, set, isEmpty } from "lodash-es"; import { action, computed, observable, makeObservable, runInAction } from "mobx"; diff --git a/apps/web/core/store/cycle_filter.store.ts b/apps/web/core/store/cycle_filter.store.ts index a1b0eca821..a3c72cf342 100644 --- a/apps/web/core/store/cycle_filter.store.ts +++ b/apps/web/core/store/cycle_filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, observable, makeObservable, runInAction, reaction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/dashboard.store.ts b/apps/web/core/store/dashboard.store.ts index 70f17119f9..a8a8186d7b 100644 --- a/apps/web/core/store/dashboard.store.ts +++ b/apps/web/core/store/dashboard.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/editor/asset.store.ts b/apps/web/core/store/editor/asset.store.ts index 7974f02b96..8469f70b3c 100644 --- a/apps/web/core/store/editor/asset.store.ts +++ b/apps/web/core/store/editor/asset.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { debounce, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/estimates/estimate-point.ts b/apps/web/core/store/estimates/estimate-point.ts index 4340e50b0d..bb96c3ce3a 100644 --- a/apps/web/core/store/estimates/estimate-point.ts +++ b/apps/web/core/store/estimates/estimate-point.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable no-useless-catch */ import { set } from "lodash-es"; diff --git a/apps/web/core/store/estimates/project-estimate.store.ts b/apps/web/core/store/estimates/project-estimate.store.ts index 8bb9184a0f..c48b04f93f 100644 --- a/apps/web/core/store/estimates/project-estimate.store.ts +++ b/apps/web/core/store/estimates/project-estimate.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { unset, orderBy, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/favorite.store.ts b/apps/web/core/store/favorite.store.ts index 69af5c5143..acf87ab022 100644 --- a/apps/web/core/store/favorite.store.ts +++ b/apps/web/core/store/favorite.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { orderBy, uniqBy, set } from "lodash-es"; import { action, observable, makeObservable, runInAction, computed } from "mobx"; import { v4 as uuidv4 } from "uuid"; diff --git a/apps/web/core/store/global-view.store.ts b/apps/web/core/store/global-view.store.ts index fea40218cb..f5b0c12340 100644 --- a/apps/web/core/store/global-view.store.ts +++ b/apps/web/core/store/global-view.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set, cloneDeep, isEqual } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/inbox/inbox-issue.store.ts b/apps/web/core/store/inbox/inbox-issue.store.ts index 5c099a6688..4181ba7751 100644 --- a/apps/web/core/store/inbox/inbox-issue.store.ts +++ b/apps/web/core/store/inbox/inbox-issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { clone, set } from "lodash-es"; import { makeObservable, observable, runInAction, action } from "mobx"; import type { diff --git a/apps/web/core/store/inbox/project-inbox.store.ts b/apps/web/core/store/inbox/project-inbox.store.ts index 788db2dc7f..df776b88ee 100644 --- a/apps/web/core/store/inbox/project-inbox.store.ts +++ b/apps/web/core/store/inbox/project-inbox.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { uniq, update, isEmpty, omit, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/instance.store.ts b/apps/web/core/store/instance.store.ts index aaa12ac37c..89a283f983 100644 --- a/apps/web/core/store/instance.store.ts +++ b/apps/web/core/store/instance.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observable, action, makeObservable, runInAction } from "mobx"; // types import type { IInstance, IInstanceConfig } from "@plane/types"; diff --git a/apps/web/core/store/issue/archived/filter.store.ts b/apps/web/core/store/issue/archived/filter.store.ts index 5d4645f7d9..add44610bc 100644 --- a/apps/web/core/store/issue/archived/filter.store.ts +++ b/apps/web/core/store/issue/archived/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // base class diff --git a/apps/web/core/store/issue/archived/index.ts b/apps/web/core/store/issue/archived/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/core/store/issue/archived/index.ts +++ b/apps/web/core/store/issue/archived/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/core/store/issue/archived/issue.store.ts b/apps/web/core/store/issue/archived/issue.store.ts index 72fd4f00c8..c3f9a69768 100644 --- a/apps/web/core/store/issue/archived/issue.store.ts +++ b/apps/web/core/store/issue/archived/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, runInAction } from "mobx"; // base class import type { TLoader, IssuePaginationOptions, TIssuesResponse, ViewFlags, TBulkOperationsPayload } from "@plane/types"; diff --git a/apps/web/core/store/issue/cycle/filter.store.ts b/apps/web/core/store/issue/cycle/filter.store.ts index c6544936e0..1368005b20 100644 --- a/apps/web/core/store/issue/cycle/filter.store.ts +++ b/apps/web/core/store/issue/cycle/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // base class diff --git a/apps/web/core/store/issue/cycle/index.ts b/apps/web/core/store/issue/cycle/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/core/store/issue/cycle/index.ts +++ b/apps/web/core/store/issue/cycle/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/core/store/issue/cycle/issue.store.ts b/apps/web/core/store/issue/cycle/issue.store.ts index a64ac449a0..e40bddc777 100644 --- a/apps/web/core/store/issue/cycle/issue.store.ts +++ b/apps/web/core/store/issue/cycle/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { get, set, concat, uniq, update } from "lodash-es"; import { action, observable, makeObservable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/helpers/base-issues-utils.ts b/apps/web/core/store/issue/helpers/base-issues-utils.ts index b0ae994087..b5b0e6ecf4 100644 --- a/apps/web/core/store/issue/helpers/base-issues-utils.ts +++ b/apps/web/core/store/issue/helpers/base-issues-utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { uniq, orderBy, isEmpty, indexOf, groupBy, cloneDeep, set } from "lodash-es"; import { ALL_ISSUES, EIssueFilterType, FILTER_TO_ISSUE_MAP, ISSUE_PRIORITIES } from "@plane/constants"; import type { diff --git a/apps/web/core/store/issue/helpers/base-issues.store.ts b/apps/web/core/store/issue/helpers/base-issues.store.ts index f336c225cb..54525fb676 100644 --- a/apps/web/core/store/issue/helpers/base-issues.store.ts +++ b/apps/web/core/store/issue/helpers/base-issues.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEqual, concat, get, indexOf, isEmpty, orderBy, pull, set, uniq, update, clone } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/helpers/issue-filter-helper.store.ts b/apps/web/core/store/issue/helpers/issue-filter-helper.store.ts index b6095044c3..fc7e9255dc 100644 --- a/apps/web/core/store/issue/helpers/issue-filter-helper.store.ts +++ b/apps/web/core/store/issue/helpers/issue-filter-helper.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty } from "lodash-es"; // plane constants import type { EIssueFilterType } from "@plane/constants"; diff --git a/apps/web/core/store/issue/issue-details/attachment.store.ts b/apps/web/core/store/issue/issue-details/attachment.store.ts index c8eb3e5137..c9eeb1158f 100644 --- a/apps/web/core/store/issue/issue-details/attachment.store.ts +++ b/apps/web/core/store/issue/issue-details/attachment.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { uniq, pull, set, debounce, update, concat } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/issue-details/comment.store.ts b/apps/web/core/store/issue/issue-details/comment.store.ts index cd9e1bf5f4..b184ec6317 100644 --- a/apps/web/core/store/issue/issue-details/comment.store.ts +++ b/apps/web/core/store/issue/issue-details/comment.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { pull, concat, update, uniq, set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; // Plane Imports diff --git a/apps/web/core/store/issue/issue-details/comment_reaction.store.ts b/apps/web/core/store/issue/issue-details/comment_reaction.store.ts index 7daa80f81f..6e5b4d22e8 100644 --- a/apps/web/core/store/issue/issue-details/comment_reaction.store.ts +++ b/apps/web/core/store/issue/issue-details/comment_reaction.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { pull, find, concat, update, set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; // Plane Imports diff --git a/apps/web/core/store/issue/issue-details/issue.store.ts b/apps/web/core/store/issue/issue-details/issue.store.ts index 3533038bac..4abf62b4f5 100644 --- a/apps/web/core/store/issue/issue-details/issue.store.ts +++ b/apps/web/core/store/issue/issue-details/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { makeObservable, observable } from "mobx"; import { computedFn } from "mobx-utils"; // types diff --git a/apps/web/core/store/issue/issue-details/link.store.ts b/apps/web/core/store/issue/issue-details/link.store.ts index bd8c82a56d..e08d090e60 100644 --- a/apps/web/core/store/issue/issue-details/link.store.ts +++ b/apps/web/core/store/issue/issue-details/link.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // services diff --git a/apps/web/core/store/issue/issue-details/reaction.store.ts b/apps/web/core/store/issue/issue-details/reaction.store.ts index 3e75bcc20a..46a68a63a8 100644 --- a/apps/web/core/store/issue/issue-details/reaction.store.ts +++ b/apps/web/core/store/issue/issue-details/reaction.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { pull, find, concat, set, update } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; // Plane Imports diff --git a/apps/web/core/store/issue/issue-details/relation.store.ts b/apps/web/core/store/issue/issue-details/relation.store.ts index 5d6097ec2c..d3f29ca94f 100644 --- a/apps/web/core/store/issue/issue-details/relation.store.ts +++ b/apps/web/core/store/issue/issue-details/relation.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { uniq, get, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/issue-details/root.store.ts b/apps/web/core/store/issue/issue-details/root.store.ts index 42b3cbaa9c..ea0775aa15 100644 --- a/apps/web/core/store/issue/issue-details/root.store.ts +++ b/apps/web/core/store/issue/issue-details/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, computed, makeObservable, observable } from "mobx"; // types import type { diff --git a/apps/web/core/store/issue/issue-details/sub_issues.store.ts b/apps/web/core/store/issue/issue-details/sub_issues.store.ts index 18a833d19c..7410ce3036 100644 --- a/apps/web/core/store/issue/issue-details/sub_issues.store.ts +++ b/apps/web/core/store/issue/issue-details/sub_issues.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { pull, concat, uniq, set, update } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/issue-details/sub_issues_filter.store.ts b/apps/web/core/store/issue/issue-details/sub_issues_filter.store.ts index ff8367a772..63896f32ce 100644 --- a/apps/web/core/store/issue/issue-details/sub_issues_filter.store.ts +++ b/apps/web/core/store/issue/issue-details/sub_issues_filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/issue-details/subscription.store.ts b/apps/web/core/store/issue/issue-details/subscription.store.ts index 27332f080e..0b578cf7f0 100644 --- a/apps/web/core/store/issue/issue-details/subscription.store.ts +++ b/apps/web/core/store/issue/issue-details/subscription.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; // services diff --git a/apps/web/core/store/issue/issue.store.ts b/apps/web/core/store/issue/issue.store.ts index 8d6e9b7ab0..ad526ae5e3 100644 --- a/apps/web/core/store/issue/issue.store.ts +++ b/apps/web/core/store/issue/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set, update } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/issue_calendar_view.store.ts b/apps/web/core/store/issue/issue_calendar_view.store.ts index fc9d34143e..4788139f14 100644 --- a/apps/web/core/store/issue/issue_calendar_view.store.ts +++ b/apps/web/core/store/issue/issue_calendar_view.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observable, action, makeObservable, runInAction, computed, reaction } from "mobx"; // helpers diff --git a/apps/web/core/store/issue/issue_gantt_view.store.ts b/apps/web/core/store/issue/issue_gantt_view.store.ts index d39b0a2736..4a0f5cee15 100644 --- a/apps/web/core/store/issue/issue_gantt_view.store.ts +++ b/apps/web/core/store/issue/issue_gantt_view.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; // helpers diff --git a/apps/web/core/store/issue/issue_kanban_view.store.ts b/apps/web/core/store/issue/issue_kanban_view.store.ts index da50efa61e..15294099c4 100644 --- a/apps/web/core/store/issue/issue_kanban_view.store.ts +++ b/apps/web/core/store/issue/issue_kanban_view.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, computed, makeObservable, observable } from "mobx"; import { computedFn } from "mobx-utils"; import { DRAG_ALLOWED_GROUPS } from "@plane/constants"; diff --git a/apps/web/core/store/issue/module/filter.store.ts b/apps/web/core/store/issue/module/filter.store.ts index a2421436f2..ccf304be99 100644 --- a/apps/web/core/store/issue/module/filter.store.ts +++ b/apps/web/core/store/issue/module/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // base class diff --git a/apps/web/core/store/issue/module/index.ts b/apps/web/core/store/issue/module/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/core/store/issue/module/index.ts +++ b/apps/web/core/store/issue/module/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/core/store/issue/module/issue.store.ts b/apps/web/core/store/issue/module/issue.store.ts index 488d183d3d..973ff92fcd 100644 --- a/apps/web/core/store/issue/module/issue.store.ts +++ b/apps/web/core/store/issue/module/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, runInAction } from "mobx"; // base class import type { diff --git a/apps/web/core/store/issue/profile/filter.store.ts b/apps/web/core/store/issue/profile/filter.store.ts index 3e2da337af..78055d100a 100644 --- a/apps/web/core/store/issue/profile/filter.store.ts +++ b/apps/web/core/store/issue/profile/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // base class diff --git a/apps/web/core/store/issue/profile/index.ts b/apps/web/core/store/issue/profile/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/core/store/issue/profile/index.ts +++ b/apps/web/core/store/issue/profile/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/core/store/issue/profile/issue.store.ts b/apps/web/core/store/issue/profile/issue.store.ts index 41ef339cc4..046824eac7 100644 --- a/apps/web/core/store/issue/profile/issue.store.ts +++ b/apps/web/core/store/issue/profile/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, observable, makeObservable, computed, runInAction } from "mobx"; // base class import type { diff --git a/apps/web/core/store/issue/project-views/filter.store.ts b/apps/web/core/store/issue/project-views/filter.store.ts index efeacc8b6e..c60ccca4dc 100644 --- a/apps/web/core/store/issue/project-views/filter.store.ts +++ b/apps/web/core/store/issue/project-views/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // base class diff --git a/apps/web/core/store/issue/project-views/index.ts b/apps/web/core/store/issue/project-views/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/core/store/issue/project-views/index.ts +++ b/apps/web/core/store/issue/project-views/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/core/store/issue/project-views/issue.store.ts b/apps/web/core/store/issue/project-views/issue.store.ts index 2d80462645..8dd15759ef 100644 --- a/apps/web/core/store/issue/project-views/issue.store.ts +++ b/apps/web/core/store/issue/project-views/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, runInAction } from "mobx"; // base class import type { diff --git a/apps/web/core/store/issue/project/filter.store.ts b/apps/web/core/store/issue/project/filter.store.ts index dbfc6817d3..657eee4f9a 100644 --- a/apps/web/core/store/issue/project/filter.store.ts +++ b/apps/web/core/store/issue/project/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // base class diff --git a/apps/web/core/store/issue/project/index.ts b/apps/web/core/store/issue/project/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/core/store/issue/project/index.ts +++ b/apps/web/core/store/issue/project/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/core/store/issue/project/issue.store.ts b/apps/web/core/store/issue/project/issue.store.ts index a36a583915..234e01865d 100644 --- a/apps/web/core/store/issue/project/issue.store.ts +++ b/apps/web/core/store/issue/project/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, runInAction } from "mobx"; // types import type { diff --git a/apps/web/core/store/issue/root.store.ts b/apps/web/core/store/issue/root.store.ts index ad671a5668..d8632f311d 100644 --- a/apps/web/core/store/issue/root.store.ts +++ b/apps/web/core/store/issue/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty } from "lodash-es"; import { autorun, makeObservable, observable } from "mobx"; // types diff --git a/apps/web/core/store/issue/workspace-draft/filter.store.ts b/apps/web/core/store/issue/workspace-draft/filter.store.ts index 49941ccfca..c02f9c6899 100644 --- a/apps/web/core/store/issue/workspace-draft/filter.store.ts +++ b/apps/web/core/store/issue/workspace-draft/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/workspace-draft/index.ts b/apps/web/core/store/issue/workspace-draft/index.ts index 53c19d3a80..fa4278d4c4 100644 --- a/apps/web/core/store/issue/workspace-draft/index.ts +++ b/apps/web/core/store/issue/workspace-draft/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue.store"; export * from "./filter.store"; diff --git a/apps/web/core/store/issue/workspace-draft/issue.store.ts b/apps/web/core/store/issue/workspace-draft/issue.store.ts index 4c8033f646..48b017676b 100644 --- a/apps/web/core/store/issue/workspace-draft/issue.store.ts +++ b/apps/web/core/store/issue/workspace-draft/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { clone, update, unset, orderBy, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/workspace/filter.store.ts b/apps/web/core/store/issue/workspace/filter.store.ts index 630429bb38..bec673bd32 100644 --- a/apps/web/core/store/issue/workspace/filter.store.ts +++ b/apps/web/core/store/issue/workspace/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/issue/workspace/index.ts b/apps/web/core/store/issue/workspace/index.ts index 0fe6c946b0..a21a791fef 100644 --- a/apps/web/core/store/issue/workspace/index.ts +++ b/apps/web/core/store/issue/workspace/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter.store"; export * from "./issue.store"; diff --git a/apps/web/core/store/issue/workspace/issue.store.ts b/apps/web/core/store/issue/workspace/issue.store.ts index 9fcf173406..5bca1cbfdd 100644 --- a/apps/web/core/store/issue/workspace/issue.store.ts +++ b/apps/web/core/store/issue/workspace/issue.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, runInAction } from "mobx"; // base class import type { diff --git a/apps/web/core/store/label.store.ts b/apps/web/core/store/label.store.ts index 635143d895..637ee84d97 100644 --- a/apps/web/core/store/label.store.ts +++ b/apps/web/core/store/label.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set, sortBy } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/member/index.ts b/apps/web/core/store/member/index.ts index 50e51d1736..fcce4e1fee 100644 --- a/apps/web/core/store/member/index.ts +++ b/apps/web/core/store/member/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { makeObservable, observable } from "mobx"; import { computedFn } from "mobx-utils"; // plane imports diff --git a/apps/web/core/store/member/project/base-project-member.store.ts b/apps/web/core/store/member/project/base-project-member.store.ts index 0a2bbeb356..701089a09e 100644 --- a/apps/web/core/store/member/project/base-project-member.store.ts +++ b/apps/web/core/store/member/project/base-project-member.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { uniq, unset, set, update, sortBy } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/member/project/project-member-filters.store.ts b/apps/web/core/store/member/project/project-member-filters.store.ts index b28f8665ca..2d4fa406cb 100644 --- a/apps/web/core/store/member/project/project-member-filters.store.ts +++ b/apps/web/core/store/member/project/project-member-filters.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, observable } from "mobx"; import { computedFn } from "mobx-utils"; // types diff --git a/apps/web/core/store/member/utils.ts b/apps/web/core/store/member/utils.ts index 9f13d694df..23767668dd 100644 --- a/apps/web/core/store/member/utils.ts +++ b/apps/web/core/store/member/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Types and utilities for member filtering import type { EUserPermissions, TMemberOrderByOptions } from "@plane/constants"; import type { IUserLite, TProjectMembership } from "@plane/types"; diff --git a/apps/web/core/store/member/workspace/workspace-member-filters.store.ts b/apps/web/core/store/member/workspace/workspace-member-filters.store.ts index 6ff5fc7475..4041be9ce7 100644 --- a/apps/web/core/store/member/workspace/workspace-member-filters.store.ts +++ b/apps/web/core/store/member/workspace/workspace-member-filters.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, observable } from "mobx"; import { computedFn } from "mobx-utils"; // types diff --git a/apps/web/core/store/member/workspace/workspace-member.store.ts b/apps/web/core/store/member/workspace/workspace-member.store.ts index ad0df64fcf..659569d88c 100644 --- a/apps/web/core/store/member/workspace/workspace-member.store.ts +++ b/apps/web/core/store/member/workspace/workspace-member.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set, sortBy } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/module.store.ts b/apps/web/core/store/module.store.ts index 568ad261b5..2605c9c51d 100644 --- a/apps/web/core/store/module.store.ts +++ b/apps/web/core/store/module.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { update, concat, set, sortBy } from "lodash-es"; import { action, computed, observable, makeObservable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/module_filter.store.ts b/apps/web/core/store/module_filter.store.ts index 59fc81b7d5..258ca3e38c 100644 --- a/apps/web/core/store/module_filter.store.ts +++ b/apps/web/core/store/module_filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, observable, makeObservable, runInAction, reaction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/multiple_select.store.ts b/apps/web/core/store/multiple_select.store.ts index fb75d6984e..e479a23286 100644 --- a/apps/web/core/store/multiple_select.store.ts +++ b/apps/web/core/store/multiple_select.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { differenceWith, remove, isEqual } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/notifications/notification.ts b/apps/web/core/store/notifications/notification.ts index c89f6d1c9c..16681086ae 100644 --- a/apps/web/core/store/notifications/notification.ts +++ b/apps/web/core/store/notifications/notification.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable no-useless-catch */ import { set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; diff --git a/apps/web/core/store/notifications/workspace-notifications.store.ts b/apps/web/core/store/notifications/workspace-notifications.store.ts index 0767179299..b11f563b29 100644 --- a/apps/web/core/store/notifications/workspace-notifications.store.ts +++ b/apps/web/core/store/notifications/workspace-notifications.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { orderBy, isEmpty, update, set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/pages/base-page.ts b/apps/web/core/store/pages/base-page.ts index 8410781ade..1cde3950bf 100644 --- a/apps/web/core/store/pages/base-page.ts +++ b/apps/web/core/store/pages/base-page.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, makeObservable, observable, reaction, runInAction } from "mobx"; // plane imports diff --git a/apps/web/core/store/pages/page-editor-info.ts b/apps/web/core/store/pages/page-editor-info.ts index 937302443f..5048137e5b 100644 --- a/apps/web/core/store/pages/page-editor-info.ts +++ b/apps/web/core/store/pages/page-editor-info.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, observable, runInAction } from "mobx"; // plane imports import type { EditorRefApi, TEditorAsset } from "@plane/editor"; diff --git a/apps/web/core/store/pages/project-page.store.ts b/apps/web/core/store/pages/project-page.store.ts index 040fea59a7..c84dad1b5d 100644 --- a/apps/web/core/store/pages/project-page.store.ts +++ b/apps/web/core/store/pages/project-page.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { unset, set } from "lodash-es"; import { makeObservable, observable, runInAction, action, reaction, computed } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/pages/project-page.ts b/apps/web/core/store/pages/project-page.ts index d72c586564..b3cc1c9922 100644 --- a/apps/web/core/store/pages/project-page.ts +++ b/apps/web/core/store/pages/project-page.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { computed, makeObservable } from "mobx"; import { computedFn } from "mobx-utils"; // constants diff --git a/apps/web/core/store/project-view.store.ts b/apps/web/core/store/project-view.store.ts index 17167c0a59..cd7d2d9876 100644 --- a/apps/web/core/store/project-view.store.ts +++ b/apps/web/core/store/project-view.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { observable, action, makeObservable, runInAction, computed } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/project/index.ts b/apps/web/core/store/project/index.ts index 0d128c09d5..bd04991c77 100644 --- a/apps/web/core/store/project/index.ts +++ b/apps/web/core/store/project/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { CoreRootStore } from "../root.store"; import type { IProjectPublishStore } from "./project-publish.store"; import { ProjectPublishStore } from "./project-publish.store"; diff --git a/apps/web/core/store/project/project-publish.store.ts b/apps/web/core/store/project/project-publish.store.ts index cb0c84ccfb..f520c31028 100644 --- a/apps/web/core/store/project/project-publish.store.ts +++ b/apps/web/core/store/project/project-publish.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { unset, set } from "lodash-es"; import { observable, action, makeObservable, runInAction } from "mobx"; // types diff --git a/apps/web/core/store/project/project.store.ts b/apps/web/core/store/project/project.store.ts index 51f64c6a62..55e1485fd1 100644 --- a/apps/web/core/store/project/project.store.ts +++ b/apps/web/core/store/project/project.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { sortBy, cloneDeep, update, set } from "lodash-es"; import { observable, action, computed, makeObservable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/project/project_filter.store.ts b/apps/web/core/store/project/project_filter.store.ts index 72b855152f..c769d1cb6f 100644 --- a/apps/web/core/store/project/project_filter.store.ts +++ b/apps/web/core/store/project/project_filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, observable, makeObservable, runInAction, reaction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/root.store.ts b/apps/web/core/store/root.store.ts index db08030a49..bc36931d8e 100644 --- a/apps/web/core/store/root.store.ts +++ b/apps/web/core/store/root.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { enableStaticRendering } from "mobx-react"; // plane imports import { FALLBACK_LANGUAGE, LANGUAGE_STORAGE_KEY } from "@plane/i18n"; diff --git a/apps/web/core/store/router.store.ts b/apps/web/core/store/router.store.ts index 68ac0f6270..1e15b8e582 100644 --- a/apps/web/core/store/router.store.ts +++ b/apps/web/core/store/router.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ParsedUrlQuery } from "node:querystring"; import { action, makeObservable, observable, computed, runInAction } from "mobx"; diff --git a/apps/web/core/store/state.store.ts b/apps/web/core/store/state.store.ts index 91130b8268..fa2b773e7f 100644 --- a/apps/web/core/store/state.store.ts +++ b/apps/web/core/store/state.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set, groupBy } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/sticky/sticky.store.ts b/apps/web/core/store/sticky/sticky.store.ts index 5f2877a6bf..0983321450 100644 --- a/apps/web/core/store/sticky/sticky.store.ts +++ b/apps/web/core/store/sticky/sticky.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { orderBy, set } from "lodash-es"; import { observable, action, makeObservable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/theme.store.ts b/apps/web/core/store/theme.store.ts index e788089e10..78d6cbc00c 100644 --- a/apps/web/core/store/theme.store.ts +++ b/apps/web/core/store/theme.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, observable, makeObservable, runInAction } from "mobx"; export interface IThemeStore { diff --git a/apps/web/core/store/timeline/issues-timeline.store.ts b/apps/web/core/store/timeline/issues-timeline.store.ts index b68ac8fc0c..9320bf06a3 100644 --- a/apps/web/core/store/timeline/issues-timeline.store.ts +++ b/apps/web/core/store/timeline/issues-timeline.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { autorun } from "mobx"; // Plane-web import type { RootStore } from "@/plane-web/store/root.store"; diff --git a/apps/web/core/store/timeline/modules-timeline.store.ts b/apps/web/core/store/timeline/modules-timeline.store.ts index 0f0e4cf75d..0b5f0317ce 100644 --- a/apps/web/core/store/timeline/modules-timeline.store.ts +++ b/apps/web/core/store/timeline/modules-timeline.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { autorun } from "mobx"; // Store import type { RootStore } from "@/plane-web/store/root.store"; diff --git a/apps/web/core/store/user/account.store.ts b/apps/web/core/store/user/account.store.ts index 0f441586df..47369128f8 100644 --- a/apps/web/core/store/user/account.store.ts +++ b/apps/web/core/store/user/account.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { makeObservable, observable } from "mobx"; // types diff --git a/apps/web/core/store/user/base-permissions.store.ts b/apps/web/core/store/user/base-permissions.store.ts index a4b34a05d1..bcc1e02d3b 100644 --- a/apps/web/core/store/user/base-permissions.store.ts +++ b/apps/web/core/store/user/base-permissions.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { unset, set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/store/user/index.ts b/apps/web/core/store/user/index.ts index 1656b0d4ab..7181a6ed17 100644 --- a/apps/web/core/store/user/index.ts +++ b/apps/web/core/store/user/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cloneDeep, set } from "lodash-es"; import { action, makeObservable, observable, runInAction, computed } from "mobx"; // plane imports diff --git a/apps/web/core/store/user/profile.store.ts b/apps/web/core/store/user/profile.store.ts index 5e9d67de69..5f51e4a16f 100644 --- a/apps/web/core/store/user/profile.store.ts +++ b/apps/web/core/store/user/profile.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cloneDeep, set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; // types diff --git a/apps/web/core/store/user/settings.store.ts b/apps/web/core/store/user/settings.store.ts index ae89f03299..ff504d1e6f 100644 --- a/apps/web/core/store/user/settings.store.ts +++ b/apps/web/core/store/user/settings.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, observable, runInAction } from "mobx"; // plane imports import type { IUserSettings } from "@plane/types"; diff --git a/apps/web/core/store/workspace/api-token.store.ts b/apps/web/core/store/workspace/api-token.store.ts index 5c290a7230..03e95b35d5 100644 --- a/apps/web/core/store/workspace/api-token.store.ts +++ b/apps/web/core/store/workspace/api-token.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, observable, makeObservable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; // types diff --git a/apps/web/core/store/workspace/home.ts b/apps/web/core/store/workspace/home.ts index 7b0f77bb3d..ebe38f0259 100644 --- a/apps/web/core/store/workspace/home.ts +++ b/apps/web/core/store/workspace/home.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { orderBy, clone, set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; // plane imports diff --git a/apps/web/core/store/workspace/index.ts b/apps/web/core/store/workspace/index.ts index 797398a1fd..a74f088a98 100644 --- a/apps/web/core/store/workspace/index.ts +++ b/apps/web/core/store/workspace/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { clone, set } from "lodash-es"; import { action, computed, observable, makeObservable, runInAction } from "mobx"; // types diff --git a/apps/web/core/store/workspace/link.store.ts b/apps/web/core/store/workspace/link.store.ts index 9ef46bb553..e5eeadd73e 100644 --- a/apps/web/core/store/workspace/link.store.ts +++ b/apps/web/core/store/workspace/link.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, makeObservable, observable, runInAction } from "mobx"; // types diff --git a/apps/web/core/store/workspace/webhook.store.ts b/apps/web/core/store/workspace/webhook.store.ts index bd0de1c44e..4d4fe782da 100644 --- a/apps/web/core/store/workspace/webhook.store.ts +++ b/apps/web/core/store/workspace/webhook.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // mobx import { action, observable, makeObservable, computed, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/apps/web/core/types/navigation-preferences.ts b/apps/web/core/types/navigation-preferences.ts index 3f03802f52..ae07a9a668 100644 --- a/apps/web/core/types/navigation-preferences.ts +++ b/apps/web/core/types/navigation-preferences.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TPersonalNavigationItemKey = "stickies" | "your_work" | "drafts"; export interface TPersonalNavigationItem { diff --git a/apps/web/ee/components/active-cycles/index.ts b/apps/web/ee/components/active-cycles/index.ts index 87c131821c..aff0690a0b 100644 --- a/apps/web/ee/components/active-cycles/index.ts +++ b/apps/web/ee/components/active-cycles/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export * from "./workspace-active-cycles-upgrade"; diff --git a/apps/web/ee/components/active-cycles/root.tsx b/apps/web/ee/components/active-cycles/root.tsx index a7810d113f..4b53728fad 100644 --- a/apps/web/ee/components/active-cycles/root.tsx +++ b/apps/web/ee/components/active-cycles/root.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/active-cycles/root"; diff --git a/apps/web/ee/components/active-cycles/workspace-active-cycles-upgrade.tsx b/apps/web/ee/components/active-cycles/workspace-active-cycles-upgrade.tsx index f35c1f8482..49fe48943e 100644 --- a/apps/web/ee/components/active-cycles/workspace-active-cycles-upgrade.tsx +++ b/apps/web/ee/components/active-cycles/workspace-active-cycles-upgrade.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/active-cycles/workspace-active-cycles-upgrade"; diff --git a/apps/web/ee/components/app-rail/index.ts b/apps/web/ee/components/app-rail/index.ts index 68889686dc..df5c680635 100644 --- a/apps/web/ee/components/app-rail/index.ts +++ b/apps/web/ee/components/app-rail/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/app-rail"; diff --git a/apps/web/ee/components/comments/index.ts b/apps/web/ee/components/comments/index.ts index 6cff36e715..c447172cfd 100644 --- a/apps/web/ee/components/comments/index.ts +++ b/apps/web/ee/components/comments/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/comments"; diff --git a/apps/web/ee/components/common/extended-app-header.tsx b/apps/web/ee/components/common/extended-app-header.tsx index 2fab142d61..fc2260055c 100644 --- a/apps/web/ee/components/common/extended-app-header.tsx +++ b/apps/web/ee/components/common/extended-app-header.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/common/extended-app-header"; diff --git a/apps/web/ee/components/common/index.ts b/apps/web/ee/components/common/index.ts index 3719b5662b..94a605e38b 100644 --- a/apps/web/ee/components/common/index.ts +++ b/apps/web/ee/components/common/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./extended-app-header"; diff --git a/apps/web/ee/components/cycles/active-cycle/index.ts b/apps/web/ee/components/cycles/active-cycle/index.ts index 23c2e7f7fc..9e9af3eb05 100644 --- a/apps/web/ee/components/cycles/active-cycle/index.ts +++ b/apps/web/ee/components/cycles/active-cycle/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/cycles/active-cycle"; diff --git a/apps/web/ee/components/cycles/analytics-sidebar/index.ts b/apps/web/ee/components/cycles/analytics-sidebar/index.ts index 1cdbbbe92e..28d3f5bac6 100644 --- a/apps/web/ee/components/cycles/analytics-sidebar/index.ts +++ b/apps/web/ee/components/cycles/analytics-sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/cycles/analytics-sidebar"; diff --git a/apps/web/ee/components/cycles/end-cycle/index.ts b/apps/web/ee/components/cycles/end-cycle/index.ts index 3d772e91cf..c77fdb0baf 100644 --- a/apps/web/ee/components/cycles/end-cycle/index.ts +++ b/apps/web/ee/components/cycles/end-cycle/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/cycles/end-cycle"; diff --git a/apps/web/ee/components/cycles/index.ts b/apps/web/ee/components/cycles/index.ts index 30d8e85dd0..07ff197d32 100644 --- a/apps/web/ee/components/cycles/index.ts +++ b/apps/web/ee/components/cycles/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./active-cycle"; export * from "./analytics-sidebar"; export * from "./end-cycle"; diff --git a/apps/web/ee/components/estimates/estimate-list-item-buttons.tsx b/apps/web/ee/components/estimates/estimate-list-item-buttons.tsx index 4e5008ea53..68caf05637 100644 --- a/apps/web/ee/components/estimates/estimate-list-item-buttons.tsx +++ b/apps/web/ee/components/estimates/estimate-list-item-buttons.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/estimates/estimate-list-item-buttons"; diff --git a/apps/web/ee/components/estimates/index.ts b/apps/web/ee/components/estimates/index.ts index 918b72d8d7..f48ec6b889 100644 --- a/apps/web/ee/components/estimates/index.ts +++ b/apps/web/ee/components/estimates/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./estimate-list-item-buttons"; export * from "./update"; export * from "./points"; diff --git a/apps/web/ee/components/estimates/points/delete.tsx b/apps/web/ee/components/estimates/points/delete.tsx index 6cebb5646f..c6bf09416a 100644 --- a/apps/web/ee/components/estimates/points/delete.tsx +++ b/apps/web/ee/components/estimates/points/delete.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/estimates/points/delete"; diff --git a/apps/web/ee/components/estimates/points/index.ts b/apps/web/ee/components/estimates/points/index.ts index fe722bd231..c83c4600f4 100644 --- a/apps/web/ee/components/estimates/points/index.ts +++ b/apps/web/ee/components/estimates/points/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./delete"; diff --git a/apps/web/ee/components/estimates/update/index.ts b/apps/web/ee/components/estimates/update/index.ts index 031608e25f..dd65a9ec34 100644 --- a/apps/web/ee/components/estimates/update/index.ts +++ b/apps/web/ee/components/estimates/update/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal"; diff --git a/apps/web/ee/components/estimates/update/modal.tsx b/apps/web/ee/components/estimates/update/modal.tsx index 5c7d0b725f..8f1f8d8f1c 100644 --- a/apps/web/ee/components/estimates/update/modal.tsx +++ b/apps/web/ee/components/estimates/update/modal.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/estimates/update/modal"; diff --git a/apps/web/ee/components/gantt-chart/blocks/block-row-list.tsx b/apps/web/ee/components/gantt-chart/blocks/block-row-list.tsx index 2d50f5e5ea..76cea099b4 100644 --- a/apps/web/ee/components/gantt-chart/blocks/block-row-list.tsx +++ b/apps/web/ee/components/gantt-chart/blocks/block-row-list.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/gantt-chart/blocks/block-row-list"; diff --git a/apps/web/ee/components/gantt-chart/blocks/blocks-list.tsx b/apps/web/ee/components/gantt-chart/blocks/blocks-list.tsx index ced4c0ed2c..8a607663ca 100644 --- a/apps/web/ee/components/gantt-chart/blocks/blocks-list.tsx +++ b/apps/web/ee/components/gantt-chart/blocks/blocks-list.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/gantt-chart/blocks/blocks-list"; diff --git a/apps/web/ee/components/gantt-chart/index.ts b/apps/web/ee/components/gantt-chart/index.ts index 5e3c2f3774..fb6a04144a 100644 --- a/apps/web/ee/components/gantt-chart/index.ts +++ b/apps/web/ee/components/gantt-chart/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/gantt-chart"; diff --git a/apps/web/ee/components/global/index.ts b/apps/web/ee/components/global/index.ts index 7a8d522d61..6947f1fd0d 100644 --- a/apps/web/ee/components/global/index.ts +++ b/apps/web/ee/components/global/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/global"; diff --git a/apps/web/ee/components/home/header.tsx b/apps/web/ee/components/home/header.tsx index ac905596ee..5fab957355 100644 --- a/apps/web/ee/components/home/header.tsx +++ b/apps/web/ee/components/home/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export function HomePageHeader() { return <>; } diff --git a/apps/web/ee/components/home/index.ts b/apps/web/ee/components/home/index.ts index b9ddf37161..1f03dabb1e 100644 --- a/apps/web/ee/components/home/index.ts +++ b/apps/web/ee/components/home/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/home"; diff --git a/apps/web/ee/components/inbox/source-pill.tsx b/apps/web/ee/components/inbox/source-pill.tsx index a3be79206d..d9107571e8 100644 --- a/apps/web/ee/components/inbox/source-pill.tsx +++ b/apps/web/ee/components/inbox/source-pill.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/inbox/source-pill"; diff --git a/apps/web/ee/components/instance/index.ts b/apps/web/ee/components/instance/index.ts index e550badbc1..3950e96872 100644 --- a/apps/web/ee/components/instance/index.ts +++ b/apps/web/ee/components/instance/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/instance"; diff --git a/apps/web/ee/components/instance/maintenance-message.tsx b/apps/web/ee/components/instance/maintenance-message.tsx index 314e064547..5b67e13dfc 100644 --- a/apps/web/ee/components/instance/maintenance-message.tsx +++ b/apps/web/ee/components/instance/maintenance-message.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/instance/maintenance-message"; diff --git a/apps/web/ee/components/issues/issue-details/sidebar/transfer-hop-info.tsx b/apps/web/ee/components/issues/issue-details/sidebar/transfer-hop-info.tsx index e69de29bb2..0373b5075c 100644 --- a/apps/web/ee/components/issues/issue-details/sidebar/transfer-hop-info.tsx +++ b/apps/web/ee/components/issues/issue-details/sidebar/transfer-hop-info.tsx @@ -0,0 +1,6 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + diff --git a/apps/web/ee/components/navigations/index.ts b/apps/web/ee/components/navigations/index.ts index 86a88758b1..e7d49af842 100644 --- a/apps/web/ee/components/navigations/index.ts +++ b/apps/web/ee/components/navigations/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/navigations"; diff --git a/apps/web/ee/components/pages/index.ts b/apps/web/ee/components/pages/index.ts index 06b9064283..13c68e0762 100644 --- a/apps/web/ee/components/pages/index.ts +++ b/apps/web/ee/components/pages/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/pages"; diff --git a/apps/web/ee/components/projects/create/attributes.tsx b/apps/web/ee/components/projects/create/attributes.tsx index 6528de7561..03bd73819b 100644 --- a/apps/web/ee/components/projects/create/attributes.tsx +++ b/apps/web/ee/components/projects/create/attributes.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/projects/create/attributes"; diff --git a/apps/web/ee/components/projects/create/root.tsx b/apps/web/ee/components/projects/create/root.tsx index 28663aefeb..32490e4d04 100644 --- a/apps/web/ee/components/projects/create/root.tsx +++ b/apps/web/ee/components/projects/create/root.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/projects/create/root"; diff --git a/apps/web/ee/components/projects/header.tsx b/apps/web/ee/components/projects/header.tsx index 983c3d046b..dc6f0882d8 100644 --- a/apps/web/ee/components/projects/header.tsx +++ b/apps/web/ee/components/projects/header.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/projects/header"; diff --git a/apps/web/ee/components/projects/mobile-header.tsx b/apps/web/ee/components/projects/mobile-header.tsx index c845999a1f..8627826320 100644 --- a/apps/web/ee/components/projects/mobile-header.tsx +++ b/apps/web/ee/components/projects/mobile-header.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/projects/mobile-header"; diff --git a/apps/web/ee/components/projects/page.tsx b/apps/web/ee/components/projects/page.tsx index 569615c49e..1e5a6e6e6e 100644 --- a/apps/web/ee/components/projects/page.tsx +++ b/apps/web/ee/components/projects/page.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/projects/page"; diff --git a/apps/web/ee/components/projects/settings/features-list.tsx b/apps/web/ee/components/projects/settings/features-list.tsx index 26fc591fdb..f256288ae1 100644 --- a/apps/web/ee/components/projects/settings/features-list.tsx +++ b/apps/web/ee/components/projects/settings/features-list.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { ProjectFeaturesList } from "@/components/project/settings/features-list"; diff --git a/apps/web/ee/components/projects/settings/useProjectColumns.tsx b/apps/web/ee/components/projects/settings/useProjectColumns.tsx index 2fa5417585..c697d0d245 100644 --- a/apps/web/ee/components/projects/settings/useProjectColumns.tsx +++ b/apps/web/ee/components/projects/settings/useProjectColumns.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/projects/settings/useProjectColumns"; diff --git a/apps/web/ee/components/relations/index.tsx b/apps/web/ee/components/relations/index.tsx index baf76c90b0..7c548c6e8a 100644 --- a/apps/web/ee/components/relations/index.tsx +++ b/apps/web/ee/components/relations/index.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/relations"; diff --git a/apps/web/ee/components/sidebar/index.ts b/apps/web/ee/components/sidebar/index.ts index 144cfa2c2a..445e539a5c 100644 --- a/apps/web/ee/components/sidebar/index.ts +++ b/apps/web/ee/components/sidebar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/sidebar"; diff --git a/apps/web/ee/components/views/access-controller.tsx b/apps/web/ee/components/views/access-controller.tsx index 926abfbcd8..b2392811df 100644 --- a/apps/web/ee/components/views/access-controller.tsx +++ b/apps/web/ee/components/views/access-controller.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/views/access-controller"; diff --git a/apps/web/ee/components/views/filters/access-filter.tsx b/apps/web/ee/components/views/filters/access-filter.tsx index 9c9d7b7510..2a71d7d530 100644 --- a/apps/web/ee/components/views/filters/access-filter.tsx +++ b/apps/web/ee/components/views/filters/access-filter.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/views/filters/access-filter"; diff --git a/apps/web/ee/components/views/publish/index.ts b/apps/web/ee/components/views/publish/index.ts index d2680523a8..96fa5973dc 100644 --- a/apps/web/ee/components/views/publish/index.ts +++ b/apps/web/ee/components/views/publish/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/views/publish"; diff --git a/apps/web/ee/components/workflow/index.ts b/apps/web/ee/components/workflow/index.ts index 645183ae13..c7526fcf75 100644 --- a/apps/web/ee/components/workflow/index.ts +++ b/apps/web/ee/components/workflow/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/components/workflow"; diff --git a/apps/web/ee/constants/index.ts b/apps/web/ee/constants/index.ts index 049f831bdf..4d836788db 100644 --- a/apps/web/ee/constants/index.ts +++ b/apps/web/ee/constants/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./sidebar-favorites"; diff --git a/apps/web/ee/constants/project/index.ts b/apps/web/ee/constants/project/index.ts index dcf101b0c6..5b516d9036 100644 --- a/apps/web/ee/constants/project/index.ts +++ b/apps/web/ee/constants/project/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./settings"; diff --git a/apps/web/ee/constants/project/settings/features.tsx b/apps/web/ee/constants/project/settings/features.tsx index 5a6c17aeda..83c8b0f8ee 100644 --- a/apps/web/ee/constants/project/settings/features.tsx +++ b/apps/web/ee/constants/project/settings/features.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/constants/project/settings/features"; diff --git a/apps/web/ee/constants/project/settings/index.ts b/apps/web/ee/constants/project/settings/index.ts index 0e849261ac..e9201fe43a 100644 --- a/apps/web/ee/constants/project/settings/index.ts +++ b/apps/web/ee/constants/project/settings/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./features"; diff --git a/apps/web/ee/constants/sidebar-favorites.ts b/apps/web/ee/constants/sidebar-favorites.ts index 540c918e73..8d96327cee 100644 --- a/apps/web/ee/constants/sidebar-favorites.ts +++ b/apps/web/ee/constants/sidebar-favorites.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/constants/sidebar-favorites"; diff --git a/apps/web/ee/helpers/command-palette.ts b/apps/web/ee/helpers/command-palette.ts index 7a45183215..4e0046006f 100644 --- a/apps/web/ee/helpers/command-palette.ts +++ b/apps/web/ee/helpers/command-palette.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/helpers/command-palette"; diff --git a/apps/web/ee/helpers/epic-analytics.ts b/apps/web/ee/helpers/epic-analytics.ts index 48884d4c1a..d26658642c 100644 --- a/apps/web/ee/helpers/epic-analytics.ts +++ b/apps/web/ee/helpers/epic-analytics.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/helpers/epic-analytics"; diff --git a/apps/web/ee/helpers/instance.helper.ts b/apps/web/ee/helpers/instance.helper.ts index ece25547dd..cde7a48c70 100644 --- a/apps/web/ee/helpers/instance.helper.ts +++ b/apps/web/ee/helpers/instance.helper.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/helpers/instance.helper"; diff --git a/apps/web/ee/helpers/issue-action-helper.ts b/apps/web/ee/helpers/issue-action-helper.ts index 1e1ed08f01..c9cd8961ea 100644 --- a/apps/web/ee/helpers/issue-action-helper.ts +++ b/apps/web/ee/helpers/issue-action-helper.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/helpers/issue-action-helper"; diff --git a/apps/web/ee/helpers/issue-filter.helper.ts b/apps/web/ee/helpers/issue-filter.helper.ts index 378b87e72d..9df1a48bd3 100644 --- a/apps/web/ee/helpers/issue-filter.helper.ts +++ b/apps/web/ee/helpers/issue-filter.helper.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/helpers/issue-filter.helper"; diff --git a/apps/web/ee/helpers/project-settings.ts b/apps/web/ee/helpers/project-settings.ts index ec6ec6b332..6f04316446 100644 --- a/apps/web/ee/helpers/project-settings.ts +++ b/apps/web/ee/helpers/project-settings.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/helpers/project-settings"; diff --git a/apps/web/ee/helpers/workspace.helper.ts b/apps/web/ee/helpers/workspace.helper.ts index 731cd07dc4..75bab54595 100644 --- a/apps/web/ee/helpers/workspace.helper.ts +++ b/apps/web/ee/helpers/workspace.helper.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/helpers/workspace.helper"; diff --git a/apps/web/ee/hooks/app-rail/index.ts b/apps/web/ee/hooks/app-rail/index.ts index 0bfcd74e04..6e07a2d6ea 100644 --- a/apps/web/ee/hooks/app-rail/index.ts +++ b/apps/web/ee/hooks/app-rail/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/app-rail"; diff --git a/apps/web/ee/hooks/store/index.ts b/apps/web/ee/hooks/store/index.ts index 6ce80b4fb5..093d52e46a 100644 --- a/apps/web/ee/hooks/store/index.ts +++ b/apps/web/ee/hooks/store/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/store"; diff --git a/apps/web/ee/hooks/use-additional-editor-mention.tsx b/apps/web/ee/hooks/use-additional-editor-mention.tsx index 5e9372d08d..fc54bff522 100644 --- a/apps/web/ee/hooks/use-additional-editor-mention.tsx +++ b/apps/web/ee/hooks/use-additional-editor-mention.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/plane-web/hooks/use-additional-editor-mention"; diff --git a/apps/web/ee/hooks/use-additional-favorite-item-details.ts b/apps/web/ee/hooks/use-additional-favorite-item-details.ts index c3e863cea0..d7a890b070 100644 --- a/apps/web/ee/hooks/use-additional-favorite-item-details.ts +++ b/apps/web/ee/hooks/use-additional-favorite-item-details.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/use-additional-favorite-item-details"; diff --git a/apps/web/ee/hooks/use-editor-flagging.ts b/apps/web/ee/hooks/use-editor-flagging.ts index 13509de63e..b2e5e66b54 100644 --- a/apps/web/ee/hooks/use-editor-flagging.ts +++ b/apps/web/ee/hooks/use-editor-flagging.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/use-editor-flagging"; diff --git a/apps/web/ee/hooks/use-file-size.ts b/apps/web/ee/hooks/use-file-size.ts index 715ab8b901..2aa1a2ea1a 100644 --- a/apps/web/ee/hooks/use-file-size.ts +++ b/apps/web/ee/hooks/use-file-size.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/use-file-size"; diff --git a/apps/web/ee/hooks/use-issue-embed.tsx b/apps/web/ee/hooks/use-issue-embed.tsx index 96e436e70d..0ce96673ab 100644 --- a/apps/web/ee/hooks/use-issue-embed.tsx +++ b/apps/web/ee/hooks/use-issue-embed.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/use-issue-embed"; diff --git a/apps/web/ee/hooks/use-issue-properties.tsx b/apps/web/ee/hooks/use-issue-properties.tsx index 05a59ba560..3654ab4333 100644 --- a/apps/web/ee/hooks/use-issue-properties.tsx +++ b/apps/web/ee/hooks/use-issue-properties.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/use-issue-properties"; diff --git a/apps/web/ee/hooks/use-page-flag.ts b/apps/web/ee/hooks/use-page-flag.ts index 5dbd3aef24..b54821dff3 100644 --- a/apps/web/ee/hooks/use-page-flag.ts +++ b/apps/web/ee/hooks/use-page-flag.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/hooks/use-page-flag"; diff --git a/apps/web/ee/hooks/use-timeline-chart.ts b/apps/web/ee/hooks/use-timeline-chart.ts index 9e31d84e7d..f03866680a 100644 --- a/apps/web/ee/hooks/use-timeline-chart.ts +++ b/apps/web/ee/hooks/use-timeline-chart.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // For now, just re-export from CE // In the future, you can extend the timeline store mapping here for EE-specific timeline types export * from "ce/hooks/use-timeline-chart"; diff --git a/apps/web/ee/layouts/project-wrapper.tsx b/apps/web/ee/layouts/project-wrapper.tsx index 911665c978..4346d50ddc 100644 --- a/apps/web/ee/layouts/project-wrapper.tsx +++ b/apps/web/ee/layouts/project-wrapper.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/layouts/project-wrapper"; diff --git a/apps/web/ee/layouts/workspace-wrapper.tsx b/apps/web/ee/layouts/workspace-wrapper.tsx index 186266fc1a..28995114ff 100644 --- a/apps/web/ee/layouts/workspace-wrapper.tsx +++ b/apps/web/ee/layouts/workspace-wrapper.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/layouts/workspace-wrapper"; diff --git a/apps/web/ee/services/index.ts b/apps/web/ee/services/index.ts index 7e406b1b4c..998e3e9a46 100644 --- a/apps/web/ee/services/index.ts +++ b/apps/web/ee/services/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./project"; export * from "@/services/workspace.service"; diff --git a/apps/web/ee/services/project/estimate.service.ts b/apps/web/ee/services/project/estimate.service.ts index 752dd56efc..6bc359fc7d 100644 --- a/apps/web/ee/services/project/estimate.service.ts +++ b/apps/web/ee/services/project/estimate.service.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/services/project/estimate.service"; diff --git a/apps/web/ee/services/project/index.ts b/apps/web/ee/services/project/index.ts index 29b17e55d3..99d3ebcb90 100644 --- a/apps/web/ee/services/project/index.ts +++ b/apps/web/ee/services/project/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./estimate.service"; diff --git a/apps/web/ee/services/project/project-state.service.ts b/apps/web/ee/services/project/project-state.service.ts index f4a48ae717..74aa51083c 100644 --- a/apps/web/ee/services/project/project-state.service.ts +++ b/apps/web/ee/services/project/project-state.service.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/services/project/project-state.service"; diff --git a/apps/web/ee/store/analytics.store.ts b/apps/web/ee/store/analytics.store.ts index 9556dcf3aa..9ae14f9b65 100644 --- a/apps/web/ee/store/analytics.store.ts +++ b/apps/web/ee/store/analytics.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IBaseAnalyticsStore } from "@/store/analytics.store"; import { BaseAnalyticsStore } from "@/store/analytics.store"; diff --git a/apps/web/ee/store/command-palette.store.ts b/apps/web/ee/store/command-palette.store.ts index b191f9f2df..472663f9b2 100644 --- a/apps/web/ee/store/command-palette.store.ts +++ b/apps/web/ee/store/command-palette.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/command-palette.store"; diff --git a/apps/web/ee/store/cycle/index.ts b/apps/web/ee/store/cycle/index.ts index 3614d60c00..73f6ed4e83 100644 --- a/apps/web/ee/store/cycle/index.ts +++ b/apps/web/ee/store/cycle/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/store/cycle.store"; diff --git a/apps/web/ee/store/estimates/estimate.ts b/apps/web/ee/store/estimates/estimate.ts index baf2d1af73..0ca3a5bf97 100644 --- a/apps/web/ee/store/estimates/estimate.ts +++ b/apps/web/ee/store/estimates/estimate.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/estimates/estimate"; diff --git a/apps/web/ee/store/issue/helpers/base-issue.store.ts b/apps/web/ee/store/issue/helpers/base-issue.store.ts index ee0c73e56c..ef05c29f92 100644 --- a/apps/web/ee/store/issue/helpers/base-issue.store.ts +++ b/apps/web/ee/store/issue/helpers/base-issue.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/issue/helpers/base-issue.store"; diff --git a/apps/web/ee/store/issue/issue-details/activity.store.ts b/apps/web/ee/store/issue/issue-details/activity.store.ts index cda9d84aed..4b2417cd79 100644 --- a/apps/web/ee/store/issue/issue-details/activity.store.ts +++ b/apps/web/ee/store/issue/issue-details/activity.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/issue/issue-details/activity.store"; diff --git a/apps/web/ee/store/issue/issue-details/root.store.ts b/apps/web/ee/store/issue/issue-details/root.store.ts index f80b9384d4..9cbc67182e 100644 --- a/apps/web/ee/store/issue/issue-details/root.store.ts +++ b/apps/web/ee/store/issue/issue-details/root.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/issue/issue-details/root.store"; diff --git a/apps/web/ee/store/issue/team-views/index.ts b/apps/web/ee/store/issue/team-views/index.ts index c02c38b4fa..aaf0a16677 100644 --- a/apps/web/ee/store/issue/team-views/index.ts +++ b/apps/web/ee/store/issue/team-views/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/issue/team-views"; diff --git a/apps/web/ee/store/issue/team/index.ts b/apps/web/ee/store/issue/team/index.ts index 2e02634a96..d9c857b5b3 100644 --- a/apps/web/ee/store/issue/team/index.ts +++ b/apps/web/ee/store/issue/team/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/issue/team"; diff --git a/apps/web/ee/store/member/project-member.store.ts b/apps/web/ee/store/member/project-member.store.ts index 5ce937d279..5cae0613dd 100644 --- a/apps/web/ee/store/member/project-member.store.ts +++ b/apps/web/ee/store/member/project-member.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/member/project-member.store"; diff --git a/apps/web/ee/store/project-inbox.store.ts b/apps/web/ee/store/project-inbox.store.ts index 309e1e51e0..abe7af3e9d 100644 --- a/apps/web/ee/store/project-inbox.store.ts +++ b/apps/web/ee/store/project-inbox.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/project-inbox.store"; diff --git a/apps/web/ee/store/root.store.ts b/apps/web/ee/store/root.store.ts index c514c4c25f..0f36aac3dd 100644 --- a/apps/web/ee/store/root.store.ts +++ b/apps/web/ee/store/root.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/root.store"; diff --git a/apps/web/ee/store/state.store.ts b/apps/web/ee/store/state.store.ts index a25412ca8a..b27221268a 100644 --- a/apps/web/ee/store/state.store.ts +++ b/apps/web/ee/store/state.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/store/state.store"; diff --git a/apps/web/ee/store/timeline/base-timeline.store.ts b/apps/web/ee/store/timeline/base-timeline.store.ts index ce2bb7df4f..58d323b8da 100644 --- a/apps/web/ee/store/timeline/base-timeline.store.ts +++ b/apps/web/ee/store/timeline/base-timeline.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/timeline/base-timeline.store"; diff --git a/apps/web/ee/store/user/permission.store.ts b/apps/web/ee/store/user/permission.store.ts index 8281689bde..16e54bd9e8 100644 --- a/apps/web/ee/store/user/permission.store.ts +++ b/apps/web/ee/store/user/permission.store.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/store/user/permission.store"; diff --git a/apps/web/ee/types/index.ts b/apps/web/ee/types/index.ts index 0d4b66523e..969da5d1fb 100644 --- a/apps/web/ee/types/index.ts +++ b/apps/web/ee/types/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./projects"; export * from "./issue-types"; diff --git a/apps/web/ee/types/issue-types/index.ts b/apps/web/ee/types/issue-types/index.ts index 7259fa3518..8406674ae0 100644 --- a/apps/web/ee/types/issue-types/index.ts +++ b/apps/web/ee/types/issue-types/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue-property-values.d"; diff --git a/apps/web/ee/types/projects/index.ts b/apps/web/ee/types/projects/index.ts index 244d8c4df3..50822d864c 100644 --- a/apps/web/ee/types/projects/index.ts +++ b/apps/web/ee/types/projects/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./projects"; diff --git a/apps/web/ee/types/projects/projects.ts b/apps/web/ee/types/projects/projects.ts index e42a1130f0..59aa09b93f 100644 --- a/apps/web/ee/types/projects/projects.ts +++ b/apps/web/ee/types/projects/projects.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "ce/types/projects/projects"; diff --git a/apps/web/helpers/authentication.helper.tsx b/apps/web/helpers/authentication.helper.tsx index 4a493e5eda..ccbb568009 100644 --- a/apps/web/helpers/authentication.helper.tsx +++ b/apps/web/helpers/authentication.helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import Link from "next/link"; // plane imports diff --git a/apps/web/helpers/cover-image.helper.ts b/apps/web/helpers/cover-image.helper.ts index 23928107dc..7832b368cf 100644 --- a/apps/web/helpers/cover-image.helper.ts +++ b/apps/web/helpers/cover-image.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EFileAssetType } from "@plane/types"; import { getFileURL } from "@plane/utils"; diff --git a/apps/web/helpers/dashboard.helper.ts b/apps/web/helpers/dashboard.helper.ts index 1aac6c2af9..2d21975676 100644 --- a/apps/web/helpers/dashboard.helper.ts +++ b/apps/web/helpers/dashboard.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { endOfMonth, endOfWeek, endOfYear, startOfMonth, startOfWeek, startOfYear } from "date-fns"; // helpers // types diff --git a/apps/web/helpers/emoji.helper.tsx b/apps/web/helpers/emoji.helper.tsx index 6932f63afc..55edd2caae 100644 --- a/apps/web/helpers/emoji.helper.tsx +++ b/apps/web/helpers/emoji.helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Renders an emoji or icon * @param {string | { name: string; color: string }} emoji - The emoji or icon to render diff --git a/apps/web/helpers/graph.helper.ts b/apps/web/helpers/graph.helper.ts index 0ca5d3ffa7..055df63d51 100644 --- a/apps/web/helpers/graph.helper.ts +++ b/apps/web/helpers/graph.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ------------ DEPRECATED (Use re-charts and its helpers instead) ------------ export const generateYAxisTickValues = (data: number[]) => { diff --git a/apps/web/helpers/react-hook-form.helper.ts b/apps/web/helpers/react-hook-form.helper.ts index e286ce574a..da9a9fc681 100644 --- a/apps/web/helpers/react-hook-form.helper.ts +++ b/apps/web/helpers/react-hook-form.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FieldError, FieldValues } from "react-hook-form"; /** diff --git a/apps/web/helpers/views.helper.ts b/apps/web/helpers/views.helper.ts index eaa0e1e88d..3973472b95 100644 --- a/apps/web/helpers/views.helper.ts +++ b/apps/web/helpers/views.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LucideIcon } from "lucide-react"; import { VIEW_ACCESS_SPECIFIERS as VIEW_ACCESS_SPECIFIERS_CONSTANTS } from "@plane/constants"; import { GlobeIcon, LockIcon } from "@plane/propel/icons"; diff --git a/packages/codemods/function-declaration.ts b/packages/codemods/function-declaration.ts index 45f185053d..40897d8028 100644 --- a/packages/codemods/function-declaration.ts +++ b/packages/codemods/function-declaration.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CommentKind } from "ast-types/gen/kinds"; import { API, diff --git a/packages/codemods/remove-directives.ts b/packages/codemods/remove-directives.ts index 3e1e48ca80..5848fa3c27 100644 --- a/packages/codemods/remove-directives.ts +++ b/packages/codemods/remove-directives.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API, FileInfo, Options } from "jscodeshift"; import type { CommentKind, DirectiveKind } from "ast-types/gen/kinds"; diff --git a/packages/codemods/tests/function-declaration.spec.ts b/packages/codemods/tests/function-declaration.spec.ts index 31473548a5..7fe5b00f15 100644 --- a/packages/codemods/tests/function-declaration.spec.ts +++ b/packages/codemods/tests/function-declaration.spec.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { describe, it, expect } from "vitest"; import { applyTransform } from "@hypermod/utils"; import * as transformer from "../function-declaration"; diff --git a/packages/codemods/tests/remove-directives.spec.ts b/packages/codemods/tests/remove-directives.spec.ts index 8dfe6bd425..231236ac48 100644 --- a/packages/codemods/tests/remove-directives.spec.ts +++ b/packages/codemods/tests/remove-directives.spec.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { describe, it, expect } from "vitest"; import { applyTransform } from "@hypermod/utils"; import * as transformer from "../remove-directives"; diff --git a/packages/constants/src/ai.ts b/packages/constants/src/ai.ts index 8125302440..94c8592221 100644 --- a/packages/constants/src/ai.ts +++ b/packages/constants/src/ai.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum AI_EDITOR_TASKS { ASK_ANYTHING = "ASK_ANYTHING", } diff --git a/packages/constants/src/analytics/common.ts b/packages/constants/src/analytics/common.ts index a51ceac4da..01c56d1555 100644 --- a/packages/constants/src/analytics/common.ts +++ b/packages/constants/src/analytics/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TAnalyticsTabsBase } from "@plane/types"; import { ChartXAxisProperty, ChartYAxisMetric } from "@plane/types"; diff --git a/packages/constants/src/analytics/index.ts b/packages/constants/src/analytics/index.ts index 6b57160892..5d755bea33 100644 --- a/packages/constants/src/analytics/index.ts +++ b/packages/constants/src/analytics/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./common"; diff --git a/packages/constants/src/auth/core.ts b/packages/constants/src/auth/core.ts index a769348792..a6a26c69f3 100644 --- a/packages/constants/src/auth/core.ts +++ b/packages/constants/src/auth/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TCoreLoginMediums } from "@plane/types"; export const CORE_LOGIN_MEDIUM_LABELS: Record = { diff --git a/packages/constants/src/auth/extended.ts b/packages/constants/src/auth/extended.ts index 97eb974bd1..aaf067a4bb 100644 --- a/packages/constants/src/auth/extended.ts +++ b/packages/constants/src/auth/extended.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TExtendedLoginMediums } from "@plane/types"; export const EXTENDED_LOGIN_MEDIUM_LABELS: Record = {}; diff --git a/packages/constants/src/auth/index.ts b/packages/constants/src/auth/index.ts index 2c52598e33..6da55498a7 100644 --- a/packages/constants/src/auth/index.ts +++ b/packages/constants/src/auth/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLoginMediums } from "@plane/types"; import { CORE_LOGIN_MEDIUM_LABELS } from "./core"; import { EXTENDED_LOGIN_MEDIUM_LABELS } from "./extended"; diff --git a/packages/constants/src/chart.ts b/packages/constants/src/chart.ts index a42cfb5f1b..8a002a54fa 100644 --- a/packages/constants/src/chart.ts +++ b/packages/constants/src/chart.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TChartColorScheme } from "@plane/types"; import { ChartXAxisProperty } from "@plane/types"; diff --git a/packages/constants/src/cycle.ts b/packages/constants/src/cycle.ts index 7509ca9c6b..253a8cf69e 100644 --- a/packages/constants/src/cycle.ts +++ b/packages/constants/src/cycle.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types export const CYCLE_STATUS: { i18n_label: string; diff --git a/packages/constants/src/dashboard.ts b/packages/constants/src/dashboard.ts index 713b317875..dbc097c7fb 100644 --- a/packages/constants/src/dashboard.ts +++ b/packages/constants/src/dashboard.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { TIssuesListTypes } from "@plane/types"; diff --git a/packages/constants/src/emoji.ts b/packages/constants/src/emoji.ts index 9ba145e1c9..1fcc864c07 100644 --- a/packages/constants/src/emoji.ts +++ b/packages/constants/src/emoji.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const ISSUE_REACTION_EMOJI_CODES = [ "128077", "128078", diff --git a/packages/constants/src/endpoints.ts b/packages/constants/src/endpoints.ts index f077c1ff9a..630f07eba9 100644 --- a/packages/constants/src/endpoints.ts +++ b/packages/constants/src/endpoints.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const API_BASE_URL = process.env.VITE_API_BASE_URL || ""; export const API_BASE_PATH = process.env.VITE_API_BASE_PATH || ""; export const API_URL = encodeURI(`${API_BASE_URL}${API_BASE_PATH}`); diff --git a/packages/constants/src/estimates.ts b/packages/constants/src/estimates.ts index 092b6b0fbb..d8145b7d56 100644 --- a/packages/constants/src/estimates.ts +++ b/packages/constants/src/estimates.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TEstimateSystems } from "@plane/types"; diff --git a/packages/constants/src/event-tracker/core.ts b/packages/constants/src/event-tracker/core.ts index e2d305052e..7a262088ab 100644 --- a/packages/constants/src/event-tracker/core.ts +++ b/packages/constants/src/event-tracker/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EProductSubscriptionEnum } from "@plane/types"; /** diff --git a/packages/constants/src/event-tracker/index.ts b/packages/constants/src/event-tracker/index.ts index 8d119dee81..bcdcb87a16 100644 --- a/packages/constants/src/event-tracker/index.ts +++ b/packages/constants/src/event-tracker/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; diff --git a/packages/constants/src/file.ts b/packages/constants/src/file.ts index 9de3b0356b..3db0868124 100644 --- a/packages/constants/src/file.ts +++ b/packages/constants/src/file.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const MAX_FILE_SIZE = 5 * 1024 * 1024; // 5MB export const ACCEPTED_AVATAR_IMAGE_MIME_TYPES_FOR_REACT_DROPZONE = { diff --git a/packages/constants/src/filter.ts b/packages/constants/src/filter.ts index cc8d98c45c..9141a2b5d6 100644 --- a/packages/constants/src/filter.ts +++ b/packages/constants/src/filter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum E_SORT_ORDER { ASC = "asc", DESC = "desc", diff --git a/packages/constants/src/graph.ts b/packages/constants/src/graph.ts index 43058bdf86..6ae6053543 100644 --- a/packages/constants/src/graph.ts +++ b/packages/constants/src/graph.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const CHARTS_THEME = { background: "transparent", text: { diff --git a/packages/constants/src/icon.ts b/packages/constants/src/icon.ts index 3ee66e31e6..06dfa291ea 100644 --- a/packages/constants/src/icon.ts +++ b/packages/constants/src/icon.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EIconSize { XS = "xs", SM = "sm", diff --git a/packages/constants/src/index.ts b/packages/constants/src/index.ts index 7c33d5d3a8..822c4e770c 100644 --- a/packages/constants/src/index.ts +++ b/packages/constants/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./ai"; export * from "./analytics"; export * from "./auth"; diff --git a/packages/constants/src/instance.ts b/packages/constants/src/instance.ts index f929b2211e..29931a7e48 100644 --- a/packages/constants/src/instance.ts +++ b/packages/constants/src/instance.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EInstanceStatus { ERROR = "ERROR", NOT_YET_READY = "NOT_YET_READY", diff --git a/packages/constants/src/intake.ts b/packages/constants/src/intake.ts index 2dd5fe6aea..40ef3862bd 100644 --- a/packages/constants/src/intake.ts +++ b/packages/constants/src/intake.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TInboxIssueStatus } from "@plane/types"; import { EInboxIssueStatus } from "@plane/types"; diff --git a/packages/constants/src/issue/common.ts b/packages/constants/src/issue/common.ts index 43460b0519..1edf582fd4 100644 --- a/packages/constants/src/issue/common.ts +++ b/packages/constants/src/issue/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssueGroupByOptions, TIssueOrderByOptions, diff --git a/packages/constants/src/issue/filter.ts b/packages/constants/src/issue/filter.ts index 126f886092..115b8856f4 100644 --- a/packages/constants/src/issue/filter.ts +++ b/packages/constants/src/issue/filter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IIssueFilterOptions, ILayoutDisplayFiltersOptions, diff --git a/packages/constants/src/issue/index.ts b/packages/constants/src/issue/index.ts index c5cf790815..d5660c6741 100644 --- a/packages/constants/src/issue/index.ts +++ b/packages/constants/src/issue/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./common"; export * from "./filter"; export * from "./layout"; diff --git a/packages/constants/src/issue/layout.ts b/packages/constants/src/issue/layout.ts index 88b7406063..a64954342d 100644 --- a/packages/constants/src/issue/layout.ts +++ b/packages/constants/src/issue/layout.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { EIssueLayoutTypes } from "@plane/types"; export type TIssueLayout = "list" | "kanban" | "calendar" | "spreadsheet" | "gantt"; diff --git a/packages/constants/src/issue/modal.ts b/packages/constants/src/issue/modal.ts index 0a356ddf1d..b5ce1f8a26 100644 --- a/packages/constants/src/issue/modal.ts +++ b/packages/constants/src/issue/modal.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TIssue } from "@plane/types"; diff --git a/packages/constants/src/label.ts b/packages/constants/src/label.ts index 220e56209e..37c360e79c 100644 --- a/packages/constants/src/label.ts +++ b/packages/constants/src/label.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const LABEL_COLOR_OPTIONS = [ "#FF6900", "#FCB900", diff --git a/packages/constants/src/members.ts b/packages/constants/src/members.ts index 355ae81e36..94e1c5199c 100644 --- a/packages/constants/src/members.ts +++ b/packages/constants/src/members.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Member property constants - Single source of truth for member spreadsheet properties export type TMemberOrderByOptions = diff --git a/packages/constants/src/metadata.ts b/packages/constants/src/metadata.ts index 5bd6e36b4e..c44e44105a 100644 --- a/packages/constants/src/metadata.ts +++ b/packages/constants/src/metadata.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const SITE_NAME = "Plane | Simple, extensible, open-source project management tool."; export const SITE_TITLE = "Plane | Simple, extensible, open-source project management tool."; export const SITE_DESCRIPTION = diff --git a/packages/constants/src/module.ts b/packages/constants/src/module.ts index 6c2ef6ed18..b03618079a 100644 --- a/packages/constants/src/module.ts +++ b/packages/constants/src/module.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { TModuleLayoutOptions, TModuleOrderByOptions, TModuleStatus } from "@plane/types"; diff --git a/packages/constants/src/notification.ts b/packages/constants/src/notification.ts index 6d2aec2bdd..9c560f76d4 100644 --- a/packages/constants/src/notification.ts +++ b/packages/constants/src/notification.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TUnreadNotificationsCount } from "@plane/types"; export enum ENotificationTab { diff --git a/packages/constants/src/page.ts b/packages/constants/src/page.ts index 182cff40e3..39f0e5d35e 100644 --- a/packages/constants/src/page.ts +++ b/packages/constants/src/page.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EPageAccess { PUBLIC = 0, PRIVATE = 1, diff --git a/packages/constants/src/payment.ts b/packages/constants/src/payment.ts index 1c08f45a97..19fab65b2b 100644 --- a/packages/constants/src/payment.ts +++ b/packages/constants/src/payment.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IPaymentProduct, TBillingFrequency, TProductBillingFrequency } from "@plane/types"; import { EProductSubscriptionEnum } from "@plane/types"; diff --git a/packages/constants/src/profile.ts b/packages/constants/src/profile.ts index 1dfa3c41a0..5af2770287 100644 --- a/packages/constants/src/profile.ts +++ b/packages/constants/src/profile.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { EStartOfTheWeek } from "@plane/types"; diff --git a/packages/constants/src/project.ts b/packages/constants/src/project.ts index f28f5c9336..b8218d6962 100644 --- a/packages/constants/src/project.ts +++ b/packages/constants/src/project.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TProjectAppliedDisplayFilterKeys, TProjectOrderByOptions } from "@plane/types"; // local imports diff --git a/packages/constants/src/rich-filters/index.ts b/packages/constants/src/rich-filters/index.ts index cf6b76514c..ca9f1a5ea0 100644 --- a/packages/constants/src/rich-filters/index.ts +++ b/packages/constants/src/rich-filters/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./operator-labels"; export * from "./option"; diff --git a/packages/constants/src/rich-filters/operator-labels/core.ts b/packages/constants/src/rich-filters/operator-labels/core.ts index ae7ccb23d6..a973c5f95d 100644 --- a/packages/constants/src/rich-filters/operator-labels/core.ts +++ b/packages/constants/src/rich-filters/operator-labels/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TCoreSupportedOperators, TCoreSupportedDateFilterOperators } from "@plane/types"; import { CORE_EQUALITY_OPERATOR, CORE_COLLECTION_OPERATOR, CORE_COMPARISON_OPERATOR } from "@plane/types"; diff --git a/packages/constants/src/rich-filters/operator-labels/extended.ts b/packages/constants/src/rich-filters/operator-labels/extended.ts index 5f4e7514d0..2c02099156 100644 --- a/packages/constants/src/rich-filters/operator-labels/extended.ts +++ b/packages/constants/src/rich-filters/operator-labels/extended.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TExtendedSupportedOperators } from "@plane/types"; /** diff --git a/packages/constants/src/rich-filters/operator-labels/index.ts b/packages/constants/src/rich-filters/operator-labels/index.ts index 24d428e54c..4887007853 100644 --- a/packages/constants/src/rich-filters/operator-labels/index.ts +++ b/packages/constants/src/rich-filters/operator-labels/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TAllAvailableOperatorsForDisplay, TAllAvailableDateFilterOperatorsForDisplay } from "@plane/types"; import { CORE_OPERATOR_LABELS_MAP, CORE_DATE_OPERATOR_LABELS_MAP } from "./core"; import { diff --git a/packages/constants/src/rich-filters/option.ts b/packages/constants/src/rich-filters/option.ts index 69e66a32d7..e937a1d730 100644 --- a/packages/constants/src/rich-filters/option.ts +++ b/packages/constants/src/rich-filters/option.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TExternalFilter } from "@plane/types"; /** diff --git a/packages/constants/src/settings/index.ts b/packages/constants/src/settings/index.ts index e24ff3c651..ce07612f78 100644 --- a/packages/constants/src/settings/index.ts +++ b/packages/constants/src/settings/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./profile"; export * from "./project"; export * from "./workspace"; diff --git a/packages/constants/src/settings/profile.ts b/packages/constants/src/settings/profile.ts index ea5ed5a6fe..38edd4ace5 100644 --- a/packages/constants/src/settings/profile.ts +++ b/packages/constants/src/settings/profile.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TProfileSettingsTabs } from "@plane/types"; diff --git a/packages/constants/src/settings/project.ts b/packages/constants/src/settings/project.ts index 7704c22fd2..898d9ee764 100644 --- a/packages/constants/src/settings/project.ts +++ b/packages/constants/src/settings/project.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { EUserProjectRoles } from "@plane/types"; import type { TProjectSettingsItem, TProjectSettingsTabs } from "@plane/types"; diff --git a/packages/constants/src/settings/workspace.ts b/packages/constants/src/settings/workspace.ts index d56b989aaa..f6b9443695 100644 --- a/packages/constants/src/settings/workspace.ts +++ b/packages/constants/src/settings/workspace.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TWorkspaceSettingsItem, TWorkspaceSettingsTabs } from "@plane/types"; import { EUserWorkspaceRoles } from "@plane/types"; diff --git a/packages/constants/src/sidebar.ts b/packages/constants/src/sidebar.ts index 7468597549..cb7d7f7115 100644 --- a/packages/constants/src/sidebar.ts +++ b/packages/constants/src/sidebar.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const SIDEBAR_WIDTH = 250; export const EXTENDED_SIDEBAR_WIDTH = 300; diff --git a/packages/constants/src/spreadsheet.ts b/packages/constants/src/spreadsheet.ts index 57723e4491..45bf900072 100644 --- a/packages/constants/src/spreadsheet.ts +++ b/packages/constants/src/spreadsheet.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const SPREADSHEET_SELECT_GROUP = "spreadsheet-issues"; diff --git a/packages/constants/src/state.ts b/packages/constants/src/state.ts index 326834aca7..36adef17b7 100644 --- a/packages/constants/src/state.ts +++ b/packages/constants/src/state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TStateGroups } from "@plane/types"; export type TDraggableData = { diff --git a/packages/constants/src/stickies.ts b/packages/constants/src/stickies.ts index 6bf6fd20b9..4275393a0d 100644 --- a/packages/constants/src/stickies.ts +++ b/packages/constants/src/stickies.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const STICKIES_PER_PAGE = 30; diff --git a/packages/constants/src/subscription.ts b/packages/constants/src/subscription.ts index c2d2cfa133..eeb948a5a6 100644 --- a/packages/constants/src/subscription.ts +++ b/packages/constants/src/subscription.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const ENTERPRISE_PLAN_FEATURES = [ "Private + managed deployments", "GAC", diff --git a/packages/constants/src/swr.ts b/packages/constants/src/swr.ts index e981dd1d0c..faceae2638 100644 --- a/packages/constants/src/swr.ts +++ b/packages/constants/src/swr.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const DEFAULT_SWR_CONFIG = { refreshWhenHidden: false, revalidateIfStale: false, diff --git a/packages/constants/src/tab-indices.ts b/packages/constants/src/tab-indices.ts index 8295841316..2e771a4b6c 100644 --- a/packages/constants/src/tab-indices.ts +++ b/packages/constants/src/tab-indices.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const ISSUE_FORM_TAB_INDICES = [ "name", "description_html", diff --git a/packages/constants/src/themes.ts b/packages/constants/src/themes.ts index bd5d9ba2d3..4c2cf21dc7 100644 --- a/packages/constants/src/themes.ts +++ b/packages/constants/src/themes.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const THEMES = ["light", "dark", "light-contrast", "dark-contrast", "custom"]; export interface I_THEME_OPTION { diff --git a/packages/constants/src/user.ts b/packages/constants/src/user.ts index b13c953116..7b65c93f83 100644 --- a/packages/constants/src/user.ts +++ b/packages/constants/src/user.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EAuthenticationPageType { STATIC = "STATIC", NOT_AUTHENTICATED = "NOT_AUTHENTICATED", diff --git a/packages/constants/src/views.ts b/packages/constants/src/views.ts index 7e9e141ecf..90b017d778 100644 --- a/packages/constants/src/views.ts +++ b/packages/constants/src/views.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { EViewAccess } from "@plane/types"; export const VIEW_ACCESS_SPECIFIERS: { diff --git a/packages/constants/src/workspace-drafts.ts b/packages/constants/src/workspace-drafts.ts index 4c1c88f9f6..472b0d078f 100644 --- a/packages/constants/src/workspace-drafts.ts +++ b/packages/constants/src/workspace-drafts.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EDraftIssuePaginationType { INIT = "INIT", NEXT = "NEXT", diff --git a/packages/constants/src/workspace.ts b/packages/constants/src/workspace.ts index f2cf5be972..6083c77195 100644 --- a/packages/constants/src/workspace.ts +++ b/packages/constants/src/workspace.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TStaticViewTypes, IWorkspaceSearchResults } from "@plane/types"; import { EUserWorkspaceRoles } from "@plane/types"; diff --git a/packages/decorators/src/controller.ts b/packages/decorators/src/controller.ts index 07fe36cfb4..779ee80c1e 100644 --- a/packages/decorators/src/controller.ts +++ b/packages/decorators/src/controller.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RequestHandler, Router, Request } from "express"; import type { WebSocket } from "ws"; diff --git a/packages/decorators/src/index.ts b/packages/decorators/src/index.ts index 9ca53cfb55..b31ab97ef4 100644 --- a/packages/decorators/src/index.ts +++ b/packages/decorators/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./controller"; export * from "./rest"; export * from "./websocket"; diff --git a/packages/decorators/src/rest.ts b/packages/decorators/src/rest.ts index 7de1d92e4f..16151955e4 100644 --- a/packages/decorators/src/rest.ts +++ b/packages/decorators/src/rest.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import "reflect-metadata"; import type { RequestHandler } from "express"; diff --git a/packages/decorators/src/websocket.ts b/packages/decorators/src/websocket.ts index 282df89709..2efbe9f3dc 100644 --- a/packages/decorators/src/websocket.ts +++ b/packages/decorators/src/websocket.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import "reflect-metadata"; /** diff --git a/packages/editor/src/ce/components/document-editor-side-effects.ts b/packages/editor/src/ce/components/document-editor-side-effects.ts index 663fd927ba..af00a64339 100644 --- a/packages/editor/src/ce/components/document-editor-side-effects.ts +++ b/packages/editor/src/ce/components/document-editor-side-effects.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import type { ReactElement } from "react"; import type { IEditorPropsExtended } from "@/types"; diff --git a/packages/editor/src/ce/components/link-container.tsx b/packages/editor/src/ce/components/link-container.tsx index 4994ae1240..eb822fdd13 100644 --- a/packages/editor/src/ce/components/link-container.tsx +++ b/packages/editor/src/ce/components/link-container.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { LinkViewContainer } from "@/components/editors/link-view-container"; diff --git a/packages/editor/src/ce/constants/assets.ts b/packages/editor/src/ce/constants/assets.ts index 364b60cbab..ec6d002e07 100644 --- a/packages/editor/src/ce/constants/assets.ts +++ b/packages/editor/src/ce/constants/assets.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // helpers import type { TAssetMetaDataRecord } from "@/helpers/assets"; // local imports diff --git a/packages/editor/src/ce/constants/extensions.ts b/packages/editor/src/ce/constants/extensions.ts index 2b19b07f02..6674bc58ad 100644 --- a/packages/editor/src/ce/constants/extensions.ts +++ b/packages/editor/src/ce/constants/extensions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum ADDITIONAL_EXTENSIONS {} export const ADDITIONAL_BLOCK_NODE_TYPES = []; diff --git a/packages/editor/src/ce/constants/utility.ts b/packages/editor/src/ce/constants/utility.ts index 767e3ea2ef..355c50cc0d 100644 --- a/packages/editor/src/ce/constants/utility.ts +++ b/packages/editor/src/ce/constants/utility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { ADDITIONAL_EXTENSIONS } from "@plane/utils"; import { CORE_EXTENSIONS } from "@plane/utils"; diff --git a/packages/editor/src/ce/extensions/core/extensions.ts b/packages/editor/src/ce/extensions/core/extensions.ts index e09038bca5..cf3bddc7ee 100644 --- a/packages/editor/src/ce/extensions/core/extensions.ts +++ b/packages/editor/src/ce/extensions/core/extensions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Extensions } from "@tiptap/core"; // types import type { IEditorProps } from "@/types"; diff --git a/packages/editor/src/ce/extensions/core/index.ts b/packages/editor/src/ce/extensions/core/index.ts index e121e50b06..5c8c992e5e 100644 --- a/packages/editor/src/ce/extensions/core/index.ts +++ b/packages/editor/src/ce/extensions/core/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./extensions"; diff --git a/packages/editor/src/ce/extensions/core/without-props.ts b/packages/editor/src/ce/extensions/core/without-props.ts index 7689c54c2c..e571502d18 100644 --- a/packages/editor/src/ce/extensions/core/without-props.ts +++ b/packages/editor/src/ce/extensions/core/without-props.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Extensions } from "@tiptap/core"; export const CoreEditorAdditionalExtensionsWithoutProps: Extensions = []; diff --git a/packages/editor/src/ce/extensions/document-extensions.tsx b/packages/editor/src/ce/extensions/document-extensions.tsx index 28a470c679..118364c462 100644 --- a/packages/editor/src/ce/extensions/document-extensions.tsx +++ b/packages/editor/src/ce/extensions/document-extensions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import type { AnyExtension } from "@tiptap/core"; import { SlashCommands } from "@/extensions"; diff --git a/packages/editor/src/ce/extensions/index.ts b/packages/editor/src/ce/extensions/index.ts index c9f58a936a..c5929b0eb7 100644 --- a/packages/editor/src/ce/extensions/index.ts +++ b/packages/editor/src/ce/extensions/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; export * from "./document-extensions"; export * from "./slash-commands"; diff --git a/packages/editor/src/ce/extensions/rich-text-extensions.tsx b/packages/editor/src/ce/extensions/rich-text-extensions.tsx index 6cd6ad06ca..c59647a007 100644 --- a/packages/editor/src/ce/extensions/rich-text-extensions.tsx +++ b/packages/editor/src/ce/extensions/rich-text-extensions.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AnyExtension, Extensions } from "@tiptap/core"; // extensions import { SlashCommands } from "@/extensions/slash-commands/root"; diff --git a/packages/editor/src/ce/extensions/slash-commands.tsx b/packages/editor/src/ce/extensions/slash-commands.tsx index d61d056c8d..370acb0772 100644 --- a/packages/editor/src/ce/extensions/slash-commands.tsx +++ b/packages/editor/src/ce/extensions/slash-commands.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // extensions import type { TSlashCommandAdditionalOption } from "@/extensions"; // types diff --git a/packages/editor/src/ce/helpers/asset-duplication.ts b/packages/editor/src/ce/helpers/asset-duplication.ts index 2a2a6e4079..84da1a2efc 100644 --- a/packages/editor/src/ce/helpers/asset-duplication.ts +++ b/packages/editor/src/ce/helpers/asset-duplication.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { v4 as uuidv4 } from "uuid"; import { ECustomImageAttributeNames, ECustomImageStatus } from "@/extensions/custom-image/types"; diff --git a/packages/editor/src/ce/helpers/parser.ts b/packages/editor/src/ce/helpers/parser.ts index 5b96c9cfd0..bc60a82c4b 100644 --- a/packages/editor/src/ce/helpers/parser.ts +++ b/packages/editor/src/ce/helpers/parser.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * @description function to extract all additional assets from HTML content * @param htmlContent diff --git a/packages/editor/src/ce/types/asset.ts b/packages/editor/src/ce/types/asset.ts index 4410c0f2cd..9d3f4b824d 100644 --- a/packages/editor/src/ce/types/asset.ts +++ b/packages/editor/src/ce/types/asset.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TAdditionalEditorAsset = never; diff --git a/packages/editor/src/ce/types/config.ts b/packages/editor/src/ce/types/config.ts index 29693e9957..cc8a43e897 100644 --- a/packages/editor/src/ce/types/config.ts +++ b/packages/editor/src/ce/types/config.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TExtendedFileHandler = object; diff --git a/packages/editor/src/ce/types/editor-extended.ts b/packages/editor/src/ce/types/editor-extended.ts index 0c3868112c..a9b9f2ec7e 100644 --- a/packages/editor/src/ce/types/editor-extended.ts +++ b/packages/editor/src/ce/types/editor-extended.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type IEditorExtensionOptions = unknown; export type IEditorPropsExtended = unknown; diff --git a/packages/editor/src/ce/types/index.ts b/packages/editor/src/ce/types/index.ts index c2c5d6dfaf..2745670e5a 100644 --- a/packages/editor/src/ce/types/index.ts +++ b/packages/editor/src/ce/types/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue-embed"; export * from "./editor-extended"; export * from "./config"; diff --git a/packages/editor/src/ce/types/issue-embed.ts b/packages/editor/src/ce/types/issue-embed.ts index d68d182a04..02ecfb2f8b 100644 --- a/packages/editor/src/ce/types/issue-embed.ts +++ b/packages/editor/src/ce/types/issue-embed.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TEmbedConfig = { issue?: TIssueEmbedConfig; }; diff --git a/packages/editor/src/ce/types/storage.ts b/packages/editor/src/ce/types/storage.ts index 56a49da8c1..821c08ec97 100644 --- a/packages/editor/src/ce/types/storage.ts +++ b/packages/editor/src/ce/types/storage.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // extensions import type { ImageExtensionStorage } from "@/extensions/image"; diff --git a/packages/editor/src/ce/types/utils.ts b/packages/editor/src/ce/types/utils.ts index 1f4efd8b74..5900256f60 100644 --- a/packages/editor/src/ce/types/utils.ts +++ b/packages/editor/src/ce/types/utils.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TAdditionalActiveDropbarExtensions = never; diff --git a/packages/editor/src/core/components/editors/document/collaborative-editor.tsx b/packages/editor/src/core/components/editors/document/collaborative-editor.tsx index 7ea5b23b4a..9278e54bdf 100644 --- a/packages/editor/src/core/components/editors/document/collaborative-editor.tsx +++ b/packages/editor/src/core/components/editors/document/collaborative-editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo } from "react"; // plane imports import { cn } from "@plane/utils"; diff --git a/packages/editor/src/core/components/editors/document/editor.tsx b/packages/editor/src/core/components/editors/document/editor.tsx index 9e30e87729..f85b89710a 100644 --- a/packages/editor/src/core/components/editors/document/editor.tsx +++ b/packages/editor/src/core/components/editors/document/editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Extensions } from "@tiptap/core"; import type { MutableRefObject } from "react"; import { forwardRef, useMemo } from "react"; diff --git a/packages/editor/src/core/components/editors/document/index.ts b/packages/editor/src/core/components/editors/document/index.ts index 8a5bffd178..18c289f505 100644 --- a/packages/editor/src/core/components/editors/document/index.ts +++ b/packages/editor/src/core/components/editors/document/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./collaborative-editor"; export * from "./editor"; export * from "./loader"; diff --git a/packages/editor/src/core/components/editors/document/loader.tsx b/packages/editor/src/core/components/editors/document/loader.tsx index f24eedb018..c4f50f8a46 100644 --- a/packages/editor/src/core/components/editors/document/loader.tsx +++ b/packages/editor/src/core/components/editors/document/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { Loader } from "@plane/ui"; import { cn } from "@plane/utils"; diff --git a/packages/editor/src/core/components/editors/document/page-renderer.tsx b/packages/editor/src/core/components/editors/document/page-renderer.tsx index 591c5e55b2..dae1974842 100644 --- a/packages/editor/src/core/components/editors/document/page-renderer.tsx +++ b/packages/editor/src/core/components/editors/document/page-renderer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import type { Editor } from "@tiptap/react"; // plane imports diff --git a/packages/editor/src/core/components/editors/editor-container.tsx b/packages/editor/src/core/components/editors/editor-container.tsx index c6ba43ad89..38600446e2 100644 --- a/packages/editor/src/core/components/editors/editor-container.tsx +++ b/packages/editor/src/core/components/editors/editor-container.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import type { Editor } from "@tiptap/react"; import type { FC, ReactNode } from "react"; diff --git a/packages/editor/src/core/components/editors/editor-content.tsx b/packages/editor/src/core/components/editors/editor-content.tsx index 20ee7d4295..9179c611fe 100644 --- a/packages/editor/src/core/components/editors/editor-content.tsx +++ b/packages/editor/src/core/components/editors/editor-content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { EditorContent } from "@tiptap/react"; import type { Editor } from "@tiptap/react"; import type { ReactNode } from "react"; diff --git a/packages/editor/src/core/components/editors/editor-wrapper.tsx b/packages/editor/src/core/components/editors/editor-wrapper.tsx index 5c0ba9c248..69f0fd2ac7 100644 --- a/packages/editor/src/core/components/editors/editor-wrapper.tsx +++ b/packages/editor/src/core/components/editors/editor-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor, Extensions } from "@tiptap/core"; // components import { EditorContainer } from "@/components/editors"; diff --git a/packages/editor/src/core/components/editors/index.ts b/packages/editor/src/core/components/editors/index.ts index 6248f407d9..e32a2a965f 100644 --- a/packages/editor/src/core/components/editors/index.ts +++ b/packages/editor/src/core/components/editors/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./document"; export * from "./lite-text"; export * from "./rich-text"; diff --git a/packages/editor/src/core/components/editors/link-view-container.tsx b/packages/editor/src/core/components/editors/link-view-container.tsx index 3b1c6132ae..6fd3a61d0d 100644 --- a/packages/editor/src/core/components/editors/link-view-container.tsx +++ b/packages/editor/src/core/components/editors/link-view-container.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { autoUpdate, flip, hide, shift, useDismiss, useFloating, useInteractions } from "@floating-ui/react"; import type { Editor } from "@tiptap/react"; import { useEditorState } from "@tiptap/react"; diff --git a/packages/editor/src/core/components/editors/lite-text/editor.tsx b/packages/editor/src/core/components/editors/lite-text/editor.tsx index 6734058d19..41f986ea09 100644 --- a/packages/editor/src/core/components/editors/lite-text/editor.tsx +++ b/packages/editor/src/core/components/editors/lite-text/editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { forwardRef, useMemo } from "react"; // components import { EditorWrapper } from "@/components/editors/editor-wrapper"; diff --git a/packages/editor/src/core/components/editors/lite-text/index.ts b/packages/editor/src/core/components/editors/lite-text/index.ts index 8b1fd904bb..4c9233aa45 100644 --- a/packages/editor/src/core/components/editors/lite-text/index.ts +++ b/packages/editor/src/core/components/editors/lite-text/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./editor"; diff --git a/packages/editor/src/core/components/editors/rich-text/editor.tsx b/packages/editor/src/core/components/editors/rich-text/editor.tsx index 557ab7660a..1ab43e8e70 100644 --- a/packages/editor/src/core/components/editors/rich-text/editor.tsx +++ b/packages/editor/src/core/components/editors/rich-text/editor.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { forwardRef, useCallback } from "react"; // components import { EditorWrapper } from "@/components/editors"; diff --git a/packages/editor/src/core/components/editors/rich-text/index.ts b/packages/editor/src/core/components/editors/rich-text/index.ts index 8b1fd904bb..4c9233aa45 100644 --- a/packages/editor/src/core/components/editors/rich-text/index.ts +++ b/packages/editor/src/core/components/editors/rich-text/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./editor"; diff --git a/packages/editor/src/core/components/links/index.ts b/packages/editor/src/core/components/links/index.ts index 4bd24e373d..206f7cec4e 100644 --- a/packages/editor/src/core/components/links/index.ts +++ b/packages/editor/src/core/components/links/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./link-edit-view"; export * from "./link-preview"; export * from "./link-view"; diff --git a/packages/editor/src/core/components/links/link-edit-view.tsx b/packages/editor/src/core/components/links/link-edit-view.tsx index 61aed14dc3..3ec192f273 100644 --- a/packages/editor/src/core/components/links/link-edit-view.tsx +++ b/packages/editor/src/core/components/links/link-edit-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node } from "@tiptap/pm/model"; import { Link2Off } from "lucide-react"; import { useCallback, useEffect, useRef, useState } from "react"; diff --git a/packages/editor/src/core/components/links/link-preview.tsx b/packages/editor/src/core/components/links/link-preview.tsx index 8a108ff020..50a5310d79 100644 --- a/packages/editor/src/core/components/links/link-preview.tsx +++ b/packages/editor/src/core/components/links/link-preview.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Link2Off } from "lucide-react"; import { CopyIcon, GlobeIcon, EditIcon } from "@plane/propel/icons"; // components diff --git a/packages/editor/src/core/components/links/link-view.tsx b/packages/editor/src/core/components/links/link-view.tsx index 4bf0996fc2..f6d1874e3b 100644 --- a/packages/editor/src/core/components/links/link-view.tsx +++ b/packages/editor/src/core/components/links/link-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/react"; import type { CSSProperties } from "react"; import { useEffect, useState } from "react"; diff --git a/packages/editor/src/core/components/menus/ai-menu.tsx b/packages/editor/src/core/components/menus/ai-menu.tsx index be7a4cf98f..d27125b990 100644 --- a/packages/editor/src/core/components/menus/ai-menu.tsx +++ b/packages/editor/src/core/components/menus/ai-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useRef, useState } from "react"; import tippy from "tippy.js"; import type { Instance } from "tippy.js"; diff --git a/packages/editor/src/core/components/menus/block-menu-options.tsx b/packages/editor/src/core/components/menus/block-menu-options.tsx index d260d8a609..9a8b42c7fb 100644 --- a/packages/editor/src/core/components/menus/block-menu-options.tsx +++ b/packages/editor/src/core/components/menus/block-menu-options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import { TableMap } from "@tiptap/pm/tables"; import type { Editor } from "@tiptap/react"; diff --git a/packages/editor/src/core/components/menus/block-menu.tsx b/packages/editor/src/core/components/menus/block-menu.tsx index 4538818b0f..c104eeac15 100644 --- a/packages/editor/src/core/components/menus/block-menu.tsx +++ b/packages/editor/src/core/components/menus/block-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useFloating, autoUpdate, diff --git a/packages/editor/src/core/components/menus/bubble-menu/alignment-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/alignment-selector.tsx index 4a1aac352a..cc1aaffcaf 100644 --- a/packages/editor/src/core/components/menus/bubble-menu/alignment-selector.tsx +++ b/packages/editor/src/core/components/menus/bubble-menu/alignment-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import type { LucideIcon } from "lucide-react"; import { AlignCenter, AlignLeft, AlignRight } from "lucide-react"; diff --git a/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx index c6fc542ed7..16bb7a47f6 100644 --- a/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx +++ b/packages/editor/src/core/components/menus/bubble-menu/color-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/react"; import { ALargeSmall, Ban } from "lucide-react"; import { useMemo } from "react"; diff --git a/packages/editor/src/core/components/menus/bubble-menu/index.ts b/packages/editor/src/core/components/menus/bubble-menu/index.ts index f06aeab631..122fad4f16 100644 --- a/packages/editor/src/core/components/menus/bubble-menu/index.ts +++ b/packages/editor/src/core/components/menus/bubble-menu/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./color-selector"; export * from "./node-selector"; export * from "./root"; diff --git a/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx index 103a78264c..78233c25a8 100644 --- a/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx +++ b/packages/editor/src/core/components/menus/bubble-menu/link-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import type { FC } from "react"; diff --git a/packages/editor/src/core/components/menus/bubble-menu/node-selector.tsx b/packages/editor/src/core/components/menus/bubble-menu/node-selector.tsx index ff16bdc130..8693680a64 100644 --- a/packages/editor/src/core/components/menus/bubble-menu/node-selector.tsx +++ b/packages/editor/src/core/components/menus/bubble-menu/node-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/react"; import type { FC } from "react"; diff --git a/packages/editor/src/core/components/menus/bubble-menu/root.tsx b/packages/editor/src/core/components/menus/bubble-menu/root.tsx index 0de70f9aa3..0c4efd3607 100644 --- a/packages/editor/src/core/components/menus/bubble-menu/root.tsx +++ b/packages/editor/src/core/components/menus/bubble-menu/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isNodeSelection } from "@tiptap/core"; import type { Editor } from "@tiptap/core"; import { BubbleMenu, useEditorState } from "@tiptap/react"; diff --git a/packages/editor/src/core/components/menus/floating-menu/root.tsx b/packages/editor/src/core/components/menus/floating-menu/root.tsx index 33896c1cef..1bb0882eff 100644 --- a/packages/editor/src/core/components/menus/floating-menu/root.tsx +++ b/packages/editor/src/core/components/menus/floating-menu/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { FloatingOverlay, FloatingPortal } from "@floating-ui/react"; import type { UseInteractionsReturn, UseFloatingReturn } from "@floating-ui/react"; diff --git a/packages/editor/src/core/components/menus/floating-menu/use-floating-menu.ts b/packages/editor/src/core/components/menus/floating-menu/use-floating-menu.ts index e07d03386f..eebeb8eb36 100644 --- a/packages/editor/src/core/components/menus/floating-menu/use-floating-menu.ts +++ b/packages/editor/src/core/components/menus/floating-menu/use-floating-menu.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { shift, flip, diff --git a/packages/editor/src/core/components/menus/index.ts b/packages/editor/src/core/components/menus/index.ts index ed4f4e7cc6..6e67563596 100644 --- a/packages/editor/src/core/components/menus/index.ts +++ b/packages/editor/src/core/components/menus/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./ai-menu"; export * from "./bubble-menu"; export * from "./block-menu"; diff --git a/packages/editor/src/core/components/menus/menu-items.ts b/packages/editor/src/core/components/menus/menu-items.ts index 242aaf33f8..74407c9a03 100644 --- a/packages/editor/src/core/components/menus/menu-items.ts +++ b/packages/editor/src/core/components/menus/menu-items.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/react"; import { BoldIcon, diff --git a/packages/editor/src/core/constants/common.ts b/packages/editor/src/core/constants/common.ts index cae55c91b8..b0617ec791 100644 --- a/packages/editor/src/core/constants/common.ts +++ b/packages/editor/src/core/constants/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LucideIcon } from "lucide-react"; import { AlignCenter, diff --git a/packages/editor/src/core/constants/config.ts b/packages/editor/src/core/constants/config.ts index 1a9b15a953..64508e63e0 100644 --- a/packages/editor/src/core/constants/config.ts +++ b/packages/editor/src/core/constants/config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { TDisplayConfig } from "@/types"; diff --git a/packages/editor/src/core/constants/document-collaborative-events.ts b/packages/editor/src/core/constants/document-collaborative-events.ts index 6859c588a5..e8df6f1de8 100644 --- a/packages/editor/src/core/constants/document-collaborative-events.ts +++ b/packages/editor/src/core/constants/document-collaborative-events.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EPageAccess } from "@plane/constants"; import type { TPage } from "@plane/types"; import type { CreatePayload, BaseActionPayload } from "@/types"; diff --git a/packages/editor/src/core/constants/extension.ts b/packages/editor/src/core/constants/extension.ts index 369be0648f..3226cfd8d1 100644 --- a/packages/editor/src/core/constants/extension.ts +++ b/packages/editor/src/core/constants/extension.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum CORE_EXTENSIONS { BLOCKQUOTE = "blockquote", BOLD = "bold", diff --git a/packages/editor/src/core/constants/meta.ts b/packages/editor/src/core/constants/meta.ts index 1a01ecaa50..6a4aa87a6a 100644 --- a/packages/editor/src/core/constants/meta.ts +++ b/packages/editor/src/core/constants/meta.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum CORE_EDITOR_META { SKIP_FILE_DELETION = "skipFileDeletion", INTENTIONAL_DELETION = "intentionalDeletion", diff --git a/packages/editor/src/core/contexts/collaboration-context.tsx b/packages/editor/src/core/contexts/collaboration-context.tsx index 272f029df4..a4dc1fb414 100644 --- a/packages/editor/src/core/contexts/collaboration-context.tsx +++ b/packages/editor/src/core/contexts/collaboration-context.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { createContext, useContext } from "react"; // hooks import { useYjsSetup } from "@/hooks/use-yjs-setup"; diff --git a/packages/editor/src/core/contexts/index.ts b/packages/editor/src/core/contexts/index.ts index f536f2b212..45651a3b61 100644 --- a/packages/editor/src/core/contexts/index.ts +++ b/packages/editor/src/core/contexts/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./collaboration-context"; diff --git a/packages/editor/src/core/extensions/callout/block.tsx b/packages/editor/src/core/extensions/callout/block.tsx index e6a372a4d1..7e626de043 100644 --- a/packages/editor/src/core/extensions/callout/block.tsx +++ b/packages/editor/src/core/extensions/callout/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { NodeViewProps } from "@tiptap/react"; import { NodeViewContent, NodeViewWrapper } from "@tiptap/react"; import { useState } from "react"; diff --git a/packages/editor/src/core/extensions/callout/color-selector.tsx b/packages/editor/src/core/extensions/callout/color-selector.tsx index db032d4e8c..24e805ceba 100644 --- a/packages/editor/src/core/extensions/callout/color-selector.tsx +++ b/packages/editor/src/core/extensions/callout/color-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Ban } from "lucide-react"; import { ChevronDownIcon } from "@plane/propel/icons"; // plane utils diff --git a/packages/editor/src/core/extensions/callout/extension-config.ts b/packages/editor/src/core/extensions/callout/extension-config.ts index f7fe0ce979..dd5ab7834b 100644 --- a/packages/editor/src/core/extensions/callout/extension-config.ts +++ b/packages/editor/src/core/extensions/callout/extension-config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Node, mergeAttributes } from "@tiptap/core"; import type { MarkdownSerializerState } from "@tiptap/pm/markdown"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/extensions/callout/extension.tsx b/packages/editor/src/core/extensions/callout/extension.tsx index bb256ca774..5868583e9b 100644 --- a/packages/editor/src/core/extensions/callout/extension.tsx +++ b/packages/editor/src/core/extensions/callout/extension.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { findParentNodeClosestToPos, ReactNodeViewRenderer } from "@tiptap/react"; import type { Predicate } from "@tiptap/react"; // constants diff --git a/packages/editor/src/core/extensions/callout/index.ts b/packages/editor/src/core/extensions/callout/index.ts index 2ce32da8ba..2dcbf265b3 100644 --- a/packages/editor/src/core/extensions/callout/index.ts +++ b/packages/editor/src/core/extensions/callout/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./extension"; diff --git a/packages/editor/src/core/extensions/callout/logo-selector.tsx b/packages/editor/src/core/extensions/callout/logo-selector.tsx index bf70a31368..365f0d5775 100644 --- a/packages/editor/src/core/extensions/callout/logo-selector.tsx +++ b/packages/editor/src/core/extensions/callout/logo-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { EmojiPicker, EmojiIconPickerTypes, Logo } from "@plane/propel/emoji-icon-picker"; import type { TLogoProps } from "@plane/types"; diff --git a/packages/editor/src/core/extensions/callout/types.ts b/packages/editor/src/core/extensions/callout/types.ts index 7ea06df94e..3ec0529f44 100644 --- a/packages/editor/src/core/extensions/callout/types.ts +++ b/packages/editor/src/core/extensions/callout/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node as ProseMirrorNode } from "@tiptap/core"; export enum ECalloutAttributeNames { diff --git a/packages/editor/src/core/extensions/callout/utils.ts b/packages/editor/src/core/extensions/callout/utils.ts index 82b55115e4..dd83f62e29 100644 --- a/packages/editor/src/core/extensions/callout/utils.ts +++ b/packages/editor/src/core/extensions/callout/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TLogoProps } from "@plane/types"; import { sanitizeHTML } from "@plane/utils"; diff --git a/packages/editor/src/core/extensions/code-inline/index.tsx b/packages/editor/src/core/extensions/code-inline/index.tsx index 0de3545fd6..2344615658 100644 --- a/packages/editor/src/core/extensions/code-inline/index.tsx +++ b/packages/editor/src/core/extensions/code-inline/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Mark, markInputRule, markPasteRule, mergeAttributes } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/code/code-block-lowlight.ts b/packages/editor/src/core/extensions/code/code-block-lowlight.ts index b108614ff6..6356d071f4 100644 --- a/packages/editor/src/core/extensions/code/code-block-lowlight.ts +++ b/packages/editor/src/core/extensions/code/code-block-lowlight.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // import CodeBlock, { CodeBlockOptions } from "@tiptap/extension-code-block"; import type { CodeBlockOptions } from "./code-block"; diff --git a/packages/editor/src/core/extensions/code/code-block-node-view.tsx b/packages/editor/src/core/extensions/code/code-block-node-view.tsx index 51d7438683..d35bdfacc0 100644 --- a/packages/editor/src/core/extensions/code/code-block-node-view.tsx +++ b/packages/editor/src/core/extensions/code/code-block-node-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import { NodeViewWrapper, NodeViewContent } from "@tiptap/react"; import ts from "highlight.js/lib/languages/typescript"; diff --git a/packages/editor/src/core/extensions/code/code-block.ts b/packages/editor/src/core/extensions/code/code-block.ts index 8b83c78d76..93c60f5b32 100644 --- a/packages/editor/src/core/extensions/code/code-block.ts +++ b/packages/editor/src/core/extensions/code/code-block.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { mergeAttributes, Node, textblockTypeInputRule } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; // constants diff --git a/packages/editor/src/core/extensions/code/index.tsx b/packages/editor/src/core/extensions/code/index.tsx index 7c679e92e2..da489c8759 100644 --- a/packages/editor/src/core/extensions/code/index.tsx +++ b/packages/editor/src/core/extensions/code/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Selection } from "@tiptap/pm/state"; import { ReactNodeViewRenderer } from "@tiptap/react"; import ts from "highlight.js/lib/languages/typescript"; diff --git a/packages/editor/src/core/extensions/code/lowlight-plugin.ts b/packages/editor/src/core/extensions/code/lowlight-plugin.ts index 2705b4068e..6471f05989 100644 --- a/packages/editor/src/core/extensions/code/lowlight-plugin.ts +++ b/packages/editor/src/core/extensions/code/lowlight-plugin.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // TODO: check all the type errors and fix them import { findChildren } from "@tiptap/core"; diff --git a/packages/editor/src/core/extensions/code/types.ts b/packages/editor/src/core/extensions/code/types.ts index f150b43fe2..767cb2d9c2 100644 --- a/packages/editor/src/core/extensions/code/types.ts +++ b/packages/editor/src/core/extensions/code/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum ECodeBlockAttributeNames { ID = "id", LANGUAGE = "language", diff --git a/packages/editor/src/core/extensions/code/utils/replace-code-block-with-text.ts b/packages/editor/src/core/extensions/code/utils/replace-code-block-with-text.ts index dbff2f898e..43e43b519f 100644 --- a/packages/editor/src/core/extensions/code/utils/replace-code-block-with-text.ts +++ b/packages/editor/src/core/extensions/code/utils/replace-code-block-with-text.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { findParentNode } from "@tiptap/core"; diff --git a/packages/editor/src/core/extensions/code/without-props.tsx b/packages/editor/src/core/extensions/code/without-props.tsx index c68c79382a..50389d08fe 100644 --- a/packages/editor/src/core/extensions/code/without-props.tsx +++ b/packages/editor/src/core/extensions/code/without-props.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Selection } from "@tiptap/pm/state"; import ts from "highlight.js/lib/languages/typescript"; import { common, createLowlight } from "lowlight"; diff --git a/packages/editor/src/core/extensions/core-without-props.ts b/packages/editor/src/core/extensions/core-without-props.ts index 064f5b3e91..62ef955e48 100644 --- a/packages/editor/src/core/extensions/core-without-props.ts +++ b/packages/editor/src/core/extensions/core-without-props.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import TaskItem from "@tiptap/extension-task-item"; import TaskList from "@tiptap/extension-task-list"; import { TextStyle } from "@tiptap/extension-text-style"; diff --git a/packages/editor/src/core/extensions/custom-color.ts b/packages/editor/src/core/extensions/custom-color.ts index 8b516e8ecd..a7f23e6881 100644 --- a/packages/editor/src/core/extensions/custom-color.ts +++ b/packages/editor/src/core/extensions/custom-color.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Mark, mergeAttributes } from "@tiptap/core"; // constants import { COLORS_LIST } from "@/constants/common"; diff --git a/packages/editor/src/core/extensions/custom-image/components/block.tsx b/packages/editor/src/core/extensions/custom-image/components/block.tsx index ed3e93b956..be1b07e86c 100644 --- a/packages/editor/src/core/extensions/custom-image/components/block.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { NodeSelection } from "@tiptap/pm/state"; import React, { useRef, useState, useCallback, useLayoutEffect, useEffect } from "react"; // plane imports diff --git a/packages/editor/src/core/extensions/custom-image/components/node-view.tsx b/packages/editor/src/core/extensions/custom-image/components/node-view.tsx index a8b23dc769..210570ca74 100644 --- a/packages/editor/src/core/extensions/custom-image/components/node-view.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/node-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { NodeViewWrapper } from "@tiptap/react"; import type { NodeViewProps } from "@tiptap/react"; import { useEffect, useRef, useState } from "react"; diff --git a/packages/editor/src/core/extensions/custom-image/components/toolbar/alignment.tsx b/packages/editor/src/core/extensions/custom-image/components/toolbar/alignment.tsx index 4632c009e4..fbbf914d87 100644 --- a/packages/editor/src/core/extensions/custom-image/components/toolbar/alignment.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/toolbar/alignment.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef, useState } from "react"; // plane imports import { useOutsideClickDetector } from "@plane/hooks"; diff --git a/packages/editor/src/core/extensions/custom-image/components/toolbar/download.tsx b/packages/editor/src/core/extensions/custom-image/components/toolbar/download.tsx index fa09523409..10b9f371a5 100644 --- a/packages/editor/src/core/extensions/custom-image/components/toolbar/download.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/toolbar/download.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Download } from "lucide-react"; // plane imports import { Tooltip } from "@plane/propel/tooltip"; diff --git a/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/index.ts b/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/index.ts +++ b/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/modal.tsx b/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/modal.tsx index 81a096fd65..1d6d063c36 100644 --- a/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/modal.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Download, Minus } from "lucide-react"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import ReactDOM from "react-dom"; diff --git a/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/root.tsx b/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/root.tsx index bd4ceb69c8..6ed360a535 100644 --- a/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/root.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/toolbar/full-screen/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Maximize } from "lucide-react"; import { useEffect, useState } from "react"; // plane imports diff --git a/packages/editor/src/core/extensions/custom-image/components/toolbar/index.ts b/packages/editor/src/core/extensions/custom-image/components/toolbar/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/editor/src/core/extensions/custom-image/components/toolbar/index.ts +++ b/packages/editor/src/core/extensions/custom-image/components/toolbar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/editor/src/core/extensions/custom-image/components/toolbar/root.tsx b/packages/editor/src/core/extensions/custom-image/components/toolbar/root.tsx index 0f567a8e60..cb5e07b12c 100644 --- a/packages/editor/src/core/extensions/custom-image/components/toolbar/root.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/toolbar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { useState } from "react"; // plane imports diff --git a/packages/editor/src/core/extensions/custom-image/components/upload-status.tsx b/packages/editor/src/core/extensions/custom-image/components/upload-status.tsx index 03979770a0..3684c40d2b 100644 --- a/packages/editor/src/core/extensions/custom-image/components/upload-status.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/upload-status.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { useEditorState } from "@tiptap/react"; import { useEffect, useRef, useState } from "react"; diff --git a/packages/editor/src/core/extensions/custom-image/components/uploader.tsx b/packages/editor/src/core/extensions/custom-image/components/uploader.tsx index 109073d0b9..b7f6bbc6f0 100644 --- a/packages/editor/src/core/extensions/custom-image/components/uploader.tsx +++ b/packages/editor/src/core/extensions/custom-image/components/uploader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ImageIcon, RotateCcw } from "lucide-react"; import type { ChangeEvent } from "react"; import { useCallback, useEffect, useMemo, useRef } from "react"; diff --git a/packages/editor/src/core/extensions/custom-image/extension-config.ts b/packages/editor/src/core/extensions/custom-image/extension-config.ts index 5ad3b2511d..b405451da8 100644 --- a/packages/editor/src/core/extensions/custom-image/extension-config.ts +++ b/packages/editor/src/core/extensions/custom-image/extension-config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { mergeAttributes } from "@tiptap/core"; import { Image as BaseImageExtension } from "@tiptap/extension-image"; // constants diff --git a/packages/editor/src/core/extensions/custom-image/extension.tsx b/packages/editor/src/core/extensions/custom-image/extension.tsx index 941ac66862..2d68d50c41 100644 --- a/packages/editor/src/core/extensions/custom-image/extension.tsx +++ b/packages/editor/src/core/extensions/custom-image/extension.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ReactNodeViewRenderer } from "@tiptap/react"; import { v4 as uuidv4 } from "uuid"; // constants diff --git a/packages/editor/src/core/extensions/custom-image/types.ts b/packages/editor/src/core/extensions/custom-image/types.ts index eed345ff78..60bbf902a1 100644 --- a/packages/editor/src/core/extensions/custom-image/types.ts +++ b/packages/editor/src/core/extensions/custom-image/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node } from "@tiptap/core"; // types import type { TFileHandler } from "@/types"; diff --git a/packages/editor/src/core/extensions/custom-image/utils.ts b/packages/editor/src/core/extensions/custom-image/utils.ts index 86faf55ec6..5e7ed2de72 100644 --- a/packages/editor/src/core/extensions/custom-image/utils.ts +++ b/packages/editor/src/core/extensions/custom-image/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { AlignCenter, AlignLeft, AlignRight } from "lucide-react"; import type { LucideIcon } from "lucide-react"; diff --git a/packages/editor/src/core/extensions/custom-link/extension.tsx b/packages/editor/src/core/extensions/custom-link/extension.tsx index e64c700f12..a00585b884 100644 --- a/packages/editor/src/core/extensions/custom-link/extension.tsx +++ b/packages/editor/src/core/extensions/custom-link/extension.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { PasteRuleMatch } from "@tiptap/core"; import { Mark, markPasteRule, mergeAttributes } from "@tiptap/core"; import type { Plugin } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/extensions/custom-link/helpers/autolink.ts b/packages/editor/src/core/extensions/custom-link/helpers/autolink.ts index 709969deeb..38a452c0b9 100644 --- a/packages/editor/src/core/extensions/custom-link/helpers/autolink.ts +++ b/packages/editor/src/core/extensions/custom-link/helpers/autolink.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { NodeWithPos } from "@tiptap/core"; import { combineTransactionSteps, findChildrenInRange, getChangedRanges, getMarksBetween } from "@tiptap/core"; import type { MarkType } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/extensions/custom-link/helpers/clickHandler.ts b/packages/editor/src/core/extensions/custom-link/helpers/clickHandler.ts index c3e1e79944..f101f4c5bd 100644 --- a/packages/editor/src/core/extensions/custom-link/helpers/clickHandler.ts +++ b/packages/editor/src/core/extensions/custom-link/helpers/clickHandler.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { getAttributes } from "@tiptap/core"; import type { MarkType } from "@tiptap/pm/model"; import { Plugin, PluginKey } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/extensions/custom-link/helpers/pasteHandler.ts b/packages/editor/src/core/extensions/custom-link/helpers/pasteHandler.ts index 0b73748be3..0e02c7c40d 100644 --- a/packages/editor/src/core/extensions/custom-link/helpers/pasteHandler.ts +++ b/packages/editor/src/core/extensions/custom-link/helpers/pasteHandler.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import type { MarkType } from "@tiptap/pm/model"; import { Plugin, PluginKey } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/extensions/custom-link/index.ts b/packages/editor/src/core/extensions/custom-link/index.ts index 2ce32da8ba..2dcbf265b3 100644 --- a/packages/editor/src/core/extensions/custom-link/index.ts +++ b/packages/editor/src/core/extensions/custom-link/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./extension"; diff --git a/packages/editor/src/core/extensions/custom-list-keymap/index.ts b/packages/editor/src/core/extensions/custom-list-keymap/index.ts index b91209e929..01d23a002e 100644 --- a/packages/editor/src/core/extensions/custom-list-keymap/index.ts +++ b/packages/editor/src/core/extensions/custom-list-keymap/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./list-keymap"; diff --git a/packages/editor/src/core/extensions/custom-list-keymap/list-helpers.ts b/packages/editor/src/core/extensions/custom-list-keymap/list-helpers.ts index 688d070c0f..6f11fc7bd2 100644 --- a/packages/editor/src/core/extensions/custom-list-keymap/list-helpers.ts +++ b/packages/editor/src/core/extensions/custom-list-keymap/list-helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { getNodeType, getNodeAtPosition, isAtEndOfNode, isAtStartOfNode, isNodeActive } from "@tiptap/core"; import type { Node, NodeType } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/extensions/custom-list-keymap/list-keymap.ts b/packages/editor/src/core/extensions/custom-list-keymap/list-keymap.ts index 576888f55a..a880b65d3f 100644 --- a/packages/editor/src/core/extensions/custom-list-keymap/list-keymap.ts +++ b/packages/editor/src/core/extensions/custom-list-keymap/list-keymap.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Extension } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/emoji/components/emojis-list.tsx b/packages/editor/src/core/extensions/emoji/components/emojis-list.tsx index faf31601e0..8436422646 100644 --- a/packages/editor/src/core/extensions/emoji/components/emojis-list.tsx +++ b/packages/editor/src/core/extensions/emoji/components/emojis-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { FloatingOverlay } from "@floating-ui/react"; import type { SuggestionKeyDownProps, SuggestionProps } from "@tiptap/suggestion"; import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from "react"; diff --git a/packages/editor/src/core/extensions/emoji/emoji.ts b/packages/editor/src/core/extensions/emoji/emoji.ts index d61623c39a..63d0ee9d38 100644 --- a/packages/editor/src/core/extensions/emoji/emoji.ts +++ b/packages/editor/src/core/extensions/emoji/emoji.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { combineTransactionSteps, escapeForRegEx, diff --git a/packages/editor/src/core/extensions/emoji/extension.ts b/packages/editor/src/core/extensions/emoji/extension.ts index e9be90d390..470fb6d508 100644 --- a/packages/editor/src/core/extensions/emoji/extension.ts +++ b/packages/editor/src/core/extensions/emoji/extension.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import { gitHubEmojis, shortcodeToEmoji } from "@tiptap/extension-emoji"; import type { MarkdownSerializerState } from "@tiptap/pm/markdown"; diff --git a/packages/editor/src/core/extensions/emoji/suggestion.ts b/packages/editor/src/core/extensions/emoji/suggestion.ts index 69750918a0..99968ca8c2 100644 --- a/packages/editor/src/core/extensions/emoji/suggestion.ts +++ b/packages/editor/src/core/extensions/emoji/suggestion.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EmojiOptions, EmojiStorage } from "@tiptap/extension-emoji"; import { ReactRenderer } from "@tiptap/react"; import type { Editor } from "@tiptap/react"; diff --git a/packages/editor/src/core/extensions/enter-key.ts b/packages/editor/src/core/extensions/enter-key.ts index 854a708136..bfe86b1de9 100644 --- a/packages/editor/src/core/extensions/enter-key.ts +++ b/packages/editor/src/core/extensions/enter-key.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Extension } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/extensions.ts b/packages/editor/src/core/extensions/extensions.ts index 460ae7dc3b..420e749507 100644 --- a/packages/editor/src/core/extensions/extensions.ts +++ b/packages/editor/src/core/extensions/extensions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import type { Extensions } from "@tiptap/core"; import { CharacterCount } from "@tiptap/extension-character-count"; diff --git a/packages/editor/src/core/extensions/headings-list.ts b/packages/editor/src/core/extensions/headings-list.ts index 1acb9d446c..30b3dd4985 100644 --- a/packages/editor/src/core/extensions/headings-list.ts +++ b/packages/editor/src/core/extensions/headings-list.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Extension } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; // constants diff --git a/packages/editor/src/core/extensions/horizontal-rule.ts b/packages/editor/src/core/extensions/horizontal-rule.ts index ee3fb09cbe..a442bc9a94 100644 --- a/packages/editor/src/core/extensions/horizontal-rule.ts +++ b/packages/editor/src/core/extensions/horizontal-rule.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isNodeSelection, mergeAttributes, Node, nodeInputRule } from "@tiptap/core"; import { NodeSelection, TextSelection } from "@tiptap/pm/state"; // constants diff --git a/packages/editor/src/core/extensions/image/extension-config.tsx b/packages/editor/src/core/extensions/image/extension-config.tsx index 02091d5691..8ac83c883c 100644 --- a/packages/editor/src/core/extensions/image/extension-config.tsx +++ b/packages/editor/src/core/extensions/image/extension-config.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Image as BaseImageExtension } from "@tiptap/extension-image"; // local imports import type { CustomImageExtensionOptions } from "../custom-image/types"; diff --git a/packages/editor/src/core/extensions/image/extension.tsx b/packages/editor/src/core/extensions/image/extension.tsx index 61c1421d1d..ddec929ec0 100644 --- a/packages/editor/src/core/extensions/image/extension.tsx +++ b/packages/editor/src/core/extensions/image/extension.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ReactNodeViewRenderer } from "@tiptap/react"; // constants import type { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/image/index.ts b/packages/editor/src/core/extensions/image/index.ts index 02b5a53d63..1bfe6f315d 100644 --- a/packages/editor/src/core/extensions/image/index.ts +++ b/packages/editor/src/core/extensions/image/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./extension"; export * from "./extension-config"; diff --git a/packages/editor/src/core/extensions/index.ts b/packages/editor/src/core/extensions/index.ts index 48692c0918..815f31ed40 100644 --- a/packages/editor/src/core/extensions/index.ts +++ b/packages/editor/src/core/extensions/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./callout"; export * from "./code"; export * from "./code-inline"; diff --git a/packages/editor/src/core/extensions/keymap.ts b/packages/editor/src/core/extensions/keymap.ts index 7000dc73dc..1645f0dea9 100644 --- a/packages/editor/src/core/extensions/keymap.ts +++ b/packages/editor/src/core/extensions/keymap.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Extension } from "@tiptap/core"; import type { NodeType } from "@tiptap/pm/model"; import type { Transaction } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/extensions/mentions/extension-config.ts b/packages/editor/src/core/extensions/mentions/extension-config.ts index 0887e25bd0..f3c24511fa 100644 --- a/packages/editor/src/core/extensions/mentions/extension-config.ts +++ b/packages/editor/src/core/extensions/mentions/extension-config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { mergeAttributes } from "@tiptap/core"; import type { MentionOptions } from "@tiptap/extension-mention"; import Mention from "@tiptap/extension-mention"; diff --git a/packages/editor/src/core/extensions/mentions/extension.tsx b/packages/editor/src/core/extensions/mentions/extension.tsx index 96001cbea1..7c82b7ed64 100644 --- a/packages/editor/src/core/extensions/mentions/extension.tsx +++ b/packages/editor/src/core/extensions/mentions/extension.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ReactNodeViewRenderer } from "@tiptap/react"; // types import type { TMentionHandler } from "@/types"; diff --git a/packages/editor/src/core/extensions/mentions/index.ts b/packages/editor/src/core/extensions/mentions/index.ts index 02b5a53d63..1bfe6f315d 100644 --- a/packages/editor/src/core/extensions/mentions/index.ts +++ b/packages/editor/src/core/extensions/mentions/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./extension"; export * from "./extension-config"; diff --git a/packages/editor/src/core/extensions/mentions/mention-node-view.tsx b/packages/editor/src/core/extensions/mentions/mention-node-view.tsx index d7fd64ec9f..ff51aa9b06 100644 --- a/packages/editor/src/core/extensions/mentions/mention-node-view.tsx +++ b/packages/editor/src/core/extensions/mentions/mention-node-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { NodeViewProps } from "@tiptap/react"; import { NodeViewWrapper } from "@tiptap/react"; // extension config diff --git a/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx b/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx index 3d00c04cbe..79450ae8db 100644 --- a/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx +++ b/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { FloatingOverlay } from "@floating-ui/react"; import type { SuggestionProps } from "@tiptap/suggestion"; import { forwardRef, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from "react"; diff --git a/packages/editor/src/core/extensions/mentions/types.ts b/packages/editor/src/core/extensions/mentions/types.ts index cf0d7b23d3..9d175bc5f3 100644 --- a/packages/editor/src/core/extensions/mentions/types.ts +++ b/packages/editor/src/core/extensions/mentions/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane types import type { TSearchEntities } from "@plane/types"; diff --git a/packages/editor/src/core/extensions/mentions/utils.ts b/packages/editor/src/core/extensions/mentions/utils.ts index 0ff10675de..810ccbbfe6 100644 --- a/packages/editor/src/core/extensions/mentions/utils.ts +++ b/packages/editor/src/core/extensions/mentions/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ReactRenderer } from "@tiptap/react"; import type { Editor } from "@tiptap/react"; import type { SuggestionOptions } from "@tiptap/suggestion"; diff --git a/packages/editor/src/core/extensions/placeholder.ts b/packages/editor/src/core/extensions/placeholder.ts index ade422d266..c22227d718 100644 --- a/packages/editor/src/core/extensions/placeholder.ts +++ b/packages/editor/src/core/extensions/placeholder.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Placeholder } from "@tiptap/extension-placeholder"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/quote.ts b/packages/editor/src/core/extensions/quote.ts index 99a6c10f05..81e19f0da1 100644 --- a/packages/editor/src/core/extensions/quote.ts +++ b/packages/editor/src/core/extensions/quote.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import Blockquote from "@tiptap/extension-blockquote"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/side-menu.ts b/packages/editor/src/core/extensions/side-menu.ts index 01c95956a0..bdba02cf8c 100644 --- a/packages/editor/src/core/extensions/side-menu.ts +++ b/packages/editor/src/core/extensions/side-menu.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Extension } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; import type { EditorView } from "@tiptap/pm/view"; diff --git a/packages/editor/src/core/extensions/slash-commands/command-items-list.tsx b/packages/editor/src/core/extensions/slash-commands/command-items-list.tsx index 81050caf58..154887fb60 100644 --- a/packages/editor/src/core/extensions/slash-commands/command-items-list.tsx +++ b/packages/editor/src/core/extensions/slash-commands/command-items-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ALargeSmall, CaseSensitive, diff --git a/packages/editor/src/core/extensions/slash-commands/command-menu-item.tsx b/packages/editor/src/core/extensions/slash-commands/command-menu-item.tsx index 622eb5509c..08a09f6b93 100644 --- a/packages/editor/src/core/extensions/slash-commands/command-menu-item.tsx +++ b/packages/editor/src/core/extensions/slash-commands/command-menu-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane utils import { cn } from "@plane/utils"; // types diff --git a/packages/editor/src/core/extensions/slash-commands/command-menu.tsx b/packages/editor/src/core/extensions/slash-commands/command-menu.tsx index 6ab15766af..aa70805578 100644 --- a/packages/editor/src/core/extensions/slash-commands/command-menu.tsx +++ b/packages/editor/src/core/extensions/slash-commands/command-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { FloatingOverlay } from "@floating-ui/react"; import type { SuggestionProps } from "@tiptap/suggestion"; import { forwardRef, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from "react"; diff --git a/packages/editor/src/core/extensions/slash-commands/index.ts b/packages/editor/src/core/extensions/slash-commands/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/editor/src/core/extensions/slash-commands/index.ts +++ b/packages/editor/src/core/extensions/slash-commands/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/editor/src/core/extensions/slash-commands/root.tsx b/packages/editor/src/core/extensions/slash-commands/root.tsx index 11751e27fb..c8e05aecfd 100644 --- a/packages/editor/src/core/extensions/slash-commands/root.tsx +++ b/packages/editor/src/core/extensions/slash-commands/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Extension } from "@tiptap/core"; import type { Editor } from "@tiptap/core"; import { ReactRenderer } from "@tiptap/react"; diff --git a/packages/editor/src/core/extensions/starter-kit.ts b/packages/editor/src/core/extensions/starter-kit.ts index a07bba55a6..1e4e4f79db 100644 --- a/packages/editor/src/core/extensions/starter-kit.ts +++ b/packages/editor/src/core/extensions/starter-kit.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import StarterKit from "@tiptap/starter-kit"; type TArgs = { diff --git a/packages/editor/src/core/extensions/table/index.ts b/packages/editor/src/core/extensions/table/index.ts index 2277e09ae4..fe205e4b14 100644 --- a/packages/editor/src/core/extensions/table/index.ts +++ b/packages/editor/src/core/extensions/table/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./table"; export * from "./table-cell"; export * from "./table-header"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/actions.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/actions.ts index 788a17ae7c..bd12b0528d 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/actions.ts +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/actions.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Fragment } from "@tiptap/pm/model"; import type { Node, Node as ProseMirrorNode } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/color-selector.tsx b/packages/editor/src/core/extensions/table/plugins/drag-handles/color-selector.tsx index 724f0d7cf9..eacd7e13ae 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/color-selector.tsx +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/color-selector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Disclosure } from "@headlessui/react"; import type { Editor } from "@tiptap/core"; import { Ban, Palette } from "lucide-react"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/drag-handle.tsx b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/drag-handle.tsx index ed344a0703..6e39e44b6a 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/drag-handle.tsx +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/drag-handle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { shift, flip, diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/dropdown.tsx b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/dropdown.tsx index 7bd5278638..7e3ca9b542 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/dropdown.tsx +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { TableMap } from "@tiptap/pm/tables"; import { ArrowLeft, ArrowRight, ToggleRight } from "lucide-react"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/plugin.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/plugin.ts index b425a1c782..e42380b6d3 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/plugin.ts +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/plugin.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; import { TableMap } from "@tiptap/pm/tables"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/utils.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/utils.ts index 9baefe2161..c367ee6ecd 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/column/utils.ts +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/column/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import type { Selection } from "@tiptap/pm/state"; import { TableMap } from "@tiptap/pm/tables"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/marker-utils.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/marker-utils.ts index db2095e112..12a13d44ae 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/marker-utils.ts +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/marker-utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const DROP_MARKER_CLASS = "table-drop-marker"; export const COL_DRAG_MARKER_CLASS = "table-col-drag-marker"; export const ROW_DRAG_MARKER_CLASS = "table-row-drag-marker"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/drag-handle.tsx b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/drag-handle.tsx index 3425d0cdea..e88a1f2bc9 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/drag-handle.tsx +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/drag-handle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { autoUpdate, flip, diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/dropdown.tsx b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/dropdown.tsx index ddd1299530..0e0bd1774d 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/dropdown.tsx +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { TableMap } from "@tiptap/pm/tables"; import { ArrowDown, ArrowUp, ToggleRight } from "lucide-react"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/plugin.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/plugin.ts index 71b7e1c1b1..cc33da4e2a 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/plugin.ts +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/plugin.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; import { TableMap } from "@tiptap/pm/tables"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/utils.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/utils.ts index c3b62fc0a8..5b6d80c1da 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/row/utils.ts +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/row/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import type { Selection } from "@tiptap/pm/state"; import { TableMap } from "@tiptap/pm/tables"; diff --git a/packages/editor/src/core/extensions/table/plugins/drag-handles/utils.ts b/packages/editor/src/core/extensions/table/plugins/drag-handles/utils.ts index 810b801ef5..4c8f996d3c 100644 --- a/packages/editor/src/core/extensions/table/plugins/drag-handles/utils.ts +++ b/packages/editor/src/core/extensions/table/plugins/drag-handles/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/table/plugins/insert-handlers/plugin.ts b/packages/editor/src/core/extensions/table/plugins/insert-handlers/plugin.ts index 7188e88d02..0754046709 100644 --- a/packages/editor/src/core/extensions/table/plugins/insert-handlers/plugin.ts +++ b/packages/editor/src/core/extensions/table/plugins/insert-handlers/plugin.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; // local imports diff --git a/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts b/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts index f760538ab2..2cf781070d 100644 --- a/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts +++ b/packages/editor/src/core/extensions/table/plugins/insert-handlers/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import { addColumn, removeColumn, addRow, removeRow, TableMap } from "@tiptap/pm/tables"; diff --git a/packages/editor/src/core/extensions/table/plugins/selection-outline/plugin.ts b/packages/editor/src/core/extensions/table/plugins/selection-outline/plugin.ts index a13fd13101..f1f04afeed 100644 --- a/packages/editor/src/core/extensions/table/plugins/selection-outline/plugin.ts +++ b/packages/editor/src/core/extensions/table/plugins/selection-outline/plugin.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { findParentNode } from "@tiptap/core"; import type { Editor } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/extensions/table/plugins/selection-outline/utils.ts b/packages/editor/src/core/extensions/table/plugins/selection-outline/utils.ts index f4c43e77ee..9b149b23fd 100644 --- a/packages/editor/src/core/extensions/table/plugins/selection-outline/utils.ts +++ b/packages/editor/src/core/extensions/table/plugins/selection-outline/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TableMap } from "@tiptap/pm/tables"; /** diff --git a/packages/editor/src/core/extensions/table/table-cell.ts b/packages/editor/src/core/extensions/table/table-cell.ts index 9aa284cd17..2870ac894d 100644 --- a/packages/editor/src/core/extensions/table/table-cell.ts +++ b/packages/editor/src/core/extensions/table/table-cell.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { mergeAttributes, Node } from "@tiptap/core"; import { TableMap } from "@tiptap/pm/tables"; // constants diff --git a/packages/editor/src/core/extensions/table/table-header.ts b/packages/editor/src/core/extensions/table/table-header.ts index 635fb7ee7a..e3c3725636 100644 --- a/packages/editor/src/core/extensions/table/table-header.ts +++ b/packages/editor/src/core/extensions/table/table-header.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { mergeAttributes, Node } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/table/table-row.ts b/packages/editor/src/core/extensions/table/table-row.ts index f01c391383..a5a32f3610 100644 --- a/packages/editor/src/core/extensions/table/table-row.ts +++ b/packages/editor/src/core/extensions/table/table-row.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { mergeAttributes, Node } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/table/table/icons.ts b/packages/editor/src/core/extensions/table/table/icons.ts index 96c0dbcbe1..e31f09e026 100644 --- a/packages/editor/src/core/extensions/table/table/icons.ts +++ b/packages/editor/src/core/extensions/table/table/icons.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const icons = { colorPicker: ``, deleteColumn: ``, diff --git a/packages/editor/src/core/extensions/table/table/index.ts b/packages/editor/src/core/extensions/table/table/index.ts index 328422b73d..f66f0adf2d 100644 --- a/packages/editor/src/core/extensions/table/table/index.ts +++ b/packages/editor/src/core/extensions/table/table/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { Table } from "./table"; export const DEFAULT_COLUMN_WIDTH = 150; diff --git a/packages/editor/src/core/extensions/table/table/table-view.tsx b/packages/editor/src/core/extensions/table/table/table-view.tsx index c7f60f5145..2d2598c8d7 100644 --- a/packages/editor/src/core/extensions/table/table/table-view.tsx +++ b/packages/editor/src/core/extensions/table/table/table-view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor, NodeViewProps } from "@tiptap/core"; import type { Node as ProseMirrorNode, ResolvedPos } from "@tiptap/pm/model"; import { TableMap, updateColumnsOnResize } from "@tiptap/pm/tables"; diff --git a/packages/editor/src/core/extensions/table/table/table.ts b/packages/editor/src/core/extensions/table/table/table.ts index a0706db3b1..08cfb7aa9b 100644 --- a/packages/editor/src/core/extensions/table/table/table.ts +++ b/packages/editor/src/core/extensions/table/table/table.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ParentConfig } from "@tiptap/core"; import { callOrReturn, getExtensionField, mergeAttributes, Node } from "@tiptap/core"; import { TextSelection } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/extensions/table/table/utilities/create-cell.ts b/packages/editor/src/core/extensions/table/table/utilities/create-cell.ts index f28e327855..5a07bb175f 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/create-cell.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/create-cell.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Fragment, Node as ProsemirrorNode, NodeType } from "@tiptap/pm/model"; export function createCell( diff --git a/packages/editor/src/core/extensions/table/table/utilities/create-table.ts b/packages/editor/src/core/extensions/table/table/utilities/create-table.ts index 56c6b31ac4..54ba38848e 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/create-table.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/create-table.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Fragment, Node as ProsemirrorNode, Schema } from "@tiptap/pm/model"; // extensions import { createCell } from "@/extensions/table/table/utilities/create-cell"; diff --git a/packages/editor/src/core/extensions/table/table/utilities/delete-column.ts b/packages/editor/src/core/extensions/table/table/utilities/delete-column.ts index 9cbcdd0a3e..f765440965 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/delete-column.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/delete-column.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Command } from "@tiptap/core"; import { deleteColumn, deleteTable } from "@tiptap/pm/tables"; // local imports diff --git a/packages/editor/src/core/extensions/table/table/utilities/delete-key-shortcut.ts b/packages/editor/src/core/extensions/table/table/utilities/delete-key-shortcut.ts index 4025e9f9ca..c415bc8c4d 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/delete-key-shortcut.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/delete-key-shortcut.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { findParentNodeClosestToPos } from "@tiptap/core"; import type { Editor, KeyboardShortcutCommand } from "@tiptap/core"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/extensions/table/table/utilities/delete-row.ts b/packages/editor/src/core/extensions/table/table/utilities/delete-row.ts index 4a7d161d12..b7981829b6 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/delete-row.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/delete-row.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Command } from "@tiptap/core"; import { deleteRow, deleteTable } from "@tiptap/pm/tables"; // local imports diff --git a/packages/editor/src/core/extensions/table/table/utilities/get-table-node-types.ts b/packages/editor/src/core/extensions/table/table/utilities/get-table-node-types.ts index 772f805f78..2bb9071447 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/get-table-node-types.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/get-table-node-types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { NodeType, Schema } from "@tiptap/pm/model"; export function getTableNodeTypes(schema: Schema): { [key: string]: NodeType } { diff --git a/packages/editor/src/core/extensions/table/table/utilities/helpers.ts b/packages/editor/src/core/extensions/table/table/utilities/helpers.ts index 45c9af4f69..965b6cdd3a 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/helpers.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { findParentNode } from "@tiptap/core"; import type { Editor } from "@tiptap/core"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/extensions/table/table/utilities/insert-line-above-table-action.ts b/packages/editor/src/core/extensions/table/table/utilities/insert-line-above-table-action.ts index ded1ac3927..11f8433d88 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/insert-line-above-table-action.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/insert-line-above-table-action.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { KeyboardShortcutCommand } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/table/table/utilities/insert-line-below-table-action.ts b/packages/editor/src/core/extensions/table/table/utilities/insert-line-below-table-action.ts index 13d412ffe0..ef90d25aa6 100644 --- a/packages/editor/src/core/extensions/table/table/utilities/insert-line-below-table-action.ts +++ b/packages/editor/src/core/extensions/table/table/utilities/insert-line-below-table-action.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { KeyboardShortcutCommand } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/text-align.ts b/packages/editor/src/core/extensions/text-align.ts index bfe62f6c04..56f8447f87 100644 --- a/packages/editor/src/core/extensions/text-align.ts +++ b/packages/editor/src/core/extensions/text-align.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import TextAlign from "@tiptap/extension-text-align"; export type TTextAlign = "left" | "center" | "right"; diff --git a/packages/editor/src/core/extensions/title-extension.ts b/packages/editor/src/core/extensions/title-extension.ts index cf4f52f975..5489c2314d 100644 --- a/packages/editor/src/core/extensions/title-extension.ts +++ b/packages/editor/src/core/extensions/title-extension.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AnyExtension, Extensions } from "@tiptap/core"; import Document from "@tiptap/extension-document"; import Heading from "@tiptap/extension-heading"; diff --git a/packages/editor/src/core/extensions/trailing-node.ts b/packages/editor/src/core/extensions/trailing-node.ts index 5f9624e969..b41d888fec 100644 --- a/packages/editor/src/core/extensions/trailing-node.ts +++ b/packages/editor/src/core/extensions/trailing-node.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Extension } from "@tiptap/core"; import type { NodeType, Node as ProseMirrorNode } from "@tiptap/pm/model"; import { Plugin, PluginKey } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/extensions/unique-id/extension.ts b/packages/editor/src/core/extensions/unique-id/extension.ts index c07ade359e..bd220080c5 100644 --- a/packages/editor/src/core/extensions/unique-id/extension.ts +++ b/packages/editor/src/core/extensions/unique-id/extension.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import { Extension } from "@tiptap/core"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/extensions/unique-id/plugin.ts b/packages/editor/src/core/extensions/unique-id/plugin.ts index c7f09860b5..e2839bdc17 100644 --- a/packages/editor/src/core/extensions/unique-id/plugin.ts +++ b/packages/editor/src/core/extensions/unique-id/plugin.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { combineTransactionSteps, findChildrenInRange, findDuplicates, getChangedRanges } from "@tiptap/core"; import { Fragment, Slice } from "@tiptap/pm/model"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/extensions/unique-id/utils.ts b/packages/editor/src/core/extensions/unique-id/utils.ts index 22606c9c6e..92016e39ac 100644 --- a/packages/editor/src/core/extensions/unique-id/utils.ts +++ b/packages/editor/src/core/extensions/unique-id/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { findChildren } from "@tiptap/core"; import type { EditorView } from "@tiptap/pm/view"; // types diff --git a/packages/editor/src/core/extensions/utility.ts b/packages/editor/src/core/extensions/utility.ts index 558136347e..ddc598d0d6 100644 --- a/packages/editor/src/core/extensions/utility.ts +++ b/packages/editor/src/core/extensions/utility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Extension } from "@tiptap/core"; import codemark from "prosemirror-codemark"; // helpers diff --git a/packages/editor/src/core/extensions/work-item-embed/extension-config.ts b/packages/editor/src/core/extensions/work-item-embed/extension-config.ts index 0ea25c770d..fb0fc1ba2b 100644 --- a/packages/editor/src/core/extensions/work-item-embed/extension-config.ts +++ b/packages/editor/src/core/extensions/work-item-embed/extension-config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { mergeAttributes, Node } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/extensions/work-item-embed/extension.tsx b/packages/editor/src/core/extensions/work-item-embed/extension.tsx index 8142a9750e..be9af11935 100644 --- a/packages/editor/src/core/extensions/work-item-embed/extension.tsx +++ b/packages/editor/src/core/extensions/work-item-embed/extension.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ReactNodeViewRenderer, NodeViewWrapper } from "@tiptap/react"; import type { NodeViewProps } from "@tiptap/react"; // local imports diff --git a/packages/editor/src/core/extensions/work-item-embed/index.ts b/packages/editor/src/core/extensions/work-item-embed/index.ts index 2ce32da8ba..2dcbf265b3 100644 --- a/packages/editor/src/core/extensions/work-item-embed/index.ts +++ b/packages/editor/src/core/extensions/work-item-embed/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./extension"; diff --git a/packages/editor/src/core/extensions/work-item-embed/types.ts b/packages/editor/src/core/extensions/work-item-embed/types.ts index 8480239d9c..aeb6caf0b0 100644 --- a/packages/editor/src/core/extensions/work-item-embed/types.ts +++ b/packages/editor/src/core/extensions/work-item-embed/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EWorkItemEmbedAttributeNames { ID = "id", ENTITY_IDENTIFIER = "entity_identifier", diff --git a/packages/editor/src/core/helpers/assets.ts b/packages/editor/src/core/helpers/assets.ts index 00623cc24f..7cc937b2d6 100644 --- a/packages/editor/src/core/helpers/assets.ts +++ b/packages/editor/src/core/helpers/assets.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; // plane imports import type { ADDITIONAL_EXTENSIONS } from "@plane/utils"; diff --git a/packages/editor/src/core/helpers/common.ts b/packages/editor/src/core/helpers/common.ts index d81d066b24..614578cbdf 100644 --- a/packages/editor/src/core/helpers/common.ts +++ b/packages/editor/src/core/helpers/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import type { EditorState, Selection } from "@tiptap/pm/state"; // plane imports diff --git a/packages/editor/src/core/helpers/editor-commands.ts b/packages/editor/src/core/helpers/editor-commands.ts index 333bab4f31..58dcd484f0 100644 --- a/packages/editor/src/core/helpers/editor-commands.ts +++ b/packages/editor/src/core/helpers/editor-commands.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor, Range } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/helpers/editor-ref.ts b/packages/editor/src/core/helpers/editor-ref.ts index c7be617bcc..81a14cfc64 100644 --- a/packages/editor/src/core/helpers/editor-ref.ts +++ b/packages/editor/src/core/helpers/editor-ref.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import type { Editor } from "@tiptap/core"; import { DOMSerializer } from "@tiptap/pm/model"; diff --git a/packages/editor/src/core/helpers/file.ts b/packages/editor/src/core/helpers/file.ts index 33d3c7d781..b8284c2324 100644 --- a/packages/editor/src/core/helpers/file.ts +++ b/packages/editor/src/core/helpers/file.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EFileError { INVALID_FILE_TYPE = "INVALID_FILE_TYPE", FILE_SIZE_TOO_LARGE = "FILE_SIZE_TOO_LARGE", diff --git a/packages/editor/src/core/helpers/find-suggestion-match.ts b/packages/editor/src/core/helpers/find-suggestion-match.ts index 1ac4396581..d535563b77 100644 --- a/packages/editor/src/core/helpers/find-suggestion-match.ts +++ b/packages/editor/src/core/helpers/find-suggestion-match.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { escapeForRegEx } from "@tiptap/core"; import type { Trigger, SuggestionMatch } from "@tiptap/suggestion"; diff --git a/packages/editor/src/core/helpers/floating-ui.ts b/packages/editor/src/core/helpers/floating-ui.ts index 3330d24fae..7c9a317d9b 100644 --- a/packages/editor/src/core/helpers/floating-ui.ts +++ b/packages/editor/src/core/helpers/floating-ui.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { computePosition, flip, shift, autoUpdate } from "@floating-ui/dom"; import type { Placement, ReferenceElement, Strategy } from "@floating-ui/dom"; import { posToDOMRect } from "@tiptap/core"; diff --git a/packages/editor/src/core/helpers/get-document-server-event.ts b/packages/editor/src/core/helpers/get-document-server-event.ts index d364355b77..fd2c50c423 100644 --- a/packages/editor/src/core/helpers/get-document-server-event.ts +++ b/packages/editor/src/core/helpers/get-document-server-event.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { DocumentCollaborativeEvents } from "@/constants/document-collaborative-events"; import type { TDocumentEventKey, diff --git a/packages/editor/src/core/helpers/image-helpers.ts b/packages/editor/src/core/helpers/image-helpers.ts index d09ac5f847..eae46bb836 100644 --- a/packages/editor/src/core/helpers/image-helpers.ts +++ b/packages/editor/src/core/helpers/image-helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; // constants import { CORE_EXTENSIONS } from "@/constants/extension"; diff --git a/packages/editor/src/core/helpers/insert-content-at-cursor-position.ts b/packages/editor/src/core/helpers/insert-content-at-cursor-position.ts index 7c535acfc5..3aafbbd1e4 100644 --- a/packages/editor/src/core/helpers/insert-content-at-cursor-position.ts +++ b/packages/editor/src/core/helpers/insert-content-at-cursor-position.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/react"; export const insertContentAtSavedSelection = (editor: Editor, content: string) => { diff --git a/packages/editor/src/core/helpers/insert-empty-paragraph-at-node-boundary.ts b/packages/editor/src/core/helpers/insert-empty-paragraph-at-node-boundary.ts index 847555dc8b..b62f2172b9 100644 --- a/packages/editor/src/core/helpers/insert-empty-paragraph-at-node-boundary.ts +++ b/packages/editor/src/core/helpers/insert-empty-paragraph-at-node-boundary.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { KeyboardShortcutCommand } from "@tiptap/core"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; // constants diff --git a/packages/editor/src/core/helpers/parser.ts b/packages/editor/src/core/helpers/parser.ts index d662a3f4bf..a96cdf0f5a 100644 --- a/packages/editor/src/core/helpers/parser.ts +++ b/packages/editor/src/core/helpers/parser.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TDocumentPayload, TDuplicateAssetData, TDuplicateAssetResponse, TEditorAssetType } from "@plane/types"; // plane web imports diff --git a/packages/editor/src/core/helpers/paste-asset.ts b/packages/editor/src/core/helpers/paste-asset.ts index c60e23aaa5..1c6b3bbc5b 100644 --- a/packages/editor/src/core/helpers/paste-asset.ts +++ b/packages/editor/src/core/helpers/paste-asset.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { assetDuplicationHandlers } from "@/plane-editor/helpers/asset-duplication"; // Utility function to process HTML content with all registered handlers diff --git a/packages/editor/src/core/helpers/scroll-to-node.ts b/packages/editor/src/core/helpers/scroll-to-node.ts index 0cc089c527..43d095747f 100644 --- a/packages/editor/src/core/helpers/scroll-to-node.ts +++ b/packages/editor/src/core/helpers/scroll-to-node.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/react"; // types import type { IMarking } from "@/types"; diff --git a/packages/editor/src/core/helpers/tippy.ts b/packages/editor/src/core/helpers/tippy.ts index c254bd450f..fc285c1bf3 100644 --- a/packages/editor/src/core/helpers/tippy.ts +++ b/packages/editor/src/core/helpers/tippy.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type CommandListInstance = { onKeyDown: (props: { event: KeyboardEvent }) => boolean; }; diff --git a/packages/editor/src/core/helpers/yjs-utils.ts b/packages/editor/src/core/helpers/yjs-utils.ts index 61c6923c74..74eb57d3c7 100644 --- a/packages/editor/src/core/helpers/yjs-utils.ts +++ b/packages/editor/src/core/helpers/yjs-utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Buffer } from "buffer"; import type { Extensions, JSONContent } from "@tiptap/core"; import { getSchema } from "@tiptap/core"; diff --git a/packages/editor/src/core/hooks/use-collaborative-editor.ts b/packages/editor/src/core/hooks/use-collaborative-editor.ts index 23077f7244..70fc1ebd70 100644 --- a/packages/editor/src/core/hooks/use-collaborative-editor.ts +++ b/packages/editor/src/core/hooks/use-collaborative-editor.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import type { Extensions } from "@tiptap/core"; import Collaboration from "@tiptap/extension-collaboration"; diff --git a/packages/editor/src/core/hooks/use-editor-navigation.ts b/packages/editor/src/core/hooks/use-editor-navigation.ts index d5bdb1d27f..1978498311 100644 --- a/packages/editor/src/core/hooks/use-editor-navigation.ts +++ b/packages/editor/src/core/hooks/use-editor-navigation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Extension } from "@tiptap/core"; import { useCallback, useRef } from "react"; diff --git a/packages/editor/src/core/hooks/use-editor.ts b/packages/editor/src/core/hooks/use-editor.ts index 0ae81d9dc9..5cbf10681e 100644 --- a/packages/editor/src/core/hooks/use-editor.ts +++ b/packages/editor/src/core/hooks/use-editor.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEditorState, useEditor as useTiptapEditor } from "@tiptap/react"; import { useImperativeHandle, useEffect } from "react"; import type { MarkdownStorage } from "tiptap-markdown"; diff --git a/packages/editor/src/core/hooks/use-file-upload.ts b/packages/editor/src/core/hooks/use-file-upload.ts index 86f94633a2..e9d3b8d4a0 100644 --- a/packages/editor/src/core/hooks/use-file-upload.ts +++ b/packages/editor/src/core/hooks/use-file-upload.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor, NodeViewProps } from "@tiptap/core"; import type { DragEvent } from "react"; import { useCallback, useEffect, useState } from "react"; diff --git a/packages/editor/src/core/hooks/use-title-editor.ts b/packages/editor/src/core/hooks/use-title-editor.ts index 0272bdb227..048f21ba69 100644 --- a/packages/editor/src/core/hooks/use-title-editor.ts +++ b/packages/editor/src/core/hooks/use-title-editor.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import type { Extensions } from "@tiptap/core"; import { Placeholder } from "@tiptap/extension-placeholder"; diff --git a/packages/editor/src/core/hooks/use-yjs-setup.ts b/packages/editor/src/core/hooks/use-yjs-setup.ts index 126c22a06a..655fb1d185 100644 --- a/packages/editor/src/core/hooks/use-yjs-setup.ts +++ b/packages/editor/src/core/hooks/use-yjs-setup.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { HocuspocusProvider } from "@hocuspocus/provider"; // react import { useCallback, useEffect, useRef, useState } from "react"; diff --git a/packages/editor/src/core/plugins/ai-handle.ts b/packages/editor/src/core/plugins/ai-handle.ts index 01e3f28f96..29e6a76c48 100644 --- a/packages/editor/src/core/plugins/ai-handle.ts +++ b/packages/editor/src/core/plugins/ai-handle.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { NodeSelection } from "@tiptap/pm/state"; import type { EditorView } from "@tiptap/pm/view"; // extensions diff --git a/packages/editor/src/core/plugins/drag-handle.ts b/packages/editor/src/core/plugins/drag-handle.ts index 6269d3c0f9..9ecbcd2636 100644 --- a/packages/editor/src/core/plugins/drag-handle.ts +++ b/packages/editor/src/core/plugins/drag-handle.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node, Schema } from "@tiptap/pm/model"; import { Fragment, Slice } from "@tiptap/pm/model"; import { NodeSelection } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/plugins/drop.ts b/packages/editor/src/core/plugins/drop.ts index b0cd873cb8..e0e9057a5c 100644 --- a/packages/editor/src/core/plugins/drop.ts +++ b/packages/editor/src/core/plugins/drop.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; // constants diff --git a/packages/editor/src/core/plugins/file/delete.ts b/packages/editor/src/core/plugins/file/delete.ts index 607ea20447..cb7ed66faf 100644 --- a/packages/editor/src/core/plugins/file/delete.ts +++ b/packages/editor/src/core/plugins/file/delete.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; import type { EditorState, Transaction } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/plugins/file/restore.ts b/packages/editor/src/core/plugins/file/restore.ts index 178e41d2b0..b222b15fd6 100644 --- a/packages/editor/src/core/plugins/file/restore.ts +++ b/packages/editor/src/core/plugins/file/restore.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; import type { EditorState, Transaction } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/plugins/file/root.ts b/packages/editor/src/core/plugins/file/root.ts index 7717f7388a..9b68513df0 100644 --- a/packages/editor/src/core/plugins/file/root.ts +++ b/packages/editor/src/core/plugins/file/root.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import type { Plugin } from "@tiptap/pm/state"; // types diff --git a/packages/editor/src/core/plugins/file/types.ts b/packages/editor/src/core/plugins/file/types.ts index 636737169d..9065fe6213 100644 --- a/packages/editor/src/core/plugins/file/types.ts +++ b/packages/editor/src/core/plugins/file/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; export type TFileNode = ProseMirrorNode & { diff --git a/packages/editor/src/core/plugins/highlight.ts b/packages/editor/src/core/plugins/highlight.ts index 3c65c90ea0..06a243cd87 100644 --- a/packages/editor/src/core/plugins/highlight.ts +++ b/packages/editor/src/core/plugins/highlight.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Plugin, PluginKey } from "@tiptap/pm/state"; import { Decoration, DecorationSet } from "@tiptap/pm/view"; diff --git a/packages/editor/src/core/plugins/markdown-clipboard.ts b/packages/editor/src/core/plugins/markdown-clipboard.ts index a97e065890..efa5c7668a 100644 --- a/packages/editor/src/core/plugins/markdown-clipboard.ts +++ b/packages/editor/src/core/plugins/markdown-clipboard.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; // plane imports diff --git a/packages/editor/src/core/props.ts b/packages/editor/src/core/props.ts index d20b5372d4..91338683f6 100644 --- a/packages/editor/src/core/props.ts +++ b/packages/editor/src/core/props.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { DOMParser } from "@tiptap/pm/model"; import type { EditorProps } from "@tiptap/pm/view"; // plane utils diff --git a/packages/editor/src/core/types/ai.ts b/packages/editor/src/core/types/ai.ts index 448482e654..de4e6deb72 100644 --- a/packages/editor/src/core/types/ai.ts +++ b/packages/editor/src/core/types/ai.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TAIMenuProps = { isOpen: boolean; onClose: () => void; diff --git a/packages/editor/src/core/types/asset.ts b/packages/editor/src/core/types/asset.ts index dc1e528d61..0926983530 100644 --- a/packages/editor/src/core/types/asset.ts +++ b/packages/editor/src/core/types/asset.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // constants import type { CORE_EXTENSIONS } from "@/constants/extension"; // plane editor imports diff --git a/packages/editor/src/core/types/collaboration.ts b/packages/editor/src/core/types/collaboration.ts index b0ef4ca2b9..a0542607af 100644 --- a/packages/editor/src/core/types/collaboration.ts +++ b/packages/editor/src/core/types/collaboration.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type CollaborationError = | { type: "auth-failed"; message: string } | { type: "network-error"; message: string } diff --git a/packages/editor/src/core/types/config.ts b/packages/editor/src/core/types/config.ts index 0c5c434f0c..065e4177e1 100644 --- a/packages/editor/src/core/types/config.ts +++ b/packages/editor/src/core/types/config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TWebhookConnectionQueryParams } from "@plane/types"; import type { TExtendedFileHandler } from "@/plane-editor/types/config"; diff --git a/packages/editor/src/core/types/document-collaborative-events.ts b/packages/editor/src/core/types/document-collaborative-events.ts index 53ca50bba6..ba583d108a 100644 --- a/packages/editor/src/core/types/document-collaborative-events.ts +++ b/packages/editor/src/core/types/document-collaborative-events.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { DocumentCollaborativeEvents } from "@/constants/document-collaborative-events"; // Base type for all action payloads diff --git a/packages/editor/src/core/types/editor.ts b/packages/editor/src/core/types/editor.ts index a4f1cbe5bc..5da8e419a4 100644 --- a/packages/editor/src/core/types/editor.ts +++ b/packages/editor/src/core/types/editor.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Content, Extensions, JSONContent, RawCommands } from "@tiptap/core"; import type { MarkType, NodeType } from "@tiptap/pm/model"; import type { Selection } from "@tiptap/pm/state"; diff --git a/packages/editor/src/core/types/embed.ts b/packages/editor/src/core/types/embed.ts index 3acd662bec..96ff8cf103 100644 --- a/packages/editor/src/core/types/embed.ts +++ b/packages/editor/src/core/types/embed.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TEmbedItem = { id: string; title: string; diff --git a/packages/editor/src/core/types/extensions.ts b/packages/editor/src/core/types/extensions.ts index 8c1c0a4803..2670b6c039 100644 --- a/packages/editor/src/core/types/extensions.ts +++ b/packages/editor/src/core/types/extensions.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TExtensions = "ai" | "collaboration-cursor" | "issue-embed" | "slash-commands" | "enter-key" | "image"; diff --git a/packages/editor/src/core/types/hook.ts b/packages/editor/src/core/types/hook.ts index 02c6538854..b586d0f9f1 100644 --- a/packages/editor/src/core/types/hook.ts +++ b/packages/editor/src/core/types/hook.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { HocuspocusProvider } from "@hocuspocus/provider"; import type { Content } from "@tiptap/core"; // local imports diff --git a/packages/editor/src/core/types/index.ts b/packages/editor/src/core/types/index.ts index d3a12bfb5c..7ba7f104d9 100644 --- a/packages/editor/src/core/types/index.ts +++ b/packages/editor/src/core/types/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./ai"; export * from "./asset"; export * from "./collaboration"; diff --git a/packages/editor/src/core/types/mention.ts b/packages/editor/src/core/types/mention.ts index 4fed4aad85..6481b16594 100644 --- a/packages/editor/src/core/types/mention.ts +++ b/packages/editor/src/core/types/mention.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane types import type { TSearchEntities } from "@plane/types"; diff --git a/packages/editor/src/core/types/slash-commands-suggestion.ts b/packages/editor/src/core/types/slash-commands-suggestion.ts index a8690c90fd..d0b456287c 100644 --- a/packages/editor/src/core/types/slash-commands-suggestion.ts +++ b/packages/editor/src/core/types/slash-commands-suggestion.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Editor, Range } from "@tiptap/core"; import type { CSSProperties } from "react"; import type { TEditorCommands } from "@/types"; diff --git a/packages/editor/src/ee/extensions/index.ts b/packages/editor/src/ee/extensions/index.ts index 1c59af5c6a..31184b3417 100644 --- a/packages/editor/src/ee/extensions/index.ts +++ b/packages/editor/src/ee/extensions/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "src/ce/extensions"; diff --git a/packages/editor/src/ee/types/index.ts b/packages/editor/src/ee/types/index.ts index 00cebc05e3..2d08dc4bee 100644 --- a/packages/editor/src/ee/types/index.ts +++ b/packages/editor/src/ee/types/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "src/ce/types"; diff --git a/packages/editor/src/index.ts b/packages/editor/src/index.ts index 3cf3b6fcef..fd52c83f57 100644 --- a/packages/editor/src/index.ts +++ b/packages/editor/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // editors export { CollaborativeDocumentEditorWithRef, diff --git a/packages/editor/src/lib.ts b/packages/editor/src/lib.ts index 44388a00ea..3acece260a 100644 --- a/packages/editor/src/lib.ts +++ b/packages/editor/src/lib.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "@/extensions/core-without-props"; export * from "@/constants/document-collaborative-events"; export * from "@/helpers/get-document-server-event"; diff --git a/packages/hooks/src/index.ts b/packages/hooks/src/index.ts index a71e06bf5f..032a058edc 100644 --- a/packages/hooks/src/index.ts +++ b/packages/hooks/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-hash-scroll"; export * from "./use-local-storage"; export * from "./use-outside-click-detector"; diff --git a/packages/hooks/src/use-hash-scroll.ts b/packages/hooks/src/use-hash-scroll.ts index 8265b86d90..c919ef9f80 100644 --- a/packages/hooks/src/use-hash-scroll.ts +++ b/packages/hooks/src/use-hash-scroll.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback, useEffect, useState } from "react"; type TArgs = { diff --git a/packages/hooks/src/use-local-storage.tsx b/packages/hooks/src/use-local-storage.tsx index cb59b6d9e6..a9af13507e 100644 --- a/packages/hooks/src/use-local-storage.tsx +++ b/packages/hooks/src/use-local-storage.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect, useCallback } from "react"; export const getValueFromLocalStorage = (key: string, defaultValue: any) => { diff --git a/packages/hooks/src/use-outside-click-detector.tsx b/packages/hooks/src/use-outside-click-detector.tsx index a7c1b8d714..d084fd0dc7 100644 --- a/packages/hooks/src/use-outside-click-detector.tsx +++ b/packages/hooks/src/use-outside-click-detector.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type React from "react"; import { useEffect } from "react"; diff --git a/packages/hooks/src/use-platform-os.tsx b/packages/hooks/src/use-platform-os.tsx index 3f62e1499b..dc78c76822 100644 --- a/packages/hooks/src/use-platform-os.tsx +++ b/packages/hooks/src/use-platform-os.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; export const usePlatformOS = () => { diff --git a/packages/i18n/src/constants/index.ts b/packages/i18n/src/constants/index.ts index 1f0daf2fc2..94812657cf 100644 --- a/packages/i18n/src/constants/index.ts +++ b/packages/i18n/src/constants/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./language"; diff --git a/packages/i18n/src/constants/language.ts b/packages/i18n/src/constants/language.ts index 906190256b..787d14cb11 100644 --- a/packages/i18n/src/constants/language.ts +++ b/packages/i18n/src/constants/language.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLanguage, ILanguageOption } from "../types"; export const FALLBACK_LANGUAGE: TLanguage = "en"; diff --git a/packages/i18n/src/context/index.tsx b/packages/i18n/src/context/index.tsx index 22ed0a5e0d..1e4b7de062 100644 --- a/packages/i18n/src/context/index.tsx +++ b/packages/i18n/src/context/index.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { observer } from "mobx-react"; import React, { createContext } from "react"; // store diff --git a/packages/i18n/src/hooks/index.ts b/packages/i18n/src/hooks/index.ts index fb4e297e21..4728e511ae 100644 --- a/packages/i18n/src/hooks/index.ts +++ b/packages/i18n/src/hooks/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./use-translation"; diff --git a/packages/i18n/src/hooks/use-translation.ts b/packages/i18n/src/hooks/use-translation.ts index 329d91e2a9..a40a4b3338 100644 --- a/packages/i18n/src/hooks/use-translation.ts +++ b/packages/i18n/src/hooks/use-translation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useContext } from "react"; // context import { TranslationContext } from "../context"; diff --git a/packages/i18n/src/index.ts b/packages/i18n/src/index.ts index b2049544e6..111d10a2e9 100644 --- a/packages/i18n/src/index.ts +++ b/packages/i18n/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./constants"; export * from "./context"; export * from "./hooks"; diff --git a/packages/i18n/src/locales/cs/accessibility.ts b/packages/i18n/src/locales/cs/accessibility.ts index abc14f201c..50e28caad9 100644 --- a/packages/i18n/src/locales/cs/accessibility.ts +++ b/packages/i18n/src/locales/cs/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/cs/editor.ts b/packages/i18n/src/locales/cs/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/cs/editor.ts +++ b/packages/i18n/src/locales/cs/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/cs/empty-state.ts b/packages/i18n/src/locales/cs/empty-state.ts index ccd545d7d8..d28ed0bdcb 100644 --- a/packages/i18n/src/locales/cs/empty-state.ts +++ b/packages/i18n/src/locales/cs/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/cs/translations.ts b/packages/i18n/src/locales/cs/translations.ts index 87fe4f5d99..70ffb91f3a 100644 --- a/packages/i18n/src/locales/cs/translations.ts +++ b/packages/i18n/src/locales/cs/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projekty", diff --git a/packages/i18n/src/locales/de/accessibility.ts b/packages/i18n/src/locales/de/accessibility.ts index 3c596734bf..243dc95543 100644 --- a/packages/i18n/src/locales/de/accessibility.ts +++ b/packages/i18n/src/locales/de/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/de/editor.ts b/packages/i18n/src/locales/de/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/de/editor.ts +++ b/packages/i18n/src/locales/de/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/de/empty-state.ts b/packages/i18n/src/locales/de/empty-state.ts index 96c47c70dc..02601f9dd8 100644 --- a/packages/i18n/src/locales/de/empty-state.ts +++ b/packages/i18n/src/locales/de/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/de/translations.ts b/packages/i18n/src/locales/de/translations.ts index a9e676ec1f..2293008ff7 100644 --- a/packages/i18n/src/locales/de/translations.ts +++ b/packages/i18n/src/locales/de/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projekte", diff --git a/packages/i18n/src/locales/en/accessibility.ts b/packages/i18n/src/locales/en/accessibility.ts index c9fa1b8baa..e9d56aa5cc 100644 --- a/packages/i18n/src/locales/en/accessibility.ts +++ b/packages/i18n/src/locales/en/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/en/core.ts b/packages/i18n/src/locales/en/core.ts index 49b8f18a23..f12fa734c5 100644 --- a/packages/i18n/src/locales/en/core.ts +++ b/packages/i18n/src/locales/en/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projects", diff --git a/packages/i18n/src/locales/en/editor.ts b/packages/i18n/src/locales/en/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/en/editor.ts +++ b/packages/i18n/src/locales/en/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/en/empty-state.ts b/packages/i18n/src/locales/en/empty-state.ts index ae9a063574..6848a1aa22 100644 --- a/packages/i18n/src/locales/en/empty-state.ts +++ b/packages/i18n/src/locales/en/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/en/translations.ts b/packages/i18n/src/locales/en/translations.ts index c45990182f..434d950a23 100644 --- a/packages/i18n/src/locales/en/translations.ts +++ b/packages/i18n/src/locales/en/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { submit: "Submit", cancel: "Cancel", diff --git a/packages/i18n/src/locales/es/accessibility.ts b/packages/i18n/src/locales/es/accessibility.ts index 83bb5d7d9c..c43a0e6fcd 100644 --- a/packages/i18n/src/locales/es/accessibility.ts +++ b/packages/i18n/src/locales/es/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/es/editor.ts b/packages/i18n/src/locales/es/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/es/editor.ts +++ b/packages/i18n/src/locales/es/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/es/empty-state.ts b/packages/i18n/src/locales/es/empty-state.ts index 53ccdb8f25..92c9fba8ae 100644 --- a/packages/i18n/src/locales/es/empty-state.ts +++ b/packages/i18n/src/locales/es/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/es/translations.ts b/packages/i18n/src/locales/es/translations.ts index 302e4b1eb0..61d2b9ad1a 100644 --- a/packages/i18n/src/locales/es/translations.ts +++ b/packages/i18n/src/locales/es/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Proyectos", diff --git a/packages/i18n/src/locales/fr/accessibility.ts b/packages/i18n/src/locales/fr/accessibility.ts index 4dedb604ee..b5f2ee88c7 100644 --- a/packages/i18n/src/locales/fr/accessibility.ts +++ b/packages/i18n/src/locales/fr/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/fr/editor.ts b/packages/i18n/src/locales/fr/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/fr/editor.ts +++ b/packages/i18n/src/locales/fr/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/fr/empty-state.ts b/packages/i18n/src/locales/fr/empty-state.ts index ca97443ef8..58439868f7 100644 --- a/packages/i18n/src/locales/fr/empty-state.ts +++ b/packages/i18n/src/locales/fr/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/fr/translations.ts b/packages/i18n/src/locales/fr/translations.ts index 39feafad75..2409aee21f 100644 --- a/packages/i18n/src/locales/fr/translations.ts +++ b/packages/i18n/src/locales/fr/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projets", diff --git a/packages/i18n/src/locales/id/accessibility.ts b/packages/i18n/src/locales/id/accessibility.ts index 2e9c800a7a..e871f4a009 100644 --- a/packages/i18n/src/locales/id/accessibility.ts +++ b/packages/i18n/src/locales/id/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/id/editor.ts b/packages/i18n/src/locales/id/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/id/editor.ts +++ b/packages/i18n/src/locales/id/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/id/empty-state.ts b/packages/i18n/src/locales/id/empty-state.ts index 4cdd36c99a..2ac96a88b1 100644 --- a/packages/i18n/src/locales/id/empty-state.ts +++ b/packages/i18n/src/locales/id/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/id/translations.ts b/packages/i18n/src/locales/id/translations.ts index f6edba7800..e0e4383f47 100644 --- a/packages/i18n/src/locales/id/translations.ts +++ b/packages/i18n/src/locales/id/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projek", diff --git a/packages/i18n/src/locales/index.ts b/packages/i18n/src/locales/index.ts index 6bd62cf41d..086a42effb 100644 --- a/packages/i18n/src/locales/index.ts +++ b/packages/i18n/src/locales/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Export all locale files to make them accessible from the package root export { default as enCore } from "./en/core"; export { default as enTranslations } from "./en/translations"; diff --git a/packages/i18n/src/locales/it/accessibility.ts b/packages/i18n/src/locales/it/accessibility.ts index 64e53c6af1..d7b7e90c9d 100644 --- a/packages/i18n/src/locales/it/accessibility.ts +++ b/packages/i18n/src/locales/it/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/it/editor.ts b/packages/i18n/src/locales/it/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/it/editor.ts +++ b/packages/i18n/src/locales/it/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/it/empty-state.ts b/packages/i18n/src/locales/it/empty-state.ts index 0e5e458a9b..e43388184a 100644 --- a/packages/i18n/src/locales/it/empty-state.ts +++ b/packages/i18n/src/locales/it/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/it/translations.ts b/packages/i18n/src/locales/it/translations.ts index 21d8dfb4f4..ca11ebab17 100644 --- a/packages/i18n/src/locales/it/translations.ts +++ b/packages/i18n/src/locales/it/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Progetti", diff --git a/packages/i18n/src/locales/ja/accessibility.ts b/packages/i18n/src/locales/ja/accessibility.ts index e96c2cf295..d9386758bb 100644 --- a/packages/i18n/src/locales/ja/accessibility.ts +++ b/packages/i18n/src/locales/ja/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/ja/editor.ts b/packages/i18n/src/locales/ja/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/ja/editor.ts +++ b/packages/i18n/src/locales/ja/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/ja/empty-state.ts b/packages/i18n/src/locales/ja/empty-state.ts index a5be665bcd..c60317a8c5 100644 --- a/packages/i18n/src/locales/ja/empty-state.ts +++ b/packages/i18n/src/locales/ja/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/ja/translations.ts b/packages/i18n/src/locales/ja/translations.ts index 611218e414..8db2fbba6d 100644 --- a/packages/i18n/src/locales/ja/translations.ts +++ b/packages/i18n/src/locales/ja/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "プロジェクト", diff --git a/packages/i18n/src/locales/ko/accessibility.ts b/packages/i18n/src/locales/ko/accessibility.ts index 6c3ba882c8..31249f0df5 100644 --- a/packages/i18n/src/locales/ko/accessibility.ts +++ b/packages/i18n/src/locales/ko/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/ko/editor.ts b/packages/i18n/src/locales/ko/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/ko/editor.ts +++ b/packages/i18n/src/locales/ko/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/ko/empty-state.ts b/packages/i18n/src/locales/ko/empty-state.ts index 80b62d1e0f..ccb200883f 100644 --- a/packages/i18n/src/locales/ko/empty-state.ts +++ b/packages/i18n/src/locales/ko/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/ko/translations.ts b/packages/i18n/src/locales/ko/translations.ts index 74dd37a3cb..911a17b69a 100644 --- a/packages/i18n/src/locales/ko/translations.ts +++ b/packages/i18n/src/locales/ko/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "프로젝트", diff --git a/packages/i18n/src/locales/pl/accessibility.ts b/packages/i18n/src/locales/pl/accessibility.ts index 444b9539cf..34532feffe 100644 --- a/packages/i18n/src/locales/pl/accessibility.ts +++ b/packages/i18n/src/locales/pl/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/pl/editor.ts b/packages/i18n/src/locales/pl/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/pl/editor.ts +++ b/packages/i18n/src/locales/pl/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/pl/empty-state.ts b/packages/i18n/src/locales/pl/empty-state.ts index 79951dedd0..7a7e7383e9 100644 --- a/packages/i18n/src/locales/pl/empty-state.ts +++ b/packages/i18n/src/locales/pl/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/pl/translations.ts b/packages/i18n/src/locales/pl/translations.ts index b81dd7676e..008540a666 100644 --- a/packages/i18n/src/locales/pl/translations.ts +++ b/packages/i18n/src/locales/pl/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projekty", diff --git a/packages/i18n/src/locales/pt-BR/accessibility.ts b/packages/i18n/src/locales/pt-BR/accessibility.ts index 41238b8cc8..066a6f3055 100644 --- a/packages/i18n/src/locales/pt-BR/accessibility.ts +++ b/packages/i18n/src/locales/pt-BR/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/pt-BR/editor.ts b/packages/i18n/src/locales/pt-BR/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/pt-BR/editor.ts +++ b/packages/i18n/src/locales/pt-BR/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/pt-BR/empty-state.ts b/packages/i18n/src/locales/pt-BR/empty-state.ts index 56712f10e2..c34cc617d2 100644 --- a/packages/i18n/src/locales/pt-BR/empty-state.ts +++ b/packages/i18n/src/locales/pt-BR/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/pt-BR/translations.ts b/packages/i18n/src/locales/pt-BR/translations.ts index 1424a438f7..10ce2a39bb 100644 --- a/packages/i18n/src/locales/pt-BR/translations.ts +++ b/packages/i18n/src/locales/pt-BR/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projetos", diff --git a/packages/i18n/src/locales/ro/accessibility.ts b/packages/i18n/src/locales/ro/accessibility.ts index 992467931a..d5587bf74f 100644 --- a/packages/i18n/src/locales/ro/accessibility.ts +++ b/packages/i18n/src/locales/ro/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/ro/editor.ts b/packages/i18n/src/locales/ro/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/ro/editor.ts +++ b/packages/i18n/src/locales/ro/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/ro/empty-state.ts b/packages/i18n/src/locales/ro/empty-state.ts index 539c0e2ac7..7627c4a8dc 100644 --- a/packages/i18n/src/locales/ro/empty-state.ts +++ b/packages/i18n/src/locales/ro/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/ro/translations.ts b/packages/i18n/src/locales/ro/translations.ts index c9c748f7ff..4bd68c082d 100644 --- a/packages/i18n/src/locales/ro/translations.ts +++ b/packages/i18n/src/locales/ro/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Proiecte", diff --git a/packages/i18n/src/locales/ru/accessibility.ts b/packages/i18n/src/locales/ru/accessibility.ts index 0156064e69..0690b125ca 100644 --- a/packages/i18n/src/locales/ru/accessibility.ts +++ b/packages/i18n/src/locales/ru/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/ru/editor.ts b/packages/i18n/src/locales/ru/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/ru/editor.ts +++ b/packages/i18n/src/locales/ru/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/ru/empty-state.ts b/packages/i18n/src/locales/ru/empty-state.ts index 52f1b00431..9645d419d4 100644 --- a/packages/i18n/src/locales/ru/empty-state.ts +++ b/packages/i18n/src/locales/ru/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/ru/translations.ts b/packages/i18n/src/locales/ru/translations.ts index f91403e914..317093e4e3 100644 --- a/packages/i18n/src/locales/ru/translations.ts +++ b/packages/i18n/src/locales/ru/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Проекты", diff --git a/packages/i18n/src/locales/sk/accessibility.ts b/packages/i18n/src/locales/sk/accessibility.ts index 5038c41bee..b7c3f05473 100644 --- a/packages/i18n/src/locales/sk/accessibility.ts +++ b/packages/i18n/src/locales/sk/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/sk/editor.ts b/packages/i18n/src/locales/sk/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/sk/editor.ts +++ b/packages/i18n/src/locales/sk/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/sk/empty-state.ts b/packages/i18n/src/locales/sk/empty-state.ts index a82f47d3ee..bb89c93c1b 100644 --- a/packages/i18n/src/locales/sk/empty-state.ts +++ b/packages/i18n/src/locales/sk/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/sk/translations.ts b/packages/i18n/src/locales/sk/translations.ts index 5e579e1d5f..0700f6a280 100644 --- a/packages/i18n/src/locales/sk/translations.ts +++ b/packages/i18n/src/locales/sk/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projekty", diff --git a/packages/i18n/src/locales/tr-TR/accessibility.ts b/packages/i18n/src/locales/tr-TR/accessibility.ts index 9675474d06..664fc6cee0 100644 --- a/packages/i18n/src/locales/tr-TR/accessibility.ts +++ b/packages/i18n/src/locales/tr-TR/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/tr-TR/editor.ts b/packages/i18n/src/locales/tr-TR/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/tr-TR/editor.ts +++ b/packages/i18n/src/locales/tr-TR/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/tr-TR/empty-state.ts b/packages/i18n/src/locales/tr-TR/empty-state.ts index 64bf46c208..6d66254b82 100644 --- a/packages/i18n/src/locales/tr-TR/empty-state.ts +++ b/packages/i18n/src/locales/tr-TR/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/tr-TR/translations.ts b/packages/i18n/src/locales/tr-TR/translations.ts index 568856113a..4089d84b85 100644 --- a/packages/i18n/src/locales/tr-TR/translations.ts +++ b/packages/i18n/src/locales/tr-TR/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Projeler", diff --git a/packages/i18n/src/locales/ua/accessibility.ts b/packages/i18n/src/locales/ua/accessibility.ts index 6e9847af33..34dea3cd5a 100644 --- a/packages/i18n/src/locales/ua/accessibility.ts +++ b/packages/i18n/src/locales/ua/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/ua/editor.ts b/packages/i18n/src/locales/ua/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/ua/editor.ts +++ b/packages/i18n/src/locales/ua/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/ua/empty-state.ts b/packages/i18n/src/locales/ua/empty-state.ts index bac4b18ef2..b0bc9e9712 100644 --- a/packages/i18n/src/locales/ua/empty-state.ts +++ b/packages/i18n/src/locales/ua/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/ua/translations.ts b/packages/i18n/src/locales/ua/translations.ts index dfd57a054a..b1bc4a7c8b 100644 --- a/packages/i18n/src/locales/ua/translations.ts +++ b/packages/i18n/src/locales/ua/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Проєкти", diff --git a/packages/i18n/src/locales/vi-VN/accessibility.ts b/packages/i18n/src/locales/vi-VN/accessibility.ts index 5a0734c9ea..cd14dd61e2 100644 --- a/packages/i18n/src/locales/vi-VN/accessibility.ts +++ b/packages/i18n/src/locales/vi-VN/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/vi-VN/editor.ts b/packages/i18n/src/locales/vi-VN/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/vi-VN/editor.ts +++ b/packages/i18n/src/locales/vi-VN/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/vi-VN/empty-state.ts b/packages/i18n/src/locales/vi-VN/empty-state.ts index 5d2a6ce219..0d1146eaf9 100644 --- a/packages/i18n/src/locales/vi-VN/empty-state.ts +++ b/packages/i18n/src/locales/vi-VN/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/vi-VN/translations.ts b/packages/i18n/src/locales/vi-VN/translations.ts index 70a7cccded..fb48215d25 100644 --- a/packages/i18n/src/locales/vi-VN/translations.ts +++ b/packages/i18n/src/locales/vi-VN/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "Dự án", diff --git a/packages/i18n/src/locales/zh-CN/accessibility.ts b/packages/i18n/src/locales/zh-CN/accessibility.ts index d537ef62a1..d2a5f334f4 100644 --- a/packages/i18n/src/locales/zh-CN/accessibility.ts +++ b/packages/i18n/src/locales/zh-CN/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/zh-CN/editor.ts b/packages/i18n/src/locales/zh-CN/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/zh-CN/editor.ts +++ b/packages/i18n/src/locales/zh-CN/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/zh-CN/empty-state.ts b/packages/i18n/src/locales/zh-CN/empty-state.ts index 607c4e05b5..3a3c9c8316 100644 --- a/packages/i18n/src/locales/zh-CN/empty-state.ts +++ b/packages/i18n/src/locales/zh-CN/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/zh-CN/translations.ts b/packages/i18n/src/locales/zh-CN/translations.ts index cca65f5bb5..22495420e0 100644 --- a/packages/i18n/src/locales/zh-CN/translations.ts +++ b/packages/i18n/src/locales/zh-CN/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "项目", diff --git a/packages/i18n/src/locales/zh-TW/accessibility.ts b/packages/i18n/src/locales/zh-TW/accessibility.ts index 4f8999f009..b6e593418b 100644 --- a/packages/i18n/src/locales/zh-TW/accessibility.ts +++ b/packages/i18n/src/locales/zh-TW/accessibility.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { aria_labels: { projects_sidebar: { diff --git a/packages/i18n/src/locales/zh-TW/editor.ts b/packages/i18n/src/locales/zh-TW/editor.ts index 927e1a9f2f..f90361ce43 100644 --- a/packages/i18n/src/locales/zh-TW/editor.ts +++ b/packages/i18n/src/locales/zh-TW/editor.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default {} as const; diff --git a/packages/i18n/src/locales/zh-TW/empty-state.ts b/packages/i18n/src/locales/zh-TW/empty-state.ts index cae9d83a3b..a710dbef65 100644 --- a/packages/i18n/src/locales/zh-TW/empty-state.ts +++ b/packages/i18n/src/locales/zh-TW/empty-state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { common_empty_state: { progress: { diff --git a/packages/i18n/src/locales/zh-TW/translations.ts b/packages/i18n/src/locales/zh-TW/translations.ts index 337b329c76..59019aa12d 100644 --- a/packages/i18n/src/locales/zh-TW/translations.ts +++ b/packages/i18n/src/locales/zh-TW/translations.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default { sidebar: { projects: "專案", diff --git a/packages/i18n/src/store/index.ts b/packages/i18n/src/store/index.ts index c0366a0ea0..27a4bb7fd7 100644 --- a/packages/i18n/src/store/index.ts +++ b/packages/i18n/src/store/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import IntlMessageFormat from "intl-messageformat"; import { get, merge } from "lodash-es"; import { makeAutoObservable, runInAction } from "mobx"; diff --git a/packages/i18n/src/types/index.ts b/packages/i18n/src/types/index.ts index d56ad1e16d..9e90d6215e 100644 --- a/packages/i18n/src/types/index.ts +++ b/packages/i18n/src/types/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./language"; export * from "./translation"; diff --git a/packages/i18n/src/types/language.ts b/packages/i18n/src/types/language.ts index 72ab64032e..a6a766b420 100644 --- a/packages/i18n/src/types/language.ts +++ b/packages/i18n/src/types/language.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TLanguage = | "en" | "fr" diff --git a/packages/i18n/src/types/translation.ts b/packages/i18n/src/types/translation.ts index b75705552a..8c2ec591de 100644 --- a/packages/i18n/src/types/translation.ts +++ b/packages/i18n/src/types/translation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface ITranslation { [key: string]: string | ITranslation; } diff --git a/packages/logger/src/config.ts b/packages/logger/src/config.ts index be951eb3e0..db534020bc 100644 --- a/packages/logger/src/config.ts +++ b/packages/logger/src/config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LoggerOptions } from "winston"; import { createLogger, format, transports } from "winston"; diff --git a/packages/logger/src/index.ts b/packages/logger/src/index.ts index 715301ad30..dc15ddae6a 100644 --- a/packages/logger/src/index.ts +++ b/packages/logger/src/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./config"; export * from "./middleware"; diff --git a/packages/logger/src/middleware.ts b/packages/logger/src/middleware.ts index b1e9e68ccc..d973b51afd 100644 --- a/packages/logger/src/middleware.ts +++ b/packages/logger/src/middleware.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { RequestHandler } from "express"; import expressWinston from "express-winston"; import { transports } from "winston"; diff --git a/packages/propel/.storybook/main.ts b/packages/propel/.storybook/main.ts index 96607e1b5d..89ec3a45d5 100644 --- a/packages/propel/.storybook/main.ts +++ b/packages/propel/.storybook/main.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { StorybookConfig } from "@storybook/react-vite"; import { join, dirname } from "path"; diff --git a/packages/propel/.storybook/manager.ts b/packages/propel/.storybook/manager.ts index b0d3a40220..014936f59d 100644 --- a/packages/propel/.storybook/manager.ts +++ b/packages/propel/.storybook/manager.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { addons } from "storybook/manager-api"; import { create } from "storybook/theming"; diff --git a/packages/propel/.storybook/preview.ts b/packages/propel/.storybook/preview.ts index 917f3f3739..bf9957c54a 100644 --- a/packages/propel/.storybook/preview.ts +++ b/packages/propel/.storybook/preview.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Preview } from "@storybook/react-vite"; import "./tailwind.css"; diff --git a/packages/propel/src/accordion/accordion.stories.tsx b/packages/propel/src/accordion/accordion.stories.tsx index ed9428b077..a2c7d05ade 100644 --- a/packages/propel/src/accordion/accordion.stories.tsx +++ b/packages/propel/src/accordion/accordion.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Accordion } from "./accordion"; diff --git a/packages/propel/src/accordion/accordion.tsx b/packages/propel/src/accordion/accordion.tsx index 2b333c28c1..353e587acc 100644 --- a/packages/propel/src/accordion/accordion.tsx +++ b/packages/propel/src/accordion/accordion.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Accordion as BaseAccordion } from "@base-ui-components/react"; diff --git a/packages/propel/src/accordion/index.ts b/packages/propel/src/accordion/index.ts index d236f3b99c..d0ab5a8dbf 100644 --- a/packages/propel/src/accordion/index.ts +++ b/packages/propel/src/accordion/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./accordion"; diff --git a/packages/propel/src/animated-counter/animated-counter.stories.tsx b/packages/propel/src/animated-counter/animated-counter.stories.tsx index b2c17d5274..df069d22de 100644 --- a/packages/propel/src/animated-counter/animated-counter.stories.tsx +++ b/packages/propel/src/animated-counter/animated-counter.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { AnimatedCounter } from "./animated-counter"; diff --git a/packages/propel/src/animated-counter/animated-counter.tsx b/packages/propel/src/animated-counter/animated-counter.tsx index 67c05a0c23..6d4bacb9ba 100644 --- a/packages/propel/src/animated-counter/animated-counter.tsx +++ b/packages/propel/src/animated-counter/animated-counter.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState, useEffect } from "react"; import { cn } from "../utils"; diff --git a/packages/propel/src/animated-counter/index.ts b/packages/propel/src/animated-counter/index.ts index 86b4c39b8a..35e0d988d1 100644 --- a/packages/propel/src/animated-counter/index.ts +++ b/packages/propel/src/animated-counter/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { AnimatedCounter } from "./animated-counter"; export type { AnimatedCounterProps } from "./animated-counter"; diff --git a/packages/propel/src/avatar/avatar.stories.tsx b/packages/propel/src/avatar/avatar.stories.tsx index c392af57d8..dac386ed96 100644 --- a/packages/propel/src/avatar/avatar.stories.tsx +++ b/packages/propel/src/avatar/avatar.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Avatar } from "./avatar"; diff --git a/packages/propel/src/avatar/avatar.tsx b/packages/propel/src/avatar/avatar.tsx index bb43d5a07f..9fc4f53e83 100644 --- a/packages/propel/src/avatar/avatar.tsx +++ b/packages/propel/src/avatar/avatar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Avatar as AvatarPrimitive } from "@base-ui-components/react/avatar"; import { cn } from "../utils/classname"; diff --git a/packages/propel/src/avatar/index.ts b/packages/propel/src/avatar/index.ts index 90fdb226bc..522264e6de 100644 --- a/packages/propel/src/avatar/index.ts +++ b/packages/propel/src/avatar/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./avatar"; diff --git a/packages/propel/src/badge/badge.stories.tsx b/packages/propel/src/badge/badge.stories.tsx index b2208066a3..75e34e96d8 100644 --- a/packages/propel/src/badge/badge.stories.tsx +++ b/packages/propel/src/badge/badge.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Badge } from "./badge"; diff --git a/packages/propel/src/badge/badge.tsx b/packages/propel/src/badge/badge.tsx index 44a6721413..3d34ba702c 100644 --- a/packages/propel/src/badge/badge.tsx +++ b/packages/propel/src/badge/badge.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; import type { BadgeProps } from "./helper"; diff --git a/packages/propel/src/badge/helper.tsx b/packages/propel/src/badge/helper.tsx index 6e45d28224..458a293de0 100644 --- a/packages/propel/src/badge/helper.tsx +++ b/packages/propel/src/badge/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { VariantProps } from "class-variance-authority"; import { cva } from "class-variance-authority"; diff --git a/packages/propel/src/badge/index.ts b/packages/propel/src/badge/index.ts index 9fd1b0bd72..7372c7cb45 100644 --- a/packages/propel/src/badge/index.ts +++ b/packages/propel/src/badge/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { Badge } from "./badge"; export { getBadgeStyling } from "./helper"; export type { BadgeProps, TBadgeVariant, TBadgeSize } from "./helper"; diff --git a/packages/propel/src/banner/banner.stories.tsx b/packages/propel/src/banner/banner.stories.tsx index 9270d6b2b0..325b67520b 100644 --- a/packages/propel/src/banner/banner.stories.tsx +++ b/packages/propel/src/banner/banner.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Banner } from "./banner"; diff --git a/packages/propel/src/banner/banner.tsx b/packages/propel/src/banner/banner.tsx index 680c1bba16..077e69928e 100644 --- a/packages/propel/src/banner/banner.tsx +++ b/packages/propel/src/banner/banner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { cn } from "../utils"; import type { TBannerVariant } from "./helper"; diff --git a/packages/propel/src/banner/helper.tsx b/packages/propel/src/banner/helper.tsx index 8594bad1d3..1384b3109b 100644 --- a/packages/propel/src/banner/helper.tsx +++ b/packages/propel/src/banner/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TBannerVariant = "success" | "error" | "warning" | "info"; export interface IBannerStyling { diff --git a/packages/propel/src/banner/index.ts b/packages/propel/src/banner/index.ts index 12d0a82b4c..1b8f7995e0 100644 --- a/packages/propel/src/banner/index.ts +++ b/packages/propel/src/banner/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { Banner } from "./banner"; export type { BannerProps, BannerVariant } from "./banner"; export type { TBannerVariant } from "./helper"; diff --git a/packages/propel/src/button/button.stories.tsx b/packages/propel/src/button/button.stories.tsx index 3534557b3d..3a42c93520 100644 --- a/packages/propel/src/button/button.stories.tsx +++ b/packages/propel/src/button/button.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Button } from "./button"; diff --git a/packages/propel/src/button/button.tsx b/packages/propel/src/button/button.tsx index 6c3efe0861..6055c75d83 100644 --- a/packages/propel/src/button/button.tsx +++ b/packages/propel/src/button/button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; import type { ButtonProps } from "./helper"; diff --git a/packages/propel/src/button/helper.tsx b/packages/propel/src/button/helper.tsx index 20e60093a4..42dc4cd90c 100644 --- a/packages/propel/src/button/helper.tsx +++ b/packages/propel/src/button/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { VariantProps } from "class-variance-authority"; import { cva } from "class-variance-authority"; diff --git a/packages/propel/src/button/index.ts b/packages/propel/src/button/index.ts index 31e7fa5e9d..95ba2dab4e 100644 --- a/packages/propel/src/button/index.ts +++ b/packages/propel/src/button/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { Button } from "./button"; export { getButtonStyling } from "./helper"; export type { ButtonProps, TButtonVariant, TButtonSize } from "./helper"; diff --git a/packages/propel/src/calendar/calendar.stories.tsx b/packages/propel/src/calendar/calendar.stories.tsx index 2a70fbfb6d..a6a7a7a3fd 100644 --- a/packages/propel/src/calendar/calendar.stories.tsx +++ b/packages/propel/src/calendar/calendar.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import type { DateRange } from "react-day-picker"; diff --git a/packages/propel/src/calendar/index.ts b/packages/propel/src/calendar/index.ts index 33709fd2b0..dc603cd89e 100644 --- a/packages/propel/src/calendar/index.ts +++ b/packages/propel/src/calendar/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; export type { Matcher, DateRange } from "react-day-picker"; diff --git a/packages/propel/src/calendar/root.tsx b/packages/propel/src/calendar/root.tsx index c754a06e4b..eb962064be 100644 --- a/packages/propel/src/calendar/root.tsx +++ b/packages/propel/src/calendar/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { DayPicker } from "react-day-picker"; import { ChevronLeftIcon } from "../icons/arrows/chevron-left"; diff --git a/packages/propel/src/card/card.stories.tsx b/packages/propel/src/card/card.stories.tsx index aaeebd4bfe..02eafd6b19 100644 --- a/packages/propel/src/card/card.stories.tsx +++ b/packages/propel/src/card/card.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Card, ECardVariant, ECardSpacing, ECardDirection } from "./card"; diff --git a/packages/propel/src/card/card.tsx b/packages/propel/src/card/card.tsx index 90223e2ae1..3027500980 100644 --- a/packages/propel/src/card/card.tsx +++ b/packages/propel/src/card/card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils/classname"; import type { TCardDirection, TCardSpacing, TCardVariant } from "./helper"; diff --git a/packages/propel/src/card/helper.tsx b/packages/propel/src/card/helper.tsx index fabaeb74ee..cc914c5da8 100644 --- a/packages/propel/src/card/helper.tsx +++ b/packages/propel/src/card/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum ECardVariant { WITHOUT_SHADOW = "without-shadow", WITH_SHADOW = "with-shadow", diff --git a/packages/propel/src/card/index.ts b/packages/propel/src/card/index.ts index 1d243e763f..4260f8508d 100644 --- a/packages/propel/src/card/index.ts +++ b/packages/propel/src/card/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./card"; diff --git a/packages/propel/src/charts/area-chart/index.ts b/packages/propel/src/charts/area-chart/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/charts/area-chart/index.ts +++ b/packages/propel/src/charts/area-chart/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/charts/area-chart/root.tsx b/packages/propel/src/charts/area-chart/root.tsx index e5cad20295..9999c3d0b3 100644 --- a/packages/propel/src/charts/area-chart/root.tsx +++ b/packages/propel/src/charts/area-chart/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { Area, Legend, ResponsiveContainer, Tooltip, XAxis, YAxis, Line, ComposedChart, CartesianGrid } from "recharts"; // plane imports diff --git a/packages/propel/src/charts/bar-chart/bar.tsx b/packages/propel/src/charts/bar-chart/bar.tsx index d77e0bbe33..1df9c2188a 100644 --- a/packages/propel/src/charts/bar-chart/bar.tsx +++ b/packages/propel/src/charts/bar-chart/bar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable @typescript-eslint/no-explicit-any */ import React from "react"; // plane imports diff --git a/packages/propel/src/charts/bar-chart/index.ts b/packages/propel/src/charts/bar-chart/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/charts/bar-chart/index.ts +++ b/packages/propel/src/charts/bar-chart/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/charts/bar-chart/root.tsx b/packages/propel/src/charts/bar-chart/root.tsx index 2f89f368a4..2dd5f22881 100644 --- a/packages/propel/src/charts/bar-chart/root.tsx +++ b/packages/propel/src/charts/bar-chart/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable @typescript-eslint/no-explicit-any */ import React, { useCallback, useMemo, useState } from "react"; import { diff --git a/packages/propel/src/charts/components/legend.tsx b/packages/propel/src/charts/components/legend.tsx index d1b8f54335..52968afc2c 100644 --- a/packages/propel/src/charts/components/legend.tsx +++ b/packages/propel/src/charts/components/legend.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { LegendProps } from "recharts"; // plane imports diff --git a/packages/propel/src/charts/components/tick.tsx b/packages/propel/src/charts/components/tick.tsx index 368b9c06d7..307b283290 100644 --- a/packages/propel/src/charts/components/tick.tsx +++ b/packages/propel/src/charts/components/tick.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /* eslint-disable @typescript-eslint/no-explicit-any */ import React from "react"; diff --git a/packages/propel/src/charts/components/tooltip.tsx b/packages/propel/src/charts/components/tooltip.tsx index f36a912a1b..544b364376 100644 --- a/packages/propel/src/charts/components/tooltip.tsx +++ b/packages/propel/src/charts/components/tooltip.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent"; import { Card, ECardSpacing } from "../../card"; diff --git a/packages/propel/src/charts/line-chart/index.ts b/packages/propel/src/charts/line-chart/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/charts/line-chart/index.ts +++ b/packages/propel/src/charts/line-chart/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/charts/line-chart/root.tsx b/packages/propel/src/charts/line-chart/root.tsx index a4f1592d5b..3e741e5918 100644 --- a/packages/propel/src/charts/line-chart/root.tsx +++ b/packages/propel/src/charts/line-chart/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { CartesianGrid, diff --git a/packages/propel/src/charts/pie-chart/active-shape.tsx b/packages/propel/src/charts/pie-chart/active-shape.tsx index 28e5a873ea..6aeaa76132 100644 --- a/packages/propel/src/charts/pie-chart/active-shape.tsx +++ b/packages/propel/src/charts/pie-chart/active-shape.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Sector } from "recharts"; import type { PieSectorDataItem } from "recharts/types/polar/Pie"; diff --git a/packages/propel/src/charts/pie-chart/index.ts b/packages/propel/src/charts/pie-chart/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/charts/pie-chart/index.ts +++ b/packages/propel/src/charts/pie-chart/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/charts/pie-chart/root.tsx b/packages/propel/src/charts/pie-chart/root.tsx index f515268c2c..7daf03ecd1 100644 --- a/packages/propel/src/charts/pie-chart/root.tsx +++ b/packages/propel/src/charts/pie-chart/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { Cell, PieChart as CorePieChart, Label, Legend, Pie, ResponsiveContainer, Tooltip } from "recharts"; // plane imports diff --git a/packages/propel/src/charts/pie-chart/tooltip.tsx b/packages/propel/src/charts/pie-chart/tooltip.tsx index 3beec1a9a6..e10aa939a4 100644 --- a/packages/propel/src/charts/pie-chart/tooltip.tsx +++ b/packages/propel/src/charts/pie-chart/tooltip.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent"; // plane imports diff --git a/packages/propel/src/charts/radar-chart/index.ts b/packages/propel/src/charts/radar-chart/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/charts/radar-chart/index.ts +++ b/packages/propel/src/charts/radar-chart/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/charts/radar-chart/root.tsx b/packages/propel/src/charts/radar-chart/root.tsx index f7a2bc6cd9..01ee5fed10 100644 --- a/packages/propel/src/charts/radar-chart/root.tsx +++ b/packages/propel/src/charts/radar-chart/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useState } from "react"; import { PolarGrid, diff --git a/packages/propel/src/charts/scatter-chart/index.ts b/packages/propel/src/charts/scatter-chart/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/charts/scatter-chart/index.ts +++ b/packages/propel/src/charts/scatter-chart/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/charts/scatter-chart/root.tsx b/packages/propel/src/charts/scatter-chart/root.tsx index fa82677516..9da4975758 100644 --- a/packages/propel/src/charts/scatter-chart/root.tsx +++ b/packages/propel/src/charts/scatter-chart/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useState } from "react"; import { CartesianGrid, diff --git a/packages/propel/src/charts/tree-map/index.ts b/packages/propel/src/charts/tree-map/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/charts/tree-map/index.ts +++ b/packages/propel/src/charts/tree-map/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/charts/tree-map/map-content.tsx b/packages/propel/src/charts/tree-map/map-content.tsx index f9baecd243..b664b8ae81 100644 --- a/packages/propel/src/charts/tree-map/map-content.tsx +++ b/packages/propel/src/charts/tree-map/map-content.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo } from "react"; // plane imports import type { TBottomSectionConfig, TContentVisibility, TTopSectionConfig } from "@plane/types"; diff --git a/packages/propel/src/charts/tree-map/root.tsx b/packages/propel/src/charts/tree-map/root.tsx index fab38a4cce..738db1463c 100644 --- a/packages/propel/src/charts/tree-map/root.tsx +++ b/packages/propel/src/charts/tree-map/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Treemap, ResponsiveContainer, Tooltip } from "recharts"; // plane imports diff --git a/packages/propel/src/charts/tree-map/tooltip.tsx b/packages/propel/src/charts/tree-map/tooltip.tsx index af71656bdd..5888feccc2 100644 --- a/packages/propel/src/charts/tree-map/tooltip.tsx +++ b/packages/propel/src/charts/tree-map/tooltip.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // plane imports import { Card, ECardSpacing } from "../../card"; diff --git a/packages/propel/src/collapsible/collapsible.stories.tsx b/packages/propel/src/collapsible/collapsible.stories.tsx index 2745166015..1210da6d8a 100644 --- a/packages/propel/src/collapsible/collapsible.stories.tsx +++ b/packages/propel/src/collapsible/collapsible.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { useArgs } from "storybook/preview-api"; diff --git a/packages/propel/src/collapsible/collapsible.tsx b/packages/propel/src/collapsible/collapsible.tsx index f8e25d383a..9178b44a42 100644 --- a/packages/propel/src/collapsible/collapsible.tsx +++ b/packages/propel/src/collapsible/collapsible.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useEffect, useCallback, createContext, useContext } from "react"; import { Collapsible as BaseCollapsible } from "@base-ui-components/react/collapsible"; import clsx from "clsx"; diff --git a/packages/propel/src/collapsible/index.ts b/packages/propel/src/collapsible/index.ts index dbd9262372..7528e0d586 100644 --- a/packages/propel/src/collapsible/index.ts +++ b/packages/propel/src/collapsible/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./collapsible"; diff --git a/packages/propel/src/combobox/combobox.stories.tsx b/packages/propel/src/combobox/combobox.stories.tsx index c3c0711f8d..5ebf84f648 100644 --- a/packages/propel/src/combobox/combobox.stories.tsx +++ b/packages/propel/src/combobox/combobox.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { ChevronsUpDown } from "lucide-react"; diff --git a/packages/propel/src/combobox/combobox.tsx b/packages/propel/src/combobox/combobox.tsx index 7dad6fad83..94cc8ebe9e 100644 --- a/packages/propel/src/combobox/combobox.tsx +++ b/packages/propel/src/combobox/combobox.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Combobox as BaseCombobox } from "@base-ui-components/react/combobox"; import { SearchIcon } from "../icons"; diff --git a/packages/propel/src/combobox/index.ts b/packages/propel/src/combobox/index.ts index 1be314de73..8004ba5ec4 100644 --- a/packages/propel/src/combobox/index.ts +++ b/packages/propel/src/combobox/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./combobox"; diff --git a/packages/propel/src/command/command.stories.tsx b/packages/propel/src/command/command.stories.tsx index dd04c02df3..2abeb09c58 100644 --- a/packages/propel/src/command/command.stories.tsx +++ b/packages/propel/src/command/command.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { File, Folder, Settings, User } from "lucide-react"; import { Command } from "./command"; diff --git a/packages/propel/src/command/command.tsx b/packages/propel/src/command/command.tsx index b3483bfe49..d87b332a0f 100644 --- a/packages/propel/src/command/command.tsx +++ b/packages/propel/src/command/command.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Command as CommandPrimitive } from "cmdk"; import { SearchIcon } from "../icons"; diff --git a/packages/propel/src/command/index.ts b/packages/propel/src/command/index.ts index f4c8ea9e0f..0fc4f85f98 100644 --- a/packages/propel/src/command/index.ts +++ b/packages/propel/src/command/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./command"; diff --git a/packages/propel/src/context-menu/context-menu.stories.tsx b/packages/propel/src/context-menu/context-menu.stories.tsx index 2d64af2fb7..ff4bd42d05 100644 --- a/packages/propel/src/context-menu/context-menu.stories.tsx +++ b/packages/propel/src/context-menu/context-menu.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Download, Edit, Share, Star, Archive } from "lucide-react"; import { CopyIcon, TrashIcon } from "../icons"; diff --git a/packages/propel/src/context-menu/context-menu.tsx b/packages/propel/src/context-menu/context-menu.tsx index 82ae12d4b5..84dd285b34 100644 --- a/packages/propel/src/context-menu/context-menu.tsx +++ b/packages/propel/src/context-menu/context-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { ContextMenu as ContextMenuPrimitive } from "@base-ui-components/react/context-menu"; import { cn } from "../utils"; diff --git a/packages/propel/src/context-menu/index.ts b/packages/propel/src/context-menu/index.ts index 7a0cbc670c..ff80b8eae6 100644 --- a/packages/propel/src/context-menu/index.ts +++ b/packages/propel/src/context-menu/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { ContextMenu } from "./context-menu"; export type { ContextMenuProps, diff --git a/packages/propel/src/design-system/design-system-philosophy.stories.tsx b/packages/propel/src/design-system/design-system-philosophy.stories.tsx index 5dacdb1aa0..6e93115561 100644 --- a/packages/propel/src/design-system/design-system-philosophy.stories.tsx +++ b/packages/propel/src/design-system/design-system-philosophy.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; diff --git a/packages/propel/src/dialog/dialog.stories.tsx b/packages/propel/src/dialog/dialog.stories.tsx index 0931193436..94d53a6ff6 100644 --- a/packages/propel/src/dialog/dialog.stories.tsx +++ b/packages/propel/src/dialog/dialog.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { useArgs } from "storybook/preview-api"; diff --git a/packages/propel/src/dialog/index.ts b/packages/propel/src/dialog/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/dialog/index.ts +++ b/packages/propel/src/dialog/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/dialog/root.tsx b/packages/propel/src/dialog/root.tsx index 4dfb2d7e99..d08ce10d26 100644 --- a/packages/propel/src/dialog/root.tsx +++ b/packages/propel/src/dialog/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { forwardRef, memo, useMemo } from "react"; import { Dialog as BaseDialog } from "@base-ui-components/react"; import { cn } from "../utils/classname"; diff --git a/packages/propel/src/emoji-icon-picker/emoji-picker.stories.tsx b/packages/propel/src/emoji-icon-picker/emoji-picker.stories.tsx index d079697d65..1b57227b7b 100644 --- a/packages/propel/src/emoji-icon-picker/emoji-picker.stories.tsx +++ b/packages/propel/src/emoji-icon-picker/emoji-picker.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { EmojiPicker } from "./emoji-picker"; diff --git a/packages/propel/src/emoji-icon-picker/emoji-picker.tsx b/packages/propel/src/emoji-icon-picker/emoji-picker.tsx index c1b5ce2abd..296f880104 100644 --- a/packages/propel/src/emoji-icon-picker/emoji-picker.tsx +++ b/packages/propel/src/emoji-icon-picker/emoji-picker.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useMemo, useCallback } from "react"; import { Tabs } from "@base-ui-components/react"; import { Popover } from "../popover"; diff --git a/packages/propel/src/emoji-icon-picker/emoji/emoji.tsx b/packages/propel/src/emoji-icon-picker/emoji/emoji.tsx index c372003192..2500645adf 100644 --- a/packages/propel/src/emoji-icon-picker/emoji/emoji.tsx +++ b/packages/propel/src/emoji-icon-picker/emoji/emoji.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useEffect, useRef } from "react"; import { EmojiPicker } from "frimousse"; import { cn } from "../../utils"; diff --git a/packages/propel/src/emoji-icon-picker/emoji/index.ts b/packages/propel/src/emoji-icon-picker/emoji/index.ts index ebaf40c172..82988cb558 100644 --- a/packages/propel/src/emoji-icon-picker/emoji/index.ts +++ b/packages/propel/src/emoji-icon-picker/emoji/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./emoji"; diff --git a/packages/propel/src/emoji-icon-picker/helper.tsx b/packages/propel/src/emoji-icon-picker/helper.tsx index 072b07d476..090d9269d2 100644 --- a/packages/propel/src/emoji-icon-picker/helper.tsx +++ b/packages/propel/src/emoji-icon-picker/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TPlacement, TSide, TAlign } from "../utils/placement"; export const EmojiIconPickerTypes = { diff --git a/packages/propel/src/emoji-icon-picker/icon/icon-root.tsx b/packages/propel/src/emoji-icon-picker/icon/icon-root.tsx index 745d9a741b..d121f445f2 100644 --- a/packages/propel/src/emoji-icon-picker/icon/icon-root.tsx +++ b/packages/propel/src/emoji-icon-picker/icon/icon-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useState } from "react"; import { InfoIcon } from "lucide-react"; import { SearchIcon } from "../../icons"; diff --git a/packages/propel/src/emoji-icon-picker/icon/index.ts b/packages/propel/src/emoji-icon-picker/icon/index.ts index a5a2e51972..03ca334344 100644 --- a/packages/propel/src/emoji-icon-picker/icon/index.ts +++ b/packages/propel/src/emoji-icon-picker/icon/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./icon-root"; diff --git a/packages/propel/src/emoji-icon-picker/icon/lucide-root.tsx b/packages/propel/src/emoji-icon-picker/icon/lucide-root.tsx index 4f5314afc1..f49f631340 100644 --- a/packages/propel/src/emoji-icon-picker/icon/lucide-root.tsx +++ b/packages/propel/src/emoji-icon-picker/icon/lucide-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { LUCIDE_ICONS_LIST } from "../lucide-icons"; diff --git a/packages/propel/src/emoji-icon-picker/icon/material-root.tsx b/packages/propel/src/emoji-icon-picker/icon/material-root.tsx index 3a6afcc2a3..83063d1720 100644 --- a/packages/propel/src/emoji-icon-picker/icon/material-root.tsx +++ b/packages/propel/src/emoji-icon-picker/icon/material-root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import useFontFaceObserver from "use-font-face-observer"; import { MATERIAL_ICONS_LIST } from "../material-icons"; diff --git a/packages/propel/src/emoji-icon-picker/index.ts b/packages/propel/src/emoji-icon-picker/index.ts index a662c48d7a..3b1a9ab617 100644 --- a/packages/propel/src/emoji-icon-picker/index.ts +++ b/packages/propel/src/emoji-icon-picker/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./emoji-picker"; export * from "./helper"; export * from "./logo"; diff --git a/packages/propel/src/emoji-icon-picker/logo.tsx b/packages/propel/src/emoji-icon-picker/logo.tsx index 117fbec724..5b59dfa46d 100644 --- a/packages/propel/src/emoji-icon-picker/logo.tsx +++ b/packages/propel/src/emoji-icon-picker/logo.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Due to some weird issue with the import order, the import of useFontFaceObserver // should be after the imported here rather than some below helper functions as it is in the original file diff --git a/packages/propel/src/emoji-icon-picker/lucide-icons.tsx b/packages/propel/src/emoji-icon-picker/lucide-icons.tsx index 2aeffc77ca..903fc22539 100644 --- a/packages/propel/src/emoji-icon-picker/lucide-icons.tsx +++ b/packages/propel/src/emoji-icon-picker/lucide-icons.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Activity, Airplay, diff --git a/packages/propel/src/emoji-icon-picker/material-icons.tsx b/packages/propel/src/emoji-icon-picker/material-icons.tsx index d77c7444ea..70fd6ada82 100644 --- a/packages/propel/src/emoji-icon-picker/material-icons.tsx +++ b/packages/propel/src/emoji-icon-picker/material-icons.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const MATERIAL_ICONS_LIST = [ { name: "search", diff --git a/packages/propel/src/emoji-reaction/emoji-reaction-picker.stories.tsx b/packages/propel/src/emoji-reaction/emoji-reaction-picker.stories.tsx index bca1e83d25..c3516fbd71 100644 --- a/packages/propel/src/emoji-reaction/emoji-reaction-picker.stories.tsx +++ b/packages/propel/src/emoji-reaction/emoji-reaction-picker.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { SmilePlus } from "lucide-react"; diff --git a/packages/propel/src/emoji-reaction/emoji-reaction-picker.tsx b/packages/propel/src/emoji-reaction/emoji-reaction-picker.tsx index 227e32bf2a..47894ff3ac 100644 --- a/packages/propel/src/emoji-reaction/emoji-reaction-picker.tsx +++ b/packages/propel/src/emoji-reaction/emoji-reaction-picker.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useMemo, useCallback } from "react"; import { EmojiRoot } from "../emoji-icon-picker/emoji/emoji"; import { emojiToString } from "../emoji-icon-picker/helper"; diff --git a/packages/propel/src/emoji-reaction/emoji-reaction.stories.tsx b/packages/propel/src/emoji-reaction/emoji-reaction.stories.tsx index 9975ee880c..6261d34776 100644 --- a/packages/propel/src/emoji-reaction/emoji-reaction.stories.tsx +++ b/packages/propel/src/emoji-reaction/emoji-reaction.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import type { EmojiReactionType } from "./emoji-reaction"; diff --git a/packages/propel/src/emoji-reaction/emoji-reaction.tsx b/packages/propel/src/emoji-reaction/emoji-reaction.tsx index 802d6150b4..cae077eba8 100644 --- a/packages/propel/src/emoji-reaction/emoji-reaction.tsx +++ b/packages/propel/src/emoji-reaction/emoji-reaction.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { AnimatedCounter } from "../animated-counter"; import { stringToEmoji } from "../emoji-icon-picker"; diff --git a/packages/propel/src/emoji-reaction/index.ts b/packages/propel/src/emoji-reaction/index.ts index 151af7bb27..574cdf83b0 100644 --- a/packages/propel/src/emoji-reaction/index.ts +++ b/packages/propel/src/emoji-reaction/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { EmojiReaction, EmojiReactionGroup, EmojiReactionButton } from "./emoji-reaction"; export type { EmojiReactionProps, diff --git a/packages/propel/src/empty-state/assets-showcase.stories.tsx b/packages/propel/src/empty-state/assets-showcase.stories.tsx index 4da8e55158..ca4d7c1623 100644 --- a/packages/propel/src/empty-state/assets-showcase.stories.tsx +++ b/packages/propel/src/empty-state/assets-showcase.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { HorizontalStackAssetsMap } from "./assets/horizontal-stack/constant"; import { IllustrationMap } from "./assets/illustration/constant"; diff --git a/packages/propel/src/empty-state/assets/asset-registry.tsx b/packages/propel/src/empty-state/assets/asset-registry.tsx index e1eb823c6f..f9af6d7d44 100644 --- a/packages/propel/src/empty-state/assets/asset-registry.tsx +++ b/packages/propel/src/empty-state/assets/asset-registry.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { CompactAssetType, diff --git a/packages/propel/src/empty-state/assets/asset-types.ts b/packages/propel/src/empty-state/assets/asset-types.ts index 23fb810ad7..d86f579e3a 100644 --- a/packages/propel/src/empty-state/assets/asset-types.ts +++ b/packages/propel/src/empty-state/assets/asset-types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Horizontal Stack Asset Types export type HorizontalStackAssetType = | "customer" diff --git a/packages/propel/src/empty-state/assets/helper.tsx b/packages/propel/src/empty-state/assets/helper.tsx index 440db75e72..408500621e 100644 --- a/packages/propel/src/empty-state/assets/helper.tsx +++ b/packages/propel/src/empty-state/assets/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const ILLUSTRATION_COLOR_TOKEN_MAP = { fill: { primary: "var(--illustration-fill-primary)", // #FFFFFF diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/constant.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/constant.tsx index 2328b58e58..31fc070211 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/constant.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/constant.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CustomerHorizontalStackIllustration, EpicHorizontalStackIllustration, diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/customer.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/customer.tsx index a98fc76747..94e0015a1d 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/customer.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/customer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/epic.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/epic.tsx index b48bea0a02..d4d682ee0b 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/epic.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/epic.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/estimate.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/estimate.tsx index 9b4539f8de..4d5ff1d82e 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/estimate.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/estimate.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/export.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/export.tsx index 27bdf15949..0ff4f3f52a 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/export.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/export.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/index.ts b/packages/propel/src/empty-state/assets/horizontal-stack/index.ts index 35bda744d5..ce49bb59fe 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/index.ts +++ b/packages/propel/src/empty-state/assets/horizontal-stack/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./customer"; export * from "./epic"; export * from "./estimate"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/intake.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/intake.tsx index 96ca32e495..f3bf4f5515 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/intake.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/intake.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/label.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/label.tsx index 3c65eef7af..d625e48fdd 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/label.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/label.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/link.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/link.tsx index 6b30f6c1eb..e9770e653d 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/link.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/members.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/members.tsx index 14accea4b7..7eb72f94dd 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/members.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/members.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/note.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/note.tsx index 61712d5450..03dbad572b 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/note.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/note.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/priority.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/priority.tsx index 3d7e887556..209b14e793 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/priority.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/priority.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/project.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/project.tsx index 1c21fe77e8..6b6c4cf2b0 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/project.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/settings.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/settings.tsx index 8130370db2..58bea8ecee 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/settings.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/settings.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/state.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/state.tsx index d184a7704c..a4cdc80c68 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/state.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/template.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/template.tsx index b068f31908..13caf10420 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/template.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/template.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/token.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/token.tsx index c99f21aa24..4b02f7af5d 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/token.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/token.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/unknown.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/unknown.tsx index fd2f39ba9b..58816495ef 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/unknown.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/unknown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/update.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/update.tsx index bcdc70bcfb..4dc144040a 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/update.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/update.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/webhook.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/webhook.tsx index 010198d9af..52ae902403 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/webhook.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/webhook.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/work-item.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/work-item.tsx index 9fb9ae65d2..8548bf025d 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/work-item.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/work-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/horizontal-stack/worklog.tsx b/packages/propel/src/empty-state/assets/horizontal-stack/worklog.tsx index 88289942f3..23dc8a6c1d 100644 --- a/packages/propel/src/empty-state/assets/horizontal-stack/worklog.tsx +++ b/packages/propel/src/empty-state/assets/horizontal-stack/worklog.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/illustration/constant.tsx b/packages/propel/src/empty-state/assets/illustration/constant.tsx index 31da2e49eb..903a281f27 100644 --- a/packages/propel/src/empty-state/assets/illustration/constant.tsx +++ b/packages/propel/src/empty-state/assets/illustration/constant.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { InboxIllustration, SearchIllustration } from "./"; export const IllustrationMap = [ diff --git a/packages/propel/src/empty-state/assets/illustration/inbox.tsx b/packages/propel/src/empty-state/assets/illustration/inbox.tsx index dffd6aef1c..11feb44530 100644 --- a/packages/propel/src/empty-state/assets/illustration/inbox.tsx +++ b/packages/propel/src/empty-state/assets/illustration/inbox.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/illustration/index.ts b/packages/propel/src/empty-state/assets/illustration/index.ts index 0a9791fe4d..6d1e11cee5 100644 --- a/packages/propel/src/empty-state/assets/illustration/index.ts +++ b/packages/propel/src/empty-state/assets/illustration/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./inbox"; export * from "./search"; diff --git a/packages/propel/src/empty-state/assets/illustration/search.tsx b/packages/propel/src/empty-state/assets/illustration/search.tsx index 23488ff6c9..c51c82b8ae 100644 --- a/packages/propel/src/empty-state/assets/illustration/search.tsx +++ b/packages/propel/src/empty-state/assets/illustration/search.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/index.ts b/packages/propel/src/empty-state/assets/index.ts index c5431d8049..fbf8b46e3e 100644 --- a/packages/propel/src/empty-state/assets/index.ts +++ b/packages/propel/src/empty-state/assets/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./asset-registry"; export * from "./asset-types"; export * from "./helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/404-error.tsx b/packages/propel/src/empty-state/assets/vertical-stack/404-error.tsx index bcc94de603..4cfe6c2e45 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/404-error.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/404-error.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/archived-cycle.tsx b/packages/propel/src/empty-state/assets/vertical-stack/archived-cycle.tsx index 0f9e8fdbfa..fd81f1bd12 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/archived-cycle.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/archived-cycle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/archived-module.tsx b/packages/propel/src/empty-state/assets/vertical-stack/archived-module.tsx index 9fb05ce8ef..5086aa1e5a 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/archived-module.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/archived-module.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/archived-work-item.tsx b/packages/propel/src/empty-state/assets/vertical-stack/archived-work-item.tsx index cac968c6b0..78967aa088 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/archived-work-item.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/archived-work-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/changelog.tsx b/packages/propel/src/empty-state/assets/vertical-stack/changelog.tsx index 4b8619804a..408bc10c63 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/changelog.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/changelog.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/constant.tsx b/packages/propel/src/empty-state/assets/vertical-stack/constant.tsx index 2f16f116d1..c8d6dba621 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/constant.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/constant.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ArchivedCycleVerticalStackIllustration, ArchivedModuleVerticalStackIllustration, diff --git a/packages/propel/src/empty-state/assets/vertical-stack/customer.tsx b/packages/propel/src/empty-state/assets/vertical-stack/customer.tsx index f2cf174aa6..0495d970ca 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/customer.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/customer.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/cycle.tsx b/packages/propel/src/empty-state/assets/vertical-stack/cycle.tsx index cc12b8e6fc..15c3ca0ae6 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/cycle.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/cycle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/dashboard.tsx b/packages/propel/src/empty-state/assets/vertical-stack/dashboard.tsx index 7e0a350eab..ebc1428549 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/dashboard.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/dashboard.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/draft.tsx b/packages/propel/src/empty-state/assets/vertical-stack/draft.tsx index 66128a16be..dc3ddbfe01 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/draft.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/draft.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/epic.tsx b/packages/propel/src/empty-state/assets/vertical-stack/epic.tsx index 4455ba75cd..ec22fafa97 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/epic.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/epic.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/index.ts b/packages/propel/src/empty-state/assets/vertical-stack/index.ts index 2a9372167f..71ba355530 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/index.ts +++ b/packages/propel/src/empty-state/assets/vertical-stack/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./404-error"; export * from "./archived-cycle"; export * from "./archived-module"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/initiative.tsx b/packages/propel/src/empty-state/assets/vertical-stack/initiative.tsx index a3b0d1fb6e..4eac0c4ca8 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/initiative.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/initiative.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/invalid-link.tsx b/packages/propel/src/empty-state/assets/vertical-stack/invalid-link.tsx index a486b669dd..c0004443d9 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/invalid-link.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/invalid-link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/module.tsx b/packages/propel/src/empty-state/assets/vertical-stack/module.tsx index e0da0a14f4..f006e45017 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/module.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/module.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/no-access.tsx b/packages/propel/src/empty-state/assets/vertical-stack/no-access.tsx index 38a4fae9ba..a74ad6eff7 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/no-access.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/no-access.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/page.tsx b/packages/propel/src/empty-state/assets/vertical-stack/page.tsx index 31473edf6a..59400321aa 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/page.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/page.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/project.tsx b/packages/propel/src/empty-state/assets/vertical-stack/project.tsx index a409a06e4a..4385ccc737 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/project.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/project.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/server-error.tsx b/packages/propel/src/empty-state/assets/vertical-stack/server-error.tsx index f66d9eca38..9611cea6e4 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/server-error.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/server-error.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/teamspace.tsx b/packages/propel/src/empty-state/assets/vertical-stack/teamspace.tsx index a5ce076b4d..49e222873a 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/teamspace.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/teamspace.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/view.tsx b/packages/propel/src/empty-state/assets/vertical-stack/view.tsx index 34128e0ab4..77ba74470d 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/view.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/view.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/assets/vertical-stack/work-item.tsx b/packages/propel/src/empty-state/assets/vertical-stack/work-item.tsx index 392d691cd5..dcd6f30f5e 100644 --- a/packages/propel/src/empty-state/assets/vertical-stack/work-item.tsx +++ b/packages/propel/src/empty-state/assets/vertical-stack/work-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { ILLUSTRATION_COLOR_TOKEN_MAP } from "../helper"; import type { TIllustrationAssetProps } from "../helper"; diff --git a/packages/propel/src/empty-state/compact-empty-state.stories.tsx b/packages/propel/src/empty-state/compact-empty-state.stories.tsx index 21da64a5cb..4020b424fd 100644 --- a/packages/propel/src/empty-state/compact-empty-state.stories.tsx +++ b/packages/propel/src/empty-state/compact-empty-state.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { EmptyStateCompact } from "./compact-empty-state"; import type { BaseEmptyStateCommonProps } from "./types"; diff --git a/packages/propel/src/empty-state/compact-empty-state.tsx b/packages/propel/src/empty-state/compact-empty-state.tsx index 0bcbb0cd72..beefa006a8 100644 --- a/packages/propel/src/empty-state/compact-empty-state.tsx +++ b/packages/propel/src/empty-state/compact-empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Button } from "../button/button"; import { cn } from "../utils/classname"; diff --git a/packages/propel/src/empty-state/detailed-empty-state.stories.tsx b/packages/propel/src/empty-state/detailed-empty-state.stories.tsx index fc793759a8..1e3e923688 100644 --- a/packages/propel/src/empty-state/detailed-empty-state.stories.tsx +++ b/packages/propel/src/empty-state/detailed-empty-state.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { EmptyStateDetailed } from "./detailed-empty-state"; import type { BaseEmptyStateCommonProps } from "./types"; diff --git a/packages/propel/src/empty-state/detailed-empty-state.tsx b/packages/propel/src/empty-state/detailed-empty-state.tsx index e8004aaf10..0a11ddde3e 100644 --- a/packages/propel/src/empty-state/detailed-empty-state.tsx +++ b/packages/propel/src/empty-state/detailed-empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import { Button } from "../button/button"; import { cn } from "../utils/classname"; diff --git a/packages/propel/src/empty-state/empty-state.tsx b/packages/propel/src/empty-state/empty-state.tsx index fd2f24467a..982fff0b5a 100644 --- a/packages/propel/src/empty-state/empty-state.tsx +++ b/packages/propel/src/empty-state/empty-state.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import type { CompactAssetType, DetailedAssetType } from "./assets/asset-types"; import { EmptyStateCompact } from "./compact-empty-state"; diff --git a/packages/propel/src/empty-state/index.ts b/packages/propel/src/empty-state/index.ts index b38181d5e1..f69424c50b 100644 --- a/packages/propel/src/empty-state/index.ts +++ b/packages/propel/src/empty-state/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./assets"; export * from "./compact-empty-state"; export * from "./detailed-empty-state"; diff --git a/packages/propel/src/empty-state/types.ts b/packages/propel/src/empty-state/types.ts index ae161bdb0f..c1cd894f54 100644 --- a/packages/propel/src/empty-state/types.ts +++ b/packages/propel/src/empty-state/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TButtonVariant } from "../button/helper"; import type { TAlign } from "../utils/placement"; import type { CompactAssetType, DetailedAssetType } from "./assets/asset-types"; diff --git a/packages/propel/src/icon-button/helper.tsx b/packages/propel/src/icon-button/helper.tsx index d7a587640a..4e78bc9c44 100644 --- a/packages/propel/src/icon-button/helper.tsx +++ b/packages/propel/src/icon-button/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { VariantProps } from "class-variance-authority"; import { cva } from "class-variance-authority"; import type React from "react"; diff --git a/packages/propel/src/icon-button/icon-button.stories.tsx b/packages/propel/src/icon-button/icon-button.stories.tsx index b357c232eb..c23aad60b5 100644 --- a/packages/propel/src/icon-button/icon-button.stories.tsx +++ b/packages/propel/src/icon-button/icon-button.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { IconButton } from "./icon-button"; diff --git a/packages/propel/src/icon-button/icon-button.tsx b/packages/propel/src/icon-button/icon-button.tsx index 2d032de1fd..626d9826cd 100644 --- a/packages/propel/src/icon-button/icon-button.tsx +++ b/packages/propel/src/icon-button/icon-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; import type { IconButtonProps } from "./helper"; diff --git a/packages/propel/src/icon-button/index.ts b/packages/propel/src/icon-button/index.ts index d568c3588d..3788f834ec 100644 --- a/packages/propel/src/icon-button/index.ts +++ b/packages/propel/src/icon-button/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { IconButton } from "./icon-button"; export { getIconButtonStyling } from "./helper"; export type { IconButtonProps } from "./helper"; diff --git a/packages/propel/src/icons/actions/add-circle-icon.tsx b/packages/propel/src/icons/actions/add-circle-icon.tsx index 319e89a9a1..2fcf3df1a2 100644 --- a/packages/propel/src/icons/actions/add-circle-icon.tsx +++ b/packages/propel/src/icons/actions/add-circle-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/add-icon.tsx b/packages/propel/src/icons/actions/add-icon.tsx index d6a85e0e71..2ec08e4f0b 100644 --- a/packages/propel/src/icons/actions/add-icon.tsx +++ b/packages/propel/src/icons/actions/add-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/add-reaction-icon.tsx b/packages/propel/src/icons/actions/add-reaction-icon.tsx index b1c3ae3d01..6942f8327a 100644 --- a/packages/propel/src/icons/actions/add-reaction-icon.tsx +++ b/packages/propel/src/icons/actions/add-reaction-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/add-workitem-icon.tsx b/packages/propel/src/icons/actions/add-workitem-icon.tsx index 554dfe6440..83668de375 100644 --- a/packages/propel/src/icons/actions/add-workitem-icon.tsx +++ b/packages/propel/src/icons/actions/add-workitem-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/check-icon.tsx b/packages/propel/src/icons/actions/check-icon.tsx index 1c4d23f9fb..cc32efaf8f 100644 --- a/packages/propel/src/icons/actions/check-icon.tsx +++ b/packages/propel/src/icons/actions/check-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/close-icon.tsx b/packages/propel/src/icons/actions/close-icon.tsx index e0fa242b9a..aaeaff96a4 100644 --- a/packages/propel/src/icons/actions/close-icon.tsx +++ b/packages/propel/src/icons/actions/close-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/copy-icon.tsx b/packages/propel/src/icons/actions/copy-icon.tsx index 3e82a9fb65..7d3aaf193c 100644 --- a/packages/propel/src/icons/actions/copy-icon.tsx +++ b/packages/propel/src/icons/actions/copy-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/copy-link.tsx b/packages/propel/src/icons/actions/copy-link.tsx index 831e8b4030..acbb3cc1d6 100644 --- a/packages/propel/src/icons/actions/copy-link.tsx +++ b/packages/propel/src/icons/actions/copy-link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { IconWrapper } from "../icon-wrapper"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/actions/edit-icon.tsx b/packages/propel/src/icons/actions/edit-icon.tsx index 0f66353e10..a260d498b2 100644 --- a/packages/propel/src/icons/actions/edit-icon.tsx +++ b/packages/propel/src/icons/actions/edit-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/filter-applied-icon.tsx b/packages/propel/src/icons/actions/filter-applied-icon.tsx index 9daf2b11d2..5dae6e5e70 100644 --- a/packages/propel/src/icons/actions/filter-applied-icon.tsx +++ b/packages/propel/src/icons/actions/filter-applied-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/filter-icon.tsx b/packages/propel/src/icons/actions/filter-icon.tsx index b0d038e07b..8243d2eff6 100644 --- a/packages/propel/src/icons/actions/filter-icon.tsx +++ b/packages/propel/src/icons/actions/filter-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/globe-icon.tsx b/packages/propel/src/icons/actions/globe-icon.tsx index 852df80ab0..1ed2cf379e 100644 --- a/packages/propel/src/icons/actions/globe-icon.tsx +++ b/packages/propel/src/icons/actions/globe-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/index.ts b/packages/propel/src/icons/actions/index.ts index de79172bcc..b097611319 100644 --- a/packages/propel/src/icons/actions/index.ts +++ b/packages/propel/src/icons/actions/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./add-circle-icon"; export * from "./add-icon"; export * from "./add-workitem-icon"; diff --git a/packages/propel/src/icons/actions/link-icon.tsx b/packages/propel/src/icons/actions/link-icon.tsx index 5406d9c779..907e76f315 100644 --- a/packages/propel/src/icons/actions/link-icon.tsx +++ b/packages/propel/src/icons/actions/link-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/lock-icon.tsx b/packages/propel/src/icons/actions/lock-icon.tsx index 17cafc88aa..0248dd52dc 100644 --- a/packages/propel/src/icons/actions/lock-icon.tsx +++ b/packages/propel/src/icons/actions/lock-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/new-tab-icon.tsx b/packages/propel/src/icons/actions/new-tab-icon.tsx index acbf8964f6..281f517e94 100644 --- a/packages/propel/src/icons/actions/new-tab-icon.tsx +++ b/packages/propel/src/icons/actions/new-tab-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/plus-icon.tsx b/packages/propel/src/icons/actions/plus-icon.tsx index 378bbd007a..9e09c0a0f8 100644 --- a/packages/propel/src/icons/actions/plus-icon.tsx +++ b/packages/propel/src/icons/actions/plus-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/preferences-icon.tsx b/packages/propel/src/icons/actions/preferences-icon.tsx index 60a3ec3ebd..de08dc8b6d 100644 --- a/packages/propel/src/icons/actions/preferences-icon.tsx +++ b/packages/propel/src/icons/actions/preferences-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/search-icon.tsx b/packages/propel/src/icons/actions/search-icon.tsx index 19a2ca34ad..6cd03244ea 100644 --- a/packages/propel/src/icons/actions/search-icon.tsx +++ b/packages/propel/src/icons/actions/search-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/trash-icon.tsx b/packages/propel/src/icons/actions/trash-icon.tsx index 174554eca6..d6262bd823 100644 --- a/packages/propel/src/icons/actions/trash-icon.tsx +++ b/packages/propel/src/icons/actions/trash-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/actions/upgrade-icon.tsx b/packages/propel/src/icons/actions/upgrade-icon.tsx index 6c9ba9a29d..9c8b9d47a2 100644 --- a/packages/propel/src/icons/actions/upgrade-icon.tsx +++ b/packages/propel/src/icons/actions/upgrade-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { IconWrapper } from "../icon-wrapper"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/activity-icon.tsx b/packages/propel/src/icons/activity-icon.tsx index aa32a5986b..304500589e 100644 --- a/packages/propel/src/icons/activity-icon.tsx +++ b/packages/propel/src/icons/activity-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ISvgIcons } from "./type"; export function ActivityIcon({ className = "text-current", ...rest }: ISvgIcons) { diff --git a/packages/propel/src/icons/ai-icon.tsx b/packages/propel/src/icons/ai-icon.tsx index 962e56051b..0c12a6e32b 100644 --- a/packages/propel/src/icons/ai-icon.tsx +++ b/packages/propel/src/icons/ai-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/arrows/chevron-down.tsx b/packages/propel/src/icons/arrows/chevron-down.tsx index 848c3b8282..8869c94591 100644 --- a/packages/propel/src/icons/arrows/chevron-down.tsx +++ b/packages/propel/src/icons/arrows/chevron-down.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/arrows/chevron-left.tsx b/packages/propel/src/icons/arrows/chevron-left.tsx index 4b8001267a..1b34ed3b43 100644 --- a/packages/propel/src/icons/arrows/chevron-left.tsx +++ b/packages/propel/src/icons/arrows/chevron-left.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/arrows/chevron-right.tsx b/packages/propel/src/icons/arrows/chevron-right.tsx index 029b62212c..22c8b2a132 100644 --- a/packages/propel/src/icons/arrows/chevron-right.tsx +++ b/packages/propel/src/icons/arrows/chevron-right.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/arrows/chevron-up.tsx b/packages/propel/src/icons/arrows/chevron-up.tsx index 3d28ac516c..c176d1d9e8 100644 --- a/packages/propel/src/icons/arrows/chevron-up.tsx +++ b/packages/propel/src/icons/arrows/chevron-up.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/arrows/index.ts b/packages/propel/src/icons/arrows/index.ts index 65513c4e20..736f5146dc 100644 --- a/packages/propel/src/icons/arrows/index.ts +++ b/packages/propel/src/icons/arrows/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./chevron-down"; export * from "./chevron-left"; export * from "./chevron-right"; diff --git a/packages/propel/src/icons/arrows/reply-icon.tsx b/packages/propel/src/icons/arrows/reply-icon.tsx index 26daed5dd5..08a828e6ee 100644 --- a/packages/propel/src/icons/arrows/reply-icon.tsx +++ b/packages/propel/src/icons/arrows/reply-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { IconWrapper } from "../icon-wrapper"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/at-risk-icon.tsx b/packages/propel/src/icons/at-risk-icon.tsx index 994ed711e9..3ffe035420 100644 --- a/packages/propel/src/icons/at-risk-icon.tsx +++ b/packages/propel/src/icons/at-risk-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/attachments/audio-file-icon.tsx b/packages/propel/src/icons/attachments/audio-file-icon.tsx index 4ede9d5379..1640c29224 100644 --- a/packages/propel/src/icons/attachments/audio-file-icon.tsx +++ b/packages/propel/src/icons/attachments/audio-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/attachments/code-file-icon.tsx b/packages/propel/src/icons/attachments/code-file-icon.tsx index 4c8e6ac81d..e4d3e2c29e 100644 --- a/packages/propel/src/icons/attachments/code-file-icon.tsx +++ b/packages/propel/src/icons/attachments/code-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/attachments/document-file-icon.tsx b/packages/propel/src/icons/attachments/document-file-icon.tsx index d6602bce87..a026450538 100644 --- a/packages/propel/src/icons/attachments/document-file-icon.tsx +++ b/packages/propel/src/icons/attachments/document-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/attachments/image-file-icon.tsx b/packages/propel/src/icons/attachments/image-file-icon.tsx index 3dd36580a5..cf458b7e9b 100644 --- a/packages/propel/src/icons/attachments/image-file-icon.tsx +++ b/packages/propel/src/icons/attachments/image-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/attachments/index.ts b/packages/propel/src/icons/attachments/index.ts index 408dc37a31..dd8e0d8f1c 100644 --- a/packages/propel/src/icons/attachments/index.ts +++ b/packages/propel/src/icons/attachments/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./audio-file-icon"; export * from "./code-file-icon"; export * from "./document-file-icon"; diff --git a/packages/propel/src/icons/attachments/video-file-icon.tsx b/packages/propel/src/icons/attachments/video-file-icon.tsx index 4d6203e06a..a0613b78fa 100644 --- a/packages/propel/src/icons/attachments/video-file-icon.tsx +++ b/packages/propel/src/icons/attachments/video-file-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/bar-icon.tsx b/packages/propel/src/icons/bar-icon.tsx index 9225f3a4a7..16ae988e29 100644 --- a/packages/propel/src/icons/bar-icon.tsx +++ b/packages/propel/src/icons/bar-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/blocked-icon.tsx b/packages/propel/src/icons/blocked-icon.tsx index a11bb2bf28..5cb2dfdff8 100644 --- a/packages/propel/src/icons/blocked-icon.tsx +++ b/packages/propel/src/icons/blocked-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/blocker-icon.tsx b/packages/propel/src/icons/blocker-icon.tsx index 2548156d62..16c53e0162 100644 --- a/packages/propel/src/icons/blocker-icon.tsx +++ b/packages/propel/src/icons/blocker-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/brand/accenture-logo.tsx b/packages/propel/src/icons/brand/accenture-logo.tsx index 9b526d4b71..50a9daf902 100644 --- a/packages/propel/src/icons/brand/accenture-logo.tsx +++ b/packages/propel/src/icons/brand/accenture-logo.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/brand/dolby-logo.tsx b/packages/propel/src/icons/brand/dolby-logo.tsx index 1638e96c71..d037f5b8a1 100644 --- a/packages/propel/src/icons/brand/dolby-logo.tsx +++ b/packages/propel/src/icons/brand/dolby-logo.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/brand/index.ts b/packages/propel/src/icons/brand/index.ts index 10f7c42e0d..6e6ba6e07d 100644 --- a/packages/propel/src/icons/brand/index.ts +++ b/packages/propel/src/icons/brand/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./accenture-logo"; export * from "./dolby-logo"; export * from "./sony-logo"; diff --git a/packages/propel/src/icons/brand/plane-lockup.tsx b/packages/propel/src/icons/brand/plane-lockup.tsx index 6e697f1771..0caf46cffc 100644 --- a/packages/propel/src/icons/brand/plane-lockup.tsx +++ b/packages/propel/src/icons/brand/plane-lockup.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/brand/plane-logo.tsx b/packages/propel/src/icons/brand/plane-logo.tsx index 92fc4d7545..3b6f8f30c7 100644 --- a/packages/propel/src/icons/brand/plane-logo.tsx +++ b/packages/propel/src/icons/brand/plane-logo.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/brand/plane-wordmark.tsx b/packages/propel/src/icons/brand/plane-wordmark.tsx index 47efad29c5..e3554585e4 100644 --- a/packages/propel/src/icons/brand/plane-wordmark.tsx +++ b/packages/propel/src/icons/brand/plane-wordmark.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/brand/sony-logo.tsx b/packages/propel/src/icons/brand/sony-logo.tsx index 7f93005f36..1f9f2a0c15 100644 --- a/packages/propel/src/icons/brand/sony-logo.tsx +++ b/packages/propel/src/icons/brand/sony-logo.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/brand/zerodha-logo.tsx b/packages/propel/src/icons/brand/zerodha-logo.tsx index 9f407f8bf8..03259e48ba 100644 --- a/packages/propel/src/icons/brand/zerodha-logo.tsx +++ b/packages/propel/src/icons/brand/zerodha-logo.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/calendar-after-icon.tsx b/packages/propel/src/icons/calendar-after-icon.tsx index 3d1c133cee..37c7c68e42 100644 --- a/packages/propel/src/icons/calendar-after-icon.tsx +++ b/packages/propel/src/icons/calendar-after-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/calendar-before-icon.tsx b/packages/propel/src/icons/calendar-before-icon.tsx index 7833b2ea76..3f9a3200e2 100644 --- a/packages/propel/src/icons/calendar-before-icon.tsx +++ b/packages/propel/src/icons/calendar-before-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/center-panel-icon.tsx b/packages/propel/src/icons/center-panel-icon.tsx index c8d6c8a445..6278b5da11 100644 --- a/packages/propel/src/icons/center-panel-icon.tsx +++ b/packages/propel/src/icons/center-panel-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/comment-fill-icon.tsx b/packages/propel/src/icons/comment-fill-icon.tsx index 806d114dd2..76be517dc3 100644 --- a/packages/propel/src/icons/comment-fill-icon.tsx +++ b/packages/propel/src/icons/comment-fill-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/constants.tsx b/packages/propel/src/icons/constants.tsx index f26d607f9e..b668b9b6ef 100644 --- a/packages/propel/src/icons/constants.tsx +++ b/packages/propel/src/icons/constants.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Icon } from "./icon"; export const ActionsIconsMap = [ { icon: , title: "AddIcon" }, diff --git a/packages/propel/src/icons/create-icon.tsx b/packages/propel/src/icons/create-icon.tsx index 7c69d2b470..fa9da40026 100644 --- a/packages/propel/src/icons/create-icon.tsx +++ b/packages/propel/src/icons/create-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/cycle/circle-dot-full-icon.tsx b/packages/propel/src/icons/cycle/circle-dot-full-icon.tsx index 021d385aa3..f6ac49b596 100644 --- a/packages/propel/src/icons/cycle/circle-dot-full-icon.tsx +++ b/packages/propel/src/icons/cycle/circle-dot-full-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/cycle/contrast-icon.tsx b/packages/propel/src/icons/cycle/contrast-icon.tsx index b7e46a11c9..8392fe841f 100644 --- a/packages/propel/src/icons/cycle/contrast-icon.tsx +++ b/packages/propel/src/icons/cycle/contrast-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/cycle/cycle-group-icon.tsx b/packages/propel/src/icons/cycle/cycle-group-icon.tsx index 0d5dd3aa52..6545d1a0c8 100644 --- a/packages/propel/src/icons/cycle/cycle-group-icon.tsx +++ b/packages/propel/src/icons/cycle/cycle-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { CircleDotDashed, Circle } from "lucide-react"; diff --git a/packages/propel/src/icons/cycle/double-circle-icon.tsx b/packages/propel/src/icons/cycle/double-circle-icon.tsx index 5f7e7a4d39..d034a1a17a 100644 --- a/packages/propel/src/icons/cycle/double-circle-icon.tsx +++ b/packages/propel/src/icons/cycle/double-circle-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/cycle/helper.tsx b/packages/propel/src/icons/cycle/helper.tsx index c53069bc77..d2019ffe5e 100644 --- a/packages/propel/src/icons/cycle/helper.tsx +++ b/packages/propel/src/icons/cycle/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface ICycleGroupIcon { className?: string; color?: string; diff --git a/packages/propel/src/icons/cycle/index.ts b/packages/propel/src/icons/cycle/index.ts index 374f3b42e8..3dfff06ca0 100644 --- a/packages/propel/src/icons/cycle/index.ts +++ b/packages/propel/src/icons/cycle/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./circle-dot-full-icon"; export * from "./contrast-icon"; export * from "./cycle-group-icon"; diff --git a/packages/propel/src/icons/default-icon.tsx b/packages/propel/src/icons/default-icon.tsx index 12fd0be2ee..0c05c0f1ba 100644 --- a/packages/propel/src/icons/default-icon.tsx +++ b/packages/propel/src/icons/default-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "./icon-wrapper"; diff --git a/packages/propel/src/icons/dice-icon.tsx b/packages/propel/src/icons/dice-icon.tsx index 5624006fd3..9d93e1bcc3 100644 --- a/packages/propel/src/icons/dice-icon.tsx +++ b/packages/propel/src/icons/dice-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/discord-icon.tsx b/packages/propel/src/icons/discord-icon.tsx index 452233a9e7..fe62c7e315 100644 --- a/packages/propel/src/icons/discord-icon.tsx +++ b/packages/propel/src/icons/discord-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/display-properties.tsx b/packages/propel/src/icons/display-properties.tsx index bfe5b648c3..8c7caf1fa7 100644 --- a/packages/propel/src/icons/display-properties.tsx +++ b/packages/propel/src/icons/display-properties.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/done-icon.tsx b/packages/propel/src/icons/done-icon.tsx index a00f604655..fe1b2fa7e3 100644 --- a/packages/propel/src/icons/done-icon.tsx +++ b/packages/propel/src/icons/done-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/dropdown-icon.tsx b/packages/propel/src/icons/dropdown-icon.tsx index dc9079abf6..519cde3b2f 100644 --- a/packages/propel/src/icons/dropdown-icon.tsx +++ b/packages/propel/src/icons/dropdown-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/favorite-folder-icon.tsx b/packages/propel/src/icons/favorite-folder-icon.tsx index bf2733a98c..890c1e26f6 100644 --- a/packages/propel/src/icons/favorite-folder-icon.tsx +++ b/packages/propel/src/icons/favorite-folder-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/full-screen-panel-icon.tsx b/packages/propel/src/icons/full-screen-panel-icon.tsx index 2bcc76b4af..61cb71e4f1 100644 --- a/packages/propel/src/icons/full-screen-panel-icon.tsx +++ b/packages/propel/src/icons/full-screen-panel-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/github-icon.tsx b/packages/propel/src/icons/github-icon.tsx index 3307ccfc6e..175b207a06 100644 --- a/packages/propel/src/icons/github-icon.tsx +++ b/packages/propel/src/icons/github-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/gitlab-icon.tsx b/packages/propel/src/icons/gitlab-icon.tsx index 41fa4aecf1..9d8368421c 100644 --- a/packages/propel/src/icons/gitlab-icon.tsx +++ b/packages/propel/src/icons/gitlab-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/helpers.ts b/packages/propel/src/icons/helpers.ts index e40068df8c..f717c350a3 100644 --- a/packages/propel/src/icons/helpers.ts +++ b/packages/propel/src/icons/helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IconName } from "./registry"; import { ICON_REGISTRY } from "./registry"; diff --git a/packages/propel/src/icons/icon-wrapper.tsx b/packages/propel/src/icons/icon-wrapper.tsx index fbfedbafb4..e7129e58e4 100644 --- a/packages/propel/src/icons/icon-wrapper.tsx +++ b/packages/propel/src/icons/icon-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/icon.tsx b/packages/propel/src/icons/icon.tsx index 2b80d943dc..e2fe4af1e2 100644 --- a/packages/propel/src/icons/icon.tsx +++ b/packages/propel/src/icons/icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { IconName } from "./registry"; diff --git a/packages/propel/src/icons/icons.stories.tsx b/packages/propel/src/icons/icons.stories.tsx index 6c934c8d27..32e8156785 100644 --- a/packages/propel/src/icons/icons.stories.tsx +++ b/packages/propel/src/icons/icons.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { ActionsIconsMap, diff --git a/packages/propel/src/icons/in-progress-icon.tsx b/packages/propel/src/icons/in-progress-icon.tsx index 574b0a5531..fe903567ea 100644 --- a/packages/propel/src/icons/in-progress-icon.tsx +++ b/packages/propel/src/icons/in-progress-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/index.ts b/packages/propel/src/icons/index.ts index 2133af79d6..1b5ebfa1af 100644 --- a/packages/propel/src/icons/index.ts +++ b/packages/propel/src/icons/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type { ISvgIcons } from "./type"; export type { IconName } from "./registry"; export { ICON_REGISTRY } from "./registry"; diff --git a/packages/propel/src/icons/info-fill-icon.tsx b/packages/propel/src/icons/info-fill-icon.tsx index b5428910df..3cc649a78e 100644 --- a/packages/propel/src/icons/info-fill-icon.tsx +++ b/packages/propel/src/icons/info-fill-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/intake.tsx b/packages/propel/src/icons/intake.tsx index 9d45f01e23..4471dd0608 100644 --- a/packages/propel/src/icons/intake.tsx +++ b/packages/propel/src/icons/intake.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/layer-stack.tsx b/packages/propel/src/icons/layer-stack.tsx index 109da58ad7..3534c778cb 100644 --- a/packages/propel/src/icons/layer-stack.tsx +++ b/packages/propel/src/icons/layer-stack.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/layers-icon.tsx b/packages/propel/src/icons/layers-icon.tsx index c571df4d41..ba54ea73d6 100644 --- a/packages/propel/src/icons/layers-icon.tsx +++ b/packages/propel/src/icons/layers-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/layouts/board-icon.tsx b/packages/propel/src/icons/layouts/board-icon.tsx index 42987f5417..9bdebaf8f3 100644 --- a/packages/propel/src/icons/layouts/board-icon.tsx +++ b/packages/propel/src/icons/layouts/board-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/layouts/calendar-icon.tsx b/packages/propel/src/icons/layouts/calendar-icon.tsx index 5d36401a56..f88ae3a92c 100644 --- a/packages/propel/src/icons/layouts/calendar-icon.tsx +++ b/packages/propel/src/icons/layouts/calendar-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/layouts/card-icon.tsx b/packages/propel/src/icons/layouts/card-icon.tsx index 480ba7dd84..fa7c54687a 100644 --- a/packages/propel/src/icons/layouts/card-icon.tsx +++ b/packages/propel/src/icons/layouts/card-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/layouts/grid-icon.tsx b/packages/propel/src/icons/layouts/grid-icon.tsx index 7cbc9900b3..af7af36213 100644 --- a/packages/propel/src/icons/layouts/grid-icon.tsx +++ b/packages/propel/src/icons/layouts/grid-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/layouts/index.ts b/packages/propel/src/icons/layouts/index.ts index 649d93d3b0..4bf2f7473f 100644 --- a/packages/propel/src/icons/layouts/index.ts +++ b/packages/propel/src/icons/layouts/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./calendar-icon"; export * from "./card-icon"; export * from "./timeline-icon"; diff --git a/packages/propel/src/icons/layouts/list-icon.tsx b/packages/propel/src/icons/layouts/list-icon.tsx index 14fe11150c..30c44676e9 100644 --- a/packages/propel/src/icons/layouts/list-icon.tsx +++ b/packages/propel/src/icons/layouts/list-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/layouts/sheet-icon.tsx b/packages/propel/src/icons/layouts/sheet-icon.tsx index 9f2e4eb96b..de1f194bdd 100644 --- a/packages/propel/src/icons/layouts/sheet-icon.tsx +++ b/packages/propel/src/icons/layouts/sheet-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/layouts/timeline-icon.tsx b/packages/propel/src/icons/layouts/timeline-icon.tsx index 91a01cb6b7..5a3e7443fa 100644 --- a/packages/propel/src/icons/layouts/timeline-icon.tsx +++ b/packages/propel/src/icons/layouts/timeline-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/lead-icon.tsx b/packages/propel/src/icons/lead-icon.tsx index bd7c107e58..b7251d731d 100644 --- a/packages/propel/src/icons/lead-icon.tsx +++ b/packages/propel/src/icons/lead-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/misc/index.ts b/packages/propel/src/icons/misc/index.ts index 45d4105f85..fc387e1d17 100644 --- a/packages/propel/src/icons/misc/index.ts +++ b/packages/propel/src/icons/misc/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./info-icon"; diff --git a/packages/propel/src/icons/misc/info-icon.tsx b/packages/propel/src/icons/misc/info-icon.tsx index 0f0fbefb8d..2e007d3fbd 100644 --- a/packages/propel/src/icons/misc/info-icon.tsx +++ b/packages/propel/src/icons/misc/info-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/module/backlog.tsx b/packages/propel/src/icons/module/backlog.tsx index 1a4ff0a6c5..2a99d682d0 100644 --- a/packages/propel/src/icons/module/backlog.tsx +++ b/packages/propel/src/icons/module/backlog.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/module/cancelled.tsx b/packages/propel/src/icons/module/cancelled.tsx index c8498cf60d..75575f1367 100644 --- a/packages/propel/src/icons/module/cancelled.tsx +++ b/packages/propel/src/icons/module/cancelled.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/module/completed.tsx b/packages/propel/src/icons/module/completed.tsx index 77d432d58a..31e2459bd0 100644 --- a/packages/propel/src/icons/module/completed.tsx +++ b/packages/propel/src/icons/module/completed.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/module/in-progress.tsx b/packages/propel/src/icons/module/in-progress.tsx index 8fa4681de1..01ffce825f 100644 --- a/packages/propel/src/icons/module/in-progress.tsx +++ b/packages/propel/src/icons/module/in-progress.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/module/index.ts b/packages/propel/src/icons/module/index.ts index e82014b2fc..f4d38c4377 100644 --- a/packages/propel/src/icons/module/index.ts +++ b/packages/propel/src/icons/module/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./backlog"; export * from "./cancelled"; export * from "./completed"; diff --git a/packages/propel/src/icons/module/module-status-icon.tsx b/packages/propel/src/icons/module/module-status-icon.tsx index 875dd5ed41..e19242e291 100644 --- a/packages/propel/src/icons/module/module-status-icon.tsx +++ b/packages/propel/src/icons/module/module-status-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { ModuleBacklogIcon } from "./backlog"; diff --git a/packages/propel/src/icons/module/paused.tsx b/packages/propel/src/icons/module/paused.tsx index d3afc0b525..df1c99b214 100644 --- a/packages/propel/src/icons/module/paused.tsx +++ b/packages/propel/src/icons/module/paused.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/module/planned.tsx b/packages/propel/src/icons/module/planned.tsx index 6dba8888a0..3d0485f312 100644 --- a/packages/propel/src/icons/module/planned.tsx +++ b/packages/propel/src/icons/module/planned.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/monospace-icon.tsx b/packages/propel/src/icons/monospace-icon.tsx index a227a73869..42221b6dab 100644 --- a/packages/propel/src/icons/monospace-icon.tsx +++ b/packages/propel/src/icons/monospace-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/multiple-sticky.tsx b/packages/propel/src/icons/multiple-sticky.tsx index 2c1a7eb44c..f61bdee7af 100644 --- a/packages/propel/src/icons/multiple-sticky.tsx +++ b/packages/propel/src/icons/multiple-sticky.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/off-track-icon.tsx b/packages/propel/src/icons/off-track-icon.tsx index 76ee3a1134..c26c5ebf30 100644 --- a/packages/propel/src/icons/off-track-icon.tsx +++ b/packages/propel/src/icons/off-track-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/on-track-icon.tsx b/packages/propel/src/icons/on-track-icon.tsx index 53a977799f..b735a993dc 100644 --- a/packages/propel/src/icons/on-track-icon.tsx +++ b/packages/propel/src/icons/on-track-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/overview-icon.tsx b/packages/propel/src/icons/overview-icon.tsx index 99f99728c3..513c1f5dd6 100644 --- a/packages/propel/src/icons/overview-icon.tsx +++ b/packages/propel/src/icons/overview-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/pending-icon.tsx b/packages/propel/src/icons/pending-icon.tsx index ba97a4b499..6b0b9cb966 100644 --- a/packages/propel/src/icons/pending-icon.tsx +++ b/packages/propel/src/icons/pending-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/photo-filter-icon.tsx b/packages/propel/src/icons/photo-filter-icon.tsx index 9546bd2621..2043cd34ff 100644 --- a/packages/propel/src/icons/photo-filter-icon.tsx +++ b/packages/propel/src/icons/photo-filter-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/planned-icon.tsx b/packages/propel/src/icons/planned-icon.tsx index 298960c4c3..8d57919895 100644 --- a/packages/propel/src/icons/planned-icon.tsx +++ b/packages/propel/src/icons/planned-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/priority-icon.tsx b/packages/propel/src/icons/priority-icon.tsx index 670d7bf475..de977d5974 100644 --- a/packages/propel/src/icons/priority-icon.tsx +++ b/packages/propel/src/icons/priority-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { AlertCircle, Ban, SignalHigh, SignalLow, SignalMedium } from "lucide-react"; import { cn } from "../utils"; diff --git a/packages/propel/src/icons/project/cycle-icon.tsx b/packages/propel/src/icons/project/cycle-icon.tsx index 645f8af566..afba0fedf1 100644 --- a/packages/propel/src/icons/project/cycle-icon.tsx +++ b/packages/propel/src/icons/project/cycle-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/project/epic-icon.tsx b/packages/propel/src/icons/project/epic-icon.tsx index f241d01aae..132d9732ff 100644 --- a/packages/propel/src/icons/project/epic-icon.tsx +++ b/packages/propel/src/icons/project/epic-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/project/index.ts b/packages/propel/src/icons/project/index.ts index 0ace8ff740..37be25295c 100644 --- a/packages/propel/src/icons/project/index.ts +++ b/packages/propel/src/icons/project/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./cycle-icon"; export * from "./epic-icon"; export * from "./intake-icon"; diff --git a/packages/propel/src/icons/project/intake-icon.tsx b/packages/propel/src/icons/project/intake-icon.tsx index f3bd24d329..96d33fb3c8 100644 --- a/packages/propel/src/icons/project/intake-icon.tsx +++ b/packages/propel/src/icons/project/intake-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/project/module-icon.tsx b/packages/propel/src/icons/project/module-icon.tsx index 51a7077479..fae636290d 100644 --- a/packages/propel/src/icons/project/module-icon.tsx +++ b/packages/propel/src/icons/project/module-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/project/page-icon.tsx b/packages/propel/src/icons/project/page-icon.tsx index 2ab9b764c9..feefbb7ef5 100644 --- a/packages/propel/src/icons/project/page-icon.tsx +++ b/packages/propel/src/icons/project/page-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/project/view-icon.tsx b/packages/propel/src/icons/project/view-icon.tsx index f597943c4f..11fb1d3922 100644 --- a/packages/propel/src/icons/project/view-icon.tsx +++ b/packages/propel/src/icons/project/view-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/project/work-items-icon.tsx b/packages/propel/src/icons/project/work-items-icon.tsx index 586f0a5972..54eeb067ea 100644 --- a/packages/propel/src/icons/project/work-items-icon.tsx +++ b/packages/propel/src/icons/project/work-items-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/boolean-icon.tsx b/packages/propel/src/icons/properties/boolean-icon.tsx index d80eb44ac3..7e31ad75b9 100644 --- a/packages/propel/src/icons/properties/boolean-icon.tsx +++ b/packages/propel/src/icons/properties/boolean-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/comment-reply-icon.tsx b/packages/propel/src/icons/properties/comment-reply-icon.tsx index 7ee96f2993..ac7ddb1546 100644 --- a/packages/propel/src/icons/properties/comment-reply-icon.tsx +++ b/packages/propel/src/icons/properties/comment-reply-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/dropdown-icon.tsx b/packages/propel/src/icons/properties/dropdown-icon.tsx index 7143ced3e4..b4178aaaf0 100644 --- a/packages/propel/src/icons/properties/dropdown-icon.tsx +++ b/packages/propel/src/icons/properties/dropdown-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/due-date-icon.tsx b/packages/propel/src/icons/properties/due-date-icon.tsx index 170ea39a01..2def4a9018 100644 --- a/packages/propel/src/icons/properties/due-date-icon.tsx +++ b/packages/propel/src/icons/properties/due-date-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/duplicate-icon.tsx b/packages/propel/src/icons/properties/duplicate-icon.tsx index 0e4fa89f96..c376fb78c7 100644 --- a/packages/propel/src/icons/properties/duplicate-icon.tsx +++ b/packages/propel/src/icons/properties/duplicate-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/estimate-icon.tsx b/packages/propel/src/icons/properties/estimate-icon.tsx index 2df27ff779..1d1bcc7f84 100644 --- a/packages/propel/src/icons/properties/estimate-icon.tsx +++ b/packages/propel/src/icons/properties/estimate-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/hash-icon.tsx b/packages/propel/src/icons/properties/hash-icon.tsx index cb67ec13ce..be2ed0186f 100644 --- a/packages/propel/src/icons/properties/hash-icon.tsx +++ b/packages/propel/src/icons/properties/hash-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/index.ts b/packages/propel/src/icons/properties/index.ts index 73e135208e..2b504e5aab 100644 --- a/packages/propel/src/icons/properties/index.ts +++ b/packages/propel/src/icons/properties/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./boolean-icon"; export * from "./comment-reply-icon"; export * from "./dropdown-icon"; diff --git a/packages/propel/src/icons/properties/label-filled-icon.tsx b/packages/propel/src/icons/properties/label-filled-icon.tsx index b739dd99b7..951f6ca647 100644 --- a/packages/propel/src/icons/properties/label-filled-icon.tsx +++ b/packages/propel/src/icons/properties/label-filled-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/label-icon.tsx b/packages/propel/src/icons/properties/label-icon.tsx index 5f0df4f682..a70dc194c5 100644 --- a/packages/propel/src/icons/properties/label-icon.tsx +++ b/packages/propel/src/icons/properties/label-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/members-icon.tsx b/packages/propel/src/icons/properties/members-icon.tsx index ec6733dc7e..5804ee5c62 100644 --- a/packages/propel/src/icons/properties/members-icon.tsx +++ b/packages/propel/src/icons/properties/members-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/overdue-date-icon.tsx b/packages/propel/src/icons/properties/overdue-date-icon.tsx index a53c0edd7d..0358902f46 100644 --- a/packages/propel/src/icons/properties/overdue-date-icon.tsx +++ b/packages/propel/src/icons/properties/overdue-date-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/parent-icon.tsx b/packages/propel/src/icons/properties/parent-icon.tsx index 5e941aefcd..ba8e8294b4 100644 --- a/packages/propel/src/icons/properties/parent-icon.tsx +++ b/packages/propel/src/icons/properties/parent-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/priority-icon.tsx b/packages/propel/src/icons/properties/priority-icon.tsx index ed1ea32023..05ea78d9fb 100644 --- a/packages/propel/src/icons/properties/priority-icon.tsx +++ b/packages/propel/src/icons/properties/priority-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/relates-to-icon.tsx b/packages/propel/src/icons/properties/relates-to-icon.tsx index 02da39f2f6..618358471a 100644 --- a/packages/propel/src/icons/properties/relates-to-icon.tsx +++ b/packages/propel/src/icons/properties/relates-to-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/relation-icon.tsx b/packages/propel/src/icons/properties/relation-icon.tsx index 370406c717..293f151749 100644 --- a/packages/propel/src/icons/properties/relation-icon.tsx +++ b/packages/propel/src/icons/properties/relation-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/scope-icon.tsx b/packages/propel/src/icons/properties/scope-icon.tsx index 4cdd287393..a49045ac18 100644 --- a/packages/propel/src/icons/properties/scope-icon.tsx +++ b/packages/propel/src/icons/properties/scope-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/start-date-icon.tsx b/packages/propel/src/icons/properties/start-date-icon.tsx index 31ec2b9aa3..abd1b873e0 100644 --- a/packages/propel/src/icons/properties/start-date-icon.tsx +++ b/packages/propel/src/icons/properties/start-date-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/state-icon.tsx b/packages/propel/src/icons/properties/state-icon.tsx index 6d3f738947..350ef354ce 100644 --- a/packages/propel/src/icons/properties/state-icon.tsx +++ b/packages/propel/src/icons/properties/state-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/user-circle-icon.tsx b/packages/propel/src/icons/properties/user-circle-icon.tsx index 0fc747d091..8fe424b352 100644 --- a/packages/propel/src/icons/properties/user-circle-icon.tsx +++ b/packages/propel/src/icons/properties/user-circle-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/user-icon.tsx b/packages/propel/src/icons/properties/user-icon.tsx index 05a139007a..17f0aa471f 100644 --- a/packages/propel/src/icons/properties/user-icon.tsx +++ b/packages/propel/src/icons/properties/user-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/user-square-icon.tsx b/packages/propel/src/icons/properties/user-square-icon.tsx index 55d7095276..a46a766662 100644 --- a/packages/propel/src/icons/properties/user-square-icon.tsx +++ b/packages/propel/src/icons/properties/user-square-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/properties/workflows-icon.tsx b/packages/propel/src/icons/properties/workflows-icon.tsx index 79ebd8900e..114104e87f 100644 --- a/packages/propel/src/icons/properties/workflows-icon.tsx +++ b/packages/propel/src/icons/properties/workflows-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/registry.ts b/packages/propel/src/icons/registry.ts index 5fc6c0ebe9..64a69347fb 100644 --- a/packages/propel/src/icons/registry.ts +++ b/packages/propel/src/icons/registry.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Action icons import { AddIcon, diff --git a/packages/propel/src/icons/related-icon.tsx b/packages/propel/src/icons/related-icon.tsx index d94cf73a01..1f5c46bbc0 100644 --- a/packages/propel/src/icons/related-icon.tsx +++ b/packages/propel/src/icons/related-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/sans-serif-icon.tsx b/packages/propel/src/icons/sans-serif-icon.tsx index 4c56e0fe87..17c3348a14 100644 --- a/packages/propel/src/icons/sans-serif-icon.tsx +++ b/packages/propel/src/icons/sans-serif-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/serif-icon.tsx b/packages/propel/src/icons/serif-icon.tsx index 7ee42628bf..c14c8eb506 100644 --- a/packages/propel/src/icons/serif-icon.tsx +++ b/packages/propel/src/icons/serif-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/set-as-default-icon.tsx b/packages/propel/src/icons/set-as-default-icon.tsx index 155438d206..674a739f2a 100644 --- a/packages/propel/src/icons/set-as-default-icon.tsx +++ b/packages/propel/src/icons/set-as-default-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ISvgIcons } from "./type"; export function SetAsDefaultIcon({ className = "text-current", ...rest }: ISvgIcons) { diff --git a/packages/propel/src/icons/side-panel-icon.tsx b/packages/propel/src/icons/side-panel-icon.tsx index be2de3bd43..810e9a995b 100644 --- a/packages/propel/src/icons/side-panel-icon.tsx +++ b/packages/propel/src/icons/side-panel-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/state/backlog-group-icon.tsx b/packages/propel/src/icons/state/backlog-group-icon.tsx index d394c46cd5..a42e24f7f0 100644 --- a/packages/propel/src/icons/state/backlog-group-icon.tsx +++ b/packages/propel/src/icons/state/backlog-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/state/cancelled-group-icon.tsx b/packages/propel/src/icons/state/cancelled-group-icon.tsx index 6bd25d329b..4ce8c7d303 100644 --- a/packages/propel/src/icons/state/cancelled-group-icon.tsx +++ b/packages/propel/src/icons/state/cancelled-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/state/completed-group-icon.tsx b/packages/propel/src/icons/state/completed-group-icon.tsx index b6be3dfa09..1d97af67c6 100644 --- a/packages/propel/src/icons/state/completed-group-icon.tsx +++ b/packages/propel/src/icons/state/completed-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/state/dashed-circle.tsx b/packages/propel/src/icons/state/dashed-circle.tsx index 541053ea31..3cba92d6bd 100644 --- a/packages/propel/src/icons/state/dashed-circle.tsx +++ b/packages/propel/src/icons/state/dashed-circle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; interface DashedCircleProps { diff --git a/packages/propel/src/icons/state/helper.tsx b/packages/propel/src/icons/state/helper.tsx index 2e73e75698..2ceb3c7fe8 100644 --- a/packages/propel/src/icons/state/helper.tsx +++ b/packages/propel/src/icons/state/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { EIconSize } from "@plane/constants"; import type { TIntakeStateGroups } from "@plane/types"; diff --git a/packages/propel/src/icons/state/index.ts b/packages/propel/src/icons/state/index.ts index c050c1c321..a531eab14a 100644 --- a/packages/propel/src/icons/state/index.ts +++ b/packages/propel/src/icons/state/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./backlog-group-icon"; export * from "./cancelled-group-icon"; export * from "./completed-group-icon"; diff --git a/packages/propel/src/icons/state/intake-state-group-icon.tsx b/packages/propel/src/icons/state/intake-state-group-icon.tsx index ece3a1aab2..18e6d725b8 100644 --- a/packages/propel/src/icons/state/intake-state-group-icon.tsx +++ b/packages/propel/src/icons/state/intake-state-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { EIconSize } from "@plane/constants"; diff --git a/packages/propel/src/icons/state/progress-circle.tsx b/packages/propel/src/icons/state/progress-circle.tsx index d86de0b132..e0f9663d4c 100644 --- a/packages/propel/src/icons/state/progress-circle.tsx +++ b/packages/propel/src/icons/state/progress-circle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; interface ProgressCircleProps { diff --git a/packages/propel/src/icons/state/started-group-icon.tsx b/packages/propel/src/icons/state/started-group-icon.tsx index 019a991183..cf8e6eafa8 100644 --- a/packages/propel/src/icons/state/started-group-icon.tsx +++ b/packages/propel/src/icons/state/started-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/state/state-group-icon.tsx b/packages/propel/src/icons/state/state-group-icon.tsx index e94fdc40f0..e6f1a51cf6 100644 --- a/packages/propel/src/icons/state/state-group-icon.tsx +++ b/packages/propel/src/icons/state/state-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { EIconSize } from "@plane/constants"; diff --git a/packages/propel/src/icons/state/triage-group-icon.tsx b/packages/propel/src/icons/state/triage-group-icon.tsx index d4956ff5bb..7ce4e78f93 100644 --- a/packages/propel/src/icons/state/triage-group-icon.tsx +++ b/packages/propel/src/icons/state/triage-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/state/unstarted-group-icon.tsx b/packages/propel/src/icons/state/unstarted-group-icon.tsx index be136dccf6..4229699927 100644 --- a/packages/propel/src/icons/state/unstarted-group-icon.tsx +++ b/packages/propel/src/icons/state/unstarted-group-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "../type"; diff --git a/packages/propel/src/icons/sticky-note-icon.tsx b/packages/propel/src/icons/sticky-note-icon.tsx index 7323fe4c86..2d3456f668 100644 --- a/packages/propel/src/icons/sticky-note-icon.tsx +++ b/packages/propel/src/icons/sticky-note-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/sub-brand/index.ts b/packages/propel/src/icons/sub-brand/index.ts index 7a0d0cefb0..d7c76f9108 100644 --- a/packages/propel/src/icons/sub-brand/index.ts +++ b/packages/propel/src/icons/sub-brand/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./pi-chat"; export * from "./plane-icon"; export * from "./wiki-icon"; diff --git a/packages/propel/src/icons/sub-brand/pi-chat.tsx b/packages/propel/src/icons/sub-brand/pi-chat.tsx index 9e2641d4f4..9bf8a825be 100644 --- a/packages/propel/src/icons/sub-brand/pi-chat.tsx +++ b/packages/propel/src/icons/sub-brand/pi-chat.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/sub-brand/plane-icon.tsx b/packages/propel/src/icons/sub-brand/plane-icon.tsx index 978cc1e726..25acfebbf4 100644 --- a/packages/propel/src/icons/sub-brand/plane-icon.tsx +++ b/packages/propel/src/icons/sub-brand/plane-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/sub-brand/wiki-icon.tsx b/packages/propel/src/icons/sub-brand/wiki-icon.tsx index d062f448bc..92e6fde986 100644 --- a/packages/propel/src/icons/sub-brand/wiki-icon.tsx +++ b/packages/propel/src/icons/sub-brand/wiki-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/suspended-user.tsx b/packages/propel/src/icons/suspended-user.tsx index eaf09af31b..6be2ce329f 100644 --- a/packages/propel/src/icons/suspended-user.tsx +++ b/packages/propel/src/icons/suspended-user.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/teams.tsx b/packages/propel/src/icons/teams.tsx index 9475bd59bd..cb09b169c9 100644 --- a/packages/propel/src/icons/teams.tsx +++ b/packages/propel/src/icons/teams.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/transfer-icon.tsx b/packages/propel/src/icons/transfer-icon.tsx index 1a6f06a75b..c2e30cb4c5 100644 --- a/packages/propel/src/icons/transfer-icon.tsx +++ b/packages/propel/src/icons/transfer-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/tree-map-icon.tsx b/packages/propel/src/icons/tree-map-icon.tsx index 5356d958b9..e389402f83 100644 --- a/packages/propel/src/icons/tree-map-icon.tsx +++ b/packages/propel/src/icons/tree-map-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/type.ts b/packages/propel/src/icons/type.ts index 09e6056297..e5bdc10050 100644 --- a/packages/propel/src/icons/type.ts +++ b/packages/propel/src/icons/type.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface ISvgIcons extends React.SVGAttributes { className?: string | undefined; percentage?: number; diff --git a/packages/propel/src/icons/updates-icon.tsx b/packages/propel/src/icons/updates-icon.tsx index 9e41292e21..a81d7cdd2d 100644 --- a/packages/propel/src/icons/updates-icon.tsx +++ b/packages/propel/src/icons/updates-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ISvgIcons } from "./type"; export function UpdatesIcon({ className = "text-current" }: ISvgIcons) { diff --git a/packages/propel/src/icons/user-activity-icon.tsx b/packages/propel/src/icons/user-activity-icon.tsx index 367920155c..cf7da470b4 100644 --- a/packages/propel/src/icons/user-activity-icon.tsx +++ b/packages/propel/src/icons/user-activity-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/workspace-icon.tsx b/packages/propel/src/icons/workspace-icon.tsx index 770133ddc5..ae6ded0078 100644 --- a/packages/propel/src/icons/workspace-icon.tsx +++ b/packages/propel/src/icons/workspace-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { ISvgIcons } from "./type"; diff --git a/packages/propel/src/icons/workspace/analytics-icon.tsx b/packages/propel/src/icons/workspace/analytics-icon.tsx index cc8bd16d61..c2c0975578 100644 --- a/packages/propel/src/icons/workspace/analytics-icon.tsx +++ b/packages/propel/src/icons/workspace/analytics-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/workspace/archive-icon.tsx b/packages/propel/src/icons/workspace/archive-icon.tsx index b4dd0d0bb3..0aa49bf79d 100644 --- a/packages/propel/src/icons/workspace/archive-icon.tsx +++ b/packages/propel/src/icons/workspace/archive-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/workspace/dashboard-icon.tsx b/packages/propel/src/icons/workspace/dashboard-icon.tsx index 2d3785afd2..b8e8ae4522 100644 --- a/packages/propel/src/icons/workspace/dashboard-icon.tsx +++ b/packages/propel/src/icons/workspace/dashboard-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/workspace/draft-icon.tsx b/packages/propel/src/icons/workspace/draft-icon.tsx index 8ec7f498f3..85a63c30f6 100644 --- a/packages/propel/src/icons/workspace/draft-icon.tsx +++ b/packages/propel/src/icons/workspace/draft-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/workspace/home-icon.tsx b/packages/propel/src/icons/workspace/home-icon.tsx index ba3034fb57..30f53eaf84 100644 --- a/packages/propel/src/icons/workspace/home-icon.tsx +++ b/packages/propel/src/icons/workspace/home-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/workspace/inbox-icon.tsx b/packages/propel/src/icons/workspace/inbox-icon.tsx index 243c610123..66814a85fa 100644 --- a/packages/propel/src/icons/workspace/inbox-icon.tsx +++ b/packages/propel/src/icons/workspace/inbox-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/workspace/index.ts b/packages/propel/src/icons/workspace/index.ts index 99ef75d7f9..ddcbd68f8d 100644 --- a/packages/propel/src/icons/workspace/index.ts +++ b/packages/propel/src/icons/workspace/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./analytics-icon"; export * from "./archive-icon"; export * from "./dashboard-icon"; diff --git a/packages/propel/src/icons/workspace/multiple-sticky-icon.tsx b/packages/propel/src/icons/workspace/multiple-sticky-icon.tsx index fd1e58dc42..7c56fe1c6a 100644 --- a/packages/propel/src/icons/workspace/multiple-sticky-icon.tsx +++ b/packages/propel/src/icons/workspace/multiple-sticky-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/workspace/project-icon.tsx b/packages/propel/src/icons/workspace/project-icon.tsx index 99fe2bb5cb..655556eb65 100644 --- a/packages/propel/src/icons/workspace/project-icon.tsx +++ b/packages/propel/src/icons/workspace/project-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/icons/workspace/your-work-icon.tsx b/packages/propel/src/icons/workspace/your-work-icon.tsx index edd5885f28..c993bf9710 100644 --- a/packages/propel/src/icons/workspace/your-work-icon.tsx +++ b/packages/propel/src/icons/workspace/your-work-icon.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { IconWrapper } from "../icon-wrapper"; diff --git a/packages/propel/src/input/index.ts b/packages/propel/src/input/index.ts index 4ce4a88937..4859616662 100644 --- a/packages/propel/src/input/index.ts +++ b/packages/propel/src/input/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./input"; diff --git a/packages/propel/src/input/input.stories.tsx b/packages/propel/src/input/input.stories.tsx index d41a876916..17d12e66bb 100644 --- a/packages/propel/src/input/input.stories.tsx +++ b/packages/propel/src/input/input.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Input } from "./index"; diff --git a/packages/propel/src/input/input.tsx b/packages/propel/src/input/input.tsx index b1d36ad7ec..03fa39d3dc 100644 --- a/packages/propel/src/input/input.tsx +++ b/packages/propel/src/input/input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Input as BaseInput } from "@base-ui-components/react/input"; // helpers diff --git a/packages/propel/src/menu/index.ts b/packages/propel/src/menu/index.ts index 660d3ef02a..9b2b1a9f0f 100644 --- a/packages/propel/src/menu/index.ts +++ b/packages/propel/src/menu/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./menu"; export * from "./types"; diff --git a/packages/propel/src/menu/menu.stories.tsx b/packages/propel/src/menu/menu.stories.tsx index 94109698bb..ccef83dfde 100644 --- a/packages/propel/src/menu/menu.stories.tsx +++ b/packages/propel/src/menu/menu.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Settings, User, LogOut, Mail, Bell, HelpCircle } from "lucide-react"; import { Menu } from "./menu"; diff --git a/packages/propel/src/menu/menu.tsx b/packages/propel/src/menu/menu.tsx index 586b197be0..0daf04d2fd 100644 --- a/packages/propel/src/menu/menu.tsx +++ b/packages/propel/src/menu/menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Menu as BaseMenu } from "@base-ui-components/react/menu"; import { MoreHorizontal } from "lucide-react"; diff --git a/packages/propel/src/menu/types.ts b/packages/propel/src/menu/types.ts index 1e8a46d6cb..ef8093bb40 100644 --- a/packages/propel/src/menu/types.ts +++ b/packages/propel/src/menu/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TPlacement = "top" | "bottom" | "left" | "right"; export type TMenuProps = { diff --git a/packages/propel/src/pill/index.ts b/packages/propel/src/pill/index.ts index 523ccb2b0c..a8b491d603 100644 --- a/packages/propel/src/pill/index.ts +++ b/packages/propel/src/pill/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { Pill, EPillVariant, EPillSize } from "./pill"; export type { PillProps } from "./pill"; diff --git a/packages/propel/src/pill/pill.stories.tsx b/packages/propel/src/pill/pill.stories.tsx index 0c03afb107..36ca661124 100644 --- a/packages/propel/src/pill/pill.stories.tsx +++ b/packages/propel/src/pill/pill.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Pill, EPillVariant, EPillSize } from "./pill"; diff --git a/packages/propel/src/pill/pill.tsx b/packages/propel/src/pill/pill.tsx index 4362c622c8..52275cdb16 100644 --- a/packages/propel/src/pill/pill.tsx +++ b/packages/propel/src/pill/pill.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; diff --git a/packages/propel/src/popover/index.ts b/packages/propel/src/popover/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/popover/index.ts +++ b/packages/propel/src/popover/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/popover/popover.stories.tsx b/packages/propel/src/popover/popover.stories.tsx index a35707eb4c..f3d0fe64c8 100644 --- a/packages/propel/src/popover/popover.stories.tsx +++ b/packages/propel/src/popover/popover.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { useArgs } from "storybook/preview-api"; diff --git a/packages/propel/src/popover/root.tsx b/packages/propel/src/popover/root.tsx index d7d9ac40b8..35ab032ebc 100644 --- a/packages/propel/src/popover/root.tsx +++ b/packages/propel/src/popover/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { memo, useMemo } from "react"; import { Popover as BasePopover } from "@base-ui-components/react/popover"; import type { TPlacement, TSide, TAlign } from "../utils/placement"; diff --git a/packages/propel/src/portal/constants.ts b/packages/propel/src/portal/constants.ts index d147ebe81f..8851089e6c 100644 --- a/packages/propel/src/portal/constants.ts +++ b/packages/propel/src/portal/constants.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EPortalWidth { QUARTER = "quarter", HALF = "half", diff --git a/packages/propel/src/portal/index.ts b/packages/propel/src/portal/index.ts index 3594f57814..9b0da01e01 100644 --- a/packages/propel/src/portal/index.ts +++ b/packages/propel/src/portal/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./modal-portal"; export * from "./portal-wrapper"; export * from "./constants"; diff --git a/packages/propel/src/portal/modal-portal.tsx b/packages/propel/src/portal/modal-portal.tsx index 284b0a26a5..fa00eb1270 100644 --- a/packages/propel/src/portal/modal-portal.tsx +++ b/packages/propel/src/portal/modal-portal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useCallback, useMemo, useRef, useEffect } from "react"; import { cn } from "../utils"; import { diff --git a/packages/propel/src/portal/portal-wrapper.tsx b/packages/propel/src/portal/portal-wrapper.tsx index 7f1c08860a..e65481ce9b 100644 --- a/packages/propel/src/portal/portal-wrapper.tsx +++ b/packages/propel/src/portal/portal-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useLayoutEffect, useState, useMemo } from "react"; import { createPortal } from "react-dom"; import { DEFAULT_PORTAL_ID } from "./constants"; diff --git a/packages/propel/src/portal/portal.stories.tsx b/packages/propel/src/portal/portal.stories.tsx index 802e35c87a..3d532d359a 100644 --- a/packages/propel/src/portal/portal.stories.tsx +++ b/packages/propel/src/portal/portal.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { Button } from "../button/button"; diff --git a/packages/propel/src/portal/types.ts b/packages/propel/src/portal/types.ts index 8a229bc8db..023622545e 100644 --- a/packages/propel/src/portal/types.ts +++ b/packages/propel/src/portal/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode, MouseEvent as ReactMouseEvent } from "react"; import type { EPortalWidth, EPortalPosition } from "./constants"; diff --git a/packages/propel/src/scrollarea/index.ts b/packages/propel/src/scrollarea/index.ts index d0025852df..3528c51959 100644 --- a/packages/propel/src/scrollarea/index.ts +++ b/packages/propel/src/scrollarea/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./scrollarea"; diff --git a/packages/propel/src/scrollarea/scrollarea.stories.tsx b/packages/propel/src/scrollarea/scrollarea.stories.tsx index 3cb1bab57e..88d316657e 100644 --- a/packages/propel/src/scrollarea/scrollarea.stories.tsx +++ b/packages/propel/src/scrollarea/scrollarea.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { ScrollArea } from "./scrollarea"; diff --git a/packages/propel/src/scrollarea/scrollarea.tsx b/packages/propel/src/scrollarea/scrollarea.tsx index d942794a99..3db3155be3 100644 --- a/packages/propel/src/scrollarea/scrollarea.tsx +++ b/packages/propel/src/scrollarea/scrollarea.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { ScrollArea as BaseScrollArea } from "@base-ui-components/react/scroll-area"; diff --git a/packages/propel/src/separator/separator.stories.tsx b/packages/propel/src/separator/separator.stories.tsx index 6d5168bb3d..8fb19c7103 100644 --- a/packages/propel/src/separator/separator.stories.tsx +++ b/packages/propel/src/separator/separator.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Separator } from "./separator"; diff --git a/packages/propel/src/separator/separator.tsx b/packages/propel/src/separator/separator.tsx index 7b6a8681ed..22030e2a99 100644 --- a/packages/propel/src/separator/separator.tsx +++ b/packages/propel/src/separator/separator.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Separator as SeparatorPrimitive } from "@base-ui-components/react/separator"; import { cn } from "../utils"; diff --git a/packages/propel/src/skeleton/index.ts b/packages/propel/src/skeleton/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/skeleton/index.ts +++ b/packages/propel/src/skeleton/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/skeleton/root.tsx b/packages/propel/src/skeleton/root.tsx index 2a3130311b..1d09e55376 100644 --- a/packages/propel/src/skeleton/root.tsx +++ b/packages/propel/src/skeleton/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // helpers import { cn } from "../utils/classname"; diff --git a/packages/propel/src/skeleton/skeleton.stories.tsx b/packages/propel/src/skeleton/skeleton.stories.tsx index 4703959226..8a53f5c56b 100644 --- a/packages/propel/src/skeleton/skeleton.stories.tsx +++ b/packages/propel/src/skeleton/skeleton.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Skeleton } from "./index"; diff --git a/packages/propel/src/spinners/circular-bar-spinner.stories.tsx b/packages/propel/src/spinners/circular-bar-spinner.stories.tsx index c0df9621ef..a691566655 100644 --- a/packages/propel/src/spinners/circular-bar-spinner.stories.tsx +++ b/packages/propel/src/spinners/circular-bar-spinner.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { CircularBarSpinner } from "./circular-bar-spinner"; diff --git a/packages/propel/src/spinners/circular-bar-spinner.tsx b/packages/propel/src/spinners/circular-bar-spinner.tsx index ab6b002eda..60f57b92ab 100644 --- a/packages/propel/src/spinners/circular-bar-spinner.tsx +++ b/packages/propel/src/spinners/circular-bar-spinner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; export interface ICircularBarSpinner extends React.SVGAttributes { diff --git a/packages/propel/src/spinners/circular-spinner.stories.tsx b/packages/propel/src/spinners/circular-spinner.stories.tsx index ca1aabe943..4f553c36be 100644 --- a/packages/propel/src/spinners/circular-spinner.stories.tsx +++ b/packages/propel/src/spinners/circular-spinner.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Spinner } from "./circular-spinner"; diff --git a/packages/propel/src/spinners/circular-spinner.tsx b/packages/propel/src/spinners/circular-spinner.tsx index 5b12166d76..e64f8c08ae 100644 --- a/packages/propel/src/spinners/circular-spinner.tsx +++ b/packages/propel/src/spinners/circular-spinner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; // helpers import clsx from "clsx"; diff --git a/packages/propel/src/spinners/index.ts b/packages/propel/src/spinners/index.ts index a871a9b77b..45fa139d5d 100644 --- a/packages/propel/src/spinners/index.ts +++ b/packages/propel/src/spinners/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./circular-spinner"; export * from "./circular-bar-spinner"; diff --git a/packages/propel/src/switch/index.ts b/packages/propel/src/switch/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/switch/index.ts +++ b/packages/propel/src/switch/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/switch/root.tsx b/packages/propel/src/switch/root.tsx index 01335f70bb..1285c965a8 100644 --- a/packages/propel/src/switch/root.tsx +++ b/packages/propel/src/switch/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Switch as BaseSwitch } from "@base-ui-components/react/switch"; import { cn } from "../utils/classname"; diff --git a/packages/propel/src/switch/switch.stories.tsx b/packages/propel/src/switch/switch.stories.tsx index 5c1ce7df02..d4a304d168 100644 --- a/packages/propel/src/switch/switch.stories.tsx +++ b/packages/propel/src/switch/switch.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { useArgs } from "storybook/preview-api"; diff --git a/packages/propel/src/tab-navigation/index.ts b/packages/propel/src/tab-navigation/index.ts index 4dcc80d106..4229ac2328 100644 --- a/packages/propel/src/tab-navigation/index.ts +++ b/packages/propel/src/tab-navigation/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { TabNavigationItem } from "./tab-navigation-item"; export { TabNavigationList } from "./tab-navigation-list"; export type { TTabNavigationItemProps, TTabNavigationListProps } from "./tab-navigation-types"; diff --git a/packages/propel/src/tab-navigation/tab-navigation-item.tsx b/packages/propel/src/tab-navigation/tab-navigation-item.tsx index 8a88fb497b..9f34c9e6bf 100644 --- a/packages/propel/src/tab-navigation/tab-navigation-item.tsx +++ b/packages/propel/src/tab-navigation/tab-navigation-item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { motion, AnimatePresence } from "framer-motion"; import { cn } from "../utils"; import type { TTabNavigationItemProps } from "./tab-navigation-types"; diff --git a/packages/propel/src/tab-navigation/tab-navigation-list.tsx b/packages/propel/src/tab-navigation/tab-navigation-list.tsx index c572394778..aa3f579390 100644 --- a/packages/propel/src/tab-navigation/tab-navigation-list.tsx +++ b/packages/propel/src/tab-navigation/tab-navigation-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import { LayoutGroup } from "framer-motion"; import { cn } from "../utils"; diff --git a/packages/propel/src/tab-navigation/tab-navigation-types.ts b/packages/propel/src/tab-navigation/tab-navigation-types.ts index 2116123243..4cfce16e92 100644 --- a/packages/propel/src/tab-navigation/tab-navigation-types.ts +++ b/packages/propel/src/tab-navigation/tab-navigation-types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; export type TTabNavigationItemProps = { diff --git a/packages/propel/src/tab-navigation/tab-navigation.stories.tsx b/packages/propel/src/tab-navigation/tab-navigation.stories.tsx index 71b2b93b0b..bef6c7da8f 100644 --- a/packages/propel/src/tab-navigation/tab-navigation.stories.tsx +++ b/packages/propel/src/tab-navigation/tab-navigation.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; // icons import diff --git a/packages/propel/src/table/core.tsx b/packages/propel/src/table/core.tsx index 2beade09d6..5364800b46 100644 --- a/packages/propel/src/table/core.tsx +++ b/packages/propel/src/table/core.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils/classname"; diff --git a/packages/propel/src/table/index.ts b/packages/propel/src/table/index.ts index 8d119dee81..bcdcb87a16 100644 --- a/packages/propel/src/table/index.ts +++ b/packages/propel/src/table/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; diff --git a/packages/propel/src/table/table.stories.tsx b/packages/propel/src/table/table.stories.tsx index 1e2a1519ae..51be6524e2 100644 --- a/packages/propel/src/table/table.stories.tsx +++ b/packages/propel/src/table/table.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption } from "./core"; diff --git a/packages/propel/src/tabs/index.ts b/packages/propel/src/tabs/index.ts index 811d3d4a72..8974369072 100644 --- a/packages/propel/src/tabs/index.ts +++ b/packages/propel/src/tabs/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./tabs"; diff --git a/packages/propel/src/tabs/tabs.stories.tsx b/packages/propel/src/tabs/tabs.stories.tsx index cc0fca6bc7..6022765aa6 100644 --- a/packages/propel/src/tabs/tabs.stories.tsx +++ b/packages/propel/src/tabs/tabs.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useState } from "react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { Settings, User, Bell } from "lucide-react"; diff --git a/packages/propel/src/tabs/tabs.tsx b/packages/propel/src/tabs/tabs.tsx index 98d1a2d53f..1fc775e76e 100644 --- a/packages/propel/src/tabs/tabs.tsx +++ b/packages/propel/src/tabs/tabs.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Tabs as TabsPrimitive } from "@base-ui-components/react/tabs"; import { cn } from "../utils/classname"; diff --git a/packages/propel/src/toast/index.ts b/packages/propel/src/toast/index.ts index da089861b9..2ca91d5463 100644 --- a/packages/propel/src/toast/index.ts +++ b/packages/propel/src/toast/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./toast"; diff --git a/packages/propel/src/toast/toast.stories.tsx b/packages/propel/src/toast/toast.stories.tsx index 8a8fd1bb56..5a828cf2d0 100644 --- a/packages/propel/src/toast/toast.stories.tsx +++ b/packages/propel/src/toast/toast.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Toast, ToastStatic, setToast, updateToast, setPromiseToast, TOAST_TYPE } from "./toast"; diff --git a/packages/propel/src/toast/toast.tsx b/packages/propel/src/toast/toast.tsx index fac617a7af..fe6081f791 100644 --- a/packages/propel/src/toast/toast.tsx +++ b/packages/propel/src/toast/toast.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Toast as BaseToast } from "@base-ui-components/react/toast"; import { AlertTriangle, CheckIcon, InfoIcon, XIcon } from "lucide-react"; diff --git a/packages/propel/src/toolbar/index.ts b/packages/propel/src/toolbar/index.ts index da2a48965e..239fac1633 100644 --- a/packages/propel/src/toolbar/index.ts +++ b/packages/propel/src/toolbar/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { Toolbar } from "./toolbar"; export type { ToolbarProps, diff --git a/packages/propel/src/toolbar/toolbar.stories.tsx b/packages/propel/src/toolbar/toolbar.stories.tsx index d080e146b1..996e9feb6b 100644 --- a/packages/propel/src/toolbar/toolbar.stories.tsx +++ b/packages/propel/src/toolbar/toolbar.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { Bold, diff --git a/packages/propel/src/toolbar/toolbar.tsx b/packages/propel/src/toolbar/toolbar.tsx index 5f1c4d6bdd..9a74e7454c 100644 --- a/packages/propel/src/toolbar/toolbar.tsx +++ b/packages/propel/src/toolbar/toolbar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import type { LucideIcon } from "lucide-react"; import type { ISvgIcons } from "../icons"; diff --git a/packages/propel/src/tooltip/index.ts b/packages/propel/src/tooltip/index.ts index 1efe34c51e..d980334597 100644 --- a/packages/propel/src/tooltip/index.ts +++ b/packages/propel/src/tooltip/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./root"; diff --git a/packages/propel/src/tooltip/root.tsx b/packages/propel/src/tooltip/root.tsx index a5f840d240..e8c415c29a 100644 --- a/packages/propel/src/tooltip/root.tsx +++ b/packages/propel/src/tooltip/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Tooltip as BaseTooltip } from "@base-ui-components/react/tooltip"; import { cn } from "../utils"; diff --git a/packages/propel/src/tooltip/tooltip.stories.tsx b/packages/propel/src/tooltip/tooltip.stories.tsx index b681afd71e..fa3f8e967e 100644 --- a/packages/propel/src/tooltip/tooltip.stories.tsx +++ b/packages/propel/src/tooltip/tooltip.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react-vite"; import { HelpCircle } from "lucide-react"; import { Tooltip } from "./root"; diff --git a/packages/propel/src/utils/classname.tsx b/packages/propel/src/utils/classname.tsx index 125aa4036b..6d0ca1c482 100644 --- a/packages/propel/src/utils/classname.tsx +++ b/packages/propel/src/utils/classname.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { clsx } from "clsx"; import type { ClassValue } from "clsx"; diff --git a/packages/propel/src/utils/index.ts b/packages/propel/src/utils/index.ts index e429b296a6..f52eda2554 100644 --- a/packages/propel/src/utils/index.ts +++ b/packages/propel/src/utils/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./classname"; export * from "./placement"; diff --git a/packages/propel/src/utils/placement.ts b/packages/propel/src/utils/placement.ts index b150127373..eace1b8a0e 100644 --- a/packages/propel/src/utils/placement.ts +++ b/packages/propel/src/utils/placement.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types export type TPlacement = | "auto" diff --git a/packages/services/src/ai/ai.service.ts b/packages/services/src/ai/ai.service.ts index 3f2054ac70..7a34a8ca58 100644 --- a/packages/services/src/ai/ai.service.ts +++ b/packages/services/src/ai/ai.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web constants import type { AI_EDITOR_TASKS } from "@plane/constants"; import { API_BASE_URL } from "@plane/constants"; diff --git a/packages/services/src/ai/index.ts b/packages/services/src/ai/index.ts index bce346aa66..0b701ad5d1 100644 --- a/packages/services/src/ai/index.ts +++ b/packages/services/src/ai/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./ai.service"; diff --git a/packages/services/src/api.service.ts b/packages/services/src/api.service.ts index 7cdeb3f288..3284a8aadf 100644 --- a/packages/services/src/api.service.ts +++ b/packages/services/src/api.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { AxiosInstance, AxiosRequestConfig } from "axios"; import axios from "axios"; diff --git a/packages/services/src/auth/auth.service.ts b/packages/services/src/auth/auth.service.ts index c32c93e663..8b38b5e0f2 100644 --- a/packages/services/src/auth/auth.service.ts +++ b/packages/services/src/auth/auth.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; // types import type { ICsrfTokenData, IEmailCheckData, IEmailCheckResponse } from "@plane/types"; diff --git a/packages/services/src/auth/index.ts b/packages/services/src/auth/index.ts index 340b36856d..032df6138d 100644 --- a/packages/services/src/auth/index.ts +++ b/packages/services/src/auth/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./auth.service"; export * from "./sites-auth.service"; diff --git a/packages/services/src/auth/sites-auth.service.ts b/packages/services/src/auth/sites-auth.service.ts index 8e2bf8ea5a..a23ea576f2 100644 --- a/packages/services/src/auth/sites-auth.service.ts +++ b/packages/services/src/auth/sites-auth.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; // types import type { IEmailCheckData, IEmailCheckResponse } from "@plane/types"; diff --git a/packages/services/src/cycle/cycle-analytics.service.ts b/packages/services/src/cycle/cycle-analytics.service.ts index c9e14441e8..0e9c46489c 100644 --- a/packages/services/src/cycle/cycle-analytics.service.ts +++ b/packages/services/src/cycle/cycle-analytics.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { TCycleDistribution, TProgressSnapshot, TCycleEstimateDistribution } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/cycle/cycle-archive.service.ts b/packages/services/src/cycle/cycle-archive.service.ts index 09d3e96873..fc005fb26b 100644 --- a/packages/services/src/cycle/cycle-archive.service.ts +++ b/packages/services/src/cycle/cycle-archive.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { ICycle } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/cycle/cycle-operations.service.ts b/packages/services/src/cycle/cycle-operations.service.ts index 43c01396cb..77a8643aa7 100644 --- a/packages/services/src/cycle/cycle-operations.service.ts +++ b/packages/services/src/cycle/cycle-operations.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import { APIService } from "../api.service"; diff --git a/packages/services/src/cycle/cycle.service.ts b/packages/services/src/cycle/cycle.service.ts index 961e5588a2..8dadeedf24 100644 --- a/packages/services/src/cycle/cycle.service.ts +++ b/packages/services/src/cycle/cycle.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { CycleDateCheckData, ICycle, TIssuesResponse, IWorkspaceActiveCyclesResponse } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/cycle/index.ts b/packages/services/src/cycle/index.ts index 6f5dbc6799..d53702a152 100644 --- a/packages/services/src/cycle/index.ts +++ b/packages/services/src/cycle/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./cycle-analytics.service"; export * from "./cycle-archive.service"; export * from "./cycle-operations.service"; diff --git a/packages/services/src/cycle/sites-cycle.service.ts b/packages/services/src/cycle/sites-cycle.service.ts index 0fb17407b0..4a90173189 100644 --- a/packages/services/src/cycle/sites-cycle.service.ts +++ b/packages/services/src/cycle/sites-cycle.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { TPublicCycle } from "@plane/types"; diff --git a/packages/services/src/dashboard/dashboard.service.ts b/packages/services/src/dashboard/dashboard.service.ts index 2934b4f6ae..9b987e93a7 100644 --- a/packages/services/src/dashboard/dashboard.service.ts +++ b/packages/services/src/dashboard/dashboard.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { THomeDashboardResponse, TWidget, TWidgetStatsResponse, TWidgetStatsRequestParams } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/dashboard/index.ts b/packages/services/src/dashboard/index.ts index 79e3f04009..52a2e8675c 100644 --- a/packages/services/src/dashboard/index.ts +++ b/packages/services/src/dashboard/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./dashboard.service"; diff --git a/packages/services/src/developer/api-token.service.ts b/packages/services/src/developer/api-token.service.ts index 229d62c330..b318053a4d 100644 --- a/packages/services/src/developer/api-token.service.ts +++ b/packages/services/src/developer/api-token.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IApiToken } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/developer/index.ts b/packages/services/src/developer/index.ts index a78a7b0929..b27617136d 100644 --- a/packages/services/src/developer/index.ts +++ b/packages/services/src/developer/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./api-token.service"; export * from "./webhook.service"; diff --git a/packages/services/src/developer/webhook.service.ts b/packages/services/src/developer/webhook.service.ts index a9bb7d7993..7ae3436522 100644 --- a/packages/services/src/developer/webhook.service.ts +++ b/packages/services/src/developer/webhook.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IWebhook } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/file/file-upload.service.ts b/packages/services/src/file/file-upload.service.ts index 6613cf1d52..32ca4de51f 100644 --- a/packages/services/src/file/file-upload.service.ts +++ b/packages/services/src/file/file-upload.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import axios from "axios"; // api service import { APIService } from "../api.service"; diff --git a/packages/services/src/file/file.service.ts b/packages/services/src/file/file.service.ts index fe1e747d46..725bc891c8 100644 --- a/packages/services/src/file/file.service.ts +++ b/packages/services/src/file/file.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; // api service diff --git a/packages/services/src/file/helper.ts b/packages/services/src/file/helper.ts index 499d943b4e..e749ca6145 100644 --- a/packages/services/src/file/helper.ts +++ b/packages/services/src/file/helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // external imports import { fileTypeFromBuffer } from "file-type"; // plane imports diff --git a/packages/services/src/file/index.ts b/packages/services/src/file/index.ts index d3b2a52908..e09f8e00a3 100644 --- a/packages/services/src/file/index.ts +++ b/packages/services/src/file/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./file-upload.service"; export * from "./sites-file.service"; export * from "./file.service"; diff --git a/packages/services/src/file/sites-file.service.ts b/packages/services/src/file/sites-file.service.ts index fa2713282c..debe945f8d 100644 --- a/packages/services/src/file/sites-file.service.ts +++ b/packages/services/src/file/sites-file.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; // local services diff --git a/packages/services/src/index.ts b/packages/services/src/index.ts index b1f966840d..9ec22ae0bb 100644 --- a/packages/services/src/index.ts +++ b/packages/services/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./ai"; export * from "./developer"; export * from "./auth"; diff --git a/packages/services/src/indexedDB.service.ts b/packages/services/src/indexedDB.service.ts index 1b568f2ae3..bb89d51e24 100644 --- a/packages/services/src/indexedDB.service.ts +++ b/packages/services/src/indexedDB.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export abstract class IndexedDBService { private dbName: string; private version: number; diff --git a/packages/services/src/instance/index.ts b/packages/services/src/instance/index.ts index dd3d4a663c..3fbe347b53 100644 --- a/packages/services/src/instance/index.ts +++ b/packages/services/src/instance/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./instance.service"; diff --git a/packages/services/src/instance/instance.service.ts b/packages/services/src/instance/instance.service.ts index 6af821d9b6..39acb95722 100644 --- a/packages/services/src/instance/instance.service.ts +++ b/packages/services/src/instance/instance.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { diff --git a/packages/services/src/intake/index.ts b/packages/services/src/intake/index.ts index cde9ddbd34..0cf9b3466b 100644 --- a/packages/services/src/intake/index.ts +++ b/packages/services/src/intake/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./intake.service"; export * from "./issue.service"; diff --git a/packages/services/src/intake/intake.service.ts b/packages/services/src/intake/intake.service.ts index 576790ef4e..81deb1035a 100644 --- a/packages/services/src/intake/intake.service.ts +++ b/packages/services/src/intake/intake.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import { APIService } from "../api.service"; diff --git a/packages/services/src/intake/issue.service.ts b/packages/services/src/intake/issue.service.ts index 009bc0c2f6..be6430eedc 100644 --- a/packages/services/src/intake/issue.service.ts +++ b/packages/services/src/intake/issue.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import { APIService } from "../api.service"; diff --git a/packages/services/src/issue/index.ts b/packages/services/src/issue/index.ts index 79d4537cd2..0e0f73c987 100644 --- a/packages/services/src/issue/index.ts +++ b/packages/services/src/issue/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./sites-issue.service"; diff --git a/packages/services/src/issue/sites-issue.service.ts b/packages/services/src/issue/sites-issue.service.ts index a715f2093b..788c82ff78 100644 --- a/packages/services/src/issue/sites-issue.service.ts +++ b/packages/services/src/issue/sites-issue.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { IPublicIssue, TIssuePublicComment, TPublicIssuesResponse } from "@plane/types"; diff --git a/packages/services/src/label/index.ts b/packages/services/src/label/index.ts index 5bf89fa968..f3fdc38c0a 100644 --- a/packages/services/src/label/index.ts +++ b/packages/services/src/label/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./sites-label.service"; diff --git a/packages/services/src/label/sites-label.service.ts b/packages/services/src/label/sites-label.service.ts index 0fb924f342..493880d065 100644 --- a/packages/services/src/label/sites-label.service.ts +++ b/packages/services/src/label/sites-label.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { IIssueLabel } from "@plane/types"; diff --git a/packages/services/src/live.service.ts b/packages/services/src/live.service.ts index ae4b80864c..89009f6fee 100644 --- a/packages/services/src/live.service.ts +++ b/packages/services/src/live.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import { APIService } from "./api.service"; diff --git a/packages/services/src/module/index.ts b/packages/services/src/module/index.ts index ad49212285..9eea4f1a5f 100644 --- a/packages/services/src/module/index.ts +++ b/packages/services/src/module/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./link.service"; export * from "./module.service"; export * from "./operations.service"; diff --git a/packages/services/src/module/link.service.ts b/packages/services/src/module/link.service.ts index 8c8ec3f474..7eeaf2a4dc 100644 --- a/packages/services/src/module/link.service.ts +++ b/packages/services/src/module/link.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { ILinkDetails, ModuleLink } from "@plane/types"; // services diff --git a/packages/services/src/module/module.service.ts b/packages/services/src/module/module.service.ts index 21321b36ec..3ff37a9360 100644 --- a/packages/services/src/module/module.service.ts +++ b/packages/services/src/module/module.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types import type { IModule, ILinkDetails, ModuleLink, TIssuesResponse } from "@plane/types"; // services diff --git a/packages/services/src/module/operations.service.ts b/packages/services/src/module/operations.service.ts index 9185873dab..ff5b922d14 100644 --- a/packages/services/src/module/operations.service.ts +++ b/packages/services/src/module/operations.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // types // import type { IModule, ILinkDetails, ModuleLink, TIssuesResponse } from "@plane/types"; // services diff --git a/packages/services/src/module/sites-module.service.ts b/packages/services/src/module/sites-module.service.ts index b99b57955d..d6f61c2b79 100644 --- a/packages/services/src/module/sites-module.service.ts +++ b/packages/services/src/module/sites-module.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; // api service diff --git a/packages/services/src/project/index.ts b/packages/services/src/project/index.ts index 4cc54d2c20..58b39cccbf 100644 --- a/packages/services/src/project/index.ts +++ b/packages/services/src/project/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./view.service"; export * from "./sites-publish.service"; diff --git a/packages/services/src/project/sites-publish.service.ts b/packages/services/src/project/sites-publish.service.ts index af2c41a4f2..bc14da8e71 100644 --- a/packages/services/src/project/sites-publish.service.ts +++ b/packages/services/src/project/sites-publish.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { TProjectPublishSettings } from "@plane/types"; diff --git a/packages/services/src/project/view.service.ts b/packages/services/src/project/view.service.ts index 7eef719115..02782cd2c4 100644 --- a/packages/services/src/project/view.service.ts +++ b/packages/services/src/project/view.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; // api services diff --git a/packages/services/src/state/index.ts b/packages/services/src/state/index.ts index 5b49aad0eb..4c0838924f 100644 --- a/packages/services/src/state/index.ts +++ b/packages/services/src/state/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./sites-state.service"; diff --git a/packages/services/src/state/sites-state.service.ts b/packages/services/src/state/sites-state.service.ts index 7cf325e492..32c563a23b 100644 --- a/packages/services/src/state/sites-state.service.ts +++ b/packages/services/src/state/sites-state.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { IState } from "@plane/types"; diff --git a/packages/services/src/user/favorite.service.ts b/packages/services/src/user/favorite.service.ts index 0c6e0497f2..e832b73cd4 100644 --- a/packages/services/src/user/favorite.service.ts +++ b/packages/services/src/user/favorite.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IFavorite } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/user/index.ts b/packages/services/src/user/index.ts index f01a1a47bd..96e1963640 100644 --- a/packages/services/src/user/index.ts +++ b/packages/services/src/user/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./favorite.service"; export * from "./user.service"; export * from "./sites-member.service"; diff --git a/packages/services/src/user/sites-member.service.ts b/packages/services/src/user/sites-member.service.ts index 33a4ef4f0d..c9a641f6d0 100644 --- a/packages/services/src/user/sites-member.service.ts +++ b/packages/services/src/user/sites-member.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { TPublicMember } from "@plane/types"; diff --git a/packages/services/src/user/user.service.ts b/packages/services/src/user/user.service.ts index c177b1ffd8..9ede9a7918 100644 --- a/packages/services/src/user/user.service.ts +++ b/packages/services/src/user/user.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; import type { IUser, TUserProfile } from "@plane/types"; diff --git a/packages/services/src/workspace/index.ts b/packages/services/src/workspace/index.ts index a48efdee2c..6b67a9b65e 100644 --- a/packages/services/src/workspace/index.ts +++ b/packages/services/src/workspace/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./invitation.service"; export * from "./member.service"; export * from "./notification.service"; diff --git a/packages/services/src/workspace/instance-workspace.service.ts b/packages/services/src/workspace/instance-workspace.service.ts index 7ac3d4ce4d..c38fb665a3 100644 --- a/packages/services/src/workspace/instance-workspace.service.ts +++ b/packages/services/src/workspace/instance-workspace.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IWorkspace, TWorkspacePaginationInfo } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/workspace/invitation.service.ts b/packages/services/src/workspace/invitation.service.ts index 5cc74f5d5d..392cdde8ca 100644 --- a/packages/services/src/workspace/invitation.service.ts +++ b/packages/services/src/workspace/invitation.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IWorkspaceMemberInvitation, IWorkspaceBulkInviteFormData, IWorkspaceMember } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/workspace/member.service.ts b/packages/services/src/workspace/member.service.ts index af93336694..ace8df3892 100644 --- a/packages/services/src/workspace/member.service.ts +++ b/packages/services/src/workspace/member.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IWorkspaceMemberMe, IWorkspaceMember, IUserProjectsRole } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/workspace/notification.service.ts b/packages/services/src/workspace/notification.service.ts index 30c588a043..c82ac55fa5 100644 --- a/packages/services/src/workspace/notification.service.ts +++ b/packages/services/src/workspace/notification.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { TUnreadNotificationsCount, diff --git a/packages/services/src/workspace/view.service.ts b/packages/services/src/workspace/view.service.ts index 995a16eb3c..99b8b64892 100644 --- a/packages/services/src/workspace/view.service.ts +++ b/packages/services/src/workspace/view.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IWorkspaceView, TIssuesResponse } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/services/src/workspace/workspace.service.ts b/packages/services/src/workspace/workspace.service.ts index 14e84d2a22..3f1ad42e90 100644 --- a/packages/services/src/workspace/workspace.service.ts +++ b/packages/services/src/workspace/workspace.service.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { API_BASE_URL } from "@plane/constants"; import type { IWorkspace, ILastActiveWorkspaceDetails, IWorkspaceSearchResults } from "@plane/types"; import { APIService } from "../api.service"; diff --git a/packages/shared-state/src/index.ts b/packages/shared-state/src/index.ts index faaf31f831..7511c9629a 100644 --- a/packages/shared-state/src/index.ts +++ b/packages/shared-state/src/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./store"; export * from "./utils"; diff --git a/packages/shared-state/src/store/index.ts b/packages/shared-state/src/store/index.ts index 1863076105..b222ec93ac 100644 --- a/packages/shared-state/src/store/index.ts +++ b/packages/shared-state/src/store/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./rich-filters"; export * from "./work-item-filters"; diff --git a/packages/shared-state/src/store/rich-filters/adapter.ts b/packages/shared-state/src/store/rich-filters/adapter.ts index ec9fe58c55..92e211a6f0 100644 --- a/packages/shared-state/src/store/rich-filters/adapter.ts +++ b/packages/shared-state/src/store/rich-filters/adapter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IFilterAdapter, TExternalFilter, TFilterExpression, TFilterProperty } from "@plane/types"; diff --git a/packages/shared-state/src/store/rich-filters/config-manager.ts b/packages/shared-state/src/store/rich-filters/config-manager.ts index 86400d8b5a..80b23e9953 100644 --- a/packages/shared-state/src/store/rich-filters/config-manager.ts +++ b/packages/shared-state/src/store/rich-filters/config-manager.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, computed, makeObservable, observable } from "mobx"; import { computedFn } from "mobx-utils"; // plane imports diff --git a/packages/shared-state/src/store/rich-filters/config.ts b/packages/shared-state/src/store/rich-filters/config.ts index b7d6a4c0d2..3b2e9b1630 100644 --- a/packages/shared-state/src/store/rich-filters/config.ts +++ b/packages/shared-state/src/store/rich-filters/config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; import { action, computed, makeObservable, observable, runInAction } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/packages/shared-state/src/store/rich-filters/filter-helpers.ts b/packages/shared-state/src/store/rich-filters/filter-helpers.ts index 0c8a807573..40d6159653 100644 --- a/packages/shared-state/src/store/rich-filters/filter-helpers.ts +++ b/packages/shared-state/src/store/rich-filters/filter-helpers.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cloneDeep } from "lodash-es"; import { action, makeObservable, observable, toJS } from "mobx"; // plane imports diff --git a/packages/shared-state/src/store/rich-filters/filter.ts b/packages/shared-state/src/store/rich-filters/filter.ts index 037126b805..240c2f3a8d 100644 --- a/packages/shared-state/src/store/rich-filters/filter.ts +++ b/packages/shared-state/src/store/rich-filters/filter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { cloneDeep, isEqual } from "lodash-es"; import { action, computed, makeObservable, observable, toJS } from "mobx"; import { computedFn } from "mobx-utils"; diff --git a/packages/shared-state/src/store/rich-filters/index.ts b/packages/shared-state/src/store/rich-filters/index.ts index eb3564ddcf..d5d9fe0c01 100644 --- a/packages/shared-state/src/store/rich-filters/index.ts +++ b/packages/shared-state/src/store/rich-filters/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./adapter"; export * from "./filter"; diff --git a/packages/shared-state/src/store/user.store.ts b/packages/shared-state/src/store/user.store.ts index 2a0c30ef0d..b288d25a8b 100644 --- a/packages/shared-state/src/store/user.store.ts +++ b/packages/shared-state/src/store/user.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { makeObservable, observable } from "mobx"; import type { IWorkspaceStore } from "./workspace.store"; diff --git a/packages/shared-state/src/store/work-item-filters/adapter.ts b/packages/shared-state/src/store/work-item-filters/adapter.ts index 155561dd58..8d009f4151 100644 --- a/packages/shared-state/src/store/work-item-filters/adapter.ts +++ b/packages/shared-state/src/store/work-item-filters/adapter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { isEmpty } from "lodash-es"; import type { diff --git a/packages/shared-state/src/store/work-item-filters/filter.store.ts b/packages/shared-state/src/store/work-item-filters/filter.store.ts index beaa4cd367..f7826ccc97 100644 --- a/packages/shared-state/src/store/work-item-filters/filter.store.ts +++ b/packages/shared-state/src/store/work-item-filters/filter.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { action, makeObservable, observable } from "mobx"; import { computedFn } from "mobx-utils"; // plane imports diff --git a/packages/shared-state/src/store/work-item-filters/index.ts b/packages/shared-state/src/store/work-item-filters/index.ts index 073c940fed..00dd59cab1 100644 --- a/packages/shared-state/src/store/work-item-filters/index.ts +++ b/packages/shared-state/src/store/work-item-filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./adapter"; export * from "./filter.store"; export * from "./shared"; diff --git a/packages/shared-state/src/store/work-item-filters/shared.ts b/packages/shared-state/src/store/work-item-filters/shared.ts index c2a4056ca1..272f27b7b4 100644 --- a/packages/shared-state/src/store/work-item-filters/shared.ts +++ b/packages/shared-state/src/store/work-item-filters/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { EIssuesStoreType, TWorkItemFilterExpression, TWorkItemFilterProperty } from "@plane/types"; // local imports diff --git a/packages/shared-state/src/store/workspace.store.ts b/packages/shared-state/src/store/workspace.store.ts index 18af2840a0..74521cb6b6 100644 --- a/packages/shared-state/src/store/workspace.store.ts +++ b/packages/shared-state/src/store/workspace.store.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { makeObservable, observable } from "mobx"; export interface IWorkspaceStore { diff --git a/packages/shared-state/src/utils/index.ts b/packages/shared-state/src/utils/index.ts index 38083592b7..74153e61d6 100644 --- a/packages/shared-state/src/utils/index.ts +++ b/packages/shared-state/src/utils/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./rich-filter.helper"; export * from "./work-item-filters.helper"; diff --git a/packages/shared-state/src/utils/rich-filter.helper.ts b/packages/shared-state/src/utils/rich-filter.helper.ts index 255be5c870..576533f8ff 100644 --- a/packages/shared-state/src/utils/rich-filter.helper.ts +++ b/packages/shared-state/src/utils/rich-filter.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TBuildFilterExpressionParams, TExternalFilter, TFilterProperty, TFilterValue } from "@plane/types"; import { LOGICAL_OPERATOR } from "@plane/types"; diff --git a/packages/shared-state/src/utils/work-item-filters.helper.ts b/packages/shared-state/src/utils/work-item-filters.helper.ts index 8e815743d4..b5c5819a9e 100644 --- a/packages/shared-state/src/utils/work-item-filters.helper.ts +++ b/packages/shared-state/src/utils/work-item-filters.helper.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TBuildFilterExpressionParams, diff --git a/packages/types/src/activity.ts b/packages/types/src/activity.ts index 957a2028db..1ab90f4374 100644 --- a/packages/types/src/activity.ts +++ b/packages/types/src/activity.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TBaseActivity = { id: string; field: TFieldKey | undefined; diff --git a/packages/types/src/ai.ts b/packages/types/src/ai.ts index cbc7fabe40..da7d61046e 100644 --- a/packages/types/src/ai.ts +++ b/packages/types/src/ai.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectLite } from "./project"; import type { IWorkspaceLite } from "./workspace"; diff --git a/packages/types/src/analytics.ts b/packages/types/src/analytics.ts index 119a4aed09..a636820c81 100644 --- a/packages/types/src/analytics.ts +++ b/packages/types/src/analytics.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TChartData } from "./charts"; export enum ChartXAxisProperty { diff --git a/packages/types/src/api_token.ts b/packages/types/src/api_token.ts index ca1f7a339e..9abdf2805f 100644 --- a/packages/types/src/api_token.ts +++ b/packages/types/src/api_token.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface IApiToken { created_at: string; created_by: string; diff --git a/packages/types/src/auth.ts b/packages/types/src/auth.ts index 65000c5032..d41f651aaf 100644 --- a/packages/types/src/auth.ts +++ b/packages/types/src/auth.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TEmailCheckTypes = "magic_code" | "password"; export interface IEmailCheckData { diff --git a/packages/types/src/base-layouts/base.ts b/packages/types/src/base-layouts/base.ts index 0e0cd8a9af..ce9ea59531 100644 --- a/packages/types/src/base-layouts/base.ts +++ b/packages/types/src/base-layouts/base.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; // Base Types diff --git a/packages/types/src/base-layouts/gantt/core.ts b/packages/types/src/base-layouts/gantt/core.ts index 5f27cb0499..f834403387 100644 --- a/packages/types/src/base-layouts/gantt/core.ts +++ b/packages/types/src/base-layouts/gantt/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const CORE_GANTT_TIMELINE_TYPE = { ISSUE: "ISSUE", MODULE: "MODULE", diff --git a/packages/types/src/base-layouts/gantt/extended.ts b/packages/types/src/base-layouts/gantt/extended.ts index daf690403d..360e0dbd48 100644 --- a/packages/types/src/base-layouts/gantt/extended.ts +++ b/packages/types/src/base-layouts/gantt/extended.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const EXTENDED_GANTT_TIMELINE_TYPE = {} as const; diff --git a/packages/types/src/base-layouts/gantt/index.ts b/packages/types/src/base-layouts/gantt/index.ts index 147cd06d6e..d96c0a0317 100644 --- a/packages/types/src/base-layouts/gantt/index.ts +++ b/packages/types/src/base-layouts/gantt/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; import type { IBaseLayoutsBaseItem, IBaseLayoutsBaseProps } from "../base"; import { CORE_GANTT_TIMELINE_TYPE } from "./core"; diff --git a/packages/types/src/base-layouts/index.ts b/packages/types/src/base-layouts/index.ts index 2fcb0abe7e..649bda3d15 100644 --- a/packages/types/src/base-layouts/index.ts +++ b/packages/types/src/base-layouts/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./base"; export * from "./list"; export * from "./kanban"; diff --git a/packages/types/src/base-layouts/kanban.ts b/packages/types/src/base-layouts/kanban.ts index 318c364195..eadc1af173 100644 --- a/packages/types/src/base-layouts/kanban.ts +++ b/packages/types/src/base-layouts/kanban.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IBaseLayoutsBaseItem, IBaseLayoutsBaseProps, diff --git a/packages/types/src/base-layouts/list.ts b/packages/types/src/base-layouts/list.ts index e0ac28275c..ae35dd5eb5 100644 --- a/packages/types/src/base-layouts/list.ts +++ b/packages/types/src/base-layouts/list.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IBaseLayoutsBaseItem, IBaseLayoutsBaseProps, diff --git a/packages/types/src/calendar.ts b/packages/types/src/calendar.ts index 348d93b1fd..300d90b788 100644 --- a/packages/types/src/calendar.ts +++ b/packages/types/src/calendar.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface ICalendarRange { startDate: Date; endDate: Date; diff --git a/packages/types/src/charts/common.ts b/packages/types/src/charts/common.ts index 0827021382..95198aa46b 100644 --- a/packages/types/src/charts/common.ts +++ b/packages/types/src/charts/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TChartColorScheme = "modern" | "horizon" | "earthen"; export type TChartDatum = { diff --git a/packages/types/src/charts/index.ts b/packages/types/src/charts/index.ts index 8ee4739b26..948649ecf8 100644 --- a/packages/types/src/charts/index.ts +++ b/packages/types/src/charts/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ============================================================ // Chart Base // ============================================================ diff --git a/packages/types/src/command-palette.ts b/packages/types/src/command-palette.ts index c773c2d36c..2e5cfa3da6 100644 --- a/packages/types/src/command-palette.ts +++ b/packages/types/src/command-palette.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TCommandPaletteActionList = Record void }>; export type TCommandPaletteShortcutList = { diff --git a/packages/types/src/common.ts b/packages/types/src/common.ts index b35e408d6e..ac34443348 100644 --- a/packages/types/src/common.ts +++ b/packages/types/src/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TPaginationInfo = { count: number; extra_stats: string | null; diff --git a/packages/types/src/current-user/index.ts b/packages/types/src/current-user/index.ts index aeb49bbab1..cdec1f38a5 100644 --- a/packages/types/src/current-user/index.ts +++ b/packages/types/src/current-user/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./profile"; diff --git a/packages/types/src/current-user/profile.ts b/packages/types/src/current-user/profile.ts index 64a25a93cf..677f8f7c9e 100644 --- a/packages/types/src/current-user/profile.ts +++ b/packages/types/src/current-user/profile.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TUserProfile = { id: string | undefined; diff --git a/packages/types/src/cycle/cycle.ts b/packages/types/src/cycle/cycle.ts index 4bb66ff9b6..b6ec359c06 100644 --- a/packages/types/src/cycle/cycle.ts +++ b/packages/types/src/cycle/cycle.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssue } from "../issues/issue"; import type { IIssueFilterOptions } from "../view-props"; diff --git a/packages/types/src/cycle/cycle_filters.ts b/packages/types/src/cycle/cycle_filters.ts index 38f8a7549b..1ebb66c383 100644 --- a/packages/types/src/cycle/cycle_filters.ts +++ b/packages/types/src/cycle/cycle_filters.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TCycleTabOptions = "active" | "all"; export type TCycleLayoutOptions = "list" | "board" | "gantt"; diff --git a/packages/types/src/cycle/index.ts b/packages/types/src/cycle/index.ts index d5f4ce5b05..7856a0f3e2 100644 --- a/packages/types/src/cycle/index.ts +++ b/packages/types/src/cycle/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./cycle_filters"; export * from "./cycle"; diff --git a/packages/types/src/dashboard.ts b/packages/types/src/dashboard.ts index 135325841d..0159079ceb 100644 --- a/packages/types/src/dashboard.ts +++ b/packages/types/src/dashboard.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EDurationFilters } from "./enums"; import type { IIssueActivity, TIssuePriorities } from "./issues"; import type { TIssue } from "./issues/issue"; diff --git a/packages/types/src/de-dupe.ts b/packages/types/src/de-dupe.ts index b36a780465..8832dbdbc2 100644 --- a/packages/types/src/de-dupe.ts +++ b/packages/types/src/de-dupe.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssuePriorities } from "./issues"; export type TDuplicateIssuePayload = { diff --git a/packages/types/src/description_version.ts b/packages/types/src/description_version.ts index 8b9816b011..fe4fc3d74c 100644 --- a/packages/types/src/description_version.ts +++ b/packages/types/src/description_version.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TDescriptionVersion = { created_at: string; created_by: string | null; diff --git a/packages/types/src/editor/editor-content.ts b/packages/types/src/editor/editor-content.ts index bb720c2e97..696fe20256 100644 --- a/packages/types/src/editor/editor-content.ts +++ b/packages/types/src/editor/editor-content.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Editor content types - locally defined to avoid external dependencies */ diff --git a/packages/types/src/editor/index.ts b/packages/types/src/editor/index.ts index 841ec3255e..08e77d0f0b 100644 --- a/packages/types/src/editor/index.ts +++ b/packages/types/src/editor/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type { JSONContent, HTMLContent, Content } from "./editor-content"; diff --git a/packages/types/src/enums.ts b/packages/types/src/enums.ts index 7776e9f242..d842a8284e 100644 --- a/packages/types/src/enums.ts +++ b/packages/types/src/enums.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EUserPermissions { ADMIN = 20, MEMBER = 15, diff --git a/packages/types/src/epics.ts b/packages/types/src/epics.ts index 1ba50e2f2f..e755172d88 100644 --- a/packages/types/src/epics.ts +++ b/packages/types/src/epics.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TEpicAnalyticsGroup = | "backlog_issues" | "unstarted_issues" diff --git a/packages/types/src/estimate.ts b/packages/types/src/estimate.ts index 969f76a921..2e4d416b97 100644 --- a/packages/types/src/estimate.ts +++ b/packages/types/src/estimate.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EEstimateSystem, EEstimateUpdateStages } from "./enums"; export interface IEstimatePoint { diff --git a/packages/types/src/favorite/favorite.ts b/packages/types/src/favorite/favorite.ts index 6191c579f4..32aa4a77f9 100644 --- a/packages/types/src/favorite/favorite.ts +++ b/packages/types/src/favorite/favorite.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLogoProps } from "../common"; export type IFavorite = { diff --git a/packages/types/src/favorite/index.ts b/packages/types/src/favorite/index.ts index e11ce8f3c1..033cc17ead 100644 --- a/packages/types/src/favorite/index.ts +++ b/packages/types/src/favorite/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./favorite"; diff --git a/packages/types/src/file.ts b/packages/types/src/file.ts index 2a60559563..01a189259e 100644 --- a/packages/types/src/file.ts +++ b/packages/types/src/file.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EFileAssetType } from "./enums"; export type TFileMetaDataLite = { diff --git a/packages/types/src/home.ts b/packages/types/src/home.ts index 107daeb218..16c8defd0e 100644 --- a/packages/types/src/home.ts +++ b/packages/types/src/home.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLogoProps } from "./common"; import type { TIssuePriorities } from "./issues"; diff --git a/packages/types/src/importer/github-importer.ts b/packages/types/src/importer/github-importer.ts index 36220b6263..193c86a388 100644 --- a/packages/types/src/importer/github-importer.ts +++ b/packages/types/src/importer/github-importer.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface IGithubServiceImportFormData { metadata: { owner: string; diff --git a/packages/types/src/importer/index.ts b/packages/types/src/importer/index.ts index 99a262d473..ec42f91d2b 100644 --- a/packages/types/src/importer/index.ts +++ b/packages/types/src/importer/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./github-importer"; export * from "./jira-importer"; diff --git a/packages/types/src/importer/jira-importer.ts b/packages/types/src/importer/jira-importer.ts index e9f4218fa7..83080ea082 100644 --- a/packages/types/src/importer/jira-importer.ts +++ b/packages/types/src/importer/jira-importer.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface IJiraImporterForm { metadata: IJiraMetadata; config: IJiraConfig; diff --git a/packages/types/src/inbox.ts b/packages/types/src/inbox.ts index daf936da39..0cbdf0330f 100644 --- a/packages/types/src/inbox.ts +++ b/packages/types/src/inbox.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane types import type { TPaginationInfo } from "./common"; import type { TIssuePriorities } from "./issues"; diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 7b0df5b6e8..899b5d5119 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./activity"; export * from "./ai"; export * from "./analytics"; diff --git a/packages/types/src/instance/ai.ts b/packages/types/src/instance/ai.ts index 5bfd1a6ba8..64c745b827 100644 --- a/packages/types/src/instance/ai.ts +++ b/packages/types/src/instance/ai.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TInstanceAIConfigurationKeys = "LLM_API_KEY" | "LLM_MODEL"; diff --git a/packages/types/src/instance/auth-ee.ts b/packages/types/src/instance/auth-ee.ts index 115f0bac01..6ea191acaa 100644 --- a/packages/types/src/instance/auth-ee.ts +++ b/packages/types/src/instance/auth-ee.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TExtendedLoginMediums = never; export type TExtendedInstanceAuthenticationModeKeys = never; diff --git a/packages/types/src/instance/auth.ts b/packages/types/src/instance/auth.ts index fa9f444d39..f3566b291f 100644 --- a/packages/types/src/instance/auth.ts +++ b/packages/types/src/instance/auth.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TCoreInstanceAuthenticationModeKeys = | "unique-codes" | "passwords-login" diff --git a/packages/types/src/instance/base.ts b/packages/types/src/instance/base.ts index 10aa0d39ab..431b09ac0f 100644 --- a/packages/types/src/instance/base.ts +++ b/packages/types/src/instance/base.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IUserLite } from "../users"; import type { TInstanceAIConfigurationKeys, diff --git a/packages/types/src/instance/email.ts b/packages/types/src/instance/email.ts index 0c15cd230b..0dbd736676 100644 --- a/packages/types/src/instance/email.ts +++ b/packages/types/src/instance/email.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TInstanceEmailConfigurationKeys = | "EMAIL_HOST" | "EMAIL_PORT" diff --git a/packages/types/src/instance/image.ts b/packages/types/src/instance/image.ts index 9660a8559d..812f670d10 100644 --- a/packages/types/src/instance/image.ts +++ b/packages/types/src/instance/image.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TInstanceImageConfigurationKeys = "UNSPLASH_ACCESS_KEY"; diff --git a/packages/types/src/instance/index.ts b/packages/types/src/instance/index.ts index ec67eb273a..a31ae1ca92 100644 --- a/packages/types/src/instance/index.ts +++ b/packages/types/src/instance/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./ai"; export * from "./auth"; export * from "./auth-ee"; diff --git a/packages/types/src/instance/workspace.ts b/packages/types/src/instance/workspace.ts index 15a7317d00..3f4f4853b5 100644 --- a/packages/types/src/instance/workspace.ts +++ b/packages/types/src/instance/workspace.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TInstanceWorkspaceConfigurationKeys = "DISABLE_WORKSPACE_CREATION"; diff --git a/packages/types/src/intake/index.ts b/packages/types/src/intake/index.ts index be6f715713..52b9ae62fe 100644 --- a/packages/types/src/intake/index.ts +++ b/packages/types/src/intake/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./state"; diff --git a/packages/types/src/intake/state.ts b/packages/types/src/intake/state.ts index 27984a0707..e11472ceaa 100644 --- a/packages/types/src/intake/state.ts +++ b/packages/types/src/intake/state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TIntakeStateGroups = "triage"; export interface IIntakeState { diff --git a/packages/types/src/integration.ts b/packages/types/src/integration.ts index a02dc72555..9695a0ce00 100644 --- a/packages/types/src/integration.ts +++ b/packages/types/src/integration.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // All the app integrations that are available export interface IAppIntegration { author: string; diff --git a/packages/types/src/issues.ts b/packages/types/src/issues.ts index baea50dd1d..50bc807c3e 100644 --- a/packages/types/src/issues.ts +++ b/packages/types/src/issues.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ICycle } from "./cycle"; import type { TIssue } from "./issues/issue"; import type { IModule } from "./module"; diff --git a/packages/types/src/issues/activity/base.ts b/packages/types/src/issues/activity/base.ts index b822fd25f8..ef1fa8b5b8 100644 --- a/packages/types/src/issues/activity/base.ts +++ b/packages/types/src/issues/activity/base.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./issue_activity"; export * from "./issue_comment"; export * from "./issue_comment_reaction"; diff --git a/packages/types/src/issues/activity/issue_activity.ts b/packages/types/src/issues/activity/issue_activity.ts index 16bf355d1d..4cc158cfcc 100644 --- a/packages/types/src/issues/activity/issue_activity.ts +++ b/packages/types/src/issues/activity/issue_activity.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import type { EInboxIssueSource } from "../../inbox"; import type { diff --git a/packages/types/src/issues/activity/issue_comment.ts b/packages/types/src/issues/activity/issue_comment.ts index f5a411e53d..9de4e82316 100644 --- a/packages/types/src/issues/activity/issue_comment.ts +++ b/packages/types/src/issues/activity/issue_comment.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { JSONContent } from "../../editor"; import type { EIssueCommentAccessSpecifier } from "../../enums"; import type { TFileSignedURLResponse } from "../../file"; diff --git a/packages/types/src/issues/activity/issue_comment_reaction.ts b/packages/types/src/issues/activity/issue_comment_reaction.ts index 590b18ca5e..84637aa054 100644 --- a/packages/types/src/issues/activity/issue_comment_reaction.ts +++ b/packages/types/src/issues/activity/issue_comment_reaction.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TIssueCommentReaction = { id: string; comment: string; diff --git a/packages/types/src/issues/base.ts b/packages/types/src/issues/base.ts index 26054bf134..af802bb4d0 100644 --- a/packages/types/src/issues/base.ts +++ b/packages/types/src/issues/base.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // issues export * from "./issue"; export * from "./issue_reaction"; diff --git a/packages/types/src/issues/issue-identifier.ts b/packages/types/src/issues/issue-identifier.ts index 26a070b5db..e6797add6c 100644 --- a/packages/types/src/issues/issue-identifier.ts +++ b/packages/types/src/issues/issue-identifier.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IIssueDisplayProperties } from "../view-props"; export type TIssueIdentifierSize = "xs" | "sm" | "md" | "lg"; diff --git a/packages/types/src/issues/issue.ts b/packages/types/src/issues/issue.ts index f44c73f781..8054b4c44c 100644 --- a/packages/types/src/issues/issue.ts +++ b/packages/types/src/issues/issue.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssuePriorities } from "../issues"; import type { TStateGroups } from "../state"; import type { TIssuePublicComment } from "./activity/issue_comment"; diff --git a/packages/types/src/issues/issue_attachment.ts b/packages/types/src/issues/issue_attachment.ts index 69d24c03d6..f3c4ce0e7f 100644 --- a/packages/types/src/issues/issue_attachment.ts +++ b/packages/types/src/issues/issue_attachment.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFileSignedURLResponse } from "../file"; export type TIssueAttachment = { diff --git a/packages/types/src/issues/issue_link.ts b/packages/types/src/issues/issue_link.ts index 10f0d27920..77b87d94c8 100644 --- a/packages/types/src/issues/issue_link.ts +++ b/packages/types/src/issues/issue_link.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TIssueLinkEditableFields = { title: string; url: string; diff --git a/packages/types/src/issues/issue_reaction.ts b/packages/types/src/issues/issue_reaction.ts index 579ee2be64..9cf72e9f01 100644 --- a/packages/types/src/issues/issue_reaction.ts +++ b/packages/types/src/issues/issue_reaction.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IUserLite } from "../users"; export type TIssueReaction = { diff --git a/packages/types/src/issues/issue_relation.ts b/packages/types/src/issues/issue_relation.ts index 7d4c9d4150..58a226d553 100644 --- a/packages/types/src/issues/issue_relation.ts +++ b/packages/types/src/issues/issue_relation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssue } from "./issue"; export type TIssueRelation = Record; diff --git a/packages/types/src/issues/issue_sub_issues.ts b/packages/types/src/issues/issue_sub_issues.ts index fbfc7fe0e5..5ef11e2d2b 100644 --- a/packages/types/src/issues/issue_sub_issues.ts +++ b/packages/types/src/issues/issue_sub_issues.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssue } from "./issue"; export type TSubIssuesStateDistribution = { diff --git a/packages/types/src/issues/issue_subscription.ts b/packages/types/src/issues/issue_subscription.ts index e69de29bb2..0373b5075c 100644 --- a/packages/types/src/issues/issue_subscription.ts +++ b/packages/types/src/issues/issue_subscription.ts @@ -0,0 +1,6 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + diff --git a/packages/types/src/layout/gantt.ts b/packages/types/src/layout/gantt.ts index 0fb54615c9..20a51961b4 100644 --- a/packages/types/src/layout/gantt.ts +++ b/packages/types/src/layout/gantt.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EGanttBlockType { EPIC = "epic", PROJECT = "project", diff --git a/packages/types/src/layout/index.ts b/packages/types/src/layout/index.ts index 88de77a542..b2679b13d6 100644 --- a/packages/types/src/layout/index.ts +++ b/packages/types/src/layout/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./gantt"; diff --git a/packages/types/src/module/index.ts b/packages/types/src/module/index.ts index 783634662b..f8e54bb0c4 100644 --- a/packages/types/src/module/index.ts +++ b/packages/types/src/module/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./module_filters"; export * from "./modules"; diff --git a/packages/types/src/module/module_filters.ts b/packages/types/src/module/module_filters.ts index e22ac152a5..eb32626645 100644 --- a/packages/types/src/module/module_filters.ts +++ b/packages/types/src/module/module_filters.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TModuleOrderByOptions = | "name" | "-name" diff --git a/packages/types/src/module/modules.ts b/packages/types/src/module/modules.ts index 2078ae7d19..3aa571200e 100644 --- a/packages/types/src/module/modules.ts +++ b/packages/types/src/module/modules.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ILinkDetails } from "../issues"; import type { TIssue } from "../issues/issue"; import type { IIssueFilterOptions } from "../view-props"; diff --git a/packages/types/src/page/core.ts b/packages/types/src/page/core.ts index d1703ad062..4677b29727 100644 --- a/packages/types/src/page/core.ts +++ b/packages/types/src/page/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLogoProps } from "../common"; import type { EPageAccess } from "../enums"; import type { TPageExtended } from "./extended"; diff --git a/packages/types/src/page/extended.ts b/packages/types/src/page/extended.ts index 92f1b995d0..76f32ce549 100644 --- a/packages/types/src/page/extended.ts +++ b/packages/types/src/page/extended.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TPageExtended = object; diff --git a/packages/types/src/page/index.ts b/packages/types/src/page/index.ts index c6c1c2a060..02f502f64a 100644 --- a/packages/types/src/page/index.ts +++ b/packages/types/src/page/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; export * from "./extended"; diff --git a/packages/types/src/pagination.ts b/packages/types/src/pagination.ts index 94ed237e75..9d5be145e7 100644 --- a/packages/types/src/pagination.ts +++ b/packages/types/src/pagination.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // Generic paginated response type for API responses export type TPaginatedResponse = { results: T; diff --git a/packages/types/src/payment.ts b/packages/types/src/payment.ts index 21e22e6317..4574510955 100644 --- a/packages/types/src/payment.ts +++ b/packages/types/src/payment.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EProductSubscriptionEnum { FREE = "FREE", ONE = "ONE", diff --git a/packages/types/src/pragmatic.ts b/packages/types/src/pragmatic.ts index bd0969ce2b..713b3aa8c3 100644 --- a/packages/types/src/pragmatic.ts +++ b/packages/types/src/pragmatic.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TDropTarget = { element: Element; data: Record; diff --git a/packages/types/src/project/index.ts b/packages/types/src/project/index.ts index f5478051eb..9fd9931796 100644 --- a/packages/types/src/project/index.ts +++ b/packages/types/src/project/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./project_filters"; export * from "./projects"; export * from "./project_link"; diff --git a/packages/types/src/project/project_filters.ts b/packages/types/src/project/project_filters.ts index 4c21488ab9..54bf4931f7 100644 --- a/packages/types/src/project/project_filters.ts +++ b/packages/types/src/project/project_filters.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TProjectOrderByOptions = | "sort_order" | "name" diff --git a/packages/types/src/project/project_link.ts b/packages/types/src/project/project_link.ts index 45b9dfc6ac..78b37bf700 100644 --- a/packages/types/src/project/project_link.ts +++ b/packages/types/src/project/project_link.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TProjectLinkEditableFields = { title: string; url: string; diff --git a/packages/types/src/project/projects.ts b/packages/types/src/project/projects.ts index 4258cf725a..358dbba339 100644 --- a/packages/types/src/project/projects.ts +++ b/packages/types/src/project/projects.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLogoProps } from "../common"; import type { TUserPermissions } from "../enums"; import type { TStateGroups } from "../state"; diff --git a/packages/types/src/publish.ts b/packages/types/src/publish.ts index 646fc4c854..c38f15f19f 100644 --- a/packages/types/src/publish.ts +++ b/packages/types/src/publish.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProject, IProjectLite } from "./project"; import type { IWorkspaceLite } from "./workspace"; diff --git a/packages/types/src/reaction.ts b/packages/types/src/reaction.ts index b87a2c68de..613c731264 100644 --- a/packages/types/src/reaction.ts +++ b/packages/types/src/reaction.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IUserLite } from "./users"; export interface IIssueReaction { diff --git a/packages/types/src/rich-filters/adapter.ts b/packages/types/src/rich-filters/adapter.ts index ddcada6d5d..0c488482cc 100644 --- a/packages/types/src/rich-filters/adapter.ts +++ b/packages/types/src/rich-filters/adapter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import type { TFilterExpression, TFilterProperty } from "./expression"; diff --git a/packages/types/src/rich-filters/builder.ts b/packages/types/src/rich-filters/builder.ts index 4fea4305db..0721e6759c 100644 --- a/packages/types/src/rich-filters/builder.ts +++ b/packages/types/src/rich-filters/builder.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { SingleOrArray } from "../utils"; import type { IFilterAdapter, TExternalFilter } from "./adapter"; import type { TFilterProperty, TFilterValue } from "./expression"; diff --git a/packages/types/src/rich-filters/config/filter-config.ts b/packages/types/src/rich-filters/config/filter-config.ts index e692d3b7f6..d9b06cc53e 100644 --- a/packages/types/src/rich-filters/config/filter-config.ts +++ b/packages/types/src/rich-filters/config/filter-config.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterProperty } from "../expression"; import type { TOperatorConfigMap } from "../operator-configs"; diff --git a/packages/types/src/rich-filters/config/index.ts b/packages/types/src/rich-filters/config/index.ts index cd3f61fa5c..0c4f9c2045 100644 --- a/packages/types/src/rich-filters/config/index.ts +++ b/packages/types/src/rich-filters/config/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filter-config"; diff --git a/packages/types/src/rich-filters/derived/core.ts b/packages/types/src/rich-filters/derived/core.ts index 8de890272d..63328ac38b 100644 --- a/packages/types/src/rich-filters/derived/core.ts +++ b/packages/types/src/rich-filters/derived/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterValue } from "../expression"; import type { TDateFilterFieldConfig, diff --git a/packages/types/src/rich-filters/derived/extended.ts b/packages/types/src/rich-filters/derived/extended.ts index c5fc9b8215..d3778f0865 100644 --- a/packages/types/src/rich-filters/derived/extended.ts +++ b/packages/types/src/rich-filters/derived/extended.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterValue } from "../expression"; // -------- DATE FILTER OPERATORS -------- diff --git a/packages/types/src/rich-filters/derived/index.ts b/packages/types/src/rich-filters/derived/index.ts index 67f84aa6b4..cdcf5c8a16 100644 --- a/packages/types/src/rich-filters/derived/index.ts +++ b/packages/types/src/rich-filters/derived/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterValue } from "../expression"; import type { TCoreAllAvailableDateFilterOperatorsForDisplay, diff --git a/packages/types/src/rich-filters/derived/shared.ts b/packages/types/src/rich-filters/derived/shared.ts index cce5ebaf0f..c22e8933d5 100644 --- a/packages/types/src/rich-filters/derived/shared.ts +++ b/packages/types/src/rich-filters/derived/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Generic utility type to check if a configuration type supports specific filter types. * Returns the operator key if any member of the union includes the target filter types, never otherwise. diff --git a/packages/types/src/rich-filters/expression.ts b/packages/types/src/rich-filters/expression.ts index 82d5aa4089..6a57f29114 100644 --- a/packages/types/src/rich-filters/expression.ts +++ b/packages/types/src/rich-filters/expression.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import type { SingleOrArray } from "../utils"; import type { TSupportedOperators, LOGICAL_OPERATOR, TAllAvailableOperatorsForDisplay } from "./operators"; diff --git a/packages/types/src/rich-filters/field-types/core.ts b/packages/types/src/rich-filters/field-types/core.ts index ed88466afb..88bc53c6c9 100644 --- a/packages/types/src/rich-filters/field-types/core.ts +++ b/packages/types/src/rich-filters/field-types/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterValue } from "../expression"; import type { TSupportedOperators } from "../operators"; import type { TBaseFilterFieldConfig, IFilterOption } from "./shared"; diff --git a/packages/types/src/rich-filters/field-types/extended.ts b/packages/types/src/rich-filters/field-types/extended.ts index 7c7bbf3264..1d8aa96682 100644 --- a/packages/types/src/rich-filters/field-types/extended.ts +++ b/packages/types/src/rich-filters/field-types/extended.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterValue } from "../expression"; /** diff --git a/packages/types/src/rich-filters/field-types/index.ts b/packages/types/src/rich-filters/field-types/index.ts index 303cd03e28..9de366bbe6 100644 --- a/packages/types/src/rich-filters/field-types/index.ts +++ b/packages/types/src/rich-filters/field-types/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterValue } from "../expression"; import type { TCoreFilterFieldConfigs } from "./core"; import { CORE_FILTER_FIELD_TYPE } from "./core"; diff --git a/packages/types/src/rich-filters/field-types/shared.ts b/packages/types/src/rich-filters/field-types/shared.ts index e4f6f1a9d1..58e675d4f7 100644 --- a/packages/types/src/rich-filters/field-types/shared.ts +++ b/packages/types/src/rich-filters/field-types/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterValue } from "../expression"; /** diff --git a/packages/types/src/rich-filters/index.ts b/packages/types/src/rich-filters/index.ts index e242d63e16..0ac0c31913 100644 --- a/packages/types/src/rich-filters/index.ts +++ b/packages/types/src/rich-filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./adapter"; export * from "./builder"; export * from "./config"; diff --git a/packages/types/src/rich-filters/operator-configs/core.ts b/packages/types/src/rich-filters/operator-configs/core.ts index 3d1909ee7a..b8eb9d3a11 100644 --- a/packages/types/src/rich-filters/operator-configs/core.ts +++ b/packages/types/src/rich-filters/operator-configs/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterValue } from "../expression"; import type { TDateFilterFieldConfig, diff --git a/packages/types/src/rich-filters/operator-configs/extended.ts b/packages/types/src/rich-filters/operator-configs/extended.ts index 20b0846571..1ef1c55bcd 100644 --- a/packages/types/src/rich-filters/operator-configs/extended.ts +++ b/packages/types/src/rich-filters/operator-configs/extended.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ----------------------------- EXACT Operator ----------------------------- export type TExtendedExactOperatorConfigs = never; diff --git a/packages/types/src/rich-filters/operator-configs/index.ts b/packages/types/src/rich-filters/operator-configs/index.ts index 562befb49a..6e0cc4c531 100644 --- a/packages/types/src/rich-filters/operator-configs/index.ts +++ b/packages/types/src/rich-filters/operator-configs/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { EQUALITY_OPERATOR, COLLECTION_OPERATOR, COMPARISON_OPERATOR } from "../operators"; import type { TCoreExactOperatorConfigs, TCoreInOperatorConfigs, TCoreRangeOperatorConfigs } from "./core"; import type { diff --git a/packages/types/src/rich-filters/operators/core.ts b/packages/types/src/rich-filters/operators/core.ts index 602fdab945..6497a7fcc6 100644 --- a/packages/types/src/rich-filters/operators/core.ts +++ b/packages/types/src/rich-filters/operators/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Core logical operators */ diff --git a/packages/types/src/rich-filters/operators/extended.ts b/packages/types/src/rich-filters/operators/extended.ts index 4616e40b6d..16fe15aed4 100644 --- a/packages/types/src/rich-filters/operators/extended.ts +++ b/packages/types/src/rich-filters/operators/extended.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Extended logical operators */ diff --git a/packages/types/src/rich-filters/operators/index.ts b/packages/types/src/rich-filters/operators/index.ts index d7fe9baa43..1433903151 100644 --- a/packages/types/src/rich-filters/operators/index.ts +++ b/packages/types/src/rich-filters/operators/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TCoreSupportedOperators } from "./core"; import { CORE_LOGICAL_OPERATOR, diff --git a/packages/types/src/search.ts b/packages/types/src/search.ts index eb49579858..e619a7d1c5 100644 --- a/packages/types/src/search.ts +++ b/packages/types/src/search.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ICycle } from "./cycle"; import type { TIssue } from "./issues/issue"; import type { IModule } from "./module"; diff --git a/packages/types/src/settings.ts b/packages/types/src/settings.ts index b7c954a57d..7eb994dd56 100644 --- a/packages/types/src/settings.ts +++ b/packages/types/src/settings.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import type { EUserProjectRoles } from "."; import type { EUserWorkspaceRoles } from "./workspace"; diff --git a/packages/types/src/state.ts b/packages/types/src/state.ts index 7392606e2e..2af6482e70 100644 --- a/packages/types/src/state.ts +++ b/packages/types/src/state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TStateGroups = "backlog" | "unstarted" | "started" | "completed" | "cancelled"; export interface IState { diff --git a/packages/types/src/stickies.ts b/packages/types/src/stickies.ts index e8fefa1df0..649bac9c4e 100644 --- a/packages/types/src/stickies.ts +++ b/packages/types/src/stickies.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLogoProps } from "./common"; export type TSticky = { diff --git a/packages/types/src/timezone.ts b/packages/types/src/timezone.ts index b4df123a30..e963303fbc 100644 --- a/packages/types/src/timezone.ts +++ b/packages/types/src/timezone.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TTimezoneObject = { utc_offset: string; gmt_offset: string; diff --git a/packages/types/src/users.ts b/packages/types/src/users.ts index 327cbb482d..69cc3f201f 100644 --- a/packages/types/src/users.ts +++ b/packages/types/src/users.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TUserPermissions } from "./enums"; import type { IIssueActivity, TIssuePriorities, TStateGroups } from "."; import type { TLoginMediums } from "./instance"; diff --git a/packages/types/src/utils.ts b/packages/types/src/utils.ts index 81cc8a581d..2947bd4fbe 100644 --- a/packages/types/src/utils.ts +++ b/packages/types/src/utils.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type PartialDeep = { [attr in keyof K]?: K[attr] extends object ? PartialDeep : K[attr]; }; diff --git a/packages/types/src/view-props.ts b/packages/types/src/view-props.ts index 40f22e07ae..638afa0fd1 100644 --- a/packages/types/src/view-props.ts +++ b/packages/types/src/view-props.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IProjectMemberNavigationPreferences } from "./project"; import type { TIssue } from "./issues/issue"; import type { LOGICAL_OPERATOR, TSupportedOperators } from "./rich-filters"; diff --git a/packages/types/src/views.ts b/packages/types/src/views.ts index a44e5c61fa..4991b2da97 100644 --- a/packages/types/src/views.ts +++ b/packages/types/src/views.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLogoProps } from "./common"; import type { IIssueDisplayFilterOptions, diff --git a/packages/types/src/waitlist.ts b/packages/types/src/waitlist.ts index 3c199ad074..5ec48606a0 100644 --- a/packages/types/src/waitlist.ts +++ b/packages/types/src/waitlist.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface IWebWaitListResponse { status: string; } diff --git a/packages/types/src/webhook.ts b/packages/types/src/webhook.ts index 1a08ee89db..357dcbc5b8 100644 --- a/packages/types/src/webhook.ts +++ b/packages/types/src/webhook.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export interface IWebhook { created_at: string; cycle: boolean; diff --git a/packages/types/src/workspace-draft-issues/base.ts b/packages/types/src/workspace-draft-issues/base.ts index 30185a0b02..65402c4894 100644 --- a/packages/types/src/workspace-draft-issues/base.ts +++ b/packages/types/src/workspace-draft-issues/base.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TIssuePriorities } from "../issues"; export type TWorkspaceDraftIssue = { diff --git a/packages/types/src/workspace-notifications.ts b/packages/types/src/workspace-notifications.ts index d9994f17a8..e9f0a68d67 100644 --- a/packages/types/src/workspace-notifications.ts +++ b/packages/types/src/workspace-notifications.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ENotificationFilterType } from "./enums"; import type { IUserLite } from "./users"; diff --git a/packages/types/src/workspace-views.ts b/packages/types/src/workspace-views.ts index 924d2e19da..1a9a2c43e3 100644 --- a/packages/types/src/workspace-views.ts +++ b/packages/types/src/workspace-views.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { IWorkspaceViewProps, IIssueDisplayFilterOptions, diff --git a/packages/types/src/workspace.ts b/packages/types/src/workspace.ts index 8c37ff2391..fe2a410f61 100644 --- a/packages/types/src/workspace.ts +++ b/packages/types/src/workspace.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TPaginationInfo } from "./common"; import type { ICycle } from "./cycle"; import type { TUserPermissions } from "./enums"; diff --git a/packages/ui/.storybook/main.ts b/packages/ui/.storybook/main.ts index c5762d3ea0..9fd0c6c461 100644 --- a/packages/ui/.storybook/main.ts +++ b/packages/ui/.storybook/main.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { StorybookConfig } from "@storybook/react-webpack5"; import { join, dirname } from "path"; diff --git a/packages/ui/.storybook/preview.ts b/packages/ui/.storybook/preview.ts index 20d53eaffb..77e839471b 100644 --- a/packages/ui/.storybook/preview.ts +++ b/packages/ui/.storybook/preview.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Preview } from "@storybook/react"; import "../styles/output.css"; const preview: Preview = { diff --git a/packages/ui/src/auth-form/auth-confirm-password-input.tsx b/packages/ui/src/auth-form/auth-confirm-password-input.tsx index 92129c928b..4b81c0c8a8 100644 --- a/packages/ui/src/auth-form/auth-confirm-password-input.tsx +++ b/packages/ui/src/auth-form/auth-confirm-password-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import { cn } from "@plane/utils"; import { AuthInput } from "./auth-input"; diff --git a/packages/ui/src/auth-form/auth-forgot-password.tsx b/packages/ui/src/auth-form/auth-forgot-password.tsx index 52defca6b2..3415af6ce3 100644 --- a/packages/ui/src/auth-form/auth-forgot-password.tsx +++ b/packages/ui/src/auth-form/auth-forgot-password.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { cn } from "../utils"; diff --git a/packages/ui/src/auth-form/auth-form.tsx b/packages/ui/src/auth-form/auth-form.tsx index 5930c1e7da..6ebaf822b4 100644 --- a/packages/ui/src/auth-form/auth-form.tsx +++ b/packages/ui/src/auth-form/auth-form.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useMemo } from "react"; import { E_PASSWORD_STRENGTH } from "@plane/constants"; import { Button } from "../button/button"; diff --git a/packages/ui/src/auth-form/auth-input.tsx b/packages/ui/src/auth-form/auth-input.tsx index 42ae865ee9..9586d5e8df 100644 --- a/packages/ui/src/auth-form/auth-input.tsx +++ b/packages/ui/src/auth-form/auth-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Eye, EyeOff } from "lucide-react"; import React, { useState } from "react"; import { Input } from "../form-fields/input"; diff --git a/packages/ui/src/auth-form/auth-password-input.tsx b/packages/ui/src/auth-form/auth-password-input.tsx index 1841379815..dcf7651d1d 100644 --- a/packages/ui/src/auth-form/auth-password-input.tsx +++ b/packages/ui/src/auth-form/auth-password-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState } from "react"; import type { E_PASSWORD_STRENGTH } from "@plane/constants"; import { cn, getPasswordStrength } from "@plane/utils"; diff --git a/packages/ui/src/auth-form/index.ts b/packages/ui/src/auth-form/index.ts index 3f28ac1105..42b5389240 100644 --- a/packages/ui/src/auth-form/index.ts +++ b/packages/ui/src/auth-form/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { AuthForm } from "./auth-form"; export { AuthInput } from "./auth-input"; export { AuthPasswordInput } from "./auth-password-input"; diff --git a/packages/ui/src/avatar/avatar-group.tsx b/packages/ui/src/avatar/avatar-group.tsx index ed62e67697..5e19167dde 100644 --- a/packages/ui/src/avatar/avatar-group.tsx +++ b/packages/ui/src/avatar/avatar-group.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // ui import { Tooltip } from "@plane/propel/tooltip"; diff --git a/packages/ui/src/avatar/avatar.stories.tsx b/packages/ui/src/avatar/avatar.stories.tsx index c3053cd738..9f96059f6d 100644 --- a/packages/ui/src/avatar/avatar.stories.tsx +++ b/packages/ui/src/avatar/avatar.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react"; import { Avatar } from "./avatar"; diff --git a/packages/ui/src/avatar/avatar.tsx b/packages/ui/src/avatar/avatar.tsx index 09f2c1e5ff..7cc82712be 100644 --- a/packages/ui/src/avatar/avatar.tsx +++ b/packages/ui/src/avatar/avatar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // ui import { Tooltip } from "@plane/propel/tooltip"; // helpers diff --git a/packages/ui/src/avatar/helper.tsx b/packages/ui/src/avatar/helper.tsx index a5019473a1..b72cbcc3e8 100644 --- a/packages/ui/src/avatar/helper.tsx +++ b/packages/ui/src/avatar/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TAvatarSize = "sm" | "md" | "base" | "lg" | number; /** diff --git a/packages/ui/src/avatar/index.ts b/packages/ui/src/avatar/index.ts index 3ccfbeca09..2fbdafee02 100644 --- a/packages/ui/src/avatar/index.ts +++ b/packages/ui/src/avatar/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./avatar-group"; export * from "./avatar"; diff --git a/packages/ui/src/badge/badge.tsx b/packages/ui/src/badge/badge.tsx index 7f1cca1c4f..dc33ae9e05 100644 --- a/packages/ui/src/badge/badge.tsx +++ b/packages/ui/src/badge/badge.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; // helpers import { cn } from "../utils"; diff --git a/packages/ui/src/badge/helper.tsx b/packages/ui/src/badge/helper.tsx index bb7e0acbe8..b4adf5a8d7 100644 --- a/packages/ui/src/badge/helper.tsx +++ b/packages/ui/src/badge/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TBadgeVariant = | "primary" | "accent-primary" diff --git a/packages/ui/src/badge/index.ts b/packages/ui/src/badge/index.ts index 80844a4e3f..87b72e5f67 100644 --- a/packages/ui/src/badge/index.ts +++ b/packages/ui/src/badge/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./badge"; diff --git a/packages/ui/src/breadcrumbs/breadcrumbs.stories.tsx b/packages/ui/src/breadcrumbs/breadcrumbs.stories.tsx index acddb1757f..f2f07b8858 100644 --- a/packages/ui/src/breadcrumbs/breadcrumbs.stories.tsx +++ b/packages/ui/src/breadcrumbs/breadcrumbs.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react"; import { Home, Settings, Briefcase, GridIcon, Layers2, FileIcon } from "lucide-react"; import * as React from "react"; diff --git a/packages/ui/src/breadcrumbs/breadcrumbs.tsx b/packages/ui/src/breadcrumbs/breadcrumbs.tsx index 378490fb0a..e9b5e2bb93 100644 --- a/packages/ui/src/breadcrumbs/breadcrumbs.tsx +++ b/packages/ui/src/breadcrumbs/breadcrumbs.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { ChevronRightIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/packages/ui/src/breadcrumbs/index.ts b/packages/ui/src/breadcrumbs/index.ts index 192bd57510..059e259175 100644 --- a/packages/ui/src/breadcrumbs/index.ts +++ b/packages/ui/src/breadcrumbs/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./breadcrumbs"; export * from "./navigation-dropdown"; export * from "./navigation-search-dropdown"; diff --git a/packages/ui/src/breadcrumbs/navigation-dropdown.tsx b/packages/ui/src/breadcrumbs/navigation-dropdown.tsx index 9010602c5a..73dffbfee2 100644 --- a/packages/ui/src/breadcrumbs/navigation-dropdown.tsx +++ b/packages/ui/src/breadcrumbs/navigation-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CheckIcon } from "lucide-react"; import * as React from "react"; // ui diff --git a/packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx b/packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx index 0ccc2e5090..ab3f9bbace 100644 --- a/packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx +++ b/packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { useState } from "react"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/packages/ui/src/button/button.tsx b/packages/ui/src/button/button.tsx index 1717d8a8a9..0865507660 100644 --- a/packages/ui/src/button/button.tsx +++ b/packages/ui/src/button/button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; diff --git a/packages/ui/src/button/helper.tsx b/packages/ui/src/button/helper.tsx index e54367fe0b..95ac851643 100644 --- a/packages/ui/src/button/helper.tsx +++ b/packages/ui/src/button/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TButtonVariant = | "primary" | "accent-primary" diff --git a/packages/ui/src/button/index.ts b/packages/ui/src/button/index.ts index d0c99205fc..00e05841dd 100644 --- a/packages/ui/src/button/index.ts +++ b/packages/ui/src/button/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./button"; export * from "./helper"; export * from "./toggle-switch"; diff --git a/packages/ui/src/button/toggle-switch.tsx b/packages/ui/src/button/toggle-switch.tsx index 37651b9f61..b0734b822d 100644 --- a/packages/ui/src/button/toggle-switch.tsx +++ b/packages/ui/src/button/toggle-switch.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Switch } from "@headlessui/react"; // helpers import { cn } from "../utils"; diff --git a/packages/ui/src/card/card.tsx b/packages/ui/src/card/card.tsx index 444d5772e3..4ee7f7e71c 100644 --- a/packages/ui/src/card/card.tsx +++ b/packages/ui/src/card/card.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; import type { TCardDirection, TCardSpacing, TCardVariant } from "./helper"; diff --git a/packages/ui/src/card/helper.tsx b/packages/ui/src/card/helper.tsx index fabaeb74ee..cc914c5da8 100644 --- a/packages/ui/src/card/helper.tsx +++ b/packages/ui/src/card/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum ECardVariant { WITHOUT_SHADOW = "without-shadow", WITH_SHADOW = "with-shadow", diff --git a/packages/ui/src/card/index.ts b/packages/ui/src/card/index.ts index 1d243e763f..4260f8508d 100644 --- a/packages/ui/src/card/index.ts +++ b/packages/ui/src/card/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./card"; diff --git a/packages/ui/src/collapsible/collapsible-button.tsx b/packages/ui/src/collapsible/collapsible-button.tsx index bdb6cb89bf..def0374926 100644 --- a/packages/ui/src/collapsible/collapsible-button.tsx +++ b/packages/ui/src/collapsible/collapsible-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; import type { ISvgIcons } from "@plane/propel/icons"; diff --git a/packages/ui/src/collapsible/collapsible.tsx b/packages/ui/src/collapsible/collapsible.tsx index 8d83eda65d..0831db3bb1 100644 --- a/packages/ui/src/collapsible/collapsible.tsx +++ b/packages/ui/src/collapsible/collapsible.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Disclosure, Transition } from "@headlessui/react"; import React, { useState, useEffect, useCallback } from "react"; diff --git a/packages/ui/src/collapsible/index.ts b/packages/ui/src/collapsible/index.ts index 04441c4c31..e1a798d68a 100644 --- a/packages/ui/src/collapsible/index.ts +++ b/packages/ui/src/collapsible/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./collapsible"; export * from "./collapsible-button"; diff --git a/packages/ui/src/color-picker/color-picker.tsx b/packages/ui/src/color-picker/color-picker.tsx index d6993d6539..dae4cb173a 100644 --- a/packages/ui/src/color-picker/color-picker.tsx +++ b/packages/ui/src/color-picker/color-picker.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; interface ColorPickerProps { diff --git a/packages/ui/src/color-picker/index.ts b/packages/ui/src/color-picker/index.ts index 6bad1d67ec..bd07a2105c 100644 --- a/packages/ui/src/color-picker/index.ts +++ b/packages/ui/src/color-picker/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./color-picker"; diff --git a/packages/ui/src/constants/icons.ts b/packages/ui/src/constants/icons.ts index c112f31fd0..d7382c337c 100644 --- a/packages/ui/src/constants/icons.ts +++ b/packages/ui/src/constants/icons.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Activity, Airplay, diff --git a/packages/ui/src/constants/index.ts b/packages/ui/src/constants/index.ts index 6ef8d54d41..502e2c04d4 100644 --- a/packages/ui/src/constants/index.ts +++ b/packages/ui/src/constants/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./icons"; diff --git a/packages/ui/src/content-wrapper/content-wrapper.tsx b/packages/ui/src/content-wrapper/content-wrapper.tsx index af79cbc759..e69011c963 100644 --- a/packages/ui/src/content-wrapper/content-wrapper.tsx +++ b/packages/ui/src/content-wrapper/content-wrapper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { Row } from "../row"; import type { TRowVariant } from "../row/helper"; diff --git a/packages/ui/src/content-wrapper/index.ts b/packages/ui/src/content-wrapper/index.ts index 14eaf12a45..f80f269932 100644 --- a/packages/ui/src/content-wrapper/index.ts +++ b/packages/ui/src/content-wrapper/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./content-wrapper"; diff --git a/packages/ui/src/control-link/control-link.tsx b/packages/ui/src/control-link/control-link.tsx index b5df552df1..39249fb0b0 100644 --- a/packages/ui/src/control-link/control-link.tsx +++ b/packages/ui/src/control-link/control-link.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; export type TControlLink = React.AnchorHTMLAttributes & { diff --git a/packages/ui/src/control-link/index.ts b/packages/ui/src/control-link/index.ts index 86cdfc28ea..aad6124b0f 100644 --- a/packages/ui/src/control-link/index.ts +++ b/packages/ui/src/control-link/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./control-link"; diff --git a/packages/ui/src/drag-handle.tsx b/packages/ui/src/drag-handle.tsx index da140272c8..9392c3392e 100644 --- a/packages/ui/src/drag-handle.tsx +++ b/packages/ui/src/drag-handle.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { MoreVertical } from "lucide-react"; import React, { forwardRef } from "react"; // helpers diff --git a/packages/ui/src/drop-indicator.tsx b/packages/ui/src/drop-indicator.tsx index 4b1f1be2d7..5179cdaa7e 100644 --- a/packages/ui/src/drop-indicator.tsx +++ b/packages/ui/src/drop-indicator.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { cn } from "./utils"; diff --git a/packages/ui/src/dropdown/common/button.tsx b/packages/ui/src/dropdown/common/button.tsx index 7583d58dfa..fa47da583c 100644 --- a/packages/ui/src/dropdown/common/button.tsx +++ b/packages/ui/src/dropdown/common/button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Combobox } from "@headlessui/react"; import React, { Fragment } from "react"; // helper diff --git a/packages/ui/src/dropdown/common/index.ts b/packages/ui/src/dropdown/common/index.ts index f9a6d73885..e13268153b 100644 --- a/packages/ui/src/dropdown/common/index.ts +++ b/packages/ui/src/dropdown/common/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./input-search"; export * from "./button"; export * from "./options"; diff --git a/packages/ui/src/dropdown/common/input-search.tsx b/packages/ui/src/dropdown/common/input-search.tsx index f90aec24ba..9b96a23c2e 100644 --- a/packages/ui/src/dropdown/common/input-search.tsx +++ b/packages/ui/src/dropdown/common/input-search.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Combobox } from "@headlessui/react"; import React, { useEffect, useRef } from "react"; import { SearchIcon } from "@plane/propel/icons"; diff --git a/packages/ui/src/dropdown/common/loader.tsx b/packages/ui/src/dropdown/common/loader.tsx index d93460f448..268681ba45 100644 --- a/packages/ui/src/dropdown/common/loader.tsx +++ b/packages/ui/src/dropdown/common/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { range } from "lodash-es"; import React from "react"; diff --git a/packages/ui/src/dropdown/common/options.tsx b/packages/ui/src/dropdown/common/options.tsx index 7a531cd28a..40a30ef57b 100644 --- a/packages/ui/src/dropdown/common/options.tsx +++ b/packages/ui/src/dropdown/common/options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Combobox } from "@headlessui/react"; import React from "react"; diff --git a/packages/ui/src/dropdown/index.ts b/packages/ui/src/dropdown/index.ts index a15df9567f..41ad217ae9 100644 --- a/packages/ui/src/dropdown/index.ts +++ b/packages/ui/src/dropdown/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./common"; export * from "./multi-select"; export * from "./single-select"; diff --git a/packages/ui/src/dropdown/multi-select.tsx b/packages/ui/src/dropdown/multi-select.tsx index bc67130aee..d7a9cf221d 100644 --- a/packages/ui/src/dropdown/multi-select.tsx +++ b/packages/ui/src/dropdown/multi-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Combobox } from "@headlessui/react"; import { sortBy } from "lodash-es"; import type { FC } from "react"; diff --git a/packages/ui/src/dropdown/single-select.tsx b/packages/ui/src/dropdown/single-select.tsx index 9c8911a76e..cb960c9249 100644 --- a/packages/ui/src/dropdown/single-select.tsx +++ b/packages/ui/src/dropdown/single-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Combobox } from "@headlessui/react"; import { sortBy } from "lodash-es"; import type { FC } from "react"; diff --git a/packages/ui/src/dropdowns/combo-box.tsx b/packages/ui/src/dropdowns/combo-box.tsx index 2b36852f05..e7c63d5fe8 100644 --- a/packages/ui/src/dropdowns/combo-box.tsx +++ b/packages/ui/src/dropdowns/combo-box.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Combobox } from "@headlessui/react"; import type { ElementType, KeyboardEventHandler, ReactNode, Ref } from "react"; import React, { Fragment, forwardRef, useEffect, useRef, useState } from "react"; diff --git a/packages/ui/src/dropdowns/context-menu/index.ts b/packages/ui/src/dropdowns/context-menu/index.ts index 9665324ca6..b405420468 100644 --- a/packages/ui/src/dropdowns/context-menu/index.ts +++ b/packages/ui/src/dropdowns/context-menu/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./item"; export * from "./root"; diff --git a/packages/ui/src/dropdowns/context-menu/item.tsx b/packages/ui/src/dropdowns/context-menu/item.tsx index a02997e573..9cbb0fe565 100644 --- a/packages/ui/src/dropdowns/context-menu/item.tsx +++ b/packages/ui/src/dropdowns/context-menu/item.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useState, useRef, useContext } from "react"; import { usePopper } from "react-popper"; import { ChevronRightIcon } from "@plane/propel/icons"; diff --git a/packages/ui/src/dropdowns/context-menu/root.tsx b/packages/ui/src/dropdowns/context-menu/root.tsx index 1ba97f8711..2f903fa21d 100644 --- a/packages/ui/src/dropdowns/context-menu/root.tsx +++ b/packages/ui/src/dropdowns/context-menu/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useEffect, useRef, useState } from "react"; import ReactDOM from "react-dom"; // hooks diff --git a/packages/ui/src/dropdowns/custom-menu.tsx b/packages/ui/src/dropdowns/custom-menu.tsx index cd68872e55..6b6f5fed3a 100644 --- a/packages/ui/src/dropdowns/custom-menu.tsx +++ b/packages/ui/src/dropdowns/custom-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Menu } from "@headlessui/react"; import { MoreHorizontal } from "lucide-react"; import * as React from "react"; diff --git a/packages/ui/src/dropdowns/custom-search-select.tsx b/packages/ui/src/dropdowns/custom-search-select.tsx index 41ed62a545..99694860cd 100644 --- a/packages/ui/src/dropdowns/custom-search-select.tsx +++ b/packages/ui/src/dropdowns/custom-search-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Combobox } from "@headlessui/react"; import { Info } from "lucide-react"; import React, { useRef, useState } from "react"; diff --git a/packages/ui/src/dropdowns/custom-select.tsx b/packages/ui/src/dropdowns/custom-select.tsx index a627e4d484..59c726e071 100644 --- a/packages/ui/src/dropdowns/custom-select.tsx +++ b/packages/ui/src/dropdowns/custom-select.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Combobox } from "@headlessui/react"; import React, { createContext, useCallback, useContext, useRef, useState } from "react"; diff --git a/packages/ui/src/dropdowns/helper.tsx b/packages/ui/src/dropdowns/helper.tsx index 97b0871051..508686d1c4 100644 --- a/packages/ui/src/dropdowns/helper.tsx +++ b/packages/ui/src/dropdowns/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // FIXME: fix this!!! import type { ICustomSearchSelectOption } from "@plane/types"; diff --git a/packages/ui/src/dropdowns/index.ts b/packages/ui/src/dropdowns/index.ts index 617778da28..3f0340afe5 100644 --- a/packages/ui/src/dropdowns/index.ts +++ b/packages/ui/src/dropdowns/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./context-menu"; export * from "./custom-menu"; export * from "./custom-select"; diff --git a/packages/ui/src/favorite-star.tsx b/packages/ui/src/favorite-star.tsx index 0dfaad944a..f87e1d674c 100644 --- a/packages/ui/src/favorite-star.tsx +++ b/packages/ui/src/favorite-star.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Star } from "lucide-react"; import React from "react"; // helpers diff --git a/packages/ui/src/form-fields/checkbox.tsx b/packages/ui/src/form-fields/checkbox.tsx index b49d95de30..650732a442 100644 --- a/packages/ui/src/form-fields/checkbox.tsx +++ b/packages/ui/src/form-fields/checkbox.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; // helpers import { cn } from "../utils"; diff --git a/packages/ui/src/form-fields/index.ts b/packages/ui/src/form-fields/index.ts index 7c08999a63..bfa406577b 100644 --- a/packages/ui/src/form-fields/index.ts +++ b/packages/ui/src/form-fields/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./input"; export * from "./textarea"; export * from "./input-color-picker"; diff --git a/packages/ui/src/form-fields/input-color-picker.tsx b/packages/ui/src/form-fields/input-color-picker.tsx index 0e3a30ed45..f09214d69e 100644 --- a/packages/ui/src/form-fields/input-color-picker.tsx +++ b/packages/ui/src/form-fields/input-color-picker.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Popover, Transition } from "@headlessui/react"; import * as React from "react"; import * as ColorPicker from "react-color"; diff --git a/packages/ui/src/form-fields/input.tsx b/packages/ui/src/form-fields/input.tsx index 292b44a3c2..1539df6b0f 100644 --- a/packages/ui/src/form-fields/input.tsx +++ b/packages/ui/src/form-fields/input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; // helpers import { cn } from "../utils"; diff --git a/packages/ui/src/form-fields/password/helper.tsx b/packages/ui/src/form-fields/password/helper.tsx index 8dad95cdf9..f5560be259 100644 --- a/packages/ui/src/form-fields/password/helper.tsx +++ b/packages/ui/src/form-fields/password/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { E_PASSWORD_STRENGTH } from "@plane/constants"; export interface StrengthInfo { diff --git a/packages/ui/src/form-fields/password/index.ts b/packages/ui/src/form-fields/password/index.ts index e391edbd15..3953436d80 100644 --- a/packages/ui/src/form-fields/password/index.ts +++ b/packages/ui/src/form-fields/password/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./indicator"; export * from "./helper"; export * from "./password-input"; diff --git a/packages/ui/src/form-fields/password/indicator.tsx b/packages/ui/src/form-fields/password/indicator.tsx index 87e5f89f74..7821a50d7d 100644 --- a/packages/ui/src/form-fields/password/indicator.tsx +++ b/packages/ui/src/form-fields/password/indicator.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { CircleCheck } from "lucide-react"; import React from "react"; import { E_PASSWORD_STRENGTH } from "@plane/constants"; diff --git a/packages/ui/src/form-fields/password/password-input.tsx b/packages/ui/src/form-fields/password/password-input.tsx index 0c453c8645..ed391645ad 100644 --- a/packages/ui/src/form-fields/password/password-input.tsx +++ b/packages/ui/src/form-fields/password/password-input.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Eye, EyeClosed } from "lucide-react"; import React, { useState } from "react"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/packages/ui/src/form-fields/root.tsx b/packages/ui/src/form-fields/root.tsx index 70ee40c050..84b3ee918c 100644 --- a/packages/ui/src/form-fields/root.tsx +++ b/packages/ui/src/form-fields/root.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { cn } from "@plane/utils"; diff --git a/packages/ui/src/form-fields/textarea.tsx b/packages/ui/src/form-fields/textarea.tsx index dd39746eb8..f5a747b9c9 100644 --- a/packages/ui/src/form-fields/textarea.tsx +++ b/packages/ui/src/form-fields/textarea.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { useRef } from "react"; // helpers import { useAutoResizeTextArea } from "../hooks/use-auto-resize-textarea"; diff --git a/packages/ui/src/header/header.tsx b/packages/ui/src/header/header.tsx index 1f80bc36b6..654907123b 100644 --- a/packages/ui/src/header/header.tsx +++ b/packages/ui/src/header/header.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { ERowVariant, Row } from "../row"; import { cn } from "../utils"; diff --git a/packages/ui/src/header/helper.tsx b/packages/ui/src/header/helper.tsx index b43ab2343b..8c013a5350 100644 --- a/packages/ui/src/header/helper.tsx +++ b/packages/ui/src/header/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EHeaderVariant { PRIMARY = "primary", SECONDARY = "secondary", diff --git a/packages/ui/src/header/index.ts b/packages/ui/src/header/index.ts index 49ac70fe21..f595712fc2 100644 --- a/packages/ui/src/header/index.ts +++ b/packages/ui/src/header/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./header"; diff --git a/packages/ui/src/hooks/use-auto-resize-textarea.ts b/packages/ui/src/hooks/use-auto-resize-textarea.ts index 326319f24e..ae670e3c47 100644 --- a/packages/ui/src/hooks/use-auto-resize-textarea.ts +++ b/packages/ui/src/hooks/use-auto-resize-textarea.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useLayoutEffect } from "react"; export const useAutoResizeTextArea = ( diff --git a/packages/ui/src/hooks/use-dropdown-key-down.tsx b/packages/ui/src/hooks/use-dropdown-key-down.tsx index 2dfe6532ea..98cc97b8a3 100644 --- a/packages/ui/src/hooks/use-dropdown-key-down.tsx +++ b/packages/ui/src/hooks/use-dropdown-key-down.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; type TUseDropdownKeyDown = { diff --git a/packages/ui/src/hooks/use-dropdown-key-pressed.ts b/packages/ui/src/hooks/use-dropdown-key-pressed.ts index 15552d34d8..881079a117 100644 --- a/packages/ui/src/hooks/use-dropdown-key-pressed.ts +++ b/packages/ui/src/hooks/use-dropdown-key-pressed.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { useCallback } from "react"; type TUseDropdownKeyPressed = { diff --git a/packages/ui/src/hooks/use-platform-os.ts b/packages/ui/src/hooks/use-platform-os.ts index e07f19ad41..5c56a5547f 100644 --- a/packages/ui/src/hooks/use-platform-os.ts +++ b/packages/ui/src/hooks/use-platform-os.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const usePlatformOS = () => { const userAgent = window.navigator.userAgent; const isMobile = /iPhone|iPad|iPod|Android/i.test(userAgent); diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts index 5792b26d42..31194781ac 100644 --- a/packages/ui/src/index.ts +++ b/packages/ui/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./avatar"; export * from "./badge"; export * from "./breadcrumbs"; diff --git a/packages/ui/src/link/block.tsx b/packages/ui/src/link/block.tsx index 1358237932..9676428fe1 100644 --- a/packages/ui/src/link/block.tsx +++ b/packages/ui/src/link/block.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React from "react"; // plane utils diff --git a/packages/ui/src/link/index.ts b/packages/ui/src/link/index.ts index 086dec9131..25a317fbcb 100644 --- a/packages/ui/src/link/index.ts +++ b/packages/ui/src/link/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./block"; diff --git a/packages/ui/src/loader.tsx b/packages/ui/src/loader.tsx index 8369fc99da..836a412bbb 100644 --- a/packages/ui/src/loader.tsx +++ b/packages/ui/src/loader.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // helpers import { cn } from "./utils"; diff --git a/packages/ui/src/modals/alert-modal.tsx b/packages/ui/src/modals/alert-modal.tsx index 2d92c46437..adf4edd905 100644 --- a/packages/ui/src/modals/alert-modal.tsx +++ b/packages/ui/src/modals/alert-modal.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { LucideIcon } from "lucide-react"; import { AlertTriangle, Info } from "lucide-react"; import React from "react"; diff --git a/packages/ui/src/modals/constants.ts b/packages/ui/src/modals/constants.ts index e1eccd9412..e094d07bd8 100644 --- a/packages/ui/src/modals/constants.ts +++ b/packages/ui/src/modals/constants.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum EModalPosition { TOP = "flex items-center justify-center text-center mx-4 my-10 md:my-20", CENTER = "flex items-end sm:items-center justify-center p-4 min-h-full", diff --git a/packages/ui/src/modals/index.ts b/packages/ui/src/modals/index.ts index 964864f7bb..41737eba78 100644 --- a/packages/ui/src/modals/index.ts +++ b/packages/ui/src/modals/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./alert-modal"; export * from "./constants"; export * from "./modal-core"; diff --git a/packages/ui/src/modals/modal-core.tsx b/packages/ui/src/modals/modal-core.tsx index 9ff4674086..1d7177d7c0 100644 --- a/packages/ui/src/modals/modal-core.tsx +++ b/packages/ui/src/modals/modal-core.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Dialog, Transition } from "@headlessui/react"; import React, { Fragment } from "react"; // constants diff --git a/packages/ui/src/oauth/index.ts b/packages/ui/src/oauth/index.ts index 3491b43f72..200a2107a8 100644 --- a/packages/ui/src/oauth/index.ts +++ b/packages/ui/src/oauth/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./oauth-options"; diff --git a/packages/ui/src/oauth/oauth-button.tsx b/packages/ui/src/oauth/oauth-button.tsx index 06b8c99016..0782ff428a 100644 --- a/packages/ui/src/oauth/oauth-button.tsx +++ b/packages/ui/src/oauth/oauth-button.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; diff --git a/packages/ui/src/oauth/oauth-options.tsx b/packages/ui/src/oauth/oauth-options.tsx index 9796f23ebb..0e0c01ed06 100644 --- a/packages/ui/src/oauth/oauth-options.tsx +++ b/packages/ui/src/oauth/oauth-options.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; import { OAuthButton } from "./oauth-button"; diff --git a/packages/ui/src/popovers/index.ts b/packages/ui/src/popovers/index.ts index 4a83d31147..e60cea9a48 100644 --- a/packages/ui/src/popovers/index.ts +++ b/packages/ui/src/popovers/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./popover"; export * from "./popover-menu"; diff --git a/packages/ui/src/popovers/popover-menu.stories.tsx b/packages/ui/src/popovers/popover-menu.stories.tsx index b65d1a1a7b..e9faca71b6 100644 --- a/packages/ui/src/popovers/popover-menu.stories.tsx +++ b/packages/ui/src/popovers/popover-menu.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; import { PopoverMenu } from "./popover-menu"; diff --git a/packages/ui/src/popovers/popover-menu.tsx b/packages/ui/src/popovers/popover-menu.tsx index 896f49893c..cc194d9a17 100644 --- a/packages/ui/src/popovers/popover-menu.tsx +++ b/packages/ui/src/popovers/popover-menu.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React, { Fragment } from "react"; // components import { cn } from "../utils"; diff --git a/packages/ui/src/popovers/popover.stories.tsx b/packages/ui/src/popovers/popover.stories.tsx index f3b4a32d67..042b64aa4e 100644 --- a/packages/ui/src/popovers/popover.stories.tsx +++ b/packages/ui/src/popovers/popover.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; import { Popover } from "./popover"; diff --git a/packages/ui/src/popovers/popover.tsx b/packages/ui/src/popovers/popover.tsx index 237622bc4d..2a0fddf6c7 100644 --- a/packages/ui/src/popovers/popover.tsx +++ b/packages/ui/src/popovers/popover.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Popover as HeadlessReactPopover, Transition } from "@headlessui/react"; import { EllipsisVertical } from "lucide-react"; import type { Ref } from "react"; diff --git a/packages/ui/src/popovers/types.ts b/packages/ui/src/popovers/types.ts index 3732766b29..a2c3d33d18 100644 --- a/packages/ui/src/popovers/types.ts +++ b/packages/ui/src/popovers/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Placement } from "@popperjs/core"; import type { MutableRefObject, ReactNode } from "react"; diff --git a/packages/ui/src/progress/circular-progress-indicator.tsx b/packages/ui/src/progress/circular-progress-indicator.tsx index 4e0200bb76..a287479364 100644 --- a/packages/ui/src/progress/circular-progress-indicator.tsx +++ b/packages/ui/src/progress/circular-progress-indicator.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; interface ICircularProgressIndicator { diff --git a/packages/ui/src/progress/index.ts b/packages/ui/src/progress/index.ts index 56d28cee73..25dfa5a60b 100644 --- a/packages/ui/src/progress/index.ts +++ b/packages/ui/src/progress/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./radial-progress"; export * from "./progress-bar"; export * from "./linear-progress-indicator"; diff --git a/packages/ui/src/progress/linear-progress-indicator.tsx b/packages/ui/src/progress/linear-progress-indicator.tsx index e625c3fec3..d85e34f505 100644 --- a/packages/ui/src/progress/linear-progress-indicator.tsx +++ b/packages/ui/src/progress/linear-progress-indicator.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { Tooltip } from "@plane/propel/tooltip"; import { cn } from "../utils"; diff --git a/packages/ui/src/progress/progress-bar.tsx b/packages/ui/src/progress/progress-bar.tsx index 4493548b80..e29f46e0df 100644 --- a/packages/ui/src/progress/progress-bar.tsx +++ b/packages/ui/src/progress/progress-bar.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; type Props = { diff --git a/packages/ui/src/progress/radial-progress.tsx b/packages/ui/src/progress/radial-progress.tsx index 173566d277..346148fd74 100644 --- a/packages/ui/src/progress/radial-progress.tsx +++ b/packages/ui/src/progress/radial-progress.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FC } from "react"; import React, { useState, useEffect } from "react"; diff --git a/packages/ui/src/row/helper.tsx b/packages/ui/src/row/helper.tsx index 15982fddba..d856771e9f 100644 --- a/packages/ui/src/row/helper.tsx +++ b/packages/ui/src/row/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum ERowVariant { REGULAR = "regular", HUGGING = "hugging", diff --git a/packages/ui/src/row/index.ts b/packages/ui/src/row/index.ts index 5494453a74..36afed3416 100644 --- a/packages/ui/src/row/index.ts +++ b/packages/ui/src/row/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./row"; diff --git a/packages/ui/src/row/row.tsx b/packages/ui/src/row/row.tsx index cc223c0e8f..809a1c8775 100644 --- a/packages/ui/src/row/row.tsx +++ b/packages/ui/src/row/row.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; import type { TRowVariant } from "./helper"; diff --git a/packages/ui/src/scroll-area.tsx b/packages/ui/src/scroll-area.tsx index 088f54bfba..a9ceca6940 100644 --- a/packages/ui/src/scroll-area.tsx +++ b/packages/ui/src/scroll-area.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as RadixScrollArea from "@radix-ui/react-scroll-area"; import type { FC } from "react"; import React from "react"; diff --git a/packages/ui/src/sortable/draggable.tsx b/packages/ui/src/sortable/draggable.tsx index 8661eec2cb..0d369e1069 100644 --- a/packages/ui/src/sortable/draggable.tsx +++ b/packages/ui/src/sortable/draggable.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // @ts-expect-error Due to live server dependencies import { combine } from "@atlaskit/pragmatic-drag-and-drop/dist/cjs/entry-point/combine.js"; import { diff --git a/packages/ui/src/sortable/index.ts b/packages/ui/src/sortable/index.ts index 9dde5a4047..170f03cbcb 100644 --- a/packages/ui/src/sortable/index.ts +++ b/packages/ui/src/sortable/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./sortable"; export * from "./draggable"; diff --git a/packages/ui/src/sortable/sortable.stories.tsx b/packages/ui/src/sortable/sortable.stories.tsx index 8468988430..5ae0824bfc 100644 --- a/packages/ui/src/sortable/sortable.stories.tsx +++ b/packages/ui/src/sortable/sortable.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; import { Sortable } from "./sortable"; diff --git a/packages/ui/src/sortable/sortable.tsx b/packages/ui/src/sortable/sortable.tsx index b767aa482d..ceb94de85f 100644 --- a/packages/ui/src/sortable/sortable.tsx +++ b/packages/ui/src/sortable/sortable.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // @ts-expect-error Due to live server dependencies import { monitorForElements } from "@atlaskit/pragmatic-drag-and-drop/dist/cjs/entry-point/element/adapter.js"; import React, { Fragment, useEffect, useMemo } from "react"; diff --git a/packages/ui/src/spinners/circular-bar-spinner.tsx b/packages/ui/src/spinners/circular-bar-spinner.tsx index ab5e5ef758..ad923d5631 100644 --- a/packages/ui/src/spinners/circular-bar-spinner.tsx +++ b/packages/ui/src/spinners/circular-bar-spinner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; interface ICircularBarSpinner extends React.SVGAttributes { diff --git a/packages/ui/src/spinners/circular-spinner.tsx b/packages/ui/src/spinners/circular-spinner.tsx index 1516c029d9..59aacd6cea 100644 --- a/packages/ui/src/spinners/circular-spinner.tsx +++ b/packages/ui/src/spinners/circular-spinner.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; // helpers import { cn } from "../utils"; diff --git a/packages/ui/src/spinners/index.ts b/packages/ui/src/spinners/index.ts index a871a9b77b..45fa139d5d 100644 --- a/packages/ui/src/spinners/index.ts +++ b/packages/ui/src/spinners/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./circular-spinner"; export * from "./circular-bar-spinner"; diff --git a/packages/ui/src/tables/index.ts b/packages/ui/src/tables/index.ts index 0e948df9e8..d16beb43ea 100644 --- a/packages/ui/src/tables/index.ts +++ b/packages/ui/src/tables/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./table"; diff --git a/packages/ui/src/tables/table.stories.tsx b/packages/ui/src/tables/table.stories.tsx index 30b8a1fe0b..e1b03fcb12 100644 --- a/packages/ui/src/tables/table.stories.tsx +++ b/packages/ui/src/tables/table.stories.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Meta, StoryObj } from "@storybook/react"; import React from "react"; import { Table } from "./table"; diff --git a/packages/ui/src/tables/table.tsx b/packages/ui/src/tables/table.tsx index 1f798f32ba..54a27d3e39 100644 --- a/packages/ui/src/tables/table.tsx +++ b/packages/ui/src/tables/table.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; // helpers import { cn } from "../utils"; diff --git a/packages/ui/src/tables/types.ts b/packages/ui/src/tables/types.ts index 9f7acf6ca7..b43882ffcc 100644 --- a/packages/ui/src/tables/types.ts +++ b/packages/ui/src/tables/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TTableColumn = { key: string; content: string; diff --git a/packages/ui/src/tabs/index.ts b/packages/ui/src/tabs/index.ts index c232b43ab4..e4c3e24159 100644 --- a/packages/ui/src/tabs/index.ts +++ b/packages/ui/src/tabs/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./tabs"; export * from "./tab-list"; diff --git a/packages/ui/src/tabs/tab-list.tsx b/packages/ui/src/tabs/tab-list.tsx index 286a398a4a..71e5d02ee5 100644 --- a/packages/ui/src/tabs/tab-list.tsx +++ b/packages/ui/src/tabs/tab-list.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Tab } from "@headlessui/react"; import type { LucideProps } from "lucide-react"; import type { FC } from "react"; diff --git a/packages/ui/src/tabs/tabs.tsx b/packages/ui/src/tabs/tabs.tsx index 3aa7167b9b..56eccaa07f 100644 --- a/packages/ui/src/tabs/tabs.tsx +++ b/packages/ui/src/tabs/tabs.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Tab } from "@headlessui/react"; import type { FC } from "react"; import React, { Fragment, useEffect, useState } from "react"; diff --git a/packages/ui/src/tag/helper.tsx b/packages/ui/src/tag/helper.tsx index cfd5978b06..74f393e730 100644 --- a/packages/ui/src/tag/helper.tsx +++ b/packages/ui/src/tag/helper.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export enum ETagVariant { OUTLINED = "outlined", } diff --git a/packages/ui/src/tag/index.ts b/packages/ui/src/tag/index.ts index 219d72b8c8..66ae25f8f0 100644 --- a/packages/ui/src/tag/index.ts +++ b/packages/ui/src/tag/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./tag"; diff --git a/packages/ui/src/tag/tag.tsx b/packages/ui/src/tag/tag.tsx index 8ae14f07a6..29faf5a35a 100644 --- a/packages/ui/src/tag/tag.tsx +++ b/packages/ui/src/tag/tag.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import * as React from "react"; import { cn } from "../utils"; import type { TTagSize, TTagVariant } from "./helper"; diff --git a/packages/ui/src/tooltip/index.ts b/packages/ui/src/tooltip/index.ts index 3c61782aeb..301cbae308 100644 --- a/packages/ui/src/tooltip/index.ts +++ b/packages/ui/src/tooltip/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./tooltip"; diff --git a/packages/ui/src/tooltip/tooltip.tsx b/packages/ui/src/tooltip/tooltip.tsx index 5b3e96b0bc..a758d5e43f 100644 --- a/packages/ui/src/tooltip/tooltip.tsx +++ b/packages/ui/src/tooltip/tooltip.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Tooltip2 } from "@blueprintjs/popover2"; import React, { useEffect, useRef, useState } from "react"; // helpers diff --git a/packages/ui/src/typography/index.tsx b/packages/ui/src/typography/index.tsx index 0b1b7ffe1c..5c30bfbc20 100644 --- a/packages/ui/src/typography/index.tsx +++ b/packages/ui/src/typography/index.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./sub-heading"; diff --git a/packages/ui/src/typography/sub-heading.tsx b/packages/ui/src/typography/sub-heading.tsx index 31aae6961a..478319ed20 100644 --- a/packages/ui/src/typography/sub-heading.tsx +++ b/packages/ui/src/typography/sub-heading.tsx @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import React from "react"; import { cn } from "../utils"; diff --git a/packages/ui/src/utils/classname.tsx b/packages/ui/src/utils/classname.tsx index 797f39f6bc..7ac89ce895 100644 --- a/packages/ui/src/utils/classname.tsx +++ b/packages/ui/src/utils/classname.tsx @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export { cn } from "@plane/utils"; diff --git a/packages/ui/src/utils/icons.ts b/packages/ui/src/utils/icons.ts index de06cc7356..17d32acc4a 100644 --- a/packages/ui/src/utils/icons.ts +++ b/packages/ui/src/utils/icons.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { LUCIDE_ICONS_LIST } from ".."; /** diff --git a/packages/ui/src/utils/index.ts b/packages/ui/src/utils/index.ts index 62ca197ac9..dd3e40cafb 100644 --- a/packages/ui/src/utils/index.ts +++ b/packages/ui/src/utils/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./classname"; export * from "./icons"; diff --git a/packages/utils/src/array.ts b/packages/utils/src/array.ts index 8e4e9f4278..c284ef3e81 100644 --- a/packages/utils/src/array.ts +++ b/packages/utils/src/array.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isEmpty } from "lodash-es"; import type { IIssueLabel, IIssueLabelTree } from "@plane/types"; diff --git a/packages/utils/src/attachment.ts b/packages/utils/src/attachment.ts index 1f9f4f5a3c..6813ae2416 100644 --- a/packages/utils/src/attachment.ts +++ b/packages/utils/src/attachment.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const generateFileName = (fileName: string) => { const date = new Date(); const timestamp = date.getTime(); diff --git a/packages/utils/src/auth.ts b/packages/utils/src/auth.ts index 28da4eb8f7..d853bccbec 100644 --- a/packages/utils/src/auth.ts +++ b/packages/utils/src/auth.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { ReactNode } from "react"; // plane imports import type { TAuthErrorInfo } from "@plane/constants"; diff --git a/packages/utils/src/calendar.ts b/packages/utils/src/calendar.ts index 2b1fd9886e..3726d84e19 100644 --- a/packages/utils/src/calendar.ts +++ b/packages/utils/src/calendar.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { ICalendarDate, ICalendarPayload } from "@plane/types"; import { EStartOfTheWeek } from "@plane/types"; diff --git a/packages/utils/src/color.ts b/packages/utils/src/color.ts index 017c594b7e..1fd4d087eb 100644 --- a/packages/utils/src/color.ts +++ b/packages/utils/src/color.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Represents an RGB color with numeric values for red, green, and blue components * @typedef {Object} TRgb diff --git a/packages/utils/src/common.ts b/packages/utils/src/common.ts index bafd230a66..68fe30b413 100644 --- a/packages/utils/src/common.ts +++ b/packages/utils/src/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { clsx } from "clsx"; import type { ClassValue } from "clsx"; import { extendTailwindMerge } from "tailwind-merge"; diff --git a/packages/utils/src/cycle.ts b/packages/utils/src/cycle.ts index 7a2139b2a8..5fce839ec1 100644 --- a/packages/utils/src/cycle.ts +++ b/packages/utils/src/cycle.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { startOfToday, format } from "date-fns"; import { isEmpty, orderBy, sortBy, uniqBy } from "lodash-es"; // plane imports diff --git a/packages/utils/src/datetime.ts b/packages/utils/src/datetime.ts index bc9d06964b..67e809b58d 100644 --- a/packages/utils/src/datetime.ts +++ b/packages/utils/src/datetime.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { differenceInDays, format, formatDistanceToNow, isAfter, isEqual, isValid, parseISO } from "date-fns"; import { isNumber } from "lodash-es"; diff --git a/packages/utils/src/distribution-update.ts b/packages/utils/src/distribution-update.ts index 2278846698..f9b965de2e 100644 --- a/packages/utils/src/distribution-update.ts +++ b/packages/utils/src/distribution-update.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { format } from "date-fns"; import { get, set } from "lodash-es"; // plane imports diff --git a/packages/utils/src/editor/common.ts b/packages/utils/src/editor/common.ts index fdbaae6de0..9b409cc945 100644 --- a/packages/utils/src/editor/common.ts +++ b/packages/utils/src/editor/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // local imports import { getFileURL } from "../file"; diff --git a/packages/utils/src/editor/index.ts b/packages/utils/src/editor/index.ts index 3d52959b1f..534c1ee795 100644 --- a/packages/utils/src/editor/index.ts +++ b/packages/utils/src/editor/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./common"; export * from "./markdown-parser"; diff --git a/packages/utils/src/editor/markdown-parser/common.ts b/packages/utils/src/editor/markdown-parser/common.ts index 5639dca9e0..53d6320126 100644 --- a/packages/utils/src/editor/markdown-parser/common.ts +++ b/packages/utils/src/editor/markdown-parser/common.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Text as MDASTText } from "mdast"; export const createTextNode = (value: string): MDASTText => ({ diff --git a/packages/utils/src/editor/markdown-parser/custom-components-handler.ts b/packages/utils/src/editor/markdown-parser/custom-components-handler.ts index 0e769366f6..e5115236a9 100644 --- a/packages/utils/src/editor/markdown-parser/custom-components-handler.ts +++ b/packages/utils/src/editor/markdown-parser/custom-components-handler.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Handle } from "hast-util-to-mdast"; // local imports import { createTextNode } from "./common"; diff --git a/packages/utils/src/editor/markdown-parser/index.ts b/packages/utils/src/editor/markdown-parser/index.ts index a3839f79bd..e18db93276 100644 --- a/packages/utils/src/editor/markdown-parser/index.ts +++ b/packages/utils/src/editor/markdown-parser/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./types"; export * from "./root"; diff --git a/packages/utils/src/editor/markdown-parser/marks-handler.ts b/packages/utils/src/editor/markdown-parser/marks-handler.ts index 7e3d5a6ded..8ee58a1c3f 100644 --- a/packages/utils/src/editor/markdown-parser/marks-handler.ts +++ b/packages/utils/src/editor/markdown-parser/marks-handler.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { Handle } from "hast-util-to-mdast"; import type { PhrasingContent, Text as MDASTText } from "mdast"; // local imports diff --git a/packages/utils/src/editor/markdown-parser/root.ts b/packages/utils/src/editor/markdown-parser/root.ts index 972b47a08a..ea0bb23dba 100644 --- a/packages/utils/src/editor/markdown-parser/root.ts +++ b/packages/utils/src/editor/markdown-parser/root.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // - Parses TipTap/ProseMirror HTML fragments // - Removes tags (Markdown has no underline) // - Adds a space after checkbox inputs for correct GFM task list rendering diff --git a/packages/utils/src/editor/markdown-parser/types.ts b/packages/utils/src/editor/markdown-parser/types.ts index 44a1a635d0..fc726c2325 100644 --- a/packages/utils/src/editor/markdown-parser/types.ts +++ b/packages/utils/src/editor/markdown-parser/types.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export type TCoreCustomComponentsMetaData = { file_assets: { id: string; diff --git a/packages/utils/src/emoji.ts b/packages/utils/src/emoji.ts index 567d3575ec..e0ab593b80 100644 --- a/packages/utils/src/emoji.ts +++ b/packages/utils/src/emoji.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { RANDOM_EMOJI_CODES } from "@plane/constants"; diff --git a/packages/utils/src/estimates.ts b/packages/utils/src/estimates.ts index 59c3f1136d..fc1fed7e5a 100644 --- a/packages/utils/src/estimates.ts +++ b/packages/utils/src/estimates.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane web constants import { EEstimateSystem } from "@plane/constants"; diff --git a/packages/utils/src/file.ts b/packages/utils/src/file.ts index 632be9265b..0d5d385a3b 100644 --- a/packages/utils/src/file.ts +++ b/packages/utils/src/file.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { API_BASE_URL } from "@plane/constants"; diff --git a/packages/utils/src/filter.ts b/packages/utils/src/filter.ts index ee2ca5e339..72ffe1fed9 100644 --- a/packages/utils/src/filter.ts +++ b/packages/utils/src/filter.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { differenceInCalendarDays } from "date-fns/differenceInCalendarDays"; // local imports import { getDate } from "./datetime"; diff --git a/packages/utils/src/get-icon-for-link.ts b/packages/utils/src/get-icon-for-link.ts index 0c703a81c9..d6420dcdc0 100644 --- a/packages/utils/src/get-icon-for-link.ts +++ b/packages/utils/src/get-icon-for-link.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { Github, Linkedin, diff --git a/packages/utils/src/index.ts b/packages/utils/src/index.ts index 4b72ed3c94..e59acc5819 100644 --- a/packages/utils/src/index.ts +++ b/packages/utils/src/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./array"; export * from "./attachment"; export * from "./auth"; diff --git a/packages/utils/src/intake.ts b/packages/utils/src/intake.ts index 12e59f9acc..ef450d4a48 100644 --- a/packages/utils/src/intake.ts +++ b/packages/utils/src/intake.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { subDays } from "date-fns"; // plane imports import { EPastDurationFilters } from "@plane/constants"; diff --git a/packages/utils/src/loader.ts b/packages/utils/src/loader.ts index dd3d95eeb1..4ce9503105 100644 --- a/packages/utils/src/loader.ts +++ b/packages/utils/src/loader.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TLoader } from "@plane/types"; // checks if a loader has finished initialization diff --git a/packages/utils/src/math.ts b/packages/utils/src/math.ts index 88e4040a04..0e2a1ac668 100644 --- a/packages/utils/src/math.ts +++ b/packages/utils/src/math.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const getProgress = (completed: number | undefined, total: number | undefined) => total && total > 0 ? Math.round(((completed ?? 0) / total) * 100) : 0; diff --git a/packages/utils/src/module.ts b/packages/utils/src/module.ts index 39cba08225..c446836107 100644 --- a/packages/utils/src/module.ts +++ b/packages/utils/src/module.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { sortBy } from "lodash-es"; // plane imports import type { IModule, TModuleDisplayFilters, TModuleFilters, TModuleOrderByOptions } from "@plane/types"; diff --git a/packages/utils/src/notification.ts b/packages/utils/src/notification.ts index b4bc9cbd9b..b8751ab827 100644 --- a/packages/utils/src/notification.ts +++ b/packages/utils/src/notification.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { stripAndTruncateHTML } from "./string"; export const sanitizeCommentForNotification = (mentionContent: string | undefined) => diff --git a/packages/utils/src/page.ts b/packages/utils/src/page.ts index 7eaedb5782..b566c5b6d3 100644 --- a/packages/utils/src/page.ts +++ b/packages/utils/src/page.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { sortBy } from "lodash-es"; // plane imports import type { diff --git a/packages/utils/src/permission/index.ts b/packages/utils/src/permission/index.ts index 807babea74..afca0d02b8 100644 --- a/packages/utils/src/permission/index.ts +++ b/packages/utils/src/permission/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./role"; diff --git a/packages/utils/src/permission/role.ts b/packages/utils/src/permission/role.ts index 2889907d76..b2a1198d8e 100644 --- a/packages/utils/src/permission/role.ts +++ b/packages/utils/src/permission/role.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { EUserPermissions } from "@plane/constants"; import type { EUserProjectRoles, EUserWorkspaceRoles } from "@plane/types"; diff --git a/packages/utils/src/project-views.ts b/packages/utils/src/project-views.ts index 5fdf502148..8628f612c6 100644 --- a/packages/utils/src/project-views.ts +++ b/packages/utils/src/project-views.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { isNil, orderBy } from "lodash-es"; // plane imports import { SPACE_BASE_PATH, SPACE_BASE_URL } from "@plane/constants"; diff --git a/packages/utils/src/project.ts b/packages/utils/src/project.ts index cdb9a71dc9..1cfc2cfa25 100644 --- a/packages/utils/src/project.ts +++ b/packages/utils/src/project.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { sortBy } from "lodash-es"; // plane imports import type { TProject, TProjectDisplayFilters, TProjectFilters, TProjectOrderByOptions } from "@plane/types"; diff --git a/packages/utils/src/rich-filters/factories/configs/core.ts b/packages/utils/src/rich-filters/factories/configs/core.ts index 92eeb0e25e..84203c6c7f 100644 --- a/packages/utils/src/rich-filters/factories/configs/core.ts +++ b/packages/utils/src/rich-filters/factories/configs/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterValue, TSupportedOperators, TBaseFilterFieldConfig } from "@plane/types"; import { FILTER_FIELD_TYPE } from "@plane/types"; diff --git a/packages/utils/src/rich-filters/factories/configs/index.ts b/packages/utils/src/rich-filters/factories/configs/index.ts index 6a75f4dcec..14efa668a9 100644 --- a/packages/utils/src/rich-filters/factories/configs/index.ts +++ b/packages/utils/src/rich-filters/factories/configs/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; export * from "./shared"; export * from "./properties"; diff --git a/packages/utils/src/rich-filters/factories/configs/properties/date.ts b/packages/utils/src/rich-filters/factories/configs/properties/date.ts index 39379cae9a..e4db0bd405 100644 --- a/packages/utils/src/rich-filters/factories/configs/properties/date.ts +++ b/packages/utils/src/rich-filters/factories/configs/properties/date.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterProperty } from "@plane/types"; // local imports diff --git a/packages/utils/src/rich-filters/factories/configs/properties/index.ts b/packages/utils/src/rich-filters/factories/configs/properties/index.ts index 96edf472a9..c988f50bb7 100644 --- a/packages/utils/src/rich-filters/factories/configs/properties/index.ts +++ b/packages/utils/src/rich-filters/factories/configs/properties/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./date"; export * from "./member-picker"; export * from "./shared"; diff --git a/packages/utils/src/rich-filters/factories/configs/properties/member-picker.ts b/packages/utils/src/rich-filters/factories/configs/properties/member-picker.ts index c5da205ce6..f1eb054681 100644 --- a/packages/utils/src/rich-filters/factories/configs/properties/member-picker.ts +++ b/packages/utils/src/rich-filters/factories/configs/properties/member-picker.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IUserLite, TFilterProperty } from "@plane/types"; import { EQUALITY_OPERATOR } from "@plane/types"; diff --git a/packages/utils/src/rich-filters/factories/configs/properties/shared.ts b/packages/utils/src/rich-filters/factories/configs/properties/shared.ts index b21ddf5bae..7222d5d656 100644 --- a/packages/utils/src/rich-filters/factories/configs/properties/shared.ts +++ b/packages/utils/src/rich-filters/factories/configs/properties/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IProject, IUserLite, TOperatorConfigMap, TSupportedOperators } from "@plane/types"; import { COMPARISON_OPERATOR, EQUALITY_OPERATOR } from "@plane/types"; diff --git a/packages/utils/src/rich-filters/factories/configs/shared.ts b/packages/utils/src/rich-filters/factories/configs/shared.ts index 51a57db8b0..e7cc207ba4 100644 --- a/packages/utils/src/rich-filters/factories/configs/shared.ts +++ b/packages/utils/src/rich-filters/factories/configs/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { FILTER_FIELD_TYPE, TBaseFilterFieldConfig, diff --git a/packages/utils/src/rich-filters/factories/index.ts b/packages/utils/src/rich-filters/factories/index.ts index 976c1ab634..99f213f4e3 100644 --- a/packages/utils/src/rich-filters/factories/index.ts +++ b/packages/utils/src/rich-filters/factories/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./configs/core"; export * from "./configs/shared"; export * from "./configs/properties"; diff --git a/packages/utils/src/rich-filters/factories/nodes/core.ts b/packages/utils/src/rich-filters/factories/nodes/core.ts index 982be31636..5b7d8cf13c 100644 --- a/packages/utils/src/rich-filters/factories/nodes/core.ts +++ b/packages/utils/src/rich-filters/factories/nodes/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { v4 as uuidv4 } from "uuid"; // plane imports import type { diff --git a/packages/utils/src/rich-filters/index.ts b/packages/utils/src/rich-filters/index.ts index ac68890e20..8e7727ac19 100644 --- a/packages/utils/src/rich-filters/index.ts +++ b/packages/utils/src/rich-filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./factories"; export * from "./operations"; export * from "./operators"; diff --git a/packages/utils/src/rich-filters/operations/comparison.ts b/packages/utils/src/rich-filters/operations/comparison.ts index 2865c06469..e25d7e4e92 100644 --- a/packages/utils/src/rich-filters/operations/comparison.ts +++ b/packages/utils/src/rich-filters/operations/comparison.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { compact, isEqual, sortBy } from "lodash-es"; // plane imports import type { diff --git a/packages/utils/src/rich-filters/operations/index.ts b/packages/utils/src/rich-filters/operations/index.ts index d362a4d5e2..038cc52ac4 100644 --- a/packages/utils/src/rich-filters/operations/index.ts +++ b/packages/utils/src/rich-filters/operations/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./comparison"; export * from "./manipulation/core"; export * from "./transformation/core"; diff --git a/packages/utils/src/rich-filters/operations/manipulation/core.ts b/packages/utils/src/rich-filters/operations/manipulation/core.ts index 3f29959bf7..acbf75f2b9 100644 --- a/packages/utils/src/rich-filters/operations/manipulation/core.ts +++ b/packages/utils/src/rich-filters/operations/manipulation/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterConditionPayload, diff --git a/packages/utils/src/rich-filters/operations/transformation/core.ts b/packages/utils/src/rich-filters/operations/transformation/core.ts index 8ccfac4121..ca8aba1673 100644 --- a/packages/utils/src/rich-filters/operations/transformation/core.ts +++ b/packages/utils/src/rich-filters/operations/transformation/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterExpression, TFilterGroupNode, TFilterProperty } from "@plane/types"; // local imports diff --git a/packages/utils/src/rich-filters/operations/transformation/shared.ts b/packages/utils/src/rich-filters/operations/transformation/shared.ts index 88f0de1f85..97d28c2f73 100644 --- a/packages/utils/src/rich-filters/operations/transformation/shared.ts +++ b/packages/utils/src/rich-filters/operations/transformation/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterGroupNode, TFilterProperty } from "@plane/types"; import { processGroupNode } from "../../types/shared"; import type { TTreeTransformFn, TTreeTransformResult } from "./core"; diff --git a/packages/utils/src/rich-filters/operations/traversal/core.ts b/packages/utils/src/rich-filters/operations/traversal/core.ts index 7237c32610..edcfc20de8 100644 --- a/packages/utils/src/rich-filters/operations/traversal/core.ts +++ b/packages/utils/src/rich-filters/operations/traversal/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TAllAvailableOperatorsForDisplay, diff --git a/packages/utils/src/rich-filters/operations/traversal/shared.ts b/packages/utils/src/rich-filters/operations/traversal/shared.ts index 89c1f6d410..081cc9b4f9 100644 --- a/packages/utils/src/rich-filters/operations/traversal/shared.ts +++ b/packages/utils/src/rich-filters/operations/traversal/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TAllAvailableOperatorsForDisplay, diff --git a/packages/utils/src/rich-filters/operators/core.ts b/packages/utils/src/rich-filters/operators/core.ts index db86286c65..391cf00016 100644 --- a/packages/utils/src/rich-filters/operators/core.ts +++ b/packages/utils/src/rich-filters/operators/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { get } from "lodash-es"; // plane imports import { DATE_OPERATOR_LABELS_MAP, EMPTY_OPERATOR_LABEL, OPERATOR_LABELS_MAP } from "@plane/constants"; diff --git a/packages/utils/src/rich-filters/operators/index.ts b/packages/utils/src/rich-filters/operators/index.ts index 102ec949bf..5b1e19f839 100644 --- a/packages/utils/src/rich-filters/operators/index.ts +++ b/packages/utils/src/rich-filters/operators/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; export * from "./shared"; diff --git a/packages/utils/src/rich-filters/operators/shared.ts b/packages/utils/src/rich-filters/operators/shared.ts index 3daed0a9b8..2839ebf97f 100644 --- a/packages/utils/src/rich-filters/operators/shared.ts +++ b/packages/utils/src/rich-filters/operators/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TAllAvailableOperatorsForDisplay, TSupportedOperators } from "@plane/types"; /** diff --git a/packages/utils/src/rich-filters/types/core.ts b/packages/utils/src/rich-filters/types/core.ts index 8d0bc56223..99826b8725 100644 --- a/packages/utils/src/rich-filters/types/core.ts +++ b/packages/utils/src/rich-filters/types/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { TFilterAndGroupNode, TFilterConditionNode, diff --git a/packages/utils/src/rich-filters/types/index.ts b/packages/utils/src/rich-filters/types/index.ts index 102ec949bf..5b1e19f839 100644 --- a/packages/utils/src/rich-filters/types/index.ts +++ b/packages/utils/src/rich-filters/types/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; export * from "./shared"; diff --git a/packages/utils/src/rich-filters/types/shared.ts b/packages/utils/src/rich-filters/types/shared.ts index e1da6911be..6d25c28356 100644 --- a/packages/utils/src/rich-filters/types/shared.ts +++ b/packages/utils/src/rich-filters/types/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterAndGroupNode, TFilterExpression, TFilterGroupNode, TFilterProperty } from "@plane/types"; // local imports diff --git a/packages/utils/src/rich-filters/validators/core.ts b/packages/utils/src/rich-filters/validators/core.ts index ee66e0f7ea..72f39d5a4b 100644 --- a/packages/utils/src/rich-filters/validators/core.ts +++ b/packages/utils/src/rich-filters/validators/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { SingleOrArray, TFilterExpression, TFilterProperty, TFilterValue } from "@plane/types"; // local imports diff --git a/packages/utils/src/rich-filters/validators/index.ts b/packages/utils/src/rich-filters/validators/index.ts index 102ec949bf..5b1e19f839 100644 --- a/packages/utils/src/rich-filters/validators/index.ts +++ b/packages/utils/src/rich-filters/validators/index.ts @@ -1,2 +1,8 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; export * from "./shared"; diff --git a/packages/utils/src/rich-filters/validators/shared.ts b/packages/utils/src/rich-filters/validators/shared.ts index 5430c57733..dd75b6ce35 100644 --- a/packages/utils/src/rich-filters/validators/shared.ts +++ b/packages/utils/src/rich-filters/validators/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterGroupNode, TFilterProperty } from "@plane/types"; // local imports diff --git a/packages/utils/src/rich-filters/values/core.ts b/packages/utils/src/rich-filters/values/core.ts index a2a6b111f2..6670da4889 100644 --- a/packages/utils/src/rich-filters/values/core.ts +++ b/packages/utils/src/rich-filters/values/core.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import type { SingleOrArray, TFilterValue } from "@plane/types"; /** diff --git a/packages/utils/src/rich-filters/values/index.ts b/packages/utils/src/rich-filters/values/index.ts index 8d119dee81..bcdcb87a16 100644 --- a/packages/utils/src/rich-filters/values/index.ts +++ b/packages/utils/src/rich-filters/values/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./core"; diff --git a/packages/utils/src/router.ts b/packages/utils/src/router.ts index e9355de9f1..9b4da605ba 100644 --- a/packages/utils/src/router.ts +++ b/packages/utils/src/router.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export const generateQueryParams = (searchParams: URLSearchParams, excludedParamKeys?: string[]): string => { const params = new URLSearchParams(searchParams); excludedParamKeys && diff --git a/packages/utils/src/string.ts b/packages/utils/src/string.ts index b23d1b9bd8..4d2f112e33 100644 --- a/packages/utils/src/string.ts +++ b/packages/utils/src/string.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import sanitizeHtml from "sanitize-html"; import type { Content, JSONContent } from "@plane/types"; diff --git a/packages/utils/src/subscription.ts b/packages/utils/src/subscription.ts index bd74f529f9..452d6e98eb 100644 --- a/packages/utils/src/subscription.ts +++ b/packages/utils/src/subscription.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { orderBy } from "lodash-es"; // plane imports import type { IPaymentProduct, TProductSubscriptionType, TSubscriptionPrice } from "@plane/types"; diff --git a/packages/utils/src/tab-indices.ts b/packages/utils/src/tab-indices.ts index e4232319bf..8760872a26 100644 --- a/packages/utils/src/tab-indices.ts +++ b/packages/utils/src/tab-indices.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { ETabIndices } from "@plane/constants"; import { TAB_INDEX_MAP } from "@plane/constants"; diff --git a/packages/utils/src/theme-legacy.ts b/packages/utils/src/theme-legacy.ts index 1a8574313a..bdfb408339 100644 --- a/packages/utils/src/theme-legacy.ts +++ b/packages/utils/src/theme-legacy.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Legacy Theme System * diff --git a/packages/utils/src/theme/color-conversion.ts b/packages/utils/src/theme/color-conversion.ts index 5acd34cdf7..aefaccf0d6 100644 --- a/packages/utils/src/theme/color-conversion.ts +++ b/packages/utils/src/theme/color-conversion.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Color Conversion Utilities * Provides hex/RGB/HSL/OKLCH conversions using chroma-js diff --git a/packages/utils/src/theme/color-validation.ts b/packages/utils/src/theme/color-validation.ts index 9668eed83c..d295a637da 100644 --- a/packages/utils/src/theme/color-validation.ts +++ b/packages/utils/src/theme/color-validation.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Color Validation Utilities * Validates and adjusts color inputs for palette generation diff --git a/packages/utils/src/theme/constants.ts b/packages/utils/src/theme/constants.ts index 739cb0e9fc..5ee4ef8784 100644 --- a/packages/utils/src/theme/constants.ts +++ b/packages/utils/src/theme/constants.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Theme System Constants * Defines shade stops, default configurations, and color modes diff --git a/packages/utils/src/theme/index.ts b/packages/utils/src/theme/index.ts index a8d54a098a..bdb24fabd7 100644 --- a/packages/utils/src/theme/index.ts +++ b/packages/utils/src/theme/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Theme System Public API * Exports all theme-related utilities for use across Plane apps diff --git a/packages/utils/src/theme/palette-generator.ts b/packages/utils/src/theme/palette-generator.ts index f367786fd8..ed2417e7a1 100644 --- a/packages/utils/src/theme/palette-generator.ts +++ b/packages/utils/src/theme/palette-generator.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Palette Generator * Generates 14-shade color palettes directly in OKLCH color space diff --git a/packages/utils/src/theme/theme-application.ts b/packages/utils/src/theme/theme-application.ts index dffb2ef05a..25f1a60131 100644 --- a/packages/utils/src/theme/theme-application.ts +++ b/packages/utils/src/theme/theme-application.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Theme Application Utilities * Applies generated palettes to CSS variables for Plane's theme system diff --git a/packages/utils/src/theme/theme-inversion.ts b/packages/utils/src/theme/theme-inversion.ts index 440713f75e..1eb0f6fc73 100644 --- a/packages/utils/src/theme/theme-inversion.ts +++ b/packages/utils/src/theme/theme-inversion.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + /** * Theme Inversion Utilities * Handles dark mode palette inversion and mapping diff --git a/packages/utils/src/tlds.ts b/packages/utils/src/tlds.ts index e689a11a89..6890a429c7 100644 --- a/packages/utils/src/tlds.ts +++ b/packages/utils/src/tlds.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export default [ "aaa", "aarp", diff --git a/packages/utils/src/url.ts b/packages/utils/src/url.ts index fa16d3f17d..29268a156f 100644 --- a/packages/utils/src/url.ts +++ b/packages/utils/src/url.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import tlds from "./tlds"; const PROTOCOL_REGEX = /^[a-zA-Z]+:\/\//; diff --git a/packages/utils/src/work-item-filters/configs/filters/cycle.ts b/packages/utils/src/work-item-filters/configs/filters/cycle.ts index 0999f1d1fa..f90ca53cbe 100644 --- a/packages/utils/src/work-item-filters/configs/filters/cycle.ts +++ b/packages/utils/src/work-item-filters/configs/filters/cycle.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { ICycle, TCycleGroups, TFilterProperty, TSupportedOperators } from "@plane/types"; import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types"; diff --git a/packages/utils/src/work-item-filters/configs/filters/date.ts b/packages/utils/src/work-item-filters/configs/filters/date.ts index 8d2d954f52..c1f5df6a89 100644 --- a/packages/utils/src/work-item-filters/configs/filters/date.ts +++ b/packages/utils/src/work-item-filters/configs/filters/date.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterProperty } from "@plane/types"; // local imports diff --git a/packages/utils/src/work-item-filters/configs/filters/index.ts b/packages/utils/src/work-item-filters/configs/filters/index.ts index 7498018b17..a436da8e31 100644 --- a/packages/utils/src/work-item-filters/configs/filters/index.ts +++ b/packages/utils/src/work-item-filters/configs/filters/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./cycle"; export * from "./date"; export * from "./label"; diff --git a/packages/utils/src/work-item-filters/configs/filters/label.ts b/packages/utils/src/work-item-filters/configs/filters/label.ts index 909c074628..c6390889f0 100644 --- a/packages/utils/src/work-item-filters/configs/filters/label.ts +++ b/packages/utils/src/work-item-filters/configs/filters/label.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IIssueLabel, TFilterProperty, TSupportedOperators } from "@plane/types"; import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types"; diff --git a/packages/utils/src/work-item-filters/configs/filters/module.ts b/packages/utils/src/work-item-filters/configs/filters/module.ts index cec6216de6..47a5cc6a57 100644 --- a/packages/utils/src/work-item-filters/configs/filters/module.ts +++ b/packages/utils/src/work-item-filters/configs/filters/module.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IModule, TFilterProperty } from "@plane/types"; import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types"; diff --git a/packages/utils/src/work-item-filters/configs/filters/priority.ts b/packages/utils/src/work-item-filters/configs/filters/priority.ts index f12dca03a4..0442f44b87 100644 --- a/packages/utils/src/work-item-filters/configs/filters/priority.ts +++ b/packages/utils/src/work-item-filters/configs/filters/priority.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TIssuePriorities } from "@plane/constants"; import { ISSUE_PRIORITIES } from "@plane/constants"; diff --git a/packages/utils/src/work-item-filters/configs/filters/project.ts b/packages/utils/src/work-item-filters/configs/filters/project.ts index 1ee735971e..81e33ff135 100644 --- a/packages/utils/src/work-item-filters/configs/filters/project.ts +++ b/packages/utils/src/work-item-filters/configs/filters/project.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterProperty } from "@plane/types"; import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types"; diff --git a/packages/utils/src/work-item-filters/configs/filters/shared.ts b/packages/utils/src/work-item-filters/configs/filters/shared.ts index eb8dc57832..0343fd3d6a 100644 --- a/packages/utils/src/work-item-filters/configs/filters/shared.ts +++ b/packages/utils/src/work-item-filters/configs/filters/shared.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IProject, TOperatorConfigMap, TSupportedOperators } from "@plane/types"; import { COMPARISON_OPERATOR, EQUALITY_OPERATOR } from "@plane/types"; diff --git a/packages/utils/src/work-item-filters/configs/filters/state.ts b/packages/utils/src/work-item-filters/configs/filters/state.ts index bbef817fa3..04e8362ddb 100644 --- a/packages/utils/src/work-item-filters/configs/filters/state.ts +++ b/packages/utils/src/work-item-filters/configs/filters/state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import { STATE_GROUPS } from "@plane/constants"; import type { IState, TFilterProperty, TStateGroups, TSupportedOperators } from "@plane/types"; diff --git a/packages/utils/src/work-item-filters/configs/filters/user.ts b/packages/utils/src/work-item-filters/configs/filters/user.ts index 31bf614a36..e9c4ea48ed 100644 --- a/packages/utils/src/work-item-filters/configs/filters/user.ts +++ b/packages/utils/src/work-item-filters/configs/filters/user.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TFilterProperty } from "@plane/types"; import { EQUALITY_OPERATOR, COLLECTION_OPERATOR } from "@plane/types"; diff --git a/packages/utils/src/work-item-filters/configs/index.ts b/packages/utils/src/work-item-filters/configs/index.ts index 302e3a1a6e..c3aade60af 100644 --- a/packages/utils/src/work-item-filters/configs/index.ts +++ b/packages/utils/src/work-item-filters/configs/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./filters"; diff --git a/packages/utils/src/work-item-filters/index.ts b/packages/utils/src/work-item-filters/index.ts index 3158367fc6..3c9c6d89fc 100644 --- a/packages/utils/src/work-item-filters/index.ts +++ b/packages/utils/src/work-item-filters/index.ts @@ -1 +1,7 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./configs"; diff --git a/packages/utils/src/work-item/base.ts b/packages/utils/src/work-item/base.ts index d2ded2dfa8..c79b805cfa 100644 --- a/packages/utils/src/work-item/base.ts +++ b/packages/utils/src/work-item/base.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { differenceInCalendarDays } from "date-fns/differenceInCalendarDays"; import { isEmpty } from "lodash-es"; import { v4 as uuidv4 } from "uuid"; diff --git a/packages/utils/src/work-item/index.ts b/packages/utils/src/work-item/index.ts index 002d393b12..201e5523a0 100644 --- a/packages/utils/src/work-item/index.ts +++ b/packages/utils/src/work-item/index.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + export * from "./base"; export * from "./modal"; export * from "./state"; diff --git a/packages/utils/src/work-item/modal.ts b/packages/utils/src/work-item/modal.ts index dded63ace6..5b04824fb4 100644 --- a/packages/utils/src/work-item/modal.ts +++ b/packages/utils/src/work-item/modal.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + import { set } from "lodash-es"; // plane imports import { DEFAULT_WORK_ITEM_FORM_VALUES } from "@plane/constants"; diff --git a/packages/utils/src/work-item/state.ts b/packages/utils/src/work-item/state.ts index 949ce2dff6..4dadd6d0ee 100644 --- a/packages/utils/src/work-item/state.ts +++ b/packages/utils/src/work-item/state.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { TDraggableData } from "@plane/constants"; import { STATE_GROUPS } from "@plane/constants"; diff --git a/packages/utils/src/workspace.ts b/packages/utils/src/workspace.ts index 88200b5b59..ca4d7dd72b 100644 --- a/packages/utils/src/workspace.ts +++ b/packages/utils/src/workspace.ts @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2023-present Plane Software, Inc. and contributors + * SPDX-License-Identifier: AGPL-3.0-only + * See the LICENSE file for details. + */ + // plane imports import type { IWorkspace } from "@plane/types";