@cryptorobot.ai/client 0.0.37 → 0.0.39
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/lib/src/client.js +4 -1
- package/lib/src/services/exchanges/balance/balance.schema.d.ts +16 -16
- package/lib/src/services/exchanges/download/download.schema.d.ts +58 -17
- package/lib/src/services/exchanges/download/webhooks/webhooks.schema.d.ts +4 -4
- package/lib/src/services/exchanges/exchanges.schema.d.ts +100 -100
- package/lib/src/services/exchanges/ohlcv/ohlcv.class.d.ts +19 -0
- package/lib/src/services/exchanges/ohlcv/ohlcv.d.ts +11 -0
- package/lib/src/services/exchanges/ohlcv/ohlcv.schema.d.ts +507 -0
- package/lib/src/services/exchanges/ohlcv/ohlcv.shared.d.ts +13 -0
- package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +13 -0
- package/lib/src/services/exchanges/ticker/ticker.schema.d.ts +68 -68
- package/lib/src/services/messages/messages.schema.d.ts +64 -32
- package/lib/src/services/strategies/backtest/backtest.schema.d.ts +127 -60
- package/lib/src/services/strategies/backtest/results/results.schema.d.ts +8 -8
- package/lib/src/services/strategies/hyperopt/hyperopt.schema.d.ts +4 -4
- package/lib/src/services/strategies/indicators/indicators.schema.d.ts +4 -4
- package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +11 -0
- package/lib/src/services/strategies/indicators/talib/talib.d.ts +11 -0
- package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +443 -0
- package/lib/src/services/strategies/indicators/talib/talib.shared.d.ts +13 -0
- package/lib/src/services/strategies/indicators/talib/talib.shared.js +13 -0
- package/lib/src/services/strategies/strategies.schema.d.ts +28 -28
- package/lib/src/services/strategies/templates/templates.schema.d.ts +4 -4
- package/lib/src/services/traders/pods/api/api.schema.d.ts +380 -290
- package/lib/src/services/traders/pods/pods.schema.d.ts +310 -310
- package/lib/src/services/traders/traders.schema.d.ts +138 -138
- package/lib/src/services/users/users.class.d.ts +178 -3
- package/lib/src/services/users/users.schema.d.ts +123 -85
- package/lib/src/services/users/users.shared.d.ts +4 -3
- package/lib/src/services/users/users.shared.js +1 -1
- package/package.json +2 -35
- package/readme.md +2 -51
- package/README.md +0 -4
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import type { Static } from '@feathersjs/typebox';
|
|
2
2
|
import type { HookContext } from '../../declarations';
|
|
3
3
|
import type { UserService } from './users.class';
|
|
4
|
+
export interface OnboardingData {
|
|
5
|
+
templateId?: string;
|
|
6
|
+
exchanges?: string[];
|
|
7
|
+
traders?: string[];
|
|
8
|
+
whitelist?: any[];
|
|
9
|
+
}
|
|
4
10
|
export declare const userSchema: import("@feathersjs/typebox").TObject<{
|
|
5
11
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>>;
|
|
6
12
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -57,8 +63,12 @@ export declare const userSchema: import("@feathersjs/typebox").TObject<{
|
|
|
57
63
|
resetAttempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
58
64
|
agreements: import("@feathersjs/typebox").TBoolean;
|
|
59
65
|
anon: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
60
|
-
bootstrap: import("@feathersjs/typebox").
|
|
61
|
-
|
|
66
|
+
bootstrap: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
67
|
+
strategy: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
68
|
+
traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
69
|
+
strategies: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
70
|
+
}>>;
|
|
71
|
+
onboarding: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TLiteral<"strategies">, import("@feathersjs/typebox").TLiteral<"traders">, import("@feathersjs/typebox").TLiteral<"exchanges">]>>;
|
|
62
72
|
contactId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
63
73
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
64
74
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -81,9 +91,11 @@ export declare const userResolver: import("@feathersjs/schema").Resolver<{
|
|
|
81
91
|
} | undefined;
|
|
82
92
|
stripe?: any;
|
|
83
93
|
_id?: string | {} | undefined;
|
|
94
|
+
createdAt?: any;
|
|
95
|
+
updatedAt?: any;
|
|
96
|
+
avatar?: string | undefined;
|
|
84
97
|
googleId?: any;
|
|
85
98
|
appleId?: any;
|
|
86
|
-
avatar?: string | undefined;
|
|
87
99
|
title?: string | null | undefined;
|
|
88
100
|
company?: string | null | undefined;
|
|
89
101
|
language?: string | undefined;
|
|
@@ -119,16 +131,18 @@ export declare const userResolver: import("@feathersjs/schema").Resolver<{
|
|
|
119
131
|
resetExpires?: number | null | undefined;
|
|
120
132
|
resetAttempts?: number | null | undefined;
|
|
121
133
|
anon?: boolean | undefined;
|
|
122
|
-
|
|
134
|
+
bootstrap?: {
|
|
135
|
+
traders?: any;
|
|
136
|
+
strategies?: any;
|
|
137
|
+
strategy?: any;
|
|
138
|
+
} | undefined;
|
|
139
|
+
onboarding?: "traders" | "strategies" | "exchanges" | null | undefined;
|
|
123
140
|
contactId?: string | undefined;
|
|
124
|
-
createdAt?: any;
|
|
125
|
-
updatedAt?: any;
|
|
126
141
|
skipEmailVerification?: boolean | undefined;
|
|
127
142
|
email: string;
|
|
128
143
|
name: string;
|
|
129
144
|
agreements: boolean;
|
|
130
|
-
|
|
131
|
-
}, HookContext<UserService<import("./users.class").UserParams>>>;
|
|
145
|
+
}, HookContext<UserService>>;
|
|
132
146
|
export declare const userExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
133
147
|
password?: string | undefined;
|
|
134
148
|
push?: {
|
|
@@ -144,9 +158,11 @@ export declare const userExternalResolver: import("@feathersjs/schema").Resolver
|
|
|
144
158
|
} | undefined;
|
|
145
159
|
stripe?: any;
|
|
146
160
|
_id?: string | {} | undefined;
|
|
161
|
+
createdAt?: any;
|
|
162
|
+
updatedAt?: any;
|
|
163
|
+
avatar?: string | undefined;
|
|
147
164
|
googleId?: any;
|
|
148
165
|
appleId?: any;
|
|
149
|
-
avatar?: string | undefined;
|
|
150
166
|
title?: string | null | undefined;
|
|
151
167
|
company?: string | null | undefined;
|
|
152
168
|
language?: string | undefined;
|
|
@@ -182,16 +198,18 @@ export declare const userExternalResolver: import("@feathersjs/schema").Resolver
|
|
|
182
198
|
resetExpires?: number | null | undefined;
|
|
183
199
|
resetAttempts?: number | null | undefined;
|
|
184
200
|
anon?: boolean | undefined;
|
|
185
|
-
|
|
201
|
+
bootstrap?: {
|
|
202
|
+
traders?: any;
|
|
203
|
+
strategies?: any;
|
|
204
|
+
strategy?: any;
|
|
205
|
+
} | undefined;
|
|
206
|
+
onboarding?: "traders" | "strategies" | "exchanges" | null | undefined;
|
|
186
207
|
contactId?: string | undefined;
|
|
187
|
-
createdAt?: any;
|
|
188
|
-
updatedAt?: any;
|
|
189
208
|
skipEmailVerification?: boolean | undefined;
|
|
190
209
|
email: string;
|
|
191
210
|
name: string;
|
|
192
211
|
agreements: boolean;
|
|
193
|
-
|
|
194
|
-
}, HookContext<UserService<import("./users.class").UserParams>>>;
|
|
212
|
+
}, HookContext<UserService>>;
|
|
195
213
|
export declare const userDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
196
214
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>>;
|
|
197
215
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -248,8 +266,12 @@ export declare const userDataSchema: import("@feathersjs/typebox").TPick<import(
|
|
|
248
266
|
resetAttempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
249
267
|
agreements: import("@feathersjs/typebox").TBoolean;
|
|
250
268
|
anon: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
251
|
-
bootstrap: import("@feathersjs/typebox").
|
|
252
|
-
|
|
269
|
+
bootstrap: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
270
|
+
strategy: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
271
|
+
traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
272
|
+
strategies: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
273
|
+
}>>;
|
|
274
|
+
onboarding: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TLiteral<"strategies">, import("@feathersjs/typebox").TLiteral<"traders">, import("@feathersjs/typebox").TLiteral<"exchanges">]>>;
|
|
253
275
|
contactId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
254
276
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
255
277
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -272,9 +294,11 @@ export declare const userDataResolver: import("@feathersjs/schema").Resolver<{
|
|
|
272
294
|
} | undefined;
|
|
273
295
|
stripe?: any;
|
|
274
296
|
_id?: string | {} | undefined;
|
|
297
|
+
createdAt?: any;
|
|
298
|
+
updatedAt?: any;
|
|
299
|
+
avatar?: string | undefined;
|
|
275
300
|
googleId?: any;
|
|
276
301
|
appleId?: any;
|
|
277
|
-
avatar?: string | undefined;
|
|
278
302
|
title?: string | null | undefined;
|
|
279
303
|
company?: string | null | undefined;
|
|
280
304
|
language?: string | undefined;
|
|
@@ -310,16 +334,18 @@ export declare const userDataResolver: import("@feathersjs/schema").Resolver<{
|
|
|
310
334
|
resetExpires?: number | null | undefined;
|
|
311
335
|
resetAttempts?: number | null | undefined;
|
|
312
336
|
anon?: boolean | undefined;
|
|
313
|
-
|
|
337
|
+
bootstrap?: {
|
|
338
|
+
traders?: any;
|
|
339
|
+
strategies?: any;
|
|
340
|
+
strategy?: any;
|
|
341
|
+
} | undefined;
|
|
342
|
+
onboarding?: "traders" | "strategies" | "exchanges" | null | undefined;
|
|
314
343
|
contactId?: string | undefined;
|
|
315
|
-
createdAt?: any;
|
|
316
|
-
updatedAt?: any;
|
|
317
344
|
skipEmailVerification?: boolean | undefined;
|
|
318
345
|
email: string;
|
|
319
346
|
name: string;
|
|
320
347
|
agreements: boolean;
|
|
321
|
-
|
|
322
|
-
}, HookContext<UserService<import("./users.class").UserParams>>>;
|
|
348
|
+
}, HookContext<UserService>>;
|
|
323
349
|
export declare const userPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
324
350
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>>;
|
|
325
351
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -376,8 +402,12 @@ export declare const userPatchSchema: import("@feathersjs/typebox").TPartial<imp
|
|
|
376
402
|
resetAttempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
377
403
|
agreements: import("@feathersjs/typebox").TBoolean;
|
|
378
404
|
anon: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
379
|
-
bootstrap: import("@feathersjs/typebox").
|
|
380
|
-
|
|
405
|
+
bootstrap: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
406
|
+
strategy: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
407
|
+
traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
408
|
+
strategies: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
409
|
+
}>>;
|
|
410
|
+
onboarding: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TLiteral<"strategies">, import("@feathersjs/typebox").TLiteral<"traders">, import("@feathersjs/typebox").TLiteral<"exchanges">]>>;
|
|
381
411
|
contactId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
382
412
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
383
413
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -400,9 +430,11 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
400
430
|
} | undefined;
|
|
401
431
|
stripe?: any;
|
|
402
432
|
_id?: string | {} | undefined;
|
|
433
|
+
createdAt?: any;
|
|
434
|
+
updatedAt?: any;
|
|
435
|
+
avatar?: string | undefined;
|
|
403
436
|
googleId?: any;
|
|
404
437
|
appleId?: any;
|
|
405
|
-
avatar?: string | undefined;
|
|
406
438
|
title?: string | null | undefined;
|
|
407
439
|
company?: string | null | undefined;
|
|
408
440
|
language?: string | undefined;
|
|
@@ -438,16 +470,18 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
438
470
|
resetExpires?: number | null | undefined;
|
|
439
471
|
resetAttempts?: number | null | undefined;
|
|
440
472
|
anon?: boolean | undefined;
|
|
441
|
-
|
|
473
|
+
bootstrap?: {
|
|
474
|
+
traders?: any;
|
|
475
|
+
strategies?: any;
|
|
476
|
+
strategy?: any;
|
|
477
|
+
} | undefined;
|
|
478
|
+
onboarding?: "traders" | "strategies" | "exchanges" | null | undefined;
|
|
442
479
|
contactId?: string | undefined;
|
|
443
|
-
createdAt?: any;
|
|
444
|
-
updatedAt?: any;
|
|
445
480
|
skipEmailVerification?: boolean | undefined;
|
|
446
481
|
email: string;
|
|
447
482
|
name: string;
|
|
448
483
|
agreements: boolean;
|
|
449
|
-
|
|
450
|
-
}, HookContext<UserService<import("./users.class").UserParams>>>;
|
|
484
|
+
}, HookContext<UserService>>;
|
|
451
485
|
export declare const userQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
452
486
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>]>>;
|
|
453
487
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -504,8 +538,12 @@ export declare const userQueryProperties: import("@feathersjs/typebox").TPick<im
|
|
|
504
538
|
resetAttempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TNumber]>>;
|
|
505
539
|
agreements: import("@feathersjs/typebox").TBoolean;
|
|
506
540
|
anon: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
507
|
-
bootstrap: import("@feathersjs/typebox").
|
|
508
|
-
|
|
541
|
+
bootstrap: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
542
|
+
strategy: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
543
|
+
traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
544
|
+
strategies: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
545
|
+
}>>;
|
|
546
|
+
onboarding: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNull, import("@feathersjs/typebox").TLiteral<"strategies">, import("@feathersjs/typebox").TLiteral<"traders">, import("@feathersjs/typebox").TLiteral<"exchanges">]>>;
|
|
509
547
|
contactId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
510
548
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
511
549
|
updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -520,13 +558,13 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
520
558
|
subscription: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
521
559
|
stripe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
522
560
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
561
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
523
562
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
524
563
|
appleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
525
564
|
"stripe.id": import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
526
565
|
verifyToken: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
527
|
-
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
528
566
|
}>;
|
|
529
|
-
$select: import("@feathersjs/typebox").TUnsafe<("email" | "name" | "subscription" | "stripe" | "_id" | "googleId" | "appleId" | "stripe.id" | "verifyToken"
|
|
567
|
+
$select: import("@feathersjs/typebox").TUnsafe<("email" | "name" | "subscription" | "stripe" | "_id" | "createdAt" | "googleId" | "appleId" | "stripe.id" | "verifyToken")[]>;
|
|
530
568
|
$and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
531
569
|
email: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<"email">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
532
570
|
$gt: import("@feathersjs/typebox").TString<"email">;
|
|
@@ -583,6 +621,17 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
583
621
|
}>, import("@feathersjs/typebox").TObject<{
|
|
584
622
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
585
623
|
} | undefined>]>>]>>;
|
|
624
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
625
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
626
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
627
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
628
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
629
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
630
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
631
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
632
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
633
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
634
|
+
} | undefined>]>>]>>;
|
|
586
635
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
587
636
|
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
588
637
|
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -627,17 +676,6 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
627
676
|
}>, import("@feathersjs/typebox").TObject<{
|
|
628
677
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
629
678
|
} | undefined>]>>]>>;
|
|
630
|
-
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
631
|
-
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
632
|
-
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
633
|
-
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
634
|
-
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
635
|
-
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
636
|
-
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
637
|
-
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
638
|
-
}>, import("@feathersjs/typebox").TObject<{
|
|
639
|
-
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
640
|
-
} | undefined>]>>]>>;
|
|
641
679
|
}>>, import("@feathersjs/typebox").TObject<{
|
|
642
680
|
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
643
681
|
email: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<"email">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
@@ -695,6 +733,17 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
695
733
|
}>, import("@feathersjs/typebox").TObject<{
|
|
696
734
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
697
735
|
} | undefined>]>>]>>;
|
|
736
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
737
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
738
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
739
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
740
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
741
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
742
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
743
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
744
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
745
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
746
|
+
} | undefined>]>>]>>;
|
|
698
747
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
699
748
|
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
700
749
|
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -739,17 +788,6 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
739
788
|
}>, import("@feathersjs/typebox").TObject<{
|
|
740
789
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
741
790
|
} | undefined>]>>]>>;
|
|
742
|
-
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
743
|
-
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
744
|
-
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
745
|
-
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
746
|
-
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
747
|
-
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
748
|
-
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
749
|
-
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
750
|
-
}>, import("@feathersjs/typebox").TObject<{
|
|
751
|
-
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
752
|
-
} | undefined>]>>]>>;
|
|
753
791
|
}>>>;
|
|
754
792
|
}>]>>;
|
|
755
793
|
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
@@ -808,6 +846,17 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
808
846
|
}>, import("@feathersjs/typebox").TObject<{
|
|
809
847
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
810
848
|
} | undefined>]>>]>>;
|
|
849
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
850
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
851
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
852
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
853
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
854
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
855
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
856
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
857
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
858
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
859
|
+
} | undefined>]>>]>>;
|
|
811
860
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
812
861
|
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
813
862
|
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -852,17 +901,6 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
852
901
|
}>, import("@feathersjs/typebox").TObject<{
|
|
853
902
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
854
903
|
} | undefined>]>>]>>;
|
|
855
|
-
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
856
|
-
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
857
|
-
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
858
|
-
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
859
|
-
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
860
|
-
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
861
|
-
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
862
|
-
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
863
|
-
}>, import("@feathersjs/typebox").TObject<{
|
|
864
|
-
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
865
|
-
} | undefined>]>>]>>;
|
|
866
904
|
}>>>;
|
|
867
905
|
}>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
868
906
|
email: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<"email">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
@@ -920,6 +958,17 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
920
958
|
}>, import("@feathersjs/typebox").TObject<{
|
|
921
959
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
922
960
|
} | undefined>]>>]>>;
|
|
961
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
962
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
963
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
964
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
965
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
966
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
967
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
968
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
969
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
970
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
971
|
+
} | undefined>]>>]>>;
|
|
923
972
|
googleId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
924
973
|
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
925
974
|
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -964,17 +1013,6 @@ export declare const userQuerySchema: import("@feathersjs/typebox").TIntersect<[
|
|
|
964
1013
|
}>, import("@feathersjs/typebox").TObject<{
|
|
965
1014
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
966
1015
|
} | undefined>]>>]>>;
|
|
967
|
-
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
968
|
-
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
969
|
-
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
970
|
-
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
971
|
-
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
972
|
-
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
973
|
-
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
974
|
-
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
975
|
-
}>, import("@feathersjs/typebox").TObject<{
|
|
976
|
-
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
977
|
-
} | undefined>]>>]>>;
|
|
978
1016
|
}>>]>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
979
1017
|
export type UserQuery = Static<typeof userQuerySchema>;
|
|
980
1018
|
export declare const userQueryValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
@@ -987,13 +1025,13 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
987
1025
|
subscription?: number | undefined;
|
|
988
1026
|
stripe?: number | undefined;
|
|
989
1027
|
_id?: number | undefined;
|
|
1028
|
+
createdAt?: number | undefined;
|
|
990
1029
|
googleId?: number | undefined;
|
|
991
1030
|
appleId?: number | undefined;
|
|
992
1031
|
"stripe.id"?: number | undefined;
|
|
993
1032
|
verifyToken?: number | undefined;
|
|
994
|
-
createdAt?: number | undefined;
|
|
995
1033
|
};
|
|
996
|
-
$select: ("email" | "name" | "subscription" | "stripe" | "_id" | "googleId" | "appleId" | "stripe.id" | "verifyToken"
|
|
1034
|
+
$select: ("email" | "name" | "subscription" | "stripe" | "_id" | "createdAt" | "googleId" | "appleId" | "stripe.id" | "verifyToken")[];
|
|
997
1035
|
$and: ({
|
|
998
1036
|
email?: string | Partial<{
|
|
999
1037
|
$gt: string;
|
|
@@ -1024,6 +1062,7 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
1024
1062
|
$in: string | {} | (string | {})[];
|
|
1025
1063
|
$nin: string | {} | (string | {})[];
|
|
1026
1064
|
} & {}> | undefined;
|
|
1065
|
+
createdAt?: any;
|
|
1027
1066
|
googleId?: any;
|
|
1028
1067
|
appleId?: any;
|
|
1029
1068
|
"stripe.id"?: any;
|
|
@@ -1036,7 +1075,6 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
1036
1075
|
$in: string | (string | null)[] | null;
|
|
1037
1076
|
$nin: string | (string | null)[] | null;
|
|
1038
1077
|
} & {}> | null | undefined;
|
|
1039
|
-
createdAt?: any;
|
|
1040
1078
|
} | {
|
|
1041
1079
|
$or: {
|
|
1042
1080
|
email?: string | Partial<{
|
|
@@ -1068,6 +1106,7 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
1068
1106
|
$in: string | {} | (string | {})[];
|
|
1069
1107
|
$nin: string | {} | (string | {})[];
|
|
1070
1108
|
} & {}> | undefined;
|
|
1109
|
+
createdAt?: any;
|
|
1071
1110
|
googleId?: any;
|
|
1072
1111
|
appleId?: any;
|
|
1073
1112
|
"stripe.id"?: any;
|
|
@@ -1080,7 +1119,6 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
1080
1119
|
$in: string | (string | null)[] | null;
|
|
1081
1120
|
$nin: string | (string | null)[] | null;
|
|
1082
1121
|
} & {}> | null | undefined;
|
|
1083
|
-
createdAt?: any;
|
|
1084
1122
|
}[];
|
|
1085
1123
|
})[];
|
|
1086
1124
|
$or: {
|
|
@@ -1113,6 +1151,7 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
1113
1151
|
$in: string | {} | (string | {})[];
|
|
1114
1152
|
$nin: string | {} | (string | {})[];
|
|
1115
1153
|
} & {}> | undefined;
|
|
1154
|
+
createdAt?: any;
|
|
1116
1155
|
googleId?: any;
|
|
1117
1156
|
appleId?: any;
|
|
1118
1157
|
"stripe.id"?: any;
|
|
@@ -1125,7 +1164,6 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
1125
1164
|
$in: string | (string | null)[] | null;
|
|
1126
1165
|
$nin: string | (string | null)[] | null;
|
|
1127
1166
|
} & {}> | null | undefined;
|
|
1128
|
-
createdAt?: any;
|
|
1129
1167
|
}[];
|
|
1130
1168
|
}> & {
|
|
1131
1169
|
email?: string | Partial<{
|
|
@@ -1157,6 +1195,7 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
1157
1195
|
$in: string | {} | (string | {})[];
|
|
1158
1196
|
$nin: string | {} | (string | {})[];
|
|
1159
1197
|
} & {}> | undefined;
|
|
1198
|
+
createdAt?: any;
|
|
1160
1199
|
googleId?: any;
|
|
1161
1200
|
appleId?: any;
|
|
1162
1201
|
"stripe.id"?: any;
|
|
@@ -1169,5 +1208,4 @@ export declare const userQueryResolver: import("@feathersjs/schema").Resolver<Pa
|
|
|
1169
1208
|
$in: string | (string | null)[] | null;
|
|
1170
1209
|
$nin: string | (string | null)[] | null;
|
|
1171
1210
|
} & {}> | null | undefined;
|
|
1172
|
-
|
|
1173
|
-
} & {}, HookContext<UserService<import("./users.class").UserParams>>>;
|
|
1211
|
+
} & {}, HookContext<UserService>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { Params } from '@feathersjs/feathers';
|
|
2
1
|
import type { ClientApplication } from '../../client';
|
|
3
2
|
import type { User, UserData, UserPatch, UserQuery, UserService } from './users.class';
|
|
4
3
|
export type { User, UserData, UserPatch, UserQuery };
|
|
5
|
-
|
|
4
|
+
/** Only the public methods (incl. `onboard`) that the client may call */
|
|
5
|
+
export type UserClientService = Pick<UserService, // ← no generics – class is concrete
|
|
6
|
+
(typeof userMethods)[number]>;
|
|
6
7
|
export declare const userPath = "users";
|
|
7
|
-
export declare const userMethods: readonly ["get", "create", "patch", "find", "remove"];
|
|
8
|
+
export declare const userMethods: readonly ["get", "create", "patch", "find", "remove", "onboard"];
|
|
8
9
|
export declare const userClient: (client: ClientApplication) => void;
|
|
9
10
|
declare module '../../client' {
|
|
10
11
|
interface ServiceTypes {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.userClient = exports.userMethods = exports.userPath = void 0;
|
|
4
4
|
exports.userPath = 'users';
|
|
5
|
-
exports.userMethods = ['get', 'create', 'patch', 'find', 'remove'];
|
|
5
|
+
exports.userMethods = ['get', 'create', 'patch', 'find', 'remove', 'onboard'];
|
|
6
6
|
const userClient = (client) => {
|
|
7
7
|
const connection = client.get('connection');
|
|
8
8
|
client.use(exports.userPath, connection.service(exports.userPath), {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptorobot.ai/client",
|
|
3
3
|
"description": "A typed client for the cryptorobot.ai platform",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.39",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cryptocurrency",
|
|
@@ -10,47 +10,14 @@
|
|
|
10
10
|
"high-frequency",
|
|
11
11
|
"hft",
|
|
12
12
|
"crypto",
|
|
13
|
-
"bitcoin"
|
|
14
|
-
"ethereum"
|
|
13
|
+
"bitcoin"
|
|
15
14
|
],
|
|
16
15
|
"contributors": [],
|
|
17
16
|
"bugs": {},
|
|
18
17
|
"engines": {
|
|
19
18
|
"node": ">= 22.0.0"
|
|
20
19
|
},
|
|
21
|
-
"feathers": {
|
|
22
|
-
"language": "ts",
|
|
23
|
-
"packager": "pnpm",
|
|
24
|
-
"database": "mongodb",
|
|
25
|
-
"framework": "koa",
|
|
26
|
-
"transports": [
|
|
27
|
-
"rest",
|
|
28
|
-
"websockets"
|
|
29
|
-
],
|
|
30
|
-
"schema": "typebox"
|
|
31
|
-
},
|
|
32
|
-
"directories": {
|
|
33
|
-
"lib": "src",
|
|
34
|
-
"test": "test",
|
|
35
|
-
"config": "config"
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"lib/src/client.js",
|
|
39
|
-
"lib/src/services/**/*.d.ts",
|
|
40
|
-
"lib/src/**/*.shared.js",
|
|
41
|
-
"!lib/src/hooks/**",
|
|
42
|
-
"!lib/src/helpers/**",
|
|
43
|
-
"!lib/src/mongodb.d.ts"
|
|
44
|
-
],
|
|
45
20
|
"main": "lib/src/client",
|
|
46
|
-
"config": {
|
|
47
|
-
"commitizen": {
|
|
48
|
-
"path": "node_modules/cz-customizable"
|
|
49
|
-
},
|
|
50
|
-
"cz-customizable": {
|
|
51
|
-
"config": ".cz.config.js"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
21
|
"dependencies": {
|
|
55
22
|
"@feathersjs/authentication": "^5.0.21",
|
|
56
23
|
"@feathersjs/authentication-client": "^5.0.21",
|
package/readme.md
CHANGED
|
@@ -1,52 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
# @cryptorobot.ai/client
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
> A backend application for a high-frequency cryptocurrency trading platform
|
|
6
|
-
|
|
7
|
-
## About
|
|
8
|
-
|
|
9
|
-
This project uses [Feathers](http://feathersjs.com). An open source framework for building APIs and real-time applications.
|
|
10
|
-
|
|
11
|
-
## Getting Started
|
|
12
|
-
|
|
13
|
-
1. Make sure you have [NodeJS](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.
|
|
14
|
-
2. Install your dependencies
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
cd path/to/backend
|
|
18
|
-
npm install
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
3. Start your app
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
npm run compile # Compile TypeScript source
|
|
25
|
-
npm start
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Testing
|
|
29
|
-
|
|
30
|
-
Run `npm test` and all your tests in the `test/` directory will be run.
|
|
31
|
-
|
|
32
|
-
## Scaffolding
|
|
33
|
-
|
|
34
|
-
This app comes with a powerful command line interface for Feathers. Here are a few things it can do:
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
$ npx feathers help # Show all commands
|
|
38
|
-
$ npx feathers generate service # Generate a new Service
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Help
|
|
42
|
-
|
|
43
|
-
For more information on all the things you can do with Feathers visit [docs.feathersjs.com](http://docs.feathersjs.com).
|
|
44
|
-
|
|
45
|
-
## Update sensitive information
|
|
46
|
-
|
|
47
|
-
aws ssm put-parameter \
|
|
48
|
-
--name "/cryptorobotai/production-secrets" \
|
|
49
|
-
--type "SecureString" \
|
|
50
|
-
--value '{"project":{"zipcode":"11333"}' \
|
|
51
|
-
--overwrite \
|
|
52
|
-
--region us-east-1
|
|
3
|
+
> A client package for the cryptorobot.ai high-frequency cryptocurrency trading platform
|
package/README.md
DELETED