2024-09-07 14:59:43 +02:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
import { defineConfig } from "sanity";
|
|
|
|
import { structureTool } from "sanity/structure";
|
|
|
|
import { visionTool } from "@sanity/vision";
|
|
|
|
import { schemaTypes } from "./schemaTypes";
|
|
|
|
import { codeInput } from "@sanity/code-input";
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
name: "default",
|
|
|
|
title: "svrjs",
|
|
|
|
|
|
|
|
projectId: `${process.env.NEXT_PUBLIC_SANITY_PROJECT_ID}`,
|
|
|
|
dataset: "production",
|
|
|
|
|
2024-09-07 15:50:01 +02:00
|
|
|
basePath: "/studio",
|
|
|
|
|
2024-09-07 14:59:43 +02:00
|
|
|
plugins: [structureTool(), visionTool(), codeInput()],
|
|
|
|
|
|
|
|
schema: {
|
|
|
|
types: schemaTypes
|
|
|
|
}
|
|
|
|
});
|