@@ -172,31 +172,31 @@ export type AllSanitySchemaTypes =
172
172
export declare const internalGroqTypeReferenceTo : unique symbol
173
173
// Source: ./src/app/layout.tsx
174
174
// Variable: THEME_QUERY
175
- // Query: *[_id == "theme"][0]{background,text,"fetchedAt": dateTime( now() )}
175
+ // Query: *[_id == "theme"][0]{background,text,"fetchedAt":now()}
176
176
export type THEME_QUERYResult =
177
177
| {
178
178
background : null
179
179
text : null
180
- fetchedAt : string | null
180
+ fetchedAt : string
181
181
}
182
182
| {
183
183
background : string | null
184
184
text : string | null
185
- fetchedAt : string | null
185
+ fetchedAt : string
186
186
}
187
187
| null
188
188
189
189
// Source: ./src/app/page.tsx
190
190
// Variable: DEMO_QUERY
191
- // Query: *[_type == "demo" && slug.current == $slug][0]{title,"fetchedAt": dateTime( now() )}
191
+ // Query: *[_type == "demo" && slug.current == $slug][0]{title,"fetchedAt":now()}
192
192
export type DEMO_QUERYResult = {
193
193
title : string | null
194
- fetchedAt : string | null
194
+ fetchedAt : string
195
195
} | null
196
196
197
197
declare module '@sanity/client' {
198
198
interface SanityQueries {
199
- '*[_id == "theme"][0]{background,text,"fetchedAt": dateTime( now() )}' : THEME_QUERYResult
200
- '*[_type == "demo" && slug.current == $slug][0]{title,"fetchedAt": dateTime( now() )}' : DEMO_QUERYResult
199
+ '*[_id == "theme"][0]{background,text,"fetchedAt":now()}' : THEME_QUERYResult
200
+ '*[_type == "demo" && slug.current == $slug][0]{title,"fetchedAt":now()}' : DEMO_QUERYResult
201
201
}
202
202
}
0 commit comments