sanity 6.3.1-next.6 → 6.4.0-next.17
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/_chunks-dts/ActiveWorkspaceMatcherContext.d.ts +645 -44
- package/lib/_chunks-dts/index.d.ts +8 -2
- package/lib/_chunks-dts/types.d.ts +6 -1
- package/lib/_chunks-es/CommentsInspector.js +1 -0
- package/lib/_chunks-es/CommentsInspector.js.map +1 -1
- package/lib/_chunks-es/MenuGroup.js +2 -2
- package/lib/_chunks-es/MenuGroup.js.map +1 -1
- package/lib/_chunks-es/PresentationToolGrantsCheck.js.map +1 -1
- package/lib/_chunks-es/ReleasesStudioLayout.js +1 -0
- package/lib/_chunks-es/ReleasesStudioLayout.js.map +1 -1
- package/lib/_chunks-es/ReleasesTool.js +1 -0
- package/lib/_chunks-es/ReleasesTool.js.map +1 -1
- package/lib/_chunks-es/Table.js.map +1 -1
- package/lib/_chunks-es/TasksDocumentInputLayout.js +1 -0
- package/lib/_chunks-es/TasksDocumentInputLayout.js.map +1 -1
- package/lib/_chunks-es/TasksFooterOpenTasks.js +1 -0
- package/lib/_chunks-es/TasksFooterOpenTasks.js.map +1 -1
- package/lib/_chunks-es/TasksStudioActiveToolLayout.js +1 -0
- package/lib/_chunks-es/TasksStudioActiveToolLayout.js.map +1 -1
- package/lib/_chunks-es/TasksStudioLayout.js +2 -1
- package/lib/_chunks-es/TasksStudioLayout.js.map +1 -1
- package/lib/_chunks-es/TasksStudioNavbar.js +1 -0
- package/lib/_chunks-es/TasksStudioNavbar.js.map +1 -1
- package/lib/_chunks-es/Tool.js +1 -1
- package/lib/_chunks-es/Tool.js.map +1 -1
- package/lib/_chunks-es/VariantsStudioNavbar.js +1 -0
- package/lib/_chunks-es/VariantsStudioNavbar.js.map +1 -1
- package/lib/_chunks-es/VariantsTool.js +1 -0
- package/lib/_chunks-es/VariantsTool.js.map +1 -1
- package/lib/_chunks-es/index.js +1 -1
- package/lib/_chunks-es/index.js.map +1 -1
- package/lib/_chunks-es/index2.js +2739 -1855
- package/lib/_chunks-es/index2.js.map +1 -1
- package/lib/_chunks-es/index3.js +1 -0
- package/lib/_chunks-es/index3.js.map +1 -1
- package/lib/_chunks-es/index6.js +3 -2
- package/lib/_chunks-es/index6.js.map +1 -1
- package/lib/_chunks-es/index7.js +2 -1
- package/lib/_chunks-es/index7.js.map +1 -1
- package/lib/_chunks-es/index8.js +1 -0
- package/lib/_chunks-es/index8.js.map +1 -1
- package/lib/_chunks-es/resources.js +12 -0
- package/lib/_chunks-es/resources.js.map +1 -1
- package/lib/_chunks-es/resources2.js +1 -0
- package/lib/_chunks-es/resources2.js.map +1 -1
- package/lib/_chunks-es/resources3.js +1 -0
- package/lib/_chunks-es/resources3.js.map +1 -1
- package/lib/_chunks-es/resources4.js +1 -0
- package/lib/_chunks-es/resources4.js.map +1 -1
- package/lib/_chunks-es/resources5.js +1 -0
- package/lib/_chunks-es/resources5.js.map +1 -1
- package/lib/_chunks-es/resources6.js +1 -0
- package/lib/_chunks-es/resources6.js.map +1 -1
- package/lib/_chunks-es/resources7.js +1 -0
- package/lib/_chunks-es/resources7.js.map +1 -1
- package/lib/_chunks-es/structureTool.js +137 -90
- package/lib/_chunks-es/structureTool.js.map +1 -1
- package/lib/_chunks-es/version.js +2 -2
- package/lib/_singletons.d.ts +31 -2
- package/lib/_singletons.js +6 -3
- package/lib/_singletons.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +20 -2
- package/package.json +13 -12
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, Component, ComponentProps, ComponentType, Dispatch, ElementType, ErrorInfo, FC, FocusEvent, FocusEventHandler, FormEvent, FormEventHandler, HTMLAttributes, HTMLProps, KeyboardEvent, MutableRefObject, PropsWithChildren, PureComponent, ReactElement, ReactNode, Ref, RefAttributes, RefObject, SVGProps, SetStateAction } from "react";
|
|
2
2
|
import { ArraySchemaType, AssetMetadataType, AssetSource, AssetSourceSpec, BlockDecoratorDefinition, BlockListDefinition, BlockStyleDefinition, BooleanSchemaType, ConditionalProperty, CrossDatasetReferenceSchemaType, CrossDatasetReferenceValue, CrossDatasetType, CurrentUser, DeprecatedProperty, DocumentSystem, FieldGroup, File as File$1, FileAsset, FileSchemaType, FileValue, FormNodeValidation, GeopointValue, GlobalDocumentReferenceType, I18nTextRecord, Image, ImageAsset, ImageSchemaType, ImageUrlFitMode, ImageValue, IndexTuple, InitialValueProperty, InitialValueResolverContext, IntrinsicTypeName, KeyedObject, KeyedSegment, MendozaEffectPair, NumberSchemaType, ObjectField, ObjectFieldType, ObjectSchemaType, PatchOperations, Path, PathSegment, PortableTextBlock, PortableTextObject, PortableTextTextBlock, PrepareViewOptions, PreviewValue, Reference, ReferenceSchemaType, ReferenceValue, Role, RuleClass, SanityDocument, SanityDocumentLike, Schema, SchemaType, SchemaTypeDefinition, SearchStrategy, SlugSchemaType, SlugValue, SortOrdering, StrictVersionLayeringOptions, StringSchemaType, TextSchemaType, TransactionLogEventWithEffects, TransactionLogEventWithMutations, UploadState, User, ValidationMarker } from "@sanity/types";
|
|
3
3
|
import { BifurClient } from "@sanity/bifur-client";
|
|
4
|
-
import { ClientConfig, ClientPerspective, QueryParams, ReconnectEvent, ReleaseDocument, ReleaseDocument as ReleaseDocument$1, ReleaseType, ResetEvent, SanityClient, SanityDocument as SanityDocument$1, SingleActionResult, SingleMutationResult, StackablePerspective, WelcomeBackEvent, WelcomeEvent } from "@sanity/client";
|
|
5
|
-
import { AvatarPosition, AvatarProps, AvatarSize, AvatarStatus, BadgeProps, BadgeTone, BoxProps, ButtonProps, ButtonTone,
|
|
4
|
+
import { ClientConfig, ClientError, ClientPerspective, QueryParams, ReconnectEvent, ReleaseDocument, ReleaseDocument as ReleaseDocument$1, ReleaseType, RequestHandler, ResetEvent, SanityClient, SanityDocument as SanityDocument$1, SingleActionResult, SingleMutationResult, StackablePerspective, WelcomeBackEvent, WelcomeEvent } from "@sanity/client";
|
|
5
|
+
import { AvatarPosition, AvatarProps, AvatarSize, AvatarStatus, BadgeProps, BadgeTone, BoxProps, ButtonProps, ButtonTone, DialogProps, HotkeysProps, MenuButtonProps, MenuItem, Placement, PopoverProps, ResponsivePaddingProps, ResponsiveWidthProps, TextProps, ThemeColorSchemeKey, ToastParams, TooltipProps } from "@sanity/ui";
|
|
6
6
|
import { FlatNamespace, KeyPrefix, Namespace, TFunction, TFunction as TFunction$1, i18n as i18n$1 } from "i18next";
|
|
7
7
|
import { MonoTypeOperatorFunction, Observable, OperatorFunction, Subject } from "rxjs";
|
|
8
8
|
import { IntentLinkProps, IntentParameters, Router, RouterState, SearchParam } from "sanity/router";
|
|
@@ -215,6 +215,242 @@ interface AuthProvider {
|
|
|
215
215
|
*/
|
|
216
216
|
logo?: string;
|
|
217
217
|
}
|
|
218
|
+
/** @internal */
|
|
219
|
+
interface WorkspacesProviderProps {
|
|
220
|
+
config: Config;
|
|
221
|
+
children: ReactNode;
|
|
222
|
+
basePath?: string;
|
|
223
|
+
LoadingComponent: ComponentType;
|
|
224
|
+
/**
|
|
225
|
+
* Project ID of the first workspace in the Studio config. Forwarded to
|
|
226
|
+
* `CorsOriginErrorScreen` so it can surface the "Register Studio" option
|
|
227
|
+
* when the failing project matches the studio's primary project.
|
|
228
|
+
*/
|
|
229
|
+
primaryProjectId?: string;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Verdict from `/check/cors` for the current origin against the project's
|
|
233
|
+
* CORS allowlist. Both fields come straight from the endpoint:
|
|
234
|
+
*
|
|
235
|
+
* - `allowed`: whether the origin is in the allowlist at all.
|
|
236
|
+
* - `withCredentials`: whether the allowlist entry permits credentialed
|
|
237
|
+
* requests (the studio always sends them).
|
|
238
|
+
*
|
|
239
|
+
* The studio needs both `true` to function. A `null` probe result means
|
|
240
|
+
* the probe couldn't reach a conclusion (network down, endpoint down, no
|
|
241
|
+
* projectId) — callers should treat that as "not CORS" and let the
|
|
242
|
+
* original error flow to its normal branch.
|
|
243
|
+
*
|
|
244
|
+
* @internal
|
|
245
|
+
*/
|
|
246
|
+
type CorsCheckResult = {
|
|
247
|
+
allowed: boolean;
|
|
248
|
+
withCredentials: boolean;
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Outcome of the `/check/cors` probe:
|
|
252
|
+
* - a {@link CorsCheckResult} — the allow/credentials verdict
|
|
253
|
+
* - `'project-not-found'` — the probe itself 404s because the project
|
|
254
|
+
* doesn't exist (`errorCode: "SIO-404-PNF"`). This is the one place we
|
|
255
|
+
* can detect a missing project: the CORS endpoint answers with CORS
|
|
256
|
+
* headers (so the `fetch` resolves) but a 404 body, whereas the data
|
|
257
|
+
* API requests fail as opaque network/CORS errors that can't tell us
|
|
258
|
+
* why.
|
|
259
|
+
* - `null` — inconclusive (network down, endpoint down, no projectId)
|
|
260
|
+
*
|
|
261
|
+
* @internal
|
|
262
|
+
*/
|
|
263
|
+
type CorsProbeOutcome = CorsCheckResult | 'project-not-found';
|
|
264
|
+
/** @internal */
|
|
265
|
+
declare function WorkspacesProvider({
|
|
266
|
+
config,
|
|
267
|
+
children,
|
|
268
|
+
basePath,
|
|
269
|
+
LoadingComponent,
|
|
270
|
+
primaryProjectId
|
|
271
|
+
}: WorkspacesProviderProps): import("react").JSX.Element;
|
|
272
|
+
/**
|
|
273
|
+
* A diagnosed request failure — the reason a request the studio can't recover
|
|
274
|
+
* from locally failed. Produced by {@link RequestFailureProbe} from an
|
|
275
|
+
* otherwise-opaque error.
|
|
276
|
+
*
|
|
277
|
+
* - `project-not-found` / `dataset-not-found` — a configuration error: the
|
|
278
|
+
* project or dataset the studio points at doesn't exist. Unrecoverable by
|
|
279
|
+
* retry; the studio takes over the screen with guidance.
|
|
280
|
+
* - `cors` — the origin isn't allowed (or can't send credentials) by the
|
|
281
|
+
* project's CORS allowlist. The studio shows the CORS-origin screen. This
|
|
282
|
+
* can begin at any time (e.g. an admin editing the allowlist in Manage),
|
|
283
|
+
* not only at boot.
|
|
284
|
+
* - `unknown` — couldn't be diagnosed (a transient network error, a timeout,
|
|
285
|
+
* a CORS-allowed origin, …). The caller falls back to its normal handling
|
|
286
|
+
* (e.g. the generic network-error dialog).
|
|
287
|
+
*
|
|
288
|
+
* @internal
|
|
289
|
+
*/
|
|
290
|
+
type RequestFailureResult = {
|
|
291
|
+
type: 'project-not-found';
|
|
292
|
+
} | {
|
|
293
|
+
type: 'dataset-not-found';
|
|
294
|
+
} | {
|
|
295
|
+
type: 'cors';
|
|
296
|
+
allowed: boolean;
|
|
297
|
+
withCredentials: boolean;
|
|
298
|
+
} | {
|
|
299
|
+
type: 'unknown';
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* Diagnoses why a request failed. Pure classifier: it inspects the error (and,
|
|
303
|
+
* for opaque network failures, probes `/check/cors`) and returns a
|
|
304
|
+
* {@link RequestFailureResult}. It performs no side effects — the caller
|
|
305
|
+
* decides what to do with the result (take over the screen, re-throw, …).
|
|
306
|
+
*
|
|
307
|
+
* Used in two places that must agree: the studio's request handler (for
|
|
308
|
+
* requests that flow through it) and the auth store's `/users/me` probe (which
|
|
309
|
+
* runs on a client with the request handler stripped, so it needs to diagnose
|
|
310
|
+
* its own failures).
|
|
311
|
+
*
|
|
312
|
+
* @internal
|
|
313
|
+
*/
|
|
314
|
+
type RequestFailureProbe = (err: unknown) => Promise<RequestFailureResult>;
|
|
315
|
+
/**
|
|
316
|
+
* Options for delegating a request error to the studio's error UI.
|
|
317
|
+
*
|
|
318
|
+
* @beta
|
|
319
|
+
*/
|
|
320
|
+
interface RequestErrorReportOptions {
|
|
321
|
+
/**
|
|
322
|
+
* Whether the failed request is safe to re-run. Only set this to `true`
|
|
323
|
+
* when re-running cannot cause harm: the request is idempotent (reads),
|
|
324
|
+
* or it is guaranteed to have been rejected before processing (429s).
|
|
325
|
+
*
|
|
326
|
+
* When `true`, the studio's error dialog offers a "Try again" button
|
|
327
|
+
* that re-runs the request. When `false` (the default), the dialog only
|
|
328
|
+
* offers "Reload Studio" and uses more conservative copy, warning that
|
|
329
|
+
* the last change may or may not have been applied.
|
|
330
|
+
*
|
|
331
|
+
* Note: retry requires a re-runnable request, so it only takes effect
|
|
332
|
+
* with `attempt()` (which has the thunk to re-invoke). The `handle`
|
|
333
|
+
* rejection-handler form cannot re-run the request.
|
|
334
|
+
*/
|
|
335
|
+
retryable?: boolean;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* An error claimed by the studio's request-error UI, as rendered by the
|
|
339
|
+
* studio dialog. Mirrors the classification plus the caller's retry
|
|
340
|
+
* assertion.
|
|
341
|
+
*
|
|
342
|
+
* @internal
|
|
343
|
+
*/
|
|
344
|
+
type RequestErrorClaim = {
|
|
345
|
+
type: 'networkError';
|
|
346
|
+
error: Error;
|
|
347
|
+
retryable: boolean;
|
|
348
|
+
} | {
|
|
349
|
+
type: 'serverError';
|
|
350
|
+
error: Error;
|
|
351
|
+
retryable: boolean;
|
|
352
|
+
} | {
|
|
353
|
+
type: 'rateLimited';
|
|
354
|
+
error: Error;
|
|
355
|
+
retryAfterSeconds?: number;
|
|
356
|
+
retryable: boolean;
|
|
357
|
+
} | {
|
|
358
|
+
type: 'unauthorized';
|
|
359
|
+
error: Error;
|
|
360
|
+
projectId?: string;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Call-site API for delegating unrecoverable request errors to the
|
|
364
|
+
* studio's built-in error UI (dialogs, verified forced logout).
|
|
365
|
+
*
|
|
366
|
+
* The studio never intercepts your requests — errors only reach this
|
|
367
|
+
* channel when you hand them over. Handle what you can locally (inline
|
|
368
|
+
* errors, toasts, fallbacks); delegate what you can't.
|
|
369
|
+
*
|
|
370
|
+
* Two shapes, both feeding the same dialog:
|
|
371
|
+
*
|
|
372
|
+
* ```ts
|
|
373
|
+
* const {attempt, handle} = useStudioErrorHandler()
|
|
374
|
+
*
|
|
375
|
+
* // 1. Thunk wrapper — the dialog's "Try again" re-invokes the thunk.
|
|
376
|
+
* // The thunk may return a promise or a (single-shot) observable:
|
|
377
|
+
* const user = await attempt(() => client.request({uri: '/users/me'}), {
|
|
378
|
+
* retryable: true,
|
|
379
|
+
* })
|
|
380
|
+
*
|
|
381
|
+
* // 2. Promise rejection handler — fire-and-surface, no retry:
|
|
382
|
+
* client.create(doc).catch(handle)
|
|
383
|
+
* ```
|
|
384
|
+
*
|
|
385
|
+
* Unclaimable errors (4xx other than 429, parse errors, ...) are
|
|
386
|
+
* re-thrown unchanged, so downstream `.catch` / `catchError` handlers
|
|
387
|
+
* still see them. 401s are claimed only after the studio verifies the
|
|
388
|
+
* session is actually gone (probe), in which case a forced logout
|
|
389
|
+
* follows; resource-level 401s are re-thrown to the caller.
|
|
390
|
+
*
|
|
391
|
+
* @beta
|
|
392
|
+
*/
|
|
393
|
+
interface StudioErrorHandler {
|
|
394
|
+
/**
|
|
395
|
+
* Promise rejection handler — use directly in `.catch(handle)`.
|
|
396
|
+
* Claimable errors surface the studio dialog and leave the promise
|
|
397
|
+
* pending (the request is in limbo until the user reloads);
|
|
398
|
+
* unclaimable errors are re-thrown to the next `.catch`:
|
|
399
|
+
*
|
|
400
|
+
* ```ts
|
|
401
|
+
* client
|
|
402
|
+
* .create(doc)
|
|
403
|
+
* .catch(handle)
|
|
404
|
+
* .catch((err) => {
|
|
405
|
+
* // caller-domain errors (validation, permissions, 404, ...)
|
|
406
|
+
* })
|
|
407
|
+
* ```
|
|
408
|
+
*/
|
|
409
|
+
handle(err: unknown): Promise<never>;
|
|
410
|
+
/**
|
|
411
|
+
* Runs `thunk` and delegates claimable failures to the studio dialog.
|
|
412
|
+
* With `retryable: true`, the dialog's "Try again" re-invokes the thunk;
|
|
413
|
+
* the returned promise resolves with the first successful attempt.
|
|
414
|
+
* Unclaimable failures reject the returned promise.
|
|
415
|
+
*
|
|
416
|
+
* The thunk receives the attempt number (starting at 1), useful for
|
|
417
|
+
* logging or cache-busting. It may return a promise or an observable —
|
|
418
|
+
* an observable is drained to its last emitted value (single-shot
|
|
419
|
+
* request observables emit once and complete, so this is their value).
|
|
420
|
+
*
|
|
421
|
+
* The observable MUST be finite. `attempt` waits for completion, so a
|
|
422
|
+
* long-lived or multicast source (`client.listen()`, a `Subject`) would
|
|
423
|
+
* never resolve and would leak its subscription for the life of the
|
|
424
|
+
* returned promise. An observable that completes without emitting
|
|
425
|
+
* rejects with rxjs's `EmptyError`. Pass request-style observables only.
|
|
426
|
+
*
|
|
427
|
+
* Promises are eager, so the thunk must CREATE the request when called
|
|
428
|
+
* — retry works by invoking it again for a fresh request:
|
|
429
|
+
*
|
|
430
|
+
* ```ts
|
|
431
|
+
* // ✓ each invocation issues a new request
|
|
432
|
+
* attempt(() => client.fetch(query), {retryable: true})
|
|
433
|
+
*
|
|
434
|
+
* // ✗ the request already happened; retry re-awaits the same
|
|
435
|
+
* // settled rejection and the dialog just reappears
|
|
436
|
+
* const promise = client.fetch(query)
|
|
437
|
+
* attempt(() => promise, {retryable: true})
|
|
438
|
+
* ```
|
|
439
|
+
*/
|
|
440
|
+
attempt<T>(thunk: (attemptNumber: number) => PromiseLike<T> | Observable<T>, options?: RequestErrorReportOptions): Promise<T>;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* The full channel, as owned by `WorkspacesProvider`: the reporter
|
|
444
|
+
* surface plus the state stream and retry trigger the dialog needs.
|
|
445
|
+
*
|
|
446
|
+
* @internal
|
|
447
|
+
*/
|
|
448
|
+
interface RequestErrorChannel extends StudioErrorHandler {
|
|
449
|
+
/** Currently active claim (undefined → no dialog). */
|
|
450
|
+
claim$: Observable<RequestErrorClaim | undefined>;
|
|
451
|
+
/** Re-runs all parked retryable requests and clears the claim. */
|
|
452
|
+
retry(): void;
|
|
453
|
+
}
|
|
218
454
|
type AuthProbeResult = {
|
|
219
455
|
authenticated: false;
|
|
220
456
|
} | {
|
|
@@ -361,6 +597,24 @@ interface AuthStoreOptions extends AuthConfig {
|
|
|
361
597
|
clientFactory?: (options: ClientConfig) => SanityClient;
|
|
362
598
|
projectId: string;
|
|
363
599
|
dataset: string;
|
|
600
|
+
/**
|
|
601
|
+
* Lazily resolves the channel for delegating unrecoverable boot-time
|
|
602
|
+
* request errors (network / 5xx on the initial `/users/me` probe) to the
|
|
603
|
+
* studio's error dialog instead of crashing the boot sequence.
|
|
604
|
+
*
|
|
605
|
+
* @internal
|
|
606
|
+
*/
|
|
607
|
+
getRequestErrorHandler?: () => StudioErrorHandler | undefined;
|
|
608
|
+
/**
|
|
609
|
+
* Lazily resolves diagnostics for the `/users/me` probe, so it can detect
|
|
610
|
+
* and report the CORS / missing-project-or-dataset failures the studio
|
|
611
|
+
* request handler would otherwise catch (the probe bypasses that handler).
|
|
612
|
+
* Resolved lazily for the same reason as `getRequestErrorHandler`: it's
|
|
613
|
+
* unhashable runtime wiring that must stay out of the auth-store memo key.
|
|
614
|
+
*
|
|
615
|
+
* @internal
|
|
616
|
+
*/
|
|
617
|
+
getRequestFailureDiagnostics?: () => RequestFailureDiagnostics | undefined;
|
|
364
618
|
/**
|
|
365
619
|
* Retrieves the session ID from the URL hash for the auth callback flow.
|
|
366
620
|
* Called by `handleCallbackUrl` to obtain the session ID that is exchanged
|
|
@@ -375,6 +629,27 @@ interface AuthStoreOptions extends AuthConfig {
|
|
|
375
629
|
*/
|
|
376
630
|
consumeHashToken: () => string | undefined;
|
|
377
631
|
}
|
|
632
|
+
/**
|
|
633
|
+
* Lets the auth store's `/users/me` probe diagnose and report the failures the
|
|
634
|
+
* studio request handler would normally catch — but can't here, because the
|
|
635
|
+
* probe runs on a client with that handler stripped (see {@link getCurrentUser}).
|
|
636
|
+
*
|
|
637
|
+
* - `diagnose` — the shared classifier. The client is passed per call rather
|
|
638
|
+
* than bound up front, because the auth store builds its own clients
|
|
639
|
+
* internally (so there's no single client to bind the probe to).
|
|
640
|
+
* - `onRequestFailure` — reports a non-`unknown` result to the studio so it
|
|
641
|
+
* can take over the screen (CORS / missing project or dataset). Must be
|
|
642
|
+
* idempotent: the probe runs inside a retryable thunk, so a recurring
|
|
643
|
+
* failure can report the same result more than once.
|
|
644
|
+
*
|
|
645
|
+
* @internal
|
|
646
|
+
*/
|
|
647
|
+
interface RequestFailureDiagnostics {
|
|
648
|
+
diagnose: (err: unknown, client: SanityClient) => ReturnType<RequestFailureProbe>;
|
|
649
|
+
onRequestFailure: (result: Exclude<RequestFailureResult, {
|
|
650
|
+
type: 'unknown';
|
|
651
|
+
}>, client: SanityClient) => void;
|
|
652
|
+
}
|
|
378
653
|
/**
|
|
379
654
|
* @internal
|
|
380
655
|
*/
|
|
@@ -386,6 +661,8 @@ declare function _createAuthStore({
|
|
|
386
661
|
loginMethod,
|
|
387
662
|
getSessionId,
|
|
388
663
|
consumeHashToken,
|
|
664
|
+
getRequestErrorHandler,
|
|
665
|
+
getRequestFailureDiagnostics,
|
|
389
666
|
...providerOptions
|
|
390
667
|
}: AuthStoreOptions): AuthStore;
|
|
391
668
|
/**
|
|
@@ -474,20 +751,6 @@ declare function createConnectionStatusStore({
|
|
|
474
751
|
bifur
|
|
475
752
|
}: ConnectionStatusStoreOptions): ConnectionStatusStore;
|
|
476
753
|
/** @internal */
|
|
477
|
-
interface CorsOriginErrorOptions {
|
|
478
|
-
projectId?: string;
|
|
479
|
-
isStaging: boolean;
|
|
480
|
-
}
|
|
481
|
-
/** @internal */
|
|
482
|
-
declare class CorsOriginError extends Error {
|
|
483
|
-
projectId?: string;
|
|
484
|
-
isStaging: boolean;
|
|
485
|
-
constructor({
|
|
486
|
-
projectId,
|
|
487
|
-
isStaging
|
|
488
|
-
}: CorsOriginErrorOptions);
|
|
489
|
-
}
|
|
490
|
-
/** @internal */
|
|
491
754
|
type BetaBadgeProps = Omit<BadgeProps, 'mode' | 'tone'>;
|
|
492
755
|
/** @internal */
|
|
493
756
|
declare function BetaBadge(props: BetaBadgeProps & Omit<HTMLProps<HTMLDivElement>, 'ref'>): import("react").JSX.Element;
|
|
@@ -573,7 +836,7 @@ interface CommandListProps<T = any> extends ResponsivePaddingProps {
|
|
|
573
836
|
* @internal
|
|
574
837
|
*/
|
|
575
838
|
declare const CommandList: import("react").NamedExoticComponent<CommandListProps<any> & import("react").RefAttributes<CommandListHandle>>;
|
|
576
|
-
type BaseButtonProps = Pick<ButtonProps
|
|
839
|
+
type BaseButtonProps = Pick<ButtonProps<ElementType>, 'as' | 'icon' | 'iconRight' | 'justify' | 'loading' | 'mode' | 'paddingY' | 'paddingLeft' | 'selected' | 'tone' | 'type' | 'width'> & {
|
|
577
840
|
size?: 'default' | 'large';
|
|
578
841
|
radius?: 'full';
|
|
579
842
|
};
|
|
@@ -597,10 +860,10 @@ type ButtonProps$1 = BaseButtonProps & (ButtonWithText | IconButton);
|
|
|
597
860
|
*
|
|
598
861
|
* @internal
|
|
599
862
|
*/
|
|
600
|
-
declare const Button: import("react").ForwardRefExoticComponent<(Omit<Pick<ButtonProps
|
|
863
|
+
declare const Button: import("react").ForwardRefExoticComponent<(Omit<Pick<ButtonProps<ElementType>, "as" | "icon" | "iconRight" | "justify" | "loading" | "mode" | "paddingLeft" | "paddingY" | "selected" | "tone" | "type" | "width"> & {
|
|
601
864
|
size?: 'default' | 'large';
|
|
602
865
|
radius?: 'full';
|
|
603
|
-
} & ButtonWithText & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref"> | Omit<Pick<ButtonProps
|
|
866
|
+
} & ButtonWithText & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref"> | Omit<Pick<ButtonProps<ElementType>, "as" | "icon" | "iconRight" | "justify" | "loading" | "mode" | "paddingLeft" | "paddingY" | "selected" | "tone" | "type" | "width"> & {
|
|
604
867
|
size?: 'default' | 'large';
|
|
605
868
|
radius?: 'full';
|
|
606
869
|
} & IconButton & Omit<HTMLProps<HTMLButtonElement>, "as" | "size" | "title">, "ref">) & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -640,7 +903,9 @@ declare function getDocumentVariantType(documentId: string): DocumentVariantType
|
|
|
640
903
|
/**
|
|
641
904
|
* @internal
|
|
642
905
|
*/
|
|
643
|
-
declare const Chip: import("react").ForwardRefExoticComponent<Omit<Omit<
|
|
906
|
+
declare const Chip: import("react").ForwardRefExoticComponent<Omit<Omit<any, "as" | keyof import("@sanity/ui").ButtonOwnProps> & import("@sanity/ui").ButtonOwnProps & {
|
|
907
|
+
as?: import("@sanity/ui").ElementType<any> | undefined;
|
|
908
|
+
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
644
909
|
/**
|
|
645
910
|
*
|
|
646
911
|
* Checks if the document ID `documentId` has the same ID as `equalsDocumentId`,
|
|
@@ -1484,6 +1749,14 @@ declare function useConditionalToast(params: ToastParams & {
|
|
|
1484
1749
|
}): void;
|
|
1485
1750
|
/** @internal */
|
|
1486
1751
|
type ConnectionState = 'connecting' | 'reconnecting' | 'connected';
|
|
1752
|
+
/**
|
|
1753
|
+
* The realtime connection state for a document, derived from its listener
|
|
1754
|
+
* events. Extracted so it can be combined with other document streams
|
|
1755
|
+
* (see `useDocumentSyncState`) without re-subscribing through the hook.
|
|
1756
|
+
*
|
|
1757
|
+
* @internal
|
|
1758
|
+
*/
|
|
1759
|
+
declare function connectionState(documentStore: DocumentStore, publishedDocId: string, docTypeName: string, version?: string): Observable<ConnectionState>;
|
|
1487
1760
|
/** @internal */
|
|
1488
1761
|
declare function useConnectionState(publishedDocId: string, docTypeName: string, version?: string): ConnectionState;
|
|
1489
1762
|
/**
|
|
@@ -1800,6 +2073,46 @@ declare function useDocumentIdStack({
|
|
|
1800
2073
|
declare function useDocumentOperation(publishedDocId: string, docTypeName: string, version?: string): OperationsAPI;
|
|
1801
2074
|
/** @internal */
|
|
1802
2075
|
declare function useDocumentOperationEvent(publishedDocId: string, docTypeName: string): OperationError | OperationSuccess | undefined;
|
|
2076
|
+
/**
|
|
2077
|
+
* Staged "is this document syncing?" signal, derived from the document's
|
|
2078
|
+
* consistency state combined with the realtime connection state.
|
|
2079
|
+
*
|
|
2080
|
+
* - `synced`: no pending local mutations, or they're committing normally.
|
|
2081
|
+
* - `pending`: local mutations have been unsynced for a short while
|
|
2082
|
+
* (`PENDING_AFTER_MS`) and we still don't have a live connection —
|
|
2083
|
+
* a commit is failing/retrying. Non-blocking; the editor stays usable.
|
|
2084
|
+
* - `stalled`: still unsynced and disconnected past `STALLED_AFTER_MS` —
|
|
2085
|
+
* the editor goes read-only to stop the user piling more edits onto a
|
|
2086
|
+
* document that isn't reaching the server.
|
|
2087
|
+
* - `recovering`: still unsynced, but the connection is back — we're
|
|
2088
|
+
* flushing the buffered backlog. Editing stays locked (we're not in
|
|
2089
|
+
* sync yet), but the message reassures the user that submissions have
|
|
2090
|
+
* resumed rather than telling them they're stuck. Clears to `synced`
|
|
2091
|
+
* the moment the backlog drains.
|
|
2092
|
+
*
|
|
2093
|
+
* `recovering` is time-boxed: a live realtime connection does not
|
|
2094
|
+
* guarantee that *commits* are succeeding (a document-specific 5xx
|
|
2095
|
+
* retries on backoff while the listener stays perfectly connected, and
|
|
2096
|
+
* the mutator eventually stops retrying after ~200 attempts — see
|
|
2097
|
+
* `BufferedDocument._cycleCommitter`). If we stay unsynced for
|
|
2098
|
+
* `RECOVERING_GRACE_MS` after the connection returns, the backlog clearly
|
|
2099
|
+
* isn't draining, so we fall back to `stalled` rather than reassure the
|
|
2100
|
+
* user indefinitely while nothing reaches the server.
|
|
2101
|
+
*
|
|
2102
|
+
* @internal
|
|
2103
|
+
*/
|
|
2104
|
+
type DocumentSyncState = 'synced' | 'pending' | 'stalled' | 'recovering';
|
|
2105
|
+
/**
|
|
2106
|
+
* Maps the consistency stream (`true` = synced, `false` = unsynced local
|
|
2107
|
+
* mutations) and the connection state to the staged
|
|
2108
|
+
* {@link DocumentSyncState}. Pure — extracted so the timing/combination
|
|
2109
|
+
* behavior can be unit-tested without the document store.
|
|
2110
|
+
*
|
|
2111
|
+
* @internal
|
|
2112
|
+
*/
|
|
2113
|
+
declare function deriveDocumentSyncState(consistency$: Observable<boolean>, connectionState$: Observable<ConnectionState>): Observable<DocumentSyncState>;
|
|
2114
|
+
/** @internal */
|
|
2115
|
+
declare function useDocumentSyncState(publishedDocId: string, docTypeName: string, version?: string): DocumentSyncState;
|
|
1803
2116
|
/** @internal */
|
|
1804
2117
|
declare function useEditState(publishedDocId: string, docTypeName: string, priority?: 'default' | 'low', version?: string): EditStateFor;
|
|
1805
2118
|
interface Features {
|
|
@@ -2293,6 +2606,16 @@ declare function resolveInitialValue(schema: Schema, template: Template, params:
|
|
|
2293
2606
|
}>;
|
|
2294
2607
|
/** @internal */
|
|
2295
2608
|
declare const DEFAULT_MAX_RECURSION_DEPTH = 10;
|
|
2609
|
+
/**
|
|
2610
|
+
* Backstop for an initial-value resolver whose request never settles — e.g.
|
|
2611
|
+
* a `client.fetch` parked by the studio's network/CORS error handling.
|
|
2612
|
+
* Without it the editor hangs in a loading state and the create-document menu
|
|
2613
|
+
* loads forever instead of surfacing the failure. Both call sites
|
|
2614
|
+
* (`getInitialValueStream`, `getTemplatePermissions`) time out on this bound.
|
|
2615
|
+
*
|
|
2616
|
+
* @internal
|
|
2617
|
+
*/
|
|
2618
|
+
declare const RESOLVE_INITIAL_VALUE_TIMEOUT_MS = 10000;
|
|
2296
2619
|
type ResolveInitialValueForType = <TParams extends Record<string, unknown>>(
|
|
2297
2620
|
/**
|
|
2298
2621
|
* This is the name of the document.
|
|
@@ -2745,7 +3068,13 @@ declare const studioLocaleStrings: {
|
|
|
2745
3068
|
'document-status.revision-from': string; /** Label to show in the document footer indicating that the revision was not found */
|
|
2746
3069
|
'document-status.revision-not-found': string; /** Toast description shown when saving changes is taking longer than expected */
|
|
2747
3070
|
'document-store.slow-commit.description': string; /** Toast title shown when saving changes is taking longer than expected */
|
|
2748
|
-
'document-store.slow-commit.title': string; /**
|
|
3071
|
+
'document-store.slow-commit.title': string; /** Toast title shown when a document's initial value could not be resolved */
|
|
3072
|
+
'document.initial-value.error.title': string;
|
|
3073
|
+
/**
|
|
3074
|
+
* Toast description shown when a document's initial value could not be
|
|
3075
|
+
* resolved. Includes the underlying error message.
|
|
3076
|
+
*/
|
|
3077
|
+
'document.initial-value.error.description': string; /** Label to indicate that a document type was not found */
|
|
2749
3078
|
'document.type.not-found': string; /** Error message shown when an action cannot be performed */
|
|
2750
3079
|
'errors.unable-to-perform-action': string; /** The value of the <code>_key</code> property must be a unique string. */
|
|
2751
3080
|
'form.error.duplicate-keys-alert.details.additional-description': string; /** This usually happens when items are created using an API client, and the <code>_key</code> property of each elements has been generated non-uniquely. */
|
|
@@ -3095,7 +3424,10 @@ declare const studioLocaleStrings: {
|
|
|
3095
3424
|
'insufficient-permissions-message.not-authorized-explanation_publish-document': string; /** The explanation when unable to unpublish a particular document */
|
|
3096
3425
|
'insufficient-permissions-message.not-authorized-explanation_unpublish-document': string; /** Appears after the not-authorized message. Lists the current roles. */
|
|
3097
3426
|
'insufficient-permissions-message.roles': string; /** The title for the insufficient permissions message component */
|
|
3098
|
-
'insufficient-permissions-message.title': string; /**
|
|
3427
|
+
'insufficient-permissions-message.title': string; /** Body of the logged-out banner shown above the login form for an unknown reason */
|
|
3428
|
+
'login.logged-out.generic': string; /** Body of the logged-out banner shown above the login form when the session expired */
|
|
3429
|
+
'login.logged-out.session-expired': string; /** Title of the banner shown above the login form after the studio logs the user out */
|
|
3430
|
+
'login.logged-out.title': string; /** Unexpected error: `{{error}}` */
|
|
3099
3431
|
'member-field-error.unexpected-error': string; /** Text shown in warning when browser is using HTTP1 to communicate with the Sanity API */
|
|
3100
3432
|
'network-check.slow-protocol-warning.description': string; /** Text for link that takes the user to the Sanity documentation to learn more about the HTTP1 issue */
|
|
3101
3433
|
'network-check.slow-protocol-warning.learn-more-button.text': string; /** Text for link that takes the user to the Sanity documentation to learn more about the HTTP1 issue */
|
|
@@ -4640,6 +4972,60 @@ declare function ActiveWorkspaceMatcher({
|
|
|
4640
4972
|
unstable_history: historyProp
|
|
4641
4973
|
}: ActiveWorkspaceMatcherProps): import("react").JSX.Element;
|
|
4642
4974
|
type WorkspaceAuthStates = Record<string, AuthState | undefined>;
|
|
4975
|
+
/**
|
|
4976
|
+
* Renders the config-error takeover ({@link ConfigErrorScreen}) when
|
|
4977
|
+
* `WorkspacesProvider` has detected a missing project/dataset, otherwise
|
|
4978
|
+
* renders its children.
|
|
4979
|
+
*
|
|
4980
|
+
* It sits below `ActiveWorkspaceMatcher` (the error is surfaced up through
|
|
4981
|
+
* `ConfigErrorContext`) precisely so the screen can use the same
|
|
4982
|
+
* workspace-switcher hooks the auth screens use — `useVisibleWorkspaces`
|
|
4983
|
+
* and `useActiveWorkspace` are only available here.
|
|
4984
|
+
*
|
|
4985
|
+
* The error is shown only while the active workspace is the one that
|
|
4986
|
+
* failed. `WorkspacesProvider` latches `configError` for the lifetime of
|
|
4987
|
+
* the mount, so without this check switching to a healthy workspace (via
|
|
4988
|
+
* the screen's "Choose another workspace" button, which is a router push,
|
|
4989
|
+
* not a reload) would keep the error up.
|
|
4990
|
+
*
|
|
4991
|
+
* @internal
|
|
4992
|
+
*/
|
|
4993
|
+
declare function ConfigErrorGate({
|
|
4994
|
+
children
|
|
4995
|
+
}: {
|
|
4996
|
+
children: ReactNode;
|
|
4997
|
+
}): ReactNode;
|
|
4998
|
+
interface CorsOriginErrorScreenProps {
|
|
4999
|
+
projectId?: string;
|
|
5000
|
+
isStaging: boolean;
|
|
5001
|
+
/**
|
|
5002
|
+
* The project ID of the first workspace in the Studio config.
|
|
5003
|
+
* Used to show the "Register Studio" option when it matches the CORS error's project ID.
|
|
5004
|
+
*/
|
|
5005
|
+
primaryProjectId?: string;
|
|
5006
|
+
/**
|
|
5007
|
+
* The origin to register / add as a CORS entry. Passed in (rather than
|
|
5008
|
+
* read from `window` here) so the screen stays pure — the live flow
|
|
5009
|
+
* passes `window.location.origin`, and the error playground can preview
|
|
5010
|
+
* the screen for other origins (e.g. a custom domain, which shows the
|
|
5011
|
+
* "Register Studio" option that a localhost dev origin does not).
|
|
5012
|
+
*/
|
|
5013
|
+
origin: string;
|
|
5014
|
+
/**
|
|
5015
|
+
* Mirrors `/check/cors`'s `result.allowed` — whether the origin is in
|
|
5016
|
+
* the project's CORS allowlist.
|
|
5017
|
+
*/
|
|
5018
|
+
allowed?: boolean;
|
|
5019
|
+
/**
|
|
5020
|
+
* Mirrors `/check/cors`'s `result.withCredentials` — whether the
|
|
5021
|
+
* allowlist entry permits credentialed requests. When `allowed: true`
|
|
5022
|
+
* and `withCredentials: false`, the screen shows the "re-add with
|
|
5023
|
+
* credentials" branch.
|
|
5024
|
+
*/
|
|
5025
|
+
withCredentials?: boolean;
|
|
5026
|
+
}
|
|
5027
|
+
/** @internal */
|
|
5028
|
+
declare function CorsOriginErrorScreen(props: CorsOriginErrorScreenProps): import("react").JSX.Element;
|
|
4643
5029
|
/** @internal */
|
|
4644
5030
|
interface WorkspaceLike {
|
|
4645
5031
|
name?: string;
|
|
@@ -4723,20 +5109,6 @@ declare function validateBasePaths(workspaces: WorkspaceLike[]): void;
|
|
|
4723
5109
|
/** @internal */
|
|
4724
5110
|
type WorkspacesContextValue = WorkspaceSummary[];
|
|
4725
5111
|
/** @internal */
|
|
4726
|
-
interface WorkspacesProviderProps {
|
|
4727
|
-
config: Config;
|
|
4728
|
-
children: ReactNode;
|
|
4729
|
-
basePath?: string;
|
|
4730
|
-
LoadingComponent: ComponentType;
|
|
4731
|
-
}
|
|
4732
|
-
/** @internal */
|
|
4733
|
-
declare function WorkspacesProvider({
|
|
4734
|
-
config,
|
|
4735
|
-
children,
|
|
4736
|
-
basePath,
|
|
4737
|
-
LoadingComponent
|
|
4738
|
-
}: WorkspacesProviderProps): import("react").JSX.Element;
|
|
4739
|
-
/** @internal */
|
|
4740
5112
|
type NormalizedWorkspace = {
|
|
4741
5113
|
workspace: WorkspacesContextValue[number];
|
|
4742
5114
|
name?: string | undefined;
|
|
@@ -6074,6 +6446,221 @@ declare function renderStudio(rootElement: HTMLElement | null, config: Config):
|
|
|
6074
6446
|
/** @internal */
|
|
6075
6447
|
declare function renderStudio(rootElement: HTMLElement | null, config: Config, options: RenderStudioOptions): () => void;
|
|
6076
6448
|
/** @internal */
|
|
6449
|
+
declare function isTimeoutError(error: unknown): error is Error & {
|
|
6450
|
+
code: 'ESOCKETTIMEDOUT' | 'ETIMEDOUT';
|
|
6451
|
+
};
|
|
6452
|
+
/** @internal */
|
|
6453
|
+
declare function isNetworkError(error: unknown): error is Error;
|
|
6454
|
+
/**
|
|
6455
|
+
* Read the Retry-After header off a ClientError, if present. Per RFC 7231,
|
|
6456
|
+
* it's either a non-negative delta-seconds integer or an HTTP date.
|
|
6457
|
+
*
|
|
6458
|
+
* @internal
|
|
6459
|
+
*/
|
|
6460
|
+
declare function parseRetryAfter(err: ClientError): number | undefined;
|
|
6461
|
+
/**
|
|
6462
|
+
* Infrastructure-level error variants the studio's request-error UI knows
|
|
6463
|
+
* how to render. Everything else (4xx other than 429, parse errors, etc.)
|
|
6464
|
+
* is caller-domain and is never claimed by the studio.
|
|
6465
|
+
*
|
|
6466
|
+
* @internal
|
|
6467
|
+
*/
|
|
6468
|
+
type RequestErrorClassification = {
|
|
6469
|
+
type: 'networkError';
|
|
6470
|
+
error: Error;
|
|
6471
|
+
} | {
|
|
6472
|
+
type: 'serverError';
|
|
6473
|
+
error: Error;
|
|
6474
|
+
} | {
|
|
6475
|
+
type: 'rateLimited';
|
|
6476
|
+
error: Error;
|
|
6477
|
+
retryAfterSeconds?: number;
|
|
6478
|
+
};
|
|
6479
|
+
/**
|
|
6480
|
+
* Classify an error as an infrastructure-level request failure, or return
|
|
6481
|
+
* `null` when the error is caller-domain (validation errors, permission
|
|
6482
|
+
* denials, conflicts, 404s, ...) and should stay with the caller.
|
|
6483
|
+
*
|
|
6484
|
+
* Note: 401 is intentionally NOT classified here — whether a 401 means
|
|
6485
|
+
* "session expired" (studio concern) or "this resource refuses you"
|
|
6486
|
+
* (caller concern) requires probing the session, which the channel does
|
|
6487
|
+
* separately.
|
|
6488
|
+
*
|
|
6489
|
+
* @internal
|
|
6490
|
+
*/
|
|
6491
|
+
declare function classifyRequestError(err: unknown): RequestErrorClassification | null;
|
|
6492
|
+
/** @internal */
|
|
6493
|
+
declare function isUnauthorizedError(err: unknown): err is ClientError;
|
|
6494
|
+
/**
|
|
6495
|
+
* A workspace-level configuration error: the project or dataset the
|
|
6496
|
+
* studio is pointed at doesn't exist. Unlike the infrastructure errors
|
|
6497
|
+
* above, these are not transient and not recoverable by retry — the user
|
|
6498
|
+
* has to fix `projectId`/`dataset` in their config (or create the missing
|
|
6499
|
+
* resource). The studio surfaces these as a full-screen takeover rather
|
|
6500
|
+
* than the retry/reload dialog.
|
|
6501
|
+
*
|
|
6502
|
+
* Which variant we can report depends on what the failing endpoint tells
|
|
6503
|
+
* us. Only the project/dataset management API carries a structured
|
|
6504
|
+
* discriminator; the generic `/data` 404 can't tell missing-project from
|
|
6505
|
+
* missing-dataset apart, so it isn't classified as a config error at all
|
|
6506
|
+
* (see {@link classifyConfigError}).
|
|
6507
|
+
*
|
|
6508
|
+
* @internal
|
|
6509
|
+
*/
|
|
6510
|
+
type ConfigErrorClassification = {
|
|
6511
|
+
type: 'projectNotFound';
|
|
6512
|
+
} | {
|
|
6513
|
+
type: 'datasetNotFound';
|
|
6514
|
+
};
|
|
6515
|
+
/**
|
|
6516
|
+
* Classify a 404 as a studio-configuration error — the project or dataset
|
|
6517
|
+
* the studio points at doesn't exist — using only structured response
|
|
6518
|
+
* fields (never message text, which isn't stable across endpoints).
|
|
6519
|
+
*
|
|
6520
|
+
* Recognized structured signals:
|
|
6521
|
+
* - `attributes.type === 'project'` → `projectNotFound`
|
|
6522
|
+
* (project management API)
|
|
6523
|
+
* - `error === 'Dataset not found'` → `datasetNotFound`
|
|
6524
|
+
* (dataset management API; a discrete error code, not free-form text)
|
|
6525
|
+
*
|
|
6526
|
+
* A 404 without one of these structured signals returns `null` and stays
|
|
6527
|
+
* caller-domain — including the generic `/data` 404s, which carry no
|
|
6528
|
+
* discriminator and so can't be safely attributed to a missing project or
|
|
6529
|
+
* dataset. This classifier only reports what the *response* proves.
|
|
6530
|
+
*
|
|
6531
|
+
* @internal
|
|
6532
|
+
*/
|
|
6533
|
+
declare function classifyConfigError(err: unknown): ConfigErrorClassification | null;
|
|
6534
|
+
/**
|
|
6535
|
+
* The API's machine-readable `errorCode` from a client error response body
|
|
6536
|
+
* (e.g. `SIO-401-AEX` for an expired session), or `undefined` if absent. The
|
|
6537
|
+
* `ClientError` exposes the parsed body on `response.body` (typed `unknown`);
|
|
6538
|
+
* fall back to the stringified `responseBody` since older error shapes only
|
|
6539
|
+
* carry that.
|
|
6540
|
+
*
|
|
6541
|
+
* @internal
|
|
6542
|
+
*/
|
|
6543
|
+
declare function getApiErrorCode(err: unknown): string | undefined;
|
|
6544
|
+
/**
|
|
6545
|
+
* Whether an error originates from a Sanity client request — i.e. one a
|
|
6546
|
+
* plugin/customization could have delegated to the studio's error UI via
|
|
6547
|
+
* `useStudioErrorHandler()` rather than letting it reach an error
|
|
6548
|
+
* boundary. Used to surface a dev-only "did you mean to opt in?" tip.
|
|
6549
|
+
*
|
|
6550
|
+
* @internal
|
|
6551
|
+
*/
|
|
6552
|
+
declare function isClientRequestError(err: unknown): boolean;
|
|
6553
|
+
/**
|
|
6554
|
+
* Create the studio's request-error channel. Framework-free — the React
|
|
6555
|
+
* side (context provider, dialog rendering) lives in `WorkspacesProvider`.
|
|
6556
|
+
*
|
|
6557
|
+
* See {@link StudioErrorHandler} for the call-site API and semantics.
|
|
6558
|
+
*
|
|
6559
|
+
* @internal
|
|
6560
|
+
*/
|
|
6561
|
+
declare function createRequestErrorChannel(): RequestErrorChannel;
|
|
6562
|
+
/**
|
|
6563
|
+
* The {@link StudioErrorHandler} used when there is no studio error UI to
|
|
6564
|
+
* delegate to — outside a `WorkspacesProvider`, or in a standalone render
|
|
6565
|
+
* of a component that normally lives in a Studio.
|
|
6566
|
+
*
|
|
6567
|
+
* It has no dialog and no retry, so it just runs the work and lets the
|
|
6568
|
+
* caller's own error handling take over:
|
|
6569
|
+
* - `attempt()` runs the thunk once and resolves/rejects with its result
|
|
6570
|
+
* (an observable is drained to its last value, same as the real
|
|
6571
|
+
* channel).
|
|
6572
|
+
* - `handle()` re-throws, so the next `.catch` in the chain still sees the
|
|
6573
|
+
* error.
|
|
6574
|
+
*
|
|
6575
|
+
* This lets call sites use `useStudioErrorHandler()` unconditionally
|
|
6576
|
+
* instead of branching on whether a Studio is present.
|
|
6577
|
+
*
|
|
6578
|
+
* @internal
|
|
6579
|
+
*/
|
|
6580
|
+
declare const passthroughErrorHandler: StudioErrorHandler;
|
|
6581
|
+
/**
|
|
6582
|
+
* Ticks down from `claim.retryAfterSeconds` to 0, once per second.
|
|
6583
|
+
* Resets whenever a new claim object arrives — a retried request that
|
|
6584
|
+
* gets rate-limited again produces a fresh claim, and the countdown must
|
|
6585
|
+
* restart from the new Retry-After rather than staying at 0 with an
|
|
6586
|
+
* enabled button.
|
|
6587
|
+
*
|
|
6588
|
+
* @internal
|
|
6589
|
+
*/
|
|
6590
|
+
declare function useRetryCountdown(claim: {
|
|
6591
|
+
retryAfterSeconds?: number;
|
|
6592
|
+
}): number;
|
|
6593
|
+
/**
|
|
6594
|
+
* Studio dialog for claimed request errors (network / 5xx / 429).
|
|
6595
|
+
*
|
|
6596
|
+
* Button policy is driven by the caller's `retryable` assertion — the
|
|
6597
|
+
* call site knows whether re-running its request is safe; the studio
|
|
6598
|
+
* doesn't guess:
|
|
6599
|
+
* - `retryable: true` → "Try again" re-runs the parked request(s),
|
|
6600
|
+
* plus "Reload Studio" as an escape hatch.
|
|
6601
|
+
* - `retryable: false` → only "Reload Studio", with conservative copy
|
|
6602
|
+
* warning that the last change may not have been applied.
|
|
6603
|
+
* - 429 additionally gates "Try again" behind a live Retry-After
|
|
6604
|
+
* countdown.
|
|
6605
|
+
*
|
|
6606
|
+
* @internal
|
|
6607
|
+
*/
|
|
6608
|
+
declare function RequestErrorDialog(props: {
|
|
6609
|
+
claim: Exclude<RequestErrorClaim, {
|
|
6610
|
+
type: 'unauthorized';
|
|
6611
|
+
}>;
|
|
6612
|
+
onRetry: () => void;
|
|
6613
|
+
}): import("react").JSX.Element;
|
|
6614
|
+
/**
|
|
6615
|
+
* Access the studio's request-error reporter — the call-site API for
|
|
6616
|
+
* delegating unrecoverable request errors (network failures, 5xx, 429)
|
|
6617
|
+
* to the studio's built-in error UI.
|
|
6618
|
+
*
|
|
6619
|
+
* The studio never intercepts requests on its own: plugins and
|
|
6620
|
+
* customizations handle their own errors by default (inline errors,
|
|
6621
|
+
* toasts, fallbacks). Use this reporter for the failures your code
|
|
6622
|
+
* cannot recover from locally.
|
|
6623
|
+
*
|
|
6624
|
+
* Always returns a handler, so call sites never have to branch on whether
|
|
6625
|
+
* a Studio is present. Outside a `WorkspacesProvider` (e.g. a standalone
|
|
6626
|
+
* render of a component that normally lives in a Studio) it returns a
|
|
6627
|
+
* passthrough handler with no dialog and no retry: `attempt()` just runs
|
|
6628
|
+
* the work, and `handle()` re-throws to the caller's own `.catch`.
|
|
6629
|
+
*
|
|
6630
|
+
* @example
|
|
6631
|
+
* ```tsx
|
|
6632
|
+
* function MyPluginComponent() {
|
|
6633
|
+
* const client = useClient({apiVersion: '2025-02-19'})
|
|
6634
|
+
* const {attempt, handle} = useStudioErrorHandler()
|
|
6635
|
+
*
|
|
6636
|
+
* const loadSettings = useCallback(async () => {
|
|
6637
|
+
* // Retryable read: "Try again" in the studio dialog re-runs the thunk.
|
|
6638
|
+
* const settings = await attempt(
|
|
6639
|
+
* () => client.fetch('*[_id == "myPlugin.settings"][0]'),
|
|
6640
|
+
* {retryable: true},
|
|
6641
|
+
* )
|
|
6642
|
+
* return settings
|
|
6643
|
+
* }, [client, attempt])
|
|
6644
|
+
*
|
|
6645
|
+
* const save = useCallback(
|
|
6646
|
+
* (doc: SanityDocument) =>
|
|
6647
|
+
* client
|
|
6648
|
+
* .createOrReplace(doc)
|
|
6649
|
+
* // Fire-and-surface: a network/5xx failure shows the studio
|
|
6650
|
+
* // dialog (reload-only, conservative copy). Caller-domain errors
|
|
6651
|
+
* // (validation, permissions) are re-thrown to the next .catch.
|
|
6652
|
+
* .catch(handle)
|
|
6653
|
+
* .catch(showInlineValidationError),
|
|
6654
|
+
* [client, handle],
|
|
6655
|
+
* )
|
|
6656
|
+
* // ...
|
|
6657
|
+
* }
|
|
6658
|
+
* ```
|
|
6659
|
+
*
|
|
6660
|
+
* @beta
|
|
6661
|
+
*/
|
|
6662
|
+
declare function useStudioErrorHandler(): StudioErrorHandler;
|
|
6663
|
+
/** @internal */
|
|
6077
6664
|
type SourceProviderProps = {
|
|
6078
6665
|
source: Source;
|
|
6079
6666
|
children?: ReactNode;
|
|
@@ -6476,7 +7063,7 @@ interface CommentsListProps {
|
|
|
6476
7063
|
* @beta
|
|
6477
7064
|
* @hidden
|
|
6478
7065
|
*/
|
|
6479
|
-
declare const CommentsList: import("react").NamedExoticComponent<CommentsListProps & import("react").RefAttributes<
|
|
7066
|
+
declare const CommentsList: import("react").NamedExoticComponent<CommentsListProps & import("react").RefAttributes<HTMLUListElement>>;
|
|
6480
7067
|
/**
|
|
6481
7068
|
* @internal
|
|
6482
7069
|
*/
|
|
@@ -7721,7 +8308,7 @@ interface DiffInspectWrapperProps {
|
|
|
7721
8308
|
as?: ExecutionProps['as'];
|
|
7722
8309
|
}
|
|
7723
8310
|
/** @internal */
|
|
7724
|
-
declare function DiffInspectWrapper(props: DiffInspectWrapperProps & BoxProps): React.JSX.Element;
|
|
8311
|
+
declare function DiffInspectWrapper(props: DiffInspectWrapperProps & Omit<BoxProps, 'as'>): React.JSX.Element;
|
|
7725
8312
|
/** @internal */
|
|
7726
8313
|
declare function DiffStringSegment(props: {
|
|
7727
8314
|
segment: StringDiffSegment;
|
|
@@ -10172,7 +10759,9 @@ interface PreviewCardContextValue {
|
|
|
10172
10759
|
/** @internal */
|
|
10173
10760
|
declare function usePreviewCard(): PreviewCardContextValue;
|
|
10174
10761
|
/** @internal */
|
|
10175
|
-
declare const PreviewCard: import("react").ForwardRefExoticComponent<Omit<
|
|
10762
|
+
declare const PreviewCard: import("react").ForwardRefExoticComponent<Omit<Omit<any, "as" | keyof import("@sanity/ui").CardOwnProps> & import("@sanity/ui").CardOwnProps & {
|
|
10763
|
+
as?: ElementType | undefined;
|
|
10764
|
+
} & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10176
10765
|
/**
|
|
10177
10766
|
* This is a workaround for a circular import issue.
|
|
10178
10767
|
* Calling `styled(PreviewCard)` at program load time triggered a build error with the commonjs bundle because it tried
|
|
@@ -10180,7 +10769,11 @@ declare const PreviewCard: import("react").ForwardRefExoticComponent<Omit<CardPr
|
|
|
10180
10769
|
* The workaround is to colocate the styled component with the component itself.
|
|
10181
10770
|
* @internal
|
|
10182
10771
|
*/
|
|
10183
|
-
declare const ReferenceInputPreviewCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<
|
|
10772
|
+
declare const ReferenceInputPreviewCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Omit<any, "as" | keyof import("@sanity/ui").CardOwnProps> & import("@sanity/ui").CardOwnProps & {
|
|
10773
|
+
as?: ElementType | undefined;
|
|
10774
|
+
} & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & import("react").RefAttributes<HTMLDivElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<Omit<any, "as" | keyof import("@sanity/ui").CardOwnProps> & import("@sanity/ui").CardOwnProps & {
|
|
10775
|
+
as?: ElementType | undefined;
|
|
10776
|
+
} & Omit<HTMLProps<HTMLDivElement>, "height">, "ref"> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
10184
10777
|
/**
|
|
10185
10778
|
* Portable text preview layout key
|
|
10186
10779
|
*
|
|
@@ -10391,7 +10984,7 @@ interface ResizableProps {
|
|
|
10391
10984
|
* @internal
|
|
10392
10985
|
* Provides a resizable container with a resizer handle.
|
|
10393
10986
|
*/
|
|
10394
|
-
declare function Resizable(props: ResizableProps & BoxProps & Omit<HTMLProps<HTMLDivElement>, 'as'>): import("react").JSX.Element;
|
|
10987
|
+
declare function Resizable(props: ResizableProps & BoxProps<ElementType> & Omit<HTMLProps<HTMLDivElement>, 'as'>): import("react").JSX.Element;
|
|
10395
10988
|
/**
|
|
10396
10989
|
* @hidden
|
|
10397
10990
|
* @beta */
|
|
@@ -10449,10 +11042,10 @@ type StatusButtonProps = ButtonProps$1 & {
|
|
|
10449
11042
|
/** @hidden @beta */
|
|
10450
11043
|
declare const StatusButton: import("react").ForwardRefExoticComponent<(StatusButtonProps & Omit<HTMLProps<HTMLButtonElement>, "disabled" | "ref" | "size" | "title">) & import("react").RefAttributes<HTMLButtonElement>>;
|
|
10451
11044
|
/** @internal */
|
|
10452
|
-
|
|
11045
|
+
type TextWithToneProps = TextProps & {
|
|
10453
11046
|
tone: ButtonTone;
|
|
10454
11047
|
dimmed?: boolean;
|
|
10455
|
-
}
|
|
11048
|
+
};
|
|
10456
11049
|
/** @internal */
|
|
10457
11050
|
declare const TextWithTone: import("react").ForwardRefExoticComponent<Omit<TextWithToneProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10458
11051
|
/** @internal */
|
|
@@ -15436,6 +16029,11 @@ interface DocumentFormValue extends Pick<NodeChronologyProps, 'hasUpstreamVersio
|
|
|
15436
16029
|
*/
|
|
15437
16030
|
upstreamEditState: EditStateFor;
|
|
15438
16031
|
connectionState: ConnectionState;
|
|
16032
|
+
/**
|
|
16033
|
+
* Staged signal for whether the document's edits are reaching the
|
|
16034
|
+
* server. `pending` warns; `stalled` means editing is locked.
|
|
16035
|
+
*/
|
|
16036
|
+
syncState: DocumentSyncState;
|
|
15439
16037
|
collapsedFieldSets: StateTree<boolean> | undefined;
|
|
15440
16038
|
collapsedPaths: StateTree<boolean> | undefined;
|
|
15441
16039
|
openPath: Path;
|
|
@@ -16973,6 +17571,9 @@ declare const flattenConfig: ({
|
|
|
16973
17571
|
*/
|
|
16974
17572
|
declare function prepareConfig(config: Config | MissingConfigFile, options?: {
|
|
16975
17573
|
basePath?: string;
|
|
17574
|
+
requestHandler?: RequestHandler;
|
|
17575
|
+
requestErrorChannel?: RequestErrorChannel;
|
|
17576
|
+
requestFailureDiagnostics?: RequestFailureDiagnostics;
|
|
16976
17577
|
}): PreparedConfig;
|
|
16977
17578
|
/**
|
|
16978
17579
|
* Fully resolves a configuration including subscribing to all sources and
|
|
@@ -17054,4 +17655,4 @@ interface ActiveWorkspaceMatcherContextValue {
|
|
|
17054
17655
|
activeWorkspace: WorkspaceSummary;
|
|
17055
17656
|
setActiveWorkspace: (workspaceName: string) => void;
|
|
17056
17657
|
}
|
|
17057
|
-
export { NewDocumentCreationContext as $, DraftsModelDocument as $C, DocumentMutationEvent as $S, LiveManifestRegisterProvider as $_, DocumentVersionSnapshots as $a, useTranslation as $b, SANITY_PATCH_TYPE as $c, isPublishedVersion as $d, TasksEnabledContextValue as $f, CollapseMenu as $g, isDeleteDocumentVersionEvent as $h, TemplatePermissionsOptions as $i, PreviewProps as $l, getDiffAtPath as $m, ArrayOfPrimitiveOptionsInput as $n, FormBuilderFilterFieldFn as $o, pathsAreEqual as $p, FieldPresenceData as $r, MarkdownConfig as $s, useFormBuilder as $t, FormState as $u, I18nSearchOperatorNameKey as $v, ContextMenuButton as $w, TemplateFieldDefinition as $x, VisibleWorkspacesContextValue as $y, ComposableOption as A, ConnectorContextValue as AC, useDocumentOperationEvent as AS, _createAuthStore as AT, UpsellDescriptionSerializer as A_, QueryParams$1 as Aa, CommentTextSelection as Ab, defaultRenderInlineBlock as Ac, ArrayItemError as Ad, isNonNullable as Af, StudioFeedbackDialog as Ag, getValueError as Ah, useProject as Ai, LinearProgress as Al, DiffInspectWrapper as Am, SelectInput as An, createObservableBufferedDocument as Ao, isSanityDefinedAction as Ap, FormFieldValidation as Ar, PortableTextInputProps as As, DocumentInspectorProps as At, PUBLISHED as Au, StudioNavbar as Av, VERSION_FOLDER as Aw, UserListWithPermissionsOptions as Ax, useColorSchemeOptions as Ay, DocumentBadgesResolver as B, useDocumentVersions as BC, LatencyReportEvent as BS, LoginMethod as BT, StudioLayoutComponent as B_, InitialValueState as Ba, CommentsAuthoringPathProvider as Bb, ParseErrorsProvider as Bc, ProvenanceDiffAnnotation as Bd, ReactHook as Bf, DocumentGroupInventoryProps as Bg, DocumentVersionEventType as Bh, createPresenceStore as Bi, MediaPreviewProps as Bl, TIMELINE_ITEM_I18N_KEY_MAPPING as Bm, ImageUrlBuilder$1 as Bn, SanityDefaultPreviewProps as Bo, isPerspectiveWriteable as Bp, FormFieldHeaderText as Br, RenderItemCallback as Bs, DocumentFieldActionItem as Bt, useAllVariants as Bu, SearchDialog as Bv, idMatchesPerspective as Bw, useTemplates as Bx, MatchWorkspaceOptions as By, ActionComponent as C, useTrackerStore as CC, FormDocumentValue as CS, isAuthStore as CT, useWorkspaceLoader as C_, selectUpstreamVersion as Ca, CommentPath as Cb, FormProvider as Cc, NodeDiffProps as Cd, isCardinalityOnePerspective as Cf, UseInStudioFeedbackReturn as Cg, ReferenceDiff as Ch, useHistoryStore as Ci, StatusButtonProps as Cl, FallbackDiff as Cm, TelephoneInput as Cn, RemoteSnapshotVersionEvent as Co, DocumentActionKeys as Cp, useDocumentDivergences as Cr, InputOnSelectFileFunctionProps as Cs, ReleaseActionDescription as Ct, isReleaseScheduledOrScheduling as Cu, FormSetIfMissingPatch as Cv, TargetPerspective as Cw, LocalesOption as Cx, Filters as Cy, AsyncConfigPropertyReducer as D, ReporterHook as DC, useFilteredReleases as DS, createMockAuthStore as DT, WorkspaceProviderProps as D_, useDocumentType as Da, CommentReactionShortNames as Db, defaultRenderAnnotation as Dc, ObjectRenderMembersCallback as Dd, isTruthy as Df, FeedbackPayload as Dg, StringSegmentUnchanged$1 as Dh, useRenderingContextStore as Di, Resizable as Dl, DiffTooltipWithAnnotationsProps as Dm, StringInput as Dn, BufferedDocumentWrapper as Do, DuplicateActionProps as Dp, FormInput as Dr, OnPasteFn as Ds, DocumentInspector as Dt, getReleaseTone as Du, ToolLink as Dv, DraftId as Dw, StudioLocaleResourceKeys as Dx, ColorSchemeProviderProps as Dy, AsyncComposableOption as E, Reported as EC, useFormattedDuration as ES, MockAuthStoreOptions as ET, WorkspaceProvider as E_, DocumentTypeResolveState as Ea, CommentReactionOption as Eb, FormBuilderProps as Ec, ObjectFormNode as Ed, PartialExcept as Ef, DynamicFeedbackTags as Eg, StringSegmentChanged$1 as Eh, useProjectStore as Ei, RovingFocusProps as El, DiffTooltipProps as Em, TagsArrayInputProps as En, BufferedDocumentEvent as Eo, DocumentActionProps as Ep, FormRow as Er, ObjectInputProps as Es, FormComponents as Et, isGoingToUnpublish as Eu, PatchArg as Ev, DRAFTS_FOLDER as Ew, ValidationLocaleResourceKeys as Ex, ColorSchemeProvider as Ey, DocumentActionsContext as F, useVersionOperations as FC, editState$1 as FS, HandleCallbackResult as FT, UpsellDialogViewedInfo as F_, InitialValueOptions as Fa, CommentsTextSelectionItem as Fb, EditReferenceOptions as Fc, MissingKeysError as Fd, getErrorMessage as Ff, ConsentStatus as Fg, CreateDocumentVersionEvent as Fh, ProjectGrants as Fi, InlinePreviewProps as Fl, DiffErrorBoundary as Fm, PortableTextMemberItem as Fn, unstable_useValuePreview as Fo, useGetDefaultPerspective as Fp, FormFieldValidationStatusProps as Fr, RenderArrayOfObjectsItemCallback as Fs, defineDocumentFieldAction as Ft, useActiveReleases as Fu, NavbarProps as Fv, getDraftId as Fw, UseUnitFormatterOptions as Fx, StudioThemeColorSchemeKey as Fy, DocumentLanguageFilterContext as G, DocumentPreviewStoreOptions as GC, MutationEvent as GS, EditPortal as GT, StudioAnnouncementsCard as G_, OperationSuccess as Ga, validateDocument as Gb, FormCallbacksValue as Gc, useCanvasCompanionDoc as Gd, LegacyThemeProps as Gf, ScrollEventHandler as Gg, PublishDocumentVersionEvent as Gh, Status as Gi, CompactPreview as Gl, ChangeList as Gm, DateTimeInputProps as Gn, isArrayOfPrimitivesInputProps as Go, getItemKeySegment as Gp, PresenceScopeProps as Gr, ObjectItem as Gs, DocumentFieldActionsResolver as Gt, useDivergenceNavigator as Gu, SearchProvider as Gv, isSystemBundleName as Gw, resolveInitialValue as Gx, WorkspacesContextValue as Gy, DocumentInspectorContext as H, isReleaseDocument as HC, MutationPerformanceEvent as HS, useAgentVersionDisplay as HT, isValidAnnouncementRole as H_, validation$1 as Ha, useVersionRelease as Hb, useParseErrors as Hc, resolveConditionalProperty as Hd, catchWithCount as Hf, DocumentGroupInventoryReferencePreviewLinkProps as Hg, EventsStore as Hh, GlobalPresence as Hi, DetailPreviewProps as Hl, ChangesError as Hm, EmailInputProps as Hn, Preview as Ho, FIXME as Hp, FormField as Hr, RenderPreviewCallbackProps as Hs, DocumentFieldActionProps as Ht, isDocumentLimitError as Hu, PartialIndexSettings as Hv, isDraftId as Hw, Serializeable as Hx, matchWorkspace as Hy, DocumentActionsResolver as I, useOnlyHasVersions as IC, DocumentPairLoadedEvent as IS, LoginComponentProps as IT, StudioProvider as I_, getInitialValueStream as Ia, CommentsType as Ib, ReferenceInputOptions as Ic, MixedArrayError as Id, formatRelativeLocale as If, StudioFeedbackProvider as Ig, CreateLiveDocumentEvent as Ih, ProjectOrganizationData as Ii, BlockPreview as Il, DiffErrorBoundaryProps as Im, UpdateReadOnlyPlugin as In, useValuePreview as Io, useExcludedPerspective as Ip, FieldStatusProps as Ir, RenderArrayOfPrimitivesItemCallback as Is, DocumentFieldAction as It, RELEASES_INTENT as Iu, StudioComponents as Iv, getIdPair as Iw, useUnitFormatter as Ix, useAddonDataset as Iy, DocumentPluginOptions as J, ApiConfig as JC, ResetEvent as JS, SourceProvider as J_, MapDocument as Ja, TranslationProps as Jb, PatchChannel as Jc, useVariantDocumentOperations as Jd, TasksUpsellContextValue as Jf, useOnScroll as Jg, UnscheduleDocumentVersionEvent as Jh, UserStoreOptions as Ji, GeneralPreviewLayoutKey as Jl, useAnnotationColor as Jm, CrossDatasetReferencePreview as Jn, isObjectInputProps as Jo, normalizeIndexSegment as Jp, FieldPresence as Jr, BlockAnnotationProps as Js, decodePath as Jt, ExpandFieldSetOperation as Ju, defineSearchFilter as Jv, removeDupes as Jw, defaultTemplatesForSchema as Jx, validateNames as Jy, DocumentLanguageFilterResolver as K, ObserveForPreviewFn as KC, PendingMutationsEvent as KS, createSanityMediaLibraryFileSource as KT, Studio as K_, emitOperation as Ka, Translate as Kb, useFormCallbacks as Kc, SANITY_VERSION as Kd, LegacyThemeTints as Kf, ScrollContainer as Kg, ScheduleDocumentVersionEvent as Kh, UserSessionPair as Ki, CompactPreviewProps as Kl, ChangeListProps as Km, DateInput as Kn, isBooleanInputProps as Ko, getValueAtPath as Kp, PresenceOverlay as Kr, ObjectItemProps as Ks, DocumentFieldActionsResolverContext as Kt, ParseError as Ku, SearchContextValue as Kv, isVersionId as Kw, resolveInitialValueForType as Kx, ValidateWorkspaceOptions as Ky, DocumentActionsVersionType as L, useIsReleaseActive as LC, DocumentRebaseTelemetryEvent as LS, AuthConfig as LT, StudioProviderProps as L_, InitialValueErrorMsg as La, CommentsUIMode as Lb, ReferenceInputOptionsProvider as Lc, TypeAnnotationMismatchError as Ld, EMPTY_ARRAY as Lf, isDev as Lg, DeleteDocumentGroupEvent as Lh, ProjectStore as Li, BlockImagePreview as Ll, DiffErrorBoundaryState as Lm, ObjectInput as Ln, unstable_useObserveDocument as Lo, PerspectiveProvider as Lp, FormFieldStatus as Lr, RenderBlockCallback as Ls, DocumentFieldActionDivider as Lt, DEFAULT_ANNOTATIONS as Lu, StudioComponentsPluginOptions as Lv, getPublishedId as Lw, useTools as Lx, AddonDatasetContextValue as Ly, ConfigContext$1 as M, ChangeIndicatorProps as MC, DocumentIdStack as MS, AuthProbeResult as MT, UpsellDialogLearnMoreCtaClicked as M_, ListenQueryOptions as Ma, CommentUpdateOperationOptions as Mb, defaultRenderItem as Mc, FieldError as Md, globalScope as Mf, FeedbackDialog as Mg, EventsProvider as Mh, getProjectGrants as Mi, TemplatePreview as Ml, DiffFromTo as Mm, CreateButton as Mn, getPreviewValueWithFallback as Mo, EditScheduleForm as Mp, FormFieldValidationInfo as Mr, PrimitiveInputProps as Ms, defineDocumentInspector as Mt, ReleasesUpsellContextValue as Mu, LayoutProps as Mv, createDraftFrom as Mw, useUserListWithPermissions as Mx, useColorSchemeValue as My, ConfigPropertyReducer as N, ChangeFieldWrapper as NC, useDocumentIdStack as NS, AuthState as NT, UpsellDialogUpgradeCtaClicked as N_, ListenQueryParams as Na, CommentUpdatePayload as Nb, defaultRenderPreview as Nc, IncompatibleTypeError as Nd, getTargetDocument as Nf, FeedbackDialogProps as Ng, useEvents as Nh, ProjectData as Ni, TemplatePreviewProps as Nl, DiffFromToProps as Nm, CreateReferenceOption as Nn, getPreviewStateObservable as No, useSetPerspective as Np, FormFieldValidationWarning as Nr, StringInputProps as Ns, initialDocumentFieldActions as Nt, useDocumentVersionInfo as Nu, LogoProps as Nv, createPublishedFrom as Nw, FormattableMeasurementUnit as Nx, StudioColorScheme as Ny, BaseActionDescription as O, ChangeConnectorRoot as OC, useFeatureEnabled as OS, AuthStoreOptions as OT, useWorkspace as O_, DocumentStore as Oa, CommentStatus as Ob, defaultRenderBlock as Oc, PrimitiveFormNode as Od, isString as Of, Sentiment as Og, TypeChangeDiff$1 as Oh, useUserStore as Oi, RelativeTime as Ol, DiffString as Om, SlugInput as On, createBufferedDocument as Oo, DuplicateDocumentActionComponent as Op, FormInputAbsolutePathArg as Or, OnPathFocusPayload as Os, DocumentInspectorComponent as Ot, getReleaseIdFromReleaseDocumentId as Ou, ToolLinkProps as Ov, PublishedId as Ow, Rule as Ox, useColorScheme as Oy, DefaultPluginsWorkspaceOptions as P, sortReleases as PC, EditStateFor as PS, AuthStore as PT, UpsellDialogViewed as P_, listenQuery as Pa, CommentsListBreadcrumbItem as Pb, EditReferenceLinkComponentProps as Pc, InvalidItemTypeError as Pd, getReferencePaths as Pf, useTelemetryConsent as Pg, BaseEvent as Ph, ProjectDatasetData as Pi, InlinePreview as Pl, FieldPreviewComponent as Pm, PortableTextInput as Pn, getPreviewPaths as Po, usePerspective as Pp, FormFieldValidationStatus as Pr, RenderAnnotationCallback as Ps, documentFieldActionsReducer as Pt, useArchivedReleases as Pu, NavbarAction as Pv, documentIdEquals as Pw, UnitFormatter as Px, StudioTheme as Py, MissingConfigFile as Q, DocumentStackAvailability as QC, CommittedEvent as QS, uploadSchema as Q_, OperationsAPI as Qa, UseTranslationResponse as Qb, createPatchChannel as Qc, isDraftVersion as Qd, IsLastPaneProvider as Qf, AutoCollapseMenu as Qg, isDeleteDocumentGroupEvent as Qh, KeyValueStoreValue as Qi, PreviewMediaDimensions as Ql, getAnnotationColor as Qm, ArrayOfPrimitivesFunctions as Qn, FormBuilderCustomMarkersComponent as Qo, pathToString as Qp, FieldPresenceWithOverlay as Qr, BlockStyleProps as Qs, toMutationPatches as Qt, getExpandOperations as Qu, I18nSearchOperatorDescriptionKey as Qv, getDocumentVariantType as Qw, TemplateArrayFieldDefinition as Qx, useVisibleWorkspaces as Qy, DocumentAskToEditEnabledContext as R, useFormatRelativeLocalePublishDate as RC, DocumentStoreExtraOptions as RS, AuthProvider as RT, NavbarContextValue as R_, InitialValueLoadingMsg as Ra, Loadable as Rb, TemplateOption as Rc, UndeclaredMembersError as Rd, EMPTY_OBJECT as Rf, isProd as Rg, DeleteDocumentVersionEvent as Rh, PresenceStore as Ri, BlockImagePreviewProps as Rl, DiffCard as Rm, NumberInput as Rn, useUnstableObserveDocument as Ro, ReleasesNav as Rp, FormFieldSet as Rr, RenderFieldCallback as Rs, DocumentFieldActionGroup as Rt, DEFAULT_DECORATORS as Ru, ToolMenuProps as Rv, getVersionFromId as Rw, TimeAgoOpts as Rx, AddonDatasetProvider as Ry, useMiddlewareComponents as S, TrackerContextStore as SC, useGlobalCopyPasteElementHandler as SS, onRetry as ST, WorkspaceLoaderBoundary as S_, useInitialValueResolverContext as Sa, CommentOperations as Sb, StudioCrossDatasetReferenceInputProps as Sc, NodeChronologyProps as Sd, CardinalityOneRelease as Sf, SendFeedbackOptions as Sg, ObjectDiff$1 as Sh, useGrantsStore as Si, StatusButton as Sl, FieldChange as Sm, TextInputProps as Sn, Pair as So, DocumentActionGroup as Sp, DivergencesProvider as Sr, EditorChange as Ss, ReleaseActionComponent as St, isPublishedPerspective as Su, FormPatchOrigin as Sv, SelectedPerspective as Sw, LocalesBundlesOption as Sx, SearchHeader as Sy, AssetSourceResolver as T, IsEqualFunction as TC, UseFormattedDurationOptions as TS, getProviderTitle as TT, ErrorMessageProps as T_, useDocumentValues as Ta, CommentReactionItem as Tb, FormBuilder as Tc, ObjectArrayFormNode as Td, isPausedCardinalityOneRelease as Tf, BaseFeedbackTags as Tg, StringDiffSegment as Th, usePresenceStore as Ti, RovingFocusNavigationType as Tl, DiffTooltip as Tm, TagsArrayInput as Tn, checkoutPair as To, DocumentActionPopoverDialogProps as Tp, FormCell as Tr, NumberInputProps as Ts, ReleaseActionsContext as Tt, isReleasePerspective as Tu, FormUnsetPatch as Tv, CollatedHit as Tw, TFunction$1 as Tx, ColorSchemeLocalStorageProvider as Ty, DocumentInspectorsResolver as U, MetadataWrapper as UC, getPairListener as US, isAgentBundleName as UT, StudioAnnouncementsDialog as U_, remoteSnapshots as Ua, useValidationStatus as Ub, useReportParseError as Uc, getDocumentIdForCanvasLink as Ud, defaultTheme as Uf, DocumentGroupInventoryAction as Ug, EventsStoreRevision as Uh, PresenceLocation as Ui, DefaultPreview as Ul, ChangeResolver as Um, getCalendarLabels as Un, isArrayOfBlocksInputProps as Uo, findIndex as Up, FormFieldProps as Ur, BaseItemProps as Us, DocumentFieldActionStatus as Ut, useDocumentLimitsUpsellContext as Uu, useSearchMaxFieldDepth as Uv, isPublishedId as Uw, isBuilder as Ux, WorkspacesProvider as Uy, DocumentCommentsEnabledContext as V, VersionInfoDocumentStub as VC, ListenerEvent as VS, AgentVersionDisplay as VT, isValidAnnouncementAudience as V_, InitialValueSuccessMsg as Va, useWorkspaceSchemaId as Vb, useParseErrorForPath as Vc, ALL_FIELDS_GROUP as Vd, createHookFromObservableFactory as Vf, DocumentGroupInventoryPerspectiveList as Vg, EditDocumentVersionEvent as Vh, DocumentPresence as Vi, DetailPreview as Vl, ChangeTitleSegment as Vm, EmailInput as Vn, PreviewLoader as Vo, getSelectedVariant as Vp, FormFieldHeaderTextProps as Vr, RenderPreviewCallback as Vs, DocumentFieldActionNode as Vt, useSetVariant as Vu, SearchButton as Vv, isDraft as Vw, DEFAULT_MAX_RECURSION_DEPTH as Vx, MatchWorkspaceResult as Vy, DocumentLanguageFilterComponent as W, DocumentPreviewStore as WC, IdPair as WS, EnhancedObjectDialog as WT, StudioAnnouncementsContextValue as W_, OperationError as Wa, ValidateDocumentOptions as Wb, FormCallbacksProvider as Wc, useNavigateToCanvasDoc as Wd, buildLegacyTheme as Wf, ScrollContextValue as Wg, HistoryClearedEvent as Wh, Session as Wi, DefaultPreviewProps as Wl, ChangeResolverProps as Wm, DateTimeInput as Wn, isArrayOfObjectsInputProps as Wo, getItemKey as Wp, PresenceScope as Wr, ItemProps as Ws, DocumentFieldActionTone as Wt, DivergenceNavigator as Wu, useSearchState as Wv, isSystemBundle as Ww, resolveInitialObjectValue as Wx, WorkspacesProviderProps as Wy, GroupableActionDescription as X, AvailabilityResponse as XC, WelcomeEvent as XS, useSource as X_, OperationArgs as Xa, usEnglishLocale as Xb, PatchMsgSubscriber as Xc, measureFirstEmission as Xd, TasksNavigationContextValue as Xf, CollapseMenuButtonProps as Xg, isCreateDocumentVersionEvent as Xh, createKeyValueStore as Xi, PreviewComponent as Xl, DiffVisitor as Xm, UniversalArrayInput as Xn, isStringInputProps as Xo, normalizeKeySegment as Xp, FieldPresenceInnerProps as Xr, BlockListItemProps as Xs, MutationPatch as Xt, ExpandPathOperation as Xu, SearchOperatorType as Xv, Chip as Xw, InitialValueTemplateItem as Xx, useWorkspaces as Xy, FormBuilderComponentResolverContext as Y, AvailabilityReason as YC, WelcomeBackEvent as YS, SourceProviderProps as Y_, Operation as Ya, defaultLocale as Yb, PatchMsg as Yc, isDocumentInSelectedVariant as Yd, TasksContextValue as Yf, CollapseMenuButton as Yg, UpdateLiveDocumentEvent as Yh, createUserStore as Yi, PortableTextPreviewLayoutKey as Yl, useDiffAnnotationColor as Ym, BooleanInput as Yn, isObjectItemProps as Yo, normalizeIndexTupleSegment as Yp, FieldPresenceInner as Yr, BlockDecoratorProps as Ys, encodePath as Yt, ExpandOperation as Yu, defineSearchFilterOperators as Yv, systemBundles as Yw, prepareTemplates as Yx, validateWorkspaces as Yy, MediaLibraryConfig as Z, DocumentAvailability as ZC, CommitFunction as ZS, renderStudio as Z_, OperationImpl as Za, UseTranslationOptions as Zb, RebasePatchMsg as Zc, measureFirstMatch as Zd, MentionUserContextValue as Zf, CommonProps as Zg, isCreateLiveDocumentEvent as Zh, KeyValueStore as Zi, PreviewLayoutKey as Zl, getAnnotationAtPath as Zm, ArrayOfPrimitivesInput as Zn, ArrayInputFunctionsProps as Zo, normalizePathSegment as Zp, FieldPresenceProps as Zr, BlockProps as Zs, fromMutationPatches as Zt, SetActiveGroupOperation as Zu, operatorDefinitions as Zv, DocumentVariantType as Zw, Template as Zx, evaluateWorkspaceHidden as Zy, createDefaultIcon as _, useChangeIndicatorsReporter as _C, UseManageFavoriteProps as _S, ConnectionStatusStore as _T, CommentInputHandle as __, Grant as _a, CommentDocument as _b, UploaderDef as _c, BaseFormNode as _d, joinPath as _f, FeedbackContext as _g, FromToIndex as _h, useDocumentPresence as _i, ImperativeToast as _l, GroupChange as _m, ArrayOfObjectsInputMember as _n, DocumentRemoteMutationVersionEvent as _o, DocumentActionComponent as _p, GetFormValueProvider as _r, ArrayOfPrimitivesElementType as _s, Workspace as _t, CapabilityGate as _u, FormInsertPatch as _v, VersionChip as _w, LocaleResourceBundle as _x, SearchTerms as _y, resolveSchemaTypes as a, useDialogStack as aC, useSyncState as aS, CommandListHandle as aT, useCommentsSelectedPath as a_, createGrantsStore as aa, ActiveWorkspaceMatcherProps as ab, EnhancedObjectDialogContextValue as ac, FieldsetState as ad, ErrorState as af, isUpdateLiveDocumentEvent as ag, BooleanDiff$1 as ah, RegionWithIntersectionDetails as ai, set as al, isFieldChange as am, ObjectInputMemberProps as an, DocumentRevision as ao, useSingleDocRelease as ap, ArrayOfObjectsInput as ar, RenderCustomMarkers as as, PreparedConfig as at, LoadingBlock as au, CopyPasteProvider as av, ObserveDocumentTypeFromIdFn as aw, defineLocale as ax, SearchOperatorInput as ay, ConfigPropertyError as b, TrackedChange as bC, useListFormat as bS, RetryingStatus as bT, CommentsUpsellContextValue as b_, useResolveInitialValueForType as ba, CommentListBreadcrumbs as bb, StudioReferenceInputProps as bc, DocumentFormNode as bd, _isType as bf, UseFeedbackReturn as bg, NullDiff$1 as bh, useDocumentPreviewStore as bi, TextWithTone as bl, FromTo as bm, UrlInputProps as bn, DocumentVersionEvent as bo, DocumentActionDescription as bp, FormValueProvider as br, BooleanInputProps as bs, WorkspaceOptions as bt, getDocumentIsInPerspective as bu, FormPatchBase as bv, ReleaseId as bw, LocaleSource as bx, SearchPopover as by, createWorkspaceFromConfig as c, useDataset as cC, useReviewChanges as cS, CommandListRenderItemCallback as cT, CommentsEnabledContextValue as c_, getDocumentValuePermissions as ca, CommentsSelectedPathContextValue as cb, StudioImageInput as cc, ArrayOfPrimitivesItemMember as cd, LoadingState as cf, UserColorManagerOptions as cg, Chunk as ch, DocumentPreviewPresence as ci, ZIndexProvider as cl, isUnchangedDiff as cm, MemberField as cn, createHistoryStore as co, SchedulesContext as cp, FormBuilderContextValue as cr, BaseFieldProps as cs, SanityFormConfig as ct, InsufficientPermissionsMessageProps as cu, CopyOptions as cv, PreviewPath as cw, removeUndefinedLocaleResources as cx, ValuelessSearchOperatorBuilder as cy, flattenConfig as d, useConditionalToast as dC, DocumentField as dS, CorsOriginError as dT, hasCommentMessageValue as d_, DocumentPermission as da, CommentsIntentProviderProps as db, AssetSourcesResolver as dc, FieldMember as dd, sliceString as df, useUserColorManager as dg, DiffComponent as dh, useUser as di, AvatarSkeleton as dl, ValueError as dm, ArrayOfPrimitivesItem as dn, TimelineController as do, DocumentBadgeDescription as dp, useFieldActions as dr, FieldProps as ds, SingleWorkspace as dt, serializeError as du, PasteOptions as dv, Selection as dw, ImplicitLocaleResourceBundle as dx, createSearch as dy, DocumentRebaseEvent as eC, TemplateItem as eS, CommandList as eT, CollapseMenuProps as e_, TemplatePermissionsResult as ea, VisibleWorkspacesProvider as eb, PortableTextPluginsProps as ec, UseFormStateOptions as ed, isReleaseVersion as ef, isEditDocumentVersionEvent as eg, visitDiff as eh, FormNodePresence as ei, dec as el, stringToPath as em, useDocumentForm as en, snapshotPair as eo, DEFAULT_STUDIO_CLIENT_OPTIONS as ep, ArrayOfOptionsInput as er, FormBuilderInputComponentMap as es, NewDocumentOptionsContext as et, PreviewCard as eu, GenerateStudioManifestOptions as ev, DraftsModelDocumentAvailability as ew, useCurrentLocale as ex, OperatorButtonValueComponentProps as ey, PluginFactory as f, useClient as fC, useReferringDocuments as fS, CorsOriginErrorOptions as fT, isTextSelectionComment as f_, getDocumentPairPermissions as fa, CommentsEnabledProvider as fb, FileLike as fc, FieldSetMember as fd, truncateString as ff, HexColor as fg, DiffComponentOptions as fh, ResourceCache as fi, UserAvatar as fl, RevertChangesConfirmDialog as fm, PrimitiveMemberItemProps as fn, TimelineControllerOptions as fo, DocumentBadgeProps as fp, FieldActionsProps as fr, NumberFieldProps as fs, Source as ft, useCopyErrorDetails as fu, SanityClipboardItem as fv, VersionInlineBadge as fw, Locale as fx, isPerspectiveRaw as fy, defineConfig as g, useChangeIndicatorsReportedValues as gC, useNumberFormat as gS, ConnectionStatus as gT, CommentInput as g_, EvaluationParams as ga, CommentCreatePayload as gb, Uploader as gc, ArrayOfPrimitivesFormNode as gd, fieldNeedsEscape as gf, UserId as gg, FieldOperationsAPI as gh, useGlobalPresence as gi, ZIndexContextValue as gl, MetaInfoProps as gm, ArrayOfObjectsInputMembersProps as gn, CombinedDocument as go, useScheduleAction as gp, FieldActionMenuProps as gr, ArrayOfObjectsInputProps as gs, Tool as gt, DocumentStatusIndicator as gu, FormIncPatch as gv, ReleaseAvatarIcon as gw, LocalePluginOptions as gx, SearchSort as gy, createConfig as h, ChangeIndicatorsTracker as hC, UseNumberFormatOptions as hS, ConnectingStatus as hT, CommentInputContextValue as h_, DocumentValuePermission as ha, CommentContext as hb, UploadProgressEvent as hc, ArrayOfObjectsFormNode as hd, escapeField as hf, UserColorManager as hg, FieldChangeNode as hh, useResourceCache as hi, ZIndexContextValueKey as hl, MetaInfo as hm, ArrayOfObjectsInputMembers as hn, TimelineOptions as ho, HookCollectionActionHook as hp, FieldActionMenu as hr, StringFieldProps as hs, TemplateResolver as ht, ErrorActionsProps as hu, FormDiffMatchPatch as hv, ReleaseAvatar as hw, LocaleNestedResource as hx, SearchOptions as hy, SchemaError as i, SnapshotEvent as iC, SyncState as iS, CommandListGetItemSelectedCallback as iT, useCommentsTelemetry as i_, GrantsStoreOptions as ia, ActiveWorkspaceMatcher as ib, UploadEvent as ic, FieldsetMembers as id, userHasRole as if, isUnscheduleDocumentVersionEvent as ig, ArrayItemMetadata as ih, Rect as ii, prefixPath as il, isAddedItemDiff as im, ObjectInputMember as in, useTimelineStore as io, SingleDocReleaseProvider as ip, useVirtualizerScrollInstance as ir, RenderBlockActionsProps as is, PluginOptions as it, PopoverDialog as iu, StudioWorkspaceManifest as iv, ObserveDocumentAvailabilityFn as iw, useI18nText as ix, SearchOperatorButtonValue as iy, Config as j, ChangeIndicator as jC, useDocumentOperation as jS, createAuthStore as jT, UpsellDialogDismissed as j_, createDocumentStore as ja, CommentThreadItem as jb, defaultRenderInput as jc, DuplicateKeysError as jd, isArray as jf, StudioFeedbackDialogProps as jg, useEventsStore as jh, createProjectStore as ji, CircularProgress as jl, DiffInspectWrapperProps as jm, ReferenceAutocomplete as jn, prepareForPreview as jo, SchedulesContextValue as jp, FormFieldValidationError as jr, PrimitiveInputElementProps as js, DocumentInspectorUseMenuItemProps as jt, useReleasesIds as ju, ActiveToolLayoutProps as jv, collate as jw, UserWithPermission as jx, useColorSchemeSetValue as jy, BetaFeatures as k, ChangeConnectorRootProps as kC, useEditState as kS, CreateAuthStoreOptions as kT, InterpolationProp as k_, DocumentStoreOptions as ka, CommentTaskCreatePayload as kb, defaultRenderField as kc, StringFormNode as kd, isRecord as kf, TagValue as kg, FieldValueError as kh, useProjectDatasets as ki, RelativeTimeProps as kl, DiffStringSegment as km, SlugInputProps as kn, CommitRequest as ko, SanityDefinedAction as kp, FormInputRelativePathArg as kr, PasteData$1 as ks, DocumentInspectorMenuItem as kt, LATEST as ku, StudioToolMenu as kv, SystemBundle as kw, UserListWithPermissionsHookValue as kx, useColorSchemeInternalValue as ky, resolveConfig as l, ConnectionState as lC, RelativeTimeOptions as lS, BetaBadge as lT, useComments as l_, useDocumentValuePermissions as la, CommentsSelectedPathProvider as lb, FileInputProps as lc, ArrayOfPrimitivesMember as ld, asLoadable as lf, createUserColorManager as lg, ChunkType as lh, DocumentPreviewPresenceProps as li, useZIndex as ll, noop as lm, MemberFieldProps as ln, removeMissingReferences as lo, ScheduledBadge as lp, useHoveredField as lr, BooleanFieldProps as ls, ScheduledPublishingPluginOptions as lt, Hotkeys as lu, CopyPasteContextType as lv, Previewable as lw, LocaleProvider as lx, ValuelessSearchOperatorParams as ly, definePlugin as m, CommentDeleteDialog as mC, useProjectId as mS, ConnectedStatus as mT, CommentInlineHighlightSpan as m_, useDocumentPairPermissionsFromHookFactory as ma, CommentBaseCreatePayload as mb, UploadOptions as mc, ObjectMember as md, supportsTouch as mf, UserColorHue as mg, DiffProps as mh, ResourceCacheProviderProps as mi, LegacyLayerProvider as ml, NoChanges as mm, MemberItemProps as mn, Timeline as mo, GetHookCollectionStateProps as mp, FieldActionsProvider as mr, PrimitiveFieldProps as ms, SourceOptions as mt, ErrorActions as mu, FormDecPatch as mv, ReleaseTitle as mw, LocaleDefinition as mx, SearchFactoryOptions as my, getConfigContextFromSource as n, MutationPayload as nC, TemplateReferenceTarget as nS, CommandListGetItemDisabledCallback as nT, buildRangeDecorationSelectionsFromComments as n_, useTemplatePermissions as na, getWorkspaceIdentifier as nb, ArrayInputInsertEvent as nc, setAtPath as nd, useUnique as nf, isScheduleDocumentVersionEvent as ng, AnnotationDetails as nh, Position as ni, inc as nl, useDocumentChange as nm, ObjectMembers as nn, TimelineState as no, useScheduledDraftDocument as np, VirtualizerScrollInstanceProvider as nr, PortableTextMarker as ns, PartialContext as nt, ReferenceInputPreviewCard as nu, ManifestWorkspaceInput as nv, Id as nw, useGetI18nText as nx, SearchOperatorBase as ny, CreateWorkspaceFromConfigOptions as o, UseDateTimeFormatOptions as oC, useStudioUrl as oS, CommandListItemContext as oT, CommentsOnboardingContextValue as o_, grantsPermissionOn as oa, RouterHistory as ob, useEnhancedObjectDialog as oc, ArrayOfObjectsItemMember as od, LoadableState as of, UserColorManagerProvider as og, ChangeNode as oh, ReportedRegionWithRect as oi, setIfMissing as ol, isGroupChange as om, MemberFieldSet as on, HistoryStore as oo, getSchemaTypeTitle as op, ArrayOfObjectsFunctions as or, ArrayFieldProps as os, ReleaseActionsResolver as ot, IntentButton as ou, useCopyPaste as ov, ObservePathsFn as ow, defineLocaleResourceBundle as ox, SearchOperatorParams as oy, createPlugin as p, CommentDisabledIcon as pC, useReconnectingToast as pS, CONNECTING as pT, COMMENTS_INSPECTOR_NAME as p_, useDocumentPairPermissions as pa, CommentsProvider as pb, ResolvedUploader as pc, FieldsetRenderMembersCallback as pd, uncaughtErrorHandler as pf, UserColor as pg, DiffComponentResolver as ph, ResourceCacheProvider as pi, UserAvatarProps as pl, RevertChangesButton as pm, ArrayOfObjectsItem as pn, ParsedTimeRef as po, GetHookCollectionState as pp, FieldActionsResolver as pr, ObjectFieldProps as ps, SourceClientOptions as pt, ErrorWithId as pu, PatchEvent as pv, getVersionInlineBadge as pw, LocaleConfigContext as px, getSearchableTypes as py, DocumentLayoutProps as q, createDocumentPreviewStore as qC, ReconnectEvent as qS, createSanityMediaLibraryImageSource as qT, StudioProps as q_, operationEvents as qa, TranslateComponentMap as qb, MutationPatchMsg as qc, getVariantTitle as qd, useDocumentPreviewValues as qf, ScrollContainerProps as qg, UnpublishDocumentEvent as qh, UserStore as qi, GeneralDocumentListLayoutKey as ql, ChangeBreadcrumb as qm, DateInputProps as qn, isNumberInputProps as qo, isEmptyObject as qp, PresenceOverlayProps as qr, PrimitiveItemProps as qs, TransformPatches as qt, mergeParseErrors as qu, SearchFilterDefinition as qv, newDraftFrom as qw, defaultTemplateForType as qx, validateBasePaths as qy, useConfigContextFromSource as r, RemoteSnapshotEvent as rC, TypeTarget as rS, CommandListGetItemKeyCallback as rT, buildCommentRangeDecorations as r_, useTemplatePermissionsFromHookFactory as ra, WorkspaceLike as rb, ArrayInputMoveItemEvent as rc, StateTree as rd, useThrottledCallback as rf, isUnpublishDocumentEvent as rg, ArrayDiff$1 as rh, PresentUser as ri, insert as rl, emptyValuesByType as rm, ObjectMembersProps as rn, TimelineStore as ro, usePausedScheduledDraft as rp, VirtualizerScrollInstance as rr, RenderBlockActionsCallback as rs, Plugin as rt, usePreviewCard as ru, StudioManifest as rv, InvalidationChannelEvent as rw, I18nNode as rx, SearchOperatorBuilder as ry, createSourceFromConfig as s, useDateTimeFormat as sC, useSchema as sS, CommandListProps as sT, useCommentsEnabled as s_, DocumentValuePermissionsOptions as sa, CommentsSelectedPath as sb, ImageInputProps as sc, ArrayOfObjectsMember as sd, LoadedState as sf, UserColorManagerProviderProps as sg, ChangeTitlePath as sh, Size as si, unset as sl, isRemovedItemDiff as sm, MemberFieldError as sn, HistoryStoreOptions as so, createSchema as sp, useDidUpdate as sr, ArrayOfPrimitivesFieldProps as ss, ResolveProductionUrlContext as st, InsufficientPermissionsMessage as su, BaseOptions as sv, PreparedSnapshot as sw, defineLocalesResources as sx, SearchValueFormatterContext as sy, ActiveWorkspaceMatcherContextValue as t, DocumentRemoteMutationEvent as tC, TemplateParameter as tS, CommandListElementType as tT, buildTextSelectionFromFragment as t_, getTemplatePermissions as ta, getNamelessWorkspaceIdentifier as tb, ArrayInputCopyEvent as tc, useFormState as td, isVariantVersion as tf, isPublishDocumentVersionEvent as tg, Annotation as th, Location as ti, diffMatchPatch as tl, resolveDiffComponent as tm, ObjectInputMembers as tn, useTimelineSelector as to, useScheduledDraftsEnabled as tp, ArrayOfObjectOptionsInput as tr, FormBuilderMarkersComponent as ts, NewDocumentOptionsResolver as tt, PreviewCardContextValue as tu, generateStudioManifest as tv, FieldName as tw, useLocale as tx, OperatorInputComponentProps as ty, prepareConfig as u, useConnectionState as uC, useRelativeTime as uS, BetaBadgeProps as uT, CommentsContextValue as u_, DocumentPairPermissionsOptions as ua, CommentsIntentProvider as ub, StudioFileInput as uc, DecorationMember as ud, useLoadable as uf, useUserColor as ug, Diff$1 as uh, useCurrentUser as ui, WithReferringDocuments as ul, DocumentChangeContextInstance as um, MemberItemError as un, SelectionState as uo, DocumentBadgeComponent as up, HoveredFieldProvider as ur, FieldCommentsProps as us, SchemaPluginOptions as ut, HotkeysProps$1 as uu, DocumentMeta as uv, PreviewableType as uw, LocaleProviderBase as ux, defineSearchOperator as uy, ConfigResolutionError as v, ChangeIndicatorTrackerContextValue as vC, useManageFavorite as vS, ConnectionStatusStoreOptions as vT, CommentInputProps as v_, GrantsStore as va, CommentFieldCreatePayload as vb, UploaderResolver as vc, BooleanFormNode as vd, _isCustomDocumentTypeDefinition as vf, FeedbackContextValue as vg, GroupChangeNode as vh, useComlinkStore as vi, ToastParams$1 as vl, FromToArrow as vm, ArrayOfObjectsMemberProps as vn, Transaction as vo, DocumentActionConfirmDialogProps as vp, useGetFormValue as vr, ArrayOfPrimitivesInputProps as vs, WorkspaceHiddenContext as vt, DocumentStatus as vu, FormInsertPatchPosition as vv, PerspectiveContextValue as vw, LocaleResourceKey as vx, compileFieldPath as vy, AppsOptions as w, useTrackerStoreReporter as wC, FormattedDuration as wS, isCookielessCompatibleLoginMethod as wT, ErrorMessage as w_, isNewDocument as wa, CommentPostPayload as wb, FormProviderProps as wc, NumberFormNode as wd, isCardinalityOneRelease as wf, useInStudioFeedback as wg, StringDiff$1 as wh, useKeyValueStore as wi, useRovingFocus as wl, Event$1 as wm, TelephoneInputProps as wn, WithVersion as wo, DocumentActionModalDialogProps as wp, FormContainer as wr, InputProps as ws, ReleaseActionProps as wt, RELEASES_STUDIO_CLIENT_OPTIONS as wu, FormSetPatch as wv, SystemVariant as ww, StaticLocaleResourceBundle as wx, ColorSchemeCustomProvider as wy, ConfigPropertyErrorOptions as x, TrackerContextGetSnapshot as xC, GlobalCopyPasteElementHandler as xS, createConnectionStatusStore as xT, UpsellData as x_, useInitialValue as xa, CommentMessage as xb, StudioCrossDatasetReferenceInput as xc, HiddenField as xd, createSWR as xf, useFeedback as xg, NumberDiff$1 as xh, useDocumentStore as xi, TextWithToneProps as xl, FromToProps as xm, TextInput as xn, MutationResult as xo, DocumentActionDialogProps as xp, useFormValue as xr, ComplexElementProps as xs, WorkspaceSummary as xt, isDraftPerspective as xu, FormPatchJSONValue as xv, ReleasesNavMenuItemPropsGetter as xw, LocaleWeekInfo as xx, SearchPopoverProps as xy, ConfigResolutionErrorOptions as y, TrackedArea as yC, UseListFormatOptions as yS, ErrorStatus as yT, CommentsList as y_, PermissionCheckResult as ya, CommentIntentGetter as yb, StudioReferenceInput as yc, ComputeDiff as yd, _isSanityDocumentTypeDefinition as yf, useStudioFeedbackTags as yg, ItemDiff$1 as yh, useConnectionStatusStore as yi, TooltipOfDisabled as yl, FromToArrowDirection as ym, UrlInput as yn, DocumentVersion as yo, DocumentActionCustomDialogComponentProps as yp, FormValueContextValue as yr, BaseInputProps as ys, WorkspaceHiddenProperty as yt, formatRelativeLocalePublishDate as yu, FormPatch as yv, PerspectiveStack as yw, LocaleResourceRecord as yx, SearchResultItemPreview as yy, DocumentBadgesContext as z, useDocumentVersionTypeSortedList as zC, InitialSnapshotEvent as zS, CookielessCompatibleLoginMethod as zT, StudioLayout as z_, InitialValueMsg as za, CommentsAuthoringPathContextValue as zb, useReferenceInputOptions as zc, FormFieldGroup as zd, LoadingTuple as zf, DocumentGroupInventory as zg, DocumentGroupEvent as zh, SESSION_ID as zi, MediaPreview as zl, DiffCardProps as zm, AssetAccessPolicy as zn, SanityDefaultPreview as zo, PerspectiveNotWriteableReason as zp, FormFieldSetProps as zr, RenderInputCallback as zs, DocumentFieldActionHook as zt, ReleaseDocument$1 as zu, StudioLogo as zv, getVersionId as zw, useTimeAgo as zx, useActiveWorkspace as zy };
|
|
17658
|
+
export { NewDocumentCreationContext as $, ChangeFieldWrapper as $C, EditStateFor as $S, AuthStore as $T, useRetryCountdown as $_, DocumentVersionSnapshots as $a, Loadable as $b, SANITY_PATCH_TYPE as $c, isPublishedVersion as $d, TasksEnabledContextValue as $f, CollapseMenu as $g, isDeleteDocumentVersionEvent as $h, TemplatePermissionsOptions as $i, PreviewProps as $l, getDiffAtPath as $m, ArrayOfPrimitiveOptionsInput as $n, FormBuilderFilterFieldFn as $o, pathsAreEqual as $p, FieldPresenceData as $r, MarkdownConfig as $s, useFormBuilder as $t, FormState as $u, ToolMenuProps as $v, createPublishedFrom as $w, TimeAgoOpts as $x, AddonDatasetProvider as $y, ComposableOption as A, useConnectionState as AC, useProjectId as AS, BetaBadgeProps as AT, UpsellDescriptionSerializer as A_, QueryParams$1 as Aa, CommentContext as Ab, defaultRenderInlineBlock as Ac, ArrayItemError as Ad, isNonNullable as Af, StudioFeedbackDialog as Ag, getValueError as Ah, useProject as Ai, LinearProgress as Al, DiffInspectWrapper as Am, SelectInput as An, createObservableBufferedDocument as Ao, isSanityDefinedAction as Ap, FormFieldValidation as Ar, PortableTextInputProps as As, DocumentInspectorProps as At, PUBLISHED as Au, FormDiffMatchPatch as Av, PreviewableType as Aw, LocaleNestedResource as Ax, SearchOptions as Ay, DocumentBadgesResolver as B, TrackedChange as BC, FormattedDuration as BS, onRetry as BT, StudioLayoutComponent as B_, InitialValueState as Ba, CommentReactionItem as Bb, ParseErrorsProvider as Bc, ProvenanceDiffAnnotation as Bd, ReactHook as Bf, DocumentGroupInventoryProps as Bg, DocumentVersionEventType as Bh, createPresenceStore as Bi, MediaPreviewProps as Bl, TIMELINE_ITEM_I18N_KEY_MAPPING as Bm, ImageUrlBuilder$1 as Bn, SanityDefaultPreviewProps as Bo, isPerspectiveWriteable as Bp, FormFieldHeaderText as Br, RenderItemCallback as Bs, DocumentFieldActionItem as Bt, useAllVariants as Bu, FormUnsetPatch as Bv, ReleaseId as Bw, TFunction$1 as Bx, ColorSchemeLocalStorageProvider as By, ActionComponent as C, SnapshotEvent as CC, useSchema as CS, CommandListGetItemKeyCallback as CT, useWorkspaceLoader as C_, selectUpstreamVersion as Ca, CommentsSelectedPathContextValue as Cb, FormProvider as Cc, NodeDiffProps as Cd, isCardinalityOnePerspective as Cf, UseInStudioFeedbackReturn as Cg, ReferenceDiff as Ch, useHistoryStore as Ci, StatusButtonProps as Cl, FallbackDiff as Cm, TelephoneInput as Cn, RemoteSnapshotVersionEvent as Co, DocumentActionKeys as Cp, useDocumentDivergences as Cr, InputOnSelectFileFunctionProps as Cs, ReleaseActionDescription as Ct, isReleaseScheduledOrScheduling as Cu, CopyOptions as Cv, InvalidationChannelEvent as Cw, removeUndefinedLocaleResources as Cx, ValuelessSearchOperatorBuilder as Cy, AsyncConfigPropertyReducer as D, useDataset as DC, DocumentField as DS, CommandListProps as DT, WorkspaceProviderProps as D_, useDocumentType as Da, CommentsEnabledProvider as Db, defaultRenderAnnotation as Dc, ObjectRenderMembersCallback as Dd, isTruthy as Df, FeedbackPayload as Dg, StringSegmentUnchanged$1 as Dh, useRenderingContextStore as Di, Resizable as Dl, DiffTooltipWithAnnotationsProps as Dm, StringInput as Dn, BufferedDocumentWrapper as Do, DuplicateActionProps as Dp, FormInput as Dr, OnPasteFn as Ds, DocumentInspector as Dt, getReleaseTone as Du, SanityClipboardItem as Dv, PreparedSnapshot as Dw, Locale as Dx, isPerspectiveRaw as Dy, AsyncComposableOption as E, useDateTimeFormat as EC, useRelativeTime as ES, CommandListItemContext as ET, WorkspaceProvider as E_, DocumentTypeResolveState as Ea, CommentsIntentProviderProps as Eb, FormBuilderProps as Ec, ObjectFormNode as Ed, PartialExcept as Ef, DynamicFeedbackTags as Eg, StringSegmentChanged$1 as Eh, useProjectStore as Ei, RovingFocusProps as El, DiffTooltipProps as Em, TagsArrayInputProps as En, BufferedDocumentEvent as Eo, DocumentActionProps as Ep, FormRow as Er, ObjectInputProps as Es, FormComponents as Et, isGoingToUnpublish as Eu, PasteOptions as Ev, ObservePathsFn as Ew, ImplicitLocaleResourceBundle as Ex, createSearch as Ey, DocumentActionsContext as F, ChangeIndicatorsTracker as FC, UseListFormatOptions as FS, ConnectionStatusStore as FT, UpsellDialogViewedInfo as F_, InitialValueOptions as Fa, CommentListBreadcrumbs as Fb, EditReferenceOptions as Fc, MissingKeysError as Fd, getErrorMessage as Ff, ConsentStatus as Fg, CreateDocumentVersionEvent as Fh, ProjectGrants as Fi, InlinePreviewProps as Fl, DiffErrorBoundary as Fm, PortableTextMemberItem as Fn, unstable_useValuePreview as Fo, useGetDefaultPerspective as Fp, FormFieldValidationStatusProps as Fr, RenderArrayOfObjectsItemCallback as Fs, defineDocumentFieldAction as Ft, useActiveReleases as Fu, FormPatchBase as Fv, ReleaseAvatar as Fw, LocaleSource as Fx, SearchPopover as Fy, DocumentLanguageFilterContext as G, IsEqualFunction as GC, useEditState as GS, createMockAuthStore as GT, StudioAnnouncementsCard as G_, OperationSuccess as Ga, CommentTextSelection as Gb, FormCallbacksValue as Gc, useCanvasCompanionDoc as Gd, LegacyThemeProps as Gf, ScrollEventHandler as Gg, PublishDocumentVersionEvent as Gh, Status as Gi, CompactPreview as Gl, ChangeList as Gm, DateTimeInputProps as Gn, isArrayOfPrimitivesInputProps as Go, getItemKeySegment as Gp, PresenceScopeProps as Gr, ObjectItem as Gs, DocumentFieldActionsResolver as Gt, useDivergenceNavigator as Gu, StudioNavbar as Gv, CollatedHit as Gw, UserListWithPermissionsOptions as Gx, useColorSchemeOptions as Gy, DocumentInspectorContext as H, TrackerContextStore as HC, useFormattedDuration as HS, isCookielessCompatibleLoginMethod as HT, isValidAnnouncementRole as H_, validation$1 as Ha, CommentReactionShortNames as Hb, useParseErrors as Hc, resolveConditionalProperty as Hd, catchWithCount as Hf, DocumentGroupInventoryReferencePreviewLinkProps as Hg, EventsStore as Hh, GlobalPresence as Hi, DetailPreviewProps as Hl, ChangesError as Hm, EmailInputProps as Hn, Preview as Ho, FIXME as Hp, FormField as Hr, RenderPreviewCallbackProps as Hs, DocumentFieldActionProps as Ht, isDocumentLimitError as Hu, ToolLink as Hv, SelectedPerspective as Hw, StudioLocaleResourceKeys as Hx, ColorSchemeProviderProps as Hy, DocumentActionsResolver as I, useChangeIndicatorsReportedValues as IC, useListFormat as IS, ConnectionStatusStoreOptions as IT, StudioProvider as I_, getInitialValueStream as Ia, CommentMessage as Ib, ReferenceInputOptions as Ic, MixedArrayError as Id, formatRelativeLocale as If, StudioFeedbackProvider as Ig, CreateLiveDocumentEvent as Ih, ProjectOrganizationData as Ii, BlockPreview as Il, DiffErrorBoundaryProps as Im, UpdateReadOnlyPlugin as In, useValuePreview as Io, useExcludedPerspective as Ip, FieldStatusProps as Ir, RenderArrayOfPrimitivesItemCallback as Is, DocumentFieldAction as It, RELEASES_INTENT as Iu, FormPatchJSONValue as Iv, ReleaseAvatarIcon as Iw, LocaleWeekInfo as Ix, SearchPopoverProps as Iy, DocumentPluginOptions as J, ChangeConnectorRoot as JC, useDocumentSyncState as JS, RequestFailureDiagnostics as JT, SourceProvider as J_, MapDocument as Ja, CommentUpdatePayload as Jb, PatchChannel as Jc, useVariantDocumentOperations as Jd, TasksUpsellContextValue as Jf, useOnScroll as Jg, UnscheduleDocumentVersionEvent as Jh, UserStoreOptions as Ji, GeneralPreviewLayoutKey as Jl, useAnnotationColor as Jm, CrossDatasetReferencePreview as Jn, isObjectInputProps as Jo, normalizeIndexSegment as Jp, FieldPresence as Jr, BlockAnnotationProps as Js, decodePath as Jt, ExpandFieldSetOperation as Ju, LogoProps as Jv, PublishedId as Jw, FormattableMeasurementUnit as Jx, StudioColorScheme as Jy, DocumentLanguageFilterResolver as K, Reported as KC, DocumentSyncState as KS, AuthStoreOptions as KT, Studio as K_, emitOperation as Ka, CommentThreadItem as Kb, useFormCallbacks as Kc, SANITY_VERSION as Kd, LegacyThemeTints as Kf, ScrollContainer as Kg, ScheduleDocumentVersionEvent as Kh, UserSessionPair as Ki, CompactPreviewProps as Kl, ChangeListProps as Km, DateInput as Kn, isBooleanInputProps as Ko, getValueAtPath as Kp, PresenceOverlay as Kr, ObjectItemProps as Ks, DocumentFieldActionsResolverContext as Kt, ParseError as Ku, ActiveToolLayoutProps as Kv, DRAFTS_FOLDER as Kw, UserWithPermission as Kx, useColorSchemeSetValue as Ky, DocumentActionsVersionType as L, useChangeIndicatorsReporter as LC, GlobalCopyPasteElementHandler as LS, ErrorStatus as LT, StudioProviderProps as L_, InitialValueErrorMsg as La, CommentOperations as Lb, ReferenceInputOptionsProvider as Lc, TypeAnnotationMismatchError as Ld, EMPTY_ARRAY as Lf, isDev as Lg, DeleteDocumentGroupEvent as Lh, ProjectStore as Li, BlockImagePreview as Ll, DiffErrorBoundaryState as Lm, ObjectInput as Ln, unstable_useObserveDocument as Lo, PerspectiveProvider as Lp, FormFieldStatus as Lr, RenderBlockCallback as Ls, DocumentFieldActionDivider as Lt, DEFAULT_ANNOTATIONS as Lu, FormPatchOrigin as Lv, VersionChip as Lw, LocalesBundlesOption as Lx, SearchHeader as Ly, ConfigContext$1 as M, useClient as MC, useNumberFormat as MS, ConnectedStatus as MT, UpsellDialogLearnMoreCtaClicked as M_, ListenQueryOptions as Ma, CommentDocument as Mb, defaultRenderItem as Mc, FieldError as Md, globalScope as Mf, FeedbackDialog as Mg, EventsProvider as Mh, getProjectGrants as Mi, TemplatePreview as Ml, DiffFromTo as Mm, CreateButton as Mn, getPreviewValueWithFallback as Mo, EditScheduleForm as Mp, FormFieldValidationInfo as Mr, PrimitiveInputProps as Ms, defineDocumentInspector as Mt, ReleasesUpsellContextValue as Mu, FormInsertPatch as Mv, VersionInlineBadge as Mw, LocaleResourceBundle as Mx, SearchTerms as My, ConfigPropertyReducer as N, CommentDisabledIcon as NC, UseManageFavoriteProps as NS, ConnectingStatus as NT, UpsellDialogUpgradeCtaClicked as N_, ListenQueryParams as Na, CommentFieldCreatePayload as Nb, defaultRenderPreview as Nc, IncompatibleTypeError as Nd, getTargetDocument as Nf, FeedbackDialogProps as Ng, useEvents as Nh, ProjectData as Ni, TemplatePreviewProps as Nl, DiffFromToProps as Nm, CreateReferenceOption as Nn, getPreviewStateObservable as No, useSetPerspective as Np, FormFieldValidationWarning as Nr, StringInputProps as Ns, initialDocumentFieldActions as Nt, useDocumentVersionInfo as Nu, FormInsertPatchPosition as Nv, getVersionInlineBadge as Nw, LocaleResourceKey as Nx, compileFieldPath as Ny, BaseActionDescription as O, ConnectionState as OC, useReferringDocuments as OS, CommandListRenderItemCallback as OT, useWorkspace as O_, DocumentStore as Oa, CommentsProvider as Ob, defaultRenderBlock as Oc, PrimitiveFormNode as Od, isString as Of, Sentiment as Og, TypeChangeDiff$1 as Oh, useUserStore as Oi, RelativeTime as Ol, DiffString as Om, SlugInput as On, createBufferedDocument as Oo, DuplicateDocumentActionComponent as Op, FormInputAbsolutePathArg as Or, OnPathFocusPayload as Os, DocumentInspectorComponent as Ot, getReleaseIdFromReleaseDocumentId as Ou, PatchEvent as Ov, PreviewPath as Ow, LocaleConfigContext as Ox, getSearchableTypes as Oy, DefaultPluginsWorkspaceOptions as P, CommentDeleteDialog as PC, useManageFavorite as PS, ConnectionStatus as PT, UpsellDialogViewed as P_, listenQuery as Pa, CommentIntentGetter as Pb, EditReferenceLinkComponentProps as Pc, InvalidItemTypeError as Pd, getReferencePaths as Pf, useTelemetryConsent as Pg, BaseEvent as Ph, ProjectDatasetData as Pi, InlinePreview as Pl, FieldPreviewComponent as Pm, PortableTextInput as Pn, getPreviewPaths as Po, usePerspective as Pp, FormFieldValidationStatus as Pr, RenderAnnotationCallback as Ps, documentFieldActionsReducer as Pt, useArchivedReleases as Pu, FormPatch as Pv, ReleaseTitle as Pw, LocaleResourceRecord as Px, SearchResultItemPreview as Py, MissingConfigFile as Q, ChangeIndicatorProps as QC, useDocumentIdStack as QS, AuthState as QT, RequestErrorDialog as Q_, OperationsAPI as Qa, CommentsUIMode as Qb, createPatchChannel as Qc, isDraftVersion as Qd, IsLastPaneProvider as Qf, AutoCollapseMenu as Qg, isDeleteDocumentGroupEvent as Qh, KeyValueStoreValue as Qi, PreviewMediaDimensions as Ql, getAnnotationColor as Qm, ArrayOfPrimitivesFunctions as Qn, FormBuilderCustomMarkersComponent as Qo, pathToString as Qp, FieldPresenceWithOverlay as Qr, BlockStyleProps as Qs, toMutationPatches as Qt, getExpandOperations as Qu, StudioComponentsPluginOptions as Qv, createDraftFrom as Qw, useTools as Qx, AddonDatasetContextValue as Qy, DocumentAskToEditEnabledContext as R, ChangeIndicatorTrackerContextValue as RC, useGlobalCopyPasteElementHandler as RS, RetryingStatus as RT, NavbarContextValue as R_, InitialValueLoadingMsg as Ra, CommentPath as Rb, TemplateOption as Rc, UndeclaredMembersError as Rd, EMPTY_OBJECT as Rf, isProd as Rg, DeleteDocumentVersionEvent as Rh, PresenceStore as Ri, BlockImagePreviewProps as Rl, DiffCard as Rm, NumberInput as Rn, useUnstableObserveDocument as Ro, ReleasesNav as Rp, FormFieldSet as Rr, RenderFieldCallback as Rs, DocumentFieldActionGroup as Rt, DEFAULT_DECORATORS as Ru, FormSetIfMissingPatch as Rv, PerspectiveContextValue as Rw, LocalesOption as Rx, Filters as Ry, useMiddlewareComponents as S, RemoteSnapshotEvent as SC, useStudioUrl as SS, CommandListGetItemDisabledCallback as ST, WorkspaceLoaderBoundary as S_, useInitialValueResolverContext as Sa, CommentsSelectedPath as Sb, StudioCrossDatasetReferenceInputProps as Sc, NodeChronologyProps as Sd, CardinalityOneRelease as Sf, SendFeedbackOptions as Sg, ObjectDiff$1 as Sh, useGrantsStore as Si, StatusButton as Sl, FieldChange as Sm, TextInputProps as Sn, Pair as So, DocumentActionGroup as Sp, DivergencesProvider as Sr, EditorChange as Ss, ReleaseActionComponent as St, isPublishedPerspective as Su, BaseOptions as Sv, Id as Sw, defineLocalesResources as Sx, SearchValueFormatterContext as Sy, AssetSourceResolver as T, UseDateTimeFormatOptions as TC, RelativeTimeOptions as TS, CommandListHandle as TT, ErrorMessageProps as T_, useDocumentValues as Ta, CommentsIntentProvider as Tb, FormBuilder as Tc, ObjectArrayFormNode as Td, isPausedCardinalityOneRelease as Tf, BaseFeedbackTags as Tg, StringDiffSegment as Th, usePresenceStore as Ti, RovingFocusNavigationType as Tl, DiffTooltip as Tm, TagsArrayInput as Tn, checkoutPair as To, DocumentActionPopoverDialogProps as Tp, FormCell as Tr, NumberInputProps as Ts, ReleaseActionsContext as Tt, isReleasePerspective as Tu, DocumentMeta as Tv, ObserveDocumentTypeFromIdFn as Tw, LocaleProviderBase as Tx, defineSearchOperator as Ty, DocumentInspectorsResolver as U, useTrackerStore as UC, useFilteredReleases as US, getProviderTitle as UT, StudioAnnouncementsDialog as U_, remoteSnapshots as Ua, CommentStatus as Ub, useReportParseError as Uc, getDocumentIdForCanvasLink as Ud, defaultTheme as Uf, DocumentGroupInventoryAction as Ug, EventsStoreRevision as Uh, PresenceLocation as Ui, DefaultPreview as Ul, ChangeResolver as Um, getCalendarLabels as Un, isArrayOfBlocksInputProps as Uo, findIndex as Up, FormFieldProps as Ur, BaseItemProps as Us, DocumentFieldActionStatus as Ut, useDocumentLimitsUpsellContext as Uu, ToolLinkProps as Uv, TargetPerspective as Uw, Rule as Ux, useColorScheme as Uy, DocumentCommentsEnabledContext as V, TrackerContextGetSnapshot as VC, UseFormattedDurationOptions as VS, isAuthStore as VT, isValidAnnouncementAudience as V_, InitialValueSuccessMsg as Va, CommentReactionOption as Vb, useParseErrorForPath as Vc, ALL_FIELDS_GROUP as Vd, createHookFromObservableFactory as Vf, DocumentGroupInventoryPerspectiveList as Vg, EditDocumentVersionEvent as Vh, DocumentPresence as Vi, DetailPreview as Vl, ChangeTitleSegment as Vm, EmailInput as Vn, PreviewLoader as Vo, getSelectedVariant as Vp, FormFieldHeaderTextProps as Vr, RenderPreviewCallback as Vs, DocumentFieldActionNode as Vt, useSetVariant as Vu, PatchArg as Vv, ReleasesNavMenuItemPropsGetter as Vw, ValidationLocaleResourceKeys as Vx, ColorSchemeProvider as Vy, DocumentLanguageFilterComponent as W, useTrackerStoreReporter as WC, useFeatureEnabled as WS, MockAuthStoreOptions as WT, StudioAnnouncementsContextValue as W_, OperationError as Wa, CommentTaskCreatePayload as Wb, FormCallbacksProvider as Wc, useNavigateToCanvasDoc as Wd, buildLegacyTheme as Wf, ScrollContextValue as Wg, HistoryClearedEvent as Wh, Session as Wi, DefaultPreviewProps as Wl, ChangeResolverProps as Wm, DateTimeInput as Wn, isArrayOfObjectsInputProps as Wo, getItemKey as Wp, PresenceScope as Wr, ItemProps as Ws, DocumentFieldActionTone as Wt, DivergenceNavigator as Wu, StudioToolMenu as Wv, SystemVariant as Ww, UserListWithPermissionsHookValue as Wx, useColorSchemeInternalValue as Wy, GroupableActionDescription as X, ConnectorContextValue as XC, useDocumentOperation as XS, createAuthStore as XT, useSource as X_, OperationArgs as Xa, CommentsTextSelectionItem as Xb, PatchMsgSubscriber as Xc, measureFirstEmission as Xd, TasksNavigationContextValue as Xf, CollapseMenuButtonProps as Xg, isCreateDocumentVersionEvent as Xh, createKeyValueStore as Xi, PreviewComponent as Xl, DiffVisitor as Xm, UniversalArrayInput as Xn, isStringInputProps as Xo, normalizeKeySegment as Xp, FieldPresenceInnerProps as Xr, BlockListItemProps as Xs, MutationPatch as Xt, ExpandPathOperation as Xu, NavbarProps as Xv, VERSION_FOLDER as Xw, UseUnitFormatterOptions as Xx, StudioThemeColorSchemeKey as Xy, FormBuilderComponentResolverContext as Y, ChangeConnectorRootProps as YC, useDocumentOperationEvent as YS, _createAuthStore as YT, SourceProviderProps as Y_, Operation as Ya, CommentsListBreadcrumbItem as Yb, PatchMsg as Yc, isDocumentInSelectedVariant as Yd, TasksContextValue as Yf, CollapseMenuButton as Yg, UpdateLiveDocumentEvent as Yh, createUserStore as Yi, PortableTextPreviewLayoutKey as Yl, useDiffAnnotationColor as Ym, BooleanInput as Yn, isObjectItemProps as Yo, normalizeIndexTupleSegment as Yp, FieldPresenceInner as Yr, BlockDecoratorProps as Ys, encodePath as Yt, ExpandOperation as Yu, NavbarAction as Yv, SystemBundle as Yw, UnitFormatter as Yx, StudioTheme as Yy, MediaLibraryConfig as Z, ChangeIndicator as ZC, DocumentIdStack as ZS, AuthProbeResult as ZT, useStudioErrorHandler as Z_, OperationImpl as Za, CommentsType as Zb, RebasePatchMsg as Zc, measureFirstMatch as Zd, MentionUserContextValue as Zf, CommonProps as Zg, isCreateLiveDocumentEvent as Zh, KeyValueStore as Zi, PreviewLayoutKey as Zl, getAnnotationAtPath as Zm, ArrayOfPrimitivesInput as Zn, ArrayInputFunctionsProps as Zo, normalizePathSegment as Zp, FieldPresenceProps as Zr, BlockProps as Zs, fromMutationPatches as Zt, SetActiveGroupOperation as Zu, StudioComponents as Zv, collate as Zw, useUnitFormatter as Zx, useAddonDataset as Zy, createDefaultIcon as _, CommittedEvent as _C, EnhancedObjectDialog as _E, TemplateParameter as _S, DocumentVariantType as _T, CommentInputHandle as __, Grant as _a, CorsOriginErrorScreen as _b, UploaderDef as _c, BaseFormNode as _d, joinPath as _f, FeedbackContext as _g, FromToIndex as _h, useDocumentPresence as _i, ImperativeToast as _l, GroupChange as _m, ArrayOfObjectsInputMember as _n, DocumentRemoteMutationVersionEvent as _o, DocumentActionComponent as _p, GetFormValueProvider as _r, ArrayOfPrimitivesElementType as _s, Workspace as _t, CapabilityGate as _u, ManifestWorkspaceInput as _v, DocumentAvailability as _w, useGetI18nText as _x, SearchOperatorBase as _y, resolveSchemaTypes as a, LatencyReportEvent as aC, StudioErrorHandler as aE, isBuilder as aS, getVersionId as aT, useCommentsSelectedPath as a_, createGrantsStore as aa, ValidateWorkspaceOptions as ab, EnhancedObjectDialogContextValue as ac, FieldsetState as ad, ErrorState as af, isUpdateLiveDocumentEvent as ag, BooleanDiff$1 as ah, RegionWithIntersectionDetails as ai, set as al, isFieldChange as am, ObjectInputMemberProps as an, DocumentRevision as ao, useSingleDocRelease as ap, ArrayOfObjectsInput as ar, RenderCustomMarkers as as, PreparedConfig as at, LoadingBlock as au, classifyRequestError as av, useDocumentVersionTypeSortedList as aw, ValidateDocumentOptions as ax, useSearchState as ay, ConfigPropertyError as b, DocumentRemoteMutationEvent as bC, createSanityMediaLibraryImageSource as bE, SyncState as bS, CommandList as bT, CommentsUpsellContextValue as b_, useResolveInitialValueForType as ba, ActiveWorkspaceMatcherProps as bb, StudioReferenceInputProps as bc, DocumentFormNode as bd, _isType as bf, UseFeedbackReturn as bg, NullDiff$1 as bh, useDocumentPreviewStore as bi, TextWithTone as bl, FromTo as bm, UrlInputProps as bn, DocumentVersionEvent as bo, DocumentActionDescription as bp, FormValueProvider as br, BooleanInputProps as bs, WorkspaceOptions as bt, getDocumentIsInPerspective as bu, CopyPasteProvider as bv, DraftsModelDocumentAvailability as bw, defineLocale as bx, SearchOperatorInput as by, createWorkspaceFromConfig as c, getPairListener as cC, WorkspacesProvider as cE, resolveInitialValueForType as cS, isDraftId as cT, CommentsEnabledContextValue as c_, getDocumentValuePermissions as ca, validateWorkspaces as cb, StudioImageInput as cc, ArrayOfPrimitivesItemMember as cd, LoadingState as cf, UserColorManagerOptions as cg, Chunk as ch, DocumentPreviewPresence as ci, ZIndexProvider as cl, isUnchangedDiff as cm, MemberField as cn, createHistoryStore as co, SchedulesContext as cp, FormBuilderContextValue as cr, BaseFieldProps as cs, SanityFormConfig as ct, InsufficientPermissionsMessageProps as cu, isNetworkError as cv, isReleaseDocument as cw, TranslateComponentMap as cx, SearchFilterDefinition as cy, flattenConfig as d, PendingMutationsEvent as dC, AuthProvider as dE, prepareTemplates as dS, isSystemBundleName as dT, hasCommentMessageValue as d_, DocumentPermission as da, useVisibleWorkspaces as db, AssetSourcesResolver as dc, FieldMember as dd, sliceString as df, useUserColorManager as dg, DiffComponent as dh, useUser as di, AvatarSkeleton as dl, ValueError as dm, ArrayOfPrimitivesItem as dn, TimelineController as do, DocumentBadgeDescription as dp, useFieldActions as dr, FieldProps as ds, SingleWorkspace as dt, serializeError as du, parseRetryAfter as dv, DocumentPreviewStoreOptions as dw, usEnglishLocale as dx, SearchOperatorType as dy, editState$1 as eC, HandleCallbackResult as eE, useTimeAgo as eS, documentIdEquals as eT, CollapseMenuProps as e_, TemplatePermissionsResult as ea, useActiveWorkspace as eb, PortableTextPluginsProps as ec, UseFormStateOptions as ed, isReleaseVersion as ef, isEditDocumentVersionEvent as eg, visitDiff as eh, FormNodePresence as ei, dec as el, stringToPath as em, useDocumentForm as en, snapshotPair as eo, DEFAULT_STUDIO_CLIENT_OPTIONS as ep, ArrayOfOptionsInput as er, FormBuilderInputComponentMap as es, NewDocumentOptionsContext as et, PreviewCard as eu, createRequestErrorChannel as ev, sortReleases as ew, CommentsAuthoringPathContextValue as ex, StudioLogo as ey, PluginFactory as f, ReconnectEvent as fC, CookielessCompatibleLoginMethod as fE, InitialValueTemplateItem as fS, isVersionId as fT, isTextSelectionComment as f_, getDocumentPairPermissions as fa, VisibleWorkspacesContextValue as fb, FileLike as fc, FieldSetMember as fd, truncateString as ff, HexColor as fg, DiffComponentOptions as fh, ResourceCache as fi, UserAvatar as fl, RevertChangesConfirmDialog as fm, PrimitiveMemberItemProps as fn, TimelineControllerOptions as fo, DocumentBadgeProps as fp, FieldActionsProps as fr, NumberFieldProps as fs, Source as ft, useCopyErrorDetails as fu, renderStudio as fv, ObserveForPreviewFn as fw, UseTranslationOptions as fx, operatorDefinitions as fy, defineConfig as g, CommitFunction as gC, isAgentBundleName as gE, TemplateItem as gS, Chip as gT, CommentInput as g_, EvaluationParams as ga, WorkspaceLike as gb, Uploader as gc, ArrayOfPrimitivesFormNode as gd, fieldNeedsEscape as gf, UserId as gg, FieldOperationsAPI as gh, useGlobalPresence as gi, ZIndexContextValue as gl, MetaInfoProps as gm, ArrayOfObjectsInputMembersProps as gn, CombinedDocument as go, useScheduleAction as gp, FieldActionMenuProps as gr, ArrayOfObjectsInputProps as gs, Tool as gt, DocumentStatusIndicator as gu, generateStudioManifest as gv, AvailabilityResponse as gw, useLocale as gx, OperatorInputComponentProps as gy, createConfig as h, WelcomeEvent as hC, useAgentVersionDisplay as hE, TemplateFieldDefinition as hS, systemBundles as hT, CommentInputContextValue as h_, DocumentValuePermission as ha, getWorkspaceIdentifier as hb, UploadProgressEvent as hc, ArrayOfObjectsFormNode as hd, escapeField as hf, UserColorManager as hg, FieldChangeNode as hh, useResourceCache as hi, ZIndexContextValueKey as hl, MetaInfo as hm, ArrayOfObjectsInputMembers as hn, TimelineOptions as ho, HookCollectionActionHook as hp, FieldActionMenu as hr, StringFieldProps as hs, TemplateResolver as ht, ErrorActionsProps as hu, GenerateStudioManifestOptions as hv, AvailabilityReason as hw, useCurrentLocale as hx, OperatorButtonValueComponentProps as hy, SchemaError as i, InitialSnapshotEvent as iC, RequestErrorReportOptions as iE, Serializeable as iS, getVersionFromId as iT, useCommentsTelemetry as i_, GrantsStoreOptions as ia, WorkspacesContextValue as ib, UploadEvent as ic, FieldsetMembers as id, userHasRole as if, isUnscheduleDocumentVersionEvent as ig, ArrayItemMetadata as ih, Rect as ii, prefixPath as il, isAddedItemDiff as im, ObjectInputMember as in, useTimelineStore as io, SingleDocReleaseProvider as ip, useVirtualizerScrollInstance as ir, RenderBlockActionsProps as is, PluginOptions as it, PopoverDialog as iu, classifyConfigError as iv, useFormatRelativeLocalePublishDate as iw, useValidationStatus as ix, useSearchMaxFieldDepth as iy, Config as j, useConditionalToast as jC, UseNumberFormatOptions as jS, CONNECTING as jT, UpsellDialogDismissed as j_, createDocumentStore as ja, CommentCreatePayload as jb, defaultRenderInput as jc, DuplicateKeysError as jd, isArray as jf, StudioFeedbackDialogProps as jg, useEventsStore as jh, createProjectStore as ji, CircularProgress as jl, DiffInspectWrapperProps as jm, ReferenceAutocomplete as jn, prepareForPreview as jo, SchedulesContextValue as jp, FormFieldValidationError as jr, PrimitiveInputElementProps as js, DocumentInspectorUseMenuItemProps as jt, useReleasesIds as ju, FormIncPatch as jv, Selection as jw, LocalePluginOptions as jx, SearchSort as jy, BetaFeatures as k, connectionState as kC, useReconnectingToast as kS, BetaBadge as kT, InterpolationProp as k_, DocumentStoreOptions as ka, CommentBaseCreatePayload as kb, defaultRenderField as kc, StringFormNode as kd, isRecord as kf, TagValue as kg, FieldValueError as kh, useProjectDatasets as ki, RelativeTimeProps as kl, DiffStringSegment as km, SlugInputProps as kn, CommitRequest as ko, SanityDefinedAction as kp, FormInputRelativePathArg as kr, PasteData$1 as ks, DocumentInspectorMenuItem as kt, LATEST as ku, FormDecPatch as kv, Previewable as kw, LocaleDefinition as kx, SearchFactoryOptions as ky, resolveConfig as l, IdPair as lC, WorkspacesProviderProps as lE, defaultTemplateForType as lS, isPublishedId as lT, useComments as l_, useDocumentValuePermissions as la, useWorkspaces as lb, FileInputProps as lc, ArrayOfPrimitivesMember as ld, asLoadable as lf, createUserColorManager as lg, ChunkType as lh, DocumentPreviewPresenceProps as li, useZIndex as ll, noop as lm, MemberFieldProps as ln, removeMissingReferences as lo, ScheduledBadge as lp, useHoveredField as lr, BooleanFieldProps as ls, ScheduledPublishingPluginOptions as lt, Hotkeys as lu, isTimeoutError as lv, MetadataWrapper as lw, TranslationProps as lx, defineSearchFilter as ly, definePlugin as m, WelcomeBackEvent as mC, AgentVersionDisplay as mE, TemplateArrayFieldDefinition as mS, removeDupes as mT, CommentInlineHighlightSpan as m_, useDocumentPairPermissionsFromHookFactory as ma, getNamelessWorkspaceIdentifier as mb, UploadOptions as mc, ObjectMember as md, supportsTouch as mf, UserColorHue as mg, DiffProps as mh, ResourceCacheProviderProps as mi, LegacyLayerProvider as ml, NoChanges as mm, MemberItemProps as mn, Timeline as mo, GetHookCollectionStateProps as mp, FieldActionsProvider as mr, PrimitiveFieldProps as ms, SourceOptions as mt, ErrorActions as mu, LiveManifestRegisterProvider as mv, ApiConfig as mw, useTranslation as mx, I18nSearchOperatorNameKey as my, getConfigContextFromSource as n, DocumentRebaseTelemetryEvent as nC, RequestErrorChannel as nE, DEFAULT_MAX_RECURSION_DEPTH as nS, getIdPair as nT, buildRangeDecorationSelectionsFromComments as n_, useTemplatePermissions as na, MatchWorkspaceResult as nb, ArrayInputInsertEvent as nc, setAtPath as nd, useUnique as nf, isScheduleDocumentVersionEvent as ng, AnnotationDetails as nh, Position as ni, inc as nl, useDocumentChange as nm, ObjectMembers as nn, TimelineState as no, useScheduledDraftDocument as np, VirtualizerScrollInstanceProvider as nr, PortableTextMarker as ns, PartialContext as nt, ReferenceInputPreviewCard as nu, ConfigErrorClassification as nv, useOnlyHasVersions as nw, useWorkspaceSchemaId as nx, SearchButton as ny, CreateWorkspaceFromConfigOptions as o, ListenerEvent as oC, CorsCheckResult as oE, resolveInitialObjectValue as oS, idMatchesPerspective as oT, CommentsOnboardingContextValue as o_, grantsPermissionOn as oa, validateBasePaths as ob, useEnhancedObjectDialog as oc, ArrayOfObjectsItemMember as od, LoadableState as of, UserColorManagerProvider as og, ChangeNode as oh, ReportedRegionWithRect as oi, setIfMissing as ol, isGroupChange as om, MemberFieldSet as on, HistoryStore as oo, getSchemaTypeTitle as op, ArrayOfObjectsFunctions as or, ArrayFieldProps as os, ReleaseActionsResolver as ot, IntentButton as ou, getApiErrorCode as ov, useDocumentVersions as ow, validateDocument as ox, SearchProvider as oy, createPlugin as p, ResetEvent as pC, LoginMethod as pE, Template as pS, newDraftFrom as pT, COMMENTS_INSPECTOR_NAME as p_, useDocumentPairPermissions as pa, VisibleWorkspacesProvider as pb, ResolvedUploader as pc, FieldsetRenderMembersCallback as pd, uncaughtErrorHandler as pf, UserColor as pg, DiffComponentResolver as ph, ResourceCacheProvider as pi, UserAvatarProps as pl, RevertChangesButton as pm, ArrayOfObjectsItem as pn, ParsedTimeRef as po, GetHookCollectionState as pp, FieldActionsResolver as pr, ObjectFieldProps as ps, SourceClientOptions as pt, ErrorWithId as pu, uploadSchema as pv, createDocumentPreviewStore as pw, UseTranslationResponse as px, I18nSearchOperatorDescriptionKey as py, DocumentLayoutProps as q, ReporterHook as qC, deriveDocumentSyncState as qS, CreateAuthStoreOptions as qT, StudioProps as q_, operationEvents as qa, CommentUpdateOperationOptions as qb, MutationPatchMsg as qc, getVariantTitle as qd, useDocumentPreviewValues as qf, ScrollContainerProps as qg, UnpublishDocumentEvent as qh, UserStore as qi, GeneralDocumentListLayoutKey as ql, ChangeBreadcrumb as qm, DateInputProps as qn, isNumberInputProps as qo, isEmptyObject as qp, PresenceOverlayProps as qr, PrimitiveItemProps as qs, TransformPatches as qt, mergeParseErrors as qu, LayoutProps as qv, DraftId as qw, useUserListWithPermissions as qx, useColorSchemeValue as qy, useConfigContextFromSource as r, DocumentStoreExtraOptions as rC, RequestErrorClaim as rE, RESOLVE_INITIAL_VALUE_TIMEOUT_MS as rS, getPublishedId as rT, buildCommentRangeDecorations as r_, useTemplatePermissionsFromHookFactory as ra, matchWorkspace as rb, ArrayInputMoveItemEvent as rc, StateTree as rd, useThrottledCallback as rf, isUnpublishDocumentEvent as rg, ArrayDiff$1 as rh, PresentUser as ri, insert as rl, emptyValuesByType as rm, ObjectMembersProps as rn, TimelineStore as ro, usePausedScheduledDraft as rp, VirtualizerScrollInstance as rr, RenderBlockActionsCallback as rs, Plugin as rt, usePreviewCard as ru, RequestErrorClassification as rv, useIsReleaseActive as rw, useVersionRelease as rx, PartialIndexSettings as ry, createSourceFromConfig as s, MutationPerformanceEvent as sC, CorsProbeOutcome as sE, resolveInitialValue as sS, isDraft as sT, useCommentsEnabled as s_, DocumentValuePermissionsOptions as sa, validateNames as sb, ImageInputProps as sc, ArrayOfObjectsMember as sd, LoadedState as sf, UserColorManagerProviderProps as sg, ChangeTitlePath as sh, Size as si, unset as sl, isRemovedItemDiff as sm, MemberFieldError as sn, HistoryStoreOptions as so, createSchema as sp, useDidUpdate as sr, ArrayOfPrimitivesFieldProps as ss, ResolveProductionUrlContext as st, InsufficientPermissionsMessage as su, isClientRequestError as sv, VersionInfoDocumentStub as sw, Translate as sx, SearchContextValue as sy, ActiveWorkspaceMatcherContextValue as t, DocumentPairLoadedEvent as tC, LoginComponentProps as tE, useTemplates as tS, getDraftId as tT, buildTextSelectionFromFragment as t_, getTemplatePermissions as ta, MatchWorkspaceOptions as tb, ArrayInputCopyEvent as tc, useFormState as td, isVariantVersion as tf, isPublishDocumentVersionEvent as tg, Annotation as th, Location as ti, diffMatchPatch as tl, resolveDiffComponent as tm, ObjectInputMembers as tn, useTimelineSelector as to, useScheduledDraftsEnabled as tp, ArrayOfObjectOptionsInput as tr, FormBuilderMarkersComponent as ts, NewDocumentOptionsResolver as tt, PreviewCardContextValue as tu, passthroughErrorHandler as tv, useVersionOperations as tw, CommentsAuthoringPathProvider as tx, SearchDialog as ty, prepareConfig as u, MutationEvent as uC, AuthConfig as uE, defaultTemplatesForSchema as uS, isSystemBundle as uT, CommentsContextValue as u_, DocumentPairPermissionsOptions as ua, evaluateWorkspaceHidden as ub, StudioFileInput as uc, DecorationMember as ud, useLoadable as uf, useUserColor as ug, Diff$1 as uh, useCurrentUser as ui, WithReferringDocuments as ul, DocumentChangeContextInstance as um, MemberItemError as un, SelectionState as uo, DocumentBadgeComponent as up, HoveredFieldProvider as ur, FieldCommentsProps as us, SchemaPluginOptions as ut, HotkeysProps$1 as uu, isUnauthorizedError as uv, DocumentPreviewStore as uw, defaultLocale as ux, defineSearchFilterOperators as uy, ConfigResolutionError as v, DocumentMutationEvent as vC, EditPortal as vE, TemplateReferenceTarget as vS, getDocumentVariantType as vT, CommentInputProps as v_, GrantsStore as va, ConfigErrorGate as vb, UploaderResolver as vc, BooleanFormNode as vd, _isCustomDocumentTypeDefinition as vf, FeedbackContextValue as vg, GroupChangeNode as vh, useComlinkStore as vi, ToastParams$1 as vl, FromToArrow as vm, ArrayOfObjectsMemberProps as vn, Transaction as vo, DocumentActionConfirmDialogProps as vp, useGetFormValue as vr, ArrayOfPrimitivesInputProps as vs, WorkspaceHiddenContext as vt, DocumentStatus as vu, StudioManifest as vv, DocumentStackAvailability as vw, I18nNode as vx, SearchOperatorBuilder as vy, AppsOptions as w, useDialogStack as wC, useReviewChanges as wS, CommandListGetItemSelectedCallback as wT, ErrorMessage as w_, isNewDocument as wa, CommentsSelectedPathProvider as wb, FormProviderProps as wc, NumberFormNode as wd, isCardinalityOneRelease as wf, useInStudioFeedback as wg, StringDiff$1 as wh, useKeyValueStore as wi, useRovingFocus as wl, Event$1 as wm, TelephoneInputProps as wn, WithVersion as wo, DocumentActionModalDialogProps as wp, FormContainer as wr, InputProps as ws, ReleaseActionProps as wt, RELEASES_STUDIO_CLIENT_OPTIONS as wu, CopyPasteContextType as wv, ObserveDocumentAvailabilityFn as ww, LocaleProvider as wx, ValuelessSearchOperatorParams as wy, ConfigPropertyErrorOptions as x, MutationPayload as xC, useSyncState as xS, CommandListElementType as xT, UpsellData as x_, useInitialValue as xa, RouterHistory as xb, StudioCrossDatasetReferenceInput as xc, HiddenField as xd, createSWR as xf, useFeedback as xg, NumberDiff$1 as xh, useDocumentStore as xi, TextWithToneProps as xl, FromToProps as xm, TextInput as xn, MutationResult as xo, DocumentActionDialogProps as xp, useFormValue as xr, ComplexElementProps as xs, WorkspaceSummary as xt, isDraftPerspective as xu, useCopyPaste as xv, FieldName as xw, defineLocaleResourceBundle as xx, SearchOperatorParams as xy, ConfigResolutionErrorOptions as y, DocumentRebaseEvent as yC, createSanityMediaLibraryFileSource as yE, TypeTarget as yS, ContextMenuButton as yT, CommentsList as y_, PermissionCheckResult as ya, ActiveWorkspaceMatcher as yb, StudioReferenceInput as yc, ComputeDiff as yd, _isSanityDocumentTypeDefinition as yf, useStudioFeedbackTags as yg, ItemDiff$1 as yh, useConnectionStatusStore as yi, TooltipOfDisabled as yl, FromToArrowDirection as ym, UrlInput as yn, DocumentVersion as yo, DocumentActionCustomDialogComponentProps as yp, FormValueContextValue as yr, BaseInputProps as ys, WorkspaceHiddenProperty as yt, formatRelativeLocalePublishDate as yu, StudioWorkspaceManifest as yv, DraftsModelDocument as yw, useI18nText as yx, SearchOperatorButtonValue as yy, DocumentBadgesContext as z, TrackedArea as zC, FormDocumentValue as zS, createConnectionStatusStore as zT, StudioLayout as z_, InitialValueMsg as za, CommentPostPayload as zb, useReferenceInputOptions as zc, FormFieldGroup as zd, LoadingTuple as zf, DocumentGroupInventory as zg, DocumentGroupEvent as zh, SESSION_ID as zi, MediaPreview as zl, DiffCardProps as zm, AssetAccessPolicy as zn, SanityDefaultPreview as zo, PerspectiveNotWriteableReason as zp, FormFieldSetProps as zr, RenderInputCallback as zs, DocumentFieldActionHook as zt, ReleaseDocument$1 as zu, FormSetPatch as zv, PerspectiveStack as zw, StaticLocaleResourceBundle as zx, ColorSchemeCustomProvider as zy };
|