From 2335a98babc8b04db3d73d0290a4c3b6411320ff Mon Sep 17 00:00:00 2001 From: "ecospark[bot]" <128108030+ecospark[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:36:15 +0100 Subject: [PATCH] =?UTF-8?q?chore(typegen):=20=F0=9F=A4=96=20=E2=9C=A8=20(#?= =?UTF-8?q?40)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ecospark[bot] <128108030+ecospark[bot]@users.noreply.github.com> --- api/sanity.types.ts | 1 + next-14/sanity.types.ts | 1 + next-15/sanity.types.ts | 1 + next-canary/sanity.types.ts | 1 + next-enterprise/sanity.types.ts | 1 + studio/schema.json | 7 +++++++ tanstack-start/sanity.types.ts | 1 + 7 files changed, 13 insertions(+) diff --git a/api/sanity.types.ts b/api/sanity.types.ts index a9051cd..ea946b7 100644 --- a/api/sanity.types.ts +++ b/api/sanity.types.ts @@ -136,6 +136,7 @@ export type Demo = { _rev: string title?: string slug?: Slug + url?: string } export type Slug = { diff --git a/next-14/sanity.types.ts b/next-14/sanity.types.ts index 42c72e4..224ae91 100644 --- a/next-14/sanity.types.ts +++ b/next-14/sanity.types.ts @@ -136,6 +136,7 @@ export type Demo = { _rev: string title?: string slug?: Slug + url?: string } export type Slug = { diff --git a/next-15/sanity.types.ts b/next-15/sanity.types.ts index 42c72e4..224ae91 100644 --- a/next-15/sanity.types.ts +++ b/next-15/sanity.types.ts @@ -136,6 +136,7 @@ export type Demo = { _rev: string title?: string slug?: Slug + url?: string } export type Slug = { diff --git a/next-canary/sanity.types.ts b/next-canary/sanity.types.ts index 80d4f33..9a6b5e4 100644 --- a/next-canary/sanity.types.ts +++ b/next-canary/sanity.types.ts @@ -136,6 +136,7 @@ export type Demo = { _rev: string title?: string slug?: Slug + url?: string } export type Slug = { diff --git a/next-enterprise/sanity.types.ts b/next-enterprise/sanity.types.ts index 42c72e4..224ae91 100644 --- a/next-enterprise/sanity.types.ts +++ b/next-enterprise/sanity.types.ts @@ -136,6 +136,7 @@ export type Demo = { _rev: string title?: string slug?: Slug + url?: string } export type Slug = { diff --git a/studio/schema.json b/studio/schema.json index 07cd06a..ac5a56a 100644 --- a/studio/schema.json +++ b/studio/schema.json @@ -711,6 +711,13 @@ "name": "slug" }, "optional": true + }, + "url": { + "type": "objectAttribute", + "value": { + "type": "string" + }, + "optional": true } } }, diff --git a/tanstack-start/sanity.types.ts b/tanstack-start/sanity.types.ts index 5437447..46cf907 100644 --- a/tanstack-start/sanity.types.ts +++ b/tanstack-start/sanity.types.ts @@ -136,6 +136,7 @@ export type Demo = { _rev: string title?: string slug?: Slug + url?: string } export type Slug = {