diff --git a/package.json b/package.json index b17049f..b99f713 100644 --- a/package.json +++ b/package.json @@ -10,14 +10,13 @@ "lint": "next lint" }, "dependencies": { - "@payloadcms/db-mongodb": "3.0.0-alpha.33", - "@payloadcms/db-postgres": "^3.0.0-alpha.33", - "@payloadcms/next": "3.0.0-alpha.33", - "@payloadcms/richtext-lexical": "3.0.0-alpha.33", - "@payloadcms/richtext-slate": "3.0.0-alpha.33", - "@payloadcms/ui": "3.0.0-alpha.33", + "@payloadcms/db-mongodb": "3.0.0-alpha.34", + "@payloadcms/db-postgres": "^3.0.0-alpha.34", + "@payloadcms/next": "3.0.0-alpha.34", + "@payloadcms/richtext-lexical": "3.0.0-alpha.34", + "@payloadcms/richtext-slate": "3.0.0-alpha.34", "next": "^14.2.0-canary.7", - "payload": "3.0.0-alpha.33", + "payload": "3.0.0-alpha.34", "react": "^18", "react-dom": "^18", "sharp": "0.32.6" diff --git a/src/app/(payload)/api/[collection]/file/[filename]/route.ts b/src/app/(payload)/api/[collection]/file/[filename]/route.ts deleted file mode 100644 index f34a6a6..0000000 --- a/src/app/(payload)/api/[collection]/file/[filename]/route.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */ -/* DO NOT MODIFY it because it could be re-written at any time. */ -import config from '@payload-config' -import { GET_STATIC_FILE } from '@payloadcms/next/routes' - -export const GET = GET_STATIC_FILE(config) diff --git a/yarn.lock b/yarn.lock index cfe6626..110477c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1403,10 +1403,10 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@payloadcms/db-mongodb@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/@payloadcms/db-mongodb/-/db-mongodb-3.0.0-alpha.33.tgz#5422082385f5007e62380829a41f49576285a597" - integrity sha512-mmjmk5vVPgTPqj2H8vDsPzjUEwtisr/67dpXGJVRIRApnr5TwPITViapbFPpBBtg8OVq8x73qNogTwcFnYeeVQ== +"@payloadcms/db-mongodb@3.0.0-alpha.34": + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/@payloadcms/db-mongodb/-/db-mongodb-3.0.0-alpha.34.tgz#8269350590d8b5b37704f1fa24a5ea149be21a8f" + integrity sha512-Px8xJSX5O+wkXy6jQwB84El8RB62Lm7mEuCKXfzToj0m/R4o1aIviKbY9LwyA+rOvfN/T9eAq4U+LpG6Fb7YQQ== dependencies: bson-objectid "2.0.4" deepmerge "4.3.1" @@ -1418,10 +1418,10 @@ prompts "2.4.2" uuid "9.0.0" -"@payloadcms/db-postgres@^3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/@payloadcms/db-postgres/-/db-postgres-3.0.0-alpha.33.tgz#b6e1b80aed8c4d041f4c008977f9b043c6aef182" - integrity sha512-ZJZdr1ACs2bJYcYPr71DBk8fyfYGJyroyqXLye4v4ZvcgOQescwfFyHbRns1JFh7AcyU6cm+OcGYgzgORRP/2Q== +"@payloadcms/db-postgres@^3.0.0-alpha.34": + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/@payloadcms/db-postgres/-/db-postgres-3.0.0-alpha.34.tgz#969ba3eb8138551c2ac8e788284c92a19d55573a" + integrity sha512-AkoAU8gwo2GsKMeknnE4v2QP11oqLGbmvK2b/T9WJpxosLmjph1kXHFklPCPBLID1PQG+UaHhREZt8jDS+j9dg== dependencies: "@libsql/client" "^0.5.2" console-table-printer "2.11.2" @@ -1432,10 +1432,10 @@ to-snake-case "1.0.0" uuid "9.0.0" -"@payloadcms/graphql@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/@payloadcms/graphql/-/graphql-3.0.0-alpha.33.tgz#3693abdca5624a4a26a00c5df66f8ffa15bc3007" - integrity sha512-AUtpEJme9qxMwZAL97X6mc1YXFUaQh8OEVoKchwVDpmeOUeyCIGWQgOZFImk5ruuaHh4Bn/5Y+h9gfRM4a8wcw== +"@payloadcms/graphql@3.0.0-alpha.34": + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/@payloadcms/graphql/-/graphql-3.0.0-alpha.34.tgz#9bbaf5155a9bb2cbf35bb950b662200b37841e68" + integrity sha512-vj++x7GLx6mkr2Zh88VDB0kI3pbH3CSeW510C6jbV8g/MCBcjL5OG/JXrKW0XS/3NT+MoyLcH9zN303o23dImA== dependencies: graphql "16.8.1" graphql-http "^1.22.0" @@ -1445,15 +1445,15 @@ graphql-type-json "0.3.2" pluralize "8.0.0" -"@payloadcms/next@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/@payloadcms/next/-/next-3.0.0-alpha.33.tgz#7a49cf85a6064b1811a3c034503c5985ccfbe55c" - integrity sha512-ZlBZybfuNw+pqFV1feOqYZhza8W6QbN+UMLK7wQ8TYeNoIlhyral2OUTuACuYEPPhG4jqLLCUGTyhWNkE5tIIw== +"@payloadcms/next@3.0.0-alpha.34": + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/@payloadcms/next/-/next-3.0.0-alpha.34.tgz#d8b25177629ce0978559d4b5f69c0ac08b7766f2" + integrity sha512-ptZ8TiN7GhVLroZnODdi4hqH8vEwCM4mn8RU7UWtuPGhbUtjvGiBlbkTeXbqgChVjmmzuqyMRc6Wkz9h2U3fWg== dependencies: "@dnd-kit/core" "6.0.8" - "@payloadcms/graphql" "3.0.0-alpha.33" - "@payloadcms/translations" "3.0.0-alpha.33" - "@payloadcms/ui" "3.0.0-alpha.33" + "@payloadcms/graphql" "3.0.0-alpha.34" + "@payloadcms/translations" "3.0.0-alpha.34" + "@payloadcms/ui" "3.0.0-alpha.34" "@types/busboy" "^1.5.3" busboy "^1.6.0" deep-equal "2.2.2" @@ -1467,10 +1467,10 @@ sass "^1.71.1" ws "^8.16.0" -"@payloadcms/richtext-lexical@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/@payloadcms/richtext-lexical/-/richtext-lexical-3.0.0-alpha.33.tgz#27ce174a3b7fd2a3ee8355e29bcc95a45b585af5" - integrity sha512-JnYmkcCQGQiuebmanSm2I9gznyoqKR56Rgv3wkwjeD8tXYjD+QO+TgS9zTKugkzOrYowRZNtb+tJtREJJwek3w== +"@payloadcms/richtext-lexical@3.0.0-alpha.34": + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/@payloadcms/richtext-lexical/-/richtext-lexical-3.0.0-alpha.34.tgz#fcfd0b4421f2b3fec70683b17a2edb9eacdcb941" + integrity sha512-GnCrUHRf1e0HA3VmSCul6SYyg3C2ITGliFqoHEFxOXWyDvzzwxukXf/8RSYdwwlbq/u/xXXeGcxyTuIrdTpxHw== dependencies: "@faceless-ui/modal" "2.0.2" "@lexical/headless" "0.13.1" @@ -1493,10 +1493,10 @@ react-error-boundary "4.0.12" ts-essentials "7.0.3" -"@payloadcms/richtext-slate@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/@payloadcms/richtext-slate/-/richtext-slate-3.0.0-alpha.33.tgz#55b13a55f6be4c619d50101283a393052f580dda" - integrity sha512-EF6YyvcgQl40F0Y9fax9haFQo1QtSmtAPv8bj3UCTgl0urZREoqr1neFe+7Q2cP24c+7HSEDRUteAjARXgJ+6Q== +"@payloadcms/richtext-slate@3.0.0-alpha.34": + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/@payloadcms/richtext-slate/-/richtext-slate-3.0.0-alpha.34.tgz#349395766c4c46ec7831979744325916ed3d4742" + integrity sha512-ZiVjMNkiOiD0m/F/FuBWzE5sziInHN90KvzzS04i6si2lwY6HU3Ev75h1onlLYf+detHFGrMezEVBC9sqlmNdg== dependencies: "@faceless-ui/modal" "2.0.2" is-hotkey "0.2.0" @@ -1506,15 +1506,15 @@ slate-hyperscript "0.81.3" slate-react "0.92.0" -"@payloadcms/translations@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/@payloadcms/translations/-/translations-3.0.0-alpha.33.tgz#5472314978a071ff05fef45a9e4dd8d6e226f3fb" - integrity sha512-0yaS1n5/snUhRimjpPx8UX49UPUWa42fGvHBFDJE66Nh8lqgFa1LoT4C4hy628v/8+EGS/6/5UOAjW9BgLVuOA== +"@payloadcms/translations@3.0.0-alpha.34": + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/@payloadcms/translations/-/translations-3.0.0-alpha.34.tgz#24615aeb151952a310dc7ac7ddde32ba5d262401" + integrity sha512-mcKR1nsjyNftBX15FCXII1tR0toRtCqkUNE7hQprroZRkAqANXQuoIMFHkEhFYmYd39irinX18JvtNL3cjlk0A== -"@payloadcms/ui@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/@payloadcms/ui/-/ui-3.0.0-alpha.33.tgz#9e02ec5362172a27021ceb6ca3a063cc134a2d85" - integrity sha512-1pOUegrX7t4uBIFXao59oGM3H0IlZTAfIfGaXiEwpgFzFCD6tcdV2m+aRVkoaZ0yjnauiKGranlGlTPANv80RQ== +"@payloadcms/ui@3.0.0-alpha.34": + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/@payloadcms/ui/-/ui-3.0.0-alpha.34.tgz#88d9ec1b6155eae4bf1b0dc3d78666b4b356aaf3" + integrity sha512-uQduTLT8nIE3Ek7bxVuSP776Nk+7/3Pj9gO7RoQ036kXWnoLjnEbtgRRVdJAIysbEswenPbVEmRvDxSbOMFNvg== dependencies: "@dnd-kit/core" "6.0.8" "@dnd-kit/sortable" "7.0.2" @@ -1522,7 +1522,7 @@ "@faceless-ui/scroll-info" "1.3.0" "@faceless-ui/window-info" "2.1.2" "@monaco-editor/react" "4.5.1" - "@payloadcms/translations" "3.0.0-alpha.33" + "@payloadcms/translations" "3.0.0-alpha.34" body-scroll-lock "4.0.0-beta.0" bson-objectid "2.0.4" date-fns "2.30.0" @@ -5160,12 +5160,12 @@ path-type@^4.0.0: resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -payload@3.0.0-alpha.33: - version "3.0.0-alpha.33" - resolved "https://registry.npmjs.org/payload/-/payload-3.0.0-alpha.33.tgz#c4647657be34918d7d748e264a9c9279edd45c24" - integrity sha512-8KF7kor5DuKjX/9XNy+g364639dbIbHTnxp0451ywMazLgElUOpc54ec3OQajyTBtbR1iq7q8iuSqWCvL+utUw== +payload@3.0.0-alpha.34: + version "3.0.0-alpha.34" + resolved "https://registry.npmjs.org/payload/-/payload-3.0.0-alpha.34.tgz#7cfa7b5ab930ad39aa76dfd4ab9e50c16cf101db" + integrity sha512-lJEHCuXlvWwoFCGok2wYP2RVGwAguG+qJbY4LEOeKo6DaRUeLxL3NiRbVGyoWf4i57QSTbZd7pj9xHnj6z6NWQ== dependencies: - "@payloadcms/translations" "3.0.0-alpha.33" + "@payloadcms/translations" "3.0.0-alpha.34" bson-objectid "2.0.4" conf "10.2.0" console-table-printer "2.11.2"