feat(integrations): add app linking (#4338)
This commit is contained in:
@@ -10,6 +10,7 @@ import { createCachedRequestHandler } from "./cached-request-handler";
|
||||
type IntegrationOfKind<TKind extends IntegrationKind> = Omit<Integration, "kind"> & {
|
||||
kind: TKind;
|
||||
decryptedSecrets: Modify<Pick<IntegrationSecret, "kind" | "value">, { value: string }>[];
|
||||
externalUrl: string | null;
|
||||
};
|
||||
|
||||
interface Options<TData, TKind extends IntegrationKind, TInput extends Record<string, unknown>> {
|
||||
|
||||
@@ -96,6 +96,7 @@ export const createRequestIntegrationJobHandler = <
|
||||
...integration,
|
||||
kind: integration.kind as TIntegrationKind,
|
||||
decryptedSecrets,
|
||||
externalUrl: integration.app?.href ?? null,
|
||||
},
|
||||
input,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user