Skip to content

Commit d9f2960

Browse files
chore(typegen): 🤖 ✨
1 parent 57c8adc commit d9f2960

File tree

10 files changed

+70
-0
lines changed

10 files changed

+70
-0
lines changed

‎api/sanity.types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: api/react.ts
200207
// Variable: REACTION_QUERY
201208
// Query: *[_type == "reaction" && _id == $id][0]._id

‎astro/sanity.types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: src/components/Reactions.tsx
200207
// Variable: REACTION_QUERY
201208
// Query: *[_type == "reaction" && _id == $id][0]{emoji,reactions}

‎next-14/sanity.types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: src/components/Reactions.tsx
200207
// Variable: REACTION_QUERY
201208
// Query: *[_type == "reaction" && _id == $id][0]{emoji,reactions}

‎next-15/sanity.types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: src/app/Reactions.tsx
200207
// Variable: REACTION_QUERY
201208
// Query: *[_type == "reaction" && _id == $id][0]{emoji,reactions}

‎next-16/sanity.types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: src/app/Reactions.tsx
200207
// Variable: REACTION_QUERY
201208
// Query: *[_type == "reaction" && _id == $id][0]{emoji,reactions}

‎next-enterprise/sanity.types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: src/app/api/reaction/[id]/route.ts
200207
// Variable: REACTION_QUERY_STATIC_PARAMS
201208
// Query: *[_type == "demo" && slug.current == $slug][0].reactions[0..4]{"id": _ref}

‎nuxt/app/utils/sanity/types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: app/components/Reaction.vue
200207
// Variable: REACTION_QUERY
201208
// Query: *[_type == "reaction" && _id == $id][0]{emoji,reactions}

‎studio/schema.json‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,13 @@
446446
},
447447
"optional": true
448448
},
449+
"thumbHash": {
450+
"type": "objectAttribute",
451+
"value": {
452+
"type": "string"
453+
},
454+
"optional": true
455+
},
449456
"hasAlpha": {
450457
"type": "objectAttribute",
451458
"value": {

‎sveltekit/src/sanity.types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: src/routes/+layout.server.ts
200207
// Variable: LAYOUT_QUERY
201208
// Query: *[_id == "theme"][0]{background,text}

‎tanstack-start/sanity.types.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export type SanityImageMetadata = {
9898
palette?: SanityImagePalette
9999
lqip?: string
100100
blurHash?: string
101+
thumbHash?: string
101102
hasAlpha?: boolean
102103
isOpaque?: boolean
103104
}
@@ -196,6 +197,12 @@ export type AllSanitySchemaTypes =
196197

197198
export declare const internalGroqTypeReferenceTo: unique symbol
198199

200+
type ArrayOf<T> = Array<
201+
T & {
202+
_key: string
203+
}
204+
>
205+
199206
// Source: src/routes/__root.tsx
200207
// Variable: THEME_QUERY
201208
// Query: *[_id == "theme"][0]{background,text}

0 commit comments

Comments
 (0)