Updated deps
This commit is contained in:
		
							parent
							
								
									dcba1b889d
								
							
						
					
					
						commit
						2c4842244d
					
				
							
								
								
									
										124
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										124
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -10,16 +10,16 @@ | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "@fontsource/vollkorn": "5.0.20", | ||||
|         "@iconify-json/material-symbols": "^1.1.79", | ||||
|         "@iconify-json/material-symbols": "^1.1.80", | ||||
|         "@payloadcms/bundler-webpack": "1.0.6", | ||||
|         "@payloadcms/db-mongodb": "1.5.1", | ||||
|         "@payloadcms/richtext-lexical": "0.10.0", | ||||
|         "@payloadcms/richtext-lexical": "0.11.0", | ||||
|         "cross-env": "7.0.3", | ||||
|         "language-tags": "1.0.9", | ||||
|         "luxon": "3.4.4", | ||||
|         "payload": "2.16.1", | ||||
|         "payload": "2.17.0", | ||||
|         "payloadcms-sftp-storage": "1.0.1", | ||||
|         "sharp": "0.33.3", | ||||
|         "sharp": "0.33.4", | ||||
|         "styled-components": "6.1.11" | ||||
|       }, | ||||
|       "devDependencies": { | ||||
| @ -1962,9 +1962,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@iconify-json/material-symbols": { | ||||
|       "version": "1.1.79", | ||||
|       "resolved": "https://registry.npmjs.org/@iconify-json/material-symbols/-/material-symbols-1.1.79.tgz", | ||||
|       "integrity": "sha512-/OvCxrxPQ/qncjGAPZkNk6LEpVX1nIK6e6BhMsbXMT5pEpnrePsRsVOYsiB8bJn3x67HP8zBrxZSYisDCKf8ow==", | ||||
|       "version": "1.1.80", | ||||
|       "resolved": "https://registry.npmjs.org/@iconify-json/material-symbols/-/material-symbols-1.1.80.tgz", | ||||
|       "integrity": "sha512-JrDMmWeHxFFMp3BBSsjvDvSiYzJ0qdYmHAQYWY/L5fxVZcIoeoQvtQR0wM1iJN4UDIsnHwbpJQ/sqZ/cvph6sw==", | ||||
|       "dependencies": { | ||||
|         "@iconify/types": "*" | ||||
|       } | ||||
| @ -1975,9 +1975,9 @@ | ||||
|       "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==" | ||||
|     }, | ||||
|     "node_modules/@img/sharp-darwin-arm64": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.3.tgz", | ||||
|       "integrity": "sha512-FaNiGX1MrOuJ3hxuNzWgsT/mg5OHG/Izh59WW2mk1UwYHUwtfbhk5QNKYZgxf0pLOhx9ctGiGa2OykD71vOnSw==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.4.tgz", | ||||
|       "integrity": "sha512-p0suNqXufJs9t3RqLBO6vvrgr5OhgbWp76s5gTRvdmxmuv9E1rcaqGUsl3l4mKVmXPkTkTErXediAui4x+8PSA==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -2000,9 +2000,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-darwin-x64": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.3.tgz", | ||||
|       "integrity": "sha512-2QeSl7QDK9ru//YBT4sQkoq7L0EAJZA3rtV+v9p8xTKl4U1bUqTIaCnoC7Ctx2kCjQgwFXDasOtPTCT8eCTXvw==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.4.tgz", | ||||
|       "integrity": "sha512-0l7yRObwtTi82Z6ebVI2PnHT8EB2NxBgpK2MiKJZJ7cz32R4lxd001ecMhzzsZig3Yv9oclvqqdV93jo9hy+Dw==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -2193,9 +2193,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-linux-arm": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.3.tgz", | ||||
|       "integrity": "sha512-Q7Ee3fFSC9P7vUSqVEF0zccJsZ8GiiCJYGWDdhEjdlOeS9/jdkyJ6sUSPj+bL8VuOYFSbofrW0t/86ceVhx32w==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.4.tgz", | ||||
|       "integrity": "sha512-RUgBD1c0+gCYZGCCe6mMdTiOFS0Zc/XrN0fYd6hISIKcDUbAW5NtSQW9g/powkrXYm6Vzwd6y+fqmExDuCdHNQ==", | ||||
|       "cpu": [ | ||||
|         "arm" | ||||
|       ], | ||||
| @ -2218,9 +2218,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-linux-arm64": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.3.tgz", | ||||
|       "integrity": "sha512-Zf+sF1jHZJKA6Gor9hoYG2ljr4wo9cY4twaxgFDvlG0Xz9V7sinsPp8pFd1XtlhTzYo0IhDbl3rK7P6MzHpnYA==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.4.tgz", | ||||
|       "integrity": "sha512-2800clwVg1ZQtxwSoTlHvtm9ObgAax7V6MTAB/hDT945Tfyy3hVkmiHpeLPCKYqYR1Gcmv1uDZ3a4OFwkdBL7Q==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -2243,9 +2243,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-linux-s390x": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.3.tgz", | ||||
|       "integrity": "sha512-vFk441DKRFepjhTEH20oBlFrHcLjPfI8B0pMIxGm3+yilKyYeHEVvrZhYFdqIseSclIqbQ3SnZMwEMWonY5XFA==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.4.tgz", | ||||
|       "integrity": "sha512-h3RAL3siQoyzSoH36tUeS0PDmb5wINKGYzcLB5C6DIiAn2F3udeFAum+gj8IbA/82+8RGCTn7XW8WTFnqag4tQ==", | ||||
|       "cpu": [ | ||||
|         "s390x" | ||||
|       ], | ||||
| @ -2254,7 +2254,7 @@ | ||||
|         "linux" | ||||
|       ], | ||||
|       "engines": { | ||||
|         "glibc": ">=2.28", | ||||
|         "glibc": ">=2.31", | ||||
|         "node": "^18.17.0 || ^20.3.0 || >=21.0.0", | ||||
|         "npm": ">=9.6.5", | ||||
|         "pnpm": ">=7.1.0", | ||||
| @ -2268,9 +2268,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-linux-x64": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.3.tgz", | ||||
|       "integrity": "sha512-Q4I++herIJxJi+qmbySd072oDPRkCg/SClLEIDh5IL9h1zjhqjv82H0Seupd+q2m0yOfD+/fJnjSoDFtKiHu2g==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.4.tgz", | ||||
|       "integrity": "sha512-GoR++s0XW9DGVi8SUGQ/U4AeIzLdNjHka6jidVwapQ/JebGVQIpi52OdyxCNVRE++n1FCLzjDovJNozif7w/Aw==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -2293,9 +2293,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-linuxmusl-arm64": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.3.tgz", | ||||
|       "integrity": "sha512-qnDccehRDXadhM9PM5hLvcPRYqyFCBN31kq+ErBSZtZlsAc1U4Z85xf/RXv1qolkdu+ibw64fUDaRdktxTNP9A==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.4.tgz", | ||||
|       "integrity": "sha512-nhr1yC3BlVrKDTl6cO12gTpXMl4ITBUZieehFvMntlCXFzH2bvKG76tBL2Y/OqhupZt81pR7R+Q5YhJxW0rGgQ==", | ||||
|       "cpu": [ | ||||
|         "arm64" | ||||
|       ], | ||||
| @ -2318,9 +2318,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-linuxmusl-x64": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.3.tgz", | ||||
|       "integrity": "sha512-Jhchim8kHWIU/GZ+9poHMWRcefeaxFIs9EBqf9KtcC14Ojk6qua7ghKiPs0sbeLbLj/2IGBtDcxHyjCdYWkk2w==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.4.tgz", | ||||
|       "integrity": "sha512-uCPTku0zwqDmZEOi4ILyGdmW76tH7dm8kKlOIV1XC5cLyJ71ENAAqarOHQh0RLfpIpbV5KOpXzdU6XkJtS0daw==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -2343,15 +2343,15 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-wasm32": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.3.tgz", | ||||
|       "integrity": "sha512-68zivsdJ0koE96stdUfM+gmyaK/NcoSZK5dV5CAjES0FUXS9lchYt8LAB5rTbM7nlWtxaU/2GON0HVN6/ZYJAQ==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.4.tgz", | ||||
|       "integrity": "sha512-Bmmauh4sXUsUqkleQahpdNXKvo+wa1V9KhT2pDA4VJGKwnKMJXiSTGphn0gnJrlooda0QxCtXc6RX1XAU6hMnQ==", | ||||
|       "cpu": [ | ||||
|         "wasm32" | ||||
|       ], | ||||
|       "optional": true, | ||||
|       "dependencies": { | ||||
|         "@emnapi/runtime": "^1.1.0" | ||||
|         "@emnapi/runtime": "^1.1.1" | ||||
|       }, | ||||
|       "engines": { | ||||
|         "node": "^18.17.0 || ^20.3.0 || >=21.0.0", | ||||
| @ -2364,9 +2364,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-win32-ia32": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.3.tgz", | ||||
|       "integrity": "sha512-CyimAduT2whQD8ER4Ux7exKrtfoaUiVr7HG0zZvO0XTFn2idUWljjxv58GxNTkFb8/J9Ub9AqITGkJD6ZginxQ==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.4.tgz", | ||||
|       "integrity": "sha512-99SJ91XzUhYHbx7uhK3+9Lf7+LjwMGQZMDlO/E/YVJ7Nc3lyDFZPGhjwiYdctoH2BOzW9+TnfqcaMKt0jHLdqw==", | ||||
|       "cpu": [ | ||||
|         "ia32" | ||||
|       ], | ||||
| @ -2385,9 +2385,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@img/sharp-win32-x64": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.3.tgz", | ||||
|       "integrity": "sha512-viT4fUIDKnli3IfOephGnolMzhz5VaTvDRkYqtZxOMIoMQ4MrAziO7pT1nVnOt2FAm7qW5aa+CCc13aEY6Le0g==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.4.tgz", | ||||
|       "integrity": "sha512-3QLocdTRVIrFNye5YocZl+KKpYKP+fksi1QhmOArgx7GyhIbQp/WrJRu176jm8IxromS7RIkzMiMINVdBtC8Aw==", | ||||
|       "cpu": [ | ||||
|         "x64" | ||||
|       ], | ||||
| @ -2879,9 +2879,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@payloadcms/richtext-lexical": { | ||||
|       "version": "0.10.0", | ||||
|       "resolved": "https://registry.npmjs.org/@payloadcms/richtext-lexical/-/richtext-lexical-0.10.0.tgz", | ||||
|       "integrity": "sha512-GogwRhFxStmwzuVR2ZPCBHSv5nQ/+0S0rmmbGTO7qIQPdgt7CivkSEwFwtmIHKpZyYNR7Xa/qXaQjS14E6KJHg==", | ||||
|       "version": "0.11.0", | ||||
|       "resolved": "https://registry.npmjs.org/@payloadcms/richtext-lexical/-/richtext-lexical-0.11.0.tgz", | ||||
|       "integrity": "sha512-5wB/wmVSiQzmnYJx49UPV4DvK9brdHbsEjcFcus0uy9f3XAkBqJWwy4xAOReiqzA83/pXnTE8+V1owWftHnNxg==", | ||||
|       "dependencies": { | ||||
|         "@faceless-ui/modal": "2.0.1", | ||||
|         "@lexical/headless": "0.13.1", | ||||
| @ -9252,9 +9252,9 @@ | ||||
|       "integrity": "sha512-KG8UEiEVkR3wGEb4m5yZkVCzigAD+cVEJck2CzYZO37ZGJfctvVptVO192MwrtPhzONn6go8ylnOdMhKqi4nfg==" | ||||
|     }, | ||||
|     "node_modules/payload": { | ||||
|       "version": "2.16.1", | ||||
|       "resolved": "https://registry.npmjs.org/payload/-/payload-2.16.1.tgz", | ||||
|       "integrity": "sha512-ZrmTXkqZxN+mdPdii61vm3yMs/+qNQXPx6BfpJ4sER5GwyGz4I174vUJ9EcaBWt3aYvquW8IEZCzTsCqdjo8WA==", | ||||
|       "version": "2.17.0", | ||||
|       "resolved": "https://registry.npmjs.org/payload/-/payload-2.17.0.tgz", | ||||
|       "integrity": "sha512-dO3BgV+jR8qOuZm4iojDlWFIuE4cWCO3B5b34k9zvEPlzeo73dxc+YhJ12EVsspbyeC4c4ITlULy4l3fer82Zg==", | ||||
|       "dependencies": { | ||||
|         "@date-io/date-fns": "2.16.0", | ||||
|         "@dnd-kit/core": "6.0.8", | ||||
| @ -11856,9 +11856,9 @@ | ||||
|       "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==" | ||||
|     }, | ||||
|     "node_modules/sharp": { | ||||
|       "version": "0.33.3", | ||||
|       "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.3.tgz", | ||||
|       "integrity": "sha512-vHUeXJU1UvlO/BNwTpT0x/r53WkLUVxrmb5JTgW92fdFCFk0ispLMAeu/jPO2vjkXM1fYUi3K7/qcLF47pwM1A==", | ||||
|       "version": "0.33.4", | ||||
|       "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.4.tgz", | ||||
|       "integrity": "sha512-7i/dt5kGl7qR4gwPRD2biwD2/SvBn3O04J77XKFgL2OnZtQw+AG9wnuS/csmu80nPRHLYE9E41fyEiG8nhH6/Q==", | ||||
|       "hasInstallScript": true, | ||||
|       "dependencies": { | ||||
|         "color": "^4.2.3", | ||||
| @ -11873,8 +11873,8 @@ | ||||
|         "url": "https://opencollective.com/libvips" | ||||
|       }, | ||||
|       "optionalDependencies": { | ||||
|         "@img/sharp-darwin-arm64": "0.33.3", | ||||
|         "@img/sharp-darwin-x64": "0.33.3", | ||||
|         "@img/sharp-darwin-arm64": "0.33.4", | ||||
|         "@img/sharp-darwin-x64": "0.33.4", | ||||
|         "@img/sharp-libvips-darwin-arm64": "1.0.2", | ||||
|         "@img/sharp-libvips-darwin-x64": "1.0.2", | ||||
|         "@img/sharp-libvips-linux-arm": "1.0.2", | ||||
| @ -11883,15 +11883,15 @@ | ||||
|         "@img/sharp-libvips-linux-x64": "1.0.2", | ||||
|         "@img/sharp-libvips-linuxmusl-arm64": "1.0.2", | ||||
|         "@img/sharp-libvips-linuxmusl-x64": "1.0.2", | ||||
|         "@img/sharp-linux-arm": "0.33.3", | ||||
|         "@img/sharp-linux-arm64": "0.33.3", | ||||
|         "@img/sharp-linux-s390x": "0.33.3", | ||||
|         "@img/sharp-linux-x64": "0.33.3", | ||||
|         "@img/sharp-linuxmusl-arm64": "0.33.3", | ||||
|         "@img/sharp-linuxmusl-x64": "0.33.3", | ||||
|         "@img/sharp-wasm32": "0.33.3", | ||||
|         "@img/sharp-win32-ia32": "0.33.3", | ||||
|         "@img/sharp-win32-x64": "0.33.3" | ||||
|         "@img/sharp-linux-arm": "0.33.4", | ||||
|         "@img/sharp-linux-arm64": "0.33.4", | ||||
|         "@img/sharp-linux-s390x": "0.33.4", | ||||
|         "@img/sharp-linux-x64": "0.33.4", | ||||
|         "@img/sharp-linuxmusl-arm64": "0.33.4", | ||||
|         "@img/sharp-linuxmusl-x64": "0.33.4", | ||||
|         "@img/sharp-wasm32": "0.33.4", | ||||
|         "@img/sharp-win32-ia32": "0.33.4", | ||||
|         "@img/sharp-win32-x64": "0.33.4" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/shebang-command": { | ||||
|  | ||||
| @ -21,16 +21,16 @@ | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@fontsource/vollkorn": "5.0.20", | ||||
|     "@iconify-json/material-symbols": "^1.1.79", | ||||
|     "@iconify-json/material-symbols": "^1.1.80", | ||||
|     "@payloadcms/bundler-webpack": "1.0.6", | ||||
|     "@payloadcms/db-mongodb": "1.5.1", | ||||
|     "@payloadcms/richtext-lexical": "0.10.0", | ||||
|     "@payloadcms/richtext-lexical": "0.11.0", | ||||
|     "cross-env": "7.0.3", | ||||
|     "language-tags": "1.0.9", | ||||
|     "luxon": "3.4.4", | ||||
|     "payload": "2.16.1", | ||||
|     "payload": "2.17.0", | ||||
|     "payloadcms-sftp-storage": "1.0.1", | ||||
|     "sharp": "0.33.3", | ||||
|     "sharp": "0.33.4", | ||||
|     "styled-components": "6.1.11" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import { LexicalBlock } from "@payloadcms/richtext-lexical"; | ||||
| import { Block } from "payload/types"; | ||||
| import { BreakBlockType } from "../constants"; | ||||
| 
 | ||||
| export const breakBlock: LexicalBlock = { | ||||
| export const breakBlock: Block = { | ||||
|   slug: "breakBlock", | ||||
|   interfaceName: "BreakBlock", | ||||
|   labels: { singular: "Break", plural: "Breaks" }, | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| import { LexicalBlock } from "@payloadcms/richtext-lexical"; | ||||
| import { Block } from "payload/types"; | ||||
| import { createEditor } from "../utils/editor"; | ||||
| import { breakBlock } from "./breakBlock"; | ||||
| import { transcriptBlock } from "./transcriptBlock"; | ||||
| 
 | ||||
| const generateRecursiveSectionBlock = (depth = 1, maxDepth = 5): LexicalBlock => ({ | ||||
| const generateRecursiveSectionBlock = (depth = 1, maxDepth = 5): Block => ({ | ||||
|   slug: "sectionBlock", | ||||
|   interfaceName: "SectionBlock", | ||||
|   labels: { singular: "Section", plural: "Sections" }, | ||||
| @ -33,4 +33,4 @@ const generateRecursiveSectionBlock = (depth = 1, maxDepth = 5): LexicalBlock => | ||||
|   ], | ||||
| }); | ||||
| 
 | ||||
| export const sectionBlock: LexicalBlock = generateRecursiveSectionBlock(); | ||||
| export const sectionBlock: Block = generateRecursiveSectionBlock(); | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import { LexicalBlock } from "@payloadcms/richtext-lexical"; | ||||
| import { Block } from "payload/types"; | ||||
| import { cueBlock } from "./cueBlock"; | ||||
| import { lineBlock } from "./lineBlock"; | ||||
| 
 | ||||
| export const transcriptBlock: LexicalBlock = { | ||||
| export const transcriptBlock: Block = { | ||||
|   slug: "transcriptBlock", | ||||
|   interfaceName: "TranscriptBlock", | ||||
|   labels: { singular: "Transcript", plural: "Transcripts" }, | ||||
|  | ||||
| @ -8,7 +8,6 @@ import { | ||||
|   HeadingFeature, | ||||
|   InlineCodeTextFeature, | ||||
|   ItalicTextFeature, | ||||
|   LexicalBlock, | ||||
|   LinkFeature, | ||||
|   // BlockQuoteFeature,
 | ||||
|   OrderedListFeature, | ||||
| @ -23,11 +22,11 @@ import { | ||||
|   UploadFeature, | ||||
|   lexicalEditor, | ||||
| } from "@payloadcms/richtext-lexical"; | ||||
| import { RichTextAdapter } from "payload/types"; | ||||
| import { Block, RichTextAdapter } from "payload/types"; | ||||
| 
 | ||||
| interface EditorOptions { | ||||
|   debugs: boolean; | ||||
|   blocks: LexicalBlock[]; | ||||
|   blocks: Block[]; | ||||
|   headings: boolean; | ||||
|   lists: boolean; | ||||
|   inlines: boolean; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 DrMint
						DrMint