@webresto/graphql 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- package/.gitattributes +2 -0
- package/.gitlab-ci.yml +18 -0
- package/.vscode/extensions.json +5 -0
- package/docs/actions.md +25 -0
- package/docs/authorization.md +215 -0
- package/docs/captcha.md +71 -0
- package/docs/device-id.md +30 -0
- package/docs/messages.md +10 -0
- package/docs/user.md +54 -0
- package/index.d.ts +0 -1
- package/index.js +6 -2
- package/index.ts +2 -2
- package/lib/afterHook.js +8 -0
- package/lib/afterHook.ts +9 -0
- package/lib/bindTranslations.d.ts +1 -0
- package/lib/bindTranslations.js +40 -0
- package/lib/bindTranslations.ts +39 -0
- package/lib/defaults.d.ts +1 -0
- package/lib/defaults.js +49 -10
- package/lib/defaults.ts +55 -0
- package/lib/eventHelper.d.ts +14 -5
- package/lib/eventHelper.js +28 -9
- package/lib/eventHelper.ts +41 -8
- package/lib/getRecomended.d.ts +1 -0
- package/lib/getRecomended.js +29 -0
- package/lib/getRecomended.ts +31 -0
- package/lib/graphqlHelper.d.ts +3 -4
- package/lib/graphqlHelper.js +184 -72
- package/lib/graphqlHelper.ts +329 -185
- package/lib/jwt.d.ts +10 -0
- package/lib/jwt.js +43 -0
- package/lib/jwt.ts +61 -0
- package/package.json +13 -6
- package/src/additionalResolvers.d.ts +72 -9
- package/src/additionalResolvers.js +93 -24
- package/src/additionalResolvers.ts +105 -34
- package/src/graphql.d.ts +5 -3
- package/src/graphql.js +170 -37
- package/src/graphql.ts +210 -60
- package/src/resolvers/bonusProgram.d.ts +32 -0
- package/src/resolvers/bonusProgram.js +65 -0
- package/src/resolvers/bonusProgram.ts +79 -0
- package/src/resolvers/captcha.d.ts +11 -0
- package/src/resolvers/captcha.js +19 -0
- package/src/resolvers/captcha.ts +16 -0
- package/src/resolvers/checkout.d.ts +35 -16
- package/src/resolvers/checkout.js +171 -94
- package/src/resolvers/checkout.ts +214 -104
- package/src/resolvers/dishAndModifier.js +8 -4
- package/src/resolvers/dishAndModifier.ts +4 -0
- package/src/resolvers/error.d.ts +9 -0
- package/src/resolvers/error.js +21 -0
- package/src/resolvers/error.ts +21 -0
- package/src/resolvers/menu.d.ts +9 -0
- package/src/resolvers/menu.js +12 -0
- package/src/resolvers/menu.ts +10 -0
- package/src/resolvers/order.d.ts +527 -0
- package/src/resolvers/order.js +349 -0
- package/src/resolvers/order.ts +435 -0
- package/src/resolvers/paymentMethod.js +7 -3
- package/src/resolvers/paymentMethod.ts +9 -5
- package/src/resolvers/pickupPoint.d.ts +1 -0
- package/src/resolvers/pickupPoint.js +24 -0
- package/src/resolvers/pickupPoint.ts +23 -0
- package/src/resolvers/recomended.d.ts +13 -0
- package/src/resolvers/recomended.js +80 -0
- package/src/resolvers/recomended.ts +86 -0
- package/src/resolvers/restrictions.d.ts +37 -1
- package/src/resolvers/restrictions.js +100 -15
- package/src/resolvers/restrictions.ts +106 -14
- package/src/resolvers/streets.d.ts +1 -1
- package/src/resolvers/streets.js +1 -4
- package/src/resolvers/streets.ts +1 -3
- package/src/resolvers/subscriptions.d.ts +4 -4
- package/src/resolvers/subscriptions.js +49 -12
- package/src/resolvers/subscriptions.ts +59 -14
- package/src/resolvers/telemetry.d.ts +14 -0
- package/src/resolvers/telemetry.js +25 -0
- package/src/resolvers/telemetry.ts +24 -0
- package/src/resolvers/user.d.ts +82 -0
- package/src/resolvers/user.js +416 -0
- package/src/resolvers/user.ts +621 -0
- package/src/resolvers/userLocation.d.ts +53 -0
- package/src/resolvers/userLocation.js +74 -0
- package/src/resolvers/userLocation.ts +125 -0
- package/src/resolvers/userOTPrequest.d.ts +21 -0
- package/src/resolvers/userOTPrequest.js +57 -0
- package/src/resolvers/userOTPrequest.ts +75 -0
- package/test/e2e_helper.js +157 -0
- package/test/e2e_helper.ts +212 -0
- package/test/fixture/config/i18n.js +7 -20
- package/test/fixture/config/locales/de.json +1 -0
- package/test/fixture/config/locales/en.json +10 -0
- package/test/fixture/config/locales/es.json +3 -0
- package/test/fixture/config/locales/fr.json +1 -0
- package/test/fixture/config/log.js +1 -1
- package/test/fixture/package.json +5 -6
- package/test/fixture/patches/rttc+10.0.1.patch +17 -0
- package/test/integration/captcha.test.js +20 -0
- package/test/integration/captcha.test.ts +25 -0
- package/test/integration/dish.test.js +35 -0
- package/test/integration/dish.test.ts +43 -0
- package/test/integration/graphql.test.js +5 -2
- package/test/integration/graphql.test.ts +2 -4
- package/test/integration/images.test.js +35 -0
- package/test/integration/images.test.ts +40 -0
- package/test/integration/locale.test.js +26 -0
- package/test/integration/locale.test.ts +32 -0
- package/test/integration/order.test.js +56 -43
- package/test/integration/order.test.ts +59 -59
- package/test/integration/subscriptions.test.js +136 -0
- package/test/integration/subscriptions.test.ts +162 -0
- package/test/integration/user.test.js +249 -0
- package/test/integration/user.test.ts +299 -0
- package/test/unit/first.test.js +4 -2
- package/test/unit/first.test.ts +1 -1
- package/test/unit/get-recomended.test.js +56 -0
- package/test/unit/get-recomended.test.ts +63 -0
- package/translations/de.json +2 -0
- package/translations/en.json +3 -0
- package/translations/es.json +3 -0
- package/translations/fr.json +2 -0
- package/translations/ru.json +36 -0
- package/tsconfig.json +20 -5
- package/types/global.d.ts +30 -0
- package/types/global.js +2 -0
- package/types/global.ts +31 -0
- package/types/primitives.d.ts +19 -0
- package/types/references.d.ts +1 -0
- package/types/restoGraphQLConfig.d.ts +13 -0
- package/lib/afterHook.ts___graphql-transport-ws +0 -138
- package/lib/afterHook.ts___graphql-ws +0 -133
- package/lib/errorWrapper.d.ts +0 -4
- package/lib/errorWrapper.js +0 -13
- package/lib/errorWrapper.ts +0 -12
- package/notes.md +0 -1976
- package/src/resolvers/cart.d.ts +0 -343
- package/src/resolvers/cart.js +0 -196
- package/src/resolvers/cart.ts +0 -278
- package/test/fixture/config/connections.js +0 -9
- package/test/integration/sails_not_crash.test.js +0 -3
- package/test/integration/sails_not_crash.test.ts +0 -3
package/notes.md
DELETED
@@ -1,1976 +0,0 @@
|
|
1
|
-
TypeError: Cannot read property 'call' of undefined
|
2
|
-
at fn (/app/node_modules/waterline/lib/waterline/utils/callbacksRunner.js:98:10)
|
3
|
-
at /app/node_modules/async/lib/async.js:181:20
|
4
|
-
at iterate (/app/node_modules/async/lib/async.js:262:13)
|
5
|
-
at Object.async.forEachOfSeries.async.eachOfSeries (/app/node_modules/async/lib/async.js:281:9)
|
6
|
-
at Object.async.forEachSeries.async.eachSeries (/app/node_modules/async/lib/async.js:214:22)
|
7
|
-
at Object.runner.afterUpdate (/app/node_modules/waterline/lib/waterline/utils/callbacksRunner.js:101:9)
|
8
|
-
at /app/node_modules/waterline/lib/waterline/query/dql/update.js:227:19
|
9
|
-
at /app/node_modules/async/lib/async.js:181:20
|
10
|
-
at Object.async.forEachOf.async.eachOf (/app/node_modules/async/lib/async.js:233:13)
|
11
|
-
at Object.async.forEach.async.each (/app/node_modules/async/lib/async.js:209:22)
|
12
|
-
at /app/node_modules/waterline/lib/waterline/query/dql/update.js:226:13
|
13
|
-
at child.updatedNestedAssociations (/app/node_modules/waterline/lib/waterline/query/dql/update.js:263:12)
|
14
|
-
at /app/node_modules/waterline/lib/waterline/query/dql/update.js:223:31
|
15
|
-
at wrapper (/app/node_modules/waterline/node_modules/lodash/index.js:3592:19)
|
16
|
-
at applyInOriginalCtx (/app/node_modules/waterline/lib/waterline/utils/normalize.js:421:80)
|
17
|
-
at wrappedCallback (/app/node_modules/waterline/lib/waterline/utils/normalize.js:324:18)
|
18
|
-
at success (/app/node_modules/waterline/node_modules/switchback/lib/normalize.js:33:31)
|
19
|
-
at _switch (/app/node_modules/waterline/node_modules/switchback/lib/factory.js:58:28)
|
20
|
-
at afterwards (/app/node_modules/waterline/lib/waterline/adapter/dql.js:244:14)
|
21
|
-
at wrapper (/app/node_modules/waterline/node_modules/lodash/index.js:3592:19)
|
22
|
-
at applyInOriginalCtx (/app/node_modules/waterline/lib/waterline/utils/normalize.js:421:80)
|
23
|
-
at wrappedCallback (/app/node_modules/waterline/lib/waterline/utils/normalize.js:324:18)
|
24
|
-
at success (/app/node_modules/waterline/node_modules/switchback/lib/normalize.js:33:31)
|
25
|
-
at _switch (/app/node_modules/waterline/node_modules/switchback/lib/factory.js:58:28)
|
26
|
-
at /app/node_modules/sails-postgresql/lib/adapter.js:1296:16
|
27
|
-
at Query.__UPDATE__ [as callback] (/app/node_modules/sails-postgresql/lib/adapter.js:1082:11)
|
28
|
-
at Query.handleReadyForQuery (/app/node_modules/pg/lib/query.js:89:10)
|
29
|
-
at Connection.<anonymous> (/app/node_modules/pg/lib/client.js:163:19)
|
30
|
-
|
31
|
-
---------------------------- graphql error
|
32
|
-
|
33
|
-
curl 'https://stage4.api.lifenadym.webresto.dev/graphql' \
|
34
|
-
-H 'authority: stage4.api.lifenadym.webresto.dev' \
|
35
|
-
-H 'pragma: no-cache' \
|
36
|
-
-H 'cache-control: no-cache' \
|
37
|
-
-H 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"' \
|
38
|
-
-H 'accept: application/json, text/plain, */*' \
|
39
|
-
-H 'dnt: 1' \
|
40
|
-
-H 'sec-ch-ua-mobile: ?0' \
|
41
|
-
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36' \
|
42
|
-
-H 'content-type: application/json' \
|
43
|
-
-H 'origin: http://localhost:4200' \
|
44
|
-
-H 'sec-fetch-site: cross-site' \
|
45
|
-
-H 'sec-fetch-mode: cors' \
|
46
|
-
-H 'sec-fetch-dest: empty' \
|
47
|
-
-H 'referer: http://localhost:4200/' \
|
48
|
-
-H 'accept-language: uk-UA,uk;q=0.9,ru-UA;q=0.8,ru;q=0.7,en-US;q=0.6,en;q=0.5' \
|
49
|
-
--data-raw '{"operationName":"GetOrder","variables":{},"query":"query GetOrder {\n order(orderId: \"null\") {\n ...OrderFragment\n dishes {\n ...OrderDishFragment\n __typename\n }\n deliveryItem {\n ...DishFragment\n __typename\n }\n __typename\n }\n}\n\nfragment OrderFragment on Order {\n id\n orderId\n dishesCount\n comment\n personsCount\n deliveryDescription\n message\n deliveryCost\n totalWeight\n total\n orderTotal\n orderTotal\n discountTotal\n state\n __typename\n}\n\nfragment OrderDishFragment on OrderDish {\n id\n amount\n dish {\n ...DishFragment\n __typename\n }\n discountTotal\n comment\n weight\n totalWeight\n __typename\n}\n\nfragment DishFragment on Dish {\n id\n name\n description\n groupId\n price\n weight\n balance\n tags\n images {\n ...ImageFragment\n __typename\n }\n modifiers {\n ...GroupModifierFragment\n __typename\n }\n parentGroup {\n id\n __typename\n }\n __typename\n}\n\nfragment ImageFragment on Image {\n id\n uploadDate\n images\n __typename\n}\n\nfragment GroupModifierFragment on GroupModifier {\n modifierId\n maxAmount\n minAmount\n required\n childModifiers {\n ...ModifierFragment\n __typename\n }\n group {\n id\n __typename\n }\n __typename\n}\n\nfragment ModifierFragment on Modifier {\n modifierId\n maxAmount\n minAmount\n defaultAmount\n hideIfDefaultAmount\n dish {\n id\n name\n description\n groupId\n price\n weight\n balance\n tags\n images {\n ...ImageFragment\n __typename\n }\n __typename\n }\n __typename\n}\n"}' \
|
50
|
-
--compressed
|
51
|
-
|
52
|
-
--------------------- local
|
53
|
-
|
54
|
-
curl 'http://localhost:42777/graphql' \
|
55
|
-
-H 'authority: localhost' \
|
56
|
-
-H 'pragma: no-cache' \
|
57
|
-
-H 'cache-control: no-cache' \
|
58
|
-
-H 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"' \
|
59
|
-
-H 'accept: application/json, text/plain, */*' \
|
60
|
-
-H 'dnt: 1' \
|
61
|
-
-H 'sec-ch-ua-mobile: ?0' \
|
62
|
-
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36' \
|
63
|
-
-H 'content-type: application/json' \
|
64
|
-
-H 'origin: http://localhost:4200' \
|
65
|
-
-H 'sec-fetch-site: cross-site' \
|
66
|
-
-H 'sec-fetch-mode: cors' \
|
67
|
-
-H 'sec-fetch-dest: empty' \
|
68
|
-
-H 'referer: http://localhost:4200/' \
|
69
|
-
-H 'accept-language: uk-UA,uk;q=0.9,ru-UA;q=0.8,ru;q=0.7,en-US;q=0.6,en;q=0.5' \
|
70
|
-
--data-raw '{"operationName":"GetOrder","variables":{},"query":"query GetOrder {\n order(orderId: \"null\") {\n ...OrderFragment\n dishes {\n ...OrderDishFragment\n __typename\n }\n deliveryItem {\n ...DishFragment\n __typename\n }\n __typename\n }\n}\n\nfragment OrderFragment on Order {\n id\n orderId\n dishesCount\n comment\n personsCount\n deliveryDescription\n message\n deliveryCost\n totalWeight\n total\n orderTotal\n orderTotal\n discountTotal\n state\n __typename\n}\n\nfragment OrderDishFragment on OrderDish {\n id\n amount\n dish {\n ...DishFragment\n __typename\n }\n discountTotal\n comment\n weight\n totalWeight\n __typename\n}\n\nfragment DishFragment on Dish {\n id\n name\n description\n groupId\n price\n weight\n balance\n tags\n images {\n ...ImageFragment\n __typename\n }\n modifiers {\n ...GroupModifierFragment\n __typename\n }\n parentGroup {\n id\n __typename\n }\n __typename\n}\n\nfragment ImageFragment on Image {\n id\n uploadDate\n images\n __typename\n}\n\nfragment GroupModifierFragment on GroupModifier {\n modifierId\n maxAmount\n minAmount\n required\n childModifiers {\n ...ModifierFragment\n __typename\n }\n group {\n id\n __typename\n }\n __typename\n}\n\nfragment ModifierFragment on Modifier {\n modifierId\n maxAmount\n minAmount\n defaultAmount\n hideIfDefaultAmount\n dish {\n id\n name\n description\n groupId\n price\n weight\n balance\n tags\n images {\n ...ImageFragment\n __typename\n }\n __typename\n }\n __typename\n}\n"}' \
|
71
|
-
--compressed
|
72
|
-
|
73
|
-
-------------------------------------------------
|
74
|
-
|
75
|
-
```
|
76
|
-
query GetGroupsAndDishes {
|
77
|
-
groups {
|
78
|
-
parentGroup {
|
79
|
-
id
|
80
|
-
__typename
|
81
|
-
}
|
82
|
-
...GroupFragment
|
83
|
-
__typename
|
84
|
-
}
|
85
|
-
dishes {
|
86
|
-
...DishFragment
|
87
|
-
__typename
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
fragment GroupFragment on Group {
|
92
|
-
id
|
93
|
-
description
|
94
|
-
name
|
95
|
-
order
|
96
|
-
visible
|
97
|
-
slug
|
98
|
-
__typename
|
99
|
-
}
|
100
|
-
|
101
|
-
fragment DishFragment on Dish {
|
102
|
-
id
|
103
|
-
name
|
104
|
-
description
|
105
|
-
groupId
|
106
|
-
price
|
107
|
-
weight
|
108
|
-
balance
|
109
|
-
tags
|
110
|
-
additionalInfo
|
111
|
-
images {
|
112
|
-
...ImageFragment
|
113
|
-
__typename
|
114
|
-
}
|
115
|
-
modifiers {
|
116
|
-
...GroupModifierFragment
|
117
|
-
__typename
|
118
|
-
}
|
119
|
-
parentGroup {
|
120
|
-
id
|
121
|
-
__typename
|
122
|
-
}
|
123
|
-
__typename
|
124
|
-
}
|
125
|
-
|
126
|
-
fragment ImageFragment on Image {
|
127
|
-
id
|
128
|
-
uploadDate
|
129
|
-
images
|
130
|
-
__typename
|
131
|
-
}
|
132
|
-
|
133
|
-
fragment GroupModifierFragment on GroupModifier {
|
134
|
-
modifierId
|
135
|
-
maxAmount
|
136
|
-
minAmount
|
137
|
-
required
|
138
|
-
childModifiers {
|
139
|
-
...ModifierFragment
|
140
|
-
__typename
|
141
|
-
}
|
142
|
-
group {
|
143
|
-
id
|
144
|
-
name
|
145
|
-
__typename
|
146
|
-
}
|
147
|
-
__typename
|
148
|
-
}
|
149
|
-
|
150
|
-
fragment ModifierFragment on Modifier {
|
151
|
-
modifierId
|
152
|
-
maxAmount
|
153
|
-
minAmount
|
154
|
-
defaultAmount
|
155
|
-
hideIfDefaultAmount
|
156
|
-
dish {
|
157
|
-
id
|
158
|
-
name
|
159
|
-
description
|
160
|
-
groupId
|
161
|
-
price
|
162
|
-
weight
|
163
|
-
balance
|
164
|
-
tags
|
165
|
-
images {
|
166
|
-
...ImageFragment
|
167
|
-
__typename
|
168
|
-
}
|
169
|
-
__typename
|
170
|
-
}
|
171
|
-
__typename
|
172
|
-
}
|
173
|
-
```
|
174
|
-
|
175
|
-
-----------------------------------------
|
176
|
-
|
177
|
-
{
|
178
|
-
fieldName: 'dish',
|
179
|
-
fieldNodes: [
|
180
|
-
{
|
181
|
-
kind: 'Field',
|
182
|
-
alias: undefined,
|
183
|
-
name: [Object],
|
184
|
-
arguments: [],
|
185
|
-
directives: [],
|
186
|
-
selectionSet: [Object],
|
187
|
-
loc: [Object]
|
188
|
-
}
|
189
|
-
],
|
190
|
-
returnType: Dish,
|
191
|
-
parentType: Modifier,
|
192
|
-
path: {
|
193
|
-
prev: { prev: [Object], key: 0, typename: undefined },
|
194
|
-
key: 'dish',
|
195
|
-
typename: 'Modifier'
|
196
|
-
},
|
197
|
-
schema: GraphQLSchema {
|
198
|
-
__validationErrors: [],
|
199
|
-
description: undefined,
|
200
|
-
extensions: undefined,
|
201
|
-
astNode: undefined,
|
202
|
-
extensionASTNodes: [],
|
203
|
-
_queryType: Query,
|
204
|
-
_mutationType: Mutation,
|
205
|
-
_subscriptionType: Subscription,
|
206
|
-
_directives: [ @cacheControl, @include, @skip, @deprecated, @specifiedBy ],
|
207
|
-
_typeMap: [Object: null prototype] {
|
208
|
-
NavigationData: NavigationData,
|
209
|
-
String: String,
|
210
|
-
Boolean: Boolean,
|
211
|
-
CheckPhoneResponse: CheckPhoneResponse,
|
212
|
-
GroupModifier: GroupModifier,
|
213
|
-
Int: Int,
|
214
|
-
Modifier: Modifier,
|
215
|
-
OrderModifier: OrderModifier,
|
216
|
-
Customer: Customer,
|
217
|
-
Address: Address,
|
218
|
-
Message: Message,
|
219
|
-
Action: Action,
|
220
|
-
CheckResponse: CheckResponse,
|
221
|
-
GetOrderResponse: GetOrderResponse,
|
222
|
-
Restrictions: Restrictions,
|
223
|
-
Query: Query,
|
224
|
-
Mutation: Mutation,
|
225
|
-
Subscription: Subscription,
|
226
|
-
Navigation: Navigation,
|
227
|
-
Notify: Notify,
|
228
|
-
Page: Page,
|
229
|
-
PaymentLink: PaymentLink,
|
230
|
-
Phone: Phone,
|
231
|
-
PickupAddress: PickupAddress,
|
232
|
-
Promotion: Promotion,
|
233
|
-
StopHistory: StopHistory,
|
234
|
-
StopReason: StopReason,
|
235
|
-
StopSection: StopSection,
|
236
|
-
TableReservation: TableReservation,
|
237
|
-
Order: Order,
|
238
|
-
Float: Float,
|
239
|
-
OrderDish: OrderDish,
|
240
|
-
Dish: Dish,
|
241
|
-
Group: Group,
|
242
|
-
Image: Image,
|
243
|
-
Maintenance: Maintenance,
|
244
|
-
PaymentDocument: PaymentDocument,
|
245
|
-
PaymentMethod: PaymentMethod,
|
246
|
-
Settings: Settings,
|
247
|
-
IIkoPaymentMethod: IIkoPaymentMethod,
|
248
|
-
IikoOrder: IikoOrder,
|
249
|
-
StreetIiko: StreetIiko,
|
250
|
-
IikoDiscount: IikoDiscount,
|
251
|
-
SberbankPayments: SberbankPayments,
|
252
|
-
TgBotUser: TgBotUser,
|
253
|
-
UserAP: UserAP,
|
254
|
-
Json: Json,
|
255
|
-
Booblean: Booblean,
|
256
|
-
Array: Array,
|
257
|
-
CacheControlScope: CacheControlScope,
|
258
|
-
Upload: Upload,
|
259
|
-
__Schema: __Schema,
|
260
|
-
__Type: __Type,
|
261
|
-
__TypeKind: __TypeKind,
|
262
|
-
__Field: __Field,
|
263
|
-
__InputValue: __InputValue,
|
264
|
-
__EnumValue: __EnumValue,
|
265
|
-
__Directive: __Directive,
|
266
|
-
__DirectiveLocation: __DirectiveLocation
|
267
|
-
},
|
268
|
-
_subTypeMap: [Object: null prototype] {},
|
269
|
-
_implementationsMap: [Object: null prototype] {}
|
270
|
-
},
|
271
|
-
fragments: [Object: null prototype] {
|
272
|
-
DishFragment: {
|
273
|
-
kind: 'FragmentDefinition',
|
274
|
-
name: [Object],
|
275
|
-
typeCondition: [Object],
|
276
|
-
directives: [],
|
277
|
-
selectionSet: [Object],
|
278
|
-
loc: [Object]
|
279
|
-
},
|
280
|
-
ImageFragment: {
|
281
|
-
kind: 'FragmentDefinition',
|
282
|
-
name: [Object],
|
283
|
-
typeCondition: [Object],
|
284
|
-
directives: [],
|
285
|
-
selectionSet: [Object],
|
286
|
-
loc: [Object]
|
287
|
-
},
|
288
|
-
GroupModifierFragment: {
|
289
|
-
kind: 'FragmentDefinition',
|
290
|
-
name: [Object],
|
291
|
-
typeCondition: [Object],
|
292
|
-
directives: [],
|
293
|
-
selectionSet: [Object],
|
294
|
-
loc: [Object]
|
295
|
-
},
|
296
|
-
ModifierFragment: {
|
297
|
-
kind: 'FragmentDefinition',
|
298
|
-
name: [Object],
|
299
|
-
typeCondition: [Object],
|
300
|
-
directives: [],
|
301
|
-
selectionSet: [Object],
|
302
|
-
loc: [Object]
|
303
|
-
}
|
304
|
-
},
|
305
|
-
rootValue: undefined,
|
306
|
-
operation: {
|
307
|
-
kind: 'OperationDefinition',
|
308
|
-
operation: 'query',
|
309
|
-
name: { kind: 'Name', value: 'GetGroupsAndDishes', loc: [Object] },
|
310
|
-
variableDefinitions: [],
|
311
|
-
directives: [],
|
312
|
-
selectionSet: { kind: 'SelectionSet', selections: [Array], loc: [Object] },
|
313
|
-
loc: { start: 0, end: 78 }
|
314
|
-
},
|
315
|
-
variableValues: {},
|
316
|
-
cacheControl: { setCacheHint: [Function: setCacheHint], cacheHint: { maxAge: 0 } }
|
317
|
-
}
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
-------------------------------------------
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
```js
|
326
|
-
{
|
327
|
-
_readableState: ReadableState {
|
328
|
-
objectMode: false,
|
329
|
-
highWaterMark: 16384,
|
330
|
-
buffer: BufferList { head: null, tail: null, length: 0 },
|
331
|
-
length: 0,
|
332
|
-
pipes: null,
|
333
|
-
pipesCount: 0,
|
334
|
-
flowing: true,
|
335
|
-
ended: true,
|
336
|
-
endEmitted: true,
|
337
|
-
reading: false,
|
338
|
-
sync: false,
|
339
|
-
needReadable: false,
|
340
|
-
emittedReadable: false,
|
341
|
-
readableListening: false,
|
342
|
-
resumeScheduled: false,
|
343
|
-
emitClose: true,
|
344
|
-
autoDestroy: false,
|
345
|
-
destroyed: false,
|
346
|
-
defaultEncoding: 'utf8',
|
347
|
-
awaitDrainWriters: null,
|
348
|
-
multiAwaitDrain: false,
|
349
|
-
readingMore: false,
|
350
|
-
decoder: null,
|
351
|
-
encoding: null,
|
352
|
-
[Symbol(kPaused)]: false
|
353
|
-
},
|
354
|
-
readable: false,
|
355
|
-
_events: [Object: null prototype] {},
|
356
|
-
_eventsCount: 0,
|
357
|
-
_maxListeners: undefined,
|
358
|
-
socket: Socket {
|
359
|
-
connecting: false,
|
360
|
-
_hadError: false,
|
361
|
-
_parent: null,
|
362
|
-
_host: null,
|
363
|
-
_readableState: ReadableState {
|
364
|
-
objectMode: false,
|
365
|
-
highWaterMark: 16384,
|
366
|
-
buffer: BufferList { head: null, tail: null, length: 0 },
|
367
|
-
length: 0,
|
368
|
-
pipes: null,
|
369
|
-
pipesCount: 0,
|
370
|
-
flowing: true,
|
371
|
-
ended: false,
|
372
|
-
endEmitted: false,
|
373
|
-
reading: true,
|
374
|
-
sync: false,
|
375
|
-
needReadable: true,
|
376
|
-
emittedReadable: false,
|
377
|
-
readableListening: false,
|
378
|
-
resumeScheduled: false,
|
379
|
-
emitClose: false,
|
380
|
-
autoDestroy: false,
|
381
|
-
destroyed: false,
|
382
|
-
defaultEncoding: 'utf8',
|
383
|
-
awaitDrainWriters: null,
|
384
|
-
multiAwaitDrain: false,
|
385
|
-
readingMore: false,
|
386
|
-
decoder: null,
|
387
|
-
encoding: null,
|
388
|
-
[Symbol(kPaused)]: false
|
389
|
-
},
|
390
|
-
readable: true,
|
391
|
-
_events: [Object: null prototype] {
|
392
|
-
end: [Array],
|
393
|
-
timeout: [Function: socketOnTimeout],
|
394
|
-
data: [Function: bound socketOnData],
|
395
|
-
error: [Function: socketOnError],
|
396
|
-
close: [Array],
|
397
|
-
drain: [Function: bound socketOnDrain],
|
398
|
-
resume: [Function: onSocketResume],
|
399
|
-
pause: [Function: onSocketPause]
|
400
|
-
},
|
401
|
-
_eventsCount: 8,
|
402
|
-
_maxListeners: undefined,
|
403
|
-
_writableState: WritableState {
|
404
|
-
objectMode: false,
|
405
|
-
highWaterMark: 16384,
|
406
|
-
finalCalled: false,
|
407
|
-
needDrain: false,
|
408
|
-
ending: false,
|
409
|
-
ended: false,
|
410
|
-
finished: false,
|
411
|
-
destroyed: false,
|
412
|
-
decodeStrings: false,
|
413
|
-
defaultEncoding: 'utf8',
|
414
|
-
length: 0,
|
415
|
-
writing: false,
|
416
|
-
corked: 0,
|
417
|
-
sync: false,
|
418
|
-
bufferProcessing: false,
|
419
|
-
onwrite: [Function: bound onwrite],
|
420
|
-
writecb: null,
|
421
|
-
writelen: 0,
|
422
|
-
afterWriteTickInfo: null,
|
423
|
-
bufferedRequest: null,
|
424
|
-
lastBufferedRequest: null,
|
425
|
-
pendingcb: 0,
|
426
|
-
prefinished: false,
|
427
|
-
errorEmitted: false,
|
428
|
-
emitClose: false,
|
429
|
-
autoDestroy: false,
|
430
|
-
bufferedRequestCount: 0,
|
431
|
-
corkedRequestsFree: [Object]
|
432
|
-
},
|
433
|
-
writable: true,
|
434
|
-
allowHalfOpen: true,
|
435
|
-
_sockname: null,
|
436
|
-
_pendingData: null,
|
437
|
-
_pendingEncoding: '',
|
438
|
-
server: Server {
|
439
|
-
insecureHTTPParser: undefined,
|
440
|
-
_events: [Object: null prototype],
|
441
|
-
_eventsCount: 6,
|
442
|
-
_maxListeners: undefined,
|
443
|
-
_connections: 1,
|
444
|
-
_handle: [TCP],
|
445
|
-
_usingWorkers: false,
|
446
|
-
_workers: [],
|
447
|
-
_unref: false,
|
448
|
-
allowHalfOpen: true,
|
449
|
-
pauseOnConnect: false,
|
450
|
-
httpAllowHalfOpen: false,
|
451
|
-
timeout: 120000,
|
452
|
-
keepAliveTimeout: 5000,
|
453
|
-
maxHeadersCount: null,
|
454
|
-
headersTimeout: 60000,
|
455
|
-
_connectionKey: '6::::42777',
|
456
|
-
[Symbol(IncomingMessage)]: [Function: IncomingMessage],
|
457
|
-
[Symbol(ServerResponse)]: [Function: ServerResponse],
|
458
|
-
[Symbol(kCapture)]: false,
|
459
|
-
[Symbol(asyncId)]: 5584
|
460
|
-
},
|
461
|
-
_server: Server {
|
462
|
-
insecureHTTPParser: undefined,
|
463
|
-
_events: [Object: null prototype],
|
464
|
-
_eventsCount: 6,
|
465
|
-
_maxListeners: undefined,
|
466
|
-
_connections: 1,
|
467
|
-
_handle: [TCP],
|
468
|
-
_usingWorkers: false,
|
469
|
-
_workers: [],
|
470
|
-
_unref: false,
|
471
|
-
allowHalfOpen: true,
|
472
|
-
pauseOnConnect: false,
|
473
|
-
httpAllowHalfOpen: false,
|
474
|
-
timeout: 120000,
|
475
|
-
keepAliveTimeout: 5000,
|
476
|
-
maxHeadersCount: null,
|
477
|
-
headersTimeout: 60000,
|
478
|
-
_connectionKey: '6::::42777',
|
479
|
-
[Symbol(IncomingMessage)]: [Function: IncomingMessage],
|
480
|
-
[Symbol(ServerResponse)]: [Function: ServerResponse],
|
481
|
-
[Symbol(kCapture)]: false,
|
482
|
-
[Symbol(asyncId)]: 5584
|
483
|
-
},
|
484
|
-
timeout: 120000,
|
485
|
-
parser: HTTPParser {
|
486
|
-
'0': [Function: parserOnHeaders],
|
487
|
-
'1': [Function: parserOnHeadersComplete],
|
488
|
-
'2': [Function: parserOnBody],
|
489
|
-
'3': [Function: parserOnMessageComplete],
|
490
|
-
'4': [Function: bound onParserExecute],
|
491
|
-
'5': [Function: bound onParserTimeout],
|
492
|
-
_headers: [],
|
493
|
-
_url: '',
|
494
|
-
socket: [Circular],
|
495
|
-
incoming: [IncomingMessage],
|
496
|
-
outgoing: null,
|
497
|
-
maxHeaderPairs: 2000,
|
498
|
-
_consumed: true,
|
499
|
-
onIncoming: [Function: bound parserOnIncoming],
|
500
|
-
[Symbol(resource_symbol)]: [HTTPServerAsyncResource]
|
501
|
-
},
|
502
|
-
on: [Function: socketListenerWrap],
|
503
|
-
addListener: [Function: socketListenerWrap],
|
504
|
-
prependListener: [Function: socketListenerWrap],
|
505
|
-
_paused: false,
|
506
|
-
_peername: { address: '::ffff:172.20.0.1', family: 'IPv6', port: 34402 },
|
507
|
-
_httpMessage: ServerResponse {
|
508
|
-
_events: [Object: null prototype],
|
509
|
-
_eventsCount: 1,
|
510
|
-
_maxListeners: undefined,
|
511
|
-
outputData: [],
|
512
|
-
outputSize: 0,
|
513
|
-
writable: true,
|
514
|
-
_last: false,
|
515
|
-
chunkedEncoding: false,
|
516
|
-
shouldKeepAlive: true,
|
517
|
-
_defaultKeepAlive: true,
|
518
|
-
useChunkedEncodingByDefault: true,
|
519
|
-
sendDate: true,
|
520
|
-
_removedConnection: false,
|
521
|
-
_removedContLen: false,
|
522
|
-
_removedTE: false,
|
523
|
-
_contentLength: null,
|
524
|
-
_hasBody: true,
|
525
|
-
_trailer: '',
|
526
|
-
finished: false,
|
527
|
-
_headerSent: false,
|
528
|
-
socket: [Circular],
|
529
|
-
connection: [Circular],
|
530
|
-
_header: null,
|
531
|
-
_keepAliveTimeout: 5000,
|
532
|
-
_onPendingData: [Function: bound updateOutgoingData],
|
533
|
-
_sent100: false,
|
534
|
-
_expect_continue: false,
|
535
|
-
req: [IncomingMessage],
|
536
|
-
locals: [Function],
|
537
|
-
writeHead: [Function: writeHead],
|
538
|
-
end: [Function: end],
|
539
|
-
jsonx: [Function: jsonx],
|
540
|
-
badRequest: [Function: bound badRequest],
|
541
|
-
created: [Function: bound created],
|
542
|
-
forbidden: [Function: bound forbidden],
|
543
|
-
notFound: [Function: bound notFound],
|
544
|
-
ok: [Function: bound sendOK],
|
545
|
-
serverError: [Function: bound serverError],
|
546
|
-
negotiate: [Function: bound negotiate],
|
547
|
-
locale: 'en',
|
548
|
-
__: [Function: bound i18nTranslate],
|
549
|
-
__n: [Function: bound i18nTranslatePlural],
|
550
|
-
__l: [Function: bound i18nTranslationList],
|
551
|
-
__h: [Function: bound i18nTranslationHash],
|
552
|
-
__mf: [Function: bound i18nMessageformat],
|
553
|
-
getLocale: [Function: bound i18nGetLocale],
|
554
|
-
setLocale: [Function: bound i18nSetLocale],
|
555
|
-
getCatalog: [Function: bound i18nGetCatalog],
|
556
|
-
getLocales: [Function: bound i18nGetLocales],
|
557
|
-
addLocale: [Function: bound i18nAddLocale],
|
558
|
-
removeLocale: [Function: bound i18nRemoveLocale],
|
559
|
-
i18n: [Function: bound i18nTranslate],
|
560
|
-
guessView: [Function],
|
561
|
-
view: [Function],
|
562
|
-
[Symbol(kCapture)]: false,
|
563
|
-
[Symbol(kNeedDrain)]: false,
|
564
|
-
[Symbol(corked)]: 0,
|
565
|
-
[Symbol(kOutHeaders)]: [Object: null prototype]
|
566
|
-
},
|
567
|
-
[Symbol(asyncId)]: 6337,
|
568
|
-
[Symbol(kHandle)]: TCP {
|
569
|
-
reading: true,
|
570
|
-
onconnection: null,
|
571
|
-
_consumed: true,
|
572
|
-
[Symbol(owner_symbol)]: [Circular]
|
573
|
-
},
|
574
|
-
[Symbol(kSetNoDelay)]: false,
|
575
|
-
[Symbol(lastWriteQueueSize)]: 0,
|
576
|
-
[Symbol(timeout)]: Timeout {
|
577
|
-
_idleTimeout: 120000,
|
578
|
-
_idlePrev: [TimersList],
|
579
|
-
_idleNext: [Timeout],
|
580
|
-
_idleStart: 58058,
|
581
|
-
_onTimeout: [Function: bound ],
|
582
|
-
_timerArgs: undefined,
|
583
|
-
_repeat: null,
|
584
|
-
_destroyed: false,
|
585
|
-
[Symbol(refed)]: false,
|
586
|
-
[Symbol(kHasPrimitive)]: false,
|
587
|
-
[Symbol(asyncId)]: 9343,
|
588
|
-
[Symbol(triggerId)]: 6339
|
589
|
-
},
|
590
|
-
[Symbol(kBuffer)]: null,
|
591
|
-
[Symbol(kBufferCb)]: null,
|
592
|
-
[Symbol(kBufferGen)]: null,
|
593
|
-
[Symbol(kCapture)]: false,
|
594
|
-
[Symbol(kBytesRead)]: 0,
|
595
|
-
[Symbol(kBytesWritten)]: 0
|
596
|
-
},
|
597
|
-
connection: Socket {
|
598
|
-
connecting: false,
|
599
|
-
_hadError: false,
|
600
|
-
_parent: null,
|
601
|
-
_host: null,
|
602
|
-
_readableState: ReadableState {
|
603
|
-
objectMode: false,
|
604
|
-
highWaterMark: 16384,
|
605
|
-
buffer: BufferList { head: null, tail: null, length: 0 },
|
606
|
-
length: 0,
|
607
|
-
pipes: null,
|
608
|
-
pipesCount: 0,
|
609
|
-
flowing: true,
|
610
|
-
ended: false,
|
611
|
-
endEmitted: false,
|
612
|
-
reading: true,
|
613
|
-
sync: false,
|
614
|
-
needReadable: true,
|
615
|
-
emittedReadable: false,
|
616
|
-
readableListening: false,
|
617
|
-
resumeScheduled: false,
|
618
|
-
emitClose: false,
|
619
|
-
autoDestroy: false,
|
620
|
-
destroyed: false,
|
621
|
-
defaultEncoding: 'utf8',
|
622
|
-
awaitDrainWriters: null,
|
623
|
-
multiAwaitDrain: false,
|
624
|
-
readingMore: false,
|
625
|
-
decoder: null,
|
626
|
-
encoding: null,
|
627
|
-
[Symbol(kPaused)]: false
|
628
|
-
},
|
629
|
-
readable: true,
|
630
|
-
_events: [Object: null prototype] {
|
631
|
-
end: [Array],
|
632
|
-
timeout: [Function: socketOnTimeout],
|
633
|
-
data: [Function: bound socketOnData],
|
634
|
-
error: [Function: socketOnError],
|
635
|
-
close: [Array],
|
636
|
-
drain: [Function: bound socketOnDrain],
|
637
|
-
resume: [Function: onSocketResume],
|
638
|
-
pause: [Function: onSocketPause]
|
639
|
-
},
|
640
|
-
_eventsCount: 8,
|
641
|
-
_maxListeners: undefined,
|
642
|
-
_writableState: WritableState {
|
643
|
-
objectMode: false,
|
644
|
-
highWaterMark: 16384,
|
645
|
-
finalCalled: false,
|
646
|
-
needDrain: false,
|
647
|
-
ending: false,
|
648
|
-
ended: false,
|
649
|
-
finished: false,
|
650
|
-
destroyed: false,
|
651
|
-
decodeStrings: false,
|
652
|
-
defaultEncoding: 'utf8',
|
653
|
-
length: 0,
|
654
|
-
writing: false,
|
655
|
-
corked: 0,
|
656
|
-
sync: false,
|
657
|
-
bufferProcessing: false,
|
658
|
-
onwrite: [Function: bound onwrite],
|
659
|
-
writecb: null,
|
660
|
-
writelen: 0,
|
661
|
-
afterWriteTickInfo: null,
|
662
|
-
bufferedRequest: null,
|
663
|
-
lastBufferedRequest: null,
|
664
|
-
pendingcb: 0,
|
665
|
-
prefinished: false,
|
666
|
-
errorEmitted: false,
|
667
|
-
emitClose: false,
|
668
|
-
autoDestroy: false,
|
669
|
-
bufferedRequestCount: 0,
|
670
|
-
corkedRequestsFree: [Object]
|
671
|
-
},
|
672
|
-
writable: true,
|
673
|
-
allowHalfOpen: true,
|
674
|
-
_sockname: null,
|
675
|
-
_pendingData: null,
|
676
|
-
_pendingEncoding: '',
|
677
|
-
server: Server {
|
678
|
-
insecureHTTPParser: undefined,
|
679
|
-
_events: [Object: null prototype],
|
680
|
-
_eventsCount: 6,
|
681
|
-
_maxListeners: undefined,
|
682
|
-
_connections: 1,
|
683
|
-
_handle: [TCP],
|
684
|
-
_usingWorkers: false,
|
685
|
-
_workers: [],
|
686
|
-
_unref: false,
|
687
|
-
allowHalfOpen: true,
|
688
|
-
pauseOnConnect: false,
|
689
|
-
httpAllowHalfOpen: false,
|
690
|
-
timeout: 120000,
|
691
|
-
keepAliveTimeout: 5000,
|
692
|
-
maxHeadersCount: null,
|
693
|
-
headersTimeout: 60000,
|
694
|
-
_connectionKey: '6::::42777',
|
695
|
-
[Symbol(IncomingMessage)]: [Function: IncomingMessage],
|
696
|
-
[Symbol(ServerResponse)]: [Function: ServerResponse],
|
697
|
-
[Symbol(kCapture)]: false,
|
698
|
-
[Symbol(asyncId)]: 5584
|
699
|
-
},
|
700
|
-
_server: Server {
|
701
|
-
insecureHTTPParser: undefined,
|
702
|
-
_events: [Object: null prototype],
|
703
|
-
_eventsCount: 6,
|
704
|
-
_maxListeners: undefined,
|
705
|
-
_connections: 1,
|
706
|
-
_handle: [TCP],
|
707
|
-
_usingWorkers: false,
|
708
|
-
_workers: [],
|
709
|
-
_unref: false,
|
710
|
-
allowHalfOpen: true,
|
711
|
-
pauseOnConnect: false,
|
712
|
-
httpAllowHalfOpen: false,
|
713
|
-
timeout: 120000,
|
714
|
-
keepAliveTimeout: 5000,
|
715
|
-
maxHeadersCount: null,
|
716
|
-
headersTimeout: 60000,
|
717
|
-
_connectionKey: '6::::42777',
|
718
|
-
[Symbol(IncomingMessage)]: [Function: IncomingMessage],
|
719
|
-
[Symbol(ServerResponse)]: [Function: ServerResponse],
|
720
|
-
[Symbol(kCapture)]: false,
|
721
|
-
[Symbol(asyncId)]: 5584
|
722
|
-
},
|
723
|
-
timeout: 120000,
|
724
|
-
parser: HTTPParser {
|
725
|
-
'0': [Function: parserOnHeaders],
|
726
|
-
'1': [Function: parserOnHeadersComplete],
|
727
|
-
'2': [Function: parserOnBody],
|
728
|
-
'3': [Function: parserOnMessageComplete],
|
729
|
-
'4': [Function: bound onParserExecute],
|
730
|
-
'5': [Function: bound onParserTimeout],
|
731
|
-
_headers: [],
|
732
|
-
_url: '',
|
733
|
-
socket: [Circular],
|
734
|
-
incoming: [IncomingMessage],
|
735
|
-
outgoing: null,
|
736
|
-
maxHeaderPairs: 2000,
|
737
|
-
_consumed: true,
|
738
|
-
onIncoming: [Function: bound parserOnIncoming],
|
739
|
-
[Symbol(resource_symbol)]: [HTTPServerAsyncResource]
|
740
|
-
},
|
741
|
-
on: [Function: socketListenerWrap],
|
742
|
-
addListener: [Function: socketListenerWrap],
|
743
|
-
prependListener: [Function: socketListenerWrap],
|
744
|
-
_paused: false,
|
745
|
-
_peername: { address: '::ffff:172.20.0.1', family: 'IPv6', port: 34402 },
|
746
|
-
_httpMessage: ServerResponse {
|
747
|
-
_events: [Object: null prototype],
|
748
|
-
_eventsCount: 1,
|
749
|
-
_maxListeners: undefined,
|
750
|
-
outputData: [],
|
751
|
-
outputSize: 0,
|
752
|
-
writable: true,
|
753
|
-
_last: false,
|
754
|
-
chunkedEncoding: false,
|
755
|
-
shouldKeepAlive: true,
|
756
|
-
_defaultKeepAlive: true,
|
757
|
-
useChunkedEncodingByDefault: true,
|
758
|
-
sendDate: true,
|
759
|
-
_removedConnection: false,
|
760
|
-
_removedContLen: false,
|
761
|
-
_removedTE: false,
|
762
|
-
_contentLength: null,
|
763
|
-
_hasBody: true,
|
764
|
-
_trailer: '',
|
765
|
-
finished: false,
|
766
|
-
_headerSent: false,
|
767
|
-
socket: [Circular],
|
768
|
-
connection: [Circular],
|
769
|
-
_header: null,
|
770
|
-
_keepAliveTimeout: 5000,
|
771
|
-
_onPendingData: [Function: bound updateOutgoingData],
|
772
|
-
_sent100: false,
|
773
|
-
_expect_continue: false,
|
774
|
-
req: [IncomingMessage],
|
775
|
-
locals: [Function],
|
776
|
-
writeHead: [Function: writeHead],
|
777
|
-
end: [Function: end],
|
778
|
-
jsonx: [Function: jsonx],
|
779
|
-
badRequest: [Function: bound badRequest],
|
780
|
-
created: [Function: bound created],
|
781
|
-
forbidden: [Function: bound forbidden],
|
782
|
-
notFound: [Function: bound notFound],
|
783
|
-
ok: [Function: bound sendOK],
|
784
|
-
serverError: [Function: bound serverError],
|
785
|
-
negotiate: [Function: bound negotiate],
|
786
|
-
locale: 'en',
|
787
|
-
__: [Function: bound i18nTranslate],
|
788
|
-
__n: [Function: bound i18nTranslatePlural],
|
789
|
-
__l: [Function: bound i18nTranslationList],
|
790
|
-
__h: [Function: bound i18nTranslationHash],
|
791
|
-
__mf: [Function: bound i18nMessageformat],
|
792
|
-
getLocale: [Function: bound i18nGetLocale],
|
793
|
-
setLocale: [Function: bound i18nSetLocale],
|
794
|
-
getCatalog: [Function: bound i18nGetCatalog],
|
795
|
-
getLocales: [Function: bound i18nGetLocales],
|
796
|
-
addLocale: [Function: bound i18nAddLocale],
|
797
|
-
removeLocale: [Function: bound i18nRemoveLocale],
|
798
|
-
i18n: [Function: bound i18nTranslate],
|
799
|
-
guessView: [Function],
|
800
|
-
view: [Function],
|
801
|
-
[Symbol(kCapture)]: false,
|
802
|
-
[Symbol(kNeedDrain)]: false,
|
803
|
-
[Symbol(corked)]: 0,
|
804
|
-
[Symbol(kOutHeaders)]: [Object: null prototype]
|
805
|
-
},
|
806
|
-
[Symbol(asyncId)]: 6337,
|
807
|
-
[Symbol(kHandle)]: TCP {
|
808
|
-
reading: true,
|
809
|
-
onconnection: null,
|
810
|
-
_consumed: true,
|
811
|
-
[Symbol(owner_symbol)]: [Circular]
|
812
|
-
},
|
813
|
-
[Symbol(kSetNoDelay)]: false,
|
814
|
-
[Symbol(lastWriteQueueSize)]: 0,
|
815
|
-
[Symbol(timeout)]: Timeout {
|
816
|
-
_idleTimeout: 120000,
|
817
|
-
_idlePrev: [TimersList],
|
818
|
-
_idleNext: [Timeout],
|
819
|
-
_idleStart: 58058,
|
820
|
-
_onTimeout: [Function: bound ],
|
821
|
-
_timerArgs: undefined,
|
822
|
-
_repeat: null,
|
823
|
-
_destroyed: false,
|
824
|
-
[Symbol(refed)]: false,
|
825
|
-
[Symbol(kHasPrimitive)]: false,
|
826
|
-
[Symbol(asyncId)]: 9343,
|
827
|
-
[Symbol(triggerId)]: 6339
|
828
|
-
},
|
829
|
-
[Symbol(kBuffer)]: null,
|
830
|
-
[Symbol(kBufferCb)]: null,
|
831
|
-
[Symbol(kBufferGen)]: null,
|
832
|
-
[Symbol(kCapture)]: false,
|
833
|
-
[Symbol(kBytesRead)]: 0,
|
834
|
-
[Symbol(kBytesWritten)]: 0
|
835
|
-
},
|
836
|
-
httpVersionMajor: 1,
|
837
|
-
httpVersionMinor: 1,
|
838
|
-
httpVersion: '1.1',
|
839
|
-
complete: true,
|
840
|
-
headers: {
|
841
|
-
host: 'localhost:42777',
|
842
|
-
connection: 'keep-alive',
|
843
|
-
'content-length': '106',
|
844
|
-
'sec-ch-ua': '" Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"',
|
845
|
-
accept: '*/*',
|
846
|
-
'sec-ch-ua-mobile': '?0',
|
847
|
-
'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36',
|
848
|
-
'content-type': 'application/json',
|
849
|
-
origin: 'http://localhost:42777',
|
850
|
-
'sec-fetch-site': 'same-origin',
|
851
|
-
'sec-fetch-mode': 'cors',
|
852
|
-
'sec-fetch-dest': 'empty',
|
853
|
-
referer: 'http://localhost:42777/graphql',
|
854
|
-
'accept-encoding': 'gzip, deflate, br',
|
855
|
-
'accept-language': 'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7'
|
856
|
-
},
|
857
|
-
rawHeaders: [
|
858
|
-
'Host',
|
859
|
-
'localhost:42777',
|
860
|
-
'Connection',
|
861
|
-
'keep-alive',
|
862
|
-
'Content-Length',
|
863
|
-
'106',
|
864
|
-
'sec-ch-ua',
|
865
|
-
'" Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"',
|
866
|
-
'accept',
|
867
|
-
'*/*',
|
868
|
-
'sec-ch-ua-mobile',
|
869
|
-
'?0',
|
870
|
-
'User-Agent',
|
871
|
-
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36',
|
872
|
-
'content-type',
|
873
|
-
'application/json',
|
874
|
-
'Origin',
|
875
|
-
'http://localhost:42777',
|
876
|
-
'Sec-Fetch-Site',
|
877
|
-
'same-origin',
|
878
|
-
'Sec-Fetch-Mode',
|
879
|
-
'cors',
|
880
|
-
'Sec-Fetch-Dest',
|
881
|
-
'empty',
|
882
|
-
'Referer',
|
883
|
-
'http://localhost:42777/graphql',
|
884
|
-
'Accept-Encoding',
|
885
|
-
'gzip, deflate, br',
|
886
|
-
'Accept-Language',
|
887
|
-
'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7'
|
888
|
-
],
|
889
|
-
trailers: {},
|
890
|
-
rawTrailers: [],
|
891
|
-
aborted: false,
|
892
|
-
upgrade: false,
|
893
|
-
url: '/',
|
894
|
-
method: 'POST',
|
895
|
-
statusCode: null,
|
896
|
-
statusMessage: null,
|
897
|
-
client: Socket {
|
898
|
-
connecting: false,
|
899
|
-
_hadError: false,
|
900
|
-
_parent: null,
|
901
|
-
_host: null,
|
902
|
-
_readableState: ReadableState {
|
903
|
-
objectMode: false,
|
904
|
-
highWaterMark: 16384,
|
905
|
-
buffer: BufferList { head: null, tail: null, length: 0 },
|
906
|
-
length: 0,
|
907
|
-
pipes: null,
|
908
|
-
pipesCount: 0,
|
909
|
-
flowing: true,
|
910
|
-
ended: false,
|
911
|
-
endEmitted: false,
|
912
|
-
reading: true,
|
913
|
-
sync: false,
|
914
|
-
needReadable: true,
|
915
|
-
emittedReadable: false,
|
916
|
-
readableListening: false,
|
917
|
-
resumeScheduled: false,
|
918
|
-
emitClose: false,
|
919
|
-
autoDestroy: false,
|
920
|
-
destroyed: false,
|
921
|
-
defaultEncoding: 'utf8',
|
922
|
-
awaitDrainWriters: null,
|
923
|
-
multiAwaitDrain: false,
|
924
|
-
readingMore: false,
|
925
|
-
decoder: null,
|
926
|
-
encoding: null,
|
927
|
-
[Symbol(kPaused)]: false
|
928
|
-
},
|
929
|
-
readable: true,
|
930
|
-
_events: [Object: null prototype] {
|
931
|
-
end: [Array],
|
932
|
-
timeout: [Function: socketOnTimeout],
|
933
|
-
data: [Function: bound socketOnData],
|
934
|
-
error: [Function: socketOnError],
|
935
|
-
close: [Array],
|
936
|
-
drain: [Function: bound socketOnDrain],
|
937
|
-
resume: [Function: onSocketResume],
|
938
|
-
pause: [Function: onSocketPause]
|
939
|
-
},
|
940
|
-
_eventsCount: 8,
|
941
|
-
_maxListeners: undefined,
|
942
|
-
_writableState: WritableState {
|
943
|
-
objectMode: false,
|
944
|
-
highWaterMark: 16384,
|
945
|
-
finalCalled: false,
|
946
|
-
needDrain: false,
|
947
|
-
ending: false,
|
948
|
-
ended: false,
|
949
|
-
finished: false,
|
950
|
-
destroyed: false,
|
951
|
-
decodeStrings: false,
|
952
|
-
defaultEncoding: 'utf8',
|
953
|
-
length: 0,
|
954
|
-
writing: false,
|
955
|
-
corked: 0,
|
956
|
-
sync: false,
|
957
|
-
bufferProcessing: false,
|
958
|
-
onwrite: [Function: bound onwrite],
|
959
|
-
writecb: null,
|
960
|
-
writelen: 0,
|
961
|
-
afterWriteTickInfo: null,
|
962
|
-
bufferedRequest: null,
|
963
|
-
lastBufferedRequest: null,
|
964
|
-
pendingcb: 0,
|
965
|
-
prefinished: false,
|
966
|
-
errorEmitted: false,
|
967
|
-
emitClose: false,
|
968
|
-
autoDestroy: false,
|
969
|
-
bufferedRequestCount: 0,
|
970
|
-
corkedRequestsFree: [Object]
|
971
|
-
},
|
972
|
-
writable: true,
|
973
|
-
allowHalfOpen: true,
|
974
|
-
_sockname: null,
|
975
|
-
_pendingData: null,
|
976
|
-
_pendingEncoding: '',
|
977
|
-
server: Server {
|
978
|
-
insecureHTTPParser: undefined,
|
979
|
-
_events: [Object: null prototype],
|
980
|
-
_eventsCount: 6,
|
981
|
-
_maxListeners: undefined,
|
982
|
-
_connections: 1,
|
983
|
-
_handle: [TCP],
|
984
|
-
_usingWorkers: false,
|
985
|
-
_workers: [],
|
986
|
-
_unref: false,
|
987
|
-
allowHalfOpen: true,
|
988
|
-
pauseOnConnect: false,
|
989
|
-
httpAllowHalfOpen: false,
|
990
|
-
timeout: 120000,
|
991
|
-
keepAliveTimeout: 5000,
|
992
|
-
maxHeadersCount: null,
|
993
|
-
headersTimeout: 60000,
|
994
|
-
_connectionKey: '6::::42777',
|
995
|
-
[Symbol(IncomingMessage)]: [Function: IncomingMessage],
|
996
|
-
[Symbol(ServerResponse)]: [Function: ServerResponse],
|
997
|
-
[Symbol(kCapture)]: false,
|
998
|
-
[Symbol(asyncId)]: 5584
|
999
|
-
},
|
1000
|
-
_server: Server {
|
1001
|
-
insecureHTTPParser: undefined,
|
1002
|
-
_events: [Object: null prototype],
|
1003
|
-
_eventsCount: 6,
|
1004
|
-
_maxListeners: undefined,
|
1005
|
-
_connections: 1,
|
1006
|
-
_handle: [TCP],
|
1007
|
-
_usingWorkers: false,
|
1008
|
-
_workers: [],
|
1009
|
-
_unref: false,
|
1010
|
-
allowHalfOpen: true,
|
1011
|
-
pauseOnConnect: false,
|
1012
|
-
httpAllowHalfOpen: false,
|
1013
|
-
timeout: 120000,
|
1014
|
-
keepAliveTimeout: 5000,
|
1015
|
-
maxHeadersCount: null,
|
1016
|
-
headersTimeout: 60000,
|
1017
|
-
_connectionKey: '6::::42777',
|
1018
|
-
[Symbol(IncomingMessage)]: [Function: IncomingMessage],
|
1019
|
-
[Symbol(ServerResponse)]: [Function: ServerResponse],
|
1020
|
-
[Symbol(kCapture)]: false,
|
1021
|
-
[Symbol(asyncId)]: 5584
|
1022
|
-
},
|
1023
|
-
timeout: 120000,
|
1024
|
-
parser: HTTPParser {
|
1025
|
-
'0': [Function: parserOnHeaders],
|
1026
|
-
'1': [Function: parserOnHeadersComplete],
|
1027
|
-
'2': [Function: parserOnBody],
|
1028
|
-
'3': [Function: parserOnMessageComplete],
|
1029
|
-
'4': [Function: bound onParserExecute],
|
1030
|
-
'5': [Function: bound onParserTimeout],
|
1031
|
-
_headers: [],
|
1032
|
-
_url: '',
|
1033
|
-
socket: [Circular],
|
1034
|
-
incoming: [IncomingMessage],
|
1035
|
-
outgoing: null,
|
1036
|
-
maxHeaderPairs: 2000,
|
1037
|
-
_consumed: true,
|
1038
|
-
onIncoming: [Function: bound parserOnIncoming],
|
1039
|
-
[Symbol(resource_symbol)]: [HTTPServerAsyncResource]
|
1040
|
-
},
|
1041
|
-
on: [Function: socketListenerWrap],
|
1042
|
-
addListener: [Function: socketListenerWrap],
|
1043
|
-
prependListener: [Function: socketListenerWrap],
|
1044
|
-
_paused: false,
|
1045
|
-
_peername: { address: '::ffff:172.20.0.1', family: 'IPv6', port: 34402 },
|
1046
|
-
_httpMessage: ServerResponse {
|
1047
|
-
_events: [Object: null prototype],
|
1048
|
-
_eventsCount: 1,
|
1049
|
-
_maxListeners: undefined,
|
1050
|
-
outputData: [],
|
1051
|
-
outputSize: 0,
|
1052
|
-
writable: true,
|
1053
|
-
_last: false,
|
1054
|
-
chunkedEncoding: false,
|
1055
|
-
shouldKeepAlive: true,
|
1056
|
-
_defaultKeepAlive: true,
|
1057
|
-
useChunkedEncodingByDefault: true,
|
1058
|
-
sendDate: true,
|
1059
|
-
_removedConnection: false,
|
1060
|
-
_removedContLen: false,
|
1061
|
-
_removedTE: false,
|
1062
|
-
_contentLength: null,
|
1063
|
-
_hasBody: true,
|
1064
|
-
_trailer: '',
|
1065
|
-
finished: false,
|
1066
|
-
_headerSent: false,
|
1067
|
-
socket: [Circular],
|
1068
|
-
connection: [Circular],
|
1069
|
-
_header: null,
|
1070
|
-
_keepAliveTimeout: 5000,
|
1071
|
-
_onPendingData: [Function: bound updateOutgoingData],
|
1072
|
-
_sent100: false,
|
1073
|
-
_expect_continue: false,
|
1074
|
-
req: [IncomingMessage],
|
1075
|
-
locals: [Function],
|
1076
|
-
writeHead: [Function: writeHead],
|
1077
|
-
end: [Function: end],
|
1078
|
-
jsonx: [Function: jsonx],
|
1079
|
-
badRequest: [Function: bound badRequest],
|
1080
|
-
created: [Function: bound created],
|
1081
|
-
forbidden: [Function: bound forbidden],
|
1082
|
-
notFound: [Function: bound notFound],
|
1083
|
-
ok: [Function: bound sendOK],
|
1084
|
-
serverError: [Function: bound serverError],
|
1085
|
-
negotiate: [Function: bound negotiate],
|
1086
|
-
locale: 'en',
|
1087
|
-
__: [Function: bound i18nTranslate],
|
1088
|
-
__n: [Function: bound i18nTranslatePlural],
|
1089
|
-
__l: [Function: bound i18nTranslationList],
|
1090
|
-
__h: [Function: bound i18nTranslationHash],
|
1091
|
-
__mf: [Function: bound i18nMessageformat],
|
1092
|
-
getLocale: [Function: bound i18nGetLocale],
|
1093
|
-
setLocale: [Function: bound i18nSetLocale],
|
1094
|
-
getCatalog: [Function: bound i18nGetCatalog],
|
1095
|
-
getLocales: [Function: bound i18nGetLocales],
|
1096
|
-
addLocale: [Function: bound i18nAddLocale],
|
1097
|
-
removeLocale: [Function: bound i18nRemoveLocale],
|
1098
|
-
i18n: [Function: bound i18nTranslate],
|
1099
|
-
guessView: [Function],
|
1100
|
-
view: [Function],
|
1101
|
-
[Symbol(kCapture)]: false,
|
1102
|
-
[Symbol(kNeedDrain)]: false,
|
1103
|
-
[Symbol(corked)]: 0,
|
1104
|
-
[Symbol(kOutHeaders)]: [Object: null prototype]
|
1105
|
-
},
|
1106
|
-
[Symbol(asyncId)]: 6337,
|
1107
|
-
[Symbol(kHandle)]: TCP {
|
1108
|
-
reading: true,
|
1109
|
-
onconnection: null,
|
1110
|
-
_consumed: true,
|
1111
|
-
[Symbol(owner_symbol)]: [Circular]
|
1112
|
-
},
|
1113
|
-
[Symbol(kSetNoDelay)]: false,
|
1114
|
-
[Symbol(lastWriteQueueSize)]: 0,
|
1115
|
-
[Symbol(timeout)]: Timeout {
|
1116
|
-
_idleTimeout: 120000,
|
1117
|
-
_idlePrev: [TimersList],
|
1118
|
-
_idleNext: [Timeout],
|
1119
|
-
_idleStart: 58058,
|
1120
|
-
_onTimeout: [Function: bound ],
|
1121
|
-
_timerArgs: undefined,
|
1122
|
-
_repeat: null,
|
1123
|
-
_destroyed: false,
|
1124
|
-
[Symbol(refed)]: false,
|
1125
|
-
[Symbol(kHasPrimitive)]: false,
|
1126
|
-
[Symbol(asyncId)]: 9343,
|
1127
|
-
[Symbol(triggerId)]: 6339
|
1128
|
-
},
|
1129
|
-
[Symbol(kBuffer)]: null,
|
1130
|
-
[Symbol(kBufferCb)]: null,
|
1131
|
-
[Symbol(kBufferGen)]: null,
|
1132
|
-
[Symbol(kCapture)]: false,
|
1133
|
-
[Symbol(kBytesRead)]: 0,
|
1134
|
-
[Symbol(kBytesWritten)]: 0
|
1135
|
-
},
|
1136
|
-
_consuming: true,
|
1137
|
-
_dumped: false,
|
1138
|
-
originalUrl: '/graphql',
|
1139
|
-
_parsedUrl: Url {
|
1140
|
-
protocol: null,
|
1141
|
-
slashes: null,
|
1142
|
-
auth: null,
|
1143
|
-
host: null,
|
1144
|
-
port: null,
|
1145
|
-
hostname: null,
|
1146
|
-
hash: null,
|
1147
|
-
search: null,
|
1148
|
-
query: null,
|
1149
|
-
pathname: '/graphql',
|
1150
|
-
path: '/graphql',
|
1151
|
-
href: '/graphql',
|
1152
|
-
_raw: '/graphql'
|
1153
|
-
},
|
1154
|
-
query: {},
|
1155
|
-
res: ServerResponse {
|
1156
|
-
_events: [Object: null prototype] { finish: [Array] },
|
1157
|
-
_eventsCount: 1,
|
1158
|
-
_maxListeners: undefined,
|
1159
|
-
outputData: [],
|
1160
|
-
outputSize: 0,
|
1161
|
-
writable: true,
|
1162
|
-
_last: false,
|
1163
|
-
chunkedEncoding: false,
|
1164
|
-
shouldKeepAlive: true,
|
1165
|
-
_defaultKeepAlive: true,
|
1166
|
-
useChunkedEncodingByDefault: true,
|
1167
|
-
sendDate: true,
|
1168
|
-
_removedConnection: false,
|
1169
|
-
_removedContLen: false,
|
1170
|
-
_removedTE: false,
|
1171
|
-
_contentLength: null,
|
1172
|
-
_hasBody: true,
|
1173
|
-
_trailer: '',
|
1174
|
-
finished: false,
|
1175
|
-
_headerSent: false,
|
1176
|
-
socket: Socket {
|
1177
|
-
connecting: false,
|
1178
|
-
_hadError: false,
|
1179
|
-
_parent: null,
|
1180
|
-
_host: null,
|
1181
|
-
_readableState: [ReadableState],
|
1182
|
-
readable: true,
|
1183
|
-
_events: [Object: null prototype],
|
1184
|
-
_eventsCount: 8,
|
1185
|
-
_maxListeners: undefined,
|
1186
|
-
_writableState: [WritableState],
|
1187
|
-
writable: true,
|
1188
|
-
allowHalfOpen: true,
|
1189
|
-
_sockname: null,
|
1190
|
-
_pendingData: null,
|
1191
|
-
_pendingEncoding: '',
|
1192
|
-
server: [Server],
|
1193
|
-
_server: [Server],
|
1194
|
-
timeout: 120000,
|
1195
|
-
parser: [HTTPParser],
|
1196
|
-
on: [Function: socketListenerWrap],
|
1197
|
-
addListener: [Function: socketListenerWrap],
|
1198
|
-
prependListener: [Function: socketListenerWrap],
|
1199
|
-
_paused: false,
|
1200
|
-
_peername: [Object],
|
1201
|
-
_httpMessage: [Circular],
|
1202
|
-
[Symbol(asyncId)]: 6337,
|
1203
|
-
[Symbol(kHandle)]: [TCP],
|
1204
|
-
[Symbol(kSetNoDelay)]: false,
|
1205
|
-
[Symbol(lastWriteQueueSize)]: 0,
|
1206
|
-
[Symbol(timeout)]: Timeout {
|
1207
|
-
_idleTimeout: 120000,
|
1208
|
-
_idlePrev: [TimersList],
|
1209
|
-
_idleNext: [Timeout],
|
1210
|
-
_idleStart: 58058,
|
1211
|
-
_onTimeout: [Function: bound ],
|
1212
|
-
_timerArgs: undefined,
|
1213
|
-
_repeat: null,
|
1214
|
-
_destroyed: false,
|
1215
|
-
[Symbol(refed)]: false,
|
1216
|
-
[Symbol(kHasPrimitive)]: false,
|
1217
|
-
[Symbol(asyncId)]: 9343,
|
1218
|
-
[Symbol(triggerId)]: 6339
|
1219
|
-
},
|
1220
|
-
[Symbol(kBuffer)]: null,
|
1221
|
-
[Symbol(kBufferCb)]: null,
|
1222
|
-
[Symbol(kBufferGen)]: null,
|
1223
|
-
[Symbol(kCapture)]: false,
|
1224
|
-
[Symbol(kBytesRead)]: 0,
|
1225
|
-
[Symbol(kBytesWritten)]: 0
|
1226
|
-
},
|
1227
|
-
connection: Socket {
|
1228
|
-
connecting: false,
|
1229
|
-
_hadError: false,
|
1230
|
-
_parent: null,
|
1231
|
-
_host: null,
|
1232
|
-
_readableState: [ReadableState],
|
1233
|
-
readable: true,
|
1234
|
-
_events: [Object: null prototype],
|
1235
|
-
_eventsCount: 8,
|
1236
|
-
_maxListeners: undefined,
|
1237
|
-
_writableState: [WritableState],
|
1238
|
-
writable: true,
|
1239
|
-
allowHalfOpen: true,
|
1240
|
-
_sockname: null,
|
1241
|
-
_pendingData: null,
|
1242
|
-
_pendingEncoding: '',
|
1243
|
-
server: [Server],
|
1244
|
-
_server: [Server],
|
1245
|
-
timeout: 120000,
|
1246
|
-
parser: [HTTPParser],
|
1247
|
-
on: [Function: socketListenerWrap],
|
1248
|
-
addListener: [Function: socketListenerWrap],
|
1249
|
-
prependListener: [Function: socketListenerWrap],
|
1250
|
-
_paused: false,
|
1251
|
-
_peername: [Object],
|
1252
|
-
_httpMessage: [Circular],
|
1253
|
-
[Symbol(asyncId)]: 6337,
|
1254
|
-
[Symbol(kHandle)]: [TCP],
|
1255
|
-
[Symbol(kSetNoDelay)]: false,
|
1256
|
-
[Symbol(lastWriteQueueSize)]: 0,
|
1257
|
-
[Symbol(timeout)]: Timeout {
|
1258
|
-
_idleTimeout: 120000,
|
1259
|
-
_idlePrev: [TimersList],
|
1260
|
-
_idleNext: [Timeout],
|
1261
|
-
_idleStart: 58058,
|
1262
|
-
_onTimeout: [Function: bound ],
|
1263
|
-
_timerArgs: undefined,
|
1264
|
-
_repeat: null,
|
1265
|
-
_destroyed: false,
|
1266
|
-
[Symbol(refed)]: false,
|
1267
|
-
[Symbol(kHasPrimitive)]: false,
|
1268
|
-
[Symbol(asyncId)]: 9343,
|
1269
|
-
[Symbol(triggerId)]: 6339
|
1270
|
-
},
|
1271
|
-
[Symbol(kBuffer)]: null,
|
1272
|
-
[Symbol(kBufferCb)]: null,
|
1273
|
-
[Symbol(kBufferGen)]: null,
|
1274
|
-
[Symbol(kCapture)]: false,
|
1275
|
-
[Symbol(kBytesRead)]: 0,
|
1276
|
-
[Symbol(kBytesWritten)]: 0
|
1277
|
-
},
|
1278
|
-
_header: null,
|
1279
|
-
_keepAliveTimeout: 5000,
|
1280
|
-
_onPendingData: [Function: bound updateOutgoingData],
|
1281
|
-
_sent100: false,
|
1282
|
-
_expect_continue: false,
|
1283
|
-
req: IncomingMessage {
|
1284
|
-
_readableState: [ReadableState],
|
1285
|
-
readable: false,
|
1286
|
-
_events: [Object: null prototype] {},
|
1287
|
-
_eventsCount: 0,
|
1288
|
-
_maxListeners: undefined,
|
1289
|
-
socket: [Socket],
|
1290
|
-
connection: [Socket],
|
1291
|
-
httpVersionMajor: 1,
|
1292
|
-
httpVersionMinor: 1,
|
1293
|
-
httpVersion: '1.1',
|
1294
|
-
complete: true,
|
1295
|
-
headers: [Object],
|
1296
|
-
rawHeaders: [Array],
|
1297
|
-
trailers: {},
|
1298
|
-
rawTrailers: [],
|
1299
|
-
aborted: false,
|
1300
|
-
upgrade: false,
|
1301
|
-
url: '/',
|
1302
|
-
method: 'POST',
|
1303
|
-
statusCode: null,
|
1304
|
-
statusMessage: null,
|
1305
|
-
client: [Socket],
|
1306
|
-
_consuming: true,
|
1307
|
-
_dumped: false,
|
1308
|
-
originalUrl: '/graphql',
|
1309
|
-
_parsedUrl: [Url],
|
1310
|
-
query: {},
|
1311
|
-
res: [Circular],
|
1312
|
-
next: [Function: next],
|
1313
|
-
_sails: [Sails],
|
1314
|
-
param: [Function: getValForParam],
|
1315
|
-
_startTime: 2021-06-30T12:26:31.025Z,
|
1316
|
-
secret: 'dfd21d6c9fb98667c111b65a4ebe2977',
|
1317
|
-
cookies: [Object: null prototype] {},
|
1318
|
-
signedCookies: [Object: null prototype] {},
|
1319
|
-
_parsedOriginalUrl: [Url],
|
1320
|
-
sessionStore: [MemoryStore],
|
1321
|
-
sessionID: 'nYNimeGYUJhNh6rs2Y3-ptxEe7c1WfjY',
|
1322
|
-
session: [Session],
|
1323
|
-
file: [Function],
|
1324
|
-
body: [Object],
|
1325
|
-
_body: true,
|
1326
|
-
length: undefined,
|
1327
|
-
originalMethod: 'POST',
|
1328
|
-
_route_index: 5,
|
1329
|
-
route: undefined,
|
1330
|
-
params: {},
|
1331
|
-
options: [Object],
|
1332
|
-
allParams: [Function],
|
1333
|
-
flash: [Function: _flash],
|
1334
|
-
port: 42777,
|
1335
|
-
baseUrl: 'http://localhost:42777/graphql',
|
1336
|
-
validate: [Function: _validate],
|
1337
|
-
explicitlyAcceptsHTML: false,
|
1338
|
-
wantsJSON: true,
|
1339
|
-
languages: [Array],
|
1340
|
-
regions: [Array],
|
1341
|
-
language: 'en',
|
1342
|
-
region: 'ru',
|
1343
|
-
locale: 'en',
|
1344
|
-
__: [Function: bound i18nTranslate],
|
1345
|
-
__n: [Function: bound i18nTranslatePlural],
|
1346
|
-
__l: [Function: bound i18nTranslationList],
|
1347
|
-
__h: [Function: bound i18nTranslationHash],
|
1348
|
-
__mf: [Function: bound i18nMessageformat],
|
1349
|
-
getLocale: [Function: bound i18nGetLocale],
|
1350
|
-
setLocale: [Function: bound i18nSetLocale],
|
1351
|
-
getCatalog: [Function: bound i18nGetCatalog],
|
1352
|
-
getLocales: [Function: bound i18nGetLocales],
|
1353
|
-
addLocale: [Function: bound i18nAddLocale],
|
1354
|
-
removeLocale: [Function: bound i18nRemoveLocale],
|
1355
|
-
[Symbol(kCapture)]: false
|
1356
|
-
},
|
1357
|
-
locals: [Function: locals] {
|
1358
|
-
_: [Function],
|
1359
|
-
util: [Object],
|
1360
|
-
session: [Session],
|
1361
|
-
req: [IncomingMessage],
|
1362
|
-
res: [Circular],
|
1363
|
-
sails: [Sails],
|
1364
|
-
title: undefined,
|
1365
|
-
locale: 'en',
|
1366
|
-
__: [Function: bound i18nTranslate],
|
1367
|
-
__n: [Function: bound i18nTranslatePlural],
|
1368
|
-
__l: [Function: bound i18nTranslationList],
|
1369
|
-
__h: [Function: bound i18nTranslationHash],
|
1370
|
-
__mf: [Function: bound i18nMessageformat],
|
1371
|
-
getLocale: [Function: bound i18nGetLocale],
|
1372
|
-
setLocale: [Function: bound i18nSetLocale],
|
1373
|
-
getCatalog: [Function: bound i18nGetCatalog],
|
1374
|
-
getLocales: [Function: bound i18nGetLocales],
|
1375
|
-
addLocale: [Function: bound i18nAddLocale],
|
1376
|
-
removeLocale: [Function: bound i18nRemoveLocale],
|
1377
|
-
i18n: [Function: bound i18nTranslate],
|
1378
|
-
_csrf: null
|
1379
|
-
},
|
1380
|
-
writeHead: [Function: writeHead],
|
1381
|
-
end: [Function: end],
|
1382
|
-
jsonx: [Function: jsonx],
|
1383
|
-
badRequest: [Function: bound badRequest],
|
1384
|
-
created: [Function: bound created],
|
1385
|
-
forbidden: [Function: bound forbidden],
|
1386
|
-
notFound: [Function: bound notFound],
|
1387
|
-
ok: [Function: bound sendOK],
|
1388
|
-
serverError: [Function: bound serverError],
|
1389
|
-
negotiate: [Function: bound negotiate],
|
1390
|
-
locale: 'en',
|
1391
|
-
__: [Function: bound i18nTranslate],
|
1392
|
-
__n: [Function: bound i18nTranslatePlural],
|
1393
|
-
__l: [Function: bound i18nTranslationList],
|
1394
|
-
__h: [Function: bound i18nTranslationHash],
|
1395
|
-
__mf: [Function: bound i18nMessageformat],
|
1396
|
-
getLocale: [Function: bound i18nGetLocale],
|
1397
|
-
setLocale: [Function: bound i18nSetLocale],
|
1398
|
-
getCatalog: [Function: bound i18nGetCatalog],
|
1399
|
-
getLocales: [Function: bound i18nGetLocales],
|
1400
|
-
addLocale: [Function: bound i18nAddLocale],
|
1401
|
-
removeLocale: [Function: bound i18nRemoveLocale],
|
1402
|
-
i18n: [Function: bound i18nTranslate],
|
1403
|
-
guessView: [Function],
|
1404
|
-
view: [Function],
|
1405
|
-
[Symbol(kCapture)]: false,
|
1406
|
-
[Symbol(kNeedDrain)]: false,
|
1407
|
-
[Symbol(corked)]: 0,
|
1408
|
-
[Symbol(kOutHeaders)]: [Object: null prototype] {
|
1409
|
-
vary: [Array],
|
1410
|
-
'x-powered-by': [Array],
|
1411
|
-
'access-control-allow-origin': [Array],
|
1412
|
-
'access-control-allow-credentials': [Array],
|
1413
|
-
'access-control-expose-headers': [Array]
|
1414
|
-
}
|
1415
|
-
},
|
1416
|
-
next: [Function: next],
|
1417
|
-
_sails: Sails {
|
1418
|
-
_events: [Object: null prototype] {
|
1419
|
-
'hook:userconfig:loaded': [Function: wrapper],
|
1420
|
-
'router:before': [Array],
|
1421
|
-
'router:after': [Array],
|
1422
|
-
IIKO_OVER: [AsyncFunction],
|
1423
|
-
'route:typeUnknown': [Array],
|
1424
|
-
'hook:orm:reload': [Function: wrapper],
|
1425
|
-
lower: [Function],
|
1426
|
-
lifted: [Array],
|
1427
|
-
'hook:orm:loaded': [Function],
|
1428
|
-
'router:route': [Function],
|
1429
|
-
'hook:orm:reloaded': [Function],
|
1430
|
-
'router:bind': [Function],
|
1431
|
-
'router:unbind': [Function],
|
1432
|
-
'router:request': [Function: wrapper],
|
1433
|
-
'router:request:500': [Function: 500],
|
1434
|
-
'router:request:404': [Function: 404]
|
1435
|
-
},
|
1436
|
-
_eventsCount: 16,
|
1437
|
-
_maxListeners: 0,
|
1438
|
-
childProcesses: [],
|
1439
|
-
log: [Function: _writeLogToConsole] {
|
1440
|
-
crit: [Function: _writeLogToConsole],
|
1441
|
-
error: [Function: _writeLogToConsole],
|
1442
|
-
warn: [Function: _writeLogToConsole],
|
1443
|
-
debug: [Function: _writeLogToConsole],
|
1444
|
-
info: [Function: _writeLogToConsole],
|
1445
|
-
blank: [Function: _writeLogToConsole],
|
1446
|
-
verbose: [Function: _writeLogToConsole],
|
1447
|
-
silly: [Function: _writeLogToConsole],
|
1448
|
-
ship: [Function]
|
1449
|
-
},
|
1450
|
-
router: Router {
|
1451
|
-
sails: [Circular],
|
1452
|
-
defaultHandlers: [Object],
|
1453
|
-
_privateRouter: [Function],
|
1454
|
-
load: [Function: wrapper],
|
1455
|
-
bind: [Function: wrapper],
|
1456
|
-
unbind: [Function: wrapper],
|
1457
|
-
reset: [Function: wrapper],
|
1458
|
-
flush: [Function: wrapper],
|
1459
|
-
route: [Function: wrapper],
|
1460
|
-
explicitRoutes: [Object],
|
1461
|
-
log: [Function]
|
1462
|
-
},
|
1463
|
-
load: [Function: wrapper],
|
1464
|
-
warmEvents: {
|
1465
|
-
'hook:moduleloader:loaded': true,
|
1466
|
-
'hook:userconfig:loaded': true,
|
1467
|
-
'hook:userhooks:loaded': true,
|
1468
|
-
'hook:logger:loaded': true,
|
1469
|
-
'hook:request:loaded': true,
|
1470
|
-
'hook:views:loaded': true,
|
1471
|
-
'hook:blueprints:loaded': true,
|
1472
|
-
'hook:responses:loaded': true,
|
1473
|
-
'hook:controllers:loaded': true,
|
1474
|
-
'hook:policies:loaded': true,
|
1475
|
-
'hook:services:loaded': true,
|
1476
|
-
'hook:csrf:loaded': true,
|
1477
|
-
'hook:cors:loaded': true,
|
1478
|
-
'hook:i18n:loaded': true,
|
1479
|
-
'hook:session:loaded': true,
|
1480
|
-
'hook:http:loaded': true,
|
1481
|
-
'hook:sockets:loaded': true,
|
1482
|
-
'hook:resto-google-map-adapter:loaded': true,
|
1483
|
-
'hook:restographql:loaded': true,
|
1484
|
-
'hook:resto-tg:loaded': true,
|
1485
|
-
'hook:resto-yandex-map-adapter:loaded': true,
|
1486
|
-
'hook:adminpanel:loaded': true,
|
1487
|
-
'hook:slugs:loaded': true,
|
1488
|
-
'hook:hookStateFlow:loaded': true,
|
1489
|
-
'hook:restocore:loaded': true,
|
1490
|
-
'hook:resto-iiko-rms-adapter:loaded': true,
|
1491
|
-
'hook:iiko-simple-discounts:loaded': true,
|
1492
|
-
'hook:resto-sberbank-payment-adapter:loaded': true,
|
1493
|
-
'hook:telegram-bot:loaded': true,
|
1494
|
-
'hook:orm:loaded': true,
|
1495
|
-
'hook:pubsub:loaded': true,
|
1496
|
-
'hooks:builtIn:ready': true,
|
1497
|
-
'middleware:registered': true,
|
1498
|
-
'router:reset': true,
|
1499
|
-
'router:before': true,
|
1500
|
-
'router:bind': true,
|
1501
|
-
'hook:policies:bound': true,
|
1502
|
-
'route:typeUnknown': true,
|
1503
|
-
'router:after': true,
|
1504
|
-
ready: true,
|
1505
|
-
'hook:http:listening': true,
|
1506
|
-
lifted: true,
|
1507
|
-
'router:route': true
|
1508
|
-
},
|
1509
|
-
emit: [Function],
|
1510
|
-
after: [Function],
|
1511
|
-
request: [Function: wrapper],
|
1512
|
-
lift: [Function: wrapper],
|
1513
|
-
lower: [Function: wrapper],
|
1514
|
-
getBaseurl: [Function: wrapper],
|
1515
|
-
initialize: [Function: wrapper],
|
1516
|
-
exposeGlobals: [Function: wrapper],
|
1517
|
-
runBootstrap: [Function: wrapper],
|
1518
|
-
getHost: [Function: wrapper],
|
1519
|
-
isLocalSailsValid: [Function: wrapper],
|
1520
|
-
isSailsAppSync: [Function: wrapper],
|
1521
|
-
inspect: [Function: wrapper],
|
1522
|
-
toString: [Function: wrapper],
|
1523
|
-
toJSON: [Function: wrapper],
|
1524
|
-
all: [Function: wrapper],
|
1525
|
-
get: [Function: wrapper],
|
1526
|
-
post: [Function: wrapper],
|
1527
|
-
put: [Function: wrapper],
|
1528
|
-
delete: [Function: wrapper],
|
1529
|
-
Sails: [Function: SailsFactory] {
|
1530
|
-
isLocalSailsValid: [Function: wrapper],
|
1531
|
-
isSailsAppSync: [Function: wrapper]
|
1532
|
-
},
|
1533
|
-
config: {
|
1534
|
-
adminpanel: [Object],
|
1535
|
-
bootstrap: [AsyncFunction],
|
1536
|
-
card5: [Object],
|
1537
|
-
connections: [Object],
|
1538
|
-
cors: [Object],
|
1539
|
-
discounts: [Object],
|
1540
|
-
email: [Object],
|
1541
|
-
gfcafe: [Object],
|
1542
|
-
globals: [Object],
|
1543
|
-
orm: [Object],
|
1544
|
-
pubsub: [Object],
|
1545
|
-
http: [Object],
|
1546
|
-
i18n: [Object],
|
1547
|
-
log: [Object],
|
1548
|
-
models: [Object],
|
1549
|
-
policies: [Object],
|
1550
|
-
restoapi: [Object],
|
1551
|
-
restocore: [Object],
|
1552
|
-
restographql: [Object],
|
1553
|
-
restotg: [Object],
|
1554
|
-
routes: [Object],
|
1555
|
-
sberbank: [Object],
|
1556
|
-
session: [Object],
|
1557
|
-
sockets: [Object],
|
1558
|
-
stateflow: [Object],
|
1559
|
-
telegrambot: [Object],
|
1560
|
-
usercore: [Object],
|
1561
|
-
views: [Object],
|
1562
|
-
port: '42777',
|
1563
|
-
environment: 'development',
|
1564
|
-
hooks: [Object],
|
1565
|
-
appPath: '/app',
|
1566
|
-
paths: [Object],
|
1567
|
-
middleware: {},
|
1568
|
-
generators: [Object],
|
1569
|
-
_: [],
|
1570
|
-
configs: [Array],
|
1571
|
-
config: '/app/.sailsrc',
|
1572
|
-
moduleloader: [Object],
|
1573
|
-
blueprints: [Object],
|
1574
|
-
csrf: [Object],
|
1575
|
-
ssl: {},
|
1576
|
-
slugs: [Object],
|
1577
|
-
model: 'Order',
|
1578
|
-
stateField: 'state'
|
1579
|
-
},
|
1580
|
-
_originalNodeEnv: 'development',
|
1581
|
-
_setNodeEnvAutomatically: true,
|
1582
|
-
version: '0.12.14',
|
1583
|
-
majorVersion: '0',
|
1584
|
-
minorVersion: '12',
|
1585
|
-
patchVersion: '14',
|
1586
|
-
dependencies: {
|
1587
|
-
anchor: '~0.10.5',
|
1588
|
-
async: '1.5.0',
|
1589
|
-
'captains-log': '1.0.0',
|
1590
|
-
chalk: '1.1.3',
|
1591
|
-
commander: '2.9.0',
|
1592
|
-
compression: '1.6.2',
|
1593
|
-
connect: '3.4.1',
|
1594
|
-
'connect-flash': '0.1.1',
|
1595
|
-
consolidate: '0.14.1',
|
1596
|
-
cookie: '0.1.2',
|
1597
|
-
'cookie-parser': '1.3.5',
|
1598
|
-
'cookie-signature': '1.0.6',
|
1599
|
-
csurf: '1.9.0',
|
1600
|
-
ejs: '2.3.4',
|
1601
|
-
'ejs-locals': '1.0.2',
|
1602
|
-
'@sailshq/express': '^3.21.3',
|
1603
|
-
'express-handlebars': '3.0.0',
|
1604
|
-
'express-session': '1.14.2',
|
1605
|
-
flaverr: '^1.0.0',
|
1606
|
-
glob: '5.0.15',
|
1607
|
-
grunt: '1.0.1',
|
1608
|
-
'grunt-cli': '1.2.0',
|
1609
|
-
'grunt-contrib-clean': '1.0.0',
|
1610
|
-
'grunt-contrib-coffee': '1.0.0',
|
1611
|
-
'grunt-contrib-concat': '1.0.1',
|
1612
|
-
'grunt-contrib-copy': '1.0.0',
|
1613
|
-
'grunt-contrib-cssmin': '1.0.1',
|
1614
|
-
'grunt-contrib-jst': '1.0.0',
|
1615
|
-
'grunt-contrib-less': '1.3.0',
|
1616
|
-
'grunt-contrib-uglify': '1.0.1',
|
1617
|
-
'grunt-contrib-watch': '1.0.0',
|
1618
|
-
'grunt-sails-linker': '~0.10.1',
|
1619
|
-
'grunt-sync': '0.5.2',
|
1620
|
-
i18n: '0.8.1',
|
1621
|
-
'include-all': '^1.0.0',
|
1622
|
-
'@sailshq/lodash': '^3.10.2',
|
1623
|
-
'merge-defaults': '~0.2.1',
|
1624
|
-
'method-override': '2.3.5',
|
1625
|
-
'mock-req': '0.2.0',
|
1626
|
-
'mock-res': '0.3.0',
|
1627
|
-
parseurl: '1.3.1',
|
1628
|
-
'path-to-regexp': '1.5.3',
|
1629
|
-
prompt: '0.2.14',
|
1630
|
-
rc: '1.0.1',
|
1631
|
-
reportback: '~0.1.9',
|
1632
|
-
rttc: '9.3.3',
|
1633
|
-
'sails-disk': '~0.10.9',
|
1634
|
-
'sails-generate': '~0.13.0',
|
1635
|
-
'sails-hook-orm': '~1.0.9',
|
1636
|
-
'sails-hook-sockets': '^0.13.9',
|
1637
|
-
'sails-stringfile': '~0.3.2',
|
1638
|
-
'sails-util': '~0.11.0',
|
1639
|
-
semver: '5.1.0',
|
1640
|
-
'serve-favicon': '2.3.0',
|
1641
|
-
'serve-static': '1.10.2',
|
1642
|
-
skipper: '~0.7.0',
|
1643
|
-
'uid-safe': '1.1.0',
|
1644
|
-
walk: '2.3.9'
|
1645
|
-
},
|
1646
|
-
hooks: {
|
1647
|
-
moduleloader: [Hook],
|
1648
|
-
logger: [Hook],
|
1649
|
-
request: [Hook],
|
1650
|
-
orm: [Hook],
|
1651
|
-
views: [Hook],
|
1652
|
-
blueprints: [Hook],
|
1653
|
-
responses: [Hook],
|
1654
|
-
controllers: [Hook],
|
1655
|
-
sockets: [Hook],
|
1656
|
-
pubsub: [Hook],
|
1657
|
-
policies: [Hook],
|
1658
|
-
services: [Hook],
|
1659
|
-
csrf: [Hook],
|
1660
|
-
cors: [Hook],
|
1661
|
-
i18n: [Hook],
|
1662
|
-
userconfig: [Hook],
|
1663
|
-
session: [Hook],
|
1664
|
-
http: [Hook],
|
1665
|
-
userhooks: [Hook],
|
1666
|
-
restocore: [Hook],
|
1667
|
-
'resto-google-map-adapter': [Hook],
|
1668
|
-
restographql: [Hook],
|
1669
|
-
'resto-iiko-rms-adapter': [Hook],
|
1670
|
-
'iiko-simple-discounts': [Hook],
|
1671
|
-
'resto-sberbank-payment-adapter': [Hook],
|
1672
|
-
'telegram-bot': [Hook],
|
1673
|
-
'resto-tg': [Hook],
|
1674
|
-
'resto-yandex-map-adapter': [Hook],
|
1675
|
-
adminpanel: [Hook],
|
1676
|
-
slugs: [Hook],
|
1677
|
-
hookStateFlow: [Hook]
|
1678
|
-
},
|
1679
|
-
modules: Hook {
|
1680
|
-
load: [Function: wrapper],
|
1681
|
-
defaults: [Function: wrapper],
|
1682
|
-
configure: [Function: wrapper],
|
1683
|
-
loadModules: [Function: wrapper],
|
1684
|
-
initialize: [Function: wrapper],
|
1685
|
-
config: [Object],
|
1686
|
-
middleware: {},
|
1687
|
-
routes: [Object],
|
1688
|
-
loadUserConfig: [Function: wrapper],
|
1689
|
-
loadControllers: [Function: wrapper],
|
1690
|
-
loadAdapters: [Function: wrapper],
|
1691
|
-
loadModels: [Function: wrapper],
|
1692
|
-
loadServices: [Function: wrapper],
|
1693
|
-
statViews: [Function: wrapper],
|
1694
|
-
loadPolicies: [Function: wrapper],
|
1695
|
-
loadUserHooks: [Function: wrapper],
|
1696
|
-
loadBlueprints: [Function: wrapper],
|
1697
|
-
loadResponses: [Function: wrapper],
|
1698
|
-
optional: [Function: wrapper],
|
1699
|
-
required: [Function: wrapper],
|
1700
|
-
aggregate: [Function: wrapper],
|
1701
|
-
exists: [Function: wrapper],
|
1702
|
-
identity: 'moduleloader',
|
1703
|
-
configKey: 'moduleloader'
|
1704
|
-
},
|
1705
|
-
graphql: { pubsub: [PubSub] },
|
1706
|
-
models: {
|
1707
|
-
navigation: [child],
|
1708
|
-
notify: [child],
|
1709
|
-
page: [child],
|
1710
|
-
paymentlink: [child],
|
1711
|
-
phone: [child],
|
1712
|
-
pickupaddress: [child],
|
1713
|
-
promotion: [child],
|
1714
|
-
stophistory: [child],
|
1715
|
-
stopreason: [child],
|
1716
|
-
stopsection: [child],
|
1717
|
-
tablereservation: [child],
|
1718
|
-
order: [child],
|
1719
|
-
orderdish: [child],
|
1720
|
-
dish: [child],
|
1721
|
-
group: [child],
|
1722
|
-
image: [child],
|
1723
|
-
maintenance: [child],
|
1724
|
-
paymentdocument: [child],
|
1725
|
-
paymentmethod: [child],
|
1726
|
-
Settings: [child],
|
1727
|
-
iikopaymentmethod: [child],
|
1728
|
-
iikoorder: [child],
|
1729
|
-
streetiiko: [child],
|
1730
|
-
iikodiscount: [child],
|
1731
|
-
sberbankpayments: [child],
|
1732
|
-
tgbotuser: [child],
|
1733
|
-
userap: [child],
|
1734
|
-
dish_images__image_dish: [child],
|
1735
|
-
group_images__image_group: [child]
|
1736
|
-
},
|
1737
|
-
adapters: { 'sails-postgresql': [Object] },
|
1738
|
-
controllers: { pickupaddreses: [Object], util: [Object] },
|
1739
|
-
services: {
|
1740
|
-
captchaservice: [Object],
|
1741
|
-
ordermessageservice: [Object],
|
1742
|
-
dogonkaservice: [Object],
|
1743
|
-
emailservice: [Object],
|
1744
|
-
eventservice: [Object],
|
1745
|
-
firstdishfreeservice: [Object],
|
1746
|
-
notifydeliveryservice: [Object],
|
1747
|
-
skorobudetservice: [Object],
|
1748
|
-
tempmenuservice: [Object]
|
1749
|
-
},
|
1750
|
-
renderView: [Function: wrapper],
|
1751
|
-
views: { '404': true, '500': true, email: true, register: true, tg: true },
|
1752
|
-
_middlewareType: 'ACTION: util/sails',
|
1753
|
-
getSDKMetadata: [Function: parseSdkMetadata],
|
1754
|
-
__: [Function: i18nTranslate],
|
1755
|
-
session: {
|
1756
|
-
defaults: [Object],
|
1757
|
-
configure: [Function: configure],
|
1758
|
-
initialize: [Function: initialize],
|
1759
|
-
generateNewSidCookie: [Function: generateNewSidCookie],
|
1760
|
-
parseSessionIdFromCookie: [Function: parseSessionIdFromCookie],
|
1761
|
-
get: [Function: get],
|
1762
|
-
set: [Function: set],
|
1763
|
-
identity: 'session',
|
1764
|
-
configKey: 'session',
|
1765
|
-
config: [Object],
|
1766
|
-
middleware: {},
|
1767
|
-
routes: [Object]
|
1768
|
-
},
|
1769
|
-
io: Server {
|
1770
|
-
nsps: [Object],
|
1771
|
-
_path: '/socket.io',
|
1772
|
-
_serveClient: false,
|
1773
|
-
_adapter: [Function: Adapter],
|
1774
|
-
_origins: '*:*',
|
1775
|
-
sockets: [Namespace],
|
1776
|
-
eio: [Server],
|
1777
|
-
httpServer: [Server],
|
1778
|
-
engine: [Server]
|
1779
|
-
},
|
1780
|
-
sockets: {
|
1781
|
-
DEFAULT_EVENT_NAME: 'message',
|
1782
|
-
blast: [Function: blast],
|
1783
|
-
join: [Function: joinRoom],
|
1784
|
-
leave: [Function: leaveRoom],
|
1785
|
-
broadcast: [Function: broadcastToRoom],
|
1786
|
-
emitToAll: [Function: bound broadcastToRoom],
|
1787
|
-
emit: [Function: bound broadcastToRoom],
|
1788
|
-
get: [Function: getSocketById],
|
1789
|
-
rooms: [Function: listAllRooms],
|
1790
|
-
socketRooms: [Function: listRoomsJoinedBySocket],
|
1791
|
-
subscribers: [Function: listRoomMembers],
|
1792
|
-
getId: [Function: parseSocketId],
|
1793
|
-
id: [Function: bound parseSocketId],
|
1794
|
-
parseSocket: [Function: parseSocket],
|
1795
|
-
addRoomMembersToRooms: [Function: addRoomMembersToRooms],
|
1796
|
-
removeRoomMembersFromRooms: [Function: removeRoomMembersFromRooms],
|
1797
|
-
leaveAll: [Function: leaveAllRooms],
|
1798
|
-
publishToFirehose: [Function]
|
1799
|
-
},
|
1800
|
-
stateflow: [ [State], [State], [State], [State] ],
|
1801
|
-
registry: {
|
1802
|
-
moduleloader: {},
|
1803
|
-
logger: {},
|
1804
|
-
request: {},
|
1805
|
-
orm: {},
|
1806
|
-
views: {},
|
1807
|
-
blueprints: [Object],
|
1808
|
-
responses: [Object],
|
1809
|
-
controllers: [Object],
|
1810
|
-
sockets: {},
|
1811
|
-
pubsub: {},
|
1812
|
-
policies: {},
|
1813
|
-
services: {},
|
1814
|
-
csrf: {},
|
1815
|
-
cors: {},
|
1816
|
-
i18n: {},
|
1817
|
-
userconfig: {},
|
1818
|
-
session: {},
|
1819
|
-
http: {},
|
1820
|
-
userhooks: {},
|
1821
|
-
restocore: {},
|
1822
|
-
'resto-google-map-adapter': {},
|
1823
|
-
restographql: {},
|
1824
|
-
'resto-iiko-rms-adapter': {},
|
1825
|
-
'iiko-simple-discounts': {},
|
1826
|
-
'resto-sberbank-payment-adapter': {},
|
1827
|
-
'telegram-bot': {},
|
1828
|
-
'resto-tg': {},
|
1829
|
-
'resto-yandex-map-adapter': {},
|
1830
|
-
adminpanel: {},
|
1831
|
-
slugs: {},
|
1832
|
-
hookStateFlow: {}
|
1833
|
-
},
|
1834
|
-
middleware: {
|
1835
|
-
moduleloader: {},
|
1836
|
-
logger: {},
|
1837
|
-
request: {},
|
1838
|
-
orm: {},
|
1839
|
-
views: {},
|
1840
|
-
blueprints: [Object],
|
1841
|
-
responses: [Object],
|
1842
|
-
controllers: [Object],
|
1843
|
-
sockets: {},
|
1844
|
-
pubsub: {},
|
1845
|
-
policies: {},
|
1846
|
-
services: {},
|
1847
|
-
csrf: {},
|
1848
|
-
cors: {},
|
1849
|
-
i18n: {},
|
1850
|
-
userconfig: {},
|
1851
|
-
session: {},
|
1852
|
-
http: {},
|
1853
|
-
userhooks: {},
|
1854
|
-
restocore: {},
|
1855
|
-
'resto-google-map-adapter': {},
|
1856
|
-
restographql: {},
|
1857
|
-
'resto-iiko-rms-adapter': {},
|
1858
|
-
'iiko-simple-discounts': {},
|
1859
|
-
'resto-sberbank-payment-adapter': {},
|
1860
|
-
'telegram-bot': {},
|
1861
|
-
'resto-tg': {},
|
1862
|
-
'resto-yandex-map-adapter': {},
|
1863
|
-
adminpanel: {},
|
1864
|
-
slugs: {},
|
1865
|
-
hookStateFlow: {}
|
1866
|
-
},
|
1867
|
-
_privateSessionMiddleware: [Function: session],
|
1868
|
-
_privateCpMware: [Function: cookieParser],
|
1869
|
-
adminpanel: { havePermission: [Function] },
|
1870
|
-
_processListeners: {
|
1871
|
-
sigusr2: [Function: sigusr2],
|
1872
|
-
sigint: [Function: sigint],
|
1873
|
-
sigterm: [Function: sigterm],
|
1874
|
-
exit: [Function: exit]
|
1875
|
-
},
|
1876
|
-
iikoFail: false,
|
1877
|
-
isLifted: true,
|
1878
|
-
[Symbol(kCapture)]: false
|
1879
|
-
},
|
1880
|
-
param: [Function: getValForParam],
|
1881
|
-
_startTime: 2021-06-30T12:26:31.025Z,
|
1882
|
-
secret: 'dfd21d6c9fb98667c111b65a4ebe2977',
|
1883
|
-
cookies: [Object: null prototype] {},
|
1884
|
-
signedCookies: [Object: null prototype] {},
|
1885
|
-
_parsedOriginalUrl: Url {
|
1886
|
-
protocol: null,
|
1887
|
-
slashes: null,
|
1888
|
-
auth: null,
|
1889
|
-
host: null,
|
1890
|
-
port: null,
|
1891
|
-
hostname: null,
|
1892
|
-
hash: null,
|
1893
|
-
search: null,
|
1894
|
-
query: null,
|
1895
|
-
pathname: '/graphql',
|
1896
|
-
path: '/graphql',
|
1897
|
-
href: '/graphql',
|
1898
|
-
_raw: '/graphql'
|
1899
|
-
},
|
1900
|
-
sessionStore: MemoryStore {
|
1901
|
-
_events: [Object: null prototype] { disconnect: [Array], connect: [Array] },
|
1902
|
-
_eventsCount: 2,
|
1903
|
-
_maxListeners: undefined,
|
1904
|
-
sessions: [Object: null prototype] {
|
1905
|
-
'0zzqkCxhqDVOaD5egk_U_eBu8fFtKCNG': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1906
|
-
'af-bivpogdp3T6FTYym4og74kpnE9p5A': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1907
|
-
'kOReh3H_NauX1O16oGd6g-wlw3sP8-Sb': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1908
|
-
DS3FDfTghCGwt3i5R8suF5XmU4tVPbN5: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1909
|
-
'-Q4wX_T-aWizHPUmK6eEr0vg8gw0f-QK': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1910
|
-
'1ji3utd5G1HdIEG3yp2CGYhaHpqDK2ma': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1911
|
-
'8bQlKnXKTtQj26wR_S_3v6FS7emi9vWo': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1912
|
-
ZMSVr_T6ZhR_xcNn08Z2jwgzzHcVDFiz: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1913
|
-
'8leePi6vSeNkyYL31EFCF0hwMQq-msJ0': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1914
|
-
iBaSrCT_asvgNNFaY5OZEBqGcGD9izOW: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1915
|
-
Sis6dePSBJDQ__DtnkEBPGh81nTyG0Aq: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1916
|
-
'70xarULInXjQ4nAYD9CqLIMkR1VrL1z3': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1917
|
-
JjbtmZCtKO9jTid_e4SDAGcLZ4wRtIgh: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1918
|
-
KAQby4TA2qOi8OBCuqNFah8kdQSPSv0u: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1919
|
-
qcX34Tv98DJvi3JuRK7JFk0XQfCsRBP2: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1920
|
-
kgGpYuUEdLqLoq9d_m_RU5KnVHkyna0M: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1921
|
-
zrg7x4qSCNeetHk_eOnnj85kO8cazIXC: '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1922
|
-
'93ABUUkPUUc4xA1y1aQM6Q-_vPaNYaON': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}',
|
1923
|
-
'NfZLBh5h457UEynZKV6F6IhmyM5C-bxs': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"}}'
|
1924
|
-
},
|
1925
|
-
generate: [Function],
|
1926
|
-
[Symbol(kCapture)]: false
|
1927
|
-
},
|
1928
|
-
sessionID: 'nYNimeGYUJhNh6rs2Y3-ptxEe7c1WfjY',
|
1929
|
-
session: Session {
|
1930
|
-
cookie: { path: '/', _expires: null, originalMaxAge: null, httpOnly: true }
|
1931
|
-
},
|
1932
|
-
file: [Function],
|
1933
|
-
body: {
|
1934
|
-
operationName: null,
|
1935
|
-
variables: {},
|
1936
|
-
query: '{\n checkPhone(phone: "777") {\n confirmed\n }\n}\n'
|
1937
|
-
},
|
1938
|
-
_body: true,
|
1939
|
-
length: undefined,
|
1940
|
-
originalMethod: 'POST',
|
1941
|
-
_route_index: 5,
|
1942
|
-
route: undefined,
|
1943
|
-
params: {},
|
1944
|
-
options: {
|
1945
|
-
_middlewareType: 'CSRF HOOK: CSRF',
|
1946
|
-
detectedVerb: { verb: 'all', original: '/*', path: '/*' },
|
1947
|
-
skipRegex: []
|
1948
|
-
},
|
1949
|
-
allParams: [Function],
|
1950
|
-
flash: [Function: _flash],
|
1951
|
-
port: 42777,
|
1952
|
-
baseUrl: 'http://localhost:42777/graphql',
|
1953
|
-
validate: [Function: _validate],
|
1954
|
-
explicitlyAcceptsHTML: false,
|
1955
|
-
wantsJSON: true,
|
1956
|
-
languages: [ 'en' ],
|
1957
|
-
regions: [ 'en' ],
|
1958
|
-
language: 'en',
|
1959
|
-
region: 'ru',
|
1960
|
-
locale: 'en',
|
1961
|
-
__: [Function: bound i18nTranslate],
|
1962
|
-
__n: [Function: bound i18nTranslatePlural],
|
1963
|
-
__l: [Function: bound i18nTranslationList],
|
1964
|
-
__h: [Function: bound i18nTranslationHash],
|
1965
|
-
__mf: [Function: bound i18nMessageformat],
|
1966
|
-
getLocale: [Function: bound i18nGetLocale],
|
1967
|
-
setLocale: [Function: bound i18nSetLocale],
|
1968
|
-
getCatalog: [Function: bound i18nGetCatalog],
|
1969
|
-
getLocales: [Function: bound i18nGetLocales],
|
1970
|
-
addLocale: [Function: bound i18nAddLocale],
|
1971
|
-
removeLocale: [Function: bound i18nRemoveLocale],
|
1972
|
-
_extensionStack: GraphQLExtensionStack { extensions: [] },
|
1973
|
-
[Symbol(kCapture)]: false
|
1974
|
-
}
|
1975
|
-
|
1976
|
-
```
|