@executor-js/plugin-openapi 0.0.1-beta.5 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/api/group.d.ts +17 -1
- package/dist/{chunk-C57CSNPZ.js → chunk-KPGROAQO.js} +287 -201
- package/dist/chunk-KPGROAQO.js.map +1 -0
- package/dist/core.js +46 -2
- package/dist/core.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/promise.d.ts +1 -1
- package/dist/react/AddOpenApiSource.d.ts +1 -0
- package/dist/react/index.d.ts +1 -1
- package/dist/sdk/config-file-store.d.ts +10 -0
- package/dist/sdk/index.d.ts +5 -4
- package/dist/sdk/invoke.d.ts +1 -1
- package/dist/sdk/kv-operation-store.d.ts +1 -1
- package/dist/sdk/operation-store.d.ts +6 -3
- package/dist/sdk/plugin.d.ts +12 -2
- package/dist/sdk/preview.d.ts +39 -0
- package/dist/sdk/stored-source.d.ts +51 -0
- package/package.json +33 -31
- package/dist/chunk-C57CSNPZ.js.map +0 -1
package/README.md
CHANGED
|
@@ -70,7 +70,7 @@ import { openApiPresets } from "@executor/plugin-openapi/presets";
|
|
|
70
70
|
If you're using `@executor/core` directly, import from the `/core` subpath:
|
|
71
71
|
|
|
72
72
|
```ts
|
|
73
|
-
import { openApiPlugin } from "@executor/plugin-openapi
|
|
73
|
+
import { openApiPlugin } from "@executor/plugin-openapi";
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
## Status
|
package/dist/api/group.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "@effect/platform";
|
|
2
2
|
import { OpenApiParseError, OpenApiExtractionError } from "../sdk/errors";
|
|
3
3
|
import { SpecPreview } from "../sdk/preview";
|
|
4
|
+
import { StoredSourceSchema } from "../sdk/stored-source";
|
|
4
5
|
declare const OpenApiGroup_base: HttpApiGroup.HttpApiGroup<"openapi", HttpApiEndpoint.HttpApiEndpoint<"previewSpec", "POST", {
|
|
5
6
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
6
7
|
}, never, {
|
|
@@ -8,6 +9,7 @@ declare const OpenApiGroup_base: HttpApiGroup.HttpApiGroup<"openapi", HttpApiEnd
|
|
|
8
9
|
}, never, SpecPreview, OpenApiParseError | OpenApiExtractionError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"addSpec", "POST", {
|
|
9
10
|
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
10
11
|
}, never, {
|
|
12
|
+
readonly name?: string | undefined;
|
|
11
13
|
readonly namespace?: string | undefined;
|
|
12
14
|
readonly headers?: {
|
|
13
15
|
readonly [x: string]: unknown;
|
|
@@ -17,7 +19,21 @@ declare const OpenApiGroup_base: HttpApiGroup.HttpApiGroup<"openapi", HttpApiEnd
|
|
|
17
19
|
}, never, {
|
|
18
20
|
readonly namespace: string;
|
|
19
21
|
readonly toolCount: number;
|
|
20
|
-
}, OpenApiParseError | OpenApiExtractionError, never, never
|
|
22
|
+
}, OpenApiParseError | OpenApiExtractionError, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getSource", "GET", {
|
|
23
|
+
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
24
|
+
readonly namespace: string;
|
|
25
|
+
}, never, never, never, StoredSourceSchema | null, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateSource", "PATCH", {
|
|
26
|
+
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
27
|
+
readonly namespace: string;
|
|
28
|
+
}, never, {
|
|
29
|
+
readonly name?: string | undefined;
|
|
30
|
+
readonly headers?: {
|
|
31
|
+
readonly [x: string]: unknown;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly baseUrl?: string | undefined;
|
|
34
|
+
}, never, {
|
|
35
|
+
readonly updated: boolean;
|
|
36
|
+
}, never, never, never>, never, never, false>;
|
|
21
37
|
export declare class OpenApiGroup extends OpenApiGroup_base {
|
|
22
38
|
}
|
|
23
39
|
export {};
|