added public page + formatting fixes

This commit is contained in:
Daniel
2023-05-31 18:00:45 +03:30
parent 7f9b0d8977
commit facbf09604
81 changed files with 208 additions and 471 deletions
+1 -6
View File
@@ -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">[];
}