added public page + formatting fixes
This commit is contained in:
+1
-6
@@ -1,8 +1,3 @@
|
||||
// Copyright (C) 2022-present Daniel31x13 <daniel31x13@gmail.com>
|
||||
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
// You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import { Collection, Link, Tag, User } from "@prisma/client";
|
||||
|
||||
type OptionalExcluding<T, TRequired extends keyof T> = Partial<T> &
|
||||
@@ -53,5 +48,5 @@ export type SearchSettings = {
|
||||
export interface PublicCollectionIncludingLinks
|
||||
extends Omit<Collection, "ownerId"> {
|
||||
ownerName?: string;
|
||||
links: Omit<Link, "screenshotPath" | "pdfPath">;
|
||||
links: Omit<Link, "screenshotPath" | "pdfPath">[];
|
||||
}
|
||||
|
||||
Vendored
-5
@@ -1,8 +1,3 @@
|
||||
// Copyright (C) 2022-present Daniel31x13 <daniel31x13@gmail.com>
|
||||
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
|
||||
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
// You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import NextAuth, { DefaultSession } from "next-auth";
|
||||
|
||||
declare module "next-auth" {
|
||||
|
||||
Reference in New Issue
Block a user