@yaakapp/api 0.2.16 → 0.2.17
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/bindings/models.d.ts +6 -1
- package/package.json +2 -3
package/lib/bindings/models.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export type Environment = {
|
|
|
2
2
|
model: "environment";
|
|
3
3
|
id: string;
|
|
4
4
|
workspaceId: string;
|
|
5
|
+
environmentId: string | null;
|
|
5
6
|
createdAt: string;
|
|
6
7
|
updatedAt: string;
|
|
7
8
|
name: string;
|
|
@@ -20,6 +21,7 @@ export type Folder = {
|
|
|
20
21
|
workspaceId: string;
|
|
21
22
|
folderId: string | null;
|
|
22
23
|
name: string;
|
|
24
|
+
description: string;
|
|
23
25
|
sortPriority: number;
|
|
24
26
|
};
|
|
25
27
|
export type GrpcMetadataEntry = {
|
|
@@ -36,6 +38,7 @@ export type GrpcRequest = {
|
|
|
36
38
|
folderId: string | null;
|
|
37
39
|
authenticationType: string | null;
|
|
38
40
|
authentication: Record<string, any>;
|
|
41
|
+
description: string;
|
|
39
42
|
message: string;
|
|
40
43
|
metadata: Array<GrpcMetadataEntry>;
|
|
41
44
|
method: string | null;
|
|
@@ -55,6 +58,7 @@ export type HttpRequest = {
|
|
|
55
58
|
authenticationType: string | null;
|
|
56
59
|
body: Record<string, any>;
|
|
57
60
|
bodyType: string | null;
|
|
61
|
+
description: string;
|
|
58
62
|
headers: Array<HttpRequestHeader>;
|
|
59
63
|
method: string;
|
|
60
64
|
name: string;
|
|
@@ -83,6 +87,7 @@ export type HttpResponse = {
|
|
|
83
87
|
remoteAddr: string | null;
|
|
84
88
|
status: number;
|
|
85
89
|
statusReason: string | null;
|
|
90
|
+
state: HttpResponseState;
|
|
86
91
|
url: string;
|
|
87
92
|
version: string | null;
|
|
88
93
|
};
|
|
@@ -90,6 +95,7 @@ export type HttpResponseHeader = {
|
|
|
90
95
|
name: string;
|
|
91
96
|
value: string;
|
|
92
97
|
};
|
|
98
|
+
export type HttpResponseState = "initialized" | "connected" | "closed";
|
|
93
99
|
export type HttpUrlParameter = {
|
|
94
100
|
enabled?: boolean;
|
|
95
101
|
name: string;
|
|
@@ -102,7 +108,6 @@ export type Workspace = {
|
|
|
102
108
|
updatedAt: string;
|
|
103
109
|
name: string;
|
|
104
110
|
description: string;
|
|
105
|
-
variables: Array<EnvironmentVariable>;
|
|
106
111
|
settingValidateCertificates: boolean;
|
|
107
112
|
settingFollowRedirects: boolean;
|
|
108
113
|
settingRequestTimeout: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yaakapp/api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"typings": "./lib/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"build:copy-types": "run-p build:copy-types:*",
|
|
14
14
|
"build:copy-types:root": "cpy --flat ../src-tauri/yaak_plugin_runtime/bindings/*.ts ./src/bindings",
|
|
15
15
|
"build:copy-types:next": "cpy --flat ../src-tauri/yaak_plugin_runtime/bindings/serde_json/*.ts ./src/bindings/serde_json",
|
|
16
|
-
"prepublishOnly": "npm run build"
|
|
17
|
-
"publish": "npm publish"
|
|
16
|
+
"prepublishOnly": "npm run build"
|
|
18
17
|
},
|
|
19
18
|
"dependencies": {
|
|
20
19
|
"@types/node": "^22.5.4"
|