@casual-simulation/aux-common 3.2.7-alpha.7120895964 → 3.2.7-alpha.7203795135
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/http/GenericHttpInterface.d.ts +111 -0
- package/http/GenericHttpInterface.js +17 -0
- package/http/GenericHttpInterface.js.map +1 -0
- package/http/index.d.ts +2 -0
- package/http/index.js +2 -0
- package/http/index.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +9 -9
- package/test/TestHelpers.d.ts +2 -2
- package/websockets/MemoryConnectionClient.d.ts +1 -1
- package/websockets/WebsocketEvents.d.ts +123 -2
- package/websockets/WebsocketEvents.js +7 -0
- package/websockets/WebsocketEvents.js.map +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Defines an interface for a generic HTTP request.
|
|
4
|
+
*/
|
|
5
|
+
export interface GenericHttpRequest {
|
|
6
|
+
/**
|
|
7
|
+
* The path that the HTTP request is for.
|
|
8
|
+
* Does not include the query string parameters.
|
|
9
|
+
*/
|
|
10
|
+
path: string;
|
|
11
|
+
/**
|
|
12
|
+
* The query string parameters.
|
|
13
|
+
*/
|
|
14
|
+
query: GenericQueryStringParameters;
|
|
15
|
+
/**
|
|
16
|
+
* The path parameters.
|
|
17
|
+
* i.e. These are parameters that are calculated from the path of the
|
|
18
|
+
*/
|
|
19
|
+
pathParams: GenericPathParameters;
|
|
20
|
+
/**
|
|
21
|
+
* The method that the HTTP request uses.
|
|
22
|
+
*
|
|
23
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
|
|
24
|
+
*/
|
|
25
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'OPTIONS';
|
|
26
|
+
/**
|
|
27
|
+
* The headers for the request.
|
|
28
|
+
*/
|
|
29
|
+
headers: GenericHttpHeaders;
|
|
30
|
+
/**
|
|
31
|
+
* The body of the HTTP request.
|
|
32
|
+
*/
|
|
33
|
+
body: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* The IP address that the request is from.
|
|
36
|
+
*/
|
|
37
|
+
ipAddress: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Defines an interface for a generic HTTP response.
|
|
41
|
+
*/
|
|
42
|
+
export interface GenericHttpResponse {
|
|
43
|
+
/**
|
|
44
|
+
* The status code for the response.
|
|
45
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
statusCode: number;
|
|
49
|
+
/**
|
|
50
|
+
* The list of headers to include in the response.
|
|
51
|
+
*/
|
|
52
|
+
headers?: GenericHttpHeaders;
|
|
53
|
+
/**
|
|
54
|
+
* The body of the response.
|
|
55
|
+
*/
|
|
56
|
+
body?: string | null;
|
|
57
|
+
}
|
|
58
|
+
export interface GenericHttpHeaders {
|
|
59
|
+
[key: string]: string;
|
|
60
|
+
}
|
|
61
|
+
export interface GenericQueryStringParameters {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
}
|
|
64
|
+
export interface GenericPathParameters {
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Defines an interface for a generic Websocket request.
|
|
69
|
+
*/
|
|
70
|
+
export interface GenericWebsocketRequest {
|
|
71
|
+
type: 'connect' | 'disconnect' | 'message';
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the connection that the server has associated with this request.
|
|
74
|
+
*/
|
|
75
|
+
connectionId: string;
|
|
76
|
+
/**
|
|
77
|
+
* The body of the websocket request.
|
|
78
|
+
*/
|
|
79
|
+
body?: string | Uint8Array | null;
|
|
80
|
+
/**
|
|
81
|
+
* The IP address of the request.
|
|
82
|
+
*/
|
|
83
|
+
ipAddress: string;
|
|
84
|
+
/**
|
|
85
|
+
* The value of the HTTP Origin header when the connection was established.
|
|
86
|
+
*/
|
|
87
|
+
origin: string;
|
|
88
|
+
}
|
|
89
|
+
export declare const genericHttpRequestSchema: z.ZodObject<{
|
|
90
|
+
path: z.ZodString;
|
|
91
|
+
pathParams: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
92
|
+
method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"DELETE">, z.ZodLiteral<"HEAD">, z.ZodLiteral<"OPTIONS">]>;
|
|
93
|
+
query: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
94
|
+
headers: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
95
|
+
body: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
path?: string;
|
|
98
|
+
pathParams?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
99
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
100
|
+
query?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
101
|
+
headers?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
102
|
+
body?: string;
|
|
103
|
+
}, {
|
|
104
|
+
path?: string;
|
|
105
|
+
pathParams?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
106
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
107
|
+
query?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
108
|
+
headers?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
109
|
+
body?: string;
|
|
110
|
+
}>;
|
|
111
|
+
//# sourceMappingURL=GenericHttpInterface.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const genericHttpRequestSchema = z.object({
|
|
3
|
+
path: z.string(),
|
|
4
|
+
pathParams: z.object({}).catchall(z.string()),
|
|
5
|
+
method: z.union([
|
|
6
|
+
z.literal('GET'),
|
|
7
|
+
z.literal('POST'),
|
|
8
|
+
z.literal('PUT'),
|
|
9
|
+
z.literal('DELETE'),
|
|
10
|
+
z.literal('HEAD'),
|
|
11
|
+
z.literal('OPTIONS'),
|
|
12
|
+
]),
|
|
13
|
+
query: z.object({}).catchall(z.string()),
|
|
14
|
+
headers: z.object({}).catchall(z.string()),
|
|
15
|
+
body: z.union([z.string(), z.null()]),
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=GenericHttpInterface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenericHttpInterface.js","sourceRoot":"","sources":["GenericHttpInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2GxB,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC;QACZ,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;QAChB,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;QACjB,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;QAChB,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QACnB,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;QACjB,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;KACvB,CAAC;IACF,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;CACxC,CAAC,CAAC"}
|
package/http/index.d.ts
ADDED
package/http/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,gBAAgB,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,gBAAgB,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@casual-simulation/aux-common",
|
|
3
|
-
"version": "3.2.7-alpha.
|
|
3
|
+
"version": "3.2.7-alpha.7203795135",
|
|
4
4
|
"description": "Common library for AUX projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@casual-simulation/crypto": "^3.2.
|
|
35
|
+
"@casual-simulation/crypto": "^3.2.7-alpha.7203795135",
|
|
36
36
|
"@casual-simulation/engine262": "0.0.1-4de2170374e22761996e46eb1362f4496ee57f8f",
|
|
37
37
|
"@casual-simulation/error-stack-parser": "^2.0.7",
|
|
38
38
|
"@casual-simulation/expect": "^3.1.28",
|
|
39
39
|
"@casual-simulation/fast-json-stable-stringify": "^3.1.11",
|
|
40
|
-
"@casual-simulation/js-interpreter": "^3.
|
|
40
|
+
"@casual-simulation/js-interpreter": "^3.2.7-alpha.7203795135",
|
|
41
41
|
"@casual-simulation/stacktrace": "^3.1.11",
|
|
42
42
|
"@casual-simulation/three": "^0.140.3",
|
|
43
|
-
"@casual-simulation/timesync": "^3.
|
|
43
|
+
"@casual-simulation/timesync": "^3.2.7-alpha.7203795135",
|
|
44
44
|
"@tweenjs/tween.js": "18.6.0",
|
|
45
45
|
"@types/acorn": "^4.0.6",
|
|
46
46
|
"@types/estraverse": "^5.1.1",
|
|
@@ -48,19 +48,19 @@
|
|
|
48
48
|
"acorn": "^8.0.1",
|
|
49
49
|
"acorn-jsx": "^5.3.2",
|
|
50
50
|
"astring": "1.7.5",
|
|
51
|
+
"base64-js": "^1.5.1",
|
|
51
52
|
"estraverse": "^5.2.0",
|
|
52
53
|
"expect": "27.3.1",
|
|
53
54
|
"hash.js": "1.1.7",
|
|
54
55
|
"htm": "3.1.0",
|
|
55
56
|
"lib0": "0.2.49",
|
|
56
57
|
"lru-cache": "^5.1.1",
|
|
57
|
-
"luxon": "
|
|
58
|
+
"luxon": "3.4.4",
|
|
58
59
|
"preact": "10.10.1",
|
|
59
60
|
"rxjs": "7.5.7",
|
|
60
|
-
"seedrandom": "3.0.5",
|
|
61
|
-
"stackframe": "^1.2.0",
|
|
62
61
|
"uuid": "^8.3.2",
|
|
63
|
-
"yjs": "13.6.8"
|
|
62
|
+
"yjs": "13.6.8",
|
|
63
|
+
"zod": "3.22.4"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"benchmark": "2.1.4",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"**/*.d.ts",
|
|
75
75
|
"**/*.def"
|
|
76
76
|
],
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "f2500c06ff9a65e472ec2bb24841466bc550aae3"
|
|
78
78
|
}
|
package/test/TestHelpers.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { DateTime } from 'luxon';
|
|
|
2
2
|
import { Rotation, Vector2, Vector3 } from '../math';
|
|
3
3
|
export declare function wait(ms: number): Promise<void>;
|
|
4
4
|
export declare function waitAsync(num?: number): Promise<unknown>;
|
|
5
|
-
export declare const customDataTypeCases: (readonly ["DateTime", DateTime
|
|
6
|
-
export declare const allDataTypeCases: (readonly ["DateTime", DateTime
|
|
5
|
+
export declare const customDataTypeCases: (readonly ["DateTime", DateTime<true> | DateTime<false>, "📅1999-11-19T05:42:08Z"] | readonly ["Vector2", Vector2, "➡️1,2"] | readonly ["Vector3", Vector3, "➡️1,2,3"] | readonly ["Rotation", Rotation, "🔁0,0,0,1"])[];
|
|
6
|
+
export declare const allDataTypeCases: (readonly ["DateTime", DateTime<true> | DateTime<false>, "📅1999-11-19T05:42:08Z"] | readonly ["Vector2", Vector2, "➡️1,2"] | readonly ["Vector3", Vector3, "➡️1,2,3"] | readonly ["Rotation", Rotation, "🔁0,0,0,1"] | readonly ["Number", 123, 123] | readonly ["true", true, true] | readonly ["false", false, false] | readonly ["String", "abc", "abc"] | readonly ["Infinity", number, number] | readonly ["-Infinity", number, number] | readonly ["Object", {
|
|
7
7
|
readonly abc: "def";
|
|
8
8
|
}, {
|
|
9
9
|
readonly abc: "def";
|
|
@@ -11,7 +11,7 @@ export declare class MemoryConnectionClient implements ConnectionClient {
|
|
|
11
11
|
get connectionState(): Observable<ClientConnectionState>;
|
|
12
12
|
get isConnected(): boolean;
|
|
13
13
|
sentMessages: WebsocketMessage[];
|
|
14
|
-
events: Map<"login" | "login_result" | "repo/watch_branch" | "repo/watch_branch_result" | "repo/unwatch_branch" | "repo/watch_branch_devices" | "repo/unwatch_branch_devices" | "repo/add_updates" | "repo/get_updates" | "repo/updates_received" | "repo/send_action" | "repo/receive_action" | "repo/connected_to_branch" | "repo/disconnected_from_branch" | "repo/connection_count" | "sync/time" | "sync/time/response" | "rate_limit_exceeded", Subject<any>>;
|
|
14
|
+
events: Map<"login" | "login_result" | "repo/watch_branch" | "repo/watch_branch_result" | "repo/unwatch_branch" | "repo/watch_branch_devices" | "repo/unwatch_branch_devices" | "repo/add_updates" | "repo/get_updates" | "http_request" | "http_response" | "repo/updates_received" | "repo/send_action" | "repo/receive_action" | "repo/connected_to_branch" | "repo/disconnected_from_branch" | "repo/connection_count" | "sync/time" | "sync/time/response" | "rate_limit_exceeded", Subject<any>>;
|
|
15
15
|
get info(): ConnectionInfo;
|
|
16
16
|
set info(value: ConnectionInfo);
|
|
17
17
|
get indicator(): ConnectionIndicator | null;
|
|
@@ -3,6 +3,7 @@ import { NotSupportedError, ServerError } from '../Errors';
|
|
|
3
3
|
import { ConnectionInfo } from '../common/ConnectionInfo';
|
|
4
4
|
import { RemoteAction, DeviceAction, DeviceActionResult, RemoteActionResult, RemoteActionError, DeviceActionError } from '../common/RemoteActions';
|
|
5
5
|
import { ZodIssue, z } from 'zod';
|
|
6
|
+
import { GenericHttpRequest, GenericHttpResponse } from '../http/GenericHttpInterface';
|
|
6
7
|
/**
|
|
7
8
|
* Defines a websocket event.
|
|
8
9
|
*
|
|
@@ -139,8 +140,8 @@ export type WebsocketDownloadRequestEvent = [
|
|
|
139
140
|
downloadHeaders: UploadHttpHeaders
|
|
140
141
|
];
|
|
141
142
|
export declare const websocketDownloadRequestEventSchema: z.ZodTuple<[z.ZodLiteral<WebsocketEventTypes.DownloadRequest>, z.ZodNumber, z.ZodString, z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>;
|
|
142
|
-
export type WebsocketResponseMessage = LoginResultMessage | WatchBranchResultMessage | TimeSyncResponseMessage | UpdatesReceivedMessage | ReceiveDeviceActionMessage | ConnectedToBranchMessage | DisconnectedFromBranchMessage | RateLimitExceededMessage;
|
|
143
|
-
export type WebsocketRequestMessage = LoginMessage | WatchBranchMessage | UnwatchBranchMessage | AddUpdatesMessage | SendActionMessage | WatchBranchDevicesMessage | UnwatchBranchDevicesMessage | ConnectionCountMessage | TimeSyncRequestMessage | GetUpdatesMessage;
|
|
143
|
+
export type WebsocketResponseMessage = LoginResultMessage | WatchBranchResultMessage | TimeSyncResponseMessage | UpdatesReceivedMessage | ReceiveDeviceActionMessage | ConnectedToBranchMessage | DisconnectedFromBranchMessage | RateLimitExceededMessage | WebsocketHttpResponseMessage;
|
|
144
|
+
export type WebsocketRequestMessage = LoginMessage | WatchBranchMessage | UnwatchBranchMessage | AddUpdatesMessage | SendActionMessage | WatchBranchDevicesMessage | UnwatchBranchDevicesMessage | ConnectionCountMessage | TimeSyncRequestMessage | GetUpdatesMessage | WebsocketHttpRequestMessage;
|
|
144
145
|
export type WebsocketMessage = WebsocketRequestMessage | WebsocketResponseMessage;
|
|
145
146
|
/**
|
|
146
147
|
* Defines a login message.
|
|
@@ -509,6 +510,79 @@ export declare const getUpdatesMessageSchema: z.ZodObject<{
|
|
|
509
510
|
inst?: string;
|
|
510
511
|
branch?: string;
|
|
511
512
|
}>;
|
|
513
|
+
/**
|
|
514
|
+
* Defines an event which indicates that an HTTP request should be made.
|
|
515
|
+
*/
|
|
516
|
+
export interface WebsocketHttpRequestMessage {
|
|
517
|
+
type: 'http_request';
|
|
518
|
+
/**
|
|
519
|
+
* The ID of the request.
|
|
520
|
+
*/
|
|
521
|
+
id: number;
|
|
522
|
+
/**
|
|
523
|
+
* The HTTP request.
|
|
524
|
+
*/
|
|
525
|
+
request: Omit<GenericHttpRequest, 'ipAddress'>;
|
|
526
|
+
}
|
|
527
|
+
export declare const websocketHttpRequestMessageSchema: z.ZodObject<{
|
|
528
|
+
type: z.ZodLiteral<"http_request">;
|
|
529
|
+
request: z.ZodObject<{
|
|
530
|
+
path: z.ZodString;
|
|
531
|
+
pathParams: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
532
|
+
method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"DELETE">, z.ZodLiteral<"HEAD">, z.ZodLiteral<"OPTIONS">]>;
|
|
533
|
+
query: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
534
|
+
headers: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
535
|
+
body: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
536
|
+
}, "strip", z.ZodTypeAny, {
|
|
537
|
+
path?: string;
|
|
538
|
+
pathParams?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
539
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
540
|
+
query?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
541
|
+
headers?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
542
|
+
body?: string;
|
|
543
|
+
}, {
|
|
544
|
+
path?: string;
|
|
545
|
+
pathParams?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
546
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
547
|
+
query?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
548
|
+
headers?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
549
|
+
body?: string;
|
|
550
|
+
}>;
|
|
551
|
+
id: z.ZodNumber;
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
type?: "http_request";
|
|
554
|
+
request?: {
|
|
555
|
+
path?: string;
|
|
556
|
+
pathParams?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
557
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
558
|
+
query?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
559
|
+
headers?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
560
|
+
body?: string;
|
|
561
|
+
};
|
|
562
|
+
id?: number;
|
|
563
|
+
}, {
|
|
564
|
+
type?: "http_request";
|
|
565
|
+
request?: {
|
|
566
|
+
path?: string;
|
|
567
|
+
pathParams?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
568
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
569
|
+
query?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
570
|
+
headers?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
571
|
+
body?: string;
|
|
572
|
+
};
|
|
573
|
+
id?: number;
|
|
574
|
+
}>;
|
|
575
|
+
export interface WebsocketHttpResponseMessage {
|
|
576
|
+
type: 'http_response';
|
|
577
|
+
/**
|
|
578
|
+
* The ID of the request that this response is for.
|
|
579
|
+
*/
|
|
580
|
+
id: number;
|
|
581
|
+
/**
|
|
582
|
+
* The response.
|
|
583
|
+
*/
|
|
584
|
+
response: GenericHttpResponse;
|
|
585
|
+
}
|
|
512
586
|
/**
|
|
513
587
|
* Defines an event which indicates that some arbitrary updates where added for the given branch.
|
|
514
588
|
*/
|
|
@@ -1515,5 +1589,52 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
1515
1589
|
recordName?: string;
|
|
1516
1590
|
inst?: string;
|
|
1517
1591
|
branch?: string;
|
|
1592
|
+
}>, z.ZodObject<{
|
|
1593
|
+
type: z.ZodLiteral<"http_request">;
|
|
1594
|
+
request: z.ZodObject<{
|
|
1595
|
+
path: z.ZodString;
|
|
1596
|
+
pathParams: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
1597
|
+
method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"DELETE">, z.ZodLiteral<"HEAD">, z.ZodLiteral<"OPTIONS">]>;
|
|
1598
|
+
query: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
1599
|
+
headers: z.ZodObject<{}, "strip", z.ZodString, z.objectOutputType<{}, z.ZodString, "strip">, z.objectInputType<{}, z.ZodString, "strip">>;
|
|
1600
|
+
body: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
1601
|
+
}, "strip", z.ZodTypeAny, {
|
|
1602
|
+
path?: string;
|
|
1603
|
+
pathParams?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
1604
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1605
|
+
query?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
1606
|
+
headers?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
1607
|
+
body?: string;
|
|
1608
|
+
}, {
|
|
1609
|
+
path?: string;
|
|
1610
|
+
pathParams?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
1611
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1612
|
+
query?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
1613
|
+
headers?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
1614
|
+
body?: string;
|
|
1615
|
+
}>;
|
|
1616
|
+
id: z.ZodNumber;
|
|
1617
|
+
}, "strip", z.ZodTypeAny, {
|
|
1618
|
+
type?: "http_request";
|
|
1619
|
+
request?: {
|
|
1620
|
+
path?: string;
|
|
1621
|
+
pathParams?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
1622
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1623
|
+
query?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
1624
|
+
headers?: z.objectOutputType<{}, z.ZodString, "strip">;
|
|
1625
|
+
body?: string;
|
|
1626
|
+
};
|
|
1627
|
+
id?: number;
|
|
1628
|
+
}, {
|
|
1629
|
+
type?: "http_request";
|
|
1630
|
+
request?: {
|
|
1631
|
+
path?: string;
|
|
1632
|
+
pathParams?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
1633
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS";
|
|
1634
|
+
query?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
1635
|
+
headers?: z.objectInputType<{}, z.ZodString, "strip">;
|
|
1636
|
+
body?: string;
|
|
1637
|
+
};
|
|
1638
|
+
id?: number;
|
|
1518
1639
|
}>]>;
|
|
1519
1640
|
//# sourceMappingURL=WebsocketEvents.d.ts.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { connectionInfoSchema } from '../common/ConnectionInfo';
|
|
2
2
|
import { remoteActionsSchema, deviceActionsSchema, } from '../common/RemoteActions';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
+
import { genericHttpRequestSchema, } from '../http/GenericHttpInterface';
|
|
4
5
|
export var WebsocketEventTypes;
|
|
5
6
|
(function (WebsocketEventTypes) {
|
|
6
7
|
WebsocketEventTypes[WebsocketEventTypes["Message"] = 1] = "Message";
|
|
@@ -87,6 +88,11 @@ export const getUpdatesMessageSchema = z.object({
|
|
|
87
88
|
inst: z.string(),
|
|
88
89
|
branch: z.string(),
|
|
89
90
|
});
|
|
91
|
+
export const websocketHttpRequestMessageSchema = z.object({
|
|
92
|
+
type: z.literal('http_request'),
|
|
93
|
+
request: genericHttpRequestSchema,
|
|
94
|
+
id: z.number(),
|
|
95
|
+
});
|
|
90
96
|
export const updatesReceivedMessageSchema = z.object({
|
|
91
97
|
type: z.literal('repo/updates_received'),
|
|
92
98
|
recordName: z.string().nonempty().nullable(),
|
|
@@ -162,5 +168,6 @@ export const websocketRequestMessageSchema = z.discriminatedUnion('type', [
|
|
|
162
168
|
connectionCountMessageSchema,
|
|
163
169
|
timeSyncRequestMessageSchema,
|
|
164
170
|
getUpdatesMessageSchema,
|
|
171
|
+
websocketHttpRequestMessageSchema,
|
|
165
172
|
]);
|
|
166
173
|
//# sourceMappingURL=WebsocketEvents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebsocketEvents.js","sourceRoot":"","sources":["WebsocketEvents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAOH,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAY,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"WebsocketEvents.js","sourceRoot":"","sources":["WebsocketEvents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAOH,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAY,CAAC,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,EAGH,wBAAwB,GAC3B,MAAM,8BAA8B,CAAC;AAoBtC,MAAM,CAAN,I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