feat: reuse authentication for all HTTP integrations
This commit is contained in:
1 parent
879a4ae23c
commit
901fd3d940
36 files changed
+830
-295
No files matched your search
@@ -725,3 +725,8 @@ export const integrationCategories = [
|
||||
] as const;
|
||||
|
||||
export type IntegrationCategory = (typeof integrationCategories)[number];
|
||||
|
||||
/** Integrations whose configured connection can serve HTTP requests. */
|
||||
export function isHttpIntegrationKind(kind: string): kind is Exclude<IntegrationKind, "truenas" | "mock"> {
|
||||
return Object.hasOwn(integrationDefs, kind) && kind !== "truenas" && kind !== "mock";
|
||||
}
|
||||
Reference in new issue
Block a user