@sanity/sdk 3.16.0-next.20261120215917 → 3.16.0-next.20261121142425

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.
@@ -1,8 +1,8 @@
1
1
  import { m as SanityConfig, s as DocumentResource, t as SanityInstance } from "../createSanityInstance-C1wD7RmA.js";
2
2
  import { n as StateSource, r as BoundStoreAction } from "../createStateSourceAction-Cb7ZjAd8.js";
3
- import { Ba as CursorPage, Bi as parseCommentsOptionsKey, Ga as MutationResult, Ha as FetcherDefinition, J as parseQueryKey, Ja as defineFetcher, K as getQueryKey, Ka as PagedFetcher, Mr as getTopicState, Nr as resolveTopic, Oi as createLogger, Ot as GetUsersOptions, Ra as CacheTag, Rr as ApplicationStatus, Ua as FetcherSnapshot, Va as Fetcher, Wa as MutationDefinition, Xa as definePagedFetcher, Ya as defineMutation, ct as PreviewQueryResult, dn as FavoriteDocumentContext, fa as getSignInMethodLabel, fn as FavoriteStatusResponse, la as ProjectAccessErrorDetails, lt as PreviewValue, pn as SetFavoriteInput, qa as PagedFetcherDefinition, r as ApplicationBase, ua as getProjectAccessErrorDetails, za as CacheWriter, zi as getCommentsOptionsKey, zr as ApplicationStatusUpdate } from "../applications-D84Jz932.js";
3
+ import { Ba as CursorPage, Bi as parseCommentsOptionsKey, Ga as MutationResult, Ha as FetcherDefinition, J as parseQueryKey, Ja as defineFetcher, K as getQueryKey, Ka as PagedFetcher, Mr as getTopicState, Nr as resolveTopic, Oi as createLogger, Ot as GetUsersOptions, Ra as CacheTag, Rr as ApplicationStatus, Ua as FetcherSnapshot, Va as Fetcher, Wa as MutationDefinition, Xa as definePagedFetcher, Ya as defineMutation, ct as PreviewQueryResult, dn as FavoriteDocumentContext, fa as getSignInMethodLabel, fn as FavoriteStatusResponse, la as ProjectAccessErrorDetails, lt as PreviewValue, pn as SetFavoriteInput, qa as PagedFetcherDefinition, r as ApplicationBase, ua as getProjectAccessErrorDetails, za as CacheWriter, zi as getCommentsOptionsKey, zr as ApplicationStatusUpdate } from "../applications-5GyYYmHa.js";
4
4
  import { c as parseCommentsQueryOptionsKey, l as parseDocumentCommentsOptionsKey, o as getCommentsQueryOptionsKey, s as getDocumentCommentsOptionsKey } from "../commentsOptions-ChZhk8mb.js";
5
- import { b as resetMessageBus, n as InstallMessageBusOptions, o as MessageBusConnection, s as MessageBusEmitOptions, x as workerMessages, y as installMessageBus } from "../bus-CdYznZ0s.js";
5
+ import { b as resetMessageBus, n as InstallMessageBusOptions, o as MessageBusConnection, s as MessageBusEmitOptions, x as workerMessages, y as installMessageBus } from "../bus-6Dpjo6Ws.js";
6
6
  import { Auth, ClientError, SanityClient } from "@sanity/client";
7
7
  import { Observable } from "rxjs";
8
8
  import { CurrentUser } from "@sanity/types";
@@ -5,7 +5,7 @@ import { a as getDashboardMessageBus, c as MessageBusError, d as resetMessageBus
5
5
  import { i as pickProperties, n as isObject, t as isDeepEqual } from "../object-CxXlSVg7.js";
6
6
  import { n as getClient } from "../clientStore-C7pmeImZ.js";
7
7
  import { i as definePagedFetcher, n as defineFetcher, r as defineMutation, t as toCommentFieldPath } from "../types-Dh0DRiM0.js";
8
- import { C as favoriteScope, E as toFavoriteDocument, K as getSignInMethodLabel, W as getProjectAccessErrorDetails, a as parseQueryKey, f as getUsersKey, m as parseUsersKey, n as version, r as getQueryKey, t as CORE_SDK_VERSION, x as PreferenceError, z as ActionError } from "../version-DiguiotP.js";
8
+ import { C as favoriteScope, E as toFavoriteDocument, K as getSignInMethodLabel, W as getProjectAccessErrorDetails, a as parseQueryKey, f as getUsersKey, m as parseUsersKey, n as version, r as getQueryKey, t as CORE_SDK_VERSION, x as PreferenceError, z as ActionError } from "../version-i7K6-rjw.js";
9
9
  import { ClientError, ConnectionFailedError, ServerError, isTimeoutError } from "@sanity/client";
10
10
  import { EMPTY, catchError, defer, distinctUntilChanged, map, merge } from "rxjs";
11
11
  import "@sanity/types";
@@ -1,3 +1,3 @@
1
- import { $r as ReplyOf, Ar as TopicError, Br as Capability, Fr as ApplicationConfig, Gr as EventTopicDef, Hr as DashboardTopics, Ir as ApplicationConfigAppType, Kr as FavoriteDocument, Lr as ApplicationContext, Pr as ApplicationActivity, Qr as RemoteModuleRef, Ur as DocumentActivity, Vr as CapabilityRecord, Wr as EventTopic, Xr as NavigationTarget, Yr as NavigationLocation, Zr as PayloadOf, ai as ValueOf, ei as StateTopic, ii as Topics, kr as TopicData, ni as TopicName, oi as capabilities, qr as LocalApplication, ri as TopicResult, ti as StateTopicDef } from "../applications-D84Jz932.js";
2
- import { _ as WebWorkerProps, a as MessageBusClient, c as MessageBusEmitResult, d as MessageBusErrorDetails, f as MessageBusHost, g as MessageBusStateSource, h as MessageBusQueryOptions, i as MessageBusAbortOptions, l as MessageBusError, m as MessageBusMeta, o as MessageBusConnection, p as MessageBusMessage, r as MessageBus, s as MessageBusEmitOptions, t as ConnectMessageBusOptions, u as MessageBusErrorCode, v as connectMessageBus } from "../bus-CdYznZ0s.js";
1
+ import { $r as ReplyOf, Ar as TopicError, Br as Capability, Fr as ApplicationConfig, Gr as EventTopicDef, Hr as DashboardTopics, Ir as ApplicationConfigAppType, Kr as FavoriteDocument, Lr as ApplicationContext, Pr as ApplicationActivity, Qr as RemoteModuleRef, Ur as DocumentActivity, Vr as CapabilityRecord, Wr as EventTopic, Xr as NavigationTarget, Yr as NavigationLocation, Zr as PayloadOf, ai as ValueOf, ei as StateTopic, ii as Topics, kr as TopicData, ni as TopicName, oi as capabilities, qr as LocalApplication, ri as TopicResult, ti as StateTopicDef } from "../applications-5GyYYmHa.js";
2
+ import { _ as WebWorkerProps, a as MessageBusClient, c as MessageBusEmitResult, d as MessageBusErrorDetails, f as MessageBusHost, g as MessageBusStateSource, h as MessageBusQueryOptions, i as MessageBusAbortOptions, l as MessageBusError, m as MessageBusMeta, o as MessageBusConnection, p as MessageBusMessage, r as MessageBus, s as MessageBusEmitOptions, t as ConnectMessageBusOptions, u as MessageBusErrorCode, v as connectMessageBus } from "../bus-6Dpjo6Ws.js";
3
3
  export { type ApplicationActivity, type ApplicationConfig, type ApplicationConfigAppType, type ApplicationContext, type Capability, type CapabilityRecord, type ConnectMessageBusOptions, type DashboardTopics, type DocumentActivity, type EventTopic, type EventTopicDef, type FavoriteDocument, type LocalApplication, type MessageBus, type MessageBusAbortOptions, type MessageBusClient, type MessageBusConnection, type MessageBusEmitOptions, type MessageBusEmitResult, MessageBusError, type MessageBusErrorCode, type MessageBusErrorDetails, type MessageBusHost, type MessageBusMessage, type MessageBusMeta, type MessageBusQueryOptions, type MessageBusStateSource, type NavigationLocation, type NavigationTarget, type PayloadOf, type RemoteModuleRef, type ReplyOf, type StateTopic, type StateTopicDef, type TopicData, TopicError, type TopicName, type TopicResult, type Topics, type ValueOf, type WebWorkerProps, capabilities, connectMessageBus };
@@ -1431,6 +1431,78 @@ declare function createLogger(namespace: string, baseContext?: LogContext): Logg
1431
1431
  * @public
1432
1432
  */
1433
1433
  declare function configureLogging(config: LoggerConfig): void;
1434
+ /** @public */
1435
+ interface OrganizationMember {
1436
+ sanityUserId: string;
1437
+ isCurrentUser: boolean;
1438
+ user: {
1439
+ id: string;
1440
+ displayName: string;
1441
+ familyName: string;
1442
+ givenName: string;
1443
+ middleName: string | null;
1444
+ imageUrl: string | null;
1445
+ email: string;
1446
+ loginProvider: string;
1447
+ };
1448
+ roles: Array<{
1449
+ name: string;
1450
+ title: string;
1451
+ description?: string;
1452
+ }>;
1453
+ }
1454
+ /**
1455
+ * The base fields returned from `/organizations/<id>` for every organization.
1456
+ * @public
1457
+ */
1458
+ interface OrganizationBase {
1459
+ id: string;
1460
+ name: string;
1461
+ slug: string | null;
1462
+ /** Bare CDN URL of the logo; append image-pipeline params (`?w=&h=&fit=crop&auto=format`) for display. */
1463
+ logoUrl: string | null;
1464
+ createdAt: string;
1465
+ createdByUserId: string;
1466
+ updatedAt: string;
1467
+ deletedAt: string | null;
1468
+ dashboardStatus: 'enabled' | 'disabled';
1469
+ aiFeaturesStatus: 'enabled' | 'disabled';
1470
+ mediaLibraryStatus: 'enabled' | 'disabled';
1471
+ requestAccessStatus: 'allowed' | 'disabled';
1472
+ telemetryConsentStatus: 'allowed' | 'msa_denied' | 'customer_denied';
1473
+ oauthAppsStatus: 'allowed' | 'blocked';
1474
+ defaultRoleName: string;
1475
+ domains: string[] | null;
1476
+ }
1477
+ /** @public */
1478
+ interface OrganizationOptions<IncludeMembers extends boolean = false, IncludeFeatures extends boolean = false> {
1479
+ includeMembers?: IncludeMembers;
1480
+ includeFeatures?: IncludeFeatures;
1481
+ organizationId: string;
1482
+ }
1483
+ /**
1484
+ * An `Organization` with `members` and/or `features` conditionally included
1485
+ * based on the query options used to fetch it.
1486
+ * @public
1487
+ */
1488
+ type Organization<IncludeMembers extends boolean = false, IncludeFeatures extends boolean = false> = OrganizationBase & (boolean extends IncludeMembers ? {
1489
+ members?: OrganizationMember[];
1490
+ } : IncludeMembers extends true ? {
1491
+ members: OrganizationMember[];
1492
+ } : unknown) & (boolean extends IncludeFeatures ? {
1493
+ features?: string[];
1494
+ } : IncludeFeatures extends true ? {
1495
+ features: string[];
1496
+ } : unknown);
1497
+ /**
1498
+ * Fetcher for a single organization (`GET /organizations/:id`), on the shared
1499
+ * fetcher cache. No pre-seeding from the organizations list: it returns a
1500
+ * subset of the detail fields, and a partial seed would serve as fresh for
1501
+ * the whole stale window.
1502
+ *
1503
+ * @internal
1504
+ */
1505
+ declare const organization: Fetcher<[options?: OrganizationOptions<boolean, boolean> | undefined], Organization<boolean, boolean>>;
1434
1506
  /**
1435
1507
  * A response field that the API embeds only when its `include` token was
1436
1508
  * requested. Given the full set of tokens `All`, the token `Key` this field
@@ -1463,7 +1535,7 @@ type IncludesAny<Requested extends string, Set extends string> = [Requested & Se
1463
1535
  * @see https://www.sanity.io/docs/http-reference/applications-api
1464
1536
  * @public
1465
1537
  */
1466
- type InstallationInclude = 'activeConfig' | 'access' | 'interfaces' | 'config.mfManifest';
1538
+ type InstallationInclude = 'activeConfig' | 'access' | 'interfaces' | 'config.mfManifest' | 'organization';
1467
1539
  /**
1468
1540
  * A resource an installation accesses, embedded when `access` is included.
1469
1541
  *
@@ -1515,19 +1587,27 @@ interface InstallationBase {
1515
1587
  icon: string | null;
1516
1588
  /** The singleton's publishing organization; the top-level `organizationId` is the installing one. */
1517
1589
  organizationId: string;
1590
+ /** When the singleton's application record last changed, including deploys. */
1591
+ updatedAt: string;
1518
1592
  };
