Rhys SullivanFix plugin API org scoping6467d1e4 months agoHistory
13 lines · 481 B · TypeScript
RawDownload
import { createPluginAtomClient } from "@executor-js/sdk/client";import {  getExecutorOrganizationHeaders,  getExecutorApiBaseUrl,  getExecutorServerAuthorizationHeader,} from "@executor-js/react/api/server-connection";import { OpenApiGroup } from "../api/group"; export const OpenApiClient = createPluginAtomClient(OpenApiGroup, {  baseUrl: getExecutorApiBaseUrl,  authorizationHeader: getExecutorServerAuthorizationHeader,  headers: getExecutorOrganizationHeaders,});