freeboard
    Preparing search index...

    Function resolveGatewayIntrospection

    • Parameters

      • __namedParameters: {
            dashboard: DashboardLike;
            datasourceId: unknown;
            tokenClaims: DatasourceSessionTokenClaims;
            decryptSecret: (value: unknown) => Record<string, unknown>;
        }

      Returns Promise<
          | {
              dashboardId: string
              | null;
              datasourceId: string | null;
              credentialProfileId: string | null;
              scope: string;
              intent: {
                  protocol: string;
                  url: string;
                  method: string;
                  body: string | null;
                  parser: string;
                  timeoutMs: number;
                  headers: {};
              };
          }
          | {
              dashboardId: string
              | null;
              datasourceId: string | null;
              credentialProfileId: {} | null;
              scope: string;
              intent:
                  | {
                      protocol: "sse"
                      | "websocket";
                      url: string;
                      parser: string;
                      headers: Record<string, string>;
                      idleTimeoutMs: number;
                      protocols: string[];
                      authPlacement: string;
                  }
                  | {
                      protocol: string;
                      brokerProfileId: string
                      | null;
                      brokerUrl: string;
                      topic: string;
                      qos: number;
                      parser: string;
                      keepaliveSeconds: number;
                      tls: object | null;
                      topicAllowlist: any[];
                      username: string | null;
                      password: string | null;
                  };
          },
      >