@yaakapp/api 0.1.8 → 0.1.10
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/FindHttpResponsesRequest.d.ts +4 -0
- package/lib/gen/FindHttpResponsesRequest.js +3 -0
- package/lib/gen/FindHttpResponsesResponse.d.ts +4 -0
- package/lib/gen/FindHttpResponsesResponse.js +2 -0
- package/lib/gen/InternalEventPayload.d.ts +6 -0
- package/lib/gen/TemplateFunctionArg.d.ts +3 -0
- package/lib/gen/TemplateFunctionCheckboxArg.d.ts +6 -0
- package/lib/gen/TemplateFunctionCheckboxArg.js +3 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +3 -0
- package/lib/plugins/context.d.ts +5 -0
- package/package.json +1 -1
|
@@ -9,6 +9,8 @@ import type { ExportHttpRequestRequest } from "./ExportHttpRequestRequest";
|
|
|
9
9
|
import type { ExportHttpRequestResponse } from "./ExportHttpRequestResponse";
|
|
10
10
|
import type { FilterRequest } from "./FilterRequest";
|
|
11
11
|
import type { FilterResponse } from "./FilterResponse";
|
|
12
|
+
import type { FindHttpResponsesRequest } from "./FindHttpResponsesRequest";
|
|
13
|
+
import type { FindHttpResponsesResponse } from "./FindHttpResponsesResponse";
|
|
12
14
|
import type { GetHttpRequestActionsRequest } from "./GetHttpRequestActionsRequest";
|
|
13
15
|
import type { GetHttpRequestActionsResponse } from "./GetHttpRequestActionsResponse";
|
|
14
16
|
import type { GetHttpRequestByIdRequest } from "./GetHttpRequestByIdRequest";
|
|
@@ -68,5 +70,9 @@ export type InternalEventPayload = {
|
|
|
68
70
|
} & GetHttpRequestByIdRequest | {
|
|
69
71
|
"type": "get_http_request_by_id_response";
|
|
70
72
|
} & GetHttpRequestByIdResponse | {
|
|
73
|
+
"type": "find_http_responses_request";
|
|
74
|
+
} & FindHttpResponsesRequest | {
|
|
75
|
+
"type": "find_http_responses_response";
|
|
76
|
+
} & FindHttpResponsesResponse | {
|
|
71
77
|
"type": "empty_response";
|
|
72
78
|
} & EmptyResponse;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TemplateFunctionCheckboxArg } from "./TemplateFunctionCheckboxArg";
|
|
1
2
|
import type { TemplateFunctionHttpRequestArg } from "./TemplateFunctionHttpRequestArg";
|
|
2
3
|
import type { TemplateFunctionSelectArg } from "./TemplateFunctionSelectArg";
|
|
3
4
|
import type { TemplateFunctionTextArg } from "./TemplateFunctionTextArg";
|
|
@@ -6,5 +7,7 @@ export type TemplateFunctionArg = {
|
|
|
6
7
|
} & TemplateFunctionTextArg | {
|
|
7
8
|
"type": "select";
|
|
8
9
|
} & TemplateFunctionSelectArg | {
|
|
10
|
+
"type": "checkbox";
|
|
11
|
+
} & TemplateFunctionCheckboxArg | {
|
|
9
12
|
"type": "http_request";
|
|
10
13
|
} & TemplateFunctionHttpRequestArg;
|
package/lib/index.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export * from './gen/ExportHttpRequestResponse';
|
|
|
21
21
|
export * from './gen/FilterRequest';
|
|
22
22
|
export * from './gen/FilterResponse';
|
|
23
23
|
export * from './gen/Folder';
|
|
24
|
+
export * from './gen/FindHttpResponsesRequest';
|
|
25
|
+
export * from './gen/FindHttpResponsesResponse';
|
|
24
26
|
export * from './gen/GetHttpRequestActionsResponse';
|
|
25
27
|
export * from './gen/GetHttpRequestByIdRequest';
|
|
26
28
|
export * from './gen/GetHttpRequestByIdResponse';
|
|
@@ -52,6 +54,7 @@ export * from './gen/ShowToastRequest';
|
|
|
52
54
|
export * from './gen/TemplateFunction';
|
|
53
55
|
export * from './gen/TemplateFunctionArg';
|
|
54
56
|
export * from './gen/TemplateFunctionBaseArg';
|
|
57
|
+
export * from './gen/TemplateFunctionCheckboxArg';
|
|
55
58
|
export * from './gen/TemplateFunctionHttpRequestArg';
|
|
56
59
|
export * from './gen/TemplateFunctionSelectArg';
|
|
57
60
|
export * from './gen/TemplateFunctionSelectOption';
|
package/lib/index.js
CHANGED
|
@@ -36,6 +36,8 @@ __exportStar(require("./gen/ExportHttpRequestResponse"), exports);
|
|
|
36
36
|
__exportStar(require("./gen/FilterRequest"), exports);
|
|
37
37
|
__exportStar(require("./gen/FilterResponse"), exports);
|
|
38
38
|
__exportStar(require("./gen/Folder"), exports);
|
|
39
|
+
__exportStar(require("./gen/FindHttpResponsesRequest"), exports);
|
|
40
|
+
__exportStar(require("./gen/FindHttpResponsesResponse"), exports);
|
|
39
41
|
__exportStar(require("./gen/GetHttpRequestActionsResponse"), exports);
|
|
40
42
|
__exportStar(require("./gen/GetHttpRequestByIdRequest"), exports);
|
|
41
43
|
__exportStar(require("./gen/GetHttpRequestByIdResponse"), exports);
|
|
@@ -67,6 +69,7 @@ __exportStar(require("./gen/ShowToastRequest"), exports);
|
|
|
67
69
|
__exportStar(require("./gen/TemplateFunction"), exports);
|
|
68
70
|
__exportStar(require("./gen/TemplateFunctionArg"), exports);
|
|
69
71
|
__exportStar(require("./gen/TemplateFunctionBaseArg"), exports);
|
|
72
|
+
__exportStar(require("./gen/TemplateFunctionCheckboxArg"), exports);
|
|
70
73
|
__exportStar(require("./gen/TemplateFunctionHttpRequestArg"), exports);
|
|
71
74
|
__exportStar(require("./gen/TemplateFunctionSelectArg"), exports);
|
|
72
75
|
__exportStar(require("./gen/TemplateFunctionSelectOption"), exports);
|
package/lib/plugins/context.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { FindHttpResponsesRequest } from '../gen/FindHttpResponsesRequest';
|
|
2
|
+
import { FindHttpResponsesResponse } from '../gen/FindHttpResponsesResponse';
|
|
1
3
|
import { GetHttpRequestByIdRequest } from '../gen/GetHttpRequestByIdRequest';
|
|
2
4
|
import { GetHttpRequestByIdResponse } from '../gen/GetHttpRequestByIdResponse';
|
|
3
5
|
import { RenderHttpRequestRequest } from '../gen/RenderHttpRequestRequest';
|
|
@@ -17,4 +19,7 @@ export type Context = {
|
|
|
17
19
|
getById(args: GetHttpRequestByIdRequest): Promise<GetHttpRequestByIdResponse['httpRequest']>;
|
|
18
20
|
render(args: RenderHttpRequestRequest): Promise<RenderHttpRequestResponse['httpRequest']>;
|
|
19
21
|
};
|
|
22
|
+
httpResponse: {
|
|
23
|
+
find(args: FindHttpResponsesRequest): Promise<FindHttpResponsesResponse['httpResponses']>;
|
|
24
|
+
};
|
|
20
25
|
};
|