Capital/content/.keystone/config.js.map
2024-01-22 00:28:49 +08:00

8 lines
23 KiB
Plaintext

{
"version": 3,
"sources": ["../keystone.ts", "../schema/index.ts", "../limit.ts", "../schema/assets.ts", "../schema/moments.ts", "../schema/categories.ts", "../schema/projects.ts", "../schema/posts.ts", "../schema/events.ts", "../auth.ts"],
"sourcesContent": ["import { config } from \"@keystone-6/core\";\n\nimport { lists } from \"./schema\";\n\nimport { withAuth, session } from \"./auth\";\nimport { DatabaseProvider } from \"@keystone-6/core/types\";\n\nconst baseUrl = process.env.BASE_URL ?? \"http://localhost:3000\";\nconst databaseUrl =\n process.env.DATABASE_URL ??\n \"postgresql://postgres:password@127.0.0.1:5432/capital\";\nconst databaseProvider = process.env.DATABASE_PROVIDER ?? \"postgresql\";\n\nexport default withAuth(\n config({\n ui: {\n basePath: \"/cms\"\n },\n db: {\n provider: databaseProvider as DatabaseProvider,\n url: databaseUrl,\n },\n server: {\n cors: {\n origin: \"*\",\n methods: \"GET,HEAD,PUT,PATCH,POST,DELETE\",\n },\n },\n storage: {\n localImages: {\n kind: \"local\",\n type: \"image\",\n generateUrl: (path) => `${baseUrl}/images${path}`,\n serverRoute: {\n path: \"/images\",\n },\n storagePath: \"public/images\",\n },\n },\n lists,\n session,\n })\n);\n", "import { list } from \"@keystone-6/core\";\n\nimport {\n text,\n relationship,\n password,\n timestamp,\n checkbox,\n} from \"@keystone-6/core/fields\";\n\nimport { allowAdmin } from \"../limit\";\n\nimport { Image, Asset } from \"./assets\";\nimport { Moment } from \"./moments\";\nimport { Category, Tag } from \"./categories\";\nimport { Project } from \"./projects\";\nimport { Post } from \"./posts\";\nimport { Event } from \"./events\";\n\nexport const lists = {\n User: list({\n access: allowAdmin,\n\n fields: {\n name: text({ validation: { isRequired: true } }),\n email: text({\n validation: { isRequired: true },\n isIndexed: \"unique\",\n }),\n\n password: password({ validation: { isRequired: true } }),\n posts: relationship({ ref: \"Post.author\", many: true }),\n moments: relationship({ ref: \"Moment.author\", many: true }),\n events: relationship({ ref: \"Event.author\", many: true }),\n\n isAdmin: checkbox(),\n isEditor: checkbox(),\n\n createdAt: timestamp({\n defaultValue: { kind: \"now\" },\n }),\n },\n }),\n\n Image,\n Asset,\n\n Post,\n Moment,\n Project,\n Event,\n\n Category,\n Tag,\n};\n", "const isUser = ({ session }: { session: any }) => session?.data.id != null;\nconst allowUser: any = {\n operation: {\n create: isUser,\n update: isUser,\n delete: isUser,\n },\n};\n\nconst isEditor = ({ session }: { session: any }) =>\n session?.data.isEditor || session?.data.isAdmin;\nconst allowEditor: any = {\n operation: {\n create: isEditor,\n update: isEditor,\n delete: isEditor,\n },\n};\n\nconst isAdmin = ({ session }: { session: any }) => session?.data.isAdmin;\nconst allowAdmin: any = {\n operation: {\n create: isAdmin,\n update: isAdmin,\n delete: isAdmin,\n },\n};\n\nexport { isUser, isAdmin, isEditor, allowUser, allowAdmin, allowEditor };\n", "import { image, select, text, timestamp } from \"@keystone-6/core/fields\";\nimport { list } from \"@keystone-6/core\";\n\nimport { allowEditor } from \"../limit\";\n\nexport const Image = list({\n access: allowEditor,\n\n fields: {\n caption: text(),\n image: image({ storage: \"localImages\" }),\n\n createdAt: timestamp({\n defaultValue: { kind: \"now\" },\n }),\n },\n});\n\nexport const Asset = list({\n access: allowEditor,\n\n fields: {\n caption: text(),\n url: text({ validation: { isRequired: true } }),\n type: select({\n type: \"enum\",\n options: [\n { label: \"Video\", value: \"video\" },\n { label: \"Audio\", value: \"audio\" },\n ],\n defaultValue: \"video\",\n db: { map: \"media_type\" },\n validation: { isRequired: true },\n ui: { displayMode: \"select\" },\n }),\n\n createdAt: timestamp({\n defaultValue: { kind: \"now\" },\n }),\n },\n});\n", "import { list } from \"@keystone-6/core\";\nimport { allowUser } from \"../limit\";\nimport { document } from \"@keystone-6/fields-document\";\nimport { relationship, text, timestamp } from \"@keystone-6/core/fields\";\n\nexport const Moment = list({\n access: allowUser,\n\n fields: {\n title: text({ validation: { isRequired: true } }),\n images: relationship({ ref: \"Image\", many: true }),\n\n content: document({\n formatting: true,\n layouts: [\n [1, 1],\n [1, 1, 1],\n [2, 1],\n [1, 2],\n [1, 2, 1],\n ],\n links: true,\n dividers: true,\n }),\n\n author: relationship({\n ref: \"User.moments\",\n\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\", \"email\"],\n inlineEdit: { fields: [\"name\", \"email\"] },\n linkToItem: true,\n inlineConnect: true,\n },\n\n many: false,\n }),\n\n categories: relationship({\n ref: \"Category.moments\",\n many: true,\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\"],\n inlineEdit: { fields: [\"name\"] },\n linkToItem: true,\n inlineConnect: true,\n inlineCreate: { fields: [\"name\"] },\n },\n }),\n\n tags: relationship({\n ref: \"Tag.moments\",\n many: true,\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\"],\n inlineEdit: { fields: [\"name\"] },\n linkToItem: true,\n inlineConnect: true,\n inlineCreate: { fields: [\"name\"] },\n },\n }),\n\n createdAt: timestamp({\n defaultValue: { kind: \"now\" },\n }),\n },\n })", "import { list } from \"@keystone-6/core\";\nimport { allowEditor } from \"../limit\";\nimport { relationship, text } from \"@keystone-6/core/fields\";\n\nexport const Category = list({\n access: allowEditor,\n\n fields: {\n slug: text({\n validation: {\n isRequired: true,\n },\n isIndexed: \"unique\",\n }),\n name: text(),\n posts: relationship({ ref: \"Post.categories\", many: true }),\n moments: relationship({ ref: \"Moment.categories\", many: true }),\n events: relationship({ ref: \"Event.categories\", many: true }),\n },\n});\n\nexport const Tag = list({\n access: allowEditor,\n\n fields: {\n slug: text({\n validation: {\n isRequired: true,\n },\n isIndexed: \"unique\",\n }),\n name: text(),\n posts: relationship({ ref: \"Post.tags\", many: true }),\n moments: relationship({ ref: \"Moment.tags\", many: true }),\n events: relationship({ ref: \"Event.tags\", many: true }),\n },\n});\n", "import { checkbox, relationship, select, text, timestamp } from \"@keystone-6/core/fields\";\nimport { list } from \"@keystone-6/core\";\nimport { allowAdmin } from \"../limit\";\nimport { Session } from \"../auth\";\n\nexport const Project = list({\n access: {\n ...allowAdmin,\n\n filter: {\n query: ({ session }: { session: Session }) => {\n if (session?.data.isEditor || session?.data.isAdmin) return true;\n return { isPublished: { equals: true } };\n },\n },\n },\n\n fields: {\n icon: relationship({ ref: \"Image\" }),\n name: text({ validation: { isRequired: true } }),\n description: text(),\n link: text(),\n\n isPublished: checkbox(),\n\n status: select({\n type: \"enum\",\n options: [\n { label: \"Pending\", value: \"pending\" },\n { label: \"Constructing\", value: \"constructing\" },\n { label: \"Published\", value: \"published\" },\n { label: \"Abandoned\", value: \"abandoned\" },\n ],\n defaultValue: \"pending\",\n db: { map: \"project_status\" },\n validation: { isRequired: true },\n ui: { displayMode: \"select\" },\n }),\n\n post: relationship({ ref: \"Post\" }),\n\n createdAt: timestamp({\n defaultValue: { kind: \"now\" },\n }),\n },\n});\n", "import {\n checkbox,\n relationship,\n select,\n text,\n timestamp,\n} from \"@keystone-6/core/fields\";\nimport { document } from \"@keystone-6/fields-document\";\nimport { list } from \"@keystone-6/core\";\nimport { allowEditor } from \"../limit\";\nimport { Session } from \"../auth\";\n\nexport const Post = list({\n access: {\n ...allowEditor,\n\n filter: {\n query: ({ session }: { session: Session }) => {\n if (session?.data.isEditor || session?.data.isAdmin) return true;\n return { isPublished: { equals: true } };\n },\n },\n },\n\n fields: {\n slug: text({\n validation: {\n isRequired: true,\n },\n isIndexed: \"unique\",\n }),\n title: text({ validation: { isRequired: true } }),\n cover: relationship({ ref: \"Image\" }),\n\n description: text(),\n\n assets: relationship({ ref: \"Asset\", many: true }),\n images: relationship({ ref: \"Image\", many: true }),\n content: document({\n formatting: true,\n layouts: [\n [1, 1],\n [1, 1, 1],\n [2, 1],\n [1, 2],\n [1, 2, 1],\n ],\n links: true,\n dividers: true,\n }),\n\n type: select({\n type: \"enum\",\n options: [\n { label: \"Article\", value: \"article\" },\n { label: \"Podcast\", value: \"podcast\" },\n ],\n defaultValue: \"article\",\n db: { map: \"post_type\" },\n validation: { isRequired: true },\n ui: { displayMode: \"select\" },\n }),\n\n isPublished: checkbox(),\n\n author: relationship({\n ref: \"User.posts\",\n\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\", \"email\"],\n inlineEdit: { fields: [\"name\", \"email\"] },\n linkToItem: true,\n inlineConnect: true,\n },\n\n many: false,\n }),\n\n categories: relationship({\n ref: \"Category.posts\",\n many: true,\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\"],\n inlineEdit: { fields: [\"name\"] },\n linkToItem: true,\n inlineConnect: true,\n inlineCreate: { fields: [\"name\"] },\n },\n }),\n\n tags: relationship({\n ref: \"Tag.posts\",\n many: true,\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\"],\n inlineEdit: { fields: [\"name\"] },\n linkToItem: true,\n inlineConnect: true,\n inlineCreate: { fields: [\"name\"] },\n },\n }),\n\n createdAt: timestamp({\n defaultValue: { kind: \"now\" },\n }),\n },\n});\n", "import {\n checkbox,\n relationship,\n text,\n timestamp,\n} from \"@keystone-6/core/fields\";\nimport { document } from \"@keystone-6/fields-document\";\nimport { list } from \"@keystone-6/core\";\nimport { allowEditor } from \"../limit\";\nimport { Session } from \"../auth\";\n\nexport const Event = list({\n access: {\n ...allowEditor,\n\n filter: {\n query: ({ session }: { session: Session }) => {\n if (session?.data.isEditor || session?.data.isAdmin) return true;\n return { isPublished: { equals: true } };\n },\n },\n },\n\n fields: {\n slug: text({\n validation: {\n isRequired: true,\n },\n isIndexed: \"unique\",\n }),\n title: text({ validation: { isRequired: true } }),\n description: text(),\n\n content: document({\n formatting: true,\n layouts: [\n [1, 1],\n [1, 1, 1],\n [2, 1],\n [1, 2],\n [1, 2, 1],\n ],\n links: true,\n dividers: true,\n }),\n\n isPublished: checkbox(),\n isHistory: checkbox(),\n\n author: relationship({\n ref: \"User.events\",\n\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\", \"email\"],\n inlineEdit: { fields: [\"name\", \"email\"] },\n linkToItem: true,\n inlineConnect: true,\n },\n\n many: false,\n }),\n\n categories: relationship({\n ref: \"Category.events\",\n many: true,\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\"],\n inlineEdit: { fields: [\"name\"] },\n linkToItem: true,\n inlineConnect: true,\n inlineCreate: { fields: [\"name\"] },\n },\n }),\n\n tags: relationship({\n ref: \"Tag.events\",\n many: true,\n ui: {\n displayMode: \"cards\",\n cardFields: [\"name\"],\n inlineEdit: { fields: [\"name\"] },\n linkToItem: true,\n inlineConnect: true,\n inlineCreate: { fields: [\"name\"] },\n },\n }),\n\n createdAt: timestamp({\n defaultValue: { kind: \"now\" },\n }),\n },\n});\n", "import { randomBytes } from \"crypto\";\nimport { createAuth } from \"@keystone-6/auth\";\n\nimport { statelessSessions } from \"@keystone-6/core/session\";\n\nlet sessionSecret = process.env.SESSION_SECRET;\nif (!sessionSecret && process.env.NODE_ENV !== \"production\") {\n sessionSecret = randomBytes(32).toString(\"hex\");\n}\n\nexport type Session = {\n data: {\n id: string;\n name: string;\n isAdmin: boolean;\n isEditor: boolean;\n createdAt: Date;\n };\n};\n\nconst { withAuth } = createAuth({\n listKey: \"User\",\n identityField: \"email\",\n\n sessionData: \"id name createdAt isAdmin isEditor\",\n secretField: \"password\",\n\n initFirstItem: {\n fields: [\"name\", \"email\", \"password\", \"isAdmin\"],\n },\n});\n\nconst sessionMaxAge = 60 * 60 * 24 * 30;\n\nconst session = statelessSessions({\n maxAge: sessionMaxAge,\n secret: sessionSecret!,\n});\n\nexport { withAuth, session };\n"],
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,eAAuB;;;ACAvB,IAAAC,eAAqB;AAErB,IAAAC,iBAMO;;;ACRP,IAAM,SAAS,CAAC,EAAE,SAAAC,SAAQ,MAAwBA,UAAS,KAAK,MAAM;AACtE,IAAM,YAAiB;AAAA,EACrB,WAAW;AAAA,IACT,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,EACV;AACF;AAEA,IAAM,W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;AAAA,EAChC,QAAQ;AAAA,EACR,QAAQ;AACV,CAAC;;;AT9BD,IAAM,UAAU,QAAQ,IAAI,YAAY;AACxC,IAAM,cACJ,QAAQ,IAAI,gBACZ;AACF,IAAM,mBAAmB,QAAQ,IAAI,qBAAqB;AAE1D,IAAO,mBAAQ;AAAA,MACb,qBAAO;AAAA,IACL,IAAI;AAAA,MACF,UAAU;AAAA,IACZ;AAAA,IACA,IAAI;AAAA,MACF,UAAU;AAAA,MACV,KAAK;AAAA,IACP;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,QACJ,QAAQ;AAAA,QACR,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,SAAS;AAAA,MACP,aAAa;AAAA,QACX,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa,CAAC,SAAS,GAAG,OAAO,UAAU,IAAI;AAAA,QAC/C,aAAa;AAAA,UACX,MAAM;AAAA,QACR;AAAA,QACA,aAAa;AAAA,MACf;AAAA,IACF;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACH;",
"names": ["import_core", "import_core", "import_fields", "session", "import_core", "import_fields", "import_core", "import_fields", "import_fields", "import_core", "session", "import_fields", "import_fields_document", "import_core", "session", "import_fields", "import_fields_document", "import_core", "session"]
}