@sanity/sdk-react 3.0.0-rc.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_exports/dashboard.d.ts +209 -0
- package/dist/_exports/dashboard.d.ts.map +1 -0
- package/dist/_exports/dashboard.js +278 -0
- package/dist/_exports/dashboard.js.map +1 -0
- package/dist/index.d.ts +86 -261
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +134 -532
- package/dist/index.js.map +1 -1
- package/dist/useStudioWorkspacesByProjectIdDataset-I4S3CuR5.js +177 -0
- package/dist/useStudioWorkspacesByProjectIdDataset-I4S3CuR5.js.map +1 -0
- package/package.json +9 -8
- package/src/_exports/dashboard.ts +11 -0
- package/src/_exports/sdk-react.ts +2 -12
- package/src/components/SDKProvider.test.tsx +5 -5
- package/src/components/auth/AuthBoundary.tsx +5 -5
- package/src/context/{WorkbenchTokenRefresh.test.tsx → DashboardTokenRefresh.test.tsx} +26 -26
- package/src/context/{WorkbenchTokenRefresh.tsx → DashboardTokenRefresh.tsx} +14 -14
- package/src/context/OrganizationResourcesProvider.test.tsx +9 -9
- package/src/context/OrganizationResourcesProvider.tsx +2 -2
- package/src/context/{workbenchToken.ts → dashboardToken.ts} +13 -13
- package/src/hooks/comlink/useWindowConnection.ts +1 -1
- package/src/hooks/{agent → dashboard}/useAgentResourceContext.ts +1 -1
- package/src/hooks/dashboard/useFavorite.test.tsx +101 -0
- package/src/hooks/dashboard/useFavorite.ts +34 -0
- package/src/hooks/dashboard/useFavoriteContext.ts +61 -0
- package/src/hooks/dashboard/{useDashboardNavigate.test.ts → useNavigate.test.ts} +3 -3
- package/src/hooks/dashboard/{useDashboardNavigate.ts → useNavigate.ts} +5 -5
- package/src/hooks/dashboard/useNavigateToStudioDocument.ts +2 -1
- package/src/hooks/{auth/useDashboardOrganizationId.test.tsx → dashboard/useOrganizationId.test.tsx} +4 -4
- package/src/hooks/{auth/useDashboardOrganizationId.tsx → dashboard/useOrganizationId.tsx} +2 -2
- package/src/hooks/dashboard/useUpdateFavorite.test.tsx +146 -0
- package/src/hooks/dashboard/useUpdateFavorite.ts +74 -0
- package/src/hooks/dashboard/useWindowTitle.ts +1 -1
- package/src/hooks/datasets/useDatasets.test.tsx +29 -22
- package/src/hooks/datasets/useDatasets.ts +31 -53
- package/src/hooks/dashboard/useManageFavorite.test.tsx +0 -379
- package/src/hooks/dashboard/useManageFavorite.ts +0 -173
- /package/src/hooks/{agent → dashboard}/useAgentResourceContext.test.tsx +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { AccessResourceType, ActionsResult, Application, ApplicationInclude, App
|
|
|
3
3
|
import "@sanity/sdk/_internal";
|
|
4
4
|
import React$1, { PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
5
5
|
import { FallbackProps } from "react-error-boundary";
|
|
6
|
-
import { CanvasResource, MediaResource,
|
|
6
|
+
import { CanvasResource, MediaResource, StudioResource } from "@sanity/message-protocol";
|
|
7
7
|
import { FrameMessage, WindowMessage } from "@sanity/sdk/comlink";
|
|
8
8
|
import "xstate";
|
|
9
9
|
import { AgentGenerateOptions, AgentPatchOptions, AgentPatchResult, AgentPromptOptions, AgentPromptResult, AgentTransformOptions, AgentTranslateOptions } from "@sanity/sdk/agent";
|
|
@@ -934,54 +934,6 @@ declare function useAgentPrompt(resourceHandle?: ResourceHandle): (options: Agen
|
|
|
934
934
|
* @category Agent Actions
|
|
935
935
|
*/
|
|
936
936
|
declare function useAgentPatch(resourceHandle?: ResourceHandle): (options: AgentPatchOptions) => Promise<AgentPatchResult>;
|
|
937
|
-
/**
|
|
938
|
-
* @public
|
|
939
|
-
*/
|
|
940
|
-
interface AgentResourceContextOptions {
|
|
941
|
-
/**
|
|
942
|
-
* The project ID of the current context
|
|
943
|
-
*/
|
|
944
|
-
projectId: string;
|
|
945
|
-
/**
|
|
946
|
-
* The dataset of the current context
|
|
947
|
-
*/
|
|
948
|
-
dataset: string;
|
|
949
|
-
/**
|
|
950
|
-
* Optional document ID if the user is viewing/editing a specific document
|
|
951
|
-
*/
|
|
952
|
-
documentId?: string;
|
|
953
|
-
}
|
|
954
|
-
/**
|
|
955
|
-
* @public
|
|
956
|
-
* Hook for emitting agent resource context updates to the Dashboard.
|
|
957
|
-
* This allows the Agent to understand what resource the user is currently
|
|
958
|
-
* interacting with (e.g., which document they're editing).
|
|
959
|
-
*
|
|
960
|
-
* The hook will automatically emit the context when it changes, and also
|
|
961
|
-
* emit the initial context when the hook is first mounted.
|
|
962
|
-
*
|
|
963
|
-
* @category Agent
|
|
964
|
-
* @param options - The resource context options containing projectId, dataset, and optional documentId
|
|
965
|
-
*
|
|
966
|
-
* @example
|
|
967
|
-
* ```tsx
|
|
968
|
-
* import {useAgentResourceContext} from '@sanity/sdk-react'
|
|
969
|
-
*
|
|
970
|
-
* function MyComponent() {
|
|
971
|
-
* const documentId = 'my-document-id'
|
|
972
|
-
*
|
|
973
|
-
* // Automatically updates the Agent's context whenever the document changes
|
|
974
|
-
* useAgentResourceContext({
|
|
975
|
-
* projectId: 'my-project',
|
|
976
|
-
* dataset: 'production',
|
|
977
|
-
* documentId,
|
|
978
|
-
* })
|
|
979
|
-
*
|
|
980
|
-
* return <div>Editing document: {documentId}</div>
|
|
981
|
-
* }
|
|
982
|
-
* ```
|
|
983
|
-
*/
|
|
984
|
-
declare function useAgentResourceContext(options: AgentResourceContextOptions): void;
|
|
985
937
|
/**
|
|
986
938
|
* Returns a single application by id.
|
|
987
939
|
*
|
|
@@ -1104,26 +1056,6 @@ type UseCurrentUser = {
|
|
|
1104
1056
|
* @TODO This should not return null — users of a custom app will always be authenticated via Core
|
|
1105
1057
|
*/
|
|
1106
1058
|
declare const useCurrentUser: UseCurrentUser;
|
|
1107
|
-
/**
|
|
1108
|
-
* @public
|
|
1109
|
-
*
|
|
1110
|
-
* A React hook that retrieves the dashboard organization ID that is currently selected in the Sanity Dashboard.
|
|
1111
|
-
*
|
|
1112
|
-
* @example
|
|
1113
|
-
* ```tsx
|
|
1114
|
-
* function DashboardComponent() {
|
|
1115
|
-
* const orgId = useDashboardOrganizationId()
|
|
1116
|
-
*
|
|
1117
|
-
* if (!orgId) return null
|
|
1118
|
-
*
|
|
1119
|
-
* return <div>Organization ID: {String(orgId)}</div>
|
|
1120
|
-
* }
|
|
1121
|
-
* ```
|
|
1122
|
-
*
|
|
1123
|
-
* @category Dashboard
|
|
1124
|
-
* @returns The dashboard organization ID (string | undefined)
|
|
1125
|
-
*/
|
|
1126
|
-
declare function useDashboardOrganizationId(): string | undefined;
|
|
1127
1059
|
/**
|
|
1128
1060
|
* @internal
|
|
1129
1061
|
* A React hook that returns a function for handling authentication callbacks.
|
|
@@ -1296,7 +1228,7 @@ interface WindowConnection<TMessage extends WindowMessage> {
|
|
|
1296
1228
|
* as well as sharing a single node between invocations if they share the same name.
|
|
1297
1229
|
*
|
|
1298
1230
|
* Generally not to be used directly, but to be used as a dependency of
|
|
1299
|
-
* Comlink-powered hooks like `
|
|
1231
|
+
* Comlink-powered hooks like `useStudioWorkspacesByProjectIdDataset`.
|
|
1300
1232
|
*/
|
|
1301
1233
|
declare function useWindowConnection<TWindowMessage extends WindowMessage, TFrameMessage extends FrameMessage>({ name, connectTo, onMessage }: UseWindowConnectionOptions<TFrameMessage>): WindowConnection<TWindowMessage>;
|
|
1302
1234
|
/**
|
|
@@ -1506,55 +1438,12 @@ declare function useResource(): DocumentResource | undefined;
|
|
|
1506
1438
|
*/
|
|
1507
1439
|
declare const useSanityInstance: () => SanityInstance;
|
|
1508
1440
|
/**
|
|
1509
|
-
* @
|
|
1510
|
-
*
|
|
1511
|
-
* A helper hook designed to be injected into routing components for apps within the Dashboard.
|
|
1512
|
-
* While the Dashboard can usually handle navigation, there are special cases when you
|
|
1513
|
-
* are already within a target app, and need to navigate to another route inside of that app.
|
|
1514
|
-
*
|
|
1515
|
-
* For example, your user might "favorite" a document inside of your application.
|
|
1516
|
-
* If they click on the Dashboard favorites item in the sidebar, and are already within your application,
|
|
1517
|
-
* there needs to be some way for the dashboard to signal to your application to reroute to where that document was favorited.
|
|
1441
|
+
* Props shared by {@link useFavorite} and {@link useUpdateFavorite}: a document
|
|
1442
|
+
* handle plus the resource it lives in.
|
|
1518
1443
|
*
|
|
1519
|
-
*
|
|
1520
|
-
*
|
|
1521
|
-
* @param navigateFn - Function to handle navigation; should accept:
|
|
1522
|
-
* - `path`: a string, which will be a relative path (for example, 'my-route')
|
|
1523
|
-
* - `type`: 'push', 'replace', or 'pop', which will be the type of navigation to perform
|
|
1524
|
-
*
|
|
1525
|
-
* @example
|
|
1526
|
-
* ```tsx
|
|
1527
|
-
* import {useDashboardNavigate} from '@sanity/sdk-react'
|
|
1528
|
-
* import {BrowserRouter, useNavigate} from 'react-router'
|
|
1529
|
-
* import {Suspense} from 'react'
|
|
1530
|
-
*
|
|
1531
|
-
* function DashboardNavigationHandler() {
|
|
1532
|
-
* const navigate = useNavigate()
|
|
1533
|
-
* useDashboardNavigate(({path, type}) => {
|
|
1534
|
-
* navigate(path, {replace: type === 'replace'})
|
|
1535
|
-
* })
|
|
1536
|
-
* return null
|
|
1537
|
-
* }
|
|
1538
|
-
*
|
|
1539
|
-
* // Wrap the component with Suspense since the hook may suspend
|
|
1540
|
-
* function MyApp() {
|
|
1541
|
-
* return (
|
|
1542
|
-
* <BrowserRouter>
|
|
1543
|
-
* <Suspense>
|
|
1544
|
-
* <DashboardNavigationHandler />
|
|
1545
|
-
* </Suspense>
|
|
1546
|
-
* </BrowserRouter>
|
|
1547
|
-
* )
|
|
1548
|
-
* }
|
|
1549
|
-
* ```
|
|
1444
|
+
* @internal
|
|
1550
1445
|
*/
|
|
1551
|
-
|
|
1552
|
-
interface ManageFavorite extends FavoriteStatusResponse {
|
|
1553
|
-
favorite: () => Promise<void>;
|
|
1554
|
-
unfavorite: () => Promise<void>;
|
|
1555
|
-
isFavorited: boolean;
|
|
1556
|
-
}
|
|
1557
|
-
interface UseManageFavoriteProps extends DocumentHandle$1 {
|
|
1446
|
+
interface UseFavoriteProps extends DocumentHandle$1 {
|
|
1558
1447
|
resourceId?: string;
|
|
1559
1448
|
resourceType: StudioResource['type'] | MediaResource['type'] | CanvasResource['type'];
|
|
1560
1449
|
/**
|
|
@@ -1566,101 +1455,26 @@ interface UseManageFavoriteProps extends DocumentHandle$1 {
|
|
|
1566
1455
|
/**
|
|
1567
1456
|
* @internal
|
|
1568
1457
|
*
|
|
1569
|
-
*
|
|
1570
|
-
*
|
|
1571
|
-
* @param documentHandle - The document handle containing document ID and type, like `{_id: '123', _type: 'book'}`
|
|
1572
|
-
* @returns An object containing:
|
|
1573
|
-
* - `favorite` - Function to add document to favorites
|
|
1574
|
-
* - `unfavorite` - Function to remove document from favorites
|
|
1575
|
-
* - `isFavorited` - Boolean indicating if document is currently favorited
|
|
1576
|
-
*
|
|
1577
|
-
* @example
|
|
1578
|
-
* ```tsx
|
|
1579
|
-
* function FavoriteButton(props: DocumentActionProps) {
|
|
1580
|
-
* const {documentId, documentType} = props
|
|
1581
|
-
* const {favorite, unfavorite, isFavorited} = useManageFavorite({
|
|
1582
|
-
* documentId,
|
|
1583
|
-
* documentType
|
|
1584
|
-
* })
|
|
1585
|
-
*
|
|
1586
|
-
* return (
|
|
1587
|
-
* <Button
|
|
1588
|
-
* onClick={() => isFavorited ? unfavorite() : favorite()}
|
|
1589
|
-
* text={isFavorited ? 'Remove from favorites' : 'Add to favorites'}
|
|
1590
|
-
* />
|
|
1591
|
-
* )
|
|
1592
|
-
* }
|
|
1593
|
-
*
|
|
1594
|
-
* // Wrap the component with Suspense since the hook may suspend
|
|
1595
|
-
* function MyDocumentAction(props: DocumentActionProps) {
|
|
1596
|
-
* return (
|
|
1597
|
-
* <Suspense
|
|
1598
|
-
* fallback={
|
|
1599
|
-
* <Button
|
|
1600
|
-
* text="Loading..."
|
|
1601
|
-
* disabled
|
|
1602
|
-
* />
|
|
1603
|
-
* }
|
|
1604
|
-
* >
|
|
1605
|
-
* <FavoriteButton {...props} />
|
|
1606
|
-
* </Suspense>
|
|
1607
|
-
* )
|
|
1608
|
-
* }
|
|
1609
|
-
* ```
|
|
1610
|
-
*/
|
|
1611
|
-
declare function useManageFavorite({ documentId, documentType, projectId: paramProjectId, dataset: paramDataset, resourceId: paramResourceId, resourceType, schemaName }: UseManageFavoriteProps): ManageFavorite;
|
|
1612
|
-
/**
|
|
1613
|
-
* @public
|
|
1614
|
-
* @category Types
|
|
1615
|
-
*/
|
|
1616
|
-
interface NavigateToStudioResult {
|
|
1617
|
-
navigateToStudioDocument: () => void;
|
|
1618
|
-
}
|
|
1619
|
-
/**
|
|
1620
|
-
* @public
|
|
1621
|
-
*
|
|
1622
|
-
* Hook that provides a function to navigate to a given document in its parent Studio.
|
|
1458
|
+
* Reads whether a document is currently favorited. The write-side counterpart is
|
|
1459
|
+
* {@link useUpdateFavorite}.
|
|
1623
1460
|
*
|
|
1624
|
-
*
|
|
1625
|
-
*
|
|
1461
|
+
* The hook suspends until the first favorite status resolves, so wrap the
|
|
1462
|
+
* component in a `<Suspense>` boundary.
|
|
1626
1463
|
*
|
|
1627
|
-
* @
|
|
1628
|
-
*
|
|
1629
|
-
*
|
|
1630
|
-
* @category Documents
|
|
1631
|
-
* @param documentHandle - The document handle for the document to navigate to
|
|
1632
|
-
* @param preferredStudioUrl - The preferred studio url to navigate to if you have multiple
|
|
1633
|
-
* studios with the same projectId and dataset
|
|
1634
|
-
* @returns An object containing:
|
|
1635
|
-
* - `navigateToStudioDocument` - Function that when called will navigate to the studio document
|
|
1464
|
+
* @param props - The document handle plus the resource it lives in.
|
|
1465
|
+
* @returns `true` when the document is favorited, otherwise `false`.
|
|
1636
1466
|
*
|
|
1637
1467
|
* @example
|
|
1638
1468
|
* ```tsx
|
|
1639
|
-
*
|
|
1640
|
-
*
|
|
1641
|
-
*
|
|
1642
|
-
*
|
|
1643
|
-
* function NavigateButton({documentHandle}: {documentHandle: DocumentHandle}) {
|
|
1644
|
-
* const {navigateToStudioDocument} = useNavigateToStudioDocument(documentHandle)
|
|
1645
|
-
* return (
|
|
1646
|
-
* <Button
|
|
1647
|
-
* onClick={navigateToStudioDocument}
|
|
1648
|
-
* text="Navigate to Studio Document"
|
|
1649
|
-
* />
|
|
1650
|
-
* )
|
|
1651
|
-
* }
|
|
1469
|
+
* function FavoriteLabel(props: DocumentActionProps) {
|
|
1470
|
+
* const {documentId, documentType} = props
|
|
1471
|
+
* const isFavorited = useFavorite({documentId, documentType, resourceType: 'studio'})
|
|
1652
1472
|
*
|
|
1653
|
-
*
|
|
1654
|
-
* function MyDocumentAction({documentHandle}: {documentHandle: DocumentHandle}) {
|
|
1655
|
-
* return (
|
|
1656
|
-
* <Suspense fallback={<Button text="Loading..." disabled />}>
|
|
1657
|
-
* <NavigateButton documentHandle={documentHandle} />
|
|
1658
|
-
* </Suspense>
|
|
1659
|
-
* )
|
|
1473
|
+
* return <span>{isFavorited ? 'Favorited' : 'Not favorited'}</span>
|
|
1660
1474
|
* }
|
|
1661
1475
|
* ```
|
|
1662
1476
|
*/
|
|
1663
|
-
declare function
|
|
1477
|
+
declare function useFavorite(props: UseFavoriteProps): boolean;
|
|
1664
1478
|
interface DocumentInteractionHistory {
|
|
1665
1479
|
recordEvent: (eventType: 'viewed' | 'edited' | 'created' | 'deleted') => void;
|
|
1666
1480
|
}
|
|
@@ -1772,82 +1586,93 @@ interface StudioWorkspacesResult {
|
|
|
1772
1586
|
*/
|
|
1773
1587
|
declare function useStudioWorkspacesByProjectIdDataset(): StudioWorkspacesResult;
|
|
1774
1588
|
/**
|
|
1775
|
-
*
|
|
1776
|
-
* from the manifest.
|
|
1589
|
+
* The value returned by {@link useUpdateFavorite}.
|
|
1777
1590
|
*
|
|
1778
|
-
*
|
|
1779
|
-
|
|
1591
|
+
* @internal
|
|
1592
|
+
*/
|
|
1593
|
+
interface UpdateFavorite {
|
|
1594
|
+
/** Adds the document to favorites. */
|
|
1595
|
+
favorite: () => Promise<FavoriteStatusResponse>;
|
|
1596
|
+
/** Removes the document from favorites. */
|
|
1597
|
+
unfavorite: () => Promise<FavoriteStatusResponse>;
|
|
1598
|
+
/** A favorite or unfavorite mutation is currently in flight. */
|
|
1599
|
+
isPending: boolean;
|
|
1600
|
+
/** The most recent failure; cleared by the next call or `reset`. */
|
|
1601
|
+
error: unknown;
|
|
1602
|
+
/** Clears error and pending state back to idle. */
|
|
1603
|
+
reset: () => void;
|
|
1604
|
+
}
|
|
1605
|
+
/**
|
|
1606
|
+
* @internal
|
|
1780
1607
|
*
|
|
1781
|
-
*
|
|
1782
|
-
*
|
|
1608
|
+
* Adds or removes a document from favorites. The read-side counterpart is
|
|
1609
|
+
* {@link useFavorite}, which reflects the change once the mutation settles.
|
|
1783
1610
|
*
|
|
1784
|
-
*
|
|
1611
|
+
* Unlike {@link useFavorite}, this hook does not suspend.
|
|
1785
1612
|
*
|
|
1786
|
-
* @param
|
|
1613
|
+
* @param props - The document handle plus the resource it lives in.
|
|
1614
|
+
* @returns `favorite`/`unfavorite` actions and the `{isPending, error, reset}`
|
|
1615
|
+
* mutation state.
|
|
1787
1616
|
*
|
|
1788
1617
|
* @example
|
|
1789
1618
|
* ```tsx
|
|
1790
|
-
*
|
|
1619
|
+
* function FavoriteButton(props: DocumentActionProps) {
|
|
1620
|
+
* const {documentId, documentType} = props
|
|
1621
|
+
* const handle = {documentId, documentType, resourceType: 'studio'} as const
|
|
1622
|
+
* const isFavorited = useFavorite(handle)
|
|
1623
|
+
* const {favorite, unfavorite, isPending} = useUpdateFavorite(handle)
|
|
1791
1624
|
*
|
|
1792
|
-
*
|
|
1793
|
-
*
|
|
1794
|
-
*
|
|
1625
|
+
* return (
|
|
1626
|
+
* <Button
|
|
1627
|
+
* disabled={isPending}
|
|
1628
|
+
* onClick={() => (isFavorited ? unfavorite() : favorite())}
|
|
1629
|
+
* text={isFavorited ? 'Remove from favorites' : 'Add to favorites'}
|
|
1630
|
+
* />
|
|
1631
|
+
* )
|
|
1795
1632
|
* }
|
|
1796
1633
|
*
|
|
1797
|
-
* //
|
|
1634
|
+
* // Wrap the component with Suspense since useFavorite suspends
|
|
1635
|
+
* function MyDocumentAction(props: DocumentActionProps) {
|
|
1636
|
+
* return (
|
|
1637
|
+
* <Suspense fallback={<Button text="Loading..." disabled />}>
|
|
1638
|
+
* <FavoriteButton {...props} />
|
|
1639
|
+
* </Suspense>
|
|
1640
|
+
* )
|
|
1641
|
+
* }
|
|
1798
1642
|
* ```
|
|
1643
|
+
*/
|
|
1644
|
+
declare function useUpdateFavorite(props: UseFavoriteProps): UpdateFavorite;
|
|
1645
|
+
/**
|
|
1646
|
+
* Returns metadata for each dataset the current user has access to.
|
|
1647
|
+
*
|
|
1648
|
+
* @category Datasets
|
|
1649
|
+
* @param options - Optional project/resource to read datasets for. Defaults to
|
|
1650
|
+
* the resource named in `ResourceProvider`/`SDKProvider`.
|
|
1651
|
+
* @returns A {@link FetcherHookResult} whose `data` is the metadata for the
|
|
1652
|
+
* datasets.
|
|
1799
1653
|
*
|
|
1800
1654
|
* @example
|
|
1801
1655
|
* ```tsx
|
|
1802
|
-
*
|
|
1803
|
-
* function AppRoot() {
|
|
1804
|
-
* useWindowTitle()
|
|
1805
|
-
* return <Outlet />
|
|
1806
|
-
* }
|
|
1656
|
+
* const {data: datasets} = useDatasets()
|
|
1807
1657
|
*
|
|
1808
|
-
*
|
|
1658
|
+
* return (
|
|
1659
|
+
* <select>
|
|
1660
|
+
* {datasets.map((dataset) => (
|
|
1661
|
+
* <option key={dataset.name}>{dataset.name}</option>
|
|
1662
|
+
* ))}
|
|
1663
|
+
* </select>
|
|
1664
|
+
* )
|
|
1809
1665
|
* ```
|
|
1810
1666
|
*
|
|
1667
|
+
* @remarks
|
|
1668
|
+
* The `projectId` is resolved in order from:
|
|
1669
|
+
* 1. an explicit `projectId` option
|
|
1670
|
+
* 2. A legacy ProjectContext (e.g. a `<ResourceProvider projectId="…">` with no dataset), then
|
|
1671
|
+
* 3. The active resource (`ResourceProvider`/`SDKProvider`)
|
|
1672
|
+
* 4. `instance.config`.
|
|
1811
1673
|
* @public
|
|
1812
1674
|
*/
|
|
1813
|
-
declare function
|
|
1814
|
-
type UseDatasets = {
|
|
1815
|
-
/**
|
|
1816
|
-
*
|
|
1817
|
-
* Returns metadata for each dataset the current user has access to.
|
|
1818
|
-
*
|
|
1819
|
-
* @category Datasets
|
|
1820
|
-
* @param options - Optional project/resource to read datasets for. Defaults to
|
|
1821
|
-
* the resource named in `ResourceProvider`/`SDKProvider`.
|
|
1822
|
-
* @returns The metadata for your the datasets
|
|
1823
|
-
*
|
|
1824
|
-
* @example
|
|
1825
|
-
* ```tsx
|
|
1826
|
-
* const datasets = useDatasets()
|
|
1827
|
-
*
|
|
1828
|
-
* return (
|
|
1829
|
-
* <select>
|
|
1830
|
-
* {datasets.map((dataset) => (
|
|
1831
|
-
* <option key={dataset.name}>{dataset.name}</option>
|
|
1832
|
-
* ))}
|
|
1833
|
-
* </select>
|
|
1834
|
-
* )
|
|
1835
|
-
* ```
|
|
1836
|
-
*
|
|
1837
|
-
* @remarks
|
|
1838
|
-
* The `projectId` is resolved in order from:
|
|
1839
|
-
* 1. an explicit `projectId` option
|
|
1840
|
-
* 2. A legacy ProjectContext (e.g. a `<ResourceProvider projectId="…">` with no dataset), then
|
|
1841
|
-
* 3. The active resource (`ResourceProvider`/`SDKProvider`)
|
|
1842
|
-
* 4. `instance.config`.
|
|
1843
|
-
*/
|
|
1844
|
-
(options?: ProjectHandle): DatasetsResponse$1;
|
|
1845
|
-
};
|
|
1846
|
-
/**
|
|
1847
|
-
* @public
|
|
1848
|
-
* @function
|
|
1849
|
-
*/
|
|
1850
|
-
declare const useDatasets: UseDatasets;
|
|
1675
|
+
declare function useDatasets(options?: ProjectHandle): FetcherHookResult<DatasetsResponse$1>;
|
|
1851
1676
|
/**
|
|
1852
1677
|
* @public
|
|
1853
1678
|
*/
|
|
@@ -3674,5 +3499,5 @@ declare function useUsers(options?: GetUsersOptions): UsersResult;
|
|
|
3674
3499
|
* @internal
|
|
3675
3500
|
*/
|
|
3676
3501
|
declare const REACT_SDK_VERSION: {};
|
|
3677
|
-
export {
|
|
3502
|
+
export { AuthBoundary, type AuthBoundaryProps, type Status as ComlinkStatus, ComlinkTokenRefreshProvider, type CommentActions, type CreateDocumentOverrides, type DatasetsResponse, type DocumentHandle, type DocumentTypeHandle, type DocumentsOptions, type DocumentsResponse, type FetcherHookResult, type FrameConnection, type FrameMessageHandler as MessageHandler, type MutationHookResult, type PaginatedDocumentsOptions, type PaginatedDocumentsResponse, REACT_SDK_VERSION, type ResourceHandle, ResourceProvider, type ResourceProviderProps, SDKProvider, type SDKProviderProps, SDKStudioContext, SanityApp, type SanityAppProps, type SanityDocument, SanityInstanceProvider, type SanityInstanceProviderProps, type SanityProjectMember, type SortOrderingItem, type StudioWorkspaceHandle, type UseCommentThreadsResult, type UseCommentsResult, type UseFrameConnectionOptions, type UsePresenceForDocumentOptions, type UseReportPresenceOptions, type UseWindowConnectionOptions, type UserResult, type UsersResult, type WindowConnection, type WindowMessageHandler, renderSanityApp, useActiveReleases, useAgentGenerate, useAgentPatch, useAgentPrompt, useAgentTransform, useAgentTranslate, useAllReleases, useApplication, useApplications, useApplyDocumentActions, useApplyReleaseActions, useAuthState, useAuthToken, useCheckPermissions, useClient, useCommentActions, useCommentThreads, useComments, useCreateDocument, useCurrentUser, useDatasets, useDeleteApplication, useDocument, useDocumentEvent, useDocumentPermissions, useDocumentPreview, type useDocumentPreviewOptions, type useDocumentPreviewResults, useDocumentProjection, type useDocumentProjectionOptions, type useDocumentProjectionResults, useDocumentSyncStatus, useDocuments, useEditDocument, useFavorite, useFrameConnection, useHandleAuthCallback, useInstallation, useInstallations, useLogOut, useLoginUrl, useOrganization, useOrganizations, usePaginatedDocuments, usePerspective, usePresence, usePresenceForDocument, useProject, useProjects, useQuery, useRecordDocumentHistoryEvent, useReportPresence, useResource, useSanityInstance, useStudioWorkspacesByProjectIdDataset, useUpdateApplication, useUpdateFavorite, useUser, useUsers, useVerifyOrgProjects, useWindowConnection };
|
|
3678
3503
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/components/auth/LoginError.tsx","../src/components/auth/AuthBoundary.tsx","../src/components/SanityApp.tsx","../src/components/SDKProvider.tsx","../src/config/handles.ts","../src/context/ComlinkTokenRefresh.tsx","../src/context/renderSanityApp.tsx","../src/context/ResourceProvider.tsx","../src/context/SanityInstanceProvider.tsx","../src/context/SDKStudioContext.ts","../src/hooks/helpers/createFetcherHook.ts","../src/hooks/access/useCheckPermissions.ts","../src/hooks/agent/agentActions.ts","../src/hooks/agent/useAgentResourceContext.ts","../src/hooks/applications/useApplication.ts","../src/hooks/applications/useApplications.ts","../src/hooks/helpers/createMutationHook.tsx","../src/hooks/applications/useDeleteApplication.ts","../src/hooks/applications/useUpdateApplication.ts","../src/hooks/auth/useAuthState.tsx","../src/hooks/auth/useAuthToken.tsx","../src/hooks/auth/useCurrentUser.tsx","../src/hooks/auth/useDashboardOrganizationId.tsx","../src/hooks/auth/useHandleAuthCallback.tsx","../src/hooks/auth/useLoginUrl.tsx","../src/hooks/auth/useLogOut.tsx","../src/hooks/auth/useVerifyOrgProjects.tsx","../src/hooks/client/useClient.ts","../../../node_modules/.pnpm/@sanity+comlink@4.0.3/node_modules/@sanity/comlink/dist/index.d.ts","../src/hooks/comlink/useFrameConnection.ts","../src/hooks/comlink/useWindowConnection.ts","../src/hooks/helpers/useNormalizedResourceOptions.ts","../src/hooks/comments/useCommentActions.ts","../src/hooks/comments/useComments.ts","../src/hooks/comments/useCommentThreads.ts","../src/hooks/context/useResource.ts","../src/hooks/context/useSanityInstance.ts","../src/hooks/dashboard/useDashboardNavigate.ts","../src/hooks/dashboard/useManageFavorite.ts","../src/hooks/dashboard/useNavigateToStudioDocument.ts","../src/hooks/dashboard/useRecordDocumentHistoryEvent.ts","../src/hooks/dashboard/useStudioWorkspacesByProjectIdDataset.ts","../src/hooks/dashboard/useWindowTitle.ts","../src/hooks/datasets/useDatasets.ts","../src/hooks/document/useApplyDocumentActions.ts","../src/hooks/document/useCreateDocument.ts","../src/hooks/document/useDocument.ts","../src/hooks/document/useDocumentEvent.ts","../src/hooks/document/useDocumentPermissions.ts","../src/hooks/document/useDocumentSyncStatus.ts","../src/hooks/document/useEditDocument.ts","../src/hooks/documents/useDocuments.ts","../src/hooks/installations/useInstallation.ts","../src/hooks/installations/useInstallations.ts","../src/hooks/organizations/useOrganization.ts","../src/hooks/organizations/useOrganizations.ts","../src/hooks/paginatedDocuments/usePaginatedDocuments.ts","../src/hooks/presence/usePresence.ts","../src/hooks/presence/usePresenceForDocument.ts","../src/hooks/presence/useReportPresence.ts","../src/hooks/preview/useDocumentPreview.tsx","../src/hooks/projection/useDocumentProjection.ts","../src/hooks/projects/useProject.ts","../src/hooks/projects/useProjects.ts","../src/hooks/query/useQuery.ts","../src/hooks/releases/useActiveReleases.ts","../src/hooks/releases/useAllReleases.ts","../src/hooks/releases/useApplyReleaseActions.ts","../src/hooks/releases/usePerspective.ts","../src/hooks/users/useUser.ts","../src/hooks/users/useUsers.ts","../src/version.ts"],"x_google_ignoreList":[28],"mappings":";;;;;;;;;;;;;;;KAoBY,kBAAkB;;;;UCmBb;;;;;EAKf,iBAAiB,MAAM;IACrB,SAAS,MAAM;IACf,SAAS,MAAM;;;;;;EAOjB,oBAAoB,MAAM;IACxB,SAAS,MAAM;IACf,SAAS,MAAM;;;;;;;EAQjB,sBAAsB,MAAM,cAAc;;EAG1C,SAAS,MAAM;;;;EAKf;;EAGA,SAAS,MAAM;;EAGf,WAAW,MAAM;;;;;;;;EASjB;;;;;;;;;;;;;;;;;;;;;;;iBAwBc,eACd,wBACG,SACF,oBAAoB,MAAM;;;;;UCrGZ;;;;;;;EAOf,SAAS,eAAe;EACxB,YAAY,eAAe;EAC3B,UAAU,MAAM;EAEhB,UAAU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6B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;;iBAmCc,QAAQ,SAAS,iBAAiB;;;;;UCpCjC;;;;EAIf,MAAM;;;;EAIN;;;;EAKA;;;;EAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0Dc,SAAS,UAAU,kBAAkB;;;;;cCtFxC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/components/auth/LoginError.tsx","../src/components/auth/AuthBoundary.tsx","../src/components/SanityApp.tsx","../src/components/SDKProvider.tsx","../src/config/handles.ts","../src/context/ComlinkTokenRefresh.tsx","../src/context/renderSanityApp.tsx","../src/context/ResourceProvider.tsx","../src/context/SanityInstanceProvider.tsx","../src/context/SDKStudioContext.ts","../src/hooks/helpers/createFetcherHook.ts","../src/hooks/access/useCheckPermissions.ts","../src/hooks/agent/agentActions.ts","../src/hooks/applications/useApplication.ts","../src/hooks/applications/useApplications.ts","../src/hooks/helpers/createMutationHook.tsx","../src/hooks/applications/useDeleteApplication.ts","../src/hooks/applications/useUpdateApplication.ts","../src/hooks/auth/useAuthState.tsx","../src/hooks/auth/useAuthToken.tsx","../src/hooks/auth/useCurrentUser.tsx","../src/hooks/auth/useHandleAuthCallback.tsx","../src/hooks/auth/useLoginUrl.tsx","../src/hooks/auth/useLogOut.tsx","../src/hooks/auth/useVerifyOrgProjects.tsx","../src/hooks/client/useClient.ts","../../../node_modules/.pnpm/@sanity+comlink@4.0.3/node_modules/@sanity/comlink/dist/index.d.ts","../src/hooks/comlink/useFrameConnection.ts","../src/hooks/comlink/useWindowConnection.ts","../src/hooks/helpers/useNormalizedResourceOptions.ts","../src/hooks/comments/useCommentActions.ts","../src/hooks/comments/useComments.ts","../src/hooks/comments/useCommentThreads.ts","../src/hooks/context/useResource.ts","../src/hooks/context/useSanityInstance.ts","../src/hooks/dashboard/useFavoriteContext.ts","../src/hooks/dashboard/useFavorite.ts","../src/hooks/dashboard/useRecordDocumentHistoryEvent.ts","../src/hooks/dashboard/useStudioWorkspacesByProjectIdDataset.ts","../src/hooks/dashboard/useUpdateFavorite.ts","../src/hooks/datasets/useDatasets.ts","../src/hooks/document/useApplyDocumentActions.ts","../src/hooks/document/useCreateDocument.ts","../src/hooks/document/useDocument.ts","../src/hooks/document/useDocumentEvent.ts","../src/hooks/document/useDocumentPermissions.ts","../src/hooks/document/useDocumentSyncStatus.ts","../src/hooks/document/useEditDocument.ts","../src/hooks/documents/useDocuments.ts","../src/hooks/installations/useInstallation.ts","../src/hooks/installations/useInstallations.ts","../src/hooks/organizations/useOrganization.ts","../src/hooks/organizations/useOrganizations.ts","../src/hooks/paginatedDocuments/usePaginatedDocuments.ts","../src/hooks/presence/usePresence.ts","../src/hooks/presence/usePresenceForDocument.ts","../src/hooks/presence/useReportPresence.ts","../src/hooks/preview/useDocumentPreview.tsx","../src/hooks/projection/useDocumentProjection.ts","../src/hooks/projects/useProject.ts","../src/hooks/projects/useProjects.ts","../src/hooks/query/useQuery.ts","../src/hooks/releases/useActiveReleases.ts","../src/hooks/releases/useAllReleases.ts","../src/hooks/releases/useApplyReleaseActions.ts","../src/hooks/releases/usePerspective.ts","../src/hooks/users/useUser.ts","../src/hooks/users/useUsers.ts","../src/version.ts"],"x_google_ignoreList":[26],"mappings":";;;;;;;;;;;;;;;KAoBY,kBAAkB;;;;UCmBb;;;;;EAKf,iBAAiB,MAAM;IACrB,SAAS,MAAM;IACf,SAAS,MAAM;;;;;;EAOjB,oBAAoB,MAAM;IACxB,SAAS,MAAM;IACf,SAAS,MAAM;;;;;;;EAQjB,sBAAsB,MAAM,cAAc;;EAG1C,SAAS,MAAM;;;;EAKf;;EAGA,SAAS,MAAM;;EAGf,WAAW,MAAM;;;;;;;;EASjB;;;;;;;;;;;;;;;;;;;;;;;iBAwBc,eACd,wBACG,SACF,oBAAoB,MAAM;;;;;UCrGZ;;;;;;;EAOf,SAAS,eAAe;EACxB,YAAY,eAAe;EAC3B,UAAU,MAAM;EAEhB,UAAU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6B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