@lemoncloud/chatic-socials-api 0.26.124
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/cores/types.d.ts +217 -0
- package/dist/modules/callback/types.d.ts +55 -0
- package/dist/modules/chats/model.d.ts +169 -0
- package/dist/modules/chats/types.d.ts +112 -0
- package/dist/modules/chats/views.d.ts +115 -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/sites/model.d.ts +96 -0
- package/dist/modules/sites/types.d.ts +58 -0
- package/dist/modules/sites/views.d.ts +36 -0
- package/dist/service/backend-types.d.ts +54 -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,217 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `types.ts`
|
|
3
|
+
* - common types used in `/cores`
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2022-06-21 optimized w/ `abstract-services`
|
|
7
|
+
* @date 2022-06-28 added `Codable` interface for general types.
|
|
8
|
+
* @date 2023-01-18 optimized with `lemon-core@3.2.4`
|
|
9
|
+
* @date 2023-02-15 optimized with `lemon-core@3.2.5`
|
|
10
|
+
* @date 2024-11-14 optimized `IdentityToken`.
|
|
11
|
+
*
|
|
12
|
+
* @copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
13
|
+
* @origin `@lemoncloud/lemon-templates-api/cores`
|
|
14
|
+
*/
|
|
15
|
+
import { NextIdentity, CoreModel, View, Body } from 'lemon-model';
|
|
16
|
+
export { CoreModel, View, Body };
|
|
17
|
+
/** type: `IdentityTokenSite` */
|
|
18
|
+
export interface IdentityTokenSite {
|
|
19
|
+
/** site-code (ex: kwonsun) */
|
|
20
|
+
code?: string;
|
|
21
|
+
/** name of site (ex: 권선) */
|
|
22
|
+
name?: string;
|
|
23
|
+
}
|
|
24
|
+
/** type: `IdentityTokenUser` */
|
|
25
|
+
export interface IdentityTokenUser {
|
|
26
|
+
/** name of user (ex: 홍길동) */
|
|
27
|
+
name?: string;
|
|
28
|
+
/** nick of user (ex: 홍사마) */
|
|
29
|
+
nick?: string;
|
|
30
|
+
/** (optional) login-id of user */
|
|
31
|
+
login?: string;
|
|
32
|
+
/** (optional) email of user */
|
|
33
|
+
email?: string;
|
|
34
|
+
}
|
|
35
|
+
/** type: `IdentityTokenGroup` */
|
|
36
|
+
export interface IdentityTokenGroup {
|
|
37
|
+
/** site-code (ex: kwonsun) */
|
|
38
|
+
code?: string;
|
|
39
|
+
/** name of site (ex: 권선) */
|
|
40
|
+
name?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* type: `IdentityToken` (named as `session`)
|
|
44
|
+
* - 계정토큰(= JWT(IdentityToken))으로, `/refresh`시 AWS Key와 함께 발급됨 (기본, 1일동안 유효함)
|
|
45
|
+
* - `backend-api`에서 조직/그룹/사용자에 맞게 재설정됨!
|
|
46
|
+
* - 세션토큰 검사는 `proxy.getCurrentSession()` 이용하기
|
|
47
|
+
*/
|
|
48
|
+
export interface IdentityToken<T = any, U extends IdentityTokenUser = IdentityTokenUser, S extends IdentityTokenSite = IdentityTokenSite, G extends IdentityTokenGroup = IdentityTokenGroup> extends NextIdentity<T> {
|
|
49
|
+
/**
|
|
50
|
+
* site-id (= id in `SiteModel(사이트)`)
|
|
51
|
+
* - `#` 일경우, 특정 site에 엮이지 않음 (무시됨)
|
|
52
|
+
* - `0000` 일경우, 기본 site 정보로 환경설정에 따름
|
|
53
|
+
* - 메인 `backend-api` (see `.iss`)에서 관리되는 `site-model`의 id
|
|
54
|
+
*
|
|
55
|
+
* @see SiteModel
|
|
56
|
+
*/
|
|
57
|
+
sid: string;
|
|
58
|
+
/**
|
|
59
|
+
* group-id (= id in `GroupModel(그룹)`)
|
|
60
|
+
* - `group`은 `user`를 물리적 구분으로 나눠서 생각해볼때 이용가능함.
|
|
61
|
+
*
|
|
62
|
+
* @see GroupModel
|
|
63
|
+
*/
|
|
64
|
+
gid: string;
|
|
65
|
+
/**
|
|
66
|
+
* user-id (= id in `UserModel(유저)`)
|
|
67
|
+
* - 메인 `backend-api` (see `.iss`)에서 관리되는 `user-model`의 id.
|
|
68
|
+
*
|
|
69
|
+
* @see UserModel
|
|
70
|
+
*/
|
|
71
|
+
uid: string;
|
|
72
|
+
/**
|
|
73
|
+
* auth-id (= id in `AuthModel(인정정보)`)
|
|
74
|
+
* - 메인 `backend-api` (see `.iss`)에서 관리되는 `auth-model`의 id.
|
|
75
|
+
* - 인증 정보를 통해서, 로그인의 추가 상세 정보를 알 수 있음.
|
|
76
|
+
*
|
|
77
|
+
* @see AuthModel
|
|
78
|
+
*/
|
|
79
|
+
aid: string;
|
|
80
|
+
/**
|
|
81
|
+
* list of roles (like `user`, `admin`, `super`)
|
|
82
|
+
*/
|
|
83
|
+
roles: string[];
|
|
84
|
+
/**
|
|
85
|
+
* (optional) internal `identity-id` (= delegated identity)
|
|
86
|
+
* - `.identityId` 는 aws cognito 인증을 통해서, 현재 인증된 `identity-id`를 알 수 있음
|
|
87
|
+
* - 다만, `delegated`된 경우에는 위임된 id 가 들어감.
|
|
88
|
+
*
|
|
89
|
+
* @deprecated 삭제될 예정! @241114
|
|
90
|
+
*/
|
|
91
|
+
iid?: string;
|
|
92
|
+
/**
|
|
93
|
+
* service-name of issuer
|
|
94
|
+
* ex) `lemon-backend-api`
|
|
95
|
+
*/
|
|
96
|
+
iss?: string;
|
|
97
|
+
/** Site Info */
|
|
98
|
+
Site: S;
|
|
99
|
+
/** User Info */
|
|
100
|
+
User: U;
|
|
101
|
+
/** (optional) Group Info */
|
|
102
|
+
Group?: G;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* type `ListResult`
|
|
106
|
+
*/
|
|
107
|
+
export interface ListResult<T, R = any> {
|
|
108
|
+
/**
|
|
109
|
+
* total searched count
|
|
110
|
+
*/
|
|
111
|
+
total?: number;
|
|
112
|
+
/**
|
|
113
|
+
* max items count in the page
|
|
114
|
+
*/
|
|
115
|
+
limit?: number;
|
|
116
|
+
/**
|
|
117
|
+
* current page number.
|
|
118
|
+
*/
|
|
119
|
+
page?: number;
|
|
120
|
+
/**
|
|
121
|
+
* (optional) time took in sec
|
|
122
|
+
*/
|
|
123
|
+
took?: number;
|
|
124
|
+
/**
|
|
125
|
+
* items searched
|
|
126
|
+
*/
|
|
127
|
+
list: T[];
|
|
128
|
+
/**
|
|
129
|
+
* (optional) aggr list
|
|
130
|
+
*/
|
|
131
|
+
aggr?: R[];
|
|
132
|
+
}
|
|
133
|
+
export interface AggrKeyCount {
|
|
134
|
+
/** name of key(or bucket name) */
|
|
135
|
+
key: string;
|
|
136
|
+
/** number of count */
|
|
137
|
+
val: number;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* type `PaginatedListResult`
|
|
141
|
+
*/
|
|
142
|
+
export interface PaginatedListResult<T, R = string> extends ListResult<T, R> {
|
|
143
|
+
/**
|
|
144
|
+
* current page
|
|
145
|
+
*/
|
|
146
|
+
page: number;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* type `ListParam`
|
|
150
|
+
*/
|
|
151
|
+
export interface ListParam {
|
|
152
|
+
/**
|
|
153
|
+
* max items count to be fetched
|
|
154
|
+
*/
|
|
155
|
+
limit?: number;
|
|
156
|
+
/**
|
|
157
|
+
* (optional) sorting order
|
|
158
|
+
* - 'asc': older first
|
|
159
|
+
* - 'desc': newer first
|
|
160
|
+
* - string: extended sorting features
|
|
161
|
+
*/
|
|
162
|
+
sort?: 'asc' | 'desc' | string;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* type `PaginateParam`
|
|
166
|
+
*/
|
|
167
|
+
export interface PaginateParam extends ListParam {
|
|
168
|
+
/**
|
|
169
|
+
* page # to fetch (0-indexed)
|
|
170
|
+
*/
|
|
171
|
+
page?: number;
|
|
172
|
+
/**
|
|
173
|
+
* (optional) offset # from start.
|
|
174
|
+
*/
|
|
175
|
+
offset?: number;
|
|
176
|
+
/**
|
|
177
|
+
* (optional) flag to filter by uid
|
|
178
|
+
*/
|
|
179
|
+
uid?: string;
|
|
180
|
+
/**
|
|
181
|
+
* (optional) flag to filter by sid (only for admin role)
|
|
182
|
+
*/
|
|
183
|
+
sid?: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* type `BulkUpdateBody`
|
|
187
|
+
*/
|
|
188
|
+
export interface BulkUpdateBody<T> extends BulkBody<T> {
|
|
189
|
+
/**
|
|
190
|
+
* list bulk update model with id
|
|
191
|
+
*/
|
|
192
|
+
list: T[];
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* body data for bulk
|
|
196
|
+
*/
|
|
197
|
+
export interface BulkBody<T> {
|
|
198
|
+
list: T[];
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* list of the selected model-id
|
|
202
|
+
*/
|
|
203
|
+
export interface BodyList<T extends {
|
|
204
|
+
id: string;
|
|
205
|
+
} = {
|
|
206
|
+
id: string;
|
|
207
|
+
}> {
|
|
208
|
+
list: T[];
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* type `BulkItemsResult`
|
|
212
|
+
*/
|
|
213
|
+
export interface BulkItemsResult {
|
|
214
|
+
success: number;
|
|
215
|
+
failed: number;
|
|
216
|
+
failedItems: any[];
|
|
217
|
+
}
|
|
@@ -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,169 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `chats/model.ts`
|
|
3
|
+
* - model definitions for chats module
|
|
4
|
+
*
|
|
5
|
+
* @author Aiden <aiden@lemoncloud.io>
|
|
6
|
+
* @date 2026-02-06 initial version for chats module.
|
|
7
|
+
*
|
|
8
|
+
* @Copyright (C) 2026 LemonCloud Co Ltd. - All Rights Reserved.
|
|
9
|
+
*/
|
|
10
|
+
import { CoreModel } from 'lemon-model';
|
|
11
|
+
import $LUT, { ChannelStereo, ChatStereo, JoinStereo, JoinNotify, InviteRule } from './types';
|
|
12
|
+
import { UserHead } from '../sites/model';
|
|
13
|
+
/**
|
|
14
|
+
* type: `BoolFlag`
|
|
15
|
+
*/
|
|
16
|
+
export declare type BoolFlag = 0 | 1;
|
|
17
|
+
/**
|
|
18
|
+
* type: `ModelType`
|
|
19
|
+
*/
|
|
20
|
+
export declare type ModelType = keyof typeof $LUT.ModelType;
|
|
21
|
+
/**
|
|
22
|
+
* type: `Model`: common model
|
|
23
|
+
*/
|
|
24
|
+
export declare type Model = CoreModel<ModelType>;
|
|
25
|
+
/**
|
|
26
|
+
* type: `ChannelHead`
|
|
27
|
+
* - common head of `channel-model`
|
|
28
|
+
*/
|
|
29
|
+
export interface ChannelHead {
|
|
30
|
+
/** id of model */
|
|
31
|
+
id?: string;
|
|
32
|
+
/** name of channel */
|
|
33
|
+
name?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* type: `ChannelModel`
|
|
37
|
+
* - channel (chat room) model
|
|
38
|
+
*/
|
|
39
|
+
export interface ChannelModel extends ChannelHead, Model {
|
|
40
|
+
/** stereo */
|
|
41
|
+
stereo?: ChannelStereo;
|
|
42
|
+
/** name of channel */
|
|
43
|
+
name?: string;
|
|
44
|
+
/** description */
|
|
45
|
+
desc?: string;
|
|
46
|
+
/** invite permission rule (default: all) */
|
|
47
|
+
inviteRule?: InviteRule;
|
|
48
|
+
/** current member count (atomic inc/dec) */
|
|
49
|
+
memberNo?: number;
|
|
50
|
+
/** total chat count (atomic inc, used for index-id) */
|
|
51
|
+
chatNo?: number;
|
|
52
|
+
/** (linked) last chat info */
|
|
53
|
+
lastChat$?: ChatHead;
|
|
54
|
+
/** (linked) id of owner */
|
|
55
|
+
ownerId?: string;
|
|
56
|
+
/** (linked) owner info */
|
|
57
|
+
owner$?: UserHead;
|
|
58
|
+
/** (internal) user's channel connection info */
|
|
59
|
+
readonly $join?: JoinModel;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* type: `ChatHead`
|
|
63
|
+
* - common head of `chat-model`
|
|
64
|
+
*/
|
|
65
|
+
export interface ChatHead {
|
|
66
|
+
/** id of model */
|
|
67
|
+
id?: string;
|
|
68
|
+
/** content of chat */
|
|
69
|
+
content?: string;
|
|
70
|
+
/** created timestamp */
|
|
71
|
+
createdAt?: number;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* type: `ChatModel`
|
|
75
|
+
* - chat message model
|
|
76
|
+
*/
|
|
77
|
+
export interface ChatModel extends ChatHead, Model {
|
|
78
|
+
/**
|
|
79
|
+
* chat-id := <channelId>:<chatNo>
|
|
80
|
+
*/
|
|
81
|
+
id?: string;
|
|
82
|
+
/** stereo */
|
|
83
|
+
stereo?: ChatStereo;
|
|
84
|
+
/** content type (e.g. 'text', 'image/jpeg', 'audio/mp3') */
|
|
85
|
+
contentType?: string;
|
|
86
|
+
/** message content */
|
|
87
|
+
content?: string;
|
|
88
|
+
/** seq chat no */
|
|
89
|
+
chatNo?: number;
|
|
90
|
+
/** read count (atomic inc) */
|
|
91
|
+
readCount?: number;
|
|
92
|
+
/** member count at creation time (snapshot, immutable) */
|
|
93
|
+
memberNo?: number;
|
|
94
|
+
/** hidden flag (0=visible, 1=hidden) */
|
|
95
|
+
hidden?: BoolFlag;
|
|
96
|
+
/** (optional) parent message id (thread/reply) */
|
|
97
|
+
parentId?: string;
|
|
98
|
+
/** (optional) parent info */
|
|
99
|
+
parent$?: ChatHead;
|
|
100
|
+
/** (linked) id of channel */
|
|
101
|
+
channelId?: string;
|
|
102
|
+
/** (linked) channel info */
|
|
103
|
+
channel$?: ChannelHead;
|
|
104
|
+
/** (linked) id of owner */
|
|
105
|
+
ownerId?: string;
|
|
106
|
+
/** (linked) owner info */
|
|
107
|
+
owner$?: UserHead;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* type: `JoinModel`
|
|
111
|
+
* - channel-user join model
|
|
112
|
+
* - 채팅 채널에 대한 유저의 상태를 관리함
|
|
113
|
+
*/
|
|
114
|
+
export interface JoinModel extends Model {
|
|
115
|
+
/**
|
|
116
|
+
* join-id := <channelId>@<userId>
|
|
117
|
+
*/
|
|
118
|
+
id?: string;
|
|
119
|
+
/** stereo */
|
|
120
|
+
stereo?: JoinStereo;
|
|
121
|
+
/** channel id */
|
|
122
|
+
channelId?: string;
|
|
123
|
+
/** user id */
|
|
124
|
+
userId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* last read chat number
|
|
127
|
+
* - 마지막으로 읽은 채팅 번호. 이 번호 이후의 메시지가 unread
|
|
128
|
+
*/
|
|
129
|
+
chatNo?: number;
|
|
130
|
+
/**
|
|
131
|
+
* joined at chat number
|
|
132
|
+
* - 입장 시점의 채팅 번호. 이 번호 이전의 메시지는 조회 대상에서 제외
|
|
133
|
+
*/
|
|
134
|
+
joinedNo?: number;
|
|
135
|
+
/** nick in channel */
|
|
136
|
+
nick?: string;
|
|
137
|
+
/** role in channel */
|
|
138
|
+
role?: string;
|
|
139
|
+
/** notification setting */
|
|
140
|
+
notify?: JoinNotify;
|
|
141
|
+
/** leave/kick reason */
|
|
142
|
+
reason?: string;
|
|
143
|
+
/** (internal) flag of real created */
|
|
144
|
+
readonly isNew?: BoolFlag;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* extract field names from models
|
|
148
|
+
* - only fields start with lowercase, or all upper.
|
|
149
|
+
*/
|
|
150
|
+
export declare const filterFields: (fields: string[], base?: string[]) => string[];
|
|
151
|
+
/** field names from head */
|
|
152
|
+
export declare const $HEAD: {
|
|
153
|
+
channel: string[];
|
|
154
|
+
chat: string[];
|
|
155
|
+
};
|
|
156
|
+
export declare const $FIELD: {
|
|
157
|
+
channel: string[];
|
|
158
|
+
chat: string[];
|
|
159
|
+
join: string[];
|
|
160
|
+
};
|
|
161
|
+
/** must export default as below */
|
|
162
|
+
declare const _default: {
|
|
163
|
+
$FIELD: {
|
|
164
|
+
channel: string[];
|
|
165
|
+
chat: string[];
|
|
166
|
+
join: string[];
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
export default _default;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `types.ts`
|
|
3
|
+
* - types used in `chats` module
|
|
4
|
+
*
|
|
5
|
+
* **[exports order]**
|
|
6
|
+
* 1. define data type in `types.ts` w/ internal types.
|
|
7
|
+
* 2. define Model in `model.ts`
|
|
8
|
+
* 3. define View/Body in `views.ts`, and external types.
|
|
9
|
+
*
|
|
10
|
+
* @author Aiden <aiden@lemoncloud.io>
|
|
11
|
+
* @date 2026-02-06 initial version for chats module.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (C) 2026 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
|
+
/** channel model */
|
|
26
|
+
channel: string;
|
|
27
|
+
/** chat model */
|
|
28
|
+
chat: string;
|
|
29
|
+
/** join model */
|
|
30
|
+
join: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* `ChannelStereo`
|
|
34
|
+
*/
|
|
35
|
+
ChannelStereo: {
|
|
36
|
+
'': string;
|
|
37
|
+
/** public channel */
|
|
38
|
+
public: string;
|
|
39
|
+
/** private channel */
|
|
40
|
+
private: string;
|
|
41
|
+
/** direct message */
|
|
42
|
+
dm: string;
|
|
43
|
+
/** self */
|
|
44
|
+
self: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* `ChatStereo`
|
|
48
|
+
*/
|
|
49
|
+
ChatStereo: {
|
|
50
|
+
'': string;
|
|
51
|
+
/** user */
|
|
52
|
+
user: string;
|
|
53
|
+
/** system */
|
|
54
|
+
system: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* `JoinStereo`
|
|
58
|
+
*/
|
|
59
|
+
JoinStereo: {
|
|
60
|
+
'': string;
|
|
61
|
+
/** channel owner */
|
|
62
|
+
owner: string;
|
|
63
|
+
/** channel admin */
|
|
64
|
+
admin: string;
|
|
65
|
+
/** channel member */
|
|
66
|
+
member: string;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* `InviteRule`
|
|
70
|
+
*/
|
|
71
|
+
InviteRule: {
|
|
72
|
+
'': string;
|
|
73
|
+
/** only owner can invite */
|
|
74
|
+
owner: string;
|
|
75
|
+
/** all members can invite */
|
|
76
|
+
all: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* `JoinNotify`
|
|
80
|
+
*/
|
|
81
|
+
JoinNotify: {
|
|
82
|
+
'': string;
|
|
83
|
+
/** all messages */
|
|
84
|
+
all: string;
|
|
85
|
+
/** mention only */
|
|
86
|
+
mention: string;
|
|
87
|
+
/** no notification */
|
|
88
|
+
none: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* type: `ChannelStereo`
|
|
93
|
+
*/
|
|
94
|
+
export declare type ChannelStereo = keyof typeof $LUT.ChannelStereo;
|
|
95
|
+
/**
|
|
96
|
+
* type: `ChatStereo`
|
|
97
|
+
*/
|
|
98
|
+
export declare type ChatStereo = keyof typeof $LUT.ChatStereo;
|
|
99
|
+
/**
|
|
100
|
+
* type: `JoinStereo`
|
|
101
|
+
*/
|
|
102
|
+
export declare type JoinStereo = keyof typeof $LUT.JoinStereo;
|
|
103
|
+
/**
|
|
104
|
+
* type: `InviteRule`
|
|
105
|
+
*/
|
|
106
|
+
export declare type InviteRule = keyof typeof $LUT.InviteRule;
|
|
107
|
+
/**
|
|
108
|
+
* type: `JoinNotify`
|
|
109
|
+
*/
|
|
110
|
+
export declare type JoinNotify = keyof typeof $LUT.JoinNotify;
|
|
111
|
+
/** must export $LUT as default */
|
|
112
|
+
export default $LUT;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `chats/views.ts`
|
|
3
|
+
* - view/body types for chats module
|
|
4
|
+
*
|
|
5
|
+
* @author Aiden <aiden@lemoncloud.io>
|
|
6
|
+
* @date 2026-02-06 initial version for chats module.
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2026 LemonCloud Co Ltd. - All Rights Reserved.
|
|
9
|
+
*/
|
|
10
|
+
import { View, Body } from '../../cores/types';
|
|
11
|
+
import { ChannelModel, ChatModel, JoinModel } from './model';
|
|
12
|
+
import { UserView } from '../sites/views';
|
|
13
|
+
import $LUT from './types';
|
|
14
|
+
export * from './types';
|
|
15
|
+
export default $LUT;
|
|
16
|
+
/**
|
|
17
|
+
* type: `ChannelView`
|
|
18
|
+
*/
|
|
19
|
+
export interface ChannelView extends View, Partial<Omit<ChannelModel, 'owner$' | 'lastChat$' | '$join'>> {
|
|
20
|
+
/** (linked) owner info */
|
|
21
|
+
readonly owner$?: UserView;
|
|
22
|
+
/** (linked) last chat info */
|
|
23
|
+
readonly lastChat$?: ChatView;
|
|
24
|
+
/** (readonly) user's channel connection view */
|
|
25
|
+
readonly $join?: JoinView;
|
|
26
|
+
/** (readonly) invited join results */
|
|
27
|
+
readonly $joins?: JoinView[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* type: `ChannelBody`
|
|
31
|
+
*/
|
|
32
|
+
export interface ChannelBody extends Body, Partial<ChannelView> {
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* type: `ChatView`
|
|
36
|
+
*/
|
|
37
|
+
export interface ChatView extends View, Partial<Omit<ChatModel, 'owner$' | 'channel$' | 'parent$' | 'hidden'>> {
|
|
38
|
+
/** hidden flag */
|
|
39
|
+
hidden?: boolean;
|
|
40
|
+
/** (linked) owner info */
|
|
41
|
+
readonly owner$?: UserView;
|
|
42
|
+
/** (linked) channel info */
|
|
43
|
+
readonly channel$?: ChannelView;
|
|
44
|
+
/** (optional) parent info */
|
|
45
|
+
readonly parent$?: ChatView;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* type: `ChatBody`
|
|
49
|
+
*/
|
|
50
|
+
export interface ChatBody extends Body, Partial<ChatView> {
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* type: `JoinView`
|
|
54
|
+
*/
|
|
55
|
+
export interface JoinView extends View, Partial<Omit<JoinModel, 'isNew'>> {
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* type: `JoinBody`
|
|
59
|
+
*/
|
|
60
|
+
export interface JoinBody extends Body, Partial<JoinView> {
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* type: `ChatStartBody`
|
|
64
|
+
* - body for POST /chats/0/start
|
|
65
|
+
*/
|
|
66
|
+
export interface ChatStartBody extends ChannelBody {
|
|
67
|
+
/** 초대할 유저 ID 목록 (본인 제외) */
|
|
68
|
+
userIds: string[];
|
|
69
|
+
/** chat message */
|
|
70
|
+
content: string;
|
|
71
|
+
/** message type (default=text) */
|
|
72
|
+
contentType: 'text' | string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* type: `ChatSendBody`
|
|
76
|
+
* - body for POST /chats/0/send
|
|
77
|
+
*/
|
|
78
|
+
export interface ChatSendBody {
|
|
79
|
+
/** target channel ID */
|
|
80
|
+
channelId: string;
|
|
81
|
+
/** chat message */
|
|
82
|
+
content: string;
|
|
83
|
+
/** message type (default=text) */
|
|
84
|
+
contentType?: string;
|
|
85
|
+
/** (optional) thread/reply origin-id */
|
|
86
|
+
parentId?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* type: `ChatReadBody`
|
|
90
|
+
* - body for POST /chats/0/read
|
|
91
|
+
*/
|
|
92
|
+
export interface ChatReadBody {
|
|
93
|
+
/** target channel ID */
|
|
94
|
+
channelId: string;
|
|
95
|
+
/** last read chat number (read cursor) */
|
|
96
|
+
chatNo: number;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* type: `ChannelInviteBody`
|
|
100
|
+
* - body for POST /channels/{id}/invite
|
|
101
|
+
*/
|
|
102
|
+
export interface ChannelInviteBody {
|
|
103
|
+
/** list of user IDs to invite */
|
|
104
|
+
userIds: string[];
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* type: `ChannelLeaveBody`
|
|
108
|
+
* - body for POST /channels/{id}/leave
|
|
109
|
+
*/
|
|
110
|
+
export interface ChannelLeaveBody {
|
|
111
|
+
/** 강퇴 대상 유저 ID (없으면 본인 퇴장) */
|
|
112
|
+
userId?: string;
|
|
113
|
+
/** 강퇴 사유 */
|
|
114
|
+
reason?: string;
|
|
115
|
+
}
|
|
@@ -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,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `sites/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@lemoncloud.io>
|
|
8
|
+
* @date 2024-11-14 refactoring for site service.
|
|
9
|
+
*
|
|
10
|
+
* @Copyright (C) 2024 LemonCloud Co Ltd. - All Rights Reserved.
|
|
11
|
+
*/
|
|
12
|
+
import { CoreModel } from 'lemon-model';
|
|
13
|
+
import $LUT, { SiteStereo, UserStereo } 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
|
+
* `SiteHead`
|
|
24
|
+
*/
|
|
25
|
+
export interface SiteHead {
|
|
26
|
+
/** id := sid */
|
|
27
|
+
id?: string;
|
|
28
|
+
/** name from seesion */
|
|
29
|
+
name?: string;
|
|
30
|
+
/** stereo */
|
|
31
|
+
stereo?: SiteStereo;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* `SiteModel`
|
|
35
|
+
* - 사이트(업체) 정보로, 기본 세션에서 초기화됨.
|
|
36
|
+
*/
|
|
37
|
+
export interface SiteModel extends SiteHead, Model {
|
|
38
|
+
/** stereo */
|
|
39
|
+
stereo?: SiteStereo;
|
|
40
|
+
/** name from `session` */
|
|
41
|
+
name?: string;
|
|
42
|
+
/** nick from `session` */
|
|
43
|
+
nick?: string;
|
|
44
|
+
/** id of owner */
|
|
45
|
+
ownerId?: string;
|
|
46
|
+
/** owner info */
|
|
47
|
+
owner$?: UserHead;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* type: `UserHead`
|
|
51
|
+
* - common head of user-model
|
|
52
|
+
*/
|
|
53
|
+
export interface UserHead {
|
|
54
|
+
/** id := uid */
|
|
55
|
+
id?: string;
|
|
56
|
+
/** name */
|
|
57
|
+
name?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* type: `UserModel`
|
|
61
|
+
* - 사용자 정보로, 기본 세션에서 초기화됨.
|
|
62
|
+
*/
|
|
63
|
+
export interface UserModel extends UserHead, Model {
|
|
64
|
+
/** name */
|
|
65
|
+
name?: string;
|
|
66
|
+
/** nick */
|
|
67
|
+
nick?: string;
|
|
68
|
+
/** stereo */
|
|
69
|
+
stereo?: UserStereo;
|
|
70
|
+
/** loginId */
|
|
71
|
+
loginId?: string;
|
|
72
|
+
/** identityId */
|
|
73
|
+
identityId?: string;
|
|
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
|
+
site: string[];
|
|
83
|
+
user: string[];
|
|
84
|
+
};
|
|
85
|
+
export declare const $FIELD: {
|
|
86
|
+
site: string[];
|
|
87
|
+
user: string[];
|
|
88
|
+
};
|
|
89
|
+
/** must export default as below */
|
|
90
|
+
declare const _default: {
|
|
91
|
+
$FIELD: {
|
|
92
|
+
site: string[];
|
|
93
|
+
user: string[];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `types.ts`
|
|
3
|
+
* - 기본 types used in `backed-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@lemoncloud.io>
|
|
13
|
+
* @date 2024-11-14 refactoring for site 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
|
+
/** site model */
|
|
28
|
+
site: string;
|
|
29
|
+
/** user model */
|
|
30
|
+
user: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* `SiteStereo`
|
|
34
|
+
*/
|
|
35
|
+
SiteStereo: {
|
|
36
|
+
'': string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* `UserStereo`
|
|
40
|
+
*/
|
|
41
|
+
UserStereo: {
|
|
42
|
+
'': string;
|
|
43
|
+
/** admin */
|
|
44
|
+
admin: string;
|
|
45
|
+
/** user */
|
|
46
|
+
user: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* type: `SiteStereo`
|
|
51
|
+
*/
|
|
52
|
+
export declare type SiteStereo = keyof typeof $LUT.SiteStereo;
|
|
53
|
+
/**
|
|
54
|
+
* type: `UserStereo`
|
|
55
|
+
*/
|
|
56
|
+
export declare type UserStereo = keyof typeof $LUT.UserStereo;
|
|
57
|
+
/** must export $LUT as default */
|
|
58
|
+
export default $LUT;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `sites/types.ts`
|
|
3
|
+
* - types used in `backed-proxy`
|
|
4
|
+
*
|
|
5
|
+
* @author Steve <steve@lemoncloud.io>
|
|
6
|
+
* @date 2022-08-29 initial version.
|
|
7
|
+
* @author Aiden <aiden@lemoncloud.io>
|
|
8
|
+
* @date 2024-11-14 refactoring for site service.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (C) 2022 LemonCloud Co Ltd. - All Rights Reserved.
|
|
11
|
+
*/
|
|
12
|
+
import { View, Body } from '../../cores/types';
|
|
13
|
+
import { SiteModel, UserModel } from './model';
|
|
14
|
+
import $LUT from './types';
|
|
15
|
+
export * from './types';
|
|
16
|
+
export default $LUT;
|
|
17
|
+
/**
|
|
18
|
+
* type: `SiteView`
|
|
19
|
+
*/
|
|
20
|
+
export interface SiteView extends View, Partial<SiteModel> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* type: `SiteBody`
|
|
24
|
+
*/
|
|
25
|
+
export interface SiteBody extends Body, Partial<SiteView> {
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* type: `UserView`
|
|
29
|
+
*/
|
|
30
|
+
export interface UserView extends View, Partial<UserModel> {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* type: `UserBody`
|
|
34
|
+
*/
|
|
35
|
+
export interface UserBody extends Body, Partial<UserView> {
|
|
36
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
channel: string;
|
|
26
|
+
chat: string;
|
|
27
|
+
join: string;
|
|
28
|
+
site: string;
|
|
29
|
+
user: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Possible type of language.
|
|
33
|
+
*/
|
|
34
|
+
Languages: {
|
|
35
|
+
/** no selection */
|
|
36
|
+
'': string;
|
|
37
|
+
/** Korean */
|
|
38
|
+
ko: string;
|
|
39
|
+
/** English */
|
|
40
|
+
en: string;
|
|
41
|
+
/** Chinese */
|
|
42
|
+
cn: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* type: `ModelType`
|
|
47
|
+
*/
|
|
48
|
+
export declare type ModelType = keyof typeof $LUT.ModelType;
|
|
49
|
+
/**
|
|
50
|
+
* type: `LanguageType`
|
|
51
|
+
*/
|
|
52
|
+
export declare type LanguageType = keyof typeof $LUT.Languages;
|
|
53
|
+
/** must export $LUT as default */
|
|
54
|
+
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/sites/types.ts","../../src/modules/chats/types.ts","../../src/modules/callback/types.ts","../../src/modules/mock/types.ts","../../src/service/backend-types.ts","../../node_modules/ts-transformer-keys/index.d.ts","../../src/modules/mock/model.ts","../../src/modules/mock/views.ts","../../src/cores/types.ts","../../src/modules/sites/model.ts","../../src/modules/chats/model.ts","../../src/modules/sites/views.ts","../../src/modules/chats/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-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/semver/functions/inc.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/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":"f5d6e03ff10a3741b3edf0a22bec2e9eb4c1ea39ecc7624657075cc1b859c62b","signature":"178b2f87ee62a47257cc5fb17d23eecf6b14f632557a55b0dfd56be48d7fef49"},{"version":"d667e55f20bcaea6de0056bedb64f256d19e9b62f56277554c7e44f58f5e3c0d","signature":"512e707fd381948163f3c65e5f713e2793d723627c574c35d7fddfee6ce2178d"},{"version":"e1c8140514d6ec39addfd35edb2db6fffacb91fe3bc9689042a5301af949f029","signature":"f5650aa760f8e975c83cacf536a80d4bd7acb2d3e70bdaacd3df2ff1a6b8ca9c"},{"version":"1da3a70158dd226f00c7a7a7e020d80b3b7f17bb5275d7a723d4838f736aa782","signature":"88fff4682b0806218ac53a36143ab70bf74f510e3644cd41819063694c3f334f"},{"version":"cf26b862abe0d99f8feb61490710619791e245b3edfdccca2164c8e8075b4bb6","signature":"e5ac6866f4ef592661c753b9d301493d660d24905f0c564f8a7d74c90d9e16bd"},"2f3d01a489a66f328ca802e41c7c8374e7f73ed3ff4e6a54a540410c99821644",{"version":"f05ffe7435e70878fb7a7c9f29b4855c198b8ebca19c099d5e33a4f129bf0558","signature":"247c02bc8d36b80e411e300f68b41f4733defa95a734f2da8c79cea2c304341c"},{"version":"65cf50b41253764bb96a38e9341382229a2aa2418efe88e448395a88514f6a5a","signature":"9f00f7c8f110b5eea2eb0d79651c74912775835f0fa2183d1114ffe4ababb603"},{"version":"dfef9e27a38000f156c85db0d4714ec2764cd2f73536c0e7235ee7e90cb5fecb","signature":"fbce30a929a22a9b0c2e19f51788cc719df66732dc83fba90719b3eb16f2cb7b"},{"version":"150022bf421cc874192cbfe41c12f446c8c75ff2702f312c291628cf1f5c7241","signature":"aecd05194de539ae1b61986311b76e4502807b984997f1c2095d4f45404aaba1"},{"version":"24861c8db92f7e482e51dfcd3d426e4e0dc63cb2fbbfc677d8cde54795aeeb64","signature":"9dd7f2140edcd2b75ede0d505f66f637cfd069e1e7482d38a4175a4b5cddd772"},{"version":"bcc56aa4c766d1ab5c4b31989c5cbb82947053346cd08424f7e7a6d244f430b6","signature":"0d2a0317853e63fe55910dec154b141689cfc94e94929d9c0b8d109e1f59d062"},{"version":"f7442db0cee499aa2bcd39bc9cc2ed2401167bcda84aac4dfa485b84e9a2d6e1","signature":"33e0a7fdb40bc4daedb8d421b953d30d39e063429944532917b8f3dcc44a4f0c"},"ccd9525bd116504b05314367e76a8fbc435296a3e1f46b040751ce7046924ab3","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","42baf4ca38c38deaf411ea73f37bc39ff56c6e5c761a968b64ac1b25c92b5cd8","d7dbe0ad36bdca8a6ecf143422a48e72cc8927bab7b23a1a2485c2f78a7022c6","8718fa41d7cf4aa91de4e8f164c90f88e0bf343aa92a1b9b725a9c675c64e16b","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","5343f3c160282dfbaab9af350119a0c3b59b7076ef0117bb5995a66e240dab28","8d48b8f8a377ade8dd1f000625bc276eea067f2529cc9cafdf082d17142107d6","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","be00321090ed100e3bd1e566c0408004137e73feb19d6380eba57d68519ff6c5","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","091f417275a51ab3c47b949723e9e8a193012157ecc64a96e2d7b1505e82f395","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"ccfd8774cd9b929f63ff7dcf657977eb0652e3547f1fcac1b3a1dc5db22d4d58","affectsGlobalScope":true},"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","380b919bfa0516118edaf25b99e45f855e7bc3fd75ce4163a1cfe4a666388804","0d89e5c4ce6e3096e64504e1fa45a8ddccf488cb5fdc1980ea09db2a451f0b91","fcf79300e5257a23ed3bacaa6861d7c645139c6f7ece134d15e6669447e5e6db","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","aa2c18a1b5a086bbcaae10a4efba409cc95ba7287d8cf8f2591b53704fea3dea","5a0b15210129310cee9fa6af9200714bb4b12af4a04d890e15f34dbea1cf1852","0244119dbcbcf34faf3ffdae72dab1e9bc2bc9efc3c477b2240ffa94af3bca56","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","a873c50d3e47c21aa09fbe1e2023d9a44efb07cc0cb8c72f418bf301b0771fd3","7c14ccd2eaa82619fffc1bfa877eb68a012e9fb723d07ee98db451fadb618906","49c36529ee09ea9ce19525af5bb84985ea8e782cb7ee8c493d9e36d027a3d019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","f1d8b21cdf08726021c8cce0cd6159486236cf1d633eeabbc435b5b2e5869c2e","e91ad231af87f864b3f07cd0e39b1cf6c133988156f087c1c3ccb0a5491c9115","cc256fd958b33576ed32c7338c64adb0d08fc0c2c6525010202fab83f32745da","bf0b1297461549a0e32cd57dffb992c63d7c7134fe0f9e15d359abcc88dbd28c","ce6a3f09b8db73a7e9701aca91a04b4fabaf77436dd35b24482f9ee816016b17","20e086e5b64fdd52396de67761cc0e94693494deadb731264aac122adf08de3f","6e78f75403b3ec65efb41c70d392aeda94360f11cedc9fb2c039c9ea23b30962","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","eefd2bbc8edb14c3bd1246794e5c070a80f9b8f3730bd42efb80df3cc50b9039","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","a56fe175741cc8841835eb72e61fa5a34adcbc249ede0e3494c229f0750f6b85","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":[[118,168],[168],[66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,168],[66,168],[66,72,168],[66,67,70,168],[66,67,168],[66,74,168],[66,68,168],[78,168],[66,83,84,85,168],[66,87,168],[66,88,89,90,91,92,93,94,95,96,97,98,99,168],[66,78,168],[118,119,120,121,122,168],[118,120,168],[139,142,167,168,175,176,177,178],[142,168],[140,168,175],[139,156,164,168,175],[168,185],[168,186],[168,191,196],[168,175],[139,168,175],[168,201,203,204,205,206,207,208,209,210,211,212,213],[168,201,202,204,205,206,207,208,209,210,211,212,213],[168,202,203,204,205,206,207,208,209,210,211,212,213],[168,201,202,203,205,206,207,208,209,210,211,212,213],[168,201,202,203,204,206,207,208,209,210,211,212,213],[168,201,202,203,204,205,207,208,209,210,211,212,213],[168,201,202,203,204,205,206,208,209,210,211,212,213],[168,201,202,203,204,205,206,207,209,210,211,212,213],[168,201,202,203,204,205,206,207,208,210,211,212,213],[168,201,202,203,204,205,206,207,208,209,211,212,213],[168,201,202,203,204,205,206,207,208,209,210,212,213],[168,201,202,203,204,205,206,207,208,209,210,211,213],[168,201,202,203,204,205,206,207,208,209,210,211,212],[124,168],[127,168],[128,133,168],[129,139,140,147,156,167,168],[129,130,139,147,168],[131,168],[132,133,140,148,168],[133,156,164,168],[134,136,139,147,168],[135,168],[136,137,168],[138,139,168],[139,168],[139,140,141,156,167,168],[139,140,141,156,159,168],[168,172],[142,147,156,167,168],[139,140,142,143,147,156,164,167,168],[142,144,156,164,167,168],[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,172,173,174],[139,145,168],[146,167,168],[136,139,147,156,168],[148,168],[149,168],[127,150,168],[151,166,168,172],[152,168],[153,168],[139,154,168],[154,155,168,170],[139,156,157,158,159,168],[156,158,168],[156,157,168],[159,168],[160,168],[139,162,163,168],[162,163,168],[133,147,156,164,168],[165,168],[147,166,168],[128,142,153,167,168],[133,168],[156,168,169],[168,170],[168,171],[128,133,139,141,150,156,167,168,170,172],[156,168,173],[140,142,144,147,156,167,168,175,180,215,216],[142,156,168,175],[168,219,257],[168,219,242,257],[168,218,257],[168,257],[168,219],[168,219,243,257],[168,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256],[168,243,257],[128,140,142,156,168,175,181],[168,259],[168,262],[168,189,192],[168,189,192,193,194],[168,191],[168,188,195],[49,168],[47,168],[48,50,168],[46,47,168],[168,190],[51,168],[51,53,57,61,168],[53,60,62,63,168],[51,55,57,168],[51,55,58,168],[51,52,57,168],[52,60,61,168],[51,52,53,54,55,168],[56,59,63,64,168],[51],[51,53,61],[53,60,62,63],[51,55],[51,55,58],[51,52],[52,60,61]],"referencedMap":[[120,1],[118,2],[67,2],[68,2],[66,2],[117,3],[69,4],[116,5],[71,6],[70,7],[72,4],[73,4],[75,8],[74,4],[76,9],[77,9],[79,10],[80,4],[81,10],[83,4],[84,4],[85,4],[86,11],[82,4],[87,2],[88,12],[90,12],[89,12],[91,12],[92,12],[100,13],[93,12],[94,12],[95,12],[96,12],[97,12],[98,12],[99,12],[101,4],[102,4],[78,4],[103,4],[104,4],[105,4],[107,4],[106,4],[113,4],[109,4],[115,14],[108,4],[114,4],[110,4],[111,4],[112,4],[123,15],[119,1],[121,16],[122,1],[179,17],[180,2],[181,2],[182,18],[183,19],[177,2],[184,20],[185,2],[186,21],[187,22],[197,23],[198,2],[199,24],[200,25],[202,26],[203,27],[201,28],[204,29],[205,30],[206,31],[207,32],[208,33],[209,34],[210,35],[211,36],[212,37],[213,38],[124,39],[125,39],[127,40],[128,41],[129,42],[130,43],[131,44],[132,45],[133,46],[134,47],[135,48],[136,49],[137,49],[138,50],[139,51],[140,52],[141,53],[126,54],[174,2],[142,55],[143,56],[144,57],[175,58],[145,59],[146,60],[147,61],[148,62],[149,63],[150,64],[151,65],[152,66],[153,67],[154,68],[155,69],[156,70],[158,71],[157,72],[159,73],[160,74],[161,2],[162,75],[163,76],[164,77],[165,78],[166,79],[167,80],[168,81],[169,82],[170,83],[171,84],[172,85],[173,86],[214,2],[217,87],[178,88],[242,89],[243,90],[219,91],[222,92],[240,89],[241,89],[231,89],[230,93],[228,89],[223,89],[236,89],[234,89],[238,89],[218,89],[235,89],[239,89],[224,89],[225,89],[237,89],[220,89],[226,89],[227,89],[229,89],[233,89],[244,94],[232,89],[221,89],[257,95],[256,2],[251,94],[253,96],[252,94],[245,94],[246,94],[248,94],[250,94],[254,96],[255,96],[247,96],[249,96],[258,2],[259,97],[260,98],[216,2],[261,2],[262,2],[263,99],[188,2],[215,88],[189,2],[193,100],[195,101],[194,100],[192,102],[196,103],[176,51],[50,104],[49,105],[51,106],[47,2],[46,2],[48,107],[191,108],[190,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],[60,109],[54,2],[62,110],[53,2],[64,111],[58,112],[55,2],[59,113],[61,114],[52,2],[63,115],[56,116],[65,117]],"exportedModulesMap":[[120,1],[118,2],[67,2],[68,2],[66,2],[117,3],[69,4],[116,5],[71,6],[70,7],[72,4],[73,4],[75,8],[74,4],[76,9],[77,9],[79,10],[80,4],[81,10],[83,4],[84,4],[85,4],[86,11],[82,4],[87,2],[88,12],[90,12],[89,12],[91,12],[92,12],[100,13],[93,12],[94,12],[95,12],[96,12],[97,12],[98,12],[99,12],[101,4],[102,4],[78,4],[103,4],[104,4],[105,4],[107,4],[106,4],[113,4],[109,4],[115,14],[108,4],[114,4],[110,4],[111,4],[112,4],[123,15],[119,1],[121,16],[122,1],[179,17],[180,2],[181,2],[182,18],[183,19],[177,2],[184,20],[185,2],[186,21],[187,22],[197,23],[198,2],[199,24],[200,25],[202,26],[203,27],[201,28],[204,29],[205,30],[206,31],[207,32],[208,33],[209,34],[210,35],[211,36],[212,37],[213,38],[124,39],[125,39],[127,40],[128,41],[129,42],[130,43],[131,44],[132,45],[133,46],[134,47],[135,48],[136,49],[137,49],[138,50],[139,51],[140,52],[141,53],[126,54],[174,2],[142,55],[143,56],[144,57],[175,58],[145,59],[146,60],[147,61],[148,62],[149,63],[150,64],[151,65],[152,66],[153,67],[154,68],[155,69],[156,70],[158,71],[157,72],[159,73],[160,74],[161,2],[162,75],[163,76],[164,77],[165,78],[166,79],[167,80],[168,81],[169,82],[170,83],[171,84],[172,85],[173,86],[214,2],[217,87],[178,88],[242,89],[243,90],[219,91],[222,92],[240,89],[241,89],[231,89],[230,93],[228,89],[223,89],[236,89],[234,89],[238,89],[218,89],[235,89],[239,89],[224,89],[225,89],[237,89],[220,89],[226,89],[227,89],[229,89],[233,89],[244,94],[232,89],[221,89],[257,95],[256,2],[251,94],[253,96],[252,94],[245,94],[246,94],[248,94],[250,94],[254,96],[255,96],[247,96],[249,96],[258,2],[259,97],[260,98],[216,2],[261,2],[262,2],[263,99],[188,2],[215,88],[189,2],[193,100],[195,101],[194,100],[192,102],[196,103],[176,51],[50,104],[49,105],[51,106],[47,2],[46,2],[48,107],[191,108],[190,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],[60,118],[62,119],[64,120],[58,121],[59,122],[61,123],[63,124],[56,118],[65,117]],"semanticDiagnosticsPerFile":[120,118,67,68,66,117,69,116,71,70,72,73,75,74,76,77,79,80,81,83,84,85,86,82,87,88,90,89,91,92,100,93,94,95,96,97,98,99,101,102,78,103,104,105,107,106,113,109,115,108,114,110,111,112,123,119,121,122,179,180,181,182,183,177,184,185,186,187,197,198,199,200,202,203,201,204,205,206,207,208,209,210,211,212,213,124,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,126,174,142,143,144,175,145,146,147,148,149,150,151,152,153,154,155,156,158,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,214,217,178,242,243,219,222,240,241,231,230,228,223,236,234,238,218,235,239,224,225,237,220,226,227,229,233,244,232,221,257,256,251,253,252,245,246,248,250,254,255,247,249,258,259,260,216,261,262,263,188,215,189,193,195,194,192,196,176,50,49,51,47,46,48,191,190,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,60,54,62,53,64,58,55,59,61,52,63,56,65]},"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 '../modules/mock/views';
|
|
12
|
+
export * from '../modules/chats/views';
|
|
13
|
+
export * from '../modules/sites/views';
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lemoncloud/chatic-socials-api",
|
|
3
|
+
"version": "0.26.124",
|
|
4
|
+
"description": "micro-service to manage chat 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
|
+
}
|