@forge/bridge
7.2.2-next.0-experimental-1e956967.3.0-next.4
out/types.d.ts~
out/types.d.tsModified+14
Index: package/out/types.d.ts
===================================================================
--- package/out/types.d.ts
+++ package/out/types.d.ts
@@ -106,6 +106,20 @@
external?: External;
}
export type ForgeRequestInit = Omit<RequestInit, 'signal'>;
export type FetchType = 'remote' | 'product';
+/**
+ * Target of a product request. Either a REST path (resolved against the current product context),
+ * or an object naming the path and, optionally, the context ARI to route the request to.
+ */
+export type RequestTarget = string | {
+ path: string;
+ /**
+ * ARI of the product context (e.g. a Jira or Confluence site) to route the request to.
+ * Used by apps installed in a unit to target one of their connected contexts.
+ *
+ * @example 'ari:cloud:jira::site/ffffffff-ffff-ffff-ffff-ffffffffffff'
+ */
+ contextAri?: string;
+};
export {};
//# sourceMappingURL=types.d.ts.map
\ No newline at end of file