bsmnt 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -46
- package/dist/helpers/add/index.d.ts.map +1 -1
- package/dist/helpers/add/index.js.map +1 -1
- package/dist/helpers/create/copy-template.d.ts +2 -2
- package/dist/helpers/create/copy-template.d.ts.map +1 -1
- package/dist/helpers/create/copy-template.js.map +1 -1
- package/dist/helpers/create/index.d.ts +2 -1
- package/dist/helpers/create/index.d.ts.map +1 -1
- package/dist/helpers/create/index.js +7 -1
- package/dist/helpers/create/index.js.map +1 -1
- package/dist/helpers/create/setup-agent.d.ts.map +1 -1
- package/dist/helpers/create/setup-agent.js +7 -2
- package/dist/helpers/create/setup-agent.js.map +1 -1
- package/dist/helpers/create/setup-sanity.d.ts +1 -1
- package/dist/helpers/create/setup-sanity.d.ts.map +1 -1
- package/dist/helpers/create/setup-sanity.js +38 -21
- package/dist/helpers/create/setup-sanity.js.map +1 -1
- package/dist/helpers/integrate/merge-orchestrator.d.ts.map +1 -1
- package/dist/helpers/integrate/merge-orchestrator.js +1 -4
- package/dist/helpers/integrate/merge-orchestrator.js.map +1 -1
- package/dist/helpers/integrate/sanity/config.d.ts.map +1 -1
- package/dist/helpers/integrate/sanity/config.js +1 -2
- package/dist/helpers/integrate/sanity/config.js.map +1 -1
- package/dist/helpers/integrate/sanity/mergers/check-integration-merger.d.ts.map +1 -1
- package/dist/helpers/integrate/sanity/mergers/check-integration-merger.js +30 -19
- package/dist/helpers/integrate/sanity/mergers/check-integration-merger.js.map +1 -1
- package/dist/helpers/integrate/sanity/mergers/layout-merger.d.ts.map +1 -1
- package/dist/helpers/integrate/sanity/mergers/layout-merger.js +22 -13
- package/dist/helpers/integrate/sanity/mergers/layout-merger.js.map +1 -1
- package/dist/helpers/integrate/sanity/mergers/sitemap-merger.d.ts.map +1 -1
- package/dist/helpers/integrate/sanity/mergers/sitemap-merger.js +9 -7
- package/dist/helpers/integrate/sanity/mergers/sitemap-merger.js.map +1 -1
- package/dist/index.js +24 -11
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
- package/src/helpers/integrate/sanity/files/app/api/draft-mode/disable/route.ts +7 -0
- package/src/helpers/integrate/sanity/files/app/api/draft-mode/enable/route.ts +21 -0
- package/src/helpers/integrate/sanity/files/app/api/revalidate/route.ts +37 -0
- package/src/helpers/integrate/sanity/files/app/layout.tsx +111 -0
- package/src/helpers/integrate/sanity/files/app/sitemap.ts +80 -0
- package/src/helpers/integrate/sanity/files/app/studio/[[...tool]]/page.tsx +8 -0
- package/src/helpers/integrate/sanity/files/app/studio/layout.tsx +7 -0
- package/src/helpers/integrate/sanity/files/components/ui/sanity-image/index.tsx +37 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/README.md +58 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/check-integration.ts +62 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/README.md +141 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/client.ts +30 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/components/disable-draft-mode.tsx +29 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/components/rich-text.tsx +73 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/env.ts +42 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/live/index.tsx +34 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/queries.ts +99 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/sanity.cli.ts +20 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/sanity.config.ts +94 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/sanity.types.ts +337 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schema.json +1850 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schemas/article.ts +132 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schemas/example.ts +203 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schemas/index.ts +37 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schemas/link.ts +127 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schemas/metadata.ts +68 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schemas/navigation.ts +39 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schemas/page.ts +77 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/schemas/richText.ts +59 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/structure.ts +5 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/utils/image.ts +11 -0
- package/src/helpers/integrate/sanity/files/lib/integrations/sanity/utils/link.ts +61 -0
- package/src/helpers/integrate/sanity/files/lib/scripts/copy-sanity-mcp.ts +23 -0
- package/src/helpers/integrate/sanity/files/lib/scripts/generate-page.ts +310 -0
- package/src/helpers/integrate/sanity/files/lib/utils/metadata.ts +190 -0
- package/src/templates/next-default/svg.d.ts +5 -0
- package/src/templates/next-experiments/svg.d.ts +5 -0
- package/src/templates/next-webgl/components/ui/link/index.tsx +2 -3
- package/src/templates/next-webgl/svg.d.ts +5 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This configuration is used to for the Sanity Studio that's mounted on the `/app/studio/[[...tool]]/page.tsx` route
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { visionTool } from "@sanity/vision";
|
|
6
|
+
import { defineConfig } from "sanity";
|
|
7
|
+
import {
|
|
8
|
+
defineDocuments,
|
|
9
|
+
defineLocations,
|
|
10
|
+
presentationTool,
|
|
11
|
+
} from "sanity/presentation";
|
|
12
|
+
import { structureTool } from "sanity/structure";
|
|
13
|
+
import { apiVersion, dataset, previewURL, projectId } from "./env";
|
|
14
|
+
import { schema } from "./schemas";
|
|
15
|
+
import { structure } from "./structure";
|
|
16
|
+
|
|
17
|
+
// Helper function for URL resolution
|
|
18
|
+
function resolveHref(documentType?: string, slug?: string): string | undefined {
|
|
19
|
+
switch (documentType) {
|
|
20
|
+
case "page":
|
|
21
|
+
return slug === "sanity" ? "/sanity" : `/sanity/${slug}`;
|
|
22
|
+
case "article":
|
|
23
|
+
return slug ? `/sanity/${slug}` : undefined;
|
|
24
|
+
default:
|
|
25
|
+
console.warn("Invalid document type:", documentType);
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export default defineConfig({
|
|
31
|
+
basePath: "/studio",
|
|
32
|
+
projectId,
|
|
33
|
+
dataset,
|
|
34
|
+
schema,
|
|
35
|
+
plugins: [
|
|
36
|
+
// Presentation tool for visual editing
|
|
37
|
+
presentationTool({
|
|
38
|
+
resolve: {
|
|
39
|
+
// Map routes to documents and GROQ filters
|
|
40
|
+
mainDocuments: defineDocuments([
|
|
41
|
+
{
|
|
42
|
+
route: "/sanity",
|
|
43
|
+
filter: `_type == "page" && slug.current == "sanity"`,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
route: "/sanity/:slug",
|
|
47
|
+
filter: `_type == "article" && slug.current == $slug && defined(slug.current)`,
|
|
48
|
+
},
|
|
49
|
+
]),
|
|
50
|
+
locations: {
|
|
51
|
+
page: defineLocations({
|
|
52
|
+
select: {
|
|
53
|
+
title: "title",
|
|
54
|
+
slug: "slug.current",
|
|
55
|
+
},
|
|
56
|
+
resolve: (doc) => ({
|
|
57
|
+
locations: [
|
|
58
|
+
{
|
|
59
|
+
title: doc?.title || "Untitled Page",
|
|
60
|
+
href: resolveHref("page", doc?.slug) ?? "",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
}),
|
|
64
|
+
}),
|
|
65
|
+
article: defineLocations({
|
|
66
|
+
select: {
|
|
67
|
+
title: "title",
|
|
68
|
+
slug: "slug.current",
|
|
69
|
+
},
|
|
70
|
+
resolve: (doc) => ({
|
|
71
|
+
locations: [
|
|
72
|
+
{
|
|
73
|
+
title: doc?.title || "Untitled Article",
|
|
74
|
+
href: resolveHref("article", doc?.slug) ?? "",
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
}),
|
|
78
|
+
}),
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
previewUrl: {
|
|
82
|
+
origin: previewURL,
|
|
83
|
+
draftMode: {
|
|
84
|
+
enable: "/api/draft-mode/enable",
|
|
85
|
+
disable: "/api/draft-mode/disable",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
}),
|
|
89
|
+
structureTool({ structure }),
|
|
90
|
+
// Vision is for querying with GROQ from inside the Studio
|
|
91
|
+
// https://www.sanity.io/docs/the-vision-plugin
|
|
92
|
+
visionTool({ defaultApiVersion: apiVersion }),
|
|
93
|
+
],
|
|
94
|
+
});
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ---------------------------------------------------------------------------------
|
|
3
|
+
* This file has been generated by Sanity TypeGen.
|
|
4
|
+
* Command: `sanity typegen generate`
|
|
5
|
+
*
|
|
6
|
+
* Any modifications made directly to this file will be overwritten the next time
|
|
7
|
+
* the TypeScript definitions are generated. Please make changes to the Sanity
|
|
8
|
+
* schema definitions and/or GROQ queries if you need to update these types.
|
|
9
|
+
*
|
|
10
|
+
* For more information on how to use Sanity TypeGen, visit the official documentation:
|
|
11
|
+
* https://www.sanity.io/docs/sanity-typegen
|
|
12
|
+
* ---------------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
// Source: schema.json
|
|
16
|
+
export type SanityImageAssetReference = {
|
|
17
|
+
_ref: string;
|
|
18
|
+
_type: "reference";
|
|
19
|
+
_weak?: boolean;
|
|
20
|
+
[internalGroqTypeReferenceTo]?: "sanity.imageAsset";
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type Navigation = {
|
|
24
|
+
_id: string;
|
|
25
|
+
_type: "navigation";
|
|
26
|
+
_createdAt: string;
|
|
27
|
+
_updatedAt: string;
|
|
28
|
+
_rev: string;
|
|
29
|
+
title?: string;
|
|
30
|
+
socials?: Array<{
|
|
31
|
+
logo?: {
|
|
32
|
+
asset?: SanityImageAssetReference;
|
|
33
|
+
media?: unknown;
|
|
34
|
+
hotspot?: SanityImageHotspot;
|
|
35
|
+
crop?: SanityImageCrop;
|
|
36
|
+
_type: "image";
|
|
37
|
+
};
|
|
38
|
+
socialMedia?: Link;
|
|
39
|
+
_type: "socialLink";
|
|
40
|
+
_key: string;
|
|
41
|
+
}>;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export type PageReference = {
|
|
45
|
+
_ref: string;
|
|
46
|
+
_type: "reference";
|
|
47
|
+
_weak?: boolean;
|
|
48
|
+
[internalGroqTypeReferenceTo]?: "page";
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type ArticleReference = {
|
|
52
|
+
_ref: string;
|
|
53
|
+
_type: "reference";
|
|
54
|
+
_weak?: boolean;
|
|
55
|
+
[internalGroqTypeReferenceTo]?: "article";
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export type Link = {
|
|
59
|
+
_type: "link";
|
|
60
|
+
linkType?: "internal" | "external";
|
|
61
|
+
internalLink?: PageReference | ArticleReference;
|
|
62
|
+
externalUrl?: string;
|
|
63
|
+
text?: string;
|
|
64
|
+
openInNewTab?: boolean;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export type SanityImageCrop = {
|
|
68
|
+
_type: "sanity.imageCrop";
|
|
69
|
+
top?: number;
|
|
70
|
+
bottom?: number;
|
|
71
|
+
left?: number;
|
|
72
|
+
right?: number;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export type SanityImageHotspot = {
|
|
76
|
+
_type: "sanity.imageHotspot";
|
|
77
|
+
x?: number;
|
|
78
|
+
y?: number;
|
|
79
|
+
height?: number;
|
|
80
|
+
width?: number;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export type Example = {
|
|
84
|
+
_id: string;
|
|
85
|
+
_type: "example";
|
|
86
|
+
_createdAt: string;
|
|
87
|
+
_updatedAt: string;
|
|
88
|
+
_rev: string;
|
|
89
|
+
title?: string;
|
|
90
|
+
slug?: Slug;
|
|
91
|
+
hero?: {
|
|
92
|
+
headline?: string;
|
|
93
|
+
subheadline?: string;
|
|
94
|
+
image?: {
|
|
95
|
+
asset?: SanityImageAssetReference;
|
|
96
|
+
media?: unknown;
|
|
97
|
+
hotspot?: SanityImageHotspot;
|
|
98
|
+
crop?: SanityImageCrop;
|
|
99
|
+
alt?: string;
|
|
100
|
+
_type: "image";
|
|
101
|
+
};
|
|
102
|
+
showCTA?: boolean;
|
|
103
|
+
ctaText?: string;
|
|
104
|
+
ctaLink?: string;
|
|
105
|
+
};
|
|
106
|
+
content?: RichText;
|
|
107
|
+
features?: Array<{
|
|
108
|
+
title?: string;
|
|
109
|
+
description?: string;
|
|
110
|
+
icon?: {
|
|
111
|
+
asset?: SanityImageAssetReference;
|
|
112
|
+
media?: unknown;
|
|
113
|
+
hotspot?: SanityImageHotspot;
|
|
114
|
+
crop?: SanityImageCrop;
|
|
115
|
+
_type: "image";
|
|
116
|
+
};
|
|
117
|
+
_key: string;
|
|
118
|
+
}>;
|
|
119
|
+
tags?: string[];
|
|
120
|
+
metadata?: Metadata;
|
|
121
|
+
publishedAt?: string;
|
|
122
|
+
showInNavigation?: boolean;
|
|
123
|
+
contactEmail?: string;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
export type Metadata = {
|
|
127
|
+
_type: "metadata";
|
|
128
|
+
title?: string;
|
|
129
|
+
description?: string;
|
|
130
|
+
keywords?: string[];
|
|
131
|
+
image?: {
|
|
132
|
+
asset?: SanityImageAssetReference;
|
|
133
|
+
media?: unknown;
|
|
134
|
+
hotspot?: SanityImageHotspot;
|
|
135
|
+
crop?: SanityImageCrop;
|
|
136
|
+
alt?: string;
|
|
137
|
+
_type: "image";
|
|
138
|
+
};
|
|
139
|
+
noIndex?: boolean;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export type RichText = Array<
|
|
143
|
+
| {
|
|
144
|
+
children?: Array<{
|
|
145
|
+
marks?: string[];
|
|
146
|
+
text?: string;
|
|
147
|
+
_type: "span";
|
|
148
|
+
_key: string;
|
|
149
|
+
}>;
|
|
150
|
+
style?: "normal" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "blockquote";
|
|
151
|
+
listItem?: "bullet" | "number";
|
|
152
|
+
markDefs?: Array<
|
|
153
|
+
{
|
|
154
|
+
_key: string;
|
|
155
|
+
} & Link
|
|
156
|
+
>;
|
|
157
|
+
level?: number;
|
|
158
|
+
_type: "block";
|
|
159
|
+
_key: string;
|
|
160
|
+
}
|
|
161
|
+
| {
|
|
162
|
+
asset?: SanityImageAssetReference;
|
|
163
|
+
media?: unknown;
|
|
164
|
+
hotspot?: SanityImageHotspot;
|
|
165
|
+
crop?: SanityImageCrop;
|
|
166
|
+
alt?: string;
|
|
167
|
+
caption?: string;
|
|
168
|
+
_type: "image";
|
|
169
|
+
_key: string;
|
|
170
|
+
}
|
|
171
|
+
>;
|
|
172
|
+
|
|
173
|
+
export type Slug = {
|
|
174
|
+
_type: "slug";
|
|
175
|
+
current?: string;
|
|
176
|
+
source?: string;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
export type Article = {
|
|
180
|
+
_id: string;
|
|
181
|
+
_type: "article";
|
|
182
|
+
_createdAt: string;
|
|
183
|
+
_updatedAt: string;
|
|
184
|
+
_rev: string;
|
|
185
|
+
slug?: Slug;
|
|
186
|
+
author?: string;
|
|
187
|
+
publishedAt?: string;
|
|
188
|
+
metadata?: Metadata;
|
|
189
|
+
title?: string;
|
|
190
|
+
excerpt?: string;
|
|
191
|
+
featuredImage?: {
|
|
192
|
+
asset?: SanityImageAssetReference;
|
|
193
|
+
media?: unknown;
|
|
194
|
+
hotspot?: SanityImageHotspot;
|
|
195
|
+
crop?: SanityImageCrop;
|
|
196
|
+
alt?: string;
|
|
197
|
+
_type: "image";
|
|
198
|
+
};
|
|
199
|
+
content?: RichText;
|
|
200
|
+
categories?: string[];
|
|
201
|
+
tags?: string[];
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
export type Page = {
|
|
205
|
+
_id: string;
|
|
206
|
+
_type: "page";
|
|
207
|
+
_createdAt: string;
|
|
208
|
+
_updatedAt: string;
|
|
209
|
+
_rev: string;
|
|
210
|
+
slug?: Slug;
|
|
211
|
+
publishedAt?: string;
|
|
212
|
+
metadata?: Metadata;
|
|
213
|
+
title?: string;
|
|
214
|
+
content?: RichText;
|
|
215
|
+
link?: Link;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
export type SanityImagePaletteSwatch = {
|
|
219
|
+
_type: "sanity.imagePaletteSwatch";
|
|
220
|
+
background?: string;
|
|
221
|
+
foreground?: string;
|
|
222
|
+
population?: number;
|
|
223
|
+
title?: string;
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
export type SanityImagePalette = {
|
|
227
|
+
_type: "sanity.imagePalette";
|
|
228
|
+
darkMuted?: SanityImagePaletteSwatch;
|
|
229
|
+
lightVibrant?: SanityImagePaletteSwatch;
|
|
230
|
+
darkVibrant?: SanityImagePaletteSwatch;
|
|
231
|
+
vibrant?: SanityImagePaletteSwatch;
|
|
232
|
+
dominant?: SanityImagePaletteSwatch;
|
|
233
|
+
lightMuted?: SanityImagePaletteSwatch;
|
|
234
|
+
muted?: SanityImagePaletteSwatch;
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
export type SanityImageDimensions = {
|
|
238
|
+
_type: "sanity.imageDimensions";
|
|
239
|
+
height?: number;
|
|
240
|
+
width?: number;
|
|
241
|
+
aspectRatio?: number;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
export type SanityImageMetadata = {
|
|
245
|
+
_type: "sanity.imageMetadata";
|
|
246
|
+
location?: Geopoint;
|
|
247
|
+
dimensions?: SanityImageDimensions;
|
|
248
|
+
palette?: SanityImagePalette;
|
|
249
|
+
lqip?: string;
|
|
250
|
+
blurHash?: string;
|
|
251
|
+
hasAlpha?: boolean;
|
|
252
|
+
isOpaque?: boolean;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
export type SanityFileAsset = {
|
|
256
|
+
_id: string;
|
|
257
|
+
_type: "sanity.fileAsset";
|
|
258
|
+
_createdAt: string;
|
|
259
|
+
_updatedAt: string;
|
|
260
|
+
_rev: string;
|
|
261
|
+
originalFilename?: string;
|
|
262
|
+
label?: string;
|
|
263
|
+
title?: string;
|
|
264
|
+
description?: string;
|
|
265
|
+
altText?: string;
|
|
266
|
+
sha1hash?: string;
|
|
267
|
+
extension?: string;
|
|
268
|
+
mimeType?: string;
|
|
269
|
+
size?: number;
|
|
270
|
+
assetId?: string;
|
|
271
|
+
uploadId?: string;
|
|
272
|
+
path?: string;
|
|
273
|
+
url?: string;
|
|
274
|
+
source?: SanityAssetSourceData;
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
export type SanityAssetSourceData = {
|
|
278
|
+
_type: "sanity.assetSourceData";
|
|
279
|
+
name?: string;
|
|
280
|
+
id?: string;
|
|
281
|
+
url?: string;
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
export type SanityImageAsset = {
|
|
285
|
+
_id: string;
|
|
286
|
+
_type: "sanity.imageAsset";
|
|
287
|
+
_createdAt: string;
|
|
288
|
+
_updatedAt: string;
|
|
289
|
+
_rev: string;
|
|
290
|
+
originalFilename?: string;
|
|
291
|
+
label?: string;
|
|
292
|
+
title?: string;
|
|
293
|
+
description?: string;
|
|
294
|
+
altText?: string;
|
|
295
|
+
sha1hash?: string;
|
|
296
|
+
extension?: string;
|
|
297
|
+
mimeType?: string;
|
|
298
|
+
size?: number;
|
|
299
|
+
assetId?: string;
|
|
300
|
+
uploadId?: string;
|
|
301
|
+
path?: string;
|
|
302
|
+
url?: string;
|
|
303
|
+
metadata?: SanityImageMetadata;
|
|
304
|
+
source?: SanityAssetSourceData;
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
export type Geopoint = {
|
|
308
|
+
_type: "geopoint";
|
|
309
|
+
lat?: number;
|
|
310
|
+
lng?: number;
|
|
311
|
+
alt?: number;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
export type AllSanitySchemaTypes =
|
|
315
|
+
| SanityImageAssetReference
|
|
316
|
+
| Navigation
|
|
317
|
+
| PageReference
|
|
318
|
+
| ArticleReference
|
|
319
|
+
| Link
|
|
320
|
+
| SanityImageCrop
|
|
321
|
+
| SanityImageHotspot
|
|
322
|
+
| Example
|
|
323
|
+
| Metadata
|
|
324
|
+
| RichText
|
|
325
|
+
| Slug
|
|
326
|
+
| Article
|
|
327
|
+
| Page
|
|
328
|
+
| SanityImagePaletteSwatch
|
|
329
|
+
| SanityImagePalette
|
|
330
|
+
| SanityImageDimensions
|
|
331
|
+
| SanityImageMetadata
|
|
332
|
+
| SanityFileAsset
|
|
333
|
+
| SanityAssetSourceData
|
|
334
|
+
| SanityImageAsset
|
|
335
|
+
| Geopoint;
|
|
336
|
+
|
|
337
|
+
export declare const internalGroqTypeReferenceTo: unique symbol;
|