@superatomai/sdk-node 0.0.31 → 0.0.33
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/dist/index.d.mts +61 -9
- package/dist/index.d.ts +61 -9
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -90,7 +90,27 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
90
90
|
deps?: string[] | undefined;
|
|
91
91
|
}>, "many">>;
|
|
92
92
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
|
-
render: z.ZodType<any, z.ZodTypeDef, any
|
|
93
|
+
render: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
94
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
+
id: z.ZodString;
|
|
96
|
+
name: z.ZodString;
|
|
97
|
+
order: z.ZodNumber;
|
|
98
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
99
|
+
render: z.ZodType<any, z.ZodTypeDef, any>;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
id: string;
|
|
102
|
+
name: string;
|
|
103
|
+
order: number;
|
|
104
|
+
icon?: string | undefined;
|
|
105
|
+
render?: any;
|
|
106
|
+
}, {
|
|
107
|
+
id: string;
|
|
108
|
+
name: string;
|
|
109
|
+
order: number;
|
|
110
|
+
icon?: string | undefined;
|
|
111
|
+
render?: any;
|
|
112
|
+
}>, "many">>;
|
|
113
|
+
defaultPageId: z.ZodOptional<z.ZodString>;
|
|
94
114
|
query: z.ZodOptional<z.ZodObject<{
|
|
95
115
|
graphql: z.ZodOptional<z.ZodString>;
|
|
96
116
|
sql: z.ZodOptional<z.ZodString>;
|
|
@@ -129,6 +149,7 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
129
149
|
dependencies?: string[] | undefined;
|
|
130
150
|
} | undefined;
|
|
131
151
|
props?: Record<string, any> | undefined;
|
|
152
|
+
render?: any;
|
|
132
153
|
states?: Record<string, any> | undefined;
|
|
133
154
|
methods?: Record<string, {
|
|
134
155
|
fn: string;
|
|
@@ -139,7 +160,14 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
139
160
|
deps?: string[] | undefined;
|
|
140
161
|
}[] | undefined;
|
|
141
162
|
data?: Record<string, any> | undefined;
|
|
142
|
-
|
|
163
|
+
pages?: {
|
|
164
|
+
id: string;
|
|
165
|
+
name: string;
|
|
166
|
+
order: number;
|
|
167
|
+
icon?: string | undefined;
|
|
168
|
+
render?: any;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
defaultPageId?: string | undefined;
|
|
143
171
|
}, {
|
|
144
172
|
id: string;
|
|
145
173
|
name?: string | undefined;
|
|
@@ -153,6 +181,7 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
153
181
|
dependencies?: string[] | undefined;
|
|
154
182
|
} | undefined;
|
|
155
183
|
props?: Record<string, any> | undefined;
|
|
184
|
+
render?: any;
|
|
156
185
|
states?: Record<string, any> | undefined;
|
|
157
186
|
methods?: Record<string, {
|
|
158
187
|
fn: string;
|
|
@@ -163,7 +192,14 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
163
192
|
deps?: string[] | undefined;
|
|
164
193
|
}[] | undefined;
|
|
165
194
|
data?: Record<string, any> | undefined;
|
|
166
|
-
|
|
195
|
+
pages?: {
|
|
196
|
+
id: string;
|
|
197
|
+
name: string;
|
|
198
|
+
order: number;
|
|
199
|
+
icon?: string | undefined;
|
|
200
|
+
render?: any;
|
|
201
|
+
}[] | undefined;
|
|
202
|
+
defaultPageId?: string | undefined;
|
|
167
203
|
}>;
|
|
168
204
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
169
205
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -181,6 +217,7 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
181
217
|
dependencies?: string[] | undefined;
|
|
182
218
|
} | undefined;
|
|
183
219
|
props?: Record<string, any> | undefined;
|
|
220
|
+
render?: any;
|
|
184
221
|
states?: Record<string, any> | undefined;
|
|
185
222
|
methods?: Record<string, {
|
|
186
223
|
fn: string;
|
|
@@ -191,7 +228,14 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
191
228
|
deps?: string[] | undefined;
|
|
192
229
|
}[] | undefined;
|
|
193
230
|
data?: Record<string, any> | undefined;
|
|
194
|
-
|
|
231
|
+
pages?: {
|
|
232
|
+
id: string;
|
|
233
|
+
name: string;
|
|
234
|
+
order: number;
|
|
235
|
+
icon?: string | undefined;
|
|
236
|
+
render?: any;
|
|
237
|
+
}[] | undefined;
|
|
238
|
+
defaultPageId?: string | undefined;
|
|
195
239
|
};
|
|
196
240
|
data?: Record<string, any> | undefined;
|
|
197
241
|
context?: Record<string, any> | undefined;
|
|
@@ -209,6 +253,7 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
209
253
|
dependencies?: string[] | undefined;
|
|
210
254
|
} | undefined;
|
|
211
255
|
props?: Record<string, any> | undefined;
|
|
256
|
+
render?: any;
|
|
212
257
|
states?: Record<string, any> | undefined;
|
|
213
258
|
methods?: Record<string, {
|
|
214
259
|
fn: string;
|
|
@@ -219,7 +264,14 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
219
264
|
deps?: string[] | undefined;
|
|
220
265
|
}[] | undefined;
|
|
221
266
|
data?: Record<string, any> | undefined;
|
|
222
|
-
|
|
267
|
+
pages?: {
|
|
268
|
+
id: string;
|
|
269
|
+
name: string;
|
|
270
|
+
order: number;
|
|
271
|
+
icon?: string | undefined;
|
|
272
|
+
render?: any;
|
|
273
|
+
}[] | undefined;
|
|
274
|
+
defaultPageId?: string | undefined;
|
|
223
275
|
};
|
|
224
276
|
data?: Record<string, any> | undefined;
|
|
225
277
|
context?: Record<string, any> | undefined;
|
|
@@ -292,6 +344,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
292
344
|
dependencies?: string[] | undefined;
|
|
293
345
|
} | undefined;
|
|
294
346
|
props?: Record<string, any> | undefined;
|
|
347
|
+
render?: any;
|
|
295
348
|
states?: Record<string, any> | undefined;
|
|
296
349
|
methods?: Record<string, {
|
|
297
350
|
fn: string;
|
|
@@ -302,7 +355,6 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
302
355
|
deps?: string[] | undefined;
|
|
303
356
|
}[] | undefined;
|
|
304
357
|
data?: Record<string, any> | undefined;
|
|
305
|
-
render?: any;
|
|
306
358
|
}, {
|
|
307
359
|
id: string;
|
|
308
360
|
name?: string | undefined;
|
|
@@ -316,6 +368,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
316
368
|
dependencies?: string[] | undefined;
|
|
317
369
|
} | undefined;
|
|
318
370
|
props?: Record<string, any> | undefined;
|
|
371
|
+
render?: any;
|
|
319
372
|
states?: Record<string, any> | undefined;
|
|
320
373
|
methods?: Record<string, {
|
|
321
374
|
fn: string;
|
|
@@ -326,7 +379,6 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
326
379
|
deps?: string[] | undefined;
|
|
327
380
|
}[] | undefined;
|
|
328
381
|
data?: Record<string, any> | undefined;
|
|
329
|
-
render?: any;
|
|
330
382
|
}>;
|
|
331
383
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
332
384
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -344,6 +396,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
344
396
|
dependencies?: string[] | undefined;
|
|
345
397
|
} | undefined;
|
|
346
398
|
props?: Record<string, any> | undefined;
|
|
399
|
+
render?: any;
|
|
347
400
|
states?: Record<string, any> | undefined;
|
|
348
401
|
methods?: Record<string, {
|
|
349
402
|
fn: string;
|
|
@@ -354,7 +407,6 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
354
407
|
deps?: string[] | undefined;
|
|
355
408
|
}[] | undefined;
|
|
356
409
|
data?: Record<string, any> | undefined;
|
|
357
|
-
render?: any;
|
|
358
410
|
};
|
|
359
411
|
data?: Record<string, any> | undefined;
|
|
360
412
|
context?: Record<string, any> | undefined;
|
|
@@ -372,6 +424,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
372
424
|
dependencies?: string[] | undefined;
|
|
373
425
|
} | undefined;
|
|
374
426
|
props?: Record<string, any> | undefined;
|
|
427
|
+
render?: any;
|
|
375
428
|
states?: Record<string, any> | undefined;
|
|
376
429
|
methods?: Record<string, {
|
|
377
430
|
fn: string;
|
|
@@ -382,7 +435,6 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
382
435
|
deps?: string[] | undefined;
|
|
383
436
|
}[] | undefined;
|
|
384
437
|
data?: Record<string, any> | undefined;
|
|
385
|
-
render?: any;
|
|
386
438
|
};
|
|
387
439
|
data?: Record<string, any> | undefined;
|
|
388
440
|
context?: Record<string, any> | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -90,7 +90,27 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
90
90
|
deps?: string[] | undefined;
|
|
91
91
|
}>, "many">>;
|
|
92
92
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
|
-
render: z.ZodType<any, z.ZodTypeDef, any
|
|
93
|
+
render: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
94
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
+
id: z.ZodString;
|
|
96
|
+
name: z.ZodString;
|
|
97
|
+
order: z.ZodNumber;
|
|
98
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
99
|
+
render: z.ZodType<any, z.ZodTypeDef, any>;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
id: string;
|
|
102
|
+
name: string;
|
|
103
|
+
order: number;
|
|
104
|
+
icon?: string | undefined;
|
|
105
|
+
render?: any;
|
|
106
|
+
}, {
|
|
107
|
+
id: string;
|
|
108
|
+
name: string;
|
|
109
|
+
order: number;
|
|
110
|
+
icon?: string | undefined;
|
|
111
|
+
render?: any;
|
|
112
|
+
}>, "many">>;
|
|
113
|
+
defaultPageId: z.ZodOptional<z.ZodString>;
|
|
94
114
|
query: z.ZodOptional<z.ZodObject<{
|
|
95
115
|
graphql: z.ZodOptional<z.ZodString>;
|
|
96
116
|
sql: z.ZodOptional<z.ZodString>;
|
|
@@ -129,6 +149,7 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
129
149
|
dependencies?: string[] | undefined;
|
|
130
150
|
} | undefined;
|
|
131
151
|
props?: Record<string, any> | undefined;
|
|
152
|
+
render?: any;
|
|
132
153
|
states?: Record<string, any> | undefined;
|
|
133
154
|
methods?: Record<string, {
|
|
134
155
|
fn: string;
|
|
@@ -139,7 +160,14 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
139
160
|
deps?: string[] | undefined;
|
|
140
161
|
}[] | undefined;
|
|
141
162
|
data?: Record<string, any> | undefined;
|
|
142
|
-
|
|
163
|
+
pages?: {
|
|
164
|
+
id: string;
|
|
165
|
+
name: string;
|
|
166
|
+
order: number;
|
|
167
|
+
icon?: string | undefined;
|
|
168
|
+
render?: any;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
defaultPageId?: string | undefined;
|
|
143
171
|
}, {
|
|
144
172
|
id: string;
|
|
145
173
|
name?: string | undefined;
|
|
@@ -153,6 +181,7 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
153
181
|
dependencies?: string[] | undefined;
|
|
154
182
|
} | undefined;
|
|
155
183
|
props?: Record<string, any> | undefined;
|
|
184
|
+
render?: any;
|
|
156
185
|
states?: Record<string, any> | undefined;
|
|
157
186
|
methods?: Record<string, {
|
|
158
187
|
fn: string;
|
|
@@ -163,7 +192,14 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
163
192
|
deps?: string[] | undefined;
|
|
164
193
|
}[] | undefined;
|
|
165
194
|
data?: Record<string, any> | undefined;
|
|
166
|
-
|
|
195
|
+
pages?: {
|
|
196
|
+
id: string;
|
|
197
|
+
name: string;
|
|
198
|
+
order: number;
|
|
199
|
+
icon?: string | undefined;
|
|
200
|
+
render?: any;
|
|
201
|
+
}[] | undefined;
|
|
202
|
+
defaultPageId?: string | undefined;
|
|
167
203
|
}>;
|
|
168
204
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
169
205
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -181,6 +217,7 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
181
217
|
dependencies?: string[] | undefined;
|
|
182
218
|
} | undefined;
|
|
183
219
|
props?: Record<string, any> | undefined;
|
|
220
|
+
render?: any;
|
|
184
221
|
states?: Record<string, any> | undefined;
|
|
185
222
|
methods?: Record<string, {
|
|
186
223
|
fn: string;
|
|
@@ -191,7 +228,14 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
191
228
|
deps?: string[] | undefined;
|
|
192
229
|
}[] | undefined;
|
|
193
230
|
data?: Record<string, any> | undefined;
|
|
194
|
-
|
|
231
|
+
pages?: {
|
|
232
|
+
id: string;
|
|
233
|
+
name: string;
|
|
234
|
+
order: number;
|
|
235
|
+
icon?: string | undefined;
|
|
236
|
+
render?: any;
|
|
237
|
+
}[] | undefined;
|
|
238
|
+
defaultPageId?: string | undefined;
|
|
195
239
|
};
|
|
196
240
|
data?: Record<string, any> | undefined;
|
|
197
241
|
context?: Record<string, any> | undefined;
|
|
@@ -209,6 +253,7 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
209
253
|
dependencies?: string[] | undefined;
|
|
210
254
|
} | undefined;
|
|
211
255
|
props?: Record<string, any> | undefined;
|
|
256
|
+
render?: any;
|
|
212
257
|
states?: Record<string, any> | undefined;
|
|
213
258
|
methods?: Record<string, {
|
|
214
259
|
fn: string;
|
|
@@ -219,7 +264,14 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
219
264
|
deps?: string[] | undefined;
|
|
220
265
|
}[] | undefined;
|
|
221
266
|
data?: Record<string, any> | undefined;
|
|
222
|
-
|
|
267
|
+
pages?: {
|
|
268
|
+
id: string;
|
|
269
|
+
name: string;
|
|
270
|
+
order: number;
|
|
271
|
+
icon?: string | undefined;
|
|
272
|
+
render?: any;
|
|
273
|
+
}[] | undefined;
|
|
274
|
+
defaultPageId?: string | undefined;
|
|
223
275
|
};
|
|
224
276
|
data?: Record<string, any> | undefined;
|
|
225
277
|
context?: Record<string, any> | undefined;
|
|
@@ -292,6 +344,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
292
344
|
dependencies?: string[] | undefined;
|
|
293
345
|
} | undefined;
|
|
294
346
|
props?: Record<string, any> | undefined;
|
|
347
|
+
render?: any;
|
|
295
348
|
states?: Record<string, any> | undefined;
|
|
296
349
|
methods?: Record<string, {
|
|
297
350
|
fn: string;
|
|
@@ -302,7 +355,6 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
302
355
|
deps?: string[] | undefined;
|
|
303
356
|
}[] | undefined;
|
|
304
357
|
data?: Record<string, any> | undefined;
|
|
305
|
-
render?: any;
|
|
306
358
|
}, {
|
|
307
359
|
id: string;
|
|
308
360
|
name?: string | undefined;
|
|
@@ -316,6 +368,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
316
368
|
dependencies?: string[] | undefined;
|
|
317
369
|
} | undefined;
|
|
318
370
|
props?: Record<string, any> | undefined;
|
|
371
|
+
render?: any;
|
|
319
372
|
states?: Record<string, any> | undefined;
|
|
320
373
|
methods?: Record<string, {
|
|
321
374
|
fn: string;
|
|
@@ -326,7 +379,6 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
326
379
|
deps?: string[] | undefined;
|
|
327
380
|
}[] | undefined;
|
|
328
381
|
data?: Record<string, any> | undefined;
|
|
329
|
-
render?: any;
|
|
330
382
|
}>;
|
|
331
383
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
332
384
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -344,6 +396,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
344
396
|
dependencies?: string[] | undefined;
|
|
345
397
|
} | undefined;
|
|
346
398
|
props?: Record<string, any> | undefined;
|
|
399
|
+
render?: any;
|
|
347
400
|
states?: Record<string, any> | undefined;
|
|
348
401
|
methods?: Record<string, {
|
|
349
402
|
fn: string;
|
|
@@ -354,7 +407,6 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
354
407
|
deps?: string[] | undefined;
|
|
355
408
|
}[] | undefined;
|
|
356
409
|
data?: Record<string, any> | undefined;
|
|
357
|
-
render?: any;
|
|
358
410
|
};
|
|
359
411
|
data?: Record<string, any> | undefined;
|
|
360
412
|
context?: Record<string, any> | undefined;
|
|
@@ -372,6 +424,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
372
424
|
dependencies?: string[] | undefined;
|
|
373
425
|
} | undefined;
|
|
374
426
|
props?: Record<string, any> | undefined;
|
|
427
|
+
render?: any;
|
|
375
428
|
states?: Record<string, any> | undefined;
|
|
376
429
|
methods?: Record<string, {
|
|
377
430
|
fn: string;
|
|
@@ -382,7 +435,6 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
382
435
|
deps?: string[] | undefined;
|
|
383
436
|
}[] | undefined;
|
|
384
437
|
data?: Record<string, any> | undefined;
|
|
385
|
-
render?: any;
|
|
386
438
|
};
|
|
387
439
|
data?: Record<string, any> | undefined;
|
|
388
440
|
context?: Record<string, any> | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1564,6 +1564,13 @@ var UIElementSchema = import_zod.z.lazy(
|
|
|
1564
1564
|
}).optional()
|
|
1565
1565
|
})
|
|
1566
1566
|
);
|
|
1567
|
+
var PageSchema = import_zod.z.object({
|
|
1568
|
+
id: import_zod.z.string(),
|
|
1569
|
+
name: import_zod.z.string(),
|
|
1570
|
+
order: import_zod.z.number(),
|
|
1571
|
+
icon: import_zod.z.string().optional(),
|
|
1572
|
+
render: UIElementSchema
|
|
1573
|
+
});
|
|
1567
1574
|
var UIComponentSchema = import_zod.z.object({
|
|
1568
1575
|
id: import_zod.z.string(),
|
|
1569
1576
|
name: import_zod.z.string().optional(),
|
|
@@ -1583,7 +1590,9 @@ var UIComponentSchema = import_zod.z.object({
|
|
|
1583
1590
|
})
|
|
1584
1591
|
).optional(),
|
|
1585
1592
|
data: import_zod.z.record(import_zod.z.string(), import_zod.z.any()).optional(),
|
|
1586
|
-
render: UIElementSchema,
|
|
1593
|
+
render: UIElementSchema.optional(),
|
|
1594
|
+
pages: import_zod.z.array(PageSchema).optional(),
|
|
1595
|
+
defaultPageId: import_zod.z.string().optional(),
|
|
1587
1596
|
query: QuerySpecSchema.optional()
|
|
1588
1597
|
});
|
|
1589
1598
|
var DSLRendererPropsSchema = import_zod.z.object({
|
|
@@ -7110,6 +7119,7 @@ async function handleGetAll(id, executeCollection, userManager, sendMessage, cli
|
|
|
7110
7119
|
email: user.email,
|
|
7111
7120
|
fullname: user.fullname,
|
|
7112
7121
|
role: user.role,
|
|
7122
|
+
userInfo: user.userInfo,
|
|
7113
7123
|
createdAt: user.createdAt,
|
|
7114
7124
|
updatedAt: user.updatedAt
|
|
7115
7125
|
}));
|
|
@@ -7163,6 +7173,7 @@ async function handleGetOne(id, numericId, username, executeCollection, userMana
|
|
|
7163
7173
|
email: result.data?.email,
|
|
7164
7174
|
fullname: result.data?.fullname,
|
|
7165
7175
|
role: result.data?.role,
|
|
7176
|
+
userInfo: result.data?.userInfo,
|
|
7166
7177
|
createdAt: result.data?.createdAt,
|
|
7167
7178
|
updatedAt: result.data?.updatedAt
|
|
7168
7179
|
};
|
|
@@ -7225,6 +7236,7 @@ async function handleQuery(id, filters, limit, sort, executeCollection, userMana
|
|
|
7225
7236
|
email: user.email,
|
|
7226
7237
|
fullname: user.fullname,
|
|
7227
7238
|
role: user.role,
|
|
7239
|
+
userInfo: user.userInfo,
|
|
7228
7240
|
createdAt: user.createdAt,
|
|
7229
7241
|
updatedAt: user.updatedAt
|
|
7230
7242
|
}));
|
|
@@ -7248,6 +7260,7 @@ async function handleQuery(id, filters, limit, sort, executeCollection, userMana
|
|
|
7248
7260
|
email: user.email,
|
|
7249
7261
|
fullname: user.fullname,
|
|
7250
7262
|
role: user.role,
|
|
7263
|
+
userInfo: user.userInfo,
|
|
7251
7264
|
wsIds: user.wsIds || []
|
|
7252
7265
|
}));
|
|
7253
7266
|
logger.info(`[FILE] Retrieved ${sanitizedUsers.length} users (all - no query filter)`);
|