@jonsoc/convex 1.0.0 → 1.1.49

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.
@@ -1,2033 +0,0 @@
1
- /* eslint-disable */
2
- /**
3
- * Generated `api` utility.
4
- *
5
- * THIS CODE IS AUTOMATICALLY GENERATED.
6
- *
7
- * To regenerate, run `npx convex dev`.
8
- * @module
9
- */
10
-
11
- import type * as auth from "../auth.js";
12
- import type * as healthCheck from "../healthCheck.js";
13
- import type * as http from "../http.js";
14
- import type * as privateData from "../privateData.js";
15
-
16
- import type {
17
- ApiFromModules,
18
- FilterApi,
19
- FunctionReference,
20
- } from "convex/server";
21
-
22
- declare const fullApi: ApiFromModules<{
23
- auth: typeof auth;
24
- healthCheck: typeof healthCheck;
25
- http: typeof http;
26
- privateData: typeof privateData;
27
- }>;
28
-
29
- /**
30
- * A utility for referencing Convex functions in your app's public API.
31
- *
32
- * Usage:
33
- * ```js
34
- * const myFunctionReference = api.myModule.myFunction;
35
- * ```
36
- */
37
- export declare const api: FilterApi<
38
- typeof fullApi,
39
- FunctionReference<any, "public">
40
- >;
41
-
42
- /**
43
- * A utility for referencing Convex functions in your app's internal API.
44
- *
45
- * Usage:
46
- * ```js
47
- * const myFunctionReference = internal.myModule.myFunction;
48
- * ```
49
- */
50
- export declare const internal: FilterApi<
51
- typeof fullApi,
52
- FunctionReference<any, "internal">
53
- >;
54
-
55
- export declare const components: {
56
- betterAuth: {
57
- adapter: {
58
- create: FunctionReference<
59
- "mutation",
60
- "internal",
61
- {
62
- input:
63
- | {
64
- data: {
65
- createdAt: number;
66
- displayUsername?: null | string;
67
- email: string;
68
- emailVerified: boolean;
69
- image?: null | string;
70
- isAnonymous?: null | boolean;
71
- name: string;
72
- phoneNumber?: null | string;
73
- phoneNumberVerified?: null | boolean;
74
- twoFactorEnabled?: null | boolean;
75
- updatedAt: number;
76
- userId?: null | string;
77
- username?: null | string;
78
- };
79
- model: "user";
80
- }
81
- | {
82
- data: {
83
- createdAt: number;
84
- expiresAt: number;
85
- ipAddress?: null | string;
86
- token: string;
87
- updatedAt: number;
88
- userAgent?: null | string;
89
- userId: string;
90
- };
91
- model: "session";
92
- }
93
- | {
94
- data: {
95
- accessToken?: null | string;
96
- accessTokenExpiresAt?: null | number;
97
- accountId: string;
98
- createdAt: number;
99
- idToken?: null | string;
100
- password?: null | string;
101
- providerId: string;
102
- refreshToken?: null | string;
103
- refreshTokenExpiresAt?: null | number;
104
- scope?: null | string;
105
- updatedAt: number;
106
- userId: string;
107
- };
108
- model: "account";
109
- }
110
- | {
111
- data: {
112
- createdAt: number;
113
- expiresAt: number;
114
- identifier: string;
115
- updatedAt: number;
116
- value: string;
117
- };
118
- model: "verification";
119
- }
120
- | {
121
- data: { backupCodes: string; secret: string; userId: string };
122
- model: "twoFactor";
123
- }
124
- | {
125
- data: {
126
- aaguid?: null | string;
127
- backedUp: boolean;
128
- counter: number;
129
- createdAt?: null | number;
130
- credentialID: string;
131
- deviceType: string;
132
- name?: null | string;
133
- publicKey: string;
134
- transports?: null | string;
135
- userId: string;
136
- };
137
- model: "passkey";
138
- }
139
- | {
140
- data: {
141
- clientId?: null | string;
142
- clientSecret?: null | string;
143
- createdAt?: null | number;
144
- disabled?: null | boolean;
145
- icon?: null | string;
146
- metadata?: null | string;
147
- name?: null | string;
148
- redirectURLs?: null | string;
149
- type?: null | string;
150
- updatedAt?: null | number;
151
- userId?: null | string;
152
- };
153
- model: "oauthApplication";
154
- }
155
- | {
156
- data: {
157
- accessToken?: null | string;
158
- accessTokenExpiresAt?: null | number;
159
- clientId?: null | string;
160
- createdAt?: null | number;
161
- refreshToken?: null | string;
162
- refreshTokenExpiresAt?: null | number;
163
- scopes?: null | string;
164
- updatedAt?: null | number;
165
- userId?: null | string;
166
- };
167
- model: "oauthAccessToken";
168
- }
169
- | {
170
- data: {
171
- clientId?: null | string;
172
- consentGiven?: null | boolean;
173
- createdAt?: null | number;
174
- scopes?: null | string;
175
- updatedAt?: null | number;
176
- userId?: null | string;
177
- };
178
- model: "oauthConsent";
179
- }
180
- | {
181
- data: {
182
- createdAt: number;
183
- privateKey: string;
184
- publicKey: string;
185
- };
186
- model: "jwks";
187
- }
188
- | {
189
- data: {
190
- count?: null | number;
191
- key?: null | string;
192
- lastRequest?: null | number;
193
- };
194
- model: "rateLimit";
195
- };
196
- onCreateHandle?: string;
197
- select?: Array<string>;
198
- },
199
- any
200
- >;
201
- deleteMany: FunctionReference<
202
- "mutation",
203
- "internal",
204
- {
205
- input:
206
- | {
207
- model: "user";
208
- where?: Array<{
209
- connector?: "AND" | "OR";
210
- field:
211
- | "name"
212
- | "email"
213
- | "emailVerified"
214
- | "image"
215
- | "createdAt"
216
- | "updatedAt"
217
- | "twoFactorEnabled"
218
- | "isAnonymous"
219
- | "username"
220
- | "displayUsername"
221
- | "phoneNumber"
222
- | "phoneNumberVerified"
223
- | "userId"
224
- | "_id";
225
- operator?:
226
- | "lt"
227
- | "lte"
228
- | "gt"
229
- | "gte"
230
- | "eq"
231
- | "in"
232
- | "not_in"
233
- | "ne"
234
- | "contains"
235
- | "starts_with"
236
- | "ends_with";
237
- value:
238
- | string
239
- | number
240
- | boolean
241
- | Array<string>
242
- | Array<number>
243
- | null;
244
- }>;
245
- }
246
- | {
247
- model: "session";
248
- where?: Array<{
249
- connector?: "AND" | "OR";
250
- field:
251
- | "expiresAt"
252
- | "token"
253
- | "createdAt"
254
- | "updatedAt"
255
- | "ipAddress"
256
- | "userAgent"
257
- | "userId"
258
- | "_id";
259
- operator?:
260
- | "lt"
261
- | "lte"
262
- | "gt"
263
- | "gte"
264
- | "eq"
265
- | "in"
266
- | "not_in"
267
- | "ne"
268
- | "contains"
269
- | "starts_with"
270
- | "ends_with";
271
- value:
272
- | string
273
- | number
274
- | boolean
275
- | Array<string>
276
- | Array<number>
277
- | null;
278
- }>;
279
- }
280
- | {
281
- model: "account";
282
- where?: Array<{
283
- connector?: "AND" | "OR";
284
- field:
285
- | "accountId"
286
- | "providerId"
287
- | "userId"
288
- | "accessToken"
289
- | "refreshToken"
290
- | "idToken"
291
- | "accessTokenExpiresAt"
292
- | "refreshTokenExpiresAt"
293
- | "scope"
294
- | "password"
295
- | "createdAt"
296
- | "updatedAt"
297
- | "_id";
298
- operator?:
299
- | "lt"
300
- | "lte"
301
- | "gt"
302
- | "gte"
303
- | "eq"
304
- | "in"
305
- | "not_in"
306
- | "ne"
307
- | "contains"
308
- | "starts_with"
309
- | "ends_with";
310
- value:
311
- | string
312
- | number
313
- | boolean
314
- | Array<string>
315
- | Array<number>
316
- | null;
317
- }>;
318
- }
319
- | {
320
- model: "verification";
321
- where?: Array<{
322
- connector?: "AND" | "OR";
323
- field:
324
- | "identifier"
325
- | "value"
326
- | "expiresAt"
327
- | "createdAt"
328
- | "updatedAt"
329
- | "_id";
330
- operator?:
331
- | "lt"
332
- | "lte"
333
- | "gt"
334
- | "gte"
335
- | "eq"
336
- | "in"
337
- | "not_in"
338
- | "ne"
339
- | "contains"
340
- | "starts_with"
341
- | "ends_with";
342
- value:
343
- | string
344
- | number
345
- | boolean
346
- | Array<string>
347
- | Array<number>
348
- | null;
349
- }>;
350
- }
351
- | {
352
- model: "twoFactor";
353
- where?: Array<{
354
- connector?: "AND" | "OR";
355
- field: "secret" | "backupCodes" | "userId" | "_id";
356
- operator?:
357
- | "lt"
358
- | "lte"
359
- | "gt"
360
- | "gte"
361
- | "eq"
362
- | "in"
363
- | "not_in"
364
- | "ne"
365
- | "contains"
366
- | "starts_with"
367
- | "ends_with";
368
- value:
369
- | string
370
- | number
371
- | boolean
372
- | Array<string>
373
- | Array<number>
374
- | null;
375
- }>;
376
- }
377
- | {
378
- model: "passkey";
379
- where?: Array<{
380
- connector?: "AND" | "OR";
381
- field:
382
- | "name"
383
- | "publicKey"
384
- | "userId"
385
- | "credentialID"
386
- | "counter"
387
- | "deviceType"
388
- | "backedUp"
389
- | "transports"
390
- | "createdAt"
391
- | "aaguid"
392
- | "_id";
393
- operator?:
394
- | "lt"
395
- | "lte"
396
- | "gt"
397
- | "gte"
398
- | "eq"
399
- | "in"
400
- | "not_in"
401
- | "ne"
402
- | "contains"
403
- | "starts_with"
404
- | "ends_with";
405
- value:
406
- | string
407
- | number
408
- | boolean
409
- | Array<string>
410
- | Array<number>
411
- | null;
412
- }>;
413
- }
414
- | {
415
- model: "oauthApplication";
416
- where?: Array<{
417
- connector?: "AND" | "OR";
418
- field:
419
- | "name"
420
- | "icon"
421
- | "metadata"
422
- | "clientId"
423
- | "clientSecret"
424
- | "redirectURLs"
425
- | "type"
426
- | "disabled"
427
- | "userId"
428
- | "createdAt"
429
- | "updatedAt"
430
- | "_id";
431
- operator?:
432
- | "lt"
433
- | "lte"
434
- | "gt"
435
- | "gte"
436
- | "eq"
437
- | "in"
438
- | "not_in"
439
- | "ne"
440
- | "contains"
441
- | "starts_with"
442
- | "ends_with";
443
- value:
444
- | string
445
- | number
446
- | boolean
447
- | Array<string>
448
- | Array<number>
449
- | null;
450
- }>;
451
- }
452
- | {
453
- model: "oauthAccessToken";
454
- where?: Array<{
455
- connector?: "AND" | "OR";
456
- field:
457
- | "accessToken"
458
- | "refreshToken"
459
- | "accessTokenExpiresAt"
460
- | "refreshTokenExpiresAt"
461
- | "clientId"
462
- | "userId"
463
- | "scopes"
464
- | "createdAt"
465
- | "updatedAt"
466
- | "_id";
467
- operator?:
468
- | "lt"
469
- | "lte"
470
- | "gt"
471
- | "gte"
472
- | "eq"
473
- | "in"
474
- | "not_in"
475
- | "ne"
476
- | "contains"
477
- | "starts_with"
478
- | "ends_with";
479
- value:
480
- | string
481
- | number
482
- | boolean
483
- | Array<string>
484
- | Array<number>
485
- | null;
486
- }>;
487
- }
488
- | {
489
- model: "oauthConsent";
490
- where?: Array<{
491
- connector?: "AND" | "OR";
492
- field:
493
- | "clientId"
494
- | "userId"
495
- | "scopes"
496
- | "createdAt"
497
- | "updatedAt"
498
- | "consentGiven"
499
- | "_id";
500
- operator?:
501
- | "lt"
502
- | "lte"
503
- | "gt"
504
- | "gte"
505
- | "eq"
506
- | "in"
507
- | "not_in"
508
- | "ne"
509
- | "contains"
510
- | "starts_with"
511
- | "ends_with";
512
- value:
513
- | string
514
- | number
515
- | boolean
516
- | Array<string>
517
- | Array<number>
518
- | null;
519
- }>;
520
- }
521
- | {
522
- model: "jwks";
523
- where?: Array<{
524
- connector?: "AND" | "OR";
525
- field: "publicKey" | "privateKey" | "createdAt" | "_id";
526
- operator?:
527
- | "lt"
528
- | "lte"
529
- | "gt"
530
- | "gte"
531
- | "eq"
532
- | "in"
533
- | "not_in"
534
- | "ne"
535
- | "contains"
536
- | "starts_with"
537
- | "ends_with";
538
- value:
539
- | string
540
- | number
541
- | boolean
542
- | Array<string>
543
- | Array<number>
544
- | null;
545
- }>;
546
- }
547
- | {
548
- model: "rateLimit";
549
- where?: Array<{
550
- connector?: "AND" | "OR";
551
- field: "key" | "count" | "lastRequest" | "_id";
552
- operator?:
553
- | "lt"
554
- | "lte"
555
- | "gt"
556
- | "gte"
557
- | "eq"
558
- | "in"
559
- | "not_in"
560
- | "ne"
561
- | "contains"
562
- | "starts_with"
563
- | "ends_with";
564
- value:
565
- | string
566
- | number
567
- | boolean
568
- | Array<string>
569
- | Array<number>
570
- | null;
571
- }>;
572
- };
573
- onDeleteHandle?: string;
574
- paginationOpts: {
575
- cursor: string | null;
576
- endCursor?: string | null;
577
- id?: number;
578
- maximumBytesRead?: number;
579
- maximumRowsRead?: number;
580
- numItems: number;
581
- };
582
- },
583
- any
584
- >;
585
- deleteOne: FunctionReference<
586
- "mutation",
587
- "internal",
588
- {
589
- input:
590
- | {
591
- model: "user";
592
- where?: Array<{
593
- connector?: "AND" | "OR";
594
- field:
595
- | "name"
596
- | "email"
597
- | "emailVerified"
598
- | "image"
599
- | "createdAt"
600
- | "updatedAt"
601
- | "twoFactorEnabled"
602
- | "isAnonymous"
603
- | "username"
604
- | "displayUsername"
605
- | "phoneNumber"
606
- | "phoneNumberVerified"
607
- | "userId"
608
- | "_id";
609
- operator?:
610
- | "lt"
611
- | "lte"
612
- | "gt"
613
- | "gte"
614
- | "eq"
615
- | "in"
616
- | "not_in"
617
- | "ne"
618
- | "contains"
619
- | "starts_with"
620
- | "ends_with";
621
- value:
622
- | string
623
- | number
624
- | boolean
625
- | Array<string>
626
- | Array<number>
627
- | null;
628
- }>;
629
- }
630
- | {
631
- model: "session";
632
- where?: Array<{
633
- connector?: "AND" | "OR";
634
- field:
635
- | "expiresAt"
636
- | "token"
637
- | "createdAt"
638
- | "updatedAt"
639
- | "ipAddress"
640
- | "userAgent"
641
- | "userId"
642
- | "_id";
643
- operator?:
644
- | "lt"
645
- | "lte"
646
- | "gt"
647
- | "gte"
648
- | "eq"
649
- | "in"
650
- | "not_in"
651
- | "ne"
652
- | "contains"
653
- | "starts_with"
654
- | "ends_with";
655
- value:
656
- | string
657
- | number
658
- | boolean
659
- | Array<string>
660
- | Array<number>
661
- | null;
662
- }>;
663
- }
664
- | {
665
- model: "account";
666
- where?: Array<{
667
- connector?: "AND" | "OR";
668
- field:
669
- | "accountId"
670
- | "providerId"
671
- | "userId"
672
- | "accessToken"
673
- | "refreshToken"
674
- | "idToken"
675
- | "accessTokenExpiresAt"
676
- | "refreshTokenExpiresAt"
677
- | "scope"
678
- | "password"
679
- | "createdAt"
680
- | "updatedAt"
681
- | "_id";
682
- operator?:
683
- | "lt"
684
- | "lte"
685
- | "gt"
686
- | "gte"
687
- | "eq"
688
- | "in"
689
- | "not_in"
690
- | "ne"
691
- | "contains"
692
- | "starts_with"
693
- | "ends_with";
694
- value:
695
- | string
696
- | number
697
- | boolean
698
- | Array<string>
699
- | Array<number>
700
- | null;
701
- }>;
702
- }
703
- | {
704
- model: "verification";
705
- where?: Array<{
706
- connector?: "AND" | "OR";
707
- field:
708
- | "identifier"
709
- | "value"
710
- | "expiresAt"
711
- | "createdAt"
712
- | "updatedAt"
713
- | "_id";
714
- operator?:
715
- | "lt"
716
- | "lte"
717
- | "gt"
718
- | "gte"
719
- | "eq"
720
- | "in"
721
- | "not_in"
722
- | "ne"
723
- | "contains"
724
- | "starts_with"
725
- | "ends_with";
726
- value:
727
- | string
728
- | number
729
- | boolean
730
- | Array<string>
731
- | Array<number>
732
- | null;
733
- }>;
734
- }
735
- | {
736
- model: "twoFactor";
737
- where?: Array<{
738
- connector?: "AND" | "OR";
739
- field: "secret" | "backupCodes" | "userId" | "_id";
740
- operator?:
741
- | "lt"
742
- | "lte"
743
- | "gt"
744
- | "gte"
745
- | "eq"
746
- | "in"
747
- | "not_in"
748
- | "ne"
749
- | "contains"
750
- | "starts_with"
751
- | "ends_with";
752
- value:
753
- | string
754
- | number
755
- | boolean
756
- | Array<string>
757
- | Array<number>
758
- | null;
759
- }>;
760
- }
761
- | {
762
- model: "passkey";
763
- where?: Array<{
764
- connector?: "AND" | "OR";
765
- field:
766
- | "name"
767
- | "publicKey"
768
- | "userId"
769
- | "credentialID"
770
- | "counter"
771
- | "deviceType"
772
- | "backedUp"
773
- | "transports"
774
- | "createdAt"
775
- | "aaguid"
776
- | "_id";
777
- operator?:
778
- | "lt"
779
- | "lte"
780
- | "gt"
781
- | "gte"
782
- | "eq"
783
- | "in"
784
- | "not_in"
785
- | "ne"
786
- | "contains"
787
- | "starts_with"
788
- | "ends_with";
789
- value:
790
- | string
791
- | number
792
- | boolean
793
- | Array<string>
794
- | Array<number>
795
- | null;
796
- }>;
797
- }
798
- | {
799
- model: "oauthApplication";
800
- where?: Array<{
801
- connector?: "AND" | "OR";
802
- field:
803
- | "name"
804
- | "icon"
805
- | "metadata"
806
- | "clientId"
807
- | "clientSecret"
808
- | "redirectURLs"
809
- | "type"
810
- | "disabled"
811
- | "userId"
812
- | "createdAt"
813
- | "updatedAt"
814
- | "_id";
815
- operator?:
816
- | "lt"
817
- | "lte"
818
- | "gt"
819
- | "gte"
820
- | "eq"
821
- | "in"
822
- | "not_in"
823
- | "ne"
824
- | "contains"
825
- | "starts_with"
826
- | "ends_with";
827
- value:
828
- | string
829
- | number
830
- | boolean
831
- | Array<string>
832
- | Array<number>
833
- | null;
834
- }>;
835
- }
836
- | {
837
- model: "oauthAccessToken";
838
- where?: Array<{
839
- connector?: "AND" | "OR";
840
- field:
841
- | "accessToken"
842
- | "refreshToken"
843
- | "accessTokenExpiresAt"
844
- | "refreshTokenExpiresAt"
845
- | "clientId"
846
- | "userId"
847
- | "scopes"
848
- | "createdAt"
849
- | "updatedAt"
850
- | "_id";
851
- operator?:
852
- | "lt"
853
- | "lte"
854
- | "gt"
855
- | "gte"
856
- | "eq"
857
- | "in"
858
- | "not_in"
859
- | "ne"
860
- | "contains"
861
- | "starts_with"
862
- | "ends_with";
863
- value:
864
- | string
865
- | number
866
- | boolean
867
- | Array<string>
868
- | Array<number>
869
- | null;
870
- }>;
871
- }
872
- | {
873
- model: "oauthConsent";
874
- where?: Array<{
875
- connector?: "AND" | "OR";
876
- field:
877
- | "clientId"
878
- | "userId"
879
- | "scopes"
880
- | "createdAt"
881
- | "updatedAt"
882
- | "consentGiven"
883
- | "_id";
884
- operator?:
885
- | "lt"
886
- | "lte"
887
- | "gt"
888
- | "gte"
889
- | "eq"
890
- | "in"
891
- | "not_in"
892
- | "ne"
893
- | "contains"
894
- | "starts_with"
895
- | "ends_with";
896
- value:
897
- | string
898
- | number
899
- | boolean
900
- | Array<string>
901
- | Array<number>
902
- | null;
903
- }>;
904
- }
905
- | {
906
- model: "jwks";
907
- where?: Array<{
908
- connector?: "AND" | "OR";
909
- field: "publicKey" | "privateKey" | "createdAt" | "_id";
910
- operator?:
911
- | "lt"
912
- | "lte"
913
- | "gt"
914
- | "gte"
915
- | "eq"
916
- | "in"
917
- | "not_in"
918
- | "ne"
919
- | "contains"
920
- | "starts_with"
921
- | "ends_with";
922
- value:
923
- | string
924
- | number
925
- | boolean
926
- | Array<string>
927
- | Array<number>
928
- | null;
929
- }>;
930
- }
931
- | {
932
- model: "rateLimit";
933
- where?: Array<{
934
- connector?: "AND" | "OR";
935
- field: "key" | "count" | "lastRequest" | "_id";
936
- operator?:
937
- | "lt"
938
- | "lte"
939
- | "gt"
940
- | "gte"
941
- | "eq"
942
- | "in"
943
- | "not_in"
944
- | "ne"
945
- | "contains"
946
- | "starts_with"
947
- | "ends_with";
948
- value:
949
- | string
950
- | number
951
- | boolean
952
- | Array<string>
953
- | Array<number>
954
- | null;
955
- }>;
956
- };
957
- onDeleteHandle?: string;
958
- },
959
- any
960
- >;
961
- findMany: FunctionReference<
962
- "query",
963
- "internal",
964
- {
965
- join?: any;
966
- limit?: number;
967
- model:
968
- | "user"
969
- | "session"
970
- | "account"
971
- | "verification"
972
- | "twoFactor"
973
- | "passkey"
974
- | "oauthApplication"
975
- | "oauthAccessToken"
976
- | "oauthConsent"
977
- | "jwks"
978
- | "rateLimit";
979
- offset?: number;
980
- paginationOpts: {
981
- cursor: string | null;
982
- endCursor?: string | null;
983
- id?: number;
984
- maximumBytesRead?: number;
985
- maximumRowsRead?: number;
986
- numItems: number;
987
- };
988
- sortBy?: { direction: "asc" | "desc"; field: string };
989
- where?: Array<{
990
- connector?: "AND" | "OR";
991
- field: string;
992
- operator?:
993
- | "lt"
994
- | "lte"
995
- | "gt"
996
- | "gte"
997
- | "eq"
998
- | "in"
999
- | "not_in"
1000
- | "ne"
1001
- | "contains"
1002
- | "starts_with"
1003
- | "ends_with";
1004
- value:
1005
- | string
1006
- | number
1007
- | boolean
1008
- | Array<string>
1009
- | Array<number>
1010
- | null;
1011
- }>;
1012
- },
1013
- any
1014
- >;
1015
- findOne: FunctionReference<
1016
- "query",
1017
- "internal",
1018
- {
1019
- join?: any;
1020
- model:
1021
- | "user"
1022
- | "session"
1023
- | "account"
1024
- | "verification"
1025
- | "twoFactor"
1026
- | "passkey"
1027
- | "oauthApplication"
1028
- | "oauthAccessToken"
1029
- | "oauthConsent"
1030
- | "jwks"
1031
- | "rateLimit";
1032
- select?: Array<string>;
1033
- where?: Array<{
1034
- connector?: "AND" | "OR";
1035
- field: string;
1036
- operator?:
1037
- | "lt"
1038
- | "lte"
1039
- | "gt"
1040
- | "gte"
1041
- | "eq"
1042
- | "in"
1043
- | "not_in"
1044
- | "ne"
1045
- | "contains"
1046
- | "starts_with"
1047
- | "ends_with";
1048
- value:
1049
- | string
1050
- | number
1051
- | boolean
1052
- | Array<string>
1053
- | Array<number>
1054
- | null;
1055
- }>;
1056
- },
1057
- any
1058
- >;
1059
- updateMany: FunctionReference<
1060
- "mutation",
1061
- "internal",
1062
- {
1063
- input:
1064
- | {
1065
- model: "user";
1066
- update: {
1067
- createdAt?: number;
1068
- displayUsername?: null | string;
1069
- email?: string;
1070
- emailVerified?: boolean;
1071
- image?: null | string;
1072
- isAnonymous?: null | boolean;
1073
- name?: string;
1074
- phoneNumber?: null | string;
1075
- phoneNumberVerified?: null | boolean;
1076
- twoFactorEnabled?: null | boolean;
1077
- updatedAt?: number;
1078
- userId?: null | string;
1079
- username?: null | string;
1080
- };
1081
- where?: Array<{
1082
- connector?: "AND" | "OR";
1083
- field:
1084
- | "name"
1085
- | "email"
1086
- | "emailVerified"
1087
- | "image"
1088
- | "createdAt"
1089
- | "updatedAt"
1090
- | "twoFactorEnabled"
1091
- | "isAnonymous"
1092
- | "username"
1093
- | "displayUsername"
1094
- | "phoneNumber"
1095
- | "phoneNumberVerified"
1096
- | "userId"
1097
- | "_id";
1098
- operator?:
1099
- | "lt"
1100
- | "lte"
1101
- | "gt"
1102
- | "gte"
1103
- | "eq"
1104
- | "in"
1105
- | "not_in"
1106
- | "ne"
1107
- | "contains"
1108
- | "starts_with"
1109
- | "ends_with";
1110
- value:
1111
- | string
1112
- | number
1113
- | boolean
1114
- | Array<string>
1115
- | Array<number>
1116
- | null;
1117
- }>;
1118
- }
1119
- | {
1120
- model: "session";
1121
- update: {
1122
- createdAt?: number;
1123
- expiresAt?: number;
1124
- ipAddress?: null | string;
1125
- token?: string;
1126
- updatedAt?: number;
1127
- userAgent?: null | string;
1128
- userId?: string;
1129
- };
1130
- where?: Array<{
1131
- connector?: "AND" | "OR";
1132
- field:
1133
- | "expiresAt"
1134
- | "token"
1135
- | "createdAt"
1136
- | "updatedAt"
1137
- | "ipAddress"
1138
- | "userAgent"
1139
- | "userId"
1140
- | "_id";
1141
- operator?:
1142
- | "lt"
1143
- | "lte"
1144
- | "gt"
1145
- | "gte"
1146
- | "eq"
1147
- | "in"
1148
- | "not_in"
1149
- | "ne"
1150
- | "contains"
1151
- | "starts_with"
1152
- | "ends_with";
1153
- value:
1154
- | string
1155
- | number
1156
- | boolean
1157
- | Array<string>
1158
- | Array<number>
1159
- | null;
1160
- }>;
1161
- }
1162
- | {
1163
- model: "account";
1164
- update: {
1165
- accessToken?: null | string;
1166
- accessTokenExpiresAt?: null | number;
1167
- accountId?: string;
1168
- createdAt?: number;
1169
- idToken?: null | string;
1170
- password?: null | string;
1171
- providerId?: string;
1172
- refreshToken?: null | string;
1173
- refreshTokenExpiresAt?: null | number;
1174
- scope?: null | string;
1175
- updatedAt?: number;
1176
- userId?: string;
1177
- };
1178
- where?: Array<{
1179
- connector?: "AND" | "OR";
1180
- field:
1181
- | "accountId"
1182
- | "providerId"
1183
- | "userId"
1184
- | "accessToken"
1185
- | "refreshToken"
1186
- | "idToken"
1187
- | "accessTokenExpiresAt"
1188
- | "refreshTokenExpiresAt"
1189
- | "scope"
1190
- | "password"
1191
- | "createdAt"
1192
- | "updatedAt"
1193
- | "_id";
1194
- operator?:
1195
- | "lt"
1196
- | "lte"
1197
- | "gt"
1198
- | "gte"
1199
- | "eq"
1200
- | "in"
1201
- | "not_in"
1202
- | "ne"
1203
- | "contains"
1204
- | "starts_with"
1205
- | "ends_with";
1206
- value:
1207
- | string
1208
- | number
1209
- | boolean
1210
- | Array<string>
1211
- | Array<number>
1212
- | null;
1213
- }>;
1214
- }
1215
- | {
1216
- model: "verification";
1217
- update: {
1218
- createdAt?: number;
1219
- expiresAt?: number;
1220
- identifier?: string;
1221
- updatedAt?: number;
1222
- value?: string;
1223
- };
1224
- where?: Array<{
1225
- connector?: "AND" | "OR";
1226
- field:
1227
- | "identifier"
1228
- | "value"
1229
- | "expiresAt"
1230
- | "createdAt"
1231
- | "updatedAt"
1232
- | "_id";
1233
- operator?:
1234
- | "lt"
1235
- | "lte"
1236
- | "gt"
1237
- | "gte"
1238
- | "eq"
1239
- | "in"
1240
- | "not_in"
1241
- | "ne"
1242
- | "contains"
1243
- | "starts_with"
1244
- | "ends_with";
1245
- value:
1246
- | string
1247
- | number
1248
- | boolean
1249
- | Array<string>
1250
- | Array<number>
1251
- | null;
1252
- }>;
1253
- }
1254
- | {
1255
- model: "twoFactor";
1256
- update: {
1257
- backupCodes?: string;
1258
- secret?: string;
1259
- userId?: string;
1260
- };
1261
- where?: Array<{
1262
- connector?: "AND" | "OR";
1263
- field: "secret" | "backupCodes" | "userId" | "_id";
1264
- operator?:
1265
- | "lt"
1266
- | "lte"
1267
- | "gt"
1268
- | "gte"
1269
- | "eq"
1270
- | "in"
1271
- | "not_in"
1272
- | "ne"
1273
- | "contains"
1274
- | "starts_with"
1275
- | "ends_with";
1276
- value:
1277
- | string
1278
- | number
1279
- | boolean
1280
- | Array<string>
1281
- | Array<number>
1282
- | null;
1283
- }>;
1284
- }
1285
- | {
1286
- model: "passkey";
1287
- update: {
1288
- aaguid?: null | string;
1289
- backedUp?: boolean;
1290
- counter?: number;
1291
- createdAt?: null | number;
1292
- credentialID?: string;
1293
- deviceType?: string;
1294
- name?: null | string;
1295
- publicKey?: string;
1296
- transports?: null | string;
1297
- userId?: string;
1298
- };
1299
- where?: Array<{
1300
- connector?: "AND" | "OR";
1301
- field:
1302
- | "name"
1303
- | "publicKey"
1304
- | "userId"
1305
- | "credentialID"
1306
- | "counter"
1307
- | "deviceType"
1308
- | "backedUp"
1309
- | "transports"
1310
- | "createdAt"
1311
- | "aaguid"
1312
- | "_id";
1313
- operator?:
1314
- | "lt"
1315
- | "lte"
1316
- | "gt"
1317
- | "gte"
1318
- | "eq"
1319
- | "in"
1320
- | "not_in"
1321
- | "ne"
1322
- | "contains"
1323
- | "starts_with"
1324
- | "ends_with";
1325
- value:
1326
- | string
1327
- | number
1328
- | boolean
1329
- | Array<string>
1330
- | Array<number>
1331
- | null;
1332
- }>;
1333
- }
1334
- | {
1335
- model: "oauthApplication";
1336
- update: {
1337
- clientId?: null | string;
1338
- clientSecret?: null | string;
1339
- createdAt?: null | number;
1340
- disabled?: null | boolean;
1341
- icon?: null | string;
1342
- metadata?: null | string;
1343
- name?: null | string;
1344
- redirectURLs?: null | string;
1345
- type?: null | string;
1346
- updatedAt?: null | number;
1347
- userId?: null | string;
1348
- };
1349
- where?: Array<{
1350
- connector?: "AND" | "OR";
1351
- field:
1352
- | "name"
1353
- | "icon"
1354
- | "metadata"
1355
- | "clientId"
1356
- | "clientSecret"
1357
- | "redirectURLs"
1358
- | "type"
1359
- | "disabled"
1360
- | "userId"
1361
- | "createdAt"
1362
- | "updatedAt"
1363
- | "_id";
1364
- operator?:
1365
- | "lt"
1366
- | "lte"
1367
- | "gt"
1368
- | "gte"
1369
- | "eq"
1370
- | "in"
1371
- | "not_in"
1372
- | "ne"
1373
- | "contains"
1374
- | "starts_with"
1375
- | "ends_with";
1376
- value:
1377
- | string
1378
- | number
1379
- | boolean
1380
- | Array<string>
1381
- | Array<number>
1382
- | null;
1383
- }>;
1384
- }
1385
- | {
1386
- model: "oauthAccessToken";
1387
- update: {
1388
- accessToken?: null | string;
1389
- accessTokenExpiresAt?: null | number;
1390
- clientId?: null | string;
1391
- createdAt?: null | number;
1392
- refreshToken?: null | string;
1393
- refreshTokenExpiresAt?: null | number;
1394
- scopes?: null | string;
1395
- updatedAt?: null | number;
1396
- userId?: null | string;
1397
- };
1398
- where?: Array<{
1399
- connector?: "AND" | "OR";
1400
- field:
1401
- | "accessToken"
1402
- | "refreshToken"
1403
- | "accessTokenExpiresAt"
1404
- | "refreshTokenExpiresAt"
1405
- | "clientId"
1406
- | "userId"
1407
- | "scopes"
1408
- | "createdAt"
1409
- | "updatedAt"
1410
- | "_id";
1411
- operator?:
1412
- | "lt"
1413
- | "lte"
1414
- | "gt"
1415
- | "gte"
1416
- | "eq"
1417
- | "in"
1418
- | "not_in"
1419
- | "ne"
1420
- | "contains"
1421
- | "starts_with"
1422
- | "ends_with";
1423
- value:
1424
- | string
1425
- | number
1426
- | boolean
1427
- | Array<string>
1428
- | Array<number>
1429
- | null;
1430
- }>;
1431
- }
1432
- | {
1433
- model: "oauthConsent";
1434
- update: {
1435
- clientId?: null | string;
1436
- consentGiven?: null | boolean;
1437
- createdAt?: null | number;
1438
- scopes?: null | string;
1439
- updatedAt?: null | number;
1440
- userId?: null | string;
1441
- };
1442
- where?: Array<{
1443
- connector?: "AND" | "OR";
1444
- field:
1445
- | "clientId"
1446
- | "userId"
1447
- | "scopes"
1448
- | "createdAt"
1449
- | "updatedAt"
1450
- | "consentGiven"
1451
- | "_id";
1452
- operator?:
1453
- | "lt"
1454
- | "lte"
1455
- | "gt"
1456
- | "gte"
1457
- | "eq"
1458
- | "in"
1459
- | "not_in"
1460
- | "ne"
1461
- | "contains"
1462
- | "starts_with"
1463
- | "ends_with";
1464
- value:
1465
- | string
1466
- | number
1467
- | boolean
1468
- | Array<string>
1469
- | Array<number>
1470
- | null;
1471
- }>;
1472
- }
1473
- | {
1474
- model: "jwks";
1475
- update: {
1476
- createdAt?: number;
1477
- privateKey?: string;
1478
- publicKey?: string;
1479
- };
1480
- where?: Array<{
1481
- connector?: "AND" | "OR";
1482
- field: "publicKey" | "privateKey" | "createdAt" | "_id";
1483
- operator?:
1484
- | "lt"
1485
- | "lte"
1486
- | "gt"
1487
- | "gte"
1488
- | "eq"
1489
- | "in"
1490
- | "not_in"
1491
- | "ne"
1492
- | "contains"
1493
- | "starts_with"
1494
- | "ends_with";
1495
- value:
1496
- | string
1497
- | number
1498
- | boolean
1499
- | Array<string>
1500
- | Array<number>
1501
- | null;
1502
- }>;
1503
- }
1504
- | {
1505
- model: "rateLimit";
1506
- update: {
1507
- count?: null | number;
1508
- key?: null | string;
1509
- lastRequest?: null | number;
1510
- };
1511
- where?: Array<{
1512
- connector?: "AND" | "OR";
1513
- field: "key" | "count" | "lastRequest" | "_id";
1514
- operator?:
1515
- | "lt"
1516
- | "lte"
1517
- | "gt"
1518
- | "gte"
1519
- | "eq"
1520
- | "in"
1521
- | "not_in"
1522
- | "ne"
1523
- | "contains"
1524
- | "starts_with"
1525
- | "ends_with";
1526
- value:
1527
- | string
1528
- | number
1529
- | boolean
1530
- | Array<string>
1531
- | Array<number>
1532
- | null;
1533
- }>;
1534
- };
1535
- onUpdateHandle?: string;
1536
- paginationOpts: {
1537
- cursor: string | null;
1538
- endCursor?: string | null;
1539
- id?: number;
1540
- maximumBytesRead?: number;
1541
- maximumRowsRead?: number;
1542
- numItems: number;
1543
- };
1544
- },
1545
- any
1546
- >;
1547
- updateOne: FunctionReference<
1548
- "mutation",
1549
- "internal",
1550
- {
1551
- input:
1552
- | {
1553
- model: "user";
1554
- update: {
1555
- createdAt?: number;
1556
- displayUsername?: null | string;
1557
- email?: string;
1558
- emailVerified?: boolean;
1559
- image?: null | string;
1560
- isAnonymous?: null | boolean;
1561
- name?: string;
1562
- phoneNumber?: null | string;
1563
- phoneNumberVerified?: null | boolean;
1564
- twoFactorEnabled?: null | boolean;
1565
- updatedAt?: number;
1566
- userId?: null | string;
1567
- username?: null | string;
1568
- };
1569
- where?: Array<{
1570
- connector?: "AND" | "OR";
1571
- field:
1572
- | "name"
1573
- | "email"
1574
- | "emailVerified"
1575
- | "image"
1576
- | "createdAt"
1577
- | "updatedAt"
1578
- | "twoFactorEnabled"
1579
- | "isAnonymous"
1580
- | "username"
1581
- | "displayUsername"
1582
- | "phoneNumber"
1583
- | "phoneNumberVerified"
1584
- | "userId"
1585
- | "_id";
1586
- operator?:
1587
- | "lt"
1588
- | "lte"
1589
- | "gt"
1590
- | "gte"
1591
- | "eq"
1592
- | "in"
1593
- | "not_in"
1594
- | "ne"
1595
- | "contains"
1596
- | "starts_with"
1597
- | "ends_with";
1598
- value:
1599
- | string
1600
- | number
1601
- | boolean
1602
- | Array<string>
1603
- | Array<number>
1604
- | null;
1605
- }>;
1606
- }
1607
- | {
1608
- model: "session";
1609
- update: {
1610
- createdAt?: number;
1611
- expiresAt?: number;
1612
- ipAddress?: null | string;
1613
- token?: string;
1614
- updatedAt?: number;
1615
- userAgent?: null | string;
1616
- userId?: string;
1617
- };
1618
- where?: Array<{
1619
- connector?: "AND" | "OR";
1620
- field:
1621
- | "expiresAt"
1622
- | "token"
1623
- | "createdAt"
1624
- | "updatedAt"
1625
- | "ipAddress"
1626
- | "userAgent"
1627
- | "userId"
1628
- | "_id";
1629
- operator?:
1630
- | "lt"
1631
- | "lte"
1632
- | "gt"
1633
- | "gte"
1634
- | "eq"
1635
- | "in"
1636
- | "not_in"
1637
- | "ne"
1638
- | "contains"
1639
- | "starts_with"
1640
- | "ends_with";
1641
- value:
1642
- | string
1643
- | number
1644
- | boolean
1645
- | Array<string>
1646
- | Array<number>
1647
- | null;
1648
- }>;
1649
- }
1650
- | {
1651
- model: "account";
1652
- update: {
1653
- accessToken?: null | string;
1654
- accessTokenExpiresAt?: null | number;
1655
- accountId?: string;
1656
- createdAt?: number;
1657
- idToken?: null | string;
1658
- password?: null | string;
1659
- providerId?: string;
1660
- refreshToken?: null | string;
1661
- refreshTokenExpiresAt?: null | number;
1662
- scope?: null | string;
1663
- updatedAt?: number;
1664
- userId?: string;
1665
- };
1666
- where?: Array<{
1667
- connector?: "AND" | "OR";
1668
- field:
1669
- | "accountId"
1670
- | "providerId"
1671
- | "userId"
1672
- | "accessToken"
1673
- | "refreshToken"
1674
- | "idToken"
1675
- | "accessTokenExpiresAt"
1676
- | "refreshTokenExpiresAt"
1677
- | "scope"
1678
- | "password"
1679
- | "createdAt"
1680
- | "updatedAt"
1681
- | "_id";
1682
- operator?:
1683
- | "lt"
1684
- | "lte"
1685
- | "gt"
1686
- | "gte"
1687
- | "eq"
1688
- | "in"
1689
- | "not_in"
1690
- | "ne"
1691
- | "contains"
1692
- | "starts_with"
1693
- | "ends_with";
1694
- value:
1695
- | string
1696
- | number
1697
- | boolean
1698
- | Array<string>
1699
- | Array<number>
1700
- | null;
1701
- }>;
1702
- }
1703
- | {
1704
- model: "verification";
1705
- update: {
1706
- createdAt?: number;
1707
- expiresAt?: number;
1708
- identifier?: string;
1709
- updatedAt?: number;
1710
- value?: string;
1711
- };
1712
- where?: Array<{
1713
- connector?: "AND" | "OR";
1714
- field:
1715
- | "identifier"
1716
- | "value"
1717
- | "expiresAt"
1718
- | "createdAt"
1719
- | "updatedAt"
1720
- | "_id";
1721
- operator?:
1722
- | "lt"
1723
- | "lte"
1724
- | "gt"
1725
- | "gte"
1726
- | "eq"
1727
- | "in"
1728
- | "not_in"
1729
- | "ne"
1730
- | "contains"
1731
- | "starts_with"
1732
- | "ends_with";
1733
- value:
1734
- | string
1735
- | number
1736
- | boolean
1737
- | Array<string>
1738
- | Array<number>
1739
- | null;
1740
- }>;
1741
- }
1742
- | {
1743
- model: "twoFactor";
1744
- update: {
1745
- backupCodes?: string;
1746
- secret?: string;
1747
- userId?: string;
1748
- };
1749
- where?: Array<{
1750
- connector?: "AND" | "OR";
1751
- field: "secret" | "backupCodes" | "userId" | "_id";
1752
- operator?:
1753
- | "lt"
1754
- | "lte"
1755
- | "gt"
1756
- | "gte"
1757
- | "eq"
1758
- | "in"
1759
- | "not_in"
1760
- | "ne"
1761
- | "contains"
1762
- | "starts_with"
1763
- | "ends_with";
1764
- value:
1765
- | string
1766
- | number
1767
- | boolean
1768
- | Array<string>
1769
- | Array<number>
1770
- | null;
1771
- }>;
1772
- }
1773
- | {
1774
- model: "passkey";
1775
- update: {
1776
- aaguid?: null | string;
1777
- backedUp?: boolean;
1778
- counter?: number;
1779
- createdAt?: null | number;
1780
- credentialID?: string;
1781
- deviceType?: string;
1782
- name?: null | string;
1783
- publicKey?: string;
1784
- transports?: null | string;
1785
- userId?: string;
1786
- };
1787
- where?: Array<{
1788
- connector?: "AND" | "OR";
1789
- field:
1790
- | "name"
1791
- | "publicKey"
1792
- | "userId"
1793
- | "credentialID"
1794
- | "counter"
1795
- | "deviceType"
1796
- | "backedUp"
1797
- | "transports"
1798
- | "createdAt"
1799
- | "aaguid"
1800
- | "_id";
1801
- operator?:
1802
- | "lt"
1803
- | "lte"
1804
- | "gt"
1805
- | "gte"
1806
- | "eq"
1807
- | "in"
1808
- | "not_in"
1809
- | "ne"
1810
- | "contains"
1811
- | "starts_with"
1812
- | "ends_with";
1813
- value:
1814
- | string
1815
- | number
1816
- | boolean
1817
- | Array<string>
1818
- | Array<number>
1819
- | null;
1820
- }>;
1821
- }
1822
- | {
1823
- model: "oauthApplication";
1824
- update: {
1825
- clientId?: null | string;
1826
- clientSecret?: null | string;
1827
- createdAt?: null | number;
1828
- disabled?: null | boolean;
1829
- icon?: null | string;
1830
- metadata?: null | string;
1831
- name?: null | string;
1832
- redirectURLs?: null | string;
1833
- type?: null | string;
1834
- updatedAt?: null | number;
1835
- userId?: null | string;
1836
- };
1837
- where?: Array<{
1838
- connector?: "AND" | "OR";
1839
- field:
1840
- | "name"
1841
- | "icon"
1842
- | "metadata"
1843
- | "clientId"
1844
- | "clientSecret"
1845
- | "redirectURLs"
1846
- | "type"
1847
- | "disabled"
1848
- | "userId"
1849
- | "createdAt"
1850
- | "updatedAt"
1851
- | "_id";
1852
- operator?:
1853
- | "lt"
1854
- | "lte"
1855
- | "gt"
1856
- | "gte"
1857
- | "eq"
1858
- | "in"
1859
- | "not_in"
1860
- | "ne"
1861
- | "contains"
1862
- | "starts_with"
1863
- | "ends_with";
1864
- value:
1865
- | string
1866
- | number
1867
- | boolean
1868
- | Array<string>
1869
- | Array<number>
1870
- | null;
1871
- }>;
1872
- }
1873
- | {
1874
- model: "oauthAccessToken";
1875
- update: {
1876
- accessToken?: null | string;
1877
- accessTokenExpiresAt?: null | number;
1878
- clientId?: null | string;
1879
- createdAt?: null | number;
1880
- refreshToken?: null | string;
1881
- refreshTokenExpiresAt?: null | number;
1882
- scopes?: null | string;
1883
- updatedAt?: null | number;
1884
- userId?: null | string;
1885
- };
1886
- where?: Array<{
1887
- connector?: "AND" | "OR";
1888
- field:
1889
- | "accessToken"
1890
- | "refreshToken"
1891
- | "accessTokenExpiresAt"
1892
- | "refreshTokenExpiresAt"
1893
- | "clientId"
1894
- | "userId"
1895
- | "scopes"
1896
- | "createdAt"
1897
- | "updatedAt"
1898
- | "_id";
1899
- operator?:
1900
- | "lt"
1901
- | "lte"
1902
- | "gt"
1903
- | "gte"
1904
- | "eq"
1905
- | "in"
1906
- | "not_in"
1907
- | "ne"
1908
- | "contains"
1909
- | "starts_with"
1910
- | "ends_with";
1911
- value:
1912
- | string
1913
- | number
1914
- | boolean
1915
- | Array<string>
1916
- | Array<number>
1917
- | null;
1918
- }>;
1919
- }
1920
- | {
1921
- model: "oauthConsent";
1922
- update: {
1923
- clientId?: null | string;
1924
- consentGiven?: null | boolean;
1925
- createdAt?: null | number;
1926
- scopes?: null | string;
1927
- updatedAt?: null | number;
1928
- userId?: null | string;
1929
- };
1930
- where?: Array<{
1931
- connector?: "AND" | "OR";
1932
- field:
1933
- | "clientId"
1934
- | "userId"
1935
- | "scopes"
1936
- | "createdAt"
1937
- | "updatedAt"
1938
- | "consentGiven"
1939
- | "_id";
1940
- operator?:
1941
- | "lt"
1942
- | "lte"
1943
- | "gt"
1944
- | "gte"
1945
- | "eq"
1946
- | "in"
1947
- | "not_in"
1948
- | "ne"
1949
- | "contains"
1950
- | "starts_with"
1951
- | "ends_with";
1952
- value:
1953
- | string
1954
- | number
1955
- | boolean
1956
- | Array<string>
1957
- | Array<number>
1958
- | null;
1959
- }>;
1960
- }
1961
- | {
1962
- model: "jwks";
1963
- update: {
1964
- createdAt?: number;
1965
- privateKey?: string;
1966
- publicKey?: string;
1967
- };
1968
- where?: Array<{
1969
- connector?: "AND" | "OR";
1970
- field: "publicKey" | "privateKey" | "createdAt" | "_id";
1971
- operator?:
1972
- | "lt"
1973
- | "lte"
1974
- | "gt"
1975
- | "gte"
1976
- | "eq"
1977
- | "in"
1978
- | "not_in"
1979
- | "ne"
1980
- | "contains"
1981
- | "starts_with"
1982
- | "ends_with";
1983
- value:
1984
- | string
1985
- | number
1986
- | boolean
1987
- | Array<string>
1988
- | Array<number>
1989
- | null;
1990
- }>;
1991
- }
1992
- | {
1993
- model: "rateLimit";
1994
- update: {
1995
- count?: null | number;
1996
- key?: null | string;
1997
- lastRequest?: null | number;
1998
- };
1999
- where?: Array<{
2000
- connector?: "AND" | "OR";
2001
- field: "key" | "count" | "lastRequest" | "_id";
2002
- operator?:
2003
- | "lt"
2004
- | "lte"
2005
- | "gt"
2006
- | "gte"
2007
- | "eq"
2008
- | "in"
2009
- | "not_in"
2010
- | "ne"
2011
- | "contains"
2012
- | "starts_with"
2013
- | "ends_with";
2014
- value:
2015
- | string
2016
- | number
2017
- | boolean
2018
- | Array<string>
2019
- | Array<number>
2020
- | null;
2021
- }>;
2022
- };
2023
- onUpdateHandle?: string;
2024
- },
2025
- any
2026
- >;
2027
- };
2028
- adapterTest: {
2029
- runCustomTests: FunctionReference<"action", "internal", any, any>;
2030
- runTests: FunctionReference<"action", "internal", any, any>;
2031
- };
2032
- };
2033
- };