1519
1593
  }
1520
1594
  /**
1521
1595
  * An active singleton installation as returned by the Installations API
1522
1596
  * (`/installations`). `activeConfig`, `access` and `interfaces` are top-level
1523
- * fields, each present only when the matching {@link InstallationInclude} token
1524
- * was requested.
1597
+ * fields, and `organization` a field of `application`, each present only when
1598
+ * the matching {@link InstallationInclude} token was requested.
1525
1599
  *
1526
1600
  * @see https://www.sanity.io/docs/http-reference/applications-api
1527
1601
  * @public
1528
1602
  */
1529
1603
  type Installation<Include extends InstallationInclude = never> = InstallationBase & Included<InstallationInclude, 'config.mfManifest', Include, {
1530
1604
  application: InstallationBase['application'] & ([InstallationInclude] extends [Include] ? Partial<Pick<Application<'config.mfManifest'>, 'config'>> : Pick<Application<'config.mfManifest'>, 'config'>);
1605
+ }> & Included<InstallationInclude, 'organization', Include, {
1606
+ application: InstallationBase['application'] & ([InstallationInclude] extends [Include] ? {
1607
+ organization?: Pick<OrganizationBase, 'logoUrl'>;
1608
+ } : {
1609
+ organization: Pick<OrganizationBase, 'logoUrl'>;
1610
+ });
1531
1611
  }> & Included<InstallationInclude, 'activeConfig', Include, {
1532
1612
  activeConfig: InstallationActiveConfig | null;
1533
1613
  }> & Included<InstallationInclude, 'access', Include, {
@@ -1581,78 +1661,6 @@ declare const installations: PagedFetcher<[options: InstallationsOptions<Install
1581
1661
  declare const installation: Fetcher<[installationId: string, options?: {
1582
1662
  include?: InstallationInclude[];
1583
1663
  } | undefined], Installation<InstallationInclude>>;
1584
- /** @public */
1585
- interface OrganizationMember {
1586
- sanityUserId: string;
1587
- isCurrentUser: boolean;
1588
- user: {
1589
- id: string;
1590
- displayName: string;
1591
- familyName: string;
1592
- givenName: string;
1593
- middleName: string | null;
1594
- imageUrl: string | null;
1595
- email: string;
1596
- loginProvider: string;
1597
- };
1598
- roles: Array<{
1599
- name: string;
1600
- title: string;
1601
- description?: string;
1602
- }>;
1603
- }
1604
- /**
1605
- * The base fields returned from `/organizations/<id>` for every organization.
1606
- * @public
1607
- */
1608
- interface OrganizationBase {
1609
- id: string;
1610
- name: string;
1611
- slug: string | null;
1612
- /** Bare CDN URL of the logo; append image-pipeline params (`?w=&h=&fit=crop&auto=format`) for display. */
1613
- logoUrl: string | null;
1614
- createdAt: string;
1615
- createdByUserId: string;
1616
- updatedAt: string;
1617
- deletedAt: string | null;
1618
- dashboardStatus: 'enabled' | 'disabled';
1619
- aiFeaturesStatus: 'enabled' | 'disabled';
1620
- mediaLibraryStatus: 'enabled' | 'disabled';
1621
- requestAccessStatus: 'allowed' | 'disabled';
1622
- telemetryConsentStatus: 'allowed' | 'msa_denied' | 'customer_denied';
1623
- oauthAppsStatus: 'allowed' | 'blocked';
1624
- defaultRoleName: string;
1625
- domains: string[] | null;
1626
- }
1627
- /** @public */
1628
- interface OrganizationOptions<IncludeMembers extends boolean = false, IncludeFeatures extends boolean = false> {
1629
- includeMembers?: IncludeMembers;
1630
- includeFeatures?: IncludeFeatures;
1631
- organizationId: string;
1632
- }
1633
- /**
1634
- * An `Organization` with `members` and/or `features` conditionally included
1635
- * based on the query options used to fetch it.
1636
- * @public
1637
- */
1638
- type Organization<IncludeMembers extends boolean = false, IncludeFeatures extends boolean = false> = OrganizationBase & (boolean extends IncludeMembers ? {
1639
- members?: OrganizationMember[];
1640
- } : IncludeMembers extends true ? {
1641
- members: OrganizationMember[];
1642
- } : unknown) & (boolean extends IncludeFeatures ? {
1643
- features?: string[];
1644
- } : IncludeFeatures extends true ? {
1645
- features: string[];
1646
- } : unknown);
1647
- /**
1648
- * Fetcher for a single organization (`GET /organizations/:id`), on the shared
1649
- * fetcher cache. No pre-seeding from the organizations list: it returns a
1650
- * subset of the detail fields, and a partial seed would serve as fresh for
1651
- * the whole stale window.
1652
- *
1653
- * @internal
1654
- */
1655
- declare const organization: Fetcher<[options?: OrganizationOptions<boolean, boolean> | undefined], Organization<boolean, boolean>>;
1656
1664
  /**
1657
1665
  * Identifies a module federation expose and the manifest that serves it.
1658
1666
  * @public
@@ -4967,5 +4975,5 @@ interface DeleteApplicationInput {
4967
4975
  * @internal
4968
4976
  */
4969
4977
  declare const deleteApplication: (instance: SanityInstance, input: DeleteApplicationInput) => Promise<MutationResult<DeletedResult>>;
4970
- export { getProjectionState as $, CommentMessage as $i, DiscardDocumentAction as $n, ReplyOf as $r, PreferenceLevelsOf as $t, stringifyPath$1 as A, getIsInDashboardState as Aa, createDocumentHandle as Ai, TransactionAcceptedEvent as An, TopicError as Ar, ResolveUserOptions as At, defineProjection as B, CursorPage as Ba, parseCommentsOptionsKey as Bi, DocumentPermissionsResult as Bn, Capability as Br, updateUserPreferenceListItem as Bt, SanityDocument$3 as C, AuthStoreState as Ca, LogContext as Ci, DocumentDiscardedEvent as Cn, unpublishDocument as Cr, RollCallEvent as Ct, joinPaths as D, LoggingInAuthState as Da, LoggerConfig as Di, DocumentRemotePatchesEvent as Dn, ResolveQueryResult as Dr, GetUserOptions as Dt, getPathDepth as E, LoggedOutAuthState as Ea, Logger as Ei, DocumentPublishedEvent as En, ResolveProjectionResult as Er, UserPresence as Et, getUsersState as F, AuthStateType as Fa, resolveCommentThreads as Fi, getDocumentSyncStatus as Fn, ApplicationConfig$1 as Fr, UsersGroupState as Ft, QueryOptions as G, MutationResult as Ga, UpdateCommentOptions as Gi, processMutations as Gn, EventTopicDef as Gr, UserPreferenceOrganizationOptions as Gt, ReleaseState as H, FetcherDefinition as Ha, RemoveCommentOptions as Hi, DocumentSet as Hn, DashboardTopics as Hr, UpdateUserPreferenceInput as Ht, loadMoreUsers as I, AccessResourceType as Ia, resolveComments as Ii, getPermissionsState as In, ApplicationConfigAppType as Ir, UsersStoreState as It, parseQueryKey as J, defineFetcher as Ja, replyToComment as Ji, ArchiveReleaseAction as Jn, MessageBusTopics as Jr, updateUserPreference as Jt, getQueryKey as K, PagedFetcher as Ka, createComment as Ki, JsonMatch as Kn, FavoriteDocument as Kr, UserPreferenceProjectOptions as Kt, resolveUser as L, checkPermissions as La, CommentsOptions as Li, resolveDocument as Ln, ApplicationContext as Lr, UpdateUserPreferenceListItemInput as Lt, isImportError as M, getTokenState as Ma, createProjectHandle as Mi, TransactionSubmissionFailedEvent as Mn, getTopicState as Mr, SanityUser as Mt, getCorsErrorProjectId as N, setAuthToken as Na, getCommentThreadsState as Ni, DocumentOptions as Nn, resolveTopic as Nr, SanityUserResponse as Nt, jsonMatch$1 as O, getAuthState as Oa, createLogger as Oi, DocumentTransactionSubmissionResult as On, datasets as Or, GetUsersOptions as Ot, getUserState as P, OAuthTokens as Pa, getCommentsState as Pi, getDocumentState as Pn, ApplicationActivity as Pr, UserProfile as Pt, resolveProjection as Q, CommentLocalState as Qi, DeleteReleaseAction as Qn, RemoteModuleRef as Qr, PreferenceKey as Qt, resolveUsers as R, CacheTag as Ra, ResolveCommentsOptions as Ri, resolvePermissions as Rn, ApplicationStatus as Rr, UserPreferenceListItem as Rt, Role as S, AuthState as Sa, InstanceContext as Si, DocumentDeletedEvent as Sn, unarchiveRelease as Sr, ReportPresenceOptions as St, getIndexForKey$1 as T, LoggedInAuthState as Ta, LogNamespace as Ti, DocumentEvent as Tn, ResolveDocument as Tr, TransportEvent as Tt, getActiveReleasesState as U, FetcherSnapshot as Ua, ReplyToCommentOptions as Ui, ProcessMutationsOptions as Un, DocumentActivity as Ur, UserPreference as Ut, getPerspectiveState as V, Fetcher as Va, CreateCommentOptions as Vi, PermissionDeniedReason as Vn, CapabilityRecord as Vr, userPreferenceList as Vt, getAllReleasesState as W, MutationDefinition as Wa, SetCommentStatusOptions as Wi, patchOperations as Wn, EventTopic as Wr, UserPreferenceOptions as Wt, ProjectsOptions as X, definePagedFetcher as Xa, updateComment as Xi, CreateReleaseAction as Xn, NavigationTarget as Xr, whenOrganizationKnown as Xt, resolveQuery as Y, defineMutation as Ya, setCommentStatus as Yi, CreateDocumentAction as Yn, NavigationLocation as Yr, userPreference as Yt, projects as Z, Comment as Zi, DeleteDocumentAction as Zn, PayloadOf as Zr, PreferenceEdit as Zt, applications as _, startOAuthAuthorization as _a, InstallationsOptions as _i, ActionsResult as _n, editDocument as _r, DocumentPresenceOptions as _t, ApplicationInclude as a, ClientOptions as aa, ValueOf as ai, StoredLevel as an, PublishReleaseAction as ar, ProjectOptions as at, CurrentUser$1 as b, observeOrganizationVerificationState as ba, installations as bi, ActionErrorEvent as bn, publishRelease as br, PresenceSelection as bt, ApplicationStudioConfig as c, getClientState as ca, OrganizationBase as ci, Organizations as cn, UnarchiveReleaseAction as cr, PreviewQueryResult as ct, ApplicationsOptions as d, getProjectAccessErrorProjectId as da, organization as di, FavoriteDocumentContext as dn, archiveRelease as dr, ProjectionValuePending as dt, CommentReaction as ea, StateTopic as ei, PreferenceListItem as en, DocumentAction as er, Project as et, ApplicationsResponse as f, getSignInMethodLabel as fa, Installation as fi, FavoriteStatusResponse as fn, createDocument as fr, getDocumentPresence as ft, application as g, revokeOAuthTokens as ga, InstallationInclude as gi, getReleaseDocumentId as gn, discardDocument as gr, DocumentPresence as gt, UpdateApplicationInput as h, refreshOAuthTokens as ha, InstallationBase as hi, setFavorite as hn, deleteRelease as hr, DisconnectEvent as ht, ApplicationDeployment as i, CommentThread as ia, Topics as ii, PreferenceValue as in, PublishDocumentAction as ir, ProjectMetadata as it, CORE_SDK_VERSION as j, getLoginUrlState as ja, createDocumentTypeHandle as ji, TransactionRevertedEvent as jn, getDashboardOrganizationId as jr, ResolveUsersOptions as jt, slicePath$1 as k, getCurrentUserState as ka, createDatasetHandle as ki, DocumentUnpublishedEvent as kn, TopicData as kr, Membership as kt, ApplicationVisibility as l, ProjectAccessErrorDetails as la, OrganizationMember as li, OrganizationsOptions as ln, UnpublishDocumentAction as lr, PreviewValue as lt, DeletedResult as m, handleOAuthCallback as ma, InstallationActiveConfig as mi, favorites as mn, deleteDocument as mr, reportPresence as mt, ApplicationAccess as n, CommentTextSelection as na, TopicName as ni, PreferenceListKey as nn, EditDocumentOptions as nr, ProjectMember as nt, ApplicationInterface as o, ClientStoreState as oa, capabilities as oi, PreferenceError as on, ReleaseAction as or, project as ot, DeleteApplicationInput as p, getOAuthTokensState as pa, InstallationAccess as pi, SetFavoriteInput as pn, createRelease as pr, getPresence as pt, getQueryState as q, PagedFetcherDefinition as qa, removeComment as qi, Action as qn, LocalApplication as qr, UserPreferenceUserOptions as qt, ApplicationBase as r, CommentTextSelectionItem as ra, TopicResult as ri, PreferenceResourceType as rn, EditReleaseAction as rr, ProjectMemberRole as rt, ApplicationInterfacePlacementMetadata as s, getClient as sa, Organization as si, PreferenceErrorCode as sn, ScheduleReleaseAction as sr, PreviewMedia as st, Application as t, CommentStatus as ta, StateTopicDef as ti, PreferenceListItemValue as tn, EditDocumentAction as tr, ProjectBase as tt, ApplicationWorkspace as u, getProjectAccessErrorDetails as ua, OrganizationOptions as ui, organizations as un, UnscheduleReleaseAction as ur, DocumentStatus as ut, deleteApplication as v, logout as va, InstallationsResponse as vi, ApplyDocumentActionsOptions as vn, editRelease as vr, PresenceLocation as vt, SanityProject$1 as w, ErrorAuthState as wa, LogLevel as wi, DocumentEditedEvent as wn, unscheduleRelease as wr, StateEvent as wt, ReleaseDocument$1 as x, OrgVerificationResult as xa, configureLogging as xi, DocumentCreatedEvent as xn, scheduleRelease as xr, PresenceSelectionPoint as xt, updateApplication as y, handleAuthCallback as ya, installation as yi, applyDocumentActions as yn, publishDocument as yr, PresencePerspectiveOptions as yt, users as z, CacheWriter as za, getCommentsOptionsKey as zi, subscribeDocumentEvents as zn, ApplicationStatusUpdate as zr, UserPreferenceListPage as zt };
4971
- //# sourceMappingURL=applications-D84Jz932.d.ts.map
4978
+ export { getProjectionState as $, CommentMessage as $i, DiscardDocumentAction as $n, ReplyOf as $r, PreferenceLevelsOf as $t, stringifyPath$1 as A, getIsInDashboardState as Aa, createDocumentHandle as Ai, TransactionAcceptedEvent as An, TopicError as Ar, ResolveUserOptions as At, defineProjection as B, CursorPage as Ba, parseCommentsOptionsKey as Bi, DocumentPermissionsResult as Bn, Capability as Br, updateUserPreferenceListItem as Bt, SanityDocument$3 as C, AuthStoreState as Ca, LogContext as Ci, DocumentDiscardedEvent as Cn, unpublishDocument as Cr, RollCallEvent as Ct, joinPaths as D, LoggingInAuthState as Da, LoggerConfig as Di, DocumentRemotePatchesEvent as Dn, ResolveQueryResult as Dr, GetUserOptions as Dt, getPathDepth as E, LoggedOutAuthState as Ea, Logger as Ei, DocumentPublishedEvent as En, ResolveProjectionResult as Er, UserPresence as Et, getUsersState as F, AuthStateType as Fa, resolveCommentThreads as Fi, getDocumentSyncStatus as Fn, ApplicationConfig$1 as Fr, UsersGroupState as Ft, QueryOptions as G, MutationResult as Ga, UpdateCommentOptions as Gi, processMutations as Gn, EventTopicDef as Gr, UserPreferenceOrganizationOptions as Gt, ReleaseState as H, FetcherDefinition as Ha, RemoveCommentOptions as Hi, DocumentSet as Hn, DashboardTopics as Hr, UpdateUserPreferenceInput as Ht, loadMoreUsers as I, AccessResourceType as Ia, resolveComments as Ii, getPermissionsState as In, ApplicationConfigAppType as Ir, UsersStoreState as It, parseQueryKey as J, defineFetcher as Ja, replyToComment as Ji, ArchiveReleaseAction as Jn, MessageBusTopics as Jr, updateUserPreference as Jt, getQueryKey as K, PagedFetcher as Ka, createComment as Ki, JsonMatch as Kn, FavoriteDocument as Kr, UserPreferenceProjectOptions as Kt, resolveUser as L, checkPermissions as La, CommentsOptions as Li, resolveDocument as Ln, ApplicationContext as Lr, UpdateUserPreferenceListItemInput as Lt, isImportError as M, getTokenState as Ma, createProjectHandle as Mi, TransactionSubmissionFailedEvent as Mn, getTopicState as Mr, SanityUser as Mt, getCorsErrorProjectId as N, setAuthToken as Na, getCommentThreadsState as Ni, DocumentOptions as Nn, resolveTopic as Nr, SanityUserResponse as Nt, jsonMatch$1 as O, getAuthState as Oa, createLogger as Oi, DocumentTransactionSubmissionResult as On, datasets as Or, GetUsersOptions as Ot, getUserState as P, OAuthTokens as Pa, getCommentsState as Pi, getDocumentState as Pn, ApplicationActivity as Pr, UserProfile as Pt, resolveProjection as Q, CommentLocalState as Qi, DeleteReleaseAction as Qn, RemoteModuleRef as Qr, PreferenceKey as Qt, resolveUsers as R, CacheTag as Ra, ResolveCommentsOptions as Ri, resolvePermissions as Rn, ApplicationStatus as Rr, UserPreferenceListItem as Rt, Role as S, AuthState as Sa, InstanceContext as Si, DocumentDeletedEvent as Sn, unarchiveRelease as Sr, ReportPresenceOptions as St, getIndexForKey$1 as T, LoggedInAuthState as Ta, LogNamespace as Ti, DocumentEvent as Tn, ResolveDocument as Tr, TransportEvent as Tt, getActiveReleasesState as U, FetcherSnapshot as Ua, ReplyToCommentOptions as Ui, ProcessMutationsOptions as Un, DocumentActivity as Ur, UserPreference as Ut, getPerspectiveState as V, Fetcher as Va, CreateCommentOptions as Vi, PermissionDeniedReason as Vn, CapabilityRecord as Vr, userPreferenceList as Vt, getAllReleasesState as W, MutationDefinition as Wa, SetCommentStatusOptions as Wi, patchOperations as Wn, EventTopic as Wr, UserPreferenceOptions as Wt, ProjectsOptions as X, definePagedFetcher as Xa, updateComment as Xi, CreateReleaseAction as Xn, NavigationTarget as Xr, whenOrganizationKnown as Xt, resolveQuery as Y, defineMutation as Ya, setCommentStatus as Yi, CreateDocumentAction as Yn, NavigationLocation as Yr, userPreference as Yt, projects as Z, Comment as Zi, DeleteDocumentAction as Zn, PayloadOf as Zr, PreferenceEdit as Zt, applications as _, startOAuthAuthorization as _a, OrganizationBase as _i, ActionsResult as _n, editDocument as _r, DocumentPresenceOptions as _t, ApplicationInclude as a, ClientOptions as aa, ValueOf as ai, StoredLevel as an, PublishReleaseAction as ar, ProjectOptions as at, CurrentUser$1 as b, observeOrganizationVerificationState as ba, organization as bi, ActionErrorEvent as bn, publishRelease as br, PresenceSelection as bt, ApplicationStudioConfig as c, getClientState as ca, InstallationAccess as ci, Organizations as cn, UnarchiveReleaseAction as cr, PreviewQueryResult as ct, ApplicationsOptions as d, getProjectAccessErrorProjectId as da, InstallationInclude as di, FavoriteDocumentContext as dn, archiveRelease as dr, ProjectionValuePending as dt, CommentReaction as ea, StateTopic as ei, PreferenceListItem as en, DocumentAction as er, Project as et, ApplicationsResponse as f, getSignInMethodLabel as fa, InstallationsOptions as fi, FavoriteStatusResponse as fn, createDocument as fr, getDocumentPresence as ft, application as g, revokeOAuthTokens as ga, Organization as gi, getReleaseDocumentId as gn, discardDocument as gr, DocumentPresence as gt, UpdateApplicationInput as h, refreshOAuthTokens as ha, installations as hi, setFavorite as hn, deleteRelease as hr, DisconnectEvent as ht, ApplicationDeployment as i, CommentThread as ia, Topics as ii, PreferenceValue as in, PublishDocumentAction as ir, ProjectMetadata as it, CORE_SDK_VERSION as j, getLoginUrlState as ja, createDocumentTypeHandle as ji, TransactionRevertedEvent as jn, getDashboardOrganizationId as jr, ResolveUsersOptions as jt, slicePath$1 as k, getCurrentUserState as ka, createDatasetHandle as ki, DocumentUnpublishedEvent as kn, TopicData as kr, Membership as kt, ApplicationVisibility as l, ProjectAccessErrorDetails as la, InstallationActiveConfig as li, OrganizationsOptions as ln, UnpublishDocumentAction as lr, PreviewValue as lt, DeletedResult as m, handleOAuthCallback as ma, installation as mi, favorites as mn, deleteDocument as mr, reportPresence as mt, ApplicationAccess as n, CommentTextSelection as na, TopicName as ni, PreferenceListKey as nn, EditDocumentOptions as nr, ProjectMember as nt, ApplicationInterface as o, ClientStoreState as oa, capabilities as oi, PreferenceError as on, ReleaseAction as or, project as ot, DeleteApplicationInput as p, getOAuthTokensState as pa, InstallationsResponse as pi, SetFavoriteInput as pn, createRelease as pr, getPresence as pt, getQueryState as q, PagedFetcherDefinition as qa, removeComment as qi, Action as qn, LocalApplication as qr, UserPreferenceUserOptions as qt, ApplicationBase as r, CommentTextSelectionItem as ra, TopicResult as ri, PreferenceResourceType as rn, EditReleaseAction as rr, ProjectMemberRole as rt, ApplicationInterfacePlacementMetadata as s, getClient as sa, Installation as si, PreferenceErrorCode as sn, ScheduleReleaseAction as sr, PreviewMedia as st, Application as t, CommentStatus as ta, StateTopicDef as ti, PreferenceListItemValue as tn, EditDocumentAction as tr, ProjectBase as tt, ApplicationWorkspace as u, getProjectAccessErrorDetails as ua, InstallationBase as ui, organizations as un, UnscheduleReleaseAction as ur, DocumentStatus as ut, deleteApplication as v, logout as va, OrganizationMember as vi, ApplyDocumentActionsOptions as vn, editRelease as vr, PresenceLocation as vt, SanityProject$1 as w, ErrorAuthState as wa, LogLevel as wi, DocumentEditedEvent as wn, unscheduleRelease as wr, StateEvent as wt, ReleaseDocument$1 as x, OrgVerificationResult as xa, configureLogging as xi, DocumentCreatedEvent as xn, scheduleRelease as xr, PresenceSelectionPoint as xt, updateApplication as y, handleAuthCallback as ya, OrganizationOptions as yi, applyDocumentActions as yn, publishDocument as yr, PresencePerspectiveOptions as yt, users as z, CacheWriter as za, getCommentsOptionsKey as zi, subscribeDocumentEvents as zn, ApplicationStatusUpdate as zr, UserPreferenceListPage as zt };
4979
+ //# sourceMappingURL=applications-5GyYYmHa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applications-5GyYYmHa.d.ts","names":["_$___store_fetcherStore0.Fetcher","ClientAuth","_$____exports0.StateSource","_$___store_createActionBinder0.BoundStoreAction","_$___store_createActionBinder0.BoundStoreAction","_$__authStore0.AuthStoreState","_$___store_createActionBinder0.BoundStoreAction","_$______store_createActionBinder0.BoundStoreAction","_$_______exports0.StateSource","ClientAuth","_$___store_createActionBinder0.BoundStoreAction","_$____exports0.StateSource","_$___store_fetcherStore0.Fetcher","_$___store_fetcherStore0.PagedFetcher","_$___store_fetcherStore0.Fetcher","ApplicationConfig","_$______store_createActionBinder0.BoundStoreAction","_$___store_fetcherStore0.Fetcher","SanityQueries","SanityProjections","SanityDocument","SanityMutatePatchMutation","SanityDocument","_$___store_createActionBinder0.BoundStoreAction","_$___store_fetcherStore0.Fetcher","_$___store_fetcherStore0.MutationResult","_$___store_fetcherStore0.Fetcher","_$___store_fetcherStore0.Fetcher","_$__registry0.PreferenceResourceType","_$___store_fetcherStore0.PagedFetcher","_$___store_fetcherStore0.Fetcher","_$___store_fetcherStore0.Fetcher","_$____exports0.StateSource","_$___store_createActionBinder0.StoreAction","_$___store_fetcherStore0.PagedFetcher","_$____exports0.StateSource","_$___store_createActionBinder0.BoundStoreAction","SanityProject","_SanityProject","_$___store_fetcherStore0.PagedFetcher","_$___store_fetcherStore0.Fetcher","_$____exports0.SanityInstance","_$___store_fetcherStore0.MutationResult"],"sources":["../src/store/fetcherStore.ts","../src/access/checkPermissions.ts","../src/auth/authStateType.ts","../src/auth/oauth/types.ts","../src/auth/authStore.ts","../src/project/organizationVerification.ts","../src/auth/getOrganizationVerificationState.ts","../src/auth/handleAuthCallback.ts","../src/auth/logout.ts","../src/auth/oauth/oauthActions.ts","../src/auth/projectAccessError.ts","../src/client/clientStore.ts","../src/comments/legacy/types.ts","../src/comments/legacy/commentActions.ts","../src/comments/legacy/commentsOptions.ts","../src/comments/legacy/commentsStore.ts","../src/config/handles.ts","../src/utils/logger.ts","../src/config/loggingConfig.ts","../src/organization/organization.ts","../src/utils/includeShape.ts","../src/installations/installations.ts","../src/dashboard/messageBus/topics.ts","../src/dashboard/messageBus/topicStore.ts","../src/datasets/datasets.ts","../src/typegen/groqCompat.ts","../src/typegen/resolve.ts","../src/document/actions.ts","../src/document/patchOperations.ts","../src/document/processMutations.ts","../src/document/permissions.ts","../src/document/sharedListener.ts","../src/document/documentStore.ts","../src/document/reducers.ts","../src/document/events.ts","../src/document/applyDocumentActions.ts","../src/document/processActions/releaseUtil.ts","../src/favorites/favorites.ts","../src/organizations/organizations.ts","../src/preferences/preferenceError.ts","../src/preferences/registry.generated.ts","../src/preferences/registry.ts","../src/preferences/preferences.ts","../src/preferences/preferenceItems.ts","../src/users/types.ts","../src/presence/types.ts","../src/presence/presenceStore.ts","../src/projection/types.ts","../src/preview/types.ts","../src/project/project.ts","../src/projection/getProjectionState.ts","../src/projection/resolveProjection.ts","../src/projects/projects.ts","../src/query/queryStore.ts","../src/releases/releasesStore.ts","../src/releases/getPerspectiveState.ts","../src/typegen/defineProjection.ts","../src/users/users.ts","../src/users/usersStore.ts","../src/utils/getCorsErrorProjectId.ts","../src/utils/isImportError.ts","../src/version.ts","../src/_exports/index.ts","../src/applications/applications.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;UA+CiB;EACf;;EAEA;;;;;;;;;;;;;;KAeU,gBAAgB;;EAGtB;EACA;EACA;EACA;EACA;EACA;;;EAIA;EACA,MAAM;;EAEN;EACA;;EAEA;;EAEA;;;EAIA;EACA;EACA;EACA;EACA;EACA;;;;;;;;;;;;;;;;UAiBW,kBAAkB,2BAA2B;;EAE5D;;;;;;;EAOA,QAAQ,UAAU,uBAAuB,QAAQ,YAAY,WAAW;;EAExE,SAAS,UAAU,mBAAmB,QAAQ;;;;;;EAM9C,OAAO,eAAe,MAAM,UAAU,QAAQ,YAAY;;;;;;EAM1D;;;;;;;EAOA;;;;;EAKA;;;;;;;EAOA;;;;;;;;;EASA,eACE,UAAU,mBACP,QAAQ;IACP,MAAM;IAAO;;;;;;;;EAOnB,gBAAgB,UAAU,mBAAmB,QAAQ,YAAY;;;;;;;;;UAUlD,QAAQ,2BAA2B;;EAElD,WAAW,UAAU,mBAAmB,QAAQ,YAAY,YAAY,gBAAgB;;;;;;;;EAQxF,eAAe,UAAU,mBAAmB,QAAQ,YAAY,QAAQ;;;;;EAKxE,aAAa,UAAU,mBAAmB,QAAQ;;EAElD,gBAAgB,UAAU;;;;;EAK1B,UAAU,UAAU,mBAAmB,QAAQ,YAAY,QAAQ;;;;;;;;;;;KAYzD,eAAe,2BAA2B,OACpD,SAAS,QAAQ,SAAS,QAC1B,QAAQ,SACR,SAAS,UAAU,SAAS,sBAAsB;;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,8BAA8B,kBACpE,uBAAuB,WACvB,2BAA2B;;;;;;;UAQZ,oBAAoB,gBAAgB,qBAAqB;EACxE;;EAEA;EACA,UAAU;;EAEV;;;;;EAKA;;;;;;;;UASe,qBAAqB,gBAAgB;EACpD;EACA,MAAM,YAAY;;;;;;;;;cAeP,cAAYC,cAAA,SAAA,oBAAA,sBAAA,qBAAA;;;;;;;;;;;;cA8CZ,aAuBXC,SAvBsB,6BAAA;EAGC,UAAA;EAAuC;gBAoB9D,YAAA;;;;;;;UAae;EACf;;;;;;;;KASU,wBAAwB;;;;;;;;KASxB;EAA0B;IAAyB,QAC7D,KAAK;;;;;;;;cAUM,oBAAiB,UAAjBC,gBAAiB,OAAA,2BAAA,QAAAC,eAAA;;;;;;UA2Bb;EACf;;;;;;;;;cAUW,oBAAiB,UAAjBD,gBAAiB,OAAA,2BAAA,QAAAC,eAAA"}
@@ -1,4 +1,4 @@
1
- import { $r as ReplyOf, Jr as MessageBusTopics, Wr as EventTopic, Zr as PayloadOf, ai as ValueOf, ei as StateTopic, ii as Topics, ni as TopicName, t as Application } from "./applications-D84Jz932.js";
1
+ import { $r as ReplyOf, Jr as MessageBusTopics, Wr as EventTopic, Zr as PayloadOf, ai as ValueOf, ei as StateTopic, ii as Topics, ni as TopicName, t as Application } from "./applications-5GyYYmHa.js";
2
2
  import { Observable } from "rxjs";
3
3
  /**
4
4
  * A message bus protocol error code.
@@ -317,4 +317,4 @@ interface InstallMessageBusOptions {
317
317
  */
318
318
  declare function installMessageBus(options?: InstallMessageBusOptions): MessageBusHost<Topics>;
319
319
  export { WebWorkerProps as _, MessageBusClient as a, resetMessageBus as b, MessageBusEmitResult as c, MessageBusErrorDetails as d, MessageBusHost as f, MessageBusStateSource as g, MessageBusQueryOptions as h, MessageBusAbortOptions as i, MessageBusError as l, MessageBusMeta as m, InstallMessageBusOptions as n, MessageBusConnection as o, MessageBusMessage as p, MessageBus as r, MessageBusEmitOptions as s, ConnectMessageBusOptions as t, MessageBusErrorCode as u, connectMessageBus as v, workerMessages as x, installMessageBus as y };
320
- //# sourceMappingURL=bus-CdYznZ0s.d.ts.map
320
+ //# sourceMappingURL=bus-6Dpjo6Ws.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bus-CdYznZ0s.d.ts","names":[],"sources":["../src/dashboard/messageBus/bus.ts"],"mappings":";;;;;;;KA4CY;;;;;;;UAgBK;;EAEf;;EAEA;;;;;;;cAQW,wBAAwB;;WAE1B,MAAM;;WAEN;;WAEA;;EAGT,YACE,MAAM,qBACN,kBACA;IAAW;MAAmB;;;;;;;UAejB;;EAEf,OAAO;;;;;;EAMP;;;;;EAKA;;EAEA;;;;;;;UAQe,kBAAkB,GAAG,WAAW,UAAU,cAAc;;EAEvE,MAAM;;EAEN,SAAS;;EAET,MAAM;;EAEN,MAAM,OAAO;;;;;;;;;;EAUb,OACE,kBACA,qDACA,UAAU;;WAGH,QAAQ;;;;;;;UAQF,sBAAsB,WAAW,WAAW;;EAE3D,cAAc;;WAEL,YAAY,QAAQ;;;;;;;UAQd;;EAEf,SAAS;;;;;;;UAQM,+BAA+B;;EAE9C;;;;;;;UAQe,8BAA8B;;EAE7C;;;;;;;UAQe,qBAAqB,WAAW,YAAY;;EAE3D,MAAM,WAAW,cAAc,oBAAoB,IAAI,YAAY,KAAK,QAAQ,IAAI;;EAEpF,QAAQ,yBAAyB,QAAQ;;;;;;;;;;;UAY1B,WAAW,UAAU;;EAEpC,KAAK,UAAU,WAAW,UACxB,MAAM,MACH,MAAM,UAAU,GAAG,yBACjB,gBAAgB,UAAU,0BAC1B,SAAS,UAAU,GAAG,UAAU,UAAU,yBAC9C,qBAAqB,QAAQ,GAAG;;EAEnC,MAAM,UAAU,WAAW,UACzB,MAAM,GACN,UAAU,yBACT,QAAQ,QAAQ,GAAG;;EAEtB,UAAU,UAAU,WAAW,UAC7B,MAAM,GACN,UAAU,SAAS,kBAAkB,UAAU,GAAG,UAAU,QAAQ,GAAG,UAAU,aACjF,UAAU;;EAGZ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B,MAAM,GACN,UAAU,OAAO,QAAQ,aACzB,UAAU;;WAGL;aAAkB;aAAuB;;;;;;;;UAQnC,qBAAqB,UAAU,0BAA0B,WAAW;;WAE1E,OAAO;;;;;WAKP;;;;;;EAMT;;;;;;;UAQe;;WAEN,OAAO;;WAEP;;WAEA;;WAEA;;WAEA,QAAQ;;EAEjB,KAAK,UAAU,YAAY,MAAM,GAAG,OAAO,QAAQ;;;;;;;;;;;;;;;EAenD,OAAO,UAAU,YAAY,MAAM,GAAG,kBAAkB,UAAU;;;;;;;;;;;;;UAcnD,eAAe,UAAU,0BAA0B,qBAAqB;;;;;;;WAO9E,aAAa,WAAW;;;;;;;;iBAy8BnB,eACd,YAAY,sBACZ,eACC;;;;;;UAwCc;;EAEf;;EAEA;;;;;EAKA;;;;;;;iBAQc,kBACd,UAAS,2BACR;;;;;iBAwBa;;;;;;UAWC;;EAEf;;;;;;;;iBASc,kBAAkB,UAAS,2BAAgC,eAAe"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { _ as isCanvasResource, a as DatasetResource, b as AuthConfig, c as DocumentTypeHandle, d as ProjectHandle, f as ReleaseHandle, g as TokenSource, h as StudioConfig, i as DatasetHandle, l as MediaLibraryResource, m as SanityConfig, n as createSanityInstance, o as DocumentHandle, p as ReleasePerspective, r as CanvasResource, s as DocumentResource, t as SanityInstance, u as PerspectiveHandle, v as isDatasetResource, x as AuthProvider, y as isMediaLibraryResource } from "./createSanityInstance-C1wD7RmA.js";
2
2
  import { n as StateSource, t as Selector } from "./createStateSourceAction-Cb7ZjAd8.js";
3
- import { $ as getProjectionState, $i as CommentMessage, $n as DiscardDocumentAction, $t as PreferenceLevelsOf, A as stringifyPath, Aa as getIsInDashboardState, Ai as createDocumentHandle, An as TransactionAcceptedEvent, At as ResolveUserOptions, B as defineProjection, Bn as DocumentPermissionsResult, Bt as updateUserPreferenceListItem, C as SanityDocument, Ca as AuthStoreState, Ci as LogContext, Cn as DocumentDiscardedEvent, Cr as unpublishDocument, Ct as RollCallEvent, D as joinPaths, Da as LoggingInAuthState, Di as LoggerConfig, Dn as DocumentRemotePatchesEvent, Dr as ResolveQueryResult, Dt as GetUserOptions, E as getPathDepth, Ea as LoggedOutAuthState, Ei as Logger, En as DocumentPublishedEvent, Er as ResolveProjectionResult, Et as UserPresence, F as getUsersState, Fa as AuthStateType, Fi as resolveCommentThreads, Fn as getDocumentSyncStatus, Ft as UsersGroupState, G as QueryOptions, Gi as UpdateCommentOptions, Gn as processMutations, Gt as UserPreferenceOrganizationOptions, H as ReleaseState, Hi as RemoveCommentOptions, Hn as DocumentSet, Ht as UpdateUserPreferenceInput, I as loadMoreUsers, Ia as AccessResourceType, Ii as resolveComments, In as getPermissionsState, It as UsersStoreState, Ji as replyToComment, Jn as ArchiveReleaseAction, Jt as updateUserPreference, Ki as createComment, Kn as JsonMatch, Kt as UserPreferenceProjectOptions, L as resolveUser, La as checkPermissions, Li as CommentsOptions, Ln as resolveDocument, Lt as UpdateUserPreferenceListItemInput, M as isImportError, Ma as getTokenState, Mi as createProjectHandle, Mn as TransactionSubmissionFailedEvent, Mt as SanityUser, N as getCorsErrorProjectId, Na as setAuthToken, Ni as getCommentThreadsState, Nn as DocumentOptions, Nt as SanityUserResponse, O as jsonMatch, Oa as getAuthState, On as DocumentTransactionSubmissionResult, Or as datasets, Ot as GetUsersOptions, P as getUserState, Pa as OAuthTokens, Pi as getCommentsState, Pn as getDocumentState, Pt as UserProfile, Q as resolveProjection, Qi as CommentLocalState, Qn as DeleteReleaseAction, Qt as PreferenceKey, R as resolveUsers, Ri as ResolveCommentsOptions, Rn as resolvePermissions, Rt as UserPreferenceListItem, S as Role, Sa as AuthState, Si as InstanceContext, Sn as DocumentDeletedEvent, Sr as unarchiveRelease, St as ReportPresenceOptions, T as getIndexForKey, Ta as LoggedInAuthState, Ti as LogNamespace, Tn as DocumentEvent, Tr as ResolveDocument, Tt as TransportEvent, U as getActiveReleasesState, Ui as ReplyToCommentOptions, Un as ProcessMutationsOptions, Ut as UserPreference, V as getPerspectiveState, Vi as CreateCommentOptions, Vn as PermissionDeniedReason, Vt as userPreferenceList, W as getAllReleasesState, Wi as SetCommentStatusOptions, Wn as patchOperations, Wt as UserPreferenceOptions, X as ProjectsOptions, Xi as updateComment, Xn as CreateReleaseAction, Xt as whenOrganizationKnown, Y as resolveQuery, Yi as setCommentStatus, Yn as CreateDocumentAction, Yt as userPreference, Z as projects, Zi as Comment, Zn as DeleteDocumentAction, Zt as PreferenceEdit, _ as applications, _a as startOAuthAuthorization, _i as InstallationsOptions, _n as ActionsResult, _r as editDocument, _t as DocumentPresenceOptions, a as ApplicationInclude, aa as ClientOptions, an as StoredLevel, ar as PublishReleaseAction, at as ProjectOptions, b as CurrentUser, ba as observeOrganizationVerificationState, bi as installations, bn as ActionErrorEvent, br as publishRelease, bt as PresenceSelection, c as ApplicationStudioConfig, ca as getClientState, ci as OrganizationBase, cn as Organizations, cr as UnarchiveReleaseAction, ct as PreviewQueryResult, d as ApplicationsOptions, da as getProjectAccessErrorProjectId, di as organization, dn as FavoriteDocumentContext, dr as archiveRelease, dt as ProjectionValuePending, ea as CommentReaction, en as PreferenceListItem, er as DocumentAction, et as Project, f as ApplicationsResponse, fi as Installation, fn as FavoriteStatusResponse, fr as createDocument, ft as getDocumentPresence, g as application, ga as revokeOAuthTokens, gi as InstallationInclude, gn as getReleaseDocumentId, gr as discardDocument, gt as DocumentPresence, h as UpdateApplicationInput, ha as refreshOAuthTokens, hi as InstallationBase, hn as setFavorite, hr as deleteRelease, ht as DisconnectEvent, i as ApplicationDeployment, ia as CommentThread, in as PreferenceValue, ir as PublishDocumentAction, it as ProjectMetadata, j as CORE_SDK_VERSION, ja as getLoginUrlState, ji as createDocumentTypeHandle, jn as TransactionRevertedEvent, jr as getDashboardOrganizationId, jt as ResolveUsersOptions, k as slicePath, ka as getCurrentUserState, ki as createDatasetHandle, kn as DocumentUnpublishedEvent, kt as Membership, l as ApplicationVisibility, li as OrganizationMember, ln as OrganizationsOptions, lr as UnpublishDocumentAction, lt as PreviewValue, m as DeletedResult, ma as handleOAuthCallback, mi as InstallationActiveConfig, mn as favorites, mr as deleteDocument, mt as reportPresence, n as ApplicationAccess, na as CommentTextSelection, nn as PreferenceListKey, nr as EditDocumentOptions, nt as ProjectMember, o as ApplicationInterface, oa as ClientStoreState, on as PreferenceError, or as ReleaseAction, ot as project, p as DeleteApplicationInput, pa as getOAuthTokensState, pi as InstallationAccess, pn as SetFavoriteInput, pr as createRelease, pt as getPresence, q as getQueryState, qi as removeComment, qn as Action, qt as UserPreferenceUserOptions, r as ApplicationBase, ra as CommentTextSelectionItem, rn as PreferenceResourceType, rr as EditReleaseAction, rt as ProjectMemberRole, s as ApplicationInterfacePlacementMetadata, sa as getClient, si as Organization, sn as PreferenceErrorCode, sr as ScheduleReleaseAction, st as PreviewMedia, t as Application, ta as CommentStatus, tn as PreferenceListItemValue, tr as EditDocumentAction, tt as ProjectBase, u as ApplicationWorkspace, ui as OrganizationOptions, un as organizations, ur as UnscheduleReleaseAction, ut as DocumentStatus, v as deleteApplication, va as logout, vi as InstallationsResponse, vn as ApplyDocumentActionsOptions, vr as editRelease, vt as PresenceLocation, w as SanityProject, wa as ErrorAuthState, wi as LogLevel, wn as DocumentEditedEvent, wr as unscheduleRelease, wt as StateEvent, x as ReleaseDocument, xa as OrgVerificationResult, xi as configureLogging, xn as DocumentCreatedEvent, xr as scheduleRelease, xt as PresenceSelectionPoint, y as updateApplication, ya as handleAuthCallback, yi as installation, yn as applyDocumentActions, yr as publishDocument, yt as PresencePerspectiveOptions, z as users, zn as subscribeDocumentEvents, zt as UserPreferenceListPage } from "./applications-D84Jz932.js";
3
+ import { $ as getProjectionState, $i as CommentMessage, $n as DiscardDocumentAction, $t as PreferenceLevelsOf, A as stringifyPath, Aa as getIsInDashboardState, Ai as createDocumentHandle, An as TransactionAcceptedEvent, At as ResolveUserOptions, B as defineProjection, Bn as DocumentPermissionsResult, Bt as updateUserPreferenceListItem, C as SanityDocument, Ca as AuthStoreState, Ci as LogContext, Cn as DocumentDiscardedEvent, Cr as unpublishDocument, Ct as RollCallEvent, D as joinPaths, Da as LoggingInAuthState, Di as LoggerConfig, Dn as DocumentRemotePatchesEvent, Dr as ResolveQueryResult, Dt as GetUserOptions, E as getPathDepth, Ea as LoggedOutAuthState, Ei as Logger, En as DocumentPublishedEvent, Er as ResolveProjectionResult, Et as UserPresence, F as getUsersState, Fa as AuthStateType, Fi as resolveCommentThreads, Fn as getDocumentSyncStatus, Ft as UsersGroupState, G as QueryOptions, Gi as UpdateCommentOptions, Gn as processMutations, Gt as UserPreferenceOrganizationOptions, H as ReleaseState, Hi as RemoveCommentOptions, Hn as DocumentSet, Ht as UpdateUserPreferenceInput, I as loadMoreUsers, Ia as AccessResourceType, Ii as resolveComments, In as getPermissionsState, It as UsersStoreState, Ji as replyToComment, Jn as ArchiveReleaseAction, Jt as updateUserPreference, Ki as createComment, Kn as JsonMatch, Kt as UserPreferenceProjectOptions, L as resolveUser, La as checkPermissions, Li as CommentsOptions, Ln as resolveDocument, Lt as UpdateUserPreferenceListItemInput, M as isImportError, Ma as getTokenState, Mi as createProjectHandle, Mn as TransactionSubmissionFailedEvent, Mt as SanityUser, N as getCorsErrorProjectId, Na as setAuthToken, Ni as getCommentThreadsState, Nn as DocumentOptions, Nt as SanityUserResponse, O as jsonMatch, Oa as getAuthState, On as DocumentTransactionSubmissionResult, Or as datasets, Ot as GetUsersOptions, P as getUserState, Pa as OAuthTokens, Pi as getCommentsState, Pn as getDocumentState, Pt as UserProfile, Q as resolveProjection, Qi as CommentLocalState, Qn as DeleteReleaseAction, Qt as PreferenceKey, R as resolveUsers, Ri as ResolveCommentsOptions, Rn as resolvePermissions, Rt as UserPreferenceListItem, S as Role, Sa as AuthState, Si as InstanceContext, Sn as DocumentDeletedEvent, Sr as unarchiveRelease, St as ReportPresenceOptions, T as getIndexForKey, Ta as LoggedInAuthState, Ti as LogNamespace, Tn as DocumentEvent, Tr as ResolveDocument, Tt as TransportEvent, U as getActiveReleasesState, Ui as ReplyToCommentOptions, Un as ProcessMutationsOptions, Ut as UserPreference, V as getPerspectiveState, Vi as CreateCommentOptions, Vn as PermissionDeniedReason, Vt as userPreferenceList, W as getAllReleasesState, Wi as SetCommentStatusOptions, Wn as patchOperations, Wt as UserPreferenceOptions, X as ProjectsOptions, Xi as updateComment, Xn as CreateReleaseAction, Xt as whenOrganizationKnown, Y as resolveQuery, Yi as setCommentStatus, Yn as CreateDocumentAction, Yt as userPreference, Z as projects, Zi as Comment, Zn as DeleteDocumentAction, Zt as PreferenceEdit, _ as applications, _a as startOAuthAuthorization, _i as OrganizationBase, _n as ActionsResult, _r as editDocument, _t as DocumentPresenceOptions, a as ApplicationInclude, aa as ClientOptions, an as StoredLevel, ar as PublishReleaseAction, at as ProjectOptions, b as CurrentUser, ba as observeOrganizationVerificationState, bi as organization, bn as ActionErrorEvent, br as publishRelease, bt as PresenceSelection, c as ApplicationStudioConfig, ca as getClientState, ci as InstallationAccess, cn as Organizations, cr as UnarchiveReleaseAction, ct as PreviewQueryResult, d as ApplicationsOptions, da as getProjectAccessErrorProjectId, di as InstallationInclude, dn as FavoriteDocumentContext, dr as archiveRelease, dt as ProjectionValuePending, ea as CommentReaction, en as PreferenceListItem, er as DocumentAction, et as Project, f as ApplicationsResponse, fi as InstallationsOptions, fn as FavoriteStatusResponse, fr as createDocument, ft as getDocumentPresence, g as application, ga as revokeOAuthTokens, gi as Organization, gn as getReleaseDocumentId, gr as discardDocument, gt as DocumentPresence, h as UpdateApplicationInput, ha as refreshOAuthTokens, hi as installations, hn as setFavorite, hr as deleteRelease, ht as DisconnectEvent, i as ApplicationDeployment, ia as CommentThread, in as PreferenceValue, ir as PublishDocumentAction, it as ProjectMetadata, j as CORE_SDK_VERSION, ja as getLoginUrlState, ji as createDocumentTypeHandle, jn as TransactionRevertedEvent, jr as getDashboardOrganizationId, jt as ResolveUsersOptions, k as slicePath, ka as getCurrentUserState, ki as createDatasetHandle, kn as DocumentUnpublishedEvent, kt as Membership, l as ApplicationVisibility, li as InstallationActiveConfig, ln as OrganizationsOptions, lr as UnpublishDocumentAction, lt as PreviewValue, m as DeletedResult, ma as handleOAuthCallback, mi as installation, mn as favorites, mr as deleteDocument, mt as reportPresence, n as ApplicationAccess, na as CommentTextSelection, nn as PreferenceListKey, nr as EditDocumentOptions, nt as ProjectMember, o as ApplicationInterface, oa as ClientStoreState, on as PreferenceError, or as ReleaseAction, ot as project, p as DeleteApplicationInput, pa as getOAuthTokensState, pi as InstallationsResponse, pn as SetFavoriteInput, pr as createRelease, pt as getPresence, q as getQueryState, qi as removeComment, qn as Action, qt as UserPreferenceUserOptions, r as ApplicationBase, ra as CommentTextSelectionItem, rn as PreferenceResourceType, rr as EditReleaseAction, rt as ProjectMemberRole, s as ApplicationInterfacePlacementMetadata, sa as getClient, si as Installation, sn as PreferenceErrorCode, sr as ScheduleReleaseAction, st as PreviewMedia, t as Application, ta as CommentStatus, tn as PreferenceListItemValue, tr as EditDocumentAction, tt as ProjectBase, u as ApplicationWorkspace, ui as InstallationBase, un as organizations, ur as UnscheduleReleaseAction, ut as DocumentStatus, v as deleteApplication, va as logout, vi as OrganizationMember, vn as ApplyDocumentActionsOptions, vr as editRelease, vt as PresenceLocation, w as SanityProject, wa as ErrorAuthState, wi as LogLevel, wn as DocumentEditedEvent, wr as unscheduleRelease, wt as StateEvent, x as ReleaseDocument, xa as OrgVerificationResult, xi as configureLogging, xn as DocumentCreatedEvent, xr as scheduleRelease, xt as PresenceSelectionPoint, y as updateApplication, ya as handleAuthCallback, yi as OrganizationOptions, yn as applyDocumentActions, yr as publishDocument, yt as PresencePerspectiveOptions, z as users, zn as subscribeDocumentEvents, zt as UserPreferenceListPage } from "./applications-5GyYYmHa.js";
4
4
  export { type AccessResourceType, type Action, type ActionErrorEvent, type ActionsResult, type Application, type ApplicationAccess, type ApplicationBase, type ApplicationDeployment, type ApplicationInclude, type ApplicationInterface, type ApplicationInterfacePlacementMetadata, type ApplicationStudioConfig, type ApplicationVisibility, type ApplicationWorkspace, type ApplicationsOptions, type ApplicationsResponse, type ApplyDocumentActionsOptions, type ArchiveReleaseAction, type AuthConfig, type AuthProvider, type AuthState, AuthStateType, type AuthStoreState, CORE_SDK_VERSION, type CanvasResource, type ClientOptions, type ClientStoreState as ClientState, type Comment, type CommentLocalState, type CommentMessage, type CommentReaction, type CommentStatus, type CommentTextSelection, type CommentTextSelectionItem, type CommentThread, type CommentsOptions, type CreateCommentOptions, type CreateDocumentAction, type CreateReleaseAction, type CurrentUser, type DatasetHandle, type DatasetResource, type DeleteApplicationInput, type DeleteDocumentAction, type DeleteReleaseAction, type DeletedResult, type DiscardDocumentAction, type DisconnectEvent, type DocumentAction, type DocumentCreatedEvent, type DocumentDeletedEvent, type DocumentDiscardedEvent, type DocumentEditedEvent, type DocumentEvent, type DocumentHandle, type DocumentOptions, type DocumentPermissionsResult, type DocumentPresence, type DocumentPresenceOptions, type DocumentPublishedEvent, type DocumentRemotePatchesEvent, type DocumentResource, type DocumentSet, type DocumentStatus, type DocumentTransactionSubmissionResult, type DocumentTypeHandle, type DocumentUnpublishedEvent, type EditDocumentAction, type EditDocumentOptions, type EditReleaseAction, type ErrorAuthState, type FavoriteDocumentContext, type FavoriteStatusResponse, type GetUserOptions, type GetUsersOptions, type Installation, type InstallationAccess, type InstallationActiveConfig, type InstallationBase, type InstallationInclude, type InstallationsOptions, type InstallationsResponse, type InstanceContext, type JsonMatch, type LogContext, type LogLevel, type LogNamespace, type LoggedInAuthState, type LoggedOutAuthState, type Logger, type LoggerConfig, type LoggingInAuthState, type MediaLibraryResource, type Membership, type OAuthTokens, type OrgVerificationResult, type Organization, type OrganizationBase, type OrganizationMember, type OrganizationOptions, type Organizations, type OrganizationsOptions, type PermissionDeniedReason, type PerspectiveHandle, type PreferenceEdit, PreferenceError, type PreferenceErrorCode, type PreferenceKey, type PreferenceLevelsOf, type PreferenceListItem, type PreferenceListItemValue, type PreferenceListKey, type PreferenceResourceType, type PreferenceValue, type PresenceLocation, type PresencePerspectiveOptions, type PresenceSelection, type PresenceSelectionPoint, type PreviewMedia, type PreviewQueryResult, type PreviewValue, type ProcessMutationsOptions, type Project, type ProjectBase, type ProjectHandle, type ProjectMember, type ProjectMemberRole, type ProjectMetadata, type ProjectOptions, type ProjectionValuePending, type ProjectsOptions, type PublishDocumentAction, type PublishReleaseAction, type QueryOptions, type ReleaseAction, type ReleaseDocument, type ReleaseHandle, type ReleasePerspective, type ReleaseState, type RemoveCommentOptions, type ReplyToCommentOptions, type ReportPresenceOptions, type ResolveCommentsOptions, type ResolveDocument, type ResolveProjectionResult, type ResolveQueryResult, type ResolveUserOptions, type ResolveUsersOptions, type Role, type RollCallEvent, type SanityConfig, type SanityDocument, type SanityInstance, SanityProject, type SanityUser, type SanityUserResponse, type ScheduleReleaseAction, type Selector, type SetCommentStatusOptions, type SetFavoriteInput, type StateEvent, type StateSource, type StoredLevel, type StudioConfig, type TokenSource, type TransactionAcceptedEvent, type TransactionRevertedEvent, type TransactionSubmissionFailedEvent, type TransportEvent, type UnarchiveReleaseAction, type UnpublishDocumentAction, type UnscheduleReleaseAction, type UpdateApplicationInput, type UpdateCommentOptions, type UpdateUserPreferenceInput, type UpdateUserPreferenceListItemInput, type UserPreference, type UserPreferenceListItem, type UserPreferenceListPage, type UserPreferenceOptions, type UserPreferenceOrganizationOptions, type UserPreferenceProjectOptions, type UserPreferenceUserOptions, type UserPresence, type UserProfile, type UsersGroupState, type UsersStoreState, application, applications, applyDocumentActions, archiveRelease, checkPermissions, configureLogging, createComment, createDatasetHandle, createDocument, createDocumentHandle, createDocumentTypeHandle, createProjectHandle, createRelease, createSanityInstance, datasets, defineProjection, deleteApplication, deleteDocument, deleteRelease, discardDocument, editDocument, editRelease, favorites, getActiveReleasesState, getAllReleasesState, getAuthState, getClient, getClientState, getCommentThreadsState, getCommentsState, getCorsErrorProjectId, getCurrentUserState, getDashboardOrganizationId, getDocumentPresence, getDocumentState, getDocumentSyncStatus, getIndexForKey, getIsInDashboardState, getLoginUrlState, getOAuthTokensState, getPathDepth, getPermissionsState, getPerspectiveState, getPresence, getProjectAccessErrorProjectId, getProjectionState, getQueryState, getReleaseDocumentId, getTokenState, getUserState, getUsersState, handleAuthCallback, handleOAuthCallback, installation, installations, isCanvasResource, isDatasetResource, isImportError, isMediaLibraryResource, joinPaths, jsonMatch, loadMoreUsers, logout, observeOrganizationVerificationState, organization, organizations, patchOperations, processMutations, project, projects, publishDocument, publishRelease, refreshOAuthTokens, removeComment, replyToComment, reportPresence, resolveCommentThreads, resolveComments, resolveDocument, resolvePermissions, resolveProjection, resolveQuery, resolveUser, resolveUsers, revokeOAuthTokens, scheduleRelease, setAuthToken, setCommentStatus, setFavorite, slicePath, startOAuthAuthorization, stringifyPath, subscribeDocumentEvents, unarchiveRelease, unpublishDocument, unscheduleRelease, updateApplication, updateComment, updateUserPreference, updateUserPreferenceListItem, userPreference, userPreferenceList, users, whenOrganizationKnown };
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import { n as isObject, r as omitProperty, t as isDeepEqual } from "./object-CxX
5
5
  import { n as getClient, r as getClientState } from "./clientStore-C7pmeImZ.js";
6
6
  import { i as definePagedFetcher, n as defineFetcher, r as defineMutation, t as toCommentFieldPath } from "./types-Dh0DRiM0.js";
7
7
  import { a as compareProjectOrganization, i as projects, n as threadComments, o as observeAppOrganizationId, r as project, s as buildQuery } from "./buildCommentThreads-BGVJQ8gG.js";
8
- import { A as getDocumentIdsFromHandleLikes, B as patchOperations, D as applyFirstQueuedTransaction, F as throwDocumentError, G as getProjectAccessErrorProjectId, H as getReleaseDocumentId, I as transitionAppliedTransactionsToOutgoing, L as calculatePermissions, M as queueTransaction, N as removeQueuedTransaction, O as applyRemoteDocument, P as revertOutgoingTransaction, R as createGrantsLookup, S as toPreferenceError, T as setFavorite, U as isReleaseAction, V as processMutations, _ as setUsersError, b as USERS_STATE_CLEAR_DELAY, c as getActiveReleasesState, d as cancelRequest, f as getUsersKey, g as setUsersData, h as removeSubscription, i as getQueryState, j as manageSubscriberIds, k as cleanupOutgoingTransaction, l as getAllReleasesState, m as parseUsersKey, o as resolveQuery, p as initializeRequest, s as getPerspectiveState, t as CORE_SDK_VERSION, u as addSubscription, v as updateLastLoadMoreRequest, w as favorites, x as PreferenceError, y as PROJECT_API_VERSION, z as ActionError } from "./version-DiguiotP.js";
8
+ import { A as getDocumentIdsFromHandleLikes, B as patchOperations, D as applyFirstQueuedTransaction, F as throwDocumentError, G as getProjectAccessErrorProjectId, H as getReleaseDocumentId, I as transitionAppliedTransactionsToOutgoing, L as calculatePermissions, M as queueTransaction, N as removeQueuedTransaction, O as applyRemoteDocument, P as revertOutgoingTransaction, R as createGrantsLookup, S as toPreferenceError, T as setFavorite, U as isReleaseAction, V as processMutations, _ as setUsersError, b as USERS_STATE_CLEAR_DELAY, c as getActiveReleasesState, d as cancelRequest, f as getUsersKey, g as setUsersData, h as removeSubscription, i as getQueryState, j as manageSubscriberIds, k as cleanupOutgoingTransaction, l as getAllReleasesState, m as parseUsersKey, o as resolveQuery, p as initializeRequest, s as getPerspectiveState, t as CORE_SDK_VERSION, u as addSubscription, v as updateLastLoadMoreRequest, w as favorites, x as PreferenceError, y as PROJECT_API_VERSION, z as ActionError } from "./version-i7K6-rjw.js";
9
9
  import { ClientError, CorsOriginError } from "@sanity/client";
10
10
  import { BehaviorSubject, EMPTY, NEVER, Observable, ReplaySubject, Subject, Subscription, auditTime, catchError, combineLatest, concat, concatMap, debounceTime, defer, distinctUntilChanged, filter, first, firstValueFrom, from, fromEvent, groupBy, map, merge, mergeMap, of, pairwise, partition, race, share, skip, startWith, switchMap, take, takeUntil, tap, throttle, throwError, timer, withLatestFrom } from "rxjs";
11
11
  import "@sanity/types";
@@ -182,6 +182,46 @@ const updateApplication = defineMutation({
182
182
  id: applicationId
183
183
  }]
184
184
  });
