+
+ Intent Dispatch Demo
+
+
+
+ This route demonstrates dispatching intents for documents from both a traditional dataset
+ and a media library source.
+
+
+ {isLoading && (
+
+
+
+ Loading documents...
+
+
+ )}
+
+
+
+ Dataset Document Intent
+
+
+ Project: {PROJECT_ID} | Dataset: {DATASET}
+
+
+
+ Document ID: {firstDocument?._id}
+
+
+ Document Type: {firstDocument?._type}
+
+
+
+
+
+
+
+ Media Library Asset Intent
+
+
+ Media Library ID: {MEDIA_LIBRARY_ID}
+
+
+
+ Asset ID: {firstAsset?._id}
+
+
+ Asset Type: {firstAsset?._type}
+
+
+
+
+
+ )
+}
+
+export function IntentsRoute(): JSX.Element {
+ return (
+