@yaakapp/api 0.1.14 → 0.1.16
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/lib/gen/InternalEventPayload.d.ts +4 -4
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -2
- package/package.json +1 -1
- package/lib/gen/CallTemplateFunctionPurpose.d.ts +0 -1
- package/lib/gen/CallTemplateFunctionPurpose.js +0 -3
- package/lib/gen/PingRequest.d.ts +0 -3
- package/lib/gen/PingRequest.js +0 -3
- package/lib/gen/PingResponse.d.ts +0 -3
- package/lib/gen/PingResponse.js +0 -3
- package/lib/gen/common/ExportableModel.d.ts +0 -6
- package/lib/gen/common/PluginImportResources.d.ts +0 -12
- package/lib/gen/common/PluginImportResources.js +0 -2
- package/lib/gen/events/PluginBootRequest.d.ts +0 -3
- package/lib/gen/events/PluginBootRequest.js +0 -3
- package/lib/gen/events/PluginBootResponse.d.ts +0 -5
- package/lib/gen/events/PluginBootResponse.js +0 -3
- package/lib/gen/events/PluginEvent.d.ts +0 -7
- package/lib/gen/events/PluginEvent.js +0 -2
- package/lib/gen/events/PluginEventPayload.d.ts +0 -19
- package/lib/gen/events/PluginEventPayload.js +0 -2
- package/lib/gen/events/PluginImportRequest.d.ts +0 -3
- package/lib/gen/events/PluginImportRequest.js +0 -3
- package/lib/gen/events/PluginImportResponse.d.ts +0 -4
- package/lib/gen/events/PluginImportResponse.js +0 -2
- package/lib/gen/events/PluginPingRequest.d.ts +0 -3
- package/lib/gen/events/PluginPingRequest.js +0 -3
- package/lib/gen/events/PluginPingResponse.d.ts +0 -3
- package/lib/gen/events/PluginPingResponse.js +0 -3
- package/lib/gen/models/Environment.d.ts +0 -10
- package/lib/gen/models/Environment.js +0 -2
- package/lib/gen/models/EnvironmentVariable.d.ts +0 -5
- package/lib/gen/models/EnvironmentVariable.js +0 -3
- package/lib/gen/models/Folder.d.ts +0 -10
- package/lib/gen/models/Folder.js +0 -3
- package/lib/gen/models/GrpcConnection.d.ts +0 -17
- package/lib/gen/models/GrpcConnection.js +0 -3
- package/lib/gen/models/GrpcEvent.d.ts +0 -16
- package/lib/gen/models/GrpcEvent.js +0 -2
- package/lib/gen/models/GrpcEventType.d.ts +0 -1
- package/lib/gen/models/GrpcEventType.js +0 -3
- package/lib/gen/models/GrpcMetadataEntry.d.ts +0 -5
- package/lib/gen/models/GrpcMetadataEntry.js +0 -3
- package/lib/gen/models/GrpcRequest.d.ts +0 -18
- package/lib/gen/models/GrpcRequest.js +0 -2
- package/lib/gen/models/HttpRequest.d.ts +0 -20
- package/lib/gen/models/HttpRequest.js +0 -2
- package/lib/gen/models/HttpRequestHeader.d.ts +0 -5
- package/lib/gen/models/HttpRequestHeader.js +0 -3
- package/lib/gen/models/HttpResponse.d.ts +0 -20
- package/lib/gen/models/HttpResponse.js +0 -2
- package/lib/gen/models/HttpResponseHeader.d.ts +0 -4
- package/lib/gen/models/HttpResponseHeader.js +0 -3
- package/lib/gen/models/HttpUrlParameter.d.ts +0 -5
- package/lib/gen/models/HttpUrlParameter.js +0 -3
- package/lib/gen/models/KeyValue.d.ts +0 -8
- package/lib/gen/models/KeyValue.js +0 -3
- package/lib/gen/models/Workspace.d.ts +0 -13
- package/lib/gen/models/Workspace.js +0 -2
- package/lib/gen/serde_json/JsonValue.d.ts +0 -3
- package/lib/gen/serde_json/JsonValue.js +0 -3
- package/lib/plugin-runtime-types/src/gen/common/PluginImportResources.d.ts +0 -12
- package/lib/plugin-runtime-types/src/gen/common/PluginImportResources.js +0 -2
- package/lib/plugin-runtime-types/src/gen/events/PluginBootRequest.d.ts +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginBootRequest.js +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginBootResponse.d.ts +0 -5
- package/lib/plugin-runtime-types/src/gen/events/PluginBootResponse.js +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginEvent.d.ts +0 -7
- package/lib/plugin-runtime-types/src/gen/events/PluginEvent.js +0 -2
- package/lib/plugin-runtime-types/src/gen/events/PluginEventPayload.d.ts +0 -19
- package/lib/plugin-runtime-types/src/gen/events/PluginEventPayload.js +0 -2
- package/lib/plugin-runtime-types/src/gen/events/PluginExportHttpRequestRequest.d.ts +0 -4
- package/lib/plugin-runtime-types/src/gen/events/PluginExportHttpRequestRequest.js +0 -2
- package/lib/plugin-runtime-types/src/gen/events/PluginExportHttpRequestResponse.d.ts +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginExportHttpRequestResponse.js +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginFilterRequest.d.ts +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginFilterRequest.js +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginFilterResponse.d.ts +0 -4
- package/lib/plugin-runtime-types/src/gen/events/PluginFilterResponse.js +0 -2
- package/lib/plugin-runtime-types/src/gen/events/PluginImportRequest.d.ts +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginImportRequest.js +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginImportResponse.d.ts +0 -4
- package/lib/plugin-runtime-types/src/gen/events/PluginImportResponse.js +0 -2
- package/lib/plugin-runtime-types/src/gen/events/PluginPingRequest.d.ts +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginPingRequest.js +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginPingResponse.d.ts +0 -3
- package/lib/plugin-runtime-types/src/gen/events/PluginPingResponse.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/Environment.d.ts +0 -10
- package/lib/plugin-runtime-types/src/gen/models/Environment.js +0 -2
- package/lib/plugin-runtime-types/src/gen/models/EnvironmentVariable.d.ts +0 -5
- package/lib/plugin-runtime-types/src/gen/models/EnvironmentVariable.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/Folder.d.ts +0 -10
- package/lib/plugin-runtime-types/src/gen/models/Folder.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/GrpcConnection.d.ts +0 -17
- package/lib/plugin-runtime-types/src/gen/models/GrpcConnection.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/GrpcEvent.d.ts +0 -16
- package/lib/plugin-runtime-types/src/gen/models/GrpcEvent.js +0 -2
- package/lib/plugin-runtime-types/src/gen/models/GrpcEventType.d.ts +0 -1
- package/lib/plugin-runtime-types/src/gen/models/GrpcEventType.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/GrpcMetadataEntry.d.ts +0 -5
- package/lib/plugin-runtime-types/src/gen/models/GrpcMetadataEntry.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/GrpcRequest.d.ts +0 -18
- package/lib/plugin-runtime-types/src/gen/models/GrpcRequest.js +0 -2
- package/lib/plugin-runtime-types/src/gen/models/HttpRequest.d.ts +0 -20
- package/lib/plugin-runtime-types/src/gen/models/HttpRequest.js +0 -2
- package/lib/plugin-runtime-types/src/gen/models/HttpRequestHeader.d.ts +0 -5
- package/lib/plugin-runtime-types/src/gen/models/HttpRequestHeader.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/HttpResponse.d.ts +0 -20
- package/lib/plugin-runtime-types/src/gen/models/HttpResponse.js +0 -2
- package/lib/plugin-runtime-types/src/gen/models/HttpResponseHeader.d.ts +0 -4
- package/lib/plugin-runtime-types/src/gen/models/HttpResponseHeader.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/HttpUrlParameter.d.ts +0 -5
- package/lib/plugin-runtime-types/src/gen/models/HttpUrlParameter.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/KeyValue.d.ts +0 -8
- package/lib/plugin-runtime-types/src/gen/models/KeyValue.js +0 -3
- package/lib/plugin-runtime-types/src/gen/models/Workspace.d.ts +0 -13
- package/lib/plugin-runtime-types/src/gen/models/Workspace.js +0 -2
- package/lib/plugin-runtime-types/src/helpers.d.ts +0 -2
- package/lib/plugin-runtime-types/src/helpers.js +0 -2
- package/lib/plugin-runtime-types/src/index.d.ts +0 -31
- package/lib/plugin-runtime-types/src/index.js +0 -45
- package/lib/plugin-runtime-types/src/plugins/context.d.ts +0 -11
- package/lib/plugin-runtime-types/src/plugins/context.js +0 -2
- package/lib/plugin-runtime-types/src/plugins/filter.d.ts +0 -13
- package/lib/plugin-runtime-types/src/plugins/filter.js +0 -2
- package/lib/plugin-runtime-types/src/plugins/httpRequestAction.d.ts +0 -9
- package/lib/plugin-runtime-types/src/plugins/httpRequestAction.js +0 -2
- package/lib/plugin-runtime-types/src/plugins/import.d.ts +0 -19
- package/lib/plugin-runtime-types/src/plugins/import.js +0 -2
- package/lib/plugin-runtime-types/src/plugins/index.d.ts +0 -14
- package/lib/plugin-runtime-types/src/plugins/index.js +0 -2
- package/lib/plugin-runtime-types/src/plugins/theme.d.ts +0 -7
- package/lib/plugin-runtime-types/src/plugins/theme.js +0 -2
- package/lib/plugin-runtime-types/src/themes/index.d.ts +0 -39
- package/lib/plugin-runtime-types/src/themes/index.js +0 -2
- package/lib/plugins/context.js +0 -2
- package/lib/plugins/filter.d.ts +0 -13
- package/lib/plugins/filter.js +0 -2
- package/lib/plugins/httpRequestAction.d.ts +0 -6
- package/lib/plugins/httpRequestAction.js +0 -2
- package/lib/plugins/import.d.ts +0 -19
- package/lib/plugins/import.js +0 -2
- package/lib/plugins/templateTag.d.ts +0 -6
- package/lib/plugins/templateTag.js +0 -2
- package/lib/plugins/theme.d.ts +0 -7
- package/lib/plugins/theme.js +0 -2
- package/lib/src-tauri/yaak_plugin_runtime/bindings/serde_json/JsonValue.d.ts +0 -3
- package/lib/src-tauri/yaak_plugin_runtime/bindings/serde_json/JsonValue.js +0 -2
- /package/lib/plugins/{context.d.ts → Context.d.ts} +0 -0
- /package/lib/{gen/common/ExportableModel.js → plugins/Context.js} +0 -0
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import type { BootRequest } from "./BootRequest";
|
|
2
|
-
import type { BootResponse } from "./BootResponse";
|
|
3
1
|
import type { CallHttpRequestActionRequest } from "./CallHttpRequestActionRequest";
|
|
4
2
|
import type { CallTemplateFunctionRequest } from "./CallTemplateFunctionRequest";
|
|
5
3
|
import type { CallTemplateFunctionResponse } from "./CallTemplateFunctionResponse";
|
|
@@ -18,6 +16,8 @@ import type { GetHttpRequestByIdResponse } from "./GetHttpRequestByIdResponse";
|
|
|
18
16
|
import type { GetTemplateFunctionsResponse } from "./GetTemplateFunctionsResponse";
|
|
19
17
|
import type { ImportRequest } from "./ImportRequest";
|
|
20
18
|
import type { ImportResponse } from "./ImportResponse";
|
|
19
|
+
import type { PluginBootRequest } from "./PluginBootRequest";
|
|
20
|
+
import type { PluginBootResponse } from "./PluginBootResponse";
|
|
21
21
|
import type { RenderHttpRequestRequest } from "./RenderHttpRequestRequest";
|
|
22
22
|
import type { RenderHttpRequestResponse } from "./RenderHttpRequestResponse";
|
|
23
23
|
import type { SendHttpRequestRequest } from "./SendHttpRequestRequest";
|
|
@@ -25,9 +25,9 @@ import type { SendHttpRequestResponse } from "./SendHttpRequestResponse";
|
|
|
25
25
|
import type { ShowToastRequest } from "./ShowToastRequest";
|
|
26
26
|
export type InternalEventPayload = {
|
|
27
27
|
"type": "boot_request";
|
|
28
|
-
} &
|
|
28
|
+
} & PluginBootRequest | {
|
|
29
29
|
"type": "boot_response";
|
|
30
|
-
} &
|
|
30
|
+
} & PluginBootResponse | {
|
|
31
31
|
"type": "import_request";
|
|
32
32
|
} & ImportRequest | {
|
|
33
33
|
"type": "import_response";
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export type * from './plugins';
|
|
2
2
|
export type * from './themes';
|
|
3
|
-
export * from './gen/BootRequest';
|
|
4
|
-
export * from './gen/BootResponse';
|
|
5
3
|
export * from './gen/CallHttpRequestActionArgs';
|
|
6
4
|
export * from './gen/CallHttpRequestActionRequest';
|
|
7
5
|
export * from './gen/CallTemplateFunctionRequest';
|
package/lib/index.js
CHANGED
|
@@ -15,8 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// TODO: The next ts-rs release includes the ability to put everything in 1 file!
|
|
18
|
-
__exportStar(require("./gen/BootRequest"), exports);
|
|
19
|
-
__exportStar(require("./gen/BootResponse"), exports);
|
|
20
18
|
__exportStar(require("./gen/CallHttpRequestActionArgs"), exports);
|
|
21
19
|
__exportStar(require("./gen/CallHttpRequestActionRequest"), exports);
|
|
22
20
|
__exportStar(require("./gen/CallTemplateFunctionRequest"), exports);
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type CallTemplateFunctionPurpose = "send" | "preview";
|
package/lib/gen/PingRequest.d.ts
DELETED
package/lib/gen/PingRequest.js
DELETED
package/lib/gen/PingResponse.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Environment } from "../models/Environment";
|
|
2
|
-
import type { Folder } from "../models/Folder";
|
|
3
|
-
import type { GrpcRequest } from "../models/GrpcRequest";
|
|
4
|
-
import type { HttpRequest } from "../models/HttpRequest";
|
|
5
|
-
import type { Workspace } from "../models/Workspace";
|
|
6
|
-
export type ExportableModel = Workspace | Environment | Folder | HttpRequest | GrpcRequest;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Environment } from "../models/Environment";
|
|
2
|
-
import type { Folder } from "../models/Folder";
|
|
3
|
-
import type { GrpcRequest } from "../models/GrpcRequest";
|
|
4
|
-
import type { HttpRequest } from "../models/HttpRequest";
|
|
5
|
-
import type { Workspace } from "../models/Workspace";
|
|
6
|
-
export type PluginImportResources = {
|
|
7
|
-
workspaces: Array<Workspace>;
|
|
8
|
-
environments: Array<Environment>;
|
|
9
|
-
folders: Array<Folder>;
|
|
10
|
-
httpRequests: Array<HttpRequest>;
|
|
11
|
-
grpcRequests: Array<GrpcRequest>;
|
|
12
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { PluginBootRequest } from "./PluginBootRequest";
|
|
2
|
-
import type { PluginBootResponse } from "./PluginBootResponse";
|
|
3
|
-
import type { PluginImportRequest } from "./PluginImportRequest";
|
|
4
|
-
import type { PluginImportResponse } from "./PluginImportResponse";
|
|
5
|
-
import type { PluginPingRequest } from "./PluginPingRequest";
|
|
6
|
-
import type { PluginPingResponse } from "./PluginPingResponse";
|
|
7
|
-
export type PluginEventPayload = {
|
|
8
|
-
"type": "ping_request";
|
|
9
|
-
} & PluginPingRequest | {
|
|
10
|
-
"type": "ping_response";
|
|
11
|
-
} & PluginPingResponse | {
|
|
12
|
-
"type": "boot_request";
|
|
13
|
-
} & PluginBootRequest | {
|
|
14
|
-
"type": "boot_response";
|
|
15
|
-
} & PluginBootResponse | {
|
|
16
|
-
"type": "import_request";
|
|
17
|
-
} & PluginImportRequest | {
|
|
18
|
-
"type": "import_response";
|
|
19
|
-
} & PluginImportResponse;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { EnvironmentVariable } from "./EnvironmentVariable";
|
|
2
|
-
export type Environment = {
|
|
3
|
-
id: string;
|
|
4
|
-
workspaceId: string;
|
|
5
|
-
model: "environment";
|
|
6
|
-
createdAt: string;
|
|
7
|
-
updatedAt: string;
|
|
8
|
-
name: string;
|
|
9
|
-
variables: Array<EnvironmentVariable>;
|
|
10
|
-
};
|
package/lib/gen/models/Folder.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type GrpcConnection = {
|
|
2
|
-
id: string;
|
|
3
|
-
model: "grpc_connection";
|
|
4
|
-
workspaceId: string;
|
|
5
|
-
requestId: string;
|
|
6
|
-
createdAt: string;
|
|
7
|
-
updatedAt: string;
|
|
8
|
-
service: string;
|
|
9
|
-
method: string;
|
|
10
|
-
elapsed: number;
|
|
11
|
-
status: number;
|
|
12
|
-
url: string;
|
|
13
|
-
error: string | null;
|
|
14
|
-
trailers: {
|
|
15
|
-
[key: string]: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { GrpcEventType } from "./GrpcEventType";
|
|
2
|
-
export type GrpcEvent = {
|
|
3
|
-
id: string;
|
|
4
|
-
model: "grpc_event";
|
|
5
|
-
workspaceId: string;
|
|
6
|
-
requestId: string;
|
|
7
|
-
connectionId: string;
|
|
8
|
-
createdAt: string;
|
|
9
|
-
content: string;
|
|
10
|
-
eventType: GrpcEventType;
|
|
11
|
-
metadata: {
|
|
12
|
-
[key: string]: string;
|
|
13
|
-
};
|
|
14
|
-
status: number | null;
|
|
15
|
-
error: string | null;
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type GrpcEventType = "info" | "error" | "client_message" | "server_message" | "connection_start" | "connection_end";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { GrpcMetadataEntry } from "./GrpcMetadataEntry";
|
|
2
|
-
export type GrpcRequest = {
|
|
3
|
-
id: string;
|
|
4
|
-
model: "grpc_request";
|
|
5
|
-
workspaceId: string;
|
|
6
|
-
createdAt: string;
|
|
7
|
-
updatedAt: string;
|
|
8
|
-
folderId: string | null;
|
|
9
|
-
name: string;
|
|
10
|
-
sortPriority: number;
|
|
11
|
-
url: string;
|
|
12
|
-
service: string | null;
|
|
13
|
-
method: string | null;
|
|
14
|
-
message: string;
|
|
15
|
-
authenticationType: string | null;
|
|
16
|
-
authentication: Record<string, any>;
|
|
17
|
-
metadata: Array<GrpcMetadataEntry>;
|
|
18
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { HttpRequestHeader } from "./HttpRequestHeader";
|
|
2
|
-
import type { HttpUrlParameter } from "./HttpUrlParameter";
|
|
3
|
-
export type HttpRequest = {
|
|
4
|
-
createdAt: string;
|
|
5
|
-
updatedAt: string;
|
|
6
|
-
id: string;
|
|
7
|
-
workspaceId: string;
|
|
8
|
-
folderId: string | null;
|
|
9
|
-
model: "http_request";
|
|
10
|
-
sortPriority: number;
|
|
11
|
-
name: string;
|
|
12
|
-
url: string;
|
|
13
|
-
urlParameters: Array<HttpUrlParameter>;
|
|
14
|
-
method: string;
|
|
15
|
-
body: Record<string, any>;
|
|
16
|
-
bodyType: string | null;
|
|
17
|
-
authentication: Record<string, any>;
|
|
18
|
-
authenticationType: string | null;
|
|
19
|
-
headers: Array<HttpRequestHeader>;
|
|
20
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { HttpResponseHeader } from "./HttpResponseHeader";
|
|
2
|
-
export type HttpResponse = {
|
|
3
|
-
id: string;
|
|
4
|
-
model: "http_response";
|
|
5
|
-
workspaceId: string;
|
|
6
|
-
requestId: string;
|
|
7
|
-
createdAt: string;
|
|
8
|
-
updatedAt: string;
|
|
9
|
-
error: string | null;
|
|
10
|
-
url: string;
|
|
11
|
-
contentLength: number | null;
|
|
12
|
-
version: string | null;
|
|
13
|
-
elapsed: number;
|
|
14
|
-
elapsedHeaders: number;
|
|
15
|
-
remoteAddr: string | null;
|
|
16
|
-
status: number;
|
|
17
|
-
statusReason: string | null;
|
|
18
|
-
bodyPath: string | null;
|
|
19
|
-
headers: Array<HttpResponseHeader>;
|
|
20
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { EnvironmentVariable } from "./EnvironmentVariable";
|
|
2
|
-
export type Workspace = {
|
|
3
|
-
id: string;
|
|
4
|
-
model: "workspace";
|
|
5
|
-
createdAt: string;
|
|
6
|
-
updatedAt: string;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
variables: Array<EnvironmentVariable>;
|
|
10
|
-
settingValidateCertificates: boolean;
|
|
11
|
-
settingFollowRedirects: boolean;
|
|
12
|
-
settingRequestTimeout: number;
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Environment } from "../models/Environment";
|
|
2
|
-
import type { Folder } from "../models/Folder";
|
|
3
|
-
import type { GrpcRequest } from "../models/GrpcRequest";
|
|
4
|
-
import type { HttpRequest } from "../models/HttpRequest";
|
|
5
|
-
import type { Workspace } from "../models/Workspace";
|
|
6
|
-
export type PluginImportResources = {
|
|
7
|
-
workspaces: Array<Workspace>;
|
|
8
|
-
environments: Array<Environment>;
|
|
9
|
-
folders: Array<Folder>;
|
|
10
|
-
httpRequests: Array<HttpRequest>;
|
|
11
|
-
grpcRequests: Array<GrpcRequest>;
|
|
12
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { PluginBootRequest } from "./PluginBootRequest";
|
|
2
|
-
import type { PluginBootResponse } from "./PluginBootResponse";
|
|
3
|
-
import type { PluginImportRequest } from "./PluginImportRequest";
|
|
4
|
-
import type { PluginImportResponse } from "./PluginImportResponse";
|
|
5
|
-
import type { PluginPingRequest } from "./PluginPingRequest";
|
|
6
|
-
import type { PluginPingResponse } from "./PluginPingResponse";
|
|
7
|
-
export type PluginEventPayload = {
|
|
8
|
-
"type": "ping_request";
|
|
9
|
-
} & PluginPingRequest | {
|
|
10
|
-
"type": "ping_response";
|
|
11
|
-
} & PluginPingResponse | {
|
|
12
|
-
"type": "boot_request";
|
|
13
|
-
} & PluginBootRequest | {
|
|
14
|
-
"type": "boot_response";
|
|
15
|
-
} & PluginBootResponse | {
|
|
16
|
-
"type": "import_request";
|
|
17
|
-
} & PluginImportRequest | {
|
|
18
|
-
"type": "import_response";
|
|
19
|
-
} & PluginImportResponse;
|