|
1 |
| -// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 1 | +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html |
2 | 2 |
|
3 |
| -exports[`CLI: \`sanity typegen\` sanity typegen generate: formats code 1`] = ` |
| 3 | +exports[`CLI: \`sanity typegen\` > sanity typegen generate: formats code 1`] = ` |
4 | 4 | "/**
|
5 | 5 | * ---------------------------------------------------------------------------------
|
6 | 6 | * This file has been generated by Sanity TypeGen.
|
@@ -36,20 +36,20 @@ export type AllSanitySchemaTypes = Person | Slug;
|
36 | 36 | export declare const internalGroqTypeReferenceTo: unique symbol;
|
37 | 37 | // Source: ./src/queries.ts
|
38 | 38 | // Variable: PAGE_QUERY
|
39 |
| -// Query: *[_type == \\"page\\" && slug.current == $slug][0] |
| 39 | +// Query: *[_type == "page" && slug.current == $slug][0] |
40 | 40 | export type PAGE_QUERYResult = null;
|
41 | 41 |
|
42 | 42 | // Query TypeMap
|
43 | 43 | import '@sanity/client';
|
44 | 44 | declare module '@sanity/client' {
|
45 | 45 | interface SanityQueries {
|
46 |
| - '*[_type == \\"page\\" && slug.current == $slug][0]': PAGE_QUERYResult; |
| 46 | + '*[_type == "page" && slug.current == $slug][0]': PAGE_QUERYResult; |
47 | 47 | }
|
48 | 48 | }
|
49 | 49 | "
|
50 | 50 | `;
|
51 | 51 |
|
52 |
| -exports[`CLI: \`sanity typegen\` sanity typegen generate: with overloadClientMethods false 1`] = ` |
| 52 | +exports[`CLI: \`sanity typegen\` > sanity typegen generate: with overloadClientMethods false 1`] = ` |
53 | 53 | "/**
|
54 | 54 | * ---------------------------------------------------------------------------------
|
55 | 55 | * This file has been generated by Sanity TypeGen.
|
@@ -85,7 +85,7 @@ export type AllSanitySchemaTypes = Person | Slug;
|
85 | 85 | export declare const internalGroqTypeReferenceTo: unique symbol;
|
86 | 86 | // Source: ./src/queries.ts
|
87 | 87 | // Variable: PAGE_QUERY
|
88 |
| -// Query: *[_type == \\"page\\" && slug.current == $slug][0] |
| 88 | +// Query: *[_type == "page" && slug.current == $slug][0] |
89 | 89 | export type PAGE_QUERYResult = null;
|
90 | 90 | "
|
91 | 91 | `;
|
0 commit comments