Added more types

This commit is contained in:
2023-09-03 00:09:44 +02:00
parent a83cc7d8c6
commit ff63fa888b
12 changed files with 1490 additions and 1473 deletions

View File

@@ -15,12 +15,12 @@ const config = defineConfig({
process.env.HEAD!, // Netlify branch env
token: process.env.TINA_TOKEN!,
media: {
// If you wanted cloudinary do this
// loadCustomStore: async () => {
// const pack = await import("next-tinacms-cloudinary");
// return pack.TinaCloudCloudinaryMediaStore;
// },
// this is the config for the tina cloud media store
// If you wanted cloudinary do this
// loadCustomStore: async () => {
// const pack = await import("next-tinacms-cloudinary");
// return pack.TinaCloudCloudinaryMediaStore;
// },
// this is the config for the tina cloud media store
tina: {
publicFolder: "public",
mediaRoot: "uploads"
@@ -214,11 +214,9 @@ const config = defineConfig({
},
templates: [
heroBlockSchema,
// @ts-ignore
featureBlockSchema,
contentBlockSchema,
testimonialBlockSchema,
// @ts-ignore
carouselBlockSchema
]
}