@sanity/vision 6.23.0-next.7 → 6.23.0

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/lib/index.d.ts CHANGED
@@ -142,765 +142,779 @@ declare const visionLocaleStrings: {
142
142
  /** Title for popover that explains what "Perspectives" are */
143
143
  readonly 'settings.perspectives.title': 'Perspectives';
144
144
  /** Label of the document after the change in the Delta panel */
145
- readonly 'vista.delta.after': 'After';
145
+ readonly 'vision.delta.after': 'After';
146
146
  /** Label of the document before the change in the Delta panel */
147
- readonly 'vista.delta.before': 'Before';
147
+ readonly 'vision.delta.before': 'Before';
148
148
  /** What the Delta panel does */
149
- readonly 'vista.delta.description': 'Runs the query in delta mode, as GROQ-powered webhooks, listeners and Sanity Functions do: before() and after() are a document before and after a change, @ is the document after it, and delta::changedAny() compares them. It runs in the browser with groq-js. An empty side means no document: the change creates or deletes it.';
149
+ readonly 'vision.delta.description': 'Runs the query in delta mode, as GROQ-powered webhooks, listeners and Sanity Functions do: before() and after() are a document before and after a change, @ is the document after it, and delta::changedAny() compares them. It runs in the browser with groq-js. An empty side means no document: the change creates or deletes it.';
150
150
  /** Label of the document ID field in the Delta panel */
151
- readonly 'vista.delta.document-id': 'Document ID';
151
+ readonly 'vision.delta.document-id': 'Document ID';
152
152
  /** Shown when there is a query but no documents to compare */
153
- readonly 'vista.delta.empty': 'Load a document’s history, or write the documents into Before and After.';
153
+ readonly 'vision.delta.empty': 'Load a document’s history, or write the documents into Before and After.';
154
154
  /** Shown when the query fails in delta mode */
155
- readonly 'vista.delta.failed': 'The query could not be run in delta mode: {{message}}';
155
+ readonly 'vision.delta.failed': 'The query could not be run in delta mode: {{message}}';
156
156
  /** Shown when the After document is not valid JSON */
157
- readonly 'vista.delta.invalid-after': 'After is not valid JSON: {{message}}';
157
+ readonly 'vision.delta.invalid-after': 'After is not valid JSON: {{message}}';
158
158
  /** Shown when the Before document is not valid JSON */
159
- readonly 'vista.delta.invalid-before': 'Before is not valid JSON: {{message}}';
159
+ readonly 'vision.delta.invalid-before': 'Before is not valid JSON: {{message}}';
160
160
  /** Button loading the document's revisions from the History API */
161
- readonly 'vista.delta.load': 'Load history';
161
+ readonly 'vision.delta.load': 'Load history';
162
162
  /** Shown when the history could not be loaded */
163
- readonly 'vista.delta.load-failed': 'The history could not be loaded: {{message}}';
163
+ readonly 'vision.delta.load-failed': 'The history could not be loaded: {{message}}';
164
164
  /** A delta filter that is true for the change */
165
- readonly 'vista.delta.matches': 'Matches: a webhook or function with this filter runs for this change.';
165
+ readonly 'vision.delta.matches': 'Matches: a webhook or function with this filter runs for this change.';
166
166
  /** A delta filter that is false for the change */
167
- readonly 'vista.delta.no-match': 'Does not match: a webhook or function with this filter does not run for this change.';
167
+ readonly 'vision.delta.no-match': 'Does not match: a webhook or function with this filter does not run for this change.';
168
168
  /** Shown while the query or its params cannot be sent */
169
- readonly 'vista.delta.no-request': 'Fix the query and its params to run it in delta mode.';
169
+ readonly 'vision.delta.no-request': 'Fix the query and its params to run it in delta mode.';
170
170
  /** Heading of the delta result */
171
- readonly 'vista.delta.result': 'Result';
171
+ readonly 'vision.delta.result': 'Result';
172
172
  /** A revision in the Before and After lists */
173
- readonly 'vista.delta.revision.option': '{{time}} · {{revision}}';
173
+ readonly 'vision.delta.revision.option': '{{time}} · {{revision}}';
174
174
  /** The After choice for a change that deletes the document */
175
- readonly 'vista.delta.revision.none-after': 'Nothing: the change deletes the document';
175
+ readonly 'vision.delta.revision.none-after': 'Nothing: the change deletes the document';
176
176
  /** The Before choice for a change that creates the document */
177
- readonly 'vista.delta.revision.none-before': 'Nothing: the change creates the document';
177
+ readonly 'vision.delta.revision.none-before': 'Nothing: the change creates the document';
178
178
  /** Accessible label for the button that closes the sidebar drawer */
179
- readonly 'vista.drawer.close': 'Close panel';
179
+ readonly 'vision.drawer.close': 'Close panel';
180
180
  /** Toast shown after a code snippet was copied */
181
- readonly 'vista.export-query.copied': 'Snippet copied to clipboard';
181
+ readonly 'vision.export-query.copied': 'Snippet copied to clipboard';
182
182
  /** Label for the button that copies a code snippet */
183
- readonly 'vista.export-query.copy': 'Copy snippet';
183
+ readonly 'vision.export-query.copy': 'Copy snippet';
184
184
  /** Explanation at the top of the export query dialog */
185
- readonly 'vista.export-query.description': 'Run this query outside of the studio with one of these snippets.';
185
+ readonly 'vision.export-query.description': 'Run this query outside of the studio with one of these snippets.';
186
+ /** Note under the curl snippet when the query is sent as a request body rather than in the URL */
187
+ readonly 'vision.export-query.post-body-note': 'The query and params come to {{size}} characters as search params; from {{limit}} on, @sanity/client sends them as a JSON body rather than in the URL, so the snippet does the same.';
186
188
  /** Title of the dialog that exports the query as code snippets */
187
- readonly 'vista.export-query.title': 'Export query';
189
+ readonly 'vision.export-query.title': 'Export query';
188
190
  /** Note about authentication in the export query dialog */
189
- readonly 'vista.export-query.token-note': 'Private datasets need an API token. Public datasets can drop the Authorization header.';
191
+ readonly 'vision.export-query.token-note': 'Private datasets need an API token. Public datasets can drop the Authorization header.';
190
192
  /** Toast shown after the generated code was copied */
191
- readonly 'vista.export-types.copied': 'Code copied to clipboard';
193
+ readonly 'vision.export-types.copied': 'Code copied to clipboard';
192
194
  /** Label for the button that copies the generated code */
193
- readonly 'vista.export-types.copy': 'Copy code';
195
+ readonly 'vision.export-types.copy': 'Copy code';
194
196
  /** Shown in the types dialog when there is neither a schema evaluation nor a result */
195
- readonly 'vista.export-types.empty': 'Fetch the query first so there is a result to derive types from.';
197
+ readonly 'vision.export-types.empty': 'Fetch the query first so there is a result to derive types from.';
196
198
  /** Why the workspace schema could not be used for the types; shown with the result fallback */
197
- readonly 'vista.export-types.schema-error': 'Schema evaluation failed: {{message}}';
199
+ readonly 'vision.export-types.schema-error': 'Schema evaluation failed: {{message}}';
198
200
  /** Note shown when the types were derived from the fetched result instead of the schema */
199
- readonly 'vista.export-types.source.result': 'Inferred from the fetched result, since the query could not be evaluated against the workspace schema.';
201
+ readonly 'vision.export-types.source.result': 'Inferred from the fetched result, since the query could not be evaluated against the workspace schema.';
200
202
  /** Note shown when the types were derived from the workspace schema */
201
- readonly 'vista.export-types.source.schema': 'Inferred from the workspace schema, the same way sanity typegen does it.';
203
+ readonly 'vision.export-types.source.schema': 'Inferred from the workspace schema, the same way sanity typegen does it.';
202
204
  /** Shown when the schema cannot be evaluated and the shown result belongs to an older query */
203
- readonly 'vista.export-types.stale-result': 'The result shown was fetched for a different query or params. Fetch the current query first so there is a result to derive types from.';
205
+ readonly 'vision.export-types.stale-result': 'The result shown was fetched for a different query or params. Fetch the current query first so there is a result to derive types from.';
204
206
  /** Title of the dialog exporting TypeScript types for the result */
205
- readonly 'vista.export-types.title-typescript': 'Export TypeScript';
207
+ readonly 'vision.export-types.title-typescript': 'Export TypeScript';
206
208
  /** Title of the dialog exporting a Zod schema for the result */
207
- readonly 'vista.export-types.title-zod': 'Export Zod';
209
+ readonly 'vision.export-types.title-zod': 'Export Zod';
208
210
  /** Tooltip line of every control that calls Sanity Agent Actions, which bills AI credits */
209
- readonly 'vista.agent-actions.credits': 'Uses one AI credit per request';
211
+ readonly 'vision.agent-actions.credits': 'Uses one AI credit per request';
210
212
  /** Under an Agent Actions control: the organization's AI credits balance this month */
211
- readonly 'vista.ai-credits.balance': '{{balance}} of {{quota}} AI credits left this month.';
213
+ readonly 'vision.ai-credits.balance': '{{balance}} of {{quota}} AI credits left this month.';
212
214
  /** Under an Agent Actions control: the credits used beyond the plan's monthly quota */
213
- readonly 'vista.ai-credits.deficit': '{{used}} AI credits used this month, {{deficit}} more than the {{quota}} included.';
215
+ readonly 'vision.ai-credits.deficit': '{{used}} AI credits used this month, {{deficit}} more than the {{quota}} included.';
214
216
  /** Under an Agent Actions control: the credits used, on a plan without a quota */
215
- readonly 'vista.ai-credits.used': '{{used}} AI credits used this month.';
217
+ readonly 'vision.ai-credits.used': '{{used}} AI credits used this month.';
216
218
  /** Link after the AI credits note, to the organization's AI usage in Manage */
217
- readonly 'vista.ai-credits.usage': 'AI usage';
219
+ readonly 'vision.ai-credits.usage': 'AI usage';
218
220
  /** Title of the card shown where the organization is out of AI credits */
219
- readonly 'vista.ai-credits.limit.title': 'Out of AI credits';
221
+ readonly 'vision.ai-credits.limit.title': 'Out of AI credits';
220
222
  /** Body of the out-of-credits card, with the credits used and the plan's monthly quota */
221
- readonly 'vista.ai-credits.limit.description': 'Your organization has used {{used}} of its {{quota}} AI credits this month, so Sanity Agent Actions are paused until next month or until its spending limit is raised.';
223
+ readonly 'vision.ai-credits.limit.description': 'Your organization has used {{used}} of its {{quota}} AI credits this month, so Sanity Agent Actions are paused until next month or until its spending limit is raised.';
222
224
  /** Body of the out-of-credits card when the usage and the quota are unknown */
223
- readonly 'vista.ai-credits.limit.description-unknown': 'Your organization has reached its AI credits spending limit, so Sanity Agent Actions are paused until next month or until the limit is raised.';
225
+ readonly 'vision.ai-credits.limit.description-unknown': 'Your organization has reached its AI credits spending limit, so Sanity Agent Actions are paused until next month or until the limit is raised.';
224
226
  /** Link in the out-of-credits card to the documentation of AI credits */
225
- readonly 'vista.ai-credits.limit.learn-more': 'How AI credits work';
227
+ readonly 'vision.ai-credits.limit.learn-more': 'How AI credits work';
226
228
  /** Button in the out-of-credits card leading to the organization's spending limits in Manage */
227
- readonly 'vista.ai-credits.limit.manage': 'Manage AI credits';
229
+ readonly 'vision.ai-credits.limit.manage': 'Manage AI credits';
228
230
  /** Button in the request column's action bar naming the API version requests go out with */
229
- readonly 'vista.api-version.button': 'API {{version}}';
231
+ readonly 'vision.api-version.button': 'API {{version}}';
230
232
  /** The API version button while queries go through the API CDN */
231
- readonly 'vista.api-version.button-cdn': 'API CDN {{version}}';
233
+ readonly 'vision.api-version.button-cdn': 'API CDN {{version}}';
232
234
  /** The API version button while the "Other" API version input holds an unfinished version */
233
- readonly 'vista.api-version.button-invalid': 'Unfinished API version';
235
+ readonly 'vision.api-version.button-invalid': 'Unfinished API version';
234
236
  /** Tooltip of the API version button */
235
- readonly 'vista.api-version.tooltip': 'Queries run against API version {{version}}. Select to change it in Options.';
237
+ readonly 'vision.api-version.tooltip': 'Queries run against API version {{version}}. Select to change it in Options.';
236
238
  /** Tooltip of the API version button while queries go through the API CDN */
237
- readonly 'vista.api-version.tooltip-cdn': 'Queries run against the API CDN with API version {{version}}. Select to change it in Options.';
239
+ readonly 'vision.api-version.tooltip-cdn': 'Queries run against the API CDN with API version {{version}}. Select to change it in Options.';
238
240
  /**
239
241
  * Tooltip of the API version button while the API CDN is asked for but the perspective, as the
240
242
  * perspective select names it, keeps queries on the API
241
243
  */
242
- readonly 'vista.api-version.tooltip-cdn-blocked': 'Queries run against the API with API version {{version}}, not the API CDN: it does not serve the {{perspective}} perspective. Select to change it in Options.';
244
+ readonly 'vision.api-version.tooltip-cdn-blocked': 'Queries run against the API with API version {{version}}, not the API CDN: it does not serve the {{perspective}} perspective. Select to change it in Options.';
243
245
  /** Tooltip of the API version button while the "Other" input holds an unfinished version */
244
- readonly 'vista.api-version.tooltip-invalid': 'The API version in Options is unfinished, so nothing can be fetched until it is complete.';
246
+ readonly 'vision.api-version.tooltip-invalid': 'The API version in Options is unfinished, so nothing can be fetched until it is complete.';
245
247
  /** Tooltip of the API version button while a selected variant forces the variants API version */
246
- readonly 'vista.api-version.tooltip-locked': 'Queries run against API version {{version}}, which the selected variant needs.';
248
+ readonly 'vision.api-version.tooltip-locked': 'Queries run against API version {{version}}, which the selected variant needs.';
247
249
  /** Explanation at the top of the Explain panel */
248
- readonly 'vista.explain.description': 'The query plan is how the Content Lake runs the query: what it reads, filters and sorts while reading, and what is left for later steps. Explain this to me has Sanity Agent Actions describe the query and its plan in plain words, which uses one AI credit.';
250
+ readonly 'vision.explain.description': 'The query plan is how the Content Lake runs the query: what it reads, filters and sorts while reading, and what is left for later steps. Explain this to me has Sanity Agent Actions describe the query and its plan in plain words, which uses one AI credit.';
249
251
  /** Shown in the Explain panel while there is no valid query to explain */
250
- readonly 'vista.explain.empty': 'Write a query to explain it.';
252
+ readonly 'vision.explain.empty': 'Write a query to explain it.';
251
253
  /** Button in the Explain panel asking Agent Actions to explain the query and its plan */
252
- readonly 'vista.explain.explain': 'Explain this to me';
254
+ readonly 'vision.explain.explain': 'Explain this to me';
253
255
  /** Shown when the explanation could not be written */
254
- readonly 'vista.explain.failed': 'The query could not be explained: {{message}}';
256
+ readonly 'vision.explain.failed': 'The query could not be explained: {{message}}';
255
257
  /** A count the index computes without reading the documents */
256
- readonly 'vista.explain.insight.aggregate': 'Counted in the index, without reading the documents.';
258
+ readonly 'vision.explain.insight.aggregate': 'Counted in the index, without reading the documents.';
257
259
  /** A subquery the plan runs once for all documents */
258
- readonly 'vista.explain.insight.batched-subquery': 'The subquery runs once for all the documents, in a single batched fetch, not once per document.';
260
+ readonly 'vision.explain.insight.batched-subquery': 'The subquery runs once for all the documents, in a single batched fetch, not once per document.';
259
261
  /** Part of the filter runs in memory; the expression follows */
260
- readonly 'vista.explain.insight.filter-in-memory': 'Part of the filter runs in memory, after reading: every document the index lets through is read first, which gets slow on large datasets. Joins (->) and functions in a filter cannot use the index.';
262
+ readonly 'vision.explain.insight.filter-in-memory': 'Part of the filter runs in memory, after reading: every document the index lets through is read first, which gets slow on large datasets. Joins (->) and functions in a filter cannot use the index.';
261
263
  /** The index sorts and limits while reading */
262
- readonly 'vista.explain.insight.index-sort-limit': 'The index sorts and limits the documents while reading them.';
264
+ readonly 'vision.explain.insight.index-sort-limit': 'The index sorts and limits the documents while reading them.';
263
265
  /** The plan slices in memory */
264
- readonly 'vista.explain.insight.slice-in-memory': 'The slice is taken in memory after reading, not as a limit while reading.';
266
+ readonly 'vision.explain.insight.slice-in-memory': 'The slice is taken in memory after reading, not as a limit while reading.';
265
267
  /** The plan sorts in memory */
266
- readonly 'vista.explain.insight.sort-in-memory': 'Sorting happens in memory, after reading every match. Sort by attributes the index can sort by.';
268
+ readonly 'vision.explain.insight.sort-in-memory': 'Sorting happens in memory, after reading every match. Sort by attributes the index can sort by.';
267
269
  /** Link under the plan insights to the guide on fast queries */
268
- readonly 'vista.explain.insights.guide': 'High performance GROQ';
270
+ readonly 'vision.explain.insights.guide': 'High performance GROQ';
269
271
  /** Heading of the plan insights in the Explain panel */
270
- readonly 'vista.explain.insights.title': 'What stands out';
272
+ readonly 'vision.explain.insights.title': 'What stands out';
271
273
  /** Button in the Explain panel fetching the query plan */
272
- readonly 'vista.explain.plan': 'Show the query plan';
274
+ readonly 'vision.explain.plan': 'Show the query plan';
273
275
  /** Shown when the query plan could not be fetched */
274
- readonly 'vista.explain.plan-failed': 'The query plan could not be fetched: {{message}}';
276
+ readonly 'vision.explain.plan-failed': 'The query plan could not be fetched: {{message}}';
275
277
  /** Heading of the query plan in the Explain panel */
276
- readonly 'vista.explain.plan-title': 'Query plan';
278
+ readonly 'vision.explain.plan-title': 'Query plan';
277
279
  /** Button of a library function the query does not declare, which declares it at the top */
278
- readonly 'vista.functions.add': 'Add to query';
280
+ readonly 'vision.functions.add': 'Add to query';
279
281
  /** Shown on a library function the query declares the same way */
280
- readonly 'vista.functions.declared': 'In this query';
282
+ readonly 'vision.functions.declared': 'In this query';
281
283
  /** Lint action on a call of a library function the query does not declare */
282
- readonly 'vista.functions.editor.add-from-library': 'Declare it';
284
+ readonly 'vision.functions.editor.add-from-library': 'Declare it';
283
285
  /** Note in a function's hover documentation: the API version it needs */
284
- readonly 'vista.functions.editor.api-version': 'Needs API version {{version}} or later';
286
+ readonly 'vision.functions.editor.api-version': 'Needs API version {{version}} or later';
285
287
  /** Detail of a completion for a custom function the query declares */
286
- readonly 'vista.functions.editor.completion-declared': 'in this query';
288
+ readonly 'vision.functions.editor.completion-declared': 'in this query';
287
289
  /** Detail of a completion for a library function, which declares it too */
288
- readonly 'vista.functions.editor.completion-library': 'from your library';
290
+ readonly 'vision.functions.editor.completion-library': 'from your library';
289
291
  /** Note in the hover documentation of a custom function the query declares */
290
- readonly 'vista.functions.editor.declared-on': 'Custom function, declared on line {{line}}';
292
+ readonly 'vision.functions.editor.declared-on': 'Custom function, declared on line {{line}}';
291
293
  /** Note in the hover documentation of the functions that only work in delta mode */
292
- readonly 'vista.functions.editor.delta-only': 'Only works in delta mode, where webhooks and Sanity Functions run their filters';
294
+ readonly 'vision.functions.editor.delta-only': 'Only works in delta mode, where webhooks and Sanity Functions run their filters';
293
295
  /** Button over a selected projection in the query editor, turning it into a custom function */
294
- readonly 'vista.functions.editor.extract': 'Extract to function';
296
+ readonly 'vision.functions.editor.extract': 'Extract to function';
295
297
  /** Note in the hover documentation of a library function the query does not declare */
296
- readonly 'vista.functions.editor.in-library': 'In your functions library, not declared in this query';
298
+ readonly 'vision.functions.editor.in-library': 'In your functions library, not declared in this query';
297
299
  /** Link at the end of a built-in function's hover documentation */
298
- readonly 'vista.functions.editor.reference': 'GROQ functions reference';
300
+ readonly 'vision.functions.editor.reference': 'GROQ functions reference';
299
301
  /** Explanation under the library heading in the Functions panel */
300
- readonly 'vista.functions.library.description': 'Kept in this browser for every dataset of the project. Completions offer these functions, and lint offers to declare one a query calls.';
302
+ readonly 'vision.functions.library.description': 'Kept in this browser for every dataset of the project. Completions offer these functions, and lint offers to declare one a query calls.';
301
303
  /** Shown in the Functions panel while the library is empty */
302
- readonly 'vista.functions.library.empty': 'Save a function the query declares to use it in other queries.';
304
+ readonly 'vision.functions.library.empty': 'Save a function the query declares to use it in other queries.';
303
305
  /** Heading of the functions library in the Functions panel */
304
- readonly 'vista.functions.library.title': 'Library';
306
+ readonly 'vision.functions.library.title': 'Library';
305
307
  /** Shown in the Functions panel while the query declares no custom functions */
306
- readonly 'vista.functions.query.empty': 'Declare custom functions at the top of the query, or put the cursor in a projection, like author->{name}, and press the extract button over the editor ({{shortcut}}).';
308
+ readonly 'vision.functions.query.empty': 'Declare custom functions at the top of the query, or put the cursor in a projection, like author->{name}, and press the extract button over the editor ({{shortcut}}).';
307
309
  /** Heading of the functions the query declares in the Functions panel */
308
- readonly 'vista.functions.query.title': 'In this query';
310
+ readonly 'vision.functions.query.title': 'In this query';
309
311
  /** Removes a function from the library */
310
- readonly 'vista.functions.remove': 'Remove from the library';
312
+ readonly 'vision.functions.remove': 'Remove from the library';
311
313
  /** Button of a library function the query declares differently, which puts the library's version in */
312
- readonly 'vista.functions.replace': 'Replace in query';
314
+ readonly 'vision.functions.replace': 'Replace in query';
313
315
  /** Accessible name of a declared function in the Functions panel, which selects it in the editor */
314
- readonly 'vista.functions.reveal': 'Show {{name}} in the editor';
316
+ readonly 'vision.functions.reveal': 'Show {{name}} in the editor';
315
317
  /** Button of a function the query declares that is not in the library yet */
316
- readonly 'vista.functions.save': 'Save to library';
318
+ readonly 'vision.functions.save': 'Save to library';
317
319
  /** Shown on a function the query declares the way the library has it */
318
- readonly 'vista.functions.saved': 'Saved';
320
+ readonly 'vision.functions.saved': 'Saved';
319
321
  /** Button of a function the query declares differently from the library's version */
320
- readonly 'vista.functions.update': 'Update library';
322
+ readonly 'vision.functions.update': 'Update library';
321
323
  /** Button over the query editor that opens the bar writing a query from a description */
322
- readonly 'vista.generate.button': 'Generate query';
324
+ readonly 'vision.generate.button': 'Generate query';
323
325
  /** Closes the generate query bar */
324
- readonly 'vista.generate.close': 'Close';
326
+ readonly 'vision.generate.close': 'Close';
325
327
  /** Explanation under the generate query field */
326
- readonly 'vista.generate.description': 'Sanity Agent Actions write the GROQ from your description and the document types, and the Content Lake checks each attempt; every attempt uses one AI credit. It replaces this tab’s query and runs; undo in the editor brings the previous query back.';
328
+ readonly 'vision.generate.description': 'Sanity Agent Actions write the GROQ from your description and the document types, and the Content Lake checks each attempt; every attempt uses one AI credit. It replaces this tab’s query and runs; undo in the editor brings the previous query back.';
327
329
  /** Shown when no query could be generated, above the reason */
328
- readonly 'vista.generate.failed': 'The query could not be generated';
330
+ readonly 'vision.generate.failed': 'The query could not be generated';
329
331
  /** Accessible label of the description field in the generate query bar */
330
- readonly 'vista.generate.label': 'What should the query fetch?';
332
+ readonly 'vision.generate.label': 'What should the query fetch?';
331
333
  /** Opens the last rejected attempt, without running it, to fix it by hand */
332
- readonly 'vista.generate.open-anyway': 'Open the last attempt';
334
+ readonly 'vision.generate.open-anyway': 'Open the last attempt';
333
335
  /** Placeholder of the description field in the generate query bar */
334
- readonly 'vista.generate.placeholder': 'The 10 most recent authors, ordered by last name and then first name';
336
+ readonly 'vision.generate.placeholder': 'The 10 most recent authors, ordered by last name and then first name';
335
337
  /** Shown while the first attempt at a query is written */
336
- readonly 'vista.generate.progress': 'Writing the query…';
338
+ readonly 'vision.generate.progress': 'Writing the query…';
337
339
  /** Shown while a rejected attempt is retried */
338
- readonly 'vista.generate.progress-retry': 'Fixing the query (attempt {{attempt}} of {{max}})…';
340
+ readonly 'vision.generate.progress-retry': 'Fixing the query (attempt {{attempt}} of {{max}})…';
339
341
  /** Button generating the query */
340
- readonly 'vista.generate.submit': 'Generate';
342
+ readonly 'vision.generate.submit': 'Generate';
341
343
  /** A history entry whose result differs from the previous result, which is no longer kept */
342
- readonly 'vista.history.changed': 'Changed';
344
+ readonly 'vision.history.changed': 'Changed';
343
345
  /** Badge on a history entry the API CDN answered */
344
- readonly 'vista.history.cdn': 'API CDN';
346
+ readonly 'vision.history.cdn': 'API CDN';
345
347
  /** Badge on a history entry the API CDN answered from its cache */
346
- readonly 'vista.history.cdn-cache-hit': 'CDN cache hit';
348
+ readonly 'vision.history.cdn-cache-hit': 'CDN cache hit';
347
349
  /**
348
350
  * Toggle on a history entry that shows how its request and result differ from the previous
349
351
  * successful fetch
350
352
  */
351
- readonly 'vista.history.changes': 'Changes';
353
+ readonly 'vision.history.changes': 'Changes';
352
354
  /** Shown instead of the changes when they could not be loaded or rendered */
353
- readonly 'vista.history.changes-failed': 'The changes could not be shown.';
355
+ readonly 'vision.history.changes-failed': 'The changes could not be shown.';
354
356
  /** Button retrying to show the changes of a history entry */
355
- readonly 'vista.history.changes-retry': 'Retry';
357
+ readonly 'vision.history.changes-retry': 'Retry';
356
358
  /** Above the changes of a history entry: the fetch they are compared with */
357
- readonly 'vista.history.compared-with': 'Compared with the fetch at {{time}}';
359
+ readonly 'vision.history.compared-with': 'Compared with the fetch at {{time}}';
358
360
  /** Label of the diff of the GROQ params in a history entry's changes */
359
- readonly 'vista.history.diff.params': 'Params';
361
+ readonly 'vision.history.diff.params': 'Params';
360
362
  /** Label of the diff of the GROQ query in a history entry's changes */
361
- readonly 'vista.history.diff.query': 'Query';
363
+ readonly 'vision.history.diff.query': 'Query';
362
364
  /** Instead of the query diff, when the two queries only differ in whitespace and line breaks */
363
- readonly 'vista.history.diff.query-formatting-only': 'Only the formatting changed';
365
+ readonly 'vision.history.diff.query-formatting-only': 'Only the formatting changed';
364
366
  /** Label of the diff of the query result in a history entry's changes */
365
- readonly 'vista.history.diff.result': 'Result';
367
+ readonly 'vision.history.diff.result': 'Result';
366
368
  /**
367
369
  * Label of the diff of the request URL in a history entry's changes: the API host, version and
368
370
  * dataset, and options such as the perspective
369
371
  */
370
- readonly 'vista.history.diff.url': 'Request URL';
372
+ readonly 'vision.history.diff.url': 'Request URL';
371
373
  /** Empty state of the history panel */
372
- readonly 'vista.history.empty': 'Nothing fetched yet';
374
+ readonly 'vision.history.empty': 'Nothing fetched yet';
373
375
  /** Status label for a failed fetch in the history */
374
- readonly 'vista.history.failed': 'Failed';
376
+ readonly 'vision.history.failed': 'Failed';
375
377
  /** Button putting the hidden fields back into the diff out of a history entry's changes */
376
- readonly 'vista.history.hide-hidden': 'Hide them';
378
+ readonly 'vision.history.hide-hidden': 'Hide them';
377
379
  /** Next to a history entry's changes: the fields the diff leaves out */
378
- readonly 'vista.history.hiding': 'Hiding {{fields}}';
380
+ readonly 'vision.history.hiding': 'Hiding {{fields}}';
379
381
  /** A history entry whose result only differs from the previous one in hidden fields */
380
- readonly 'vista.history.only-hidden-changed': 'Only hidden fields changed';
382
+ readonly 'vision.history.only-hidden-changed': 'Only hidden fields changed';
381
383
  /** History reason: a tab opened with a generated query fetched it */
382
- readonly 'vista.history.reason.generated': 'Generated query';
384
+ readonly 'vision.history.reason.generated': 'Generated query';
383
385
  /** History reason: a link to the tool named a query URL, which opened in a tab and ran */
384
- readonly 'vista.history.reason.link': 'Opened link';
386
+ readonly 'vision.history.reason.link': 'Opened link';
385
387
  /** History reason: mutations were applied from the Mutate panel */
386
- readonly 'vista.history.reason.mutation': 'Mutations applied';
388
+ readonly 'vision.history.reason.mutation': 'Mutations applied';
387
389
  /** History reason: a live event matched the query's sync tags */
388
- readonly 'vista.history.reason.live': 'Live update';
390
+ readonly 'vision.history.reason.live': 'Live update';
389
391
  /** History reason: the live connection asked every client to refetch */
390
- readonly 'vista.history.reason.live-restart': 'Live connection restarted';
392
+ readonly 'vision.history.reason.live-restart': 'Live connection restarted';
391
393
  /**
392
394
  * History reason: the Live fetch button was pressed, which fetches and then refetches
393
395
  * automatically
394
396
  */
395
- readonly 'vista.history.reason.live-start': 'Live fetch started';
397
+ readonly 'vision.history.reason.live-start': 'Live fetch started';
396
398
  /** History reason: a saved query was loaded into a tab that refetches automatically */
397
- readonly 'vista.history.reason.load': 'Query loaded';
399
+ readonly 'vision.history.reason.load': 'Query loaded';
398
400
  /** History reason: the fetch button was pressed */
399
- readonly 'vista.history.reason.manual': 'Fetch button';
401
+ readonly 'vision.history.reason.manual': 'Fetch button';
400
402
  /** History reason: dataset, API version or perspective changed while refetching automatically */
401
- readonly 'vista.history.reason.options': 'Options changed';
403
+ readonly 'vision.history.reason.options': 'Options changed';
402
404
  /** History reason: a query URL was pasted into the tab, which runs it */
403
- readonly 'vista.history.reason.paste': 'Pasted URL';
405
+ readonly 'vision.history.reason.paste': 'Pasted URL';
404
406
  /** History reason: a tab that refetches automatically was opened again, or the studio reloaded */
405
- readonly 'vista.history.reason.resume': 'Automatic refetching resumed';
407
+ readonly 'vision.history.reason.resume': 'Automatic refetching resumed';
406
408
  /** History reason: the keyboard shortcut was used */
407
- readonly 'vista.history.reason.shortcut': 'Keyboard shortcut';
409
+ readonly 'vision.history.reason.shortcut': 'Keyboard shortcut';
408
410
  /** A history entry whose result is the same as the previous result, for a changed request */
409
- readonly 'vista.history.same-result': 'Same result';
411
+ readonly 'vision.history.same-result': 'Same result';
410
412
  /** Button showing the hidden fields in a history entry's changes */
411
- readonly 'vista.history.show-hidden': 'Show them';
413
+ readonly 'vision.history.show-hidden': 'Show them';
412
414
  /** Next to a history entry's changes while the hidden fields are shown */
413
- readonly 'vista.history.showing-hidden': 'Showing {{fields}}, hidden by default';
415
+ readonly 'vision.history.showing-hidden': 'Showing {{fields}}, hidden by default';
414
416
  /** A history entry whose result, or the previous one, is too large to compare */
415
- readonly 'vista.history.too-large': 'Too large to compare';
417
+ readonly 'vision.history.too-large': 'Too large to compare';
416
418
  /** A history entry whose result is the same as the previous result */
417
- readonly 'vista.history.unchanged': 'No changes';
419
+ readonly 'vision.history.unchanged': 'No changes';
418
420
  /** Shown in the Lint panel while the query has no lint findings */
419
- readonly 'vista.lint.empty': 'No lint findings. Problems the GROQ linter spots in the query are listed here as you type; pick one to select it in the editor.';
421
+ readonly 'vision.lint.empty': 'No lint findings. Problems the GROQ linter spots in the query are listed here as you type; pick one to select it in the editor.';
420
422
  /** Where a lint finding sits in the query, shown under its message */
421
- readonly 'vista.lint.position': 'Line {{line}}, column {{column}}';
423
+ readonly 'vision.lint.position': 'Line {{line}}, column {{column}}';
422
424
  /** Severity badge of a lint finding */
423
- readonly 'vista.lint.severity.error': 'Error';
425
+ readonly 'vision.lint.severity.error': 'Error';
424
426
  /** Severity badge of a lint finding */
425
- readonly 'vista.lint.severity.hint': 'Hint';
427
+ readonly 'vision.lint.severity.hint': 'Hint';
426
428
  /** Severity badge of a lint finding */
427
- readonly 'vista.lint.severity.info': 'Info';
429
+ readonly 'vision.lint.severity.info': 'Info';
428
430
  /** Severity badge of a lint finding */
429
- readonly 'vista.lint.severity.warning': 'Warning';
431
+ readonly 'vision.lint.severity.warning': 'Warning';
430
432
  /** Lint action writing the type, field or operator a schema finding suggests */
431
- readonly 'vista.lint.use-suggestion': 'Use {{suggestion}}';
433
+ readonly 'vision.lint.use-suggestion': 'Use {{suggestion}}';
432
434
  /** Title the browser shows for the WebMCP tool that lints a query */
433
- readonly 'vista.webmcp.check-query': 'Check a GROQ query in Vision';
435
+ readonly 'vision.webmcp.check-query': 'Check a GROQ query in Vision';
434
436
  /** Title the browser shows for the WebMCP tool that describes the workspace schema */
435
- readonly 'vista.webmcp.describe-schema': 'Describe the schema in Vision';
437
+ readonly 'vision.webmcp.describe-schema': 'Describe the schema in Vision';
436
438
  /** Title the browser shows for the WebMCP tool that returns a query plan */
437
- readonly 'vista.webmcp.explain-query': 'Explain a GROQ query in Vision';
439
+ readonly 'vision.webmcp.explain-query': 'Explain a GROQ query in Vision';
438
440
  /** Title the browser shows for the WebMCP tool that reads the active Vision tab */
439
- readonly 'vista.webmcp.get-state': 'Read the open Vision tab';
441
+ readonly 'vision.webmcp.get-state': 'Read the open Vision tab';
440
442
  /** Title the browser shows for the WebMCP tool that opens a query in a new tab */
441
- readonly 'vista.webmcp.open-query': 'Open a GROQ query in Vision';
443
+ readonly 'vision.webmcp.open-query': 'Open a GROQ query in Vision';
442
444
  /** Title the browser shows for the WebMCP tool that runs mutations as a dry run */
443
- readonly 'vista.webmcp.preview-mutations': 'Preview mutations in Vision';
445
+ readonly 'vision.webmcp.preview-mutations': 'Preview mutations in Vision';
444
446
  /** Title the browser shows for the WebMCP tool that runs a query */
445
- readonly 'vista.webmcp.run-query': 'Run a GROQ query in Vision';
447
+ readonly 'vision.webmcp.run-query': 'Run a GROQ query in Vision';
446
448
  /** Badge shown while a tab refetches automatically */
447
- readonly 'vista.live.active': 'Live';
449
+ readonly 'vision.live.active': 'Live';
448
450
  /** Button in the request column's action bar that fetches and then refetches automatically */
449
- readonly 'vista.live.button': 'Live fetch';
451
+ readonly 'vision.live.button': 'Live fetch';
450
452
  /** Tooltip of the Live button while automatic refetching is off */
451
- readonly 'vista.live.button.start': 'Fetch, then fetch again whenever the documents in the result change';
453
+ readonly 'vision.live.button.start': 'Fetch, then fetch again whenever the documents in the result change';
452
454
  /** Tooltip of the Stop live button, while the tab refetches automatically */
453
- readonly 'vista.live.button.stop': 'Stop fetching when the documents in the result change. Fetch still fetches on demand, for results no document change touches, like now()';
455
+ readonly 'vision.live.button.stop': 'Stop fetching when the documents in the result change. Fetch still fetches on demand, for results no document change touches, like now()';
454
456
  /** Error shown when the live connection breaks */
455
- readonly 'vista.live.error': 'Live updates disconnected: {{message}}';
457
+ readonly 'vision.live.error': 'Live updates disconnected: {{message}}';
456
458
  /** The Live fetch button while the tab refetches automatically, stopping it */
457
- readonly 'vista.live.stop': 'Stop live';
459
+ readonly 'vision.live.stop': 'Stop live';
458
460
  /** Button in the Mutate panel adding a mutation to the list */
459
- readonly 'vista.mutate.add': 'Add mutation';
461
+ readonly 'vision.mutate.add': 'Add mutation';
460
462
  /** Adds a mutation creating a document, with the type of the result's first document */
461
- readonly 'vista.mutate.add.create': 'Create a document';
463
+ readonly 'vision.mutate.add.create': 'Create a document';
462
464
  /** Adds a mutation deleting a document, its ID to fill in */
463
- readonly 'vista.mutate.add.delete': 'Delete a document';
465
+ readonly 'vision.mutate.add.delete': 'Delete a document';
464
466
  /** Adds a mutation deleting the documents of the shown result */
465
- readonly 'vista.mutate.add.delete-result': 'Delete the documents in the result';
467
+ readonly 'vision.mutate.add.delete-result': 'Delete the documents in the result';
466
468
  /** Adds a mutation patching a document, its ID to fill in */
467
- readonly 'vista.mutate.add.patch': 'Patch a document';
469
+ readonly 'vision.mutate.add.patch': 'Patch a document';
468
470
  /** Adds a mutation patching the documents of the shown result */
469
- readonly 'vista.mutate.add.patch-result': 'Patch the documents in the result';
471
+ readonly 'vision.mutate.add.patch-result': 'Patch the documents in the result';
470
472
  /** Button applying the mutations a dry run showed */
471
- readonly 'vista.mutate.apply': 'Apply to {{dataset}}';
473
+ readonly 'vision.mutate.apply': 'Apply to {{dataset}}';
472
474
  /** Heading of the error shown when applying the mutations failed */
473
- readonly 'vista.mutate.apply-failed': 'The mutations were not applied';
475
+ readonly 'vision.mutate.apply-failed': 'The mutations were not applied';
474
476
  /** Next to Apply while the mutations as they are have had no dry run */
475
- readonly 'vista.mutate.apply-needs-preview': 'Apply sends what a dry run showed: run one first.';
477
+ readonly 'vision.mutate.apply-needs-preview': 'Apply sends what a dry run showed: run one first.';
476
478
  /** Shown once the mutations were applied */
477
- readonly 'vista.mutate.applied': 'Applied to {{dataset}} in transaction {{transactionId}}. Documents changed: {{count}}. The query was fetched again.';
479
+ readonly 'vision.mutate.applied': 'Applied to {{dataset}} in transaction {{transactionId}}. Documents changed: {{count}}. The query was fetched again.';
478
480
  /** Option giving array items without a _key one */
479
- readonly 'vista.mutate.auto-keys': 'Add a _key to array items that have none';
481
+ readonly 'vision.mutate.auto-keys': 'Add a _key to array items that have none';
480
482
  /** Under the option giving array items a _key */
481
- readonly 'vista.mutate.auto-keys.description': 'The studio needs one on every array item to edit it.';
483
+ readonly 'vision.mutate.auto-keys.description': 'The studio needs one on every array item to edit it.';
482
484
  /** Button showing a document's changes in the dry run */
483
- readonly 'vista.mutate.changes': 'Changes';
485
+ readonly 'vision.mutate.changes': 'Changes';
484
486
  /** Shown instead of a document's changes when they could not be loaded or rendered */
485
- readonly 'vista.mutate.changes-failed': 'The changes could not be shown.';
487
+ readonly 'vision.mutate.changes-failed': 'The changes could not be shown.';
486
488
  /** Button retrying to show a document's changes */
487
- readonly 'vista.mutate.changes-retry': 'Retry';
489
+ readonly 'vision.mutate.changes-retry': 'Retry';
488
490
  /** What the Mutate panel does */
489
- readonly 'vista.mutate.description': 'Write mutations as the Mutations API takes them, in a list: create, createOrReplace, createIfNotExists, delete and patch, by ID or by a GROQ query. A dry run shows what they would do to each document without changing anything; Apply then writes them to the dataset in one transaction, with your account.';
491
+ readonly 'vision.mutate.description': 'Write mutations as the Mutations API takes them, in a list: create, createOrReplace, createIfNotExists, delete and patch, by ID or by a GROQ query. A dry run shows what they would do to each document without changing anything; Apply then writes them to the dataset in one transaction, with your account.';
490
492
  /** What the API says went wrong with one of the mutations */
491
- readonly 'vista.mutate.failure-item': 'Mutation {{index}}: {{message}}';
493
+ readonly 'vision.mutate.failure-item': 'Mutation {{index}}: {{message}}';
492
494
  /** Tooltip and accessible label of the button opening the generate mutations field */
493
- readonly 'vista.mutate.generate.button': 'Generate mutations';
495
+ readonly 'vision.mutate.generate.button': 'Generate mutations';
494
496
  /** Explanation under the generate mutations field */
495
- readonly 'vista.mutate.generate.description': 'Sanity Agent Actions write the mutations from your description, the documents in the result and their types, and a dry run checks each attempt; every attempt uses one AI credit. They replace the mutations here, where undo brings these back; nothing is written until you apply them.';
497
+ readonly 'vision.mutate.generate.description': 'Sanity Agent Actions write the mutations from your description, the documents in the result and their types, and a dry run checks each attempt; every attempt uses one AI credit. They replace the mutations here, where undo brings these back; nothing is written until you apply them.';
496
498
  /** Shown when no mutations could be generated, above the reason */
497
- readonly 'vista.mutate.generate.failed': 'The mutations could not be generated';
499
+ readonly 'vision.mutate.generate.failed': 'The mutations could not be generated';
498
500
  /** Accessible label of the description field in the generate mutations bar */
499
- readonly 'vista.mutate.generate.label': 'What should the mutations do?';
501
+ readonly 'vision.mutate.generate.label': 'What should the mutations do?';
500
502
  /** Placeholder of the description field in the generate mutations bar */
501
- readonly 'vista.mutate.generate.placeholder': 'Change the title of the documents in the result to foobar';
503
+ readonly 'vision.mutate.generate.placeholder': 'Change the title of the documents in the result to foobar';
502
504
  /** Shown while the first attempt at the mutations is written */
503
- readonly 'vista.mutate.generate.progress': 'Writing the mutations…';
505
+ readonly 'vision.mutate.generate.progress': 'Writing the mutations…';
504
506
  /** Shown while an attempt the dry run turned down is retried */
505
- readonly 'vista.mutate.generate.progress-retry': 'Fixing the mutations (attempt {{attempt}} of {{max}})…';
507
+ readonly 'vision.mutate.generate.progress-retry': 'Fixing the mutations (attempt {{attempt}} of {{max}})…';
506
508
  /** Under the dry run: the fields the diffs leave out */
507
- readonly 'vista.mutate.hiding': 'The changes leave out {{fields}}, as History does.';
509
+ readonly 'vision.mutate.hiding': 'The changes leave out {{fields}}, as History does.';
508
510
  /** Shown when the mutations are not valid JSON */
509
- readonly 'vista.mutate.invalid-json': 'The mutations are not valid JSON: {{message}}';
511
+ readonly 'vision.mutate.invalid-json': 'The mutations are not valid JSON: {{message}}';
510
512
  /** Shown when a mutation does not name exactly one thing to do */
511
- readonly 'vista.mutate.invalid-mutation': 'Mutation {{index}} needs exactly one of create, createOrReplace, createIfNotExists, delete or patch.';
513
+ readonly 'vision.mutate.invalid-mutation': 'Mutation {{index}} needs exactly one of create, createOrReplace, createIfNotExists, delete or patch.';
512
514
  /** Label of the mutations editor */
513
- readonly 'vista.mutate.mutations': 'Mutations';
515
+ readonly 'vision.mutate.mutations': 'Mutations';
514
516
  /** The dry run touched no documents */
515
- readonly 'vista.mutate.no-documents': 'The mutations touch no documents.';
517
+ readonly 'vision.mutate.no-documents': 'The mutations touch no documents.';
516
518
  /** Shown when the JSON is not a list of mutations */
517
- readonly 'vista.mutate.not-a-list': 'Write a list of mutations, a single mutation, or a request body with a list of mutations.';
519
+ readonly 'vision.mutate.not-a-list': 'Write a list of mutations, a single mutation, or a request body with a list of mutations.';
518
520
  /** Under the dry run when it touched more documents than it compares */
519
- readonly 'vista.mutate.not-shown': 'Documents also touched, not compared here: {{count}}';
521
+ readonly 'vision.mutate.not-shown': 'Documents also touched, not compared here: {{count}}';
520
522
  /** A document the mutations create */
521
- readonly 'vista.mutate.operation.create': 'Create';
523
+ readonly 'vision.mutate.operation.create': 'Create';
522
524
  /** A document the mutations delete */
523
- readonly 'vista.mutate.operation.delete': 'Delete';
525
+ readonly 'vision.mutate.operation.delete': 'Delete';
524
526
  /** A document the mutations touch without changing its content */
525
- readonly 'vista.mutate.operation.none': 'No change';
527
+ readonly 'vision.mutate.operation.none': 'No change';
526
528
  /** A document the mutations change */
527
- readonly 'vista.mutate.operation.update': 'Update';
529
+ readonly 'vision.mutate.operation.update': 'Update';
528
530
  /** Button running the mutations as a dry run */
529
- readonly 'vista.mutate.preview': 'Dry run';
531
+ readonly 'vision.mutate.preview': 'Dry run';
530
532
  /** Heading of the error shown when the dry run failed */
531
- readonly 'vista.mutate.preview-failed': 'The dry run failed';
533
+ readonly 'vision.mutate.preview-failed': 'The dry run failed';
532
534
  /** Heading of the dry run's outcome */
533
- readonly 'vista.mutate.preview-heading': 'Dry run';
535
+ readonly 'vision.mutate.preview-heading': 'Dry run';
534
536
  /** Shown over a dry run made for other mutations, another dataset or other options */
535
- readonly 'vista.mutate.stale': 'The mutations, the dataset or the options changed after this dry run. Run it again to apply them.';
537
+ readonly 'vision.mutate.stale': 'The mutations, the dataset or the options changed after this dry run. Run it again to apply them.';
536
538
  /** How many documents the dry run changes and leaves as they are */
537
- readonly 'vista.mutate.summary': 'Changed: {{changed}} · Unchanged: {{unchanged}}';
539
+ readonly 'vision.mutate.summary': 'Changed: {{changed}} · Unchanged: {{unchanged}}';
538
540
  /** In the Network panel: whether a cache answered the query */
539
- readonly 'vista.network.cache': 'Cache';
541
+ readonly 'vision.network.cache': 'Cache';
540
542
  /** The API CDN answered from its cache */
541
- readonly 'vista.network.cache.hit': 'Hit';
543
+ readonly 'vision.network.cache.hit': 'Hit';
542
544
  /** Under the details of a CDN cache hit */
543
- readonly 'vista.network.cache.hit-explained': 'The CDN answered with a response it had cached, from a location near you; the query did not reach the API.';
545
+ readonly 'vision.network.cache.hit-explained': 'The CDN answered with a response it had cached, from a location near you; the query did not reach the API.';
544
546
  /** The API CDN answered with a response this session had not seen */
545
- readonly 'vista.network.cache.miss': 'Miss, as far as this session can tell';
547
+ readonly 'vision.network.cache.miss': 'Miss, as far as this session can tell';
546
548
  /** The API answered, which caches nothing */
547
- readonly 'vista.network.cache.none': 'None, the API answers every request with fresh content';
549
+ readonly 'vision.network.cache.none': 'None, the API answers every request with fresh content';
548
550
  /** Shown in the Network panel while there is no response */
549
- readonly 'vista.network.empty': 'Fetch the query to see which endpoint answered it, whether from a cache, and where it ran.';
551
+ readonly 'vision.network.empty': 'Fetch the query to see which endpoint answered it, whether from a cache, and where it ran.';
550
552
  /** In the Network panel: the endpoint that answered */
551
- readonly 'vista.network.endpoint': 'Answered by';
553
+ readonly 'vision.network.endpoint': 'Answered by';
552
554
  /** The live API answered */
553
- readonly 'vista.network.endpoint.api': 'API';
555
+ readonly 'vision.network.endpoint.api': 'API';
554
556
  /** The API CDN answered */
555
- readonly 'vista.network.endpoint.cdn': 'API CDN';
557
+ readonly 'vision.network.endpoint.cdn': 'API CDN';
558
+ /** In the Network panel: the HTTP method the query was sent with */
559
+ readonly 'vision.network.method': 'Method';
560
+ /** The query and its params went in the URL */
561
+ readonly 'vision.network.method.get': 'GET, with the query and params in the URL';
562
+ /** The query and its params went in the request body */
563
+ readonly 'vision.network.method.post': 'POST, with the query and params as a JSON body';
564
+ /** Under the method of a POST request: why the query was not sent in the URL */
565
+ readonly 'vision.network.method.post-explained': 'The query and params come to {{size}} characters as search params; from {{limit}} on, @sanity/client sends them as a JSON body, since the API limits the length of a URL. The options stay in the URL.';
556
566
  /** In the Network panel: the region the query ran in */
557
- readonly 'vista.network.region': 'Query ran in';
567
+ readonly 'vision.network.region': 'Query ran in';
558
568
  /** The response did not say where the query ran */
559
- readonly 'vista.network.region.unknown': 'Not reported';
569
+ readonly 'vision.network.region.unknown': 'Not reported';
560
570
  /** In the Network panel: the round trip and the time on the server */
561
- readonly 'vista.network.timing': 'Time';
571
+ readonly 'vision.network.timing': 'Time';
562
572
  /** The round trip and the server's time for the query, in milliseconds */
563
- readonly 'vista.network.timing.value': '{{e2e}}ms round trip, {{server}}ms on the server';
573
+ readonly 'vision.network.timing.value': '{{e2e}}ms round trip, {{server}}ms on the server';
564
574
  /** In the Network panel: the trace of the request, for Sanity support */
565
- readonly 'vista.network.trace': 'Trace ID';
575
+ readonly 'vision.network.trace': 'Trace ID';
566
576
  /** Hint in the Network panel while queries go to the API */
567
- readonly 'vista.network.use-cdn-hint': 'Turn on Use the API CDN in Options to send queries through the CDN.';
577
+ readonly 'vision.network.use-cdn-hint': 'Turn on Use the API CDN in Options to send queries through the CDN.';
568
578
  /** Label of the browser's marker on the Network panel's globe, placed from its time zone */
569
- readonly 'vista.network.you': 'You';
579
+ readonly 'vision.network.you': 'You';
570
580
  /** Hint under the dataset field while the tab follows the workspace's dataset */
571
- readonly 'vista.options.dataset.follows-workspace': 'Follows the workspace';
581
+ readonly 'vision.options.dataset.follows-workspace': 'Follows the workspace';
572
582
  /** Button that pins the current dataset so the tab stops following the workspace */
573
- readonly 'vista.options.dataset.pin': 'Pin a dataset';
583
+ readonly 'vision.options.dataset.pin': 'Pin a dataset';
574
584
  /** Hint under the dataset field while a dataset is pinned */
575
- readonly 'vista.options.dataset.pinned': 'Pinned; the workspace may use another dataset';
585
+ readonly 'vision.options.dataset.pinned': 'Pinned; the workspace may use another dataset';
576
586
  /** Button that makes the tab follow the workspace's dataset again */
577
- readonly 'vista.options.dataset.use-workspace': 'Use the workspace dataset';
587
+ readonly 'vision.options.dataset.use-workspace': 'Use the workspace dataset';
578
588
  /** Label for the "Include content source map" switch */
579
- readonly 'vista.options.include-source-map': 'Include content source map';
589
+ readonly 'vision.options.include-source-map': 'Include content source map';
580
590
  /** Description for the "Include content source map" switch */
581
- readonly 'vista.options.include-source-map.description': 'Adds resultSourceMap to the response, shown in the Content Source Map tab.';
591
+ readonly 'vision.options.include-source-map.description': 'Adds resultSourceMap to the response, shown in the Content Source Map tab.';
582
592
  /** Label of the switch that sends queries to the API CDN */
583
- readonly 'vista.options.use-cdn': 'Use the API CDN';
593
+ readonly 'vision.options.use-cdn': 'Use the API CDN';
584
594
  /** Note under the API CDN switch while the studio signs in with a cookie */
585
- readonly 'vista.options.use-cdn.anonymous': 'This studio signs you in with a cookie, which the API CDN never receives: it answers as it would an anonymous visitor, with what a public dataset shows.';
595
+ readonly 'vision.options.use-cdn.anonymous': 'This studio signs you in with a cookie, which the API CDN never receives: it answers as it would an anonymous visitor, with what a public dataset shows.';
586
596
  /**
587
597
  * Why the API CDN is asked for but not used: the perspective is the one the perspective
588
598
  * select shows, such as "Global (drafts)"
589
599
  */
590
- readonly 'vista.options.use-cdn.blocked': 'The API CDN does not serve drafts or releases, so queries with the {{perspective}} perspective go to the API. With published or raw they use the CDN.';
600
+ readonly 'vision.options.use-cdn.blocked': 'The API CDN does not serve drafts or releases, so queries with the {{perspective}} perspective go to the API. With published or raw they use the CDN.';
591
601
  /** Heading of the notice shown while the perspective keeps queries off the API CDN */
592
- readonly 'vista.options.use-cdn.blocked.title': 'Queries go to the API, not the CDN';
602
+ readonly 'vision.options.use-cdn.blocked.title': 'Queries go to the API, not the CDN';
593
603
  /** Description of the API CDN switch */
594
- readonly 'vista.options.use-cdn.description': 'Sends the query to the API CDN, like useCdn: true in @sanity/client, with the published and raw perspectives: drafts and releases always go to the API. Its answers are cached for up to a minute; the Network panel shows when one came from the cache.';
604
+ readonly 'vision.options.use-cdn.description': 'Sends the query to the API CDN, like useCdn: true in @sanity/client, with the published and raw perspectives: drafts and releases always go to the API. Its answers are cached for up to a minute; the Network panel shows when one came from the cache.';
595
605
  /** Button in the API CDN notice switching the tab to the published perspective */
596
- readonly 'vista.options.use-cdn.use-published': 'Use the published perspective';
606
+ readonly 'vision.options.use-cdn.use-published': 'Use the published perspective';
597
607
  /** Perspective option following the studio navbar; the name is the release, published or drafts */
598
- readonly 'vista.options.perspective.global': 'Global ({{name}})';
608
+ readonly 'vision.options.perspective.global': 'Global ({{name}})';
599
609
  /** Variant option sending the navbar's variant, named */
600
- readonly 'vista.options.variant.global': 'Global ({{name}})';
610
+ readonly 'vision.options.variant.global': 'Global ({{name}})';
601
611
  /** Variant option sending the navbar's variant while none is selected there */
602
- readonly 'vista.options.variant.global-none': 'Global (none selected)';
612
+ readonly 'vision.options.variant.global-none': 'Global (none selected)';
603
613
  /** Variant option sending no variant */
604
- readonly 'vista.options.variant.none': 'None';
614
+ readonly 'vision.options.variant.none': 'None';
605
615
  /** Label of the variant field */
606
- readonly 'vista.options.variant-label': 'Variant';
616
+ readonly 'vision.options.variant-label': 'Variant';
607
617
  /** Accessible label for collapsing a bottom panel */
608
- readonly 'vista.panel.collapse': 'Collapse panel';
618
+ readonly 'vision.panel.collapse': 'Collapse panel';
609
619
  /** Accessible label for expanding a bottom panel */
610
- readonly 'vista.panel.expand': 'Expand panel';
620
+ readonly 'vision.panel.expand': 'Expand panel';
611
621
  /** Label of the "Explain" tab in the response panel: the query plan and an explanation */
612
- readonly 'vista.panel.explain': 'Explain';
622
+ readonly 'vision.panel.explain': 'Explain';
613
623
  /** Label of the Functions tab in the response panel */
614
- readonly 'vista.panel.functions': 'Functions';
624
+ readonly 'vision.panel.functions': 'Functions';
615
625
  /** Label of the Network tab in the response panel */
616
- readonly 'vista.panel.network': 'Network';
626
+ readonly 'vision.panel.network': 'Network';
617
627
  /** Label of the Delta tab in the response panel, which tests the query in delta mode */
618
- readonly 'vista.panel.delta': 'Delta';
628
+ readonly 'vision.panel.delta': 'Delta';
619
629
  /** Label of the Mutate tab in the response panel, which runs and applies mutations */
620
- readonly 'vista.panel.mutate': 'Mutate';
630
+ readonly 'vision.panel.mutate': 'Mutate';
621
631
  /** Label of the "History" tab in the response panel */
622
- readonly 'vista.panel.history': 'History';
632
+ readonly 'vision.panel.history': 'History';
623
633
  /** Label of the "Lint" tab in the response panel, listing the query's lint findings */
624
- readonly 'vista.panel.lint': 'Lint';
634
+ readonly 'vision.panel.lint': 'Lint';
625
635
  /** Label of the "Options" panel in the request column */
626
- readonly 'vista.panel.options': 'Options';
636
+ readonly 'vision.panel.options': 'Options';
627
637
  /** Label of the "Response" tab in the response panel */
628
- readonly 'vista.panel.response': 'Response';
638
+ readonly 'vision.panel.response': 'Response';
629
639
  /** Label of the "Content Source Map" tab in the response panel */
630
- readonly 'vista.panel.source-map': 'Content Source Map';
640
+ readonly 'vision.panel.source-map': 'Content Source Map';
631
641
  /** Button adding an item to a list param in the params form */
632
- readonly 'vista.params-form.add-item': 'Add item';
642
+ readonly 'vision.params-form.add-item': 'Add item';
633
643
  /** Placeholder of a params form field that takes any JSON value */
634
- readonly 'vista.params-form.any-placeholder': 'Any JSON value; other text is sent as a string';
644
+ readonly 'vision.params-form.any-placeholder': 'Any JSON value; other text is sent as a string';
635
645
  /** Shown in the params form when the query uses no params */
636
- readonly 'vista.params-form.empty': 'The query uses no params. Each $name in it gets a field here.';
646
+ readonly 'vision.params-form.empty': 'The query uses no params. Each $name in it gets a field here.';
637
647
  /** Shown in the params form while the params JSON cannot be parsed */
638
- readonly 'vista.params-form.invalid-json': 'The params are not valid JSON. Fix them in the JSON view to edit them here.';
648
+ readonly 'vision.params-form.invalid-json': 'The params are not valid JSON. Fix them in the JSON view to edit them here.';
639
649
  /** A boolean param's value is not true or false; it is sent anyway */
640
- readonly 'vista.params-form.invalid.boolean': 'Not true or false; sent as {{value}}';
650
+ readonly 'vision.params-form.invalid.boolean': 'Not true or false; sent as {{value}}';
641
651
  /** A document type param's value is not a document type of the workspace; it is sent anyway */
642
- readonly 'vista.params-form.invalid.document-type': 'Not a document type in this workspace; sent anyway';
652
+ readonly 'vision.params-form.invalid.document-type': 'Not a document type in this workspace; sent anyway';
643
653
  /** A whole number param (a slice bound) holds a fraction */
644
- readonly 'vista.params-form.invalid.integer': 'Not a whole number, which slices need';
654
+ readonly 'vision.params-form.invalid.integer': 'Not a whole number, which slices need';
645
655
  /** A list param's value is not a list; it is sent anyway */
646
- readonly 'vista.params-form.invalid.list': 'Not a list; sent as {{value}}';
656
+ readonly 'vision.params-form.invalid.list': 'Not a list; sent as {{value}}';
647
657
  /** A number param's value is not a number; it is sent anyway */
648
- readonly 'vista.params-form.invalid.number': 'Not a number; sent as text';
658
+ readonly 'vision.params-form.invalid.number': 'Not a number; sent as text';
649
659
  /** A param's value is not one of the values the schema allows; it is sent anyway */
650
- readonly 'vista.params-form.invalid.option': 'Not one of the known values; sent anyway';
660
+ readonly 'vision.params-form.invalid.option': 'Not one of the known values; sent anyway';
651
661
  /** A text param's value is not text; it is sent anyway */
652
- readonly 'vista.params-form.invalid.string': 'Not text; sent as {{value}}';
662
+ readonly 'vision.params-form.invalid.string': 'Not text; sent as {{value}}';
653
663
  /** Accessible label of an item input of a list param in the params form */
654
- readonly 'vista.params-form.item-label': '${{name}}, item {{index}}';
664
+ readonly 'vision.params-form.item-label': '${{name}}, item {{index}}';
655
665
  /** Placeholder of an item input of a list param in the params form */
656
- readonly 'vista.params-form.item-placeholder': 'Item';
666
+ readonly 'vision.params-form.item-placeholder': 'Item';
657
667
  /** Under a params form field whose param has no value */
658
- readonly 'vista.params-form.missing': 'Not set: the query fails until it has a value';
668
+ readonly 'vision.params-form.missing': 'Not set: the query fails until it has a value';
659
669
  /** Shown in the params form when the workspace schema could not be read */
660
- readonly 'vista.params-form.no-schema': 'Types come from the query alone: the workspace schema could not be read.';
670
+ readonly 'vision.params-form.no-schema': 'Types come from the query alone: the workspace schema could not be read.';
661
671
  /** Placeholder of a params form field without a value, and the unset choice of a boolean */
662
- readonly 'vista.params-form.not-set': 'Not set';
672
+ readonly 'vision.params-form.not-set': 'Not set';
663
673
  /** Button setting a date and time param to the current time */
664
- readonly 'vista.params-form.now': 'Now';
674
+ readonly 'vision.params-form.now': 'Now';
665
675
  /** Button removing a param the query does not use from the params */
666
- readonly 'vista.params-form.remove': 'Remove';
676
+ readonly 'vision.params-form.remove': 'Remove';
667
677
  /** Accessible label of the button removing an item from a list param */
668
- readonly 'vista.params-form.remove-item': 'Remove item';
678
+ readonly 'vision.params-form.remove-item': 'Remove item';
669
679
  /** Shown in the params form when the query does not parse */
670
- readonly 'vista.params-form.syntax-error': 'The query does not parse, so its params are listed without types.';
680
+ readonly 'vision.params-form.syntax-error': 'The query does not parse, so its params are listed without types.';
671
681
  /** Type hint of a params form field: any JSON value */
672
- readonly 'vista.params-form.type.any': 'any JSON value';
682
+ readonly 'vision.params-form.type.any': 'any JSON value';
673
683
  /** Type hint of a params form field: true or false */
674
- readonly 'vista.params-form.type.boolean': 'true or false';
684
+ readonly 'vision.params-form.type.boolean': 'true or false';
675
685
  /** Type hint of a params form field: an ISO 8601 date and time */
676
- readonly 'vista.params-form.type.datetime': 'date and time (ISO 8601)';
686
+ readonly 'vision.params-form.type.datetime': 'date and time (ISO 8601)';
677
687
  /** Type hint of a params form field: a document ID */
678
- readonly 'vista.params-form.type.document-id': 'document ID';
688
+ readonly 'vision.params-form.type.document-id': 'document ID';
679
689
  /** Type hint of a params form field: one of the workspace's document types */
680
- readonly 'vista.params-form.type.document-type': 'document type';
690
+ readonly 'vision.params-form.type.document-type': 'document type';
681
691
  /** Type hint of a params form field: a whole number */
682
- readonly 'vista.params-form.type.integer': 'whole number';
692
+ readonly 'vision.params-form.type.integer': 'whole number';
683
693
  /** Type hint of a params form field: a list of values */
684
- readonly 'vista.params-form.type.list': 'list, each {{type}}';
694
+ readonly 'vision.params-form.type.list': 'list, each {{type}}';
685
695
  /** Type hint of a params form field: a number */
686
- readonly 'vista.params-form.type.number': 'number';
696
+ readonly 'vision.params-form.type.number': 'number';
687
697
  /** Type hint of a params form field: one of the values the schema allows */
688
- readonly 'vista.params-form.type.options': '{{type}}, one of {{count}} values';
698
+ readonly 'vision.params-form.type.options': '{{type}}, one of {{count}} values';
689
699
  /** Type hint of a params form field: text */
690
- readonly 'vista.params-form.type.string': 'text';
700
+ readonly 'vision.params-form.type.string': 'text';
691
701
  /** Heading of the params the query does not use, listed in the params form */
692
- readonly 'vista.params-form.unused': 'Not used by the query';
702
+ readonly 'vision.params-form.unused': 'Not used by the query';
693
703
  /** Before the expressions that use a param, in the params form */
694
- readonly 'vista.params-form.used-in': 'Used in';
704
+ readonly 'vision.params-form.used-in': 'Used in';
695
705
  /** Value announced for the params resize handle while the panel sizes itself to its content */
696
- readonly 'vista.params.fit-height': 'Sized to the content, {{height}} pixels';
706
+ readonly 'vision.params.fit-height': 'Sized to the content, {{height}} pixels';
697
707
  /** Accessible label and tooltip of the handle for resizing the params panel */
698
- readonly 'vista.params.resize': 'Resize params: drag or use the arrow keys; double-click or press Enter to fit the content again';
708
+ readonly 'vision.params.resize': 'Resize params: drag or use the arrow keys; double-click or press Enter to fit the content again';
699
709
  /** Tab showing the params as a form inferred from the query */
700
- readonly 'vista.params.view.form': 'Form';
710
+ readonly 'vision.params.view.form': 'Form';
701
711
  /** Tab showing the params as JSON */
702
- readonly 'vista.params.view.json': 'JSON';
712
+ readonly 'vision.params.view.json': 'JSON';
703
713
  /** Accessible label of the tabs switching how the params are edited */
704
- readonly 'vista.params.view.label': 'Edit params as';
714
+ readonly 'vision.params.view.label': 'Edit params as';
705
715
  /** Toast shown after a query URL was pasted and loaded into the tab */
706
- readonly 'vista.paste.parsed': 'Loaded query from pasted URL';
716
+ readonly 'vision.paste.parsed': 'Loaded query from pasted URL';
717
+ /** Toast shown after a curl command for a query was pasted and loaded into the tab */
718
+ readonly 'vision.paste.parsed-curl': 'Loaded query from pasted cURL command';
707
719
  /** Toast shown when a pasted URL used a content variant the tab does not send */
708
- readonly 'vista.paste.unavailable-variant': 'The pasted URL used the "{{variant}}" variant; select it in the navbar to run the query with it.';
720
+ readonly 'vision.paste.unavailable-variant': 'The pasted URL used the "{{variant}}" variant; select it in the navbar to run the query with it.';
709
721
  /** Toast shown when the dataset of a pasted URL is not available here */
710
- readonly 'vista.paste.unknown-dataset': 'The dataset "{{dataset}}" in the pasted URL is not available here, keeping the current one.';
722
+ readonly 'vision.paste.unknown-dataset': 'The dataset "{{dataset}}" in the pasted URL is not available here, keeping the current one.';
711
723
  /** Toast shown when the perspective of a pasted URL cannot be used */
712
- readonly 'vista.paste.unsupported-perspective': 'The perspective in the pasted URL is not supported here, keeping the current one.';
724
+ readonly 'vision.paste.unsupported-perspective': 'The perspective in the pasted URL is not supported here, keeping the current one.';
713
725
  /** Toast shown when a pasted URL used a content variant, but this workspace has variants switched off */
714
- readonly 'vista.paste.variants-disabled': 'The pasted URL used the "{{variant}}" variant; this workspace has variants switched off, so the query runs without it.';
726
+ readonly 'vision.paste.variants-disabled': 'The pasted URL used the "{{variant}}" variant; this workspace has variants switched off, so the query runs without it.';
715
727
  /** Accessible label for the query actions menu */
716
- readonly 'vista.query.actions': 'Query actions';
728
+ readonly 'vision.query.actions': 'Query actions';
717
729
  /** Tooltip when automatic refetching is not available for the API version */
718
- readonly 'vista.query.auto-refetch.unsupported': 'Refetching automatically needs API version v2021-03-25 or later.';
730
+ readonly 'vision.query.auto-refetch.unsupported': 'Refetching automatically needs API version v2021-03-25 or later.';
719
731
  /** Toast shown after the query was copied */
720
- readonly 'vista.query.copied': 'Query copied to clipboard';
732
+ readonly 'vision.query.copied': 'Query copied to clipboard';
721
733
  /** Menu item copying the query text */
722
- readonly 'vista.query.copy': 'Copy query';
734
+ readonly 'vision.query.copy': 'Copy query';
723
735
  /** Menu item opening the export query dialog */
724
- readonly 'vista.query.export': 'Export query…';
736
+ readonly 'vision.query.export': 'Export query…';
725
737
  /** Menu item reformatting the query */
726
- readonly 'vista.query.prettify': 'Prettify query';
738
+ readonly 'vision.query.prettify': 'Prettify query';
727
739
  /** Toast shown when the query could not be reformatted */
728
- readonly 'vista.query.prettify.failed': 'Could not prettify the query';
740
+ readonly 'vision.query.prettify.failed': 'Could not prettify the query';
729
741
  /** Menu item saving the query to the personal saved queries */
730
- readonly 'vista.query.save': 'Save query';
742
+ readonly 'vision.query.save': 'Save query';
731
743
  /** The Fetch button while a fetch is running, stopping it; paired with Stop live */
732
- readonly 'vista.query.stop': 'Stop';
744
+ readonly 'vision.query.stop': 'Stop';
733
745
  /** Tooltip and accessible label of the Stop button, which stops the running fetch only */
734
- readonly 'vista.query.stop.description': 'Stop fetching';
746
+ readonly 'vision.query.stop.description': 'Stop fetching';
735
747
  /** Explanation in the settings section about the redesigned experience */
736
- readonly 'vista.redesign.settings.description': 'You are using the redesigned Vision tool. Switching back keeps your tabs and settings in this browser for the next time you try it.';
748
+ readonly 'vision.redesign.settings.description': 'You are using the redesigned Vision tool. Switching back keeps your tabs and settings in this browser for the next time you try it.';
737
749
  /** Title of the settings section about the redesigned experience */
738
- readonly 'vista.redesign.settings.title': 'Redesigned Vision (beta)';
750
+ readonly 'vision.redesign.settings.title': 'Redesigned Vision (beta)';
739
751
  /** Sidebar item and settings button that return to the classic Vision tool */
740
- readonly 'vista.redesign.switch-to-classic': 'Switch to classic Vision';
752
+ readonly 'vision.redesign.switch-to-classic': 'Switch to classic Vision';
741
753
  /** Toast button that switches to the redesigned tool */
742
- readonly 'vista.redesign.toast.accept': 'Try it now';
754
+ readonly 'vision.redesign.toast.accept': 'Try it now';
743
755
  /** Button next to Fetch in the classic tool that switches to the redesigned one */
744
- readonly 'vista.redesign.try': 'Try the redesign';
756
+ readonly 'vision.redesign.try': 'Try the redesign';
745
757
  /** Tooltip of the button next to Fetch in the classic tool that switches to the redesign */
746
- readonly 'vista.redesign.try.description': 'Switch to the redesigned Vision, in beta. You can switch back at any time from its sidebar.';
758
+ readonly 'vision.redesign.try.description': 'Switch to the redesigned Vision, in beta. You can switch back at any time from its sidebar.';
747
759
  /** Body of the toast inviting users of the classic tool to try the redesign */
748
- readonly 'vista.redesign.toast.description': 'Query tabs, live refetching, response details and exports. You can switch back at any time.';
760
+ readonly 'vision.redesign.toast.description': 'Query tabs, live refetching, response details and exports. You can switch back at any time.';
749
761
  /** Toast button that hides the invitation */
750
- readonly 'vista.redesign.toast.dismiss': 'Not now';
762
+ readonly 'vision.redesign.toast.dismiss': 'Not now';
751
763
  /** Title of the toast inviting users of the classic tool to try the redesign */
752
- readonly 'vista.redesign.toast.title': 'Try the redesigned Vision';
764
+ readonly 'vision.redesign.toast.title': 'Try the redesigned Vision';
753
765
  /** Empty state of the response panel before anything was fetched */
754
- readonly 'vista.response.empty': 'Nothing fetched yet';
766
+ readonly 'vision.response.empty': 'Nothing fetched yet';
755
767
  /** Label for the payload size in the response tab */
756
- readonly 'vista.response.payload-size': 'Payload size';
768
+ readonly 'vision.response.payload-size': 'Payload size';
757
769
  /** Label for the sync tags in the response tab */
758
- readonly 'vista.response.sync-tags': 'Sync tags';
770
+ readonly 'vision.response.sync-tags': 'Sync tags';
759
771
  /** Shown when the response carried no sync tags */
760
- readonly 'vista.response.sync-tags.none': 'No sync tags in the response';
772
+ readonly 'vision.response.sync-tags.none': 'No sync tags in the response';
773
+ /** Under the query URL when the request went out as a POST body rather than that URL */
774
+ readonly 'vision.response.url.sent-as-post': 'Sent as a POST body: the query and params are too long for a URL, so @sanity/client sent them as JSON. Pasting this URL into Vision still loads the query.';
761
775
  /** Accessible label for the result actions menu */
762
- readonly 'vista.result.actions': 'Result actions';
776
+ readonly 'vision.result.actions': 'Result actions';
763
777
  /** Toast shown after the result was copied */
764
- readonly 'vista.result.copied': 'Result copied to clipboard';
778
+ readonly 'vision.result.copied': 'Result copied to clipboard';
765
779
  /** Toast shown after a value in the result was copied, with its path such as [0].author.name */
766
- readonly 'vista.result.copied-value': 'Copied {{path}}';
780
+ readonly 'vision.result.copied-value': 'Copied {{path}}';
767
781
  /** Menu item and button copying the result as JSON */
768
- readonly 'vista.result.copy': 'Copy result';
782
+ readonly 'vision.result.copy': 'Copy result';
769
783
  /** Button next to each property in the result tree, copying its value */
770
- readonly 'vista.result.copy-value': 'Copy value';
784
+ readonly 'vision.result.copy-value': 'Copy value';
771
785
  /** Empty state of the result view */
772
- readonly 'vista.result.empty': 'Run the query to see its result here';
786
+ readonly 'vision.result.empty': 'Run the query to see its result here';
773
787
  /** Button exporting the result as CSV */
774
- readonly 'vista.result.export-csv': 'Export CSV';
788
+ readonly 'vision.result.export-csv': 'Export CSV';
775
789
  /** Button on a graph node hiding the objects and arrays it holds */
776
- readonly 'vista.result.graph.collapse': 'Hide what it holds';
790
+ readonly 'vision.result.graph.collapse': 'Hide what it holds';
777
791
  /** Button on a collapsed graph node showing the objects and arrays it holds again */
778
- readonly 'vista.result.graph.expand': 'Show the {{count}} objects and arrays it holds';
792
+ readonly 'vision.result.graph.expand': 'Show the {{count}} objects and arrays it holds';
779
793
  /** Button fitting the whole graph in view */
780
- readonly 'vista.result.graph.fit': 'Fit to view';
794
+ readonly 'vision.result.graph.fit': 'Fit to view';
781
795
  /** Accessible label of the graph, saying how to move around in it */
782
- readonly 'vista.result.graph.label': 'Result graph: drag to move, scroll to zoom; while focused, the arrow keys move, + and - zoom, 0 fits';
796
+ readonly 'vision.result.graph.label': 'Result graph: drag to move, scroll to zoom; while focused, the arrow keys move, + and - zoom, 0 fits';
783
797
  /** The last row of a graph node with more entries than it lists */
784
- readonly 'vista.result.graph.more': '… {{count}} more';
798
+ readonly 'vision.result.graph.more': '… {{count}} more';
785
799
  /** Title of the graph node of the result itself */
786
- readonly 'vista.result.graph.root': 'result';
800
+ readonly 'vision.result.graph.root': 'result';
787
801
  /** Ends the note on a graph that leaves part of this result out */
788
- readonly 'vista.result.graph.left-out-hint': 'The tree and JSON views show all of it.';
802
+ readonly 'vision.result.graph.left-out-hint': 'The tree and JSON views show all of it.';
789
803
  /** Note on a graph of a result with more objects and arrays than it draws */
790
- readonly 'vista.result.graph.node-limit': 'Only the first {{nodes}} objects and arrays are drawn.';
804
+ readonly 'vision.result.graph.node-limit': 'Only the first {{nodes}} objects and arrays are drawn.';
791
805
  /**
792
806
  * Note on a graph whose objects or arrays have more entries than it lists; the nodes are the
793
807
  * ones in this result, each with its number of entries
794
808
  */
795
- readonly 'vista.result.graph.partial': 'Only the first {{rows}} entries are listed for {{nodes}}.';
809
+ readonly 'vision.result.graph.partial': 'Only the first {{rows}} entries are listed for {{nodes}}.';
796
810
  /** After the objects and arrays the note names, how many more list only their first entries */
797
- readonly 'vista.result.graph.partial.more': 'and {{count}} more';
811
+ readonly 'vision.result.graph.partial.more': 'and {{count}} more';
798
812
  /** An object or array in the note, with how many entries it has (always more than listed) */
799
- readonly 'vista.result.graph.partial.node': '{{name}} ({{entries}} entries)';
813
+ readonly 'vision.result.graph.partial.node': '{{name}} ({{entries}} entries)';
800
814
  /** Button zooming into the graph */
801
- readonly 'vista.result.graph.zoom-in': 'Zoom in';
815
+ readonly 'vision.result.graph.zoom-in': 'Zoom in';
802
816
  /** Button zooming out of the graph */
803
- readonly 'vista.result.graph.zoom-out': 'Zoom out';
817
+ readonly 'vision.result.graph.zoom-out': 'Zoom out';
804
818
  /** Button exporting the result as JSON */
805
- readonly 'vista.result.export-json': 'Export JSON';
819
+ readonly 'vision.result.export-json': 'Export JSON';
806
820
  /** Menu item opening the TypeScript export dialog */
807
- readonly 'vista.result.export-typescript': 'Export TypeScript…';
821
+ readonly 'vision.result.export-typescript': 'Export TypeScript…';
808
822
  /** Menu item opening the Zod export dialog */
809
- readonly 'vista.result.export-zod': 'Export Zod…';
823
+ readonly 'vision.result.export-zod': 'Export Zod…';
810
824
  /** Tab showing the result as a graph of its objects and arrays */
811
- readonly 'vista.result.view.graph': 'Graph';
825
+ readonly 'vision.result.view.graph': 'Graph';
812
826
  /** Tab showing the result as indented JSON text, to select and copy from */
813
- readonly 'vista.result.view.json': 'JSON';
827
+ readonly 'vision.result.view.json': 'JSON';
814
828
  /** Accessible label of the tabs that switch how the result shows */
815
- readonly 'vista.result.view.label': 'Result view';
829
+ readonly 'vision.result.view.label': 'Result view';
816
830
  /** Tab showing the result as a tree to browse */
817
- readonly 'vista.result.view.tree': 'Tree';
831
+ readonly 'vision.result.view.tree': 'Tree';
818
832
  /** Empty state of the saved queries panel */
819
- readonly 'vista.saved.empty': 'No saved queries yet. Save the current query with the + button.';
833
+ readonly 'vision.saved.empty': 'No saved queries yet. Save the current query with the + button.';
820
834
  /** Empty state of a query list when the search matches nothing */
821
- readonly 'vista.saved.empty-search': 'No queries match your search';
835
+ readonly 'vision.saved.empty-search': 'No queries match your search';
822
836
  /** Menu item loading a saved query into the active tab */
823
- readonly 'vista.saved.load-in-current-tab': 'Load into current tab';
837
+ readonly 'vision.saved.load-in-current-tab': 'Load into current tab';
824
838
  /** Menu item opening a saved query in a new tab */
825
- readonly 'vista.saved.open-in-new-tab': 'Open in new tab';
839
+ readonly 'vision.saved.open-in-new-tab': 'Open in new tab';
826
840
  /** Menu item renaming a saved query */
827
- readonly 'vista.saved.rename': 'Rename';
841
+ readonly 'vision.saved.rename': 'Rename';
828
842
  /** Accessible label for the button saving the current query */
829
- readonly 'vista.saved.save-current': 'Save current query';
843
+ readonly 'vision.saved.save-current': 'Save current query';
830
844
  /** Toast shown when an opened saved query used a content variant the tab does not send */
831
- readonly 'vista.saved.unavailable-variant': 'This saved query used the "{{variant}}" variant; select it in the navbar to run the query with it.';
845
+ readonly 'vision.saved.unavailable-variant': 'This saved query used the "{{variant}}" variant; select it in the navbar to run the query with it.';
832
846
  /** Toast shown when an opened saved query names a dataset that is not available here */
833
- readonly 'vista.saved.unknown-dataset': 'The dataset "{{dataset}}" of this saved query is not available here, keeping the current one.';
847
+ readonly 'vision.saved.unknown-dataset': 'The dataset "{{dataset}}" of this saved query is not available here, keeping the current one.';
834
848
  /** Toast shown when an opened saved query used a content variant, but this workspace has variants switched off */
835
- readonly 'vista.saved.variants-disabled': 'This saved query used the "{{variant}}" variant; this workspace has variants switched off, so the query runs without it.';
849
+ readonly 'vision.saved.variants-disabled': 'This saved query used the "{{variant}}" variant; this workspace has variants switched off, so the query runs without it.';
836
850
  /** Button in the settings dialog that clears the stored state */
837
- readonly 'vista.settings.clear-storage': 'Clear storage';
851
+ readonly 'vision.settings.clear-storage': 'Clear storage';
838
852
  /** Confirmation button for clearing the storage */
839
- readonly 'vista.settings.clear-storage.confirm': 'Yes, clear storage';
853
+ readonly 'vision.settings.clear-storage.confirm': 'Yes, clear storage';
840
854
  /** Explanation of what clearing the storage does */
841
- readonly 'vista.settings.clear-storage.description': 'Deletes your personal saved queries and the functions library, resets the open tabs and these defaults in this browser, and returns to the classic Vision tool. Shared queries are kept.';
855
+ readonly 'vision.settings.clear-storage.description': 'Deletes your personal saved queries and the functions library, resets the open tabs and these defaults in this browser, and returns to the classic Vision tool. Shared queries are kept.';
842
856
  /** Toast shown when the saved queries could not be cleared */
843
- readonly 'vista.settings.clear-storage.error': 'Could not clear the saved queries';
857
+ readonly 'vision.settings.clear-storage.error': 'Could not clear the saved queries';
844
858
  /** Toast shown after the storage was cleared */
845
- readonly 'vista.settings.clear-storage.success': 'Storage cleared';
859
+ readonly 'vision.settings.clear-storage.success': 'Storage cleared';
846
860
  /** Explanation at the top of the settings dialog */
847
- readonly 'vista.settings.description': 'Defaults for new tabs. Open tabs keep their own options.';
861
+ readonly 'vision.settings.description': 'Defaults for new tabs. Open tabs keep their own options.';
848
862
  /** Explains the setting listing the fields left out of History diffs */
849
- readonly 'vista.settings.history-diff.description': 'One field path per line. A path matches at any depth of a result, so _rev hides the revision of every document in it. Each diff can still show them.';
863
+ readonly 'vision.settings.history-diff.description': 'One field path per line. A path matches at any depth of a result, so _rev hides the revision of every document in it. Each diff can still show them.';
850
864
  /** Button restoring the default fields left out of History diffs */
851
- readonly 'vista.settings.history-diff.reset': 'Reset to the defaults';
865
+ readonly 'vision.settings.history-diff.reset': 'Reset to the defaults';
852
866
  /** Label of the setting listing the fields left out of History diffs */
853
- readonly 'vista.settings.history-diff.title': 'Fields hidden from History diffs';
867
+ readonly 'vision.settings.history-diff.title': 'Fields hidden from History diffs';
854
868
  /** Title of the settings dialog */
855
- readonly 'vista.settings.title': 'Settings';
869
+ readonly 'vision.settings.title': 'Settings';
856
870
  /** Empty state of the shared queries panel */
857
- readonly 'vista.shared.empty': 'No shared queries yet. Share a saved query to make it available to everyone using this dataset.';
871
+ readonly 'vision.shared.empty': 'No shared queries yet. Share a saved query to make it available to everyone using this dataset.';
858
872
  /** Shortcut description: close dialogs and menus */
859
- readonly 'vista.shortcuts.close': 'Close dialogs and menus';
873
+ readonly 'vision.shortcuts.close': 'Close dialogs and menus';
860
874
  /** Shortcut that lists the functions matching the name being typed in the query editor */
861
- readonly 'vista.shortcuts.complete': 'Complete a function name';
875
+ readonly 'vision.shortcuts.complete': 'Complete a function name';
862
876
  /** Shortcut description: copy the query */
863
- readonly 'vista.shortcuts.copy-query': 'Copy the query';
877
+ readonly 'vision.shortcuts.copy-query': 'Copy the query';
864
878
  /** Shortcut that turns the selected projection, or the one around the cursor, into a custom function */
865
- readonly 'vista.shortcuts.extract-function': 'Extract the projection at the cursor to a function';
879
+ readonly 'vision.shortcuts.extract-function': 'Extract the projection at the cursor to a function';
866
880
  /** Shortcut description: run the query */
867
- readonly 'vista.shortcuts.fetch': 'Fetch the query';
881
+ readonly 'vision.shortcuts.fetch': 'Fetch the query';
868
882
  /** Shortcut description: move the cursor to the next lint finding in the query editor */
869
- readonly 'vista.shortcuts.next-finding': 'Jump to the next lint finding';
883
+ readonly 'vision.shortcuts.next-finding': 'Jump to the next lint finding';
870
884
  /** Shortcut description: reformat the query */
871
- readonly 'vista.shortcuts.prettify': 'Prettify the query';
885
+ readonly 'vision.shortcuts.prettify': 'Prettify the query';
872
886
  /** Title of the keyboard shortcuts dialog */
873
- readonly 'vista.shortcuts.title': 'Keyboard shortcuts';
887
+ readonly 'vision.shortcuts.title': 'Keyboard shortcuts';
874
888
  /** Sidebar toggle: show icons only */
875
- readonly 'vista.sidebar.collapse': 'Collapse sidebar';
889
+ readonly 'vision.sidebar.collapse': 'Collapse sidebar';
876
890
  /** Sidebar toggle: show labels next to the icons */
877
- readonly 'vista.sidebar.expand': 'Expand sidebar';
891
+ readonly 'vision.sidebar.expand': 'Expand sidebar';
878
892
  /** Accessible label for the sidebar navigation */
879
- readonly 'vista.sidebar.label': 'Vista sidebar';
893
+ readonly 'vision.sidebar.label': 'Vision sidebar';
880
894
  /** Sidebar item and drawer title for personal saved queries */
881
- readonly 'vista.sidebar.saved-queries': 'Saved queries';
895
+ readonly 'vision.sidebar.saved-queries': 'Saved queries';
882
896
  /** Sidebar item opening the settings dialog */
883
- readonly 'vista.sidebar.settings': 'Settings';
897
+ readonly 'vision.sidebar.settings': 'Settings';
884
898
  /** Sidebar item and drawer title for shared queries */
885
- readonly 'vista.sidebar.shared-queries': 'Shared queries';
899
+ readonly 'vision.sidebar.shared-queries': 'Shared queries';
886
900
  /** Sidebar item opening the keyboard shortcuts dialog */
887
- readonly 'vista.sidebar.shortcuts': 'Keyboard shortcuts';
901
+ readonly 'vision.sidebar.shortcuts': 'Keyboard shortcuts';
888
902
  /** Empty state of the content source map panel */
889
- readonly 'vista.source-map.empty': 'No content source map in the response. Turn on "Include content source map" under Options and fetch again.';
903
+ readonly 'vision.source-map.empty': 'No content source map in the response. Turn on "Include content source map" under Options and fetch again.';
890
904
  /** Accessible label of the divider between the result and the response details panel */
891
- readonly 'vista.split.bottom-panel': 'Resize the response details panel: drag or use the arrow keys; Home and End go to the bounds, Enter resets';
905
+ readonly 'vision.split.bottom-panel': 'Resize the response details panel: drag or use the arrow keys; Home and End go to the bounds, Enter resets';
892
906
  /** Accessible label of the divider between the request and response panes */
893
- readonly 'vista.split.request-response': 'Resize the request and response panes: drag or use the arrow keys; Home and End go to the bounds, Enter resets';
907
+ readonly 'vision.split.request-response': 'Resize the request and response panes: drag or use the arrow keys; Home and End go to the bounds, Enter resets';
894
908
  /** Accessible label for the button closing a query tab */
895
- readonly 'vista.tabs.close-tab': 'Close tab';
909
+ readonly 'vision.tabs.close-tab': 'Close tab';
896
910
  /** Accessible label for the list of query tabs */
897
- readonly 'vista.tabs.label': 'Query tabs';
911
+ readonly 'vision.tabs.label': 'Query tabs';
898
912
  /** Accessible label for the button opening a new query tab */
899
- readonly 'vista.tabs.new-tab': 'New tab';
913
+ readonly 'vision.tabs.new-tab': 'New tab';
900
914
  /** Placeholder of the input renaming a tab */
901
- readonly 'vista.tabs.title-placeholder': 'Tab title';
915
+ readonly 'vision.tabs.title-placeholder': 'Tab title';
902
916
  /** Title of a tab whose query is still empty */
903
- readonly 'vista.tabs.untitled': 'Untitled query';
917
+ readonly 'vision.tabs.untitled': 'Untitled query';
904
918
  };
905
919
  /**
906
920
  * @alpha
@@ -921,9 +935,6 @@ interface VisionBetaConfig {
921
935
  * When `true`, the classic tool shows a dismissible toast inviting users to try the redesign,
922
936
  * and users who opt in get the redesigned tool (remembered per project in the browser). They
923
937
  * can switch back from the redesigned tool's sidebar or settings. Defaults to `false`.
924
- *
925
- * Currently ignored: the redesign is switched off for everyone and the classic tool is
926
- * always shown.
927
938
  */
928
939
  enabled?: boolean;
929
940
  };