2023-07-14 11:03:01 +00:00
|
|
|
|
import { buildConfig } from "payload/config";
|
|
|
|
|
import path from "path";
|
|
|
|
|
import { Users } from "./collections/Users";
|
|
|
|
|
import { Languages } from "./collections/Languages";
|
|
|
|
|
import { Recorders } from "./collections/Recorders/Recorders";
|
2023-07-14 14:42:37 +00:00
|
|
|
|
import { Images } from "./collections/Images/Images";
|
2023-07-20 06:42:24 +00:00
|
|
|
|
import { Posts } from "./collections/Posts/Posts";
|
|
|
|
|
import { Tags } from "./collections/Tags/Tags";
|
|
|
|
|
import { LibraryItems } from "./collections/LibraryItems/LibraryItems";
|
|
|
|
|
import { Contents } from "./collections/Contents/Contents";
|
|
|
|
|
import { Files } from "./collections/Files/Files";
|
2023-07-22 18:32:18 +00:00
|
|
|
|
import { Logo } from "./components/Logo";
|
|
|
|
|
import { Icon } from "./components/Icon";
|
2023-07-14 11:03:01 +00:00
|
|
|
|
|
|
|
|
|
export default buildConfig({
|
|
|
|
|
serverURL: "http://localhost:3000",
|
|
|
|
|
admin: {
|
|
|
|
|
user: Users.slug,
|
2023-07-22 18:32:18 +00:00
|
|
|
|
components: { graphics: { Logo, Icon } },
|
|
|
|
|
meta: {
|
|
|
|
|
favicon: "/public/favicon.ico",
|
|
|
|
|
ogImage: "og.jpg",
|
|
|
|
|
titleSuffix: "- Accord’s Library",
|
|
|
|
|
},
|
|
|
|
|
css: path.resolve(__dirname, "styles.scss"),
|
2023-07-14 11:03:01 +00:00
|
|
|
|
},
|
|
|
|
|
globals: [],
|
|
|
|
|
telemetry: false,
|
|
|
|
|
typescript: {
|
|
|
|
|
outputFile: path.resolve(__dirname, "types/collections.ts"),
|
|
|
|
|
},
|
|
|
|
|
graphQL: {
|
|
|
|
|
schemaOutputFile: path.resolve(__dirname, "generated-schema.graphql"),
|
|
|
|
|
},
|
|
|
|
|
});
|