185
+ function resolveOrganizationId(options) {
186
+ let organizationId = options?.organizationId;
187
+ if (!organizationId) throw Error("An organizationId is required to use the organization API.");
188
+ return organizationId;
189
+ }
190
+ function normalizeOrganizationOptions(options) {
191
+ return {
192
+ includeMembers: options?.includeMembers ?? !1,
193
+ includeFeatures: options?.includeFeatures ?? !1
194
+ };
195
+ }
196
+ /** @internal */
197
+ function getOrganizationCacheKey(_instance, options) {
198
+ let organizationId = resolveOrganizationId(options), { includeMembers, includeFeatures } = normalizeOrganizationOptions(options);
199
+ return `organization:${organizationId}${includeMembers ? ":members" : ""}${includeFeatures ? ":features" : ""}`;
200
+ }
201
+ /**
202
+ * Fetcher for a single organization (`GET /organizations/:id`), on the shared
203
+ * fetcher cache. No pre-seeding from the organizations list: it returns a
204
+ * subset of the detail fields, and a partial seed would serve as fresh for
205
+ * the whole stale window.
206
+ *
207
+ * @internal
208
+ */
209
+ const organization = defineFetcher({
210
+ name: "organization",
211
+ getKey: getOrganizationCacheKey,
212
+ fetch: (instance) => (options) => getClientState(instance, {
213
+ apiVersion: "v2025-02-19",
214
+ scope: "global"
215
+ }).observable.pipe(switchMap((client) => client.observable.request({
216
+ url: `/organizations/${resolveOrganizationId(options)}`,
217
+ query: buildQuery(normalizeOrganizationOptions(options)),
218
+ tag: "organizations.get"
219
+ }))),
220
+ tags: (data) => [{
221
+ type: "organization",
222
+ id: data.id
223
+ }]
224
+ });
185
225
  /** The API takes `include` as a comma-separated list; sorted so key and query agree */
