@lemoncloud/chatic-sockets-api 0.26.110
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 +4 -0
- package/dist/libs/wss/wss-types.d.ts +299 -0
- package/dist/modules/callback/types.d.ts +55 -0
- package/dist/modules/mock/model.d.ts +100 -0
- package/dist/modules/mock/types.d.ts +42 -0
- package/dist/modules/mock/views.d.ts +49 -0
- package/dist/modules/sockets/model.d.ts +153 -0
- package/dist/modules/sockets/types.d.ts +48 -0
- package/dist/modules/sockets/views.d.ts +52 -0
- package/dist/service/backend-types.d.ts +52 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/view/types.d.ts +13 -0
- package/package.json +24 -0
package/README.md
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `wss-types.ts`
|
|
3
|
+
* - WebSocket 통신을 위한 타입 정의
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2020-06-30 initial version
|
|
7
|
+
* @author Aiden <aiden@lemoncloud.io>
|
|
8
|
+
* @date 2025-07-31 refactored for WebSocket support
|
|
9
|
+
* @date 2026-01-11 redesigned with envelope pattern
|
|
10
|
+
*
|
|
11
|
+
* @copyright (C) 2026 LemonCloud Co Ltd. - All Rights Reserved.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* interface: `ConnectionInfo`
|
|
15
|
+
* - 연결 정보 공통 모델
|
|
16
|
+
*/
|
|
17
|
+
export interface ConnectionInfo {
|
|
18
|
+
/** stage of api-gateway */
|
|
19
|
+
stage?: string;
|
|
20
|
+
/** connected domain */
|
|
21
|
+
domain?: string;
|
|
22
|
+
/** api-gateway id */
|
|
23
|
+
apiId?: string;
|
|
24
|
+
/** connection-id */
|
|
25
|
+
connectionId?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* interface: `SocketEvent`
|
|
29
|
+
* - Lambda에서 수신하는 WebSocket 이벤트
|
|
30
|
+
*/
|
|
31
|
+
export interface SocketEvent extends ConnectionInfo {
|
|
32
|
+
/** request-id */
|
|
33
|
+
id: string;
|
|
34
|
+
type: WSSEventType;
|
|
35
|
+
route: WSSRouteKeyType;
|
|
36
|
+
authorization?: string;
|
|
37
|
+
stage: WSSStageType;
|
|
38
|
+
direction: WSSDirectionType;
|
|
39
|
+
disconnectCode?: WSSDisconnectStatusCode;
|
|
40
|
+
reason: string;
|
|
41
|
+
domain: string;
|
|
42
|
+
origin: string;
|
|
43
|
+
agent: string;
|
|
44
|
+
connectionId: string;
|
|
45
|
+
messageId: string;
|
|
46
|
+
apiId: string;
|
|
47
|
+
connectedAt: number;
|
|
48
|
+
remote: string;
|
|
49
|
+
body?: string;
|
|
50
|
+
param: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* lookup table
|
|
56
|
+
*/
|
|
57
|
+
declare const $LUT: {
|
|
58
|
+
/**
|
|
59
|
+
* EventType
|
|
60
|
+
*/
|
|
61
|
+
EventType: {
|
|
62
|
+
'': string;
|
|
63
|
+
/** CONNECT */
|
|
64
|
+
CONNECT: string;
|
|
65
|
+
/** DISCONNECT */
|
|
66
|
+
DISCONNECT: string;
|
|
67
|
+
/** MESSAGE */
|
|
68
|
+
MESSAGE: string;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* RouteKeyType
|
|
72
|
+
*/
|
|
73
|
+
RouteKeyType: {
|
|
74
|
+
/** $connect */
|
|
75
|
+
$connect: string;
|
|
76
|
+
/** $disconnect */
|
|
77
|
+
$disconnect: string;
|
|
78
|
+
/** $default */
|
|
79
|
+
$default: string;
|
|
80
|
+
/** echo */
|
|
81
|
+
echo: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* StageType
|
|
85
|
+
*/
|
|
86
|
+
StageType: {
|
|
87
|
+
'': string;
|
|
88
|
+
/** dev */
|
|
89
|
+
dev: string;
|
|
90
|
+
/** prod */
|
|
91
|
+
prod: string;
|
|
92
|
+
/** local */
|
|
93
|
+
local: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* DirectionType
|
|
97
|
+
*/
|
|
98
|
+
DirectionType: {
|
|
99
|
+
'': string;
|
|
100
|
+
/** IN */
|
|
101
|
+
IN: string;
|
|
102
|
+
/** OUT */
|
|
103
|
+
OUT: string;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* DisconnectStatusCode
|
|
107
|
+
*/
|
|
108
|
+
DisconnectStatusCode: {
|
|
109
|
+
/** 1000 - Normal closure */
|
|
110
|
+
1000: string;
|
|
111
|
+
/** 1001 - Server shutdown/page navigation */
|
|
112
|
+
1001: string;
|
|
113
|
+
/** 1002 - Protocol error */
|
|
114
|
+
1002: string;
|
|
115
|
+
/** 1003 - Unsupported data */
|
|
116
|
+
1003: string;
|
|
117
|
+
/** 1005 - No status code received */
|
|
118
|
+
1005: string;
|
|
119
|
+
/** 1006 - Abnormal closure */
|
|
120
|
+
1006: string;
|
|
121
|
+
/** 1007 - Invalid frame payload */
|
|
122
|
+
1007: string;
|
|
123
|
+
/** 1008 - Policy violation */
|
|
124
|
+
1008: string;
|
|
125
|
+
/** 1009 - Message too big */
|
|
126
|
+
1009: string;
|
|
127
|
+
/** 1011 - Internal server error */
|
|
128
|
+
1011: string;
|
|
129
|
+
/** 1012 - Service restart */
|
|
130
|
+
1012: string;
|
|
131
|
+
/** 1013 - Try again later */
|
|
132
|
+
1013: string;
|
|
133
|
+
/** 1015 - TLS handshake failure */
|
|
134
|
+
1015: string;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* EventDomainType
|
|
138
|
+
* - 이벤트 도메인
|
|
139
|
+
*/
|
|
140
|
+
EventDomainType: {
|
|
141
|
+
'': string;
|
|
142
|
+
/** system */
|
|
143
|
+
system: string;
|
|
144
|
+
/** chat */
|
|
145
|
+
chat: string;
|
|
146
|
+
/** presence */
|
|
147
|
+
presence: string;
|
|
148
|
+
/** message */
|
|
149
|
+
message: string;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* SystemActionType
|
|
153
|
+
* - system 도메인 액션
|
|
154
|
+
*/
|
|
155
|
+
SystemActionType: {
|
|
156
|
+
'': string;
|
|
157
|
+
/** ping */
|
|
158
|
+
ping: string;
|
|
159
|
+
/** pong */
|
|
160
|
+
pong: string;
|
|
161
|
+
/** info */
|
|
162
|
+
info: string;
|
|
163
|
+
/** send */
|
|
164
|
+
send: string;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* DataAction
|
|
168
|
+
* - data 도메인 액션
|
|
169
|
+
*/
|
|
170
|
+
DataActionType: {
|
|
171
|
+
'': string;
|
|
172
|
+
/** created */
|
|
173
|
+
created: string;
|
|
174
|
+
/** updated */
|
|
175
|
+
updated: string;
|
|
176
|
+
/** deleted */
|
|
177
|
+
deleted: string;
|
|
178
|
+
/** sync */
|
|
179
|
+
sync: string;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* ContentType
|
|
183
|
+
* - 채팅 컨텐츠 타입
|
|
184
|
+
*/
|
|
185
|
+
ContentType: {
|
|
186
|
+
'': string;
|
|
187
|
+
/** text */
|
|
188
|
+
text: string;
|
|
189
|
+
/** image */
|
|
190
|
+
image: string;
|
|
191
|
+
/** file */
|
|
192
|
+
file: string;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* ActorType
|
|
196
|
+
*/
|
|
197
|
+
ActorType: {
|
|
198
|
+
'': string;
|
|
199
|
+
/** user */
|
|
200
|
+
user: string;
|
|
201
|
+
/** service */
|
|
202
|
+
service: string;
|
|
203
|
+
/** system */
|
|
204
|
+
system: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* type: `WSSEventType
|
|
209
|
+
*/
|
|
210
|
+
export declare type WSSEventType = keyof typeof $LUT.EventType;
|
|
211
|
+
/**
|
|
212
|
+
* type: `WSSRouteKeyType
|
|
213
|
+
*/
|
|
214
|
+
export declare type WSSRouteKeyType = keyof typeof $LUT.RouteKeyType;
|
|
215
|
+
/**
|
|
216
|
+
* type: `WSSDirectionType
|
|
217
|
+
*/
|
|
218
|
+
export declare type WSSDirectionType = keyof typeof $LUT.DirectionType;
|
|
219
|
+
/**
|
|
220
|
+
* type: `WSSDisconnectStatusCode
|
|
221
|
+
*/
|
|
222
|
+
export declare type WSSDisconnectStatusCode = keyof typeof $LUT.DisconnectStatusCode;
|
|
223
|
+
/**
|
|
224
|
+
* type: `WSSStageType
|
|
225
|
+
*/
|
|
226
|
+
export declare type WSSStageType = keyof typeof $LUT.StageType;
|
|
227
|
+
/**
|
|
228
|
+
* type: `WSSEventDomainType
|
|
229
|
+
*/
|
|
230
|
+
export declare type WSSEventDomainType = keyof typeof $LUT.EventDomainType;
|
|
231
|
+
/**
|
|
232
|
+
* type: `WSSSystemActionType
|
|
233
|
+
*/
|
|
234
|
+
export declare type WSSSystemActionType = keyof typeof $LUT.SystemActionType;
|
|
235
|
+
/**
|
|
236
|
+
* type: `WSSDataActionType
|
|
237
|
+
*/
|
|
238
|
+
export declare type WSSDataActionType = keyof typeof $LUT.DataActionType;
|
|
239
|
+
/**
|
|
240
|
+
* type: `WSSChatContentType
|
|
241
|
+
*/
|
|
242
|
+
export declare type WSSChatContentType = keyof typeof $LUT.ContentType;
|
|
243
|
+
/**
|
|
244
|
+
* type: `WSSActorType
|
|
245
|
+
*/
|
|
246
|
+
export declare type WSSActorType = keyof typeof $LUT.ActorType;
|
|
247
|
+
/**
|
|
248
|
+
* type: `WSSActionType`
|
|
249
|
+
*/
|
|
250
|
+
export declare type WSSActionType = WSSSystemActionType | WSSDataActionType;
|
|
251
|
+
/**
|
|
252
|
+
* interface: `WSSEnvelope`
|
|
253
|
+
* - 양방향 WebSocket 통신 메시지 봉투
|
|
254
|
+
*/
|
|
255
|
+
export interface WSSEnvelope<T extends WSSPayload = WSSPayload> {
|
|
256
|
+
/** event domain */
|
|
257
|
+
type: WSSEventDomainType;
|
|
258
|
+
/** action within domain */
|
|
259
|
+
action: WSSActionType;
|
|
260
|
+
/** (optional) payload data */
|
|
261
|
+
payload?: T;
|
|
262
|
+
/** (optional) message-id */
|
|
263
|
+
mid?: string;
|
|
264
|
+
/** (optional) meta data */
|
|
265
|
+
meta?: WSSMeta;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* interface: `WSSMeta`
|
|
269
|
+
* - 메시지 메타데이터
|
|
270
|
+
*/
|
|
271
|
+
export interface WSSMeta {
|
|
272
|
+
/** timestamp (ms) */
|
|
273
|
+
ts: number;
|
|
274
|
+
/** sequence number */
|
|
275
|
+
seq?: number;
|
|
276
|
+
/** target channel */
|
|
277
|
+
channel?: string;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* interface: `WSSPayload`
|
|
281
|
+
* - base payload
|
|
282
|
+
*/
|
|
283
|
+
export interface WSSPayload {
|
|
284
|
+
/** payload-id */
|
|
285
|
+
id?: string;
|
|
286
|
+
/** reference id (for ack) */
|
|
287
|
+
ref?: string;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* interface: `SystemPayload`
|
|
291
|
+
* - system domain payload
|
|
292
|
+
*/
|
|
293
|
+
export interface SystemPayload extends WSSPayload {
|
|
294
|
+
/** content */
|
|
295
|
+
content?: string;
|
|
296
|
+
/** ping-pong count */
|
|
297
|
+
count?: number;
|
|
298
|
+
}
|
|
299
|
+
export default $LUT;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `types.ts`
|
|
3
|
+
* - basic types used in `proxy`
|
|
4
|
+
*
|
|
5
|
+
* **[중요! exports 순서]**
|
|
6
|
+
* 1. define data type in `types.ts` w/ internal types.
|
|
7
|
+
* 2. define Model in `model.ts`
|
|
8
|
+
* 3. define View/Body in `view.ts`, and external types.
|
|
9
|
+
*
|
|
10
|
+
* @author Steve Jung <steve@lemoncloud.io>
|
|
11
|
+
* @date 2025-03-26 initial version.
|
|
12
|
+
*
|
|
13
|
+
* @copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
14
|
+
* @origin `@lemoncloud/lemon-templates-api/modules/callback`
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Lookup Table
|
|
18
|
+
*
|
|
19
|
+
* WARN! DO NOT EXPORT AS `$LUT`. use default export instead.
|
|
20
|
+
*/
|
|
21
|
+
declare const $LUT: {
|
|
22
|
+
/**
|
|
23
|
+
* Possible type of model.
|
|
24
|
+
*/
|
|
25
|
+
ModelType: {
|
|
26
|
+
/** callback model */
|
|
27
|
+
callback: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* 콜백의 종류
|
|
31
|
+
*/
|
|
32
|
+
CallbackStereo: {
|
|
33
|
+
'': string;
|
|
34
|
+
/** # means not to index */
|
|
35
|
+
'#': string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* 콜백의 상태
|
|
39
|
+
*/
|
|
40
|
+
CallbackState: {
|
|
41
|
+
'': string;
|
|
42
|
+
requested: string;
|
|
43
|
+
responsed: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* type: `CallbackStereo`
|
|
48
|
+
*/
|
|
49
|
+
export declare type CallbackStereo = keyof typeof $LUT.CallbackStereo;
|
|
50
|
+
/**
|
|
51
|
+
* type: `CallbackState`
|
|
52
|
+
*/
|
|
53
|
+
export declare type CallbackState = keyof typeof $LUT.CallbackState;
|
|
54
|
+
/** must export $LUT as default */
|
|
55
|
+
export default $LUT;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `model.ts`
|
|
3
|
+
* - model definitions per account data
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2022-08-29 initial version.
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2020 LemonCloud Co Ltd. - All Rights Reserved.
|
|
9
|
+
*/
|
|
10
|
+
import { CoreModel, NextIdentityAccess, SimpleSet } from 'lemon-model';
|
|
11
|
+
import $LUT from './types';
|
|
12
|
+
/**
|
|
13
|
+
* type: `ModelType`
|
|
14
|
+
*/
|
|
15
|
+
export declare type ModelType = keyof typeof $LUT.ModelType;
|
|
16
|
+
/**
|
|
17
|
+
* type: `Model`: common model
|
|
18
|
+
*/
|
|
19
|
+
export declare type Model = CoreModel<ModelType>;
|
|
20
|
+
/**
|
|
21
|
+
* type: `MockHead`
|
|
22
|
+
* - common head of mock-model.
|
|
23
|
+
*/
|
|
24
|
+
export interface MockHead {
|
|
25
|
+
/** id of mock */
|
|
26
|
+
id?: string;
|
|
27
|
+
/** name of mock */
|
|
28
|
+
name?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* `mock`: internal mock model.
|
|
32
|
+
* - provice mocks data
|
|
33
|
+
*/
|
|
34
|
+
export interface MockModel<T = string> extends MockHead, Model {
|
|
35
|
+
/** name of this model */
|
|
36
|
+
name?: string;
|
|
37
|
+
/** alias-id when stereo='#alias' */
|
|
38
|
+
aliasId?: string;
|
|
39
|
+
/** json encoding all data */
|
|
40
|
+
meta?: T;
|
|
41
|
+
}
|
|
42
|
+
export interface MockModelExt<T = string> extends MockModel<T> {
|
|
43
|
+
/** extended data with any type */
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* type: `TestHead`
|
|
48
|
+
* - common head of test-model.
|
|
49
|
+
*/
|
|
50
|
+
export interface TestHead {
|
|
51
|
+
/** internal reference */
|
|
52
|
+
_idx?: number;
|
|
53
|
+
/** internal date(YYYY-MM-DD) */
|
|
54
|
+
_date?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* `test`: internal test model.
|
|
58
|
+
*/
|
|
59
|
+
export interface TestModel extends Model, TestHead {
|
|
60
|
+
/** name of model */
|
|
61
|
+
name?: string;
|
|
62
|
+
/** test count */
|
|
63
|
+
count?: number;
|
|
64
|
+
/** (optional) extra */
|
|
65
|
+
extra?: SimpleSet;
|
|
66
|
+
/**
|
|
67
|
+
* inner Object.
|
|
68
|
+
*/
|
|
69
|
+
readonly Model?: Model;
|
|
70
|
+
/**
|
|
71
|
+
* (view) Access Infor.
|
|
72
|
+
*/
|
|
73
|
+
readonly $identity?: NextIdentityAccess;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* extract field names from models
|
|
77
|
+
* - only fields start with lowercase, or all upper.
|
|
78
|
+
*/
|
|
79
|
+
export declare const filterFields: (fields: string[], base?: string[]) => string[];
|
|
80
|
+
/** field names from head */
|
|
81
|
+
export declare const $HEAD: {
|
|
82
|
+
mock: string[];
|
|
83
|
+
test: string[];
|
|
84
|
+
};
|
|
85
|
+
export declare const $FIELD: {
|
|
86
|
+
mock: string[];
|
|
87
|
+
test: string[];
|
|
88
|
+
};
|
|
89
|
+
/** must export default as below */
|
|
90
|
+
declare const _default: {
|
|
91
|
+
$HEAD: {
|
|
92
|
+
mock: string[];
|
|
93
|
+
test: string[];
|
|
94
|
+
};
|
|
95
|
+
$FIELD: {
|
|
96
|
+
mock: string[];
|
|
97
|
+
test: string[];
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `types.ts`
|
|
3
|
+
* - 기본 types used in `backend-proxy`
|
|
4
|
+
*
|
|
5
|
+
* **[중요! exports 순서]**
|
|
6
|
+
* 1. define data type in `types.ts` w/ internal types.
|
|
7
|
+
* 2. define Model in `model.ts`
|
|
8
|
+
* 3. define View/Body in `view.ts`, and external types.
|
|
9
|
+
*
|
|
10
|
+
* @author Steve <steve@lemoncloud.io>
|
|
11
|
+
* @date 2022-08-29 initial version.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Lookup Table
|
|
17
|
+
*
|
|
18
|
+
* WARN! DO NOT EXPORT AS `$LUT`. use default export instead.
|
|
19
|
+
*/
|
|
20
|
+
declare const $LUT: {
|
|
21
|
+
/**
|
|
22
|
+
* Possible type of model.
|
|
23
|
+
*/
|
|
24
|
+
ModelType: {
|
|
25
|
+
/** mock model */
|
|
26
|
+
mock: string;
|
|
27
|
+
/** test model */
|
|
28
|
+
test: string;
|
|
29
|
+
};
|
|
30
|
+
/** type: MockStereo */
|
|
31
|
+
MockStereo: {
|
|
32
|
+
'': string;
|
|
33
|
+
'#': string;
|
|
34
|
+
'#alias': string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* type: `MockStereo`
|
|
39
|
+
*/
|
|
40
|
+
export declare type MockStereo = keyof typeof $LUT.MockStereo;
|
|
41
|
+
/** must export $LUT as default */
|
|
42
|
+
export default $LUT;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `views.ts`
|
|
3
|
+
* - type of views used in `backend-proxy`
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2022-08-29 initial version.
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
9
|
+
*/
|
|
10
|
+
import { View, Body } from 'lemon-model';
|
|
11
|
+
import { MockModel, TestModel } from './model';
|
|
12
|
+
import $LUT from './types';
|
|
13
|
+
export * from './types';
|
|
14
|
+
export default $LUT;
|
|
15
|
+
/**!SECTION */
|
|
16
|
+
/**
|
|
17
|
+
* type: `MockView`
|
|
18
|
+
* - usually same as post's body.
|
|
19
|
+
*/
|
|
20
|
+
export interface MockView extends View, Omit<Partial<MockModel>, 'required'> {
|
|
21
|
+
/**
|
|
22
|
+
* (optional) flag required.
|
|
23
|
+
*/
|
|
24
|
+
required?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Type `MockBody`
|
|
28
|
+
*/
|
|
29
|
+
export interface MockBody extends Body, Partial<MockView> {
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Type `TestBody`
|
|
33
|
+
*/
|
|
34
|
+
export interface TestBody extends Body, Partial<TestView> {
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* type: `TestView`
|
|
38
|
+
* - usually same as post's body.
|
|
39
|
+
*/
|
|
40
|
+
export interface TestView extends View, Omit<Partial<TestModel>, 'id' | 'required'> {
|
|
41
|
+
/**
|
|
42
|
+
* unique id of this type
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
45
|
+
/**
|
|
46
|
+
* (optional) flag required.
|
|
47
|
+
*/
|
|
48
|
+
required?: boolean;
|
|
49
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `model.ts`
|
|
3
|
+
* - model definitions per account data
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2022-08-29 initial version.
|
|
7
|
+
* @author Aiden <aiden@lemocloud.io>
|
|
8
|
+
* @date 2025-07-23 refactored for sockets service
|
|
9
|
+
*
|
|
10
|
+
* Copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
11
|
+
*/
|
|
12
|
+
import { CoreModel } from 'lemon-model';
|
|
13
|
+
import $LUT, { ChannelStereo } from './types';
|
|
14
|
+
/**
|
|
15
|
+
* type: `ModelType`
|
|
16
|
+
*/
|
|
17
|
+
export declare type ModelType = keyof typeof $LUT.ModelType;
|
|
18
|
+
/**
|
|
19
|
+
* type: `Model`: common model
|
|
20
|
+
*/
|
|
21
|
+
export declare type Model = CoreModel<ModelType>;
|
|
22
|
+
/**
|
|
23
|
+
* interface: `SocketModel`
|
|
24
|
+
*/
|
|
25
|
+
export interface SocketModel extends Model {
|
|
26
|
+
/** id of model */
|
|
27
|
+
id?: string;
|
|
28
|
+
/** name of model */
|
|
29
|
+
name?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* interface: `ConnectionModel`
|
|
33
|
+
* - a model for each connection to websocket.
|
|
34
|
+
* - 웹소켓 연결 정보를 저장하는 모델
|
|
35
|
+
*/
|
|
36
|
+
export interface ConnectionModel extends Model {
|
|
37
|
+
/**
|
|
38
|
+
* as `conn-id`
|
|
39
|
+
*/
|
|
40
|
+
id?: string;
|
|
41
|
+
/**
|
|
42
|
+
* stereo type as initial `role`.
|
|
43
|
+
*/
|
|
44
|
+
stereo?: string;
|
|
45
|
+
/**
|
|
46
|
+
* (required) The deployment stage of the API (e.g., 'dev', 'prod').
|
|
47
|
+
*/
|
|
48
|
+
stage?: string;
|
|
49
|
+
/**
|
|
50
|
+
* (required) The domain name of the WebSocket API.
|
|
51
|
+
*/
|
|
52
|
+
domain?: string;
|
|
53
|
+
/**
|
|
54
|
+
* (required) The API Gateway ID for Management API endpoint.
|
|
55
|
+
*/
|
|
56
|
+
apiId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* (required) The unique identifier for the WebSocket connection.
|
|
59
|
+
*/
|
|
60
|
+
connectionId?: string;
|
|
61
|
+
/** (optional) if it has valid session infor. */
|
|
62
|
+
hasSession?: number;
|
|
63
|
+
/** (internal) Timestamp when the connection was established. */
|
|
64
|
+
connectedAt?: number;
|
|
65
|
+
/** (internal) Timestamp when the connection was terminated. */
|
|
66
|
+
disConnectedAt?: number;
|
|
67
|
+
/**
|
|
68
|
+
* (extended) The origin of the request.
|
|
69
|
+
*/
|
|
70
|
+
origin?: string;
|
|
71
|
+
/**
|
|
72
|
+
* (extended) The remote IP address of the client.
|
|
73
|
+
*/
|
|
74
|
+
remote?: string;
|
|
75
|
+
/**
|
|
76
|
+
* (extended) The User-Agent string of the client.
|
|
77
|
+
*/
|
|
78
|
+
agent?: string;
|
|
79
|
+
/**
|
|
80
|
+
* (extended) The reason for disconnection, if applicable.
|
|
81
|
+
*/
|
|
82
|
+
reason?: string;
|
|
83
|
+
/**
|
|
84
|
+
* (extended) The code of disconnection.
|
|
85
|
+
*/
|
|
86
|
+
disconnectCode?: number;
|
|
87
|
+
/**
|
|
88
|
+
* (internal) ping-pong count
|
|
89
|
+
*/
|
|
90
|
+
readonly count?: number;
|
|
91
|
+
/**
|
|
92
|
+
* (linked) 현재 연결이 구독 중인 채널(토픽) ID 목록
|
|
93
|
+
*/
|
|
94
|
+
channels?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* (linked) 현재 연결이 구독 중인 채널(토픽) 목록
|
|
97
|
+
*/
|
|
98
|
+
channel$$?: ChannelHead[];
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* interface: `ChannelHead`
|
|
102
|
+
* - common head of `ChannelModel`
|
|
103
|
+
*/
|
|
104
|
+
export interface ChannelHead {
|
|
105
|
+
/** id of channel */
|
|
106
|
+
id?: string;
|
|
107
|
+
/** name of channel */
|
|
108
|
+
name?: string;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* interface: `ChannelModel`
|
|
112
|
+
* - 웹소켓 접속 채널(room) 관리
|
|
113
|
+
*/
|
|
114
|
+
export interface ChannelModel extends Model, ChannelHead {
|
|
115
|
+
/** stereo */
|
|
116
|
+
stereo?: ChannelStereo;
|
|
117
|
+
/** (internal) alised router-id if stereo=alias */
|
|
118
|
+
aliasId?: string;
|
|
119
|
+
/** (internal) the linked router */
|
|
120
|
+
alias$?: ChannelHead;
|
|
121
|
+
/** (optional) description of this channel */
|
|
122
|
+
desc?: string;
|
|
123
|
+
/** (internal) count of subscribers */
|
|
124
|
+
subscribed?: number;
|
|
125
|
+
/** (internal) the linked alias for detailed */
|
|
126
|
+
readonly $alias?: ChannelModel;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* extract field names from models
|
|
130
|
+
* - only fields start with lowercase, or all upper.
|
|
131
|
+
*/
|
|
132
|
+
export declare const filterFields: (fields: string[], base?: string[]) => string[];
|
|
133
|
+
/** field names from head */
|
|
134
|
+
export declare const $HEAD: {
|
|
135
|
+
channel: string[];
|
|
136
|
+
};
|
|
137
|
+
export declare const $FIELD: {
|
|
138
|
+
socket: string[];
|
|
139
|
+
connection: string[];
|
|
140
|
+
channel: string[];
|
|
141
|
+
};
|
|
142
|
+
/** must export default as below */
|
|
143
|
+
declare const _default: {
|
|
144
|
+
$HEAD: {
|
|
145
|
+
channel: string[];
|
|
146
|
+
};
|
|
147
|
+
$FIELD: {
|
|
148
|
+
socket: string[];
|
|
149
|
+
connection: string[];
|
|
150
|
+
channel: string[];
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `types.ts`
|
|
3
|
+
* - 기본 types used in `backend-proxy`
|
|
4
|
+
*
|
|
5
|
+
* **[중요! exports 순서]**
|
|
6
|
+
* 1. define data type in `types.ts` w/ internal types.
|
|
7
|
+
* 2. define Model in `model.ts`
|
|
8
|
+
* 3. define View/Body in `view.ts`, and external types.
|
|
9
|
+
*
|
|
10
|
+
* @author Steve <steve@lemoncloud.io>
|
|
11
|
+
* @date 2022-08-29 initial version.
|
|
12
|
+
* @author Aiden <aiden@lemocloud.io>
|
|
13
|
+
* @date 2025-07-23 refactored for sockets service
|
|
14
|
+
*
|
|
15
|
+
* Copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Lookup Table
|
|
19
|
+
*
|
|
20
|
+
* WARN! DO NOT EXPORT AS `$LUT`. use default export instead.
|
|
21
|
+
*/
|
|
22
|
+
declare const $LUT: {
|
|
23
|
+
/**
|
|
24
|
+
* Possible type of model.
|
|
25
|
+
*/
|
|
26
|
+
ModelType: {
|
|
27
|
+
/** socket model */
|
|
28
|
+
socket: string;
|
|
29
|
+
/** connection model */
|
|
30
|
+
connection: string;
|
|
31
|
+
/** channel model */
|
|
32
|
+
channel: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* ChannelStereo
|
|
36
|
+
*/
|
|
37
|
+
ChannelStereo: {
|
|
38
|
+
'': string;
|
|
39
|
+
/** alias */
|
|
40
|
+
'#alias': string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* type: `ChannelStereo`
|
|
45
|
+
*/
|
|
46
|
+
export declare type ChannelStereo = keyof typeof $LUT.ChannelStereo;
|
|
47
|
+
/** must export $LUT as default */
|
|
48
|
+
export default $LUT;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `views.ts`
|
|
3
|
+
* - type of views used in `backend-proxy`
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2022-08-29 initial version.
|
|
7
|
+
* @author Aiden <aiden@lemoncloud.io>
|
|
8
|
+
* @date 2024-07-23 refactored for sockets service
|
|
9
|
+
*
|
|
10
|
+
* Copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
11
|
+
*/
|
|
12
|
+
import { View, Body } from 'lemon-model';
|
|
13
|
+
import { ChannelModel, ConnectionModel, SocketModel } from './model';
|
|
14
|
+
import $LUT from './types';
|
|
15
|
+
export * from './types';
|
|
16
|
+
export default $LUT;
|
|
17
|
+
/**!SECTION */
|
|
18
|
+
/**
|
|
19
|
+
* type: `SocketView`
|
|
20
|
+
* - usually same as post's body.
|
|
21
|
+
*/
|
|
22
|
+
export interface SocketView extends View, Partial<SocketModel> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Type `SocketBody`
|
|
26
|
+
*/
|
|
27
|
+
export interface SocketBody extends Body, Partial<SocketView> {
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* type: `ConnectionView`
|
|
31
|
+
* - usually same as post's body.
|
|
32
|
+
*/
|
|
33
|
+
export interface ConnectionView extends View, Partial<ConnectionModel> {
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Type `ConnectionBody`
|
|
37
|
+
*/
|
|
38
|
+
export interface ConnectionBody extends Body, Partial<ConnectionView> {
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* type: `ChannelView`
|
|
42
|
+
* - usually same as post's body.
|
|
43
|
+
*/
|
|
44
|
+
export interface ChannelView extends View, Omit<Partial<ChannelModel>, '$alias'> {
|
|
45
|
+
/** (optional) view of alias in detail */
|
|
46
|
+
readonly $alias?: ChannelView;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Type `ChannelBody`
|
|
50
|
+
*/
|
|
51
|
+
export interface ChannelBody extends Body, Partial<ChannelView> {
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `backend-types.ts`
|
|
3
|
+
* - types used in `backend-proxy`
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2022-08-29 initial version.
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
9
|
+
*/
|
|
10
|
+
import { SimpleSet } from 'lemon-model';
|
|
11
|
+
export { SimpleSet };
|
|
12
|
+
/**
|
|
13
|
+
* Lookup Table
|
|
14
|
+
*
|
|
15
|
+
* WARN! DO NOT EXPORT AS `$LUT`. use default export instead.
|
|
16
|
+
*/
|
|
17
|
+
declare const $LUT: {
|
|
18
|
+
/**
|
|
19
|
+
* Possible type of model.
|
|
20
|
+
*/
|
|
21
|
+
ModelType: {
|
|
22
|
+
mock: string;
|
|
23
|
+
test: string;
|
|
24
|
+
callback: string;
|
|
25
|
+
socket: string;
|
|
26
|
+
connection: string; /** Korean */
|
|
27
|
+
channel: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Possible type of language.
|
|
31
|
+
*/
|
|
32
|
+
Languages: {
|
|
33
|
+
/** no selection */
|
|
34
|
+
'': string;
|
|
35
|
+
/** Korean */
|
|
36
|
+
ko: string;
|
|
37
|
+
/** English */
|
|
38
|
+
en: string;
|
|
39
|
+
/** Chinese */
|
|
40
|
+
cn: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* type: `ModelType`
|
|
45
|
+
*/
|
|
46
|
+
export declare type ModelType = keyof typeof $LUT.ModelType;
|
|
47
|
+
/**
|
|
48
|
+
* type: `LanguageType`
|
|
49
|
+
*/
|
|
50
|
+
export declare type LanguageType = keyof typeof $LUT.Languages;
|
|
51
|
+
/** must export $LUT as default */
|
|
52
|
+
export default $LUT;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es6.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/lemon-model/dist/types/core-types.d.ts","../../node_modules/lemon-model/dist/types/core-storage.d.ts","../../node_modules/lemon-model/dist/types/index.d.ts","../../node_modules/lemon-model/dist/cores/transformer.d.ts","../../node_modules/lemon-model/dist/cores/index.d.ts","../../node_modules/lemon-model/dist/index.d.ts","../../src/modules/sockets/types.ts","../../src/modules/callback/types.ts","../../src/modules/mock/types.ts","../../src/service/backend-types.ts","../../src/libs/wss/wss-types.ts","../../node_modules/ts-transformer-keys/index.d.ts","../../src/modules/mock/model.ts","../../src/modules/mock/views.ts","../../src/modules/sockets/model.ts","../../src/modules/sockets/views.ts","../../src/view/types.ts","../../node_modules/@types/aws-lambda/handler.d.ts","../../node_modules/@types/aws-lambda/common/api-gateway.d.ts","../../node_modules/@types/aws-lambda/common/cloudfront.d.ts","../../node_modules/@types/aws-lambda/trigger/alb.d.ts","../../node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts","../../node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts","../../node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts","../../node_modules/@types/aws-lambda/trigger/autoscaling.d.ts","../../node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts","../../node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts","../../node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts","../../node_modules/@types/aws-lambda/trigger/cloudfront-response.d.ts","../../node_modules/@types/aws-lambda/trigger/eventbridge.d.ts","../../node_modules/@types/aws-lambda/trigger/cloudwatch-events.d.ts","../../node_modules/@types/aws-lambda/trigger/cloudwatch-logs.d.ts","../../node_modules/@types/aws-lambda/trigger/codebuild-cloudwatch-state.d.ts","../../node_modules/@types/aws-lambda/trigger/codepipeline.d.ts","../../node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-action.d.ts","../../node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-pipeline.d.ts","../../node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-stage.d.ts","../../node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/_common.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/create-auth-challenge.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-authentication.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-confirmation.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-authentication.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-signup.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/user-migration.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/verify-auth-challenge-response.d.ts","../../node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts","../../node_modules/@types/aws-lambda/trigger/connect-contact-flow.d.ts","../../node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts","../../node_modules/@types/aws-lambda/trigger/iot.d.ts","../../node_modules/@types/aws-lambda/trigger/kinesis-firehose-transformation.d.ts","../../node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts","../../node_modules/@types/aws-lambda/trigger/lex.d.ts","../../node_modules/@types/aws-lambda/trigger/lex-v2.d.ts","../../node_modules/@types/aws-lambda/trigger/s3.d.ts","../../node_modules/@types/aws-lambda/trigger/s3-batch.d.ts","../../node_modules/@types/aws-lambda/trigger/ses.d.ts","../../node_modules/@types/aws-lambda/trigger/sns.d.ts","../../node_modules/@types/aws-lambda/trigger/sqs.d.ts","../../node_modules/@types/aws-lambda/trigger/msk.d.ts","../../node_modules/@types/aws-lambda/trigger/secretsmanager.d.ts","../../node_modules/@types/aws-lambda/trigger/s3-event-notification.d.ts","../../node_modules/@types/aws-lambda/trigger/amplify-resolver.d.ts","../../node_modules/@types/aws-lambda/index.d.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/keyv/src/index.d.ts","../../node_modules/@types/http-cache-semantics/index.d.ts","../../node_modules/@types/responselike/index.d.ts","../../node_modules/@types/cacheable-request/index.d.ts","../../node_modules/@types/caseless/index.d.ts","../../node_modules/@types/cookiejar/index.d.ts","../../node_modules/@types/cors/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/ioredis/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/chalk/types/index.d.ts","../../node_modules/jest-diff/build/cleanupsemantic.d.ts","../../node_modules/pretty-format/build/types.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/types.d.ts","../../node_modules/jest-diff/build/difflines.d.ts","../../node_modules/jest-diff/build/printdiffs.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json-buffer/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/jsonwebtoken/index.d.ts","../../node_modules/@types/keyv/index.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/prettier/index.d.ts","../../node_modules/form-data/index.d.ts","../../node_modules/@types/tough-cookie/index.d.ts","../../node_modules/@types/request/index.d.ts","../../node_modules/@types/retry/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/superagent/index.d.ts","../../node_modules/@types/supertest/index.d.ts","../../node_modules/@types/uuid/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"83411374f9c21de98b86707275dced234039e2362b649e231f600b7393202bda","39f5e11cbb7b085c74da81bbac3271c44c35a04a4776a41bf6803014de601495","e7390687ca5063ac5852f889935dedd1141bbd2539888ef82eab8e7020b7b3ee","b89aa7b6d177a2b409912b5042f5ce475031e40d7531cfb8e780927fcc6d4c83","064e3027d702ca00f80516658897613142b83dcb015cce9d098d55fbf97f206e","5a7778249dc6ff452778d13a5a148f12b1eba99137d0b33e8aef7f20d5ab55b8",{"version":"f4cd56bde3a6ae653c008cdd4c667e3e14e9987ef433477c03ff141b21dd184c","signature":"5a472478e560581dd30196b26f25dc94ab35e7fbd23745f07ad602eca0131bbb"},{"version":"e1c8140514d6ec39addfd35edb2db6fffacb91fe3bc9689042a5301af949f029","signature":"f5650aa760f8e975c83cacf536a80d4bd7acb2d3e70bdaacd3df2ff1a6b8ca9c"},{"version":"1da3a70158dd226f00c7a7a7e020d80b3b7f17bb5275d7a723d4838f736aa782","signature":"88fff4682b0806218ac53a36143ab70bf74f510e3644cd41819063694c3f334f"},{"version":"072caccefb0b067b8d6ae8b52fb97215288af38a4b80a1078cd137f79c5ef13e","signature":"9453cef234659cd47ec7e81f0d2dac5244625fcfe1b671fd0bdef400da60175e"},{"version":"318922d8d221116d75153ac67944336b4fceb4d23de33db046b9f31dbad3b3d0","signature":"70776f159e09370654c00a2db85a5e113a1364993c2a9c78828c3a8002ee181e"},"2f3d01a489a66f328ca802e41c7c8374e7f73ed3ff4e6a54a540410c99821644",{"version":"f05ffe7435e70878fb7a7c9f29b4855c198b8ebca19c099d5e33a4f129bf0558","signature":"247c02bc8d36b80e411e300f68b41f4733defa95a734f2da8c79cea2c304341c"},{"version":"65cf50b41253764bb96a38e9341382229a2aa2418efe88e448395a88514f6a5a","signature":"9f00f7c8f110b5eea2eb0d79651c74912775835f0fa2183d1114ffe4ababb603"},{"version":"3a05dfe5d58119d5ae787d8b5429e37981d6fd5244c85ecde5bb52c76fde0b13","signature":"888ee766349a7bb46ec221759df0235bb4f402116422e20d17f2f48884107d8e"},{"version":"0440a43a6c10878ceee15e87213ace4e1bf2bbec63da5fa9b68cfc52d906bd62","signature":"d3009270f50f0224fbde3b351e76842575db5ab55eca8d2e472db6aa3786d989"},"9836b51762f3d95875677062c270071277daa8b4fbcfac288cdb6d67f78f52b9","6d1675231de1aa366144f91852cddb2eb3cad8d9f2e7e48f4e5e0031e7046ddc","bc9d1a62f3ab938e3ac66b85363c8f1ec1c5b9cf32e5d393f7b14209b4811c48","429d2e0d28ec8be13ebc5e0b389f34e0622d435c88ec5efe408c4d82e17f37c9","6bb7cbba94c9a5c43add2e17d93d04da08e51a69d412e9d1afaf130f4624e91a","f6f23892b68818f45d4863d7009401085ec48c699c9a65a8786ba9ad6b552628","7305cccc01f462295be680ae8955284e7182e34102256e2af2d21ec924bc87a0","bd6cd4ae039cc123778bd665d1711665415b18edde58fdc8ca3610e5ff84182a","46b3f5cf0c95f16651fa2582446bb9b35a28421a56097e9e853e00ebaeb9c610","004678b644cdb4615ac6cda7b2d285d0eb850e55eb53da47e8c1325cba362bb9","4205ae686b67d9dea3bff36ff28888ebfd278ca09ce45b66918a6420b26a09cc","d29a230261d709ce237307b4eadf9f0b55b00eee6ce3b47f389bf348614c132c","0dad26ffdf5cae28cb67ac9c0ce06c7ec732001b01046f47eeaa4ee5a3655f5d","ad5939fcb0c3db887f55a55284a9d7672c1a6f747d083751b614b2f0ed34b611","4194cc6e823aa830a71c733b18d0de1c29323b102c6460e9fe835ac5f8b8a9ba","4ff4add7b8cf26df217f2c883292778205847aefb0fd2aee64f5a229d0ffd399","420878898a89ebc3515fb87bbfd6662f0432fe918652669414b584c2540e3bc8","c24e2fddbca24f0b63d0b82e5aca4da50c8c591566711be7260c900c97d7c9f2","f4922a1814e47fdb4d93c2cf27968ea30c174e04d4a3374774046a9307dbbaf0","bfff1bb349423cc262a88775d8233f7ea2b87d66ba1f0631eec0c30bea097dd5","a177f76c040e29b9c31adfc93225c273828ff784b592bf56c6131771e624f628","06236dfec90a14b0c3db8249831069ea3f90b004d73d496a559a4466e5a344a4","19c08e1ce502625c711682ec21495ca47ca893b21f346621e7a175bcd677335f","5d36c521b96ba0d4b98919ca833c8cc62f1f225d40467122ba561a2c5553ab80","b8b71558bba1cdf2dff3d7796bd8e3383daa5f1278be5144ff0b0ac7538fa264","2b3046d66390c6447811adc06be3b085a7f396c53a7a4670d11159672d5aeb15","84d9e9735b2d0d9b1f5b58666d849b7d9a730749dd531e55bd17cb5c7e6e21eb","0aaa0e1d10349bc24bdee9dd2bca420741f1deb7028c7a17a2b9d5df2f5d9d63","dd289cb306f619c7844ff82fec02badc571c6ed66c7da72815239647febee137","754fb3e7737eb1feb7fcf4902e925cae8c050dd134819deb25ae3ed6843b7dd1","f05c1be0c5bf0e983941f9f75a43297b04730393d0bdabc687066d8b1d6b8d16","a97972e1e9b4bc5d31380c695b7a827c014bd042ec17369bc4d920a1fab7d47b","b5740b8d4723dcdc408195835a52cc83501b1f44399e3104eb4677b082c8973e","feb17c6ab54766cb447ed7efa1da2eacfe289d024da02eb0171fc072704f9be7","dd50796be484a4f4f3733dd67d0a829d93c5b6dd678552d40683f89e6767706c","4e50d35ec611c6d56d740d374bb78120280de9c077b3ecf6c8c6297a7058d5ea","b12effb4e275d1e3516506c030f4046283cc7a4d7e2b4e316b4397446444aa22","cdbff147b3bd958f7be6f4c621e8b29c5c17226ba8aa506e5d01d3446ee6ff21","66738976a7aa2d5fb2770a1b689f8bc643af958f836b7bc08e412d4092de3ab9","0751ea9602b019c630c160aa81c6d59495f0119123d171f2351c9907cd3440d7","33107c5cb9509a44748ca6de5159993a4366fdcea6828ca5d3241b216d5b0627","3809c600654ed5b6bdce015f7110d40a75e402e59de80c12b622b925f44a8599","146577c9761cc6015ae035a1407d4ada5f2232453acb82e7998daabe9f3a23d0","cec3cf5159f51f7725d5b06b631996fef4863d8f5c237b8a3f9a18f5570c8286","47ffa0bd85219fa1551c7cb128e3e1b44f980c9eb5baee26b0164db191ab917b","bb7de140ec25957e693e6b48de186b7229653d5c683fe7bbd1d24bcc66a86a15","162994e0ad049c7c8aa5f99a7f1e556f700d80452441a6ff0e4648cfcfaebbb8","fb8aebad66729980040dcf5ec38b723a4abb2336db77e51b1d642f73a81291b4","5b6df0d20c824e4c66b791ec39d10721af9954794231ad9e0f73889b38e83858","35c3631308ca05a1cac7a31b6a3d2a68442cdd2315adfb476d0461dea2cac030","256d2eed83c1e05fc9b18694f07f7b74da266bed410c6d392e3236ab36cdd0da","f3711e90a75e13ce96795f7c02287dd7ef76905998cb5804a69795f863b7d776","a0c6f9338d39354a276bb9431c19e23d6d03a72cc868e41438a9a9e1ab80a2b8","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","1c2cd862994b1fbed3cde0d1e8de47835ff112d197a3debfddf7b2ee3b2c52bc","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","fc72135da24040641388fb5f2c2a7a99aa5b962c0fa125bd96fabeec63dd2e63","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"3e4624c306340ad303cc536a07004e81336c3f088308a9e4a9f4c957a3cda2fd","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","025fc13211ed47d2798269017af3ec869122a050d5431a6ad3c1997900e65c58","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"249a2b90439cdfd51709539fbfa4dfe0791cbae6efce1e9b327ba8f8cd703f49","affectsGlobalScope":true},"40b991dc3365179e1365643589e168d7ea0588b4dd5bbb3a974ffefa7cb05e7f","bf057bb805c5e1c0e795ac7c759d40ebbe0e9894df9be3413bbdd8d1a2fc229e","74f2bb83d1ccf390f48681be57a30c09e85b4c7a801267746e382b2386fc667e","7bac475dcdd9f7e4e9da934d32c305bc889c4ce3c8ac0ef45a93a8d670fff607","5d357e7965026197a3152fa4e990fa7a4cbaf1578a17dff920ff1a71a325e198","8acf99b1c8682276a63ea5bb68433782715892726b97e4604a415e4e56bce41c",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"3b145a2351f5cf16abf999c8d5f4481c74dffdc54ec1e9a89992e2622e1226c5","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","d270fd4b565eda11a0a737c181892316b7a1ace06c7988d0246219c3df11db06","70caef0271088abc5f5ae7ff6d84421d35bb192b690fbaa1b2ecf2b0ef01deb6",{"version":"59a638a504490fecaacf0020b9814b6abee37edb66047eb1ab9f7c2274bf1da0","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","8c4c1a64db28930732033c31418f817dcb9d09d706766707ae6d38f23faf0c53","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","12a70315c8281e46d65696086dd25827408e967b305a22276ae2779fe519e0fe","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","29d613c3964ea75b2b4e0d17098245c34529282e9cc72b7e4eeb2a7b12c27cb7",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","a381f079c4804442f179d742fdb2e495fe28d67a47cac673485f75ae2e77aeca","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2af17363f8a062e3a8cd1b26030af0058b3f86e783f4fc6aa9f57247f240ebaa","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","dfe08140492cdc135fb7fd9c4a652c05207b61a436906079b87da1d3111314bf","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","089e1f8603cbc35ab977c8dcc662eb754b82fca32ed1dfb16bd682726c2d5432","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"82fc37849846a3a0264047621d5beb6ce2ddeb2f83bdee2c79523af3c3282d97","275ab6886b96185e298bf6bd9c16c1d198ad657e4bdcca8d1362b5ff373d4133","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","5343f3c160282dfbaab9af350119a0c3b59b7076ef0117bb5995a66e240dab28","8d48b8f8a377ade8dd1f000625bc276eea067f2529cc9cafdf082d17142107d6","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","be00321090ed100e3bd1e566c0408004137e73feb19d6380eba57d68519ff6c5","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","091f417275a51ab3c47b949723e9e8a193012157ecc64a96e2d7b1505e82f395","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"ccfd8774cd9b929f63ff7dcf657977eb0652e3547f1fcac1b3a1dc5db22d4d58","affectsGlobalScope":true},"75bdc1b420f0ffc6cc6fd0b6694d89f5072bf755b4e6c7e65a2fda797ca0bb8a","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"f1d8b21cdf08726021c8cce0cd6159486236cf1d633eeabbc435b5b2e5869c2e","e91ad231af87f864b3f07cd0e39b1cf6c133988156f087c1c3ccb0a5491c9115","cc256fd958b33576ed32c7338c64adb0d08fc0c2c6525010202fab83f32745da","bf0b1297461549a0e32cd57dffb992c63d7c7134fe0f9e15d359abcc88dbd28c","58a3914b1cce4560d9ad6eee2b716caaa030eda0a90b21ca2457ea9e2783eaa3","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","31c502014e5ba046d5cb060136929b73fd53f0f989aa37b2b0424644cb0d93ef","76232dbb982272b182a76ad8745a9b02724dc9896e2328ce360e2c56c64c9778","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438"],"options":{"declaration":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"outDir":"./","removeComments":false,"sourceMap":true,"target":2},"fileIdsList":[[115,165],[165],[63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,165],[63,165],[63,69,165],[63,64,67,165],[63,64,165],[63,71,165],[63,65,165],[75,165],[63,80,81,82,165],[63,84,165],[63,85,86,87,88,89,90,91,92,93,94,95,96,165],[63,75,165],[115,116,117,118,119,165],[115,117,165],[136,139,164,165,172,173,174,175],[139,165],[137,165,172],[136,153,161,165,172],[165,182],[165,183],[165,188,193],[165,172],[136,165,172],[165,199,201,202,203,204,205,206,207,208,209,210,211],[165,199,200,202,203,204,205,206,207,208,209,210,211],[165,200,201,202,203,204,205,206,207,208,209,210,211],[165,199,200,201,203,204,205,206,207,208,209,210,211],[165,199,200,201,202,204,205,206,207,208,209,210,211],[165,199,200,201,202,203,205,206,207,208,209,210,211],[165,199,200,201,202,203,204,206,207,208,209,210,211],[165,199,200,201,202,203,204,205,207,208,209,210,211],[165,199,200,201,202,203,204,205,206,208,209,210,211],[165,199,200,201,202,203,204,205,206,207,209,210,211],[165,199,200,201,202,203,204,205,206,207,208,210,211],[165,199,200,201,202,203,204,205,206,207,208,209,211],[165,199,200,201,202,203,204,205,206,207,208,209,210],[121,165],[124,165],[125,130,165],[126,136,137,144,153,164,165],[126,127,136,144,165],[128,165],[129,130,137,145,165],[130,153,161,165],[131,133,136,144,165],[132,165],[133,134,165],[135,136,165],[136,165],[136,137,138,153,164,165],[136,137,138,153,156,165],[165,169],[139,144,153,164,165],[136,137,139,140,144,153,161,164,165],[139,141,153,161,164,165],[121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171],[136,142,165],[143,164,165],[133,136,144,153,165],[145,165],[146,165],[124,147,165],[148,163,165,169],[149,165],[150,165],[136,151,165],[151,152,165,167],[136,153,154,155,156,165],[153,155,165],[153,154,165],[156,165],[157,165],[136,159,160,165],[159,160,165],[130,144,153,161,165],[162,165],[144,163,165],[125,139,150,164,165],[130,165],[153,165,166],[165,167],[165,168],[125,130,136,138,147,153,164,165,167,169],[153,165,170],[137,139,141,144,153,164,165,172,177,213,214],[139,153,165,172],[125,137,139,153,165,172,178],[165,218],[165,221],[165,186,189],[165,186,189,190,191],[165,188],[165,185,192],[49,165],[47,165],[48,50,165],[46,47,165],[165,187],[51,54,57,165],[51,54,58,165],[51,52,57,165],[51,52,60,165],[51,52,53,54,165],[55,56,59,61,165],[51,54],[51,54,58],[51,52],[51,52,60],[51]],"referencedMap":[[117,1],[115,2],[64,2],[65,2],[63,2],[114,3],[66,4],[113,5],[68,6],[67,7],[69,4],[70,4],[72,8],[71,4],[73,9],[74,9],[76,10],[77,4],[78,10],[80,4],[81,4],[82,4],[83,11],[79,4],[84,2],[85,12],[87,12],[86,12],[88,12],[89,12],[97,13],[90,12],[91,12],[92,12],[93,12],[94,12],[95,12],[96,12],[98,4],[99,4],[75,4],[100,4],[101,4],[102,4],[104,4],[103,4],[110,4],[106,4],[112,14],[105,4],[111,4],[107,4],[108,4],[109,4],[120,15],[116,1],[118,16],[119,1],[176,17],[177,2],[178,2],[179,18],[180,19],[174,2],[181,20],[182,2],[183,21],[184,22],[194,23],[195,2],[196,2],[197,24],[198,25],[200,26],[201,27],[199,28],[202,29],[203,30],[204,31],[205,32],[206,33],[207,34],[208,35],[209,36],[210,37],[211,38],[121,39],[122,39],[124,40],[125,41],[126,42],[127,43],[128,44],[129,45],[130,46],[131,47],[132,48],[133,49],[134,49],[135,50],[136,51],[137,52],[138,53],[123,54],[171,2],[139,55],[140,56],[141,57],[172,58],[142,59],[143,60],[144,61],[145,62],[146,63],[147,64],[148,65],[149,66],[150,67],[151,68],[152,69],[153,70],[155,71],[154,72],[156,73],[157,74],[158,2],[159,75],[160,76],[161,77],[162,78],[163,79],[164,80],[165,81],[166,82],[167,83],[168,84],[169,85],[170,86],[212,2],[215,87],[175,88],[216,2],[217,2],[218,89],[219,90],[214,2],[220,2],[221,2],[222,91],[185,2],[213,88],[186,2],[190,92],[192,93],[191,92],[189,94],[193,95],[173,51],[50,96],[49,97],[51,98],[47,2],[46,2],[48,99],[188,100],[187,2],[57,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[34,2],[35,2],[36,2],[37,2],[8,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[2,2],[1,2],[45,2],[12,2],[11,2],[56,2],[53,2],[58,101],[54,2],[59,102],[60,103],[52,2],[61,104],[55,105],[62,106]],"exportedModulesMap":[[117,1],[115,2],[64,2],[65,2],[63,2],[114,3],[66,4],[113,5],[68,6],[67,7],[69,4],[70,4],[72,8],[71,4],[73,9],[74,9],[76,10],[77,4],[78,10],[80,4],[81,4],[82,4],[83,11],[79,4],[84,2],[85,12],[87,12],[86,12],[88,12],[89,12],[97,13],[90,12],[91,12],[92,12],[93,12],[94,12],[95,12],[96,12],[98,4],[99,4],[75,4],[100,4],[101,4],[102,4],[104,4],[103,4],[110,4],[106,4],[112,14],[105,4],[111,4],[107,4],[108,4],[109,4],[120,15],[116,1],[118,16],[119,1],[176,17],[177,2],[178,2],[179,18],[180,19],[174,2],[181,20],[182,2],[183,21],[184,22],[194,23],[195,2],[196,2],[197,24],[198,25],[200,26],[201,27],[199,28],[202,29],[203,30],[204,31],[205,32],[206,33],[207,34],[208,35],[209,36],[210,37],[211,38],[121,39],[122,39],[124,40],[125,41],[126,42],[127,43],[128,44],[129,45],[130,46],[131,47],[132,48],[133,49],[134,49],[135,50],[136,51],[137,52],[138,53],[123,54],[171,2],[139,55],[140,56],[141,57],[172,58],[142,59],[143,60],[144,61],[145,62],[146,63],[147,64],[148,65],[149,66],[150,67],[151,68],[152,69],[153,70],[155,71],[154,72],[156,73],[157,74],[158,2],[159,75],[160,76],[161,77],[162,78],[163,79],[164,80],[165,81],[166,82],[167,83],[168,84],[169,85],[170,86],[212,2],[215,87],[175,88],[216,2],[217,2],[218,89],[219,90],[214,2],[220,2],[221,2],[222,91],[185,2],[213,88],[186,2],[190,92],[192,93],[191,92],[189,94],[193,95],[173,51],[50,96],[49,97],[51,98],[47,2],[46,2],[48,99],[188,100],[187,2],[57,2],[9,2],[10,2],[14,2],[13,2],[3,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[4,2],[5,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[34,2],[35,2],[36,2],[37,2],[8,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[2,2],[1,2],[45,2],[12,2],[11,2],[58,107],[59,108],[60,109],[61,110],[55,111],[62,106]],"semanticDiagnosticsPerFile":[117,115,64,65,63,114,66,113,68,67,69,70,72,71,73,74,76,77,78,80,81,82,83,79,84,85,87,86,88,89,97,90,91,92,93,94,95,96,98,99,75,100,101,102,104,103,110,106,112,105,111,107,108,109,120,116,118,119,176,177,178,179,180,174,181,182,183,184,194,195,196,197,198,200,201,199,202,203,204,205,206,207,208,209,210,211,121,122,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,123,171,139,140,141,172,142,143,144,145,146,147,148,149,150,151,152,153,155,154,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,212,215,175,216,217,218,219,214,220,221,222,185,213,186,190,192,191,189,193,173,50,49,51,47,46,48,188,187,57,9,10,14,13,3,15,16,17,18,19,20,21,22,4,5,26,23,24,25,27,28,29,6,30,31,32,33,7,34,35,36,37,8,38,43,44,39,40,41,42,2,1,45,12,11,56,53,58,54,59,60,52,61,55,62]},"version":"4.7.4"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `types.ts`
|
|
3
|
+
* - view types used in API controllers and transformer
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2022-06-21 optimized w/ `abstract-services`
|
|
7
|
+
*
|
|
8
|
+
* @copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
9
|
+
*/
|
|
10
|
+
export * from '../service/backend-types';
|
|
11
|
+
export * from '../libs/wss/wss-types';
|
|
12
|
+
export * from '../modules/mock/views';
|
|
13
|
+
export * from '../modules/sockets/views';
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lemoncloud/chatic-sockets-api",
|
|
3
|
+
"version": "0.26.110",
|
|
4
|
+
"description": "chatic-sockets management api",
|
|
5
|
+
"types": "dist/view/types.d.ts",
|
|
6
|
+
"scripts": {},
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"lemon-model": "^1.1.1"
|
|
9
|
+
},
|
|
10
|
+
"browser": {
|
|
11
|
+
"fs": false
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"lib/**/*",
|
|
15
|
+
"dist/**/*",
|
|
16
|
+
"example/**/*"
|
|
17
|
+
],
|
|
18
|
+
"private": false,
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"author": "Steve Jung (steve@lemoncloud.io)",
|
|
23
|
+
"license": "MIT"
|
|
24
|
+
}
|