186
226
  function serializeInclude(include) {
187
227
  return include?.length ? [...include].sort().join(",") : void 0;
@@ -237,46 +277,6 @@ const installations = definePagedFetcher({
237
277
  id: data.id
238
278
  }]
239
279
  });
240
- function resolveOrganizationId(options) {
241
- let organizationId = options?.organizationId;
242
- if (!organizationId) throw Error("An organizationId is required to use the organization API.");
243
- return organizationId;
244
- }
245
- function normalizeOrganizationOptions(options) {
246
- return {
247
- includeMembers: options?.includeMembers ?? !1,
248
- includeFeatures: options?.includeFeatures ?? !1
249
- };
250
- }
251
- /** @internal */
252
- function getOrganizationCacheKey(_instance, options) {
253
- let organizationId = resolveOrganizationId(options), { includeMembers, includeFeatures } = normalizeOrganizationOptions(options);
254
- return `organization:${organizationId}${includeMembers ? ":members" : ""}${includeFeatures ? ":features" : ""}`;
255
- }
256
- /**
257
- * Fetcher for a single organization (`GET /organizations/:id`), on the shared
258
- * fetcher cache. No pre-seeding from the organizations list: it returns a
259
- * subset of the detail fields, and a partial seed would serve as fresh for
260
- * the whole stale window.
261
- *
262
- * @internal
263
- */
264
- const organization = defineFetcher({
265
- name: "organization",
266
- getKey: getOrganizationCacheKey,
267
- fetch: (instance) => (options) => getClientState(instance, {
268
- apiVersion: "v2025-02-19",
269
- scope: "global"
270
- }).observable.pipe(switchMap((client) => client.observable.request({
271
- url: `/organizations/${resolveOrganizationId(options)}`,
272
- query: buildQuery(normalizeOrganizationOptions(options)),
273
- tag: "organizations.get"
274
- }))),
275
- tags: (data) => [{
276
- type: "organization",
277
- id: data.id
278
- }]
279
- });
280
280
  /**
281
281
  * Creates an observable that emits the organization verification state for a given instance.
282
282
  * It combines the app's own organization ID with each project's actual