@fnlb-project/database 1.0.64 → 1.0.66

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +144 -54
  2. package/dist/index.js +191 -191
  3. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -293,76 +293,91 @@ export declare const CategoryModel: import("mongoose").Model<{
293
293
  name: string;
294
294
  actions: import("mongoose").Types.DocumentArray<{
295
295
  type: any;
296
+ args: string[];
297
+ function?: string | null | undefined;
296
298
  _id?: unknown;
297
299
  command?: string | null | undefined;
298
- args?: string[] | null | undefined;
299
300
  condition?: string | null | undefined;
300
301
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
301
302
  type: any;
303
+ args: string[];
304
+ function?: string | null | undefined;
302
305
  _id?: unknown;
303
306
  command?: string | null | undefined;
304
- args?: string[] | null | undefined;
305
307
  condition?: string | null | undefined;
306
308
  }> & {
307
309
  type: any;
310
+ args: string[];
311
+ function?: string | null | undefined;
308
312
  _id?: unknown;
309
313
  command?: string | null | undefined;
310
- args?: string[] | null | undefined;
311
314
  condition?: string | null | undefined;
312
315
  }>;
313
316
  _id?: unknown;
314
317
  flags?: number | null | undefined;
315
318
  event?: any;
319
+ command?: string | null | undefined;
320
+ interval?: string | null | undefined;
316
321
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
317
322
  type: any;
318
323
  name: string;
319
324
  actions: import("mongoose").Types.DocumentArray<{
320
325
  type: any;
326
+ args: string[];
327
+ function?: string | null | undefined;
321
328
  _id?: unknown;
322
329
  command?: string | null | undefined;
323
- args?: string[] | null | undefined;
324
330
  condition?: string | null | undefined;
325
331
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
326
332
  type: any;
333
+ args: string[];
334
+ function?: string | null | undefined;
327
335
  _id?: unknown;
328
336
  command?: string | null | undefined;
329
- args?: string[] | null | undefined;
330
337
  condition?: string | null | undefined;
331
338
  }> & {
332
339
  type: any;
340
+ args: string[];
341
+ function?: string | null | undefined;
333
342
  _id?: unknown;
334
343
  command?: string | null | undefined;
335
- args?: string[] | null | undefined;
336
344
  condition?: string | null | undefined;
337
345
  }>;
338
346
  _id?: unknown;
339
347
  flags?: number | null | undefined;
340
348
  event?: any;
349
+ command?: string | null | undefined;
350
+ interval?: string | null | undefined;
341
351
  }> & {
342
352
  type: any;
343
353
  name: string;
344
354
  actions: import("mongoose").Types.DocumentArray<{
345
355
  type: any;
356
+ args: string[];
357
+ function?: string | null | undefined;
346
358
  _id?: unknown;
347
359
  command?: string | null | undefined;
348
- args?: string[] | null | undefined;
349
360
  condition?: string | null | undefined;
350
361
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
351
362
  type: any;
363
+ args: string[];
364
+ function?: string | null | undefined;
352
365
  _id?: unknown;
353
366
  command?: string | null | undefined;
354
- args?: string[] | null | undefined;
355
367
  condition?: string | null | undefined;
356
368
  }> & {
357
369
  type: any;
370
+ args: string[];
371
+ function?: string | null | undefined;
358
372
  _id?: unknown;
359
373
  command?: string | null | undefined;
360
- args?: string[] | null | undefined;
361
374
  condition?: string | null | undefined;
362
375
  }>;
363
376
  _id?: unknown;
364
377
  flags?: number | null | undefined;
365
378
  event?: any;
379
+ command?: string | null | undefined;
380
+ interval?: string | null | undefined;
366
381
  }> | null | undefined;
367
382
  onlyOwnerCommands?: string[] | null | undefined;
368
383
  onlyAdminCommands?: string[] | null | undefined;
@@ -725,76 +740,91 @@ export declare const CategoryModel: import("mongoose").Model<{
725
740
  name: string;
726
741
  actions: import("mongoose").Types.DocumentArray<{
727
742
  type: any;
743
+ args: string[];
744
+ function?: string | null | undefined;
728
745
  _id?: unknown;
729
746
  command?: string | null | undefined;
730
- args?: string[] | null | undefined;
731
747
  condition?: string | null | undefined;
732
748
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
733
749
  type: any;
750
+ args: string[];
751
+ function?: string | null | undefined;
734
752
  _id?: unknown;
735
753
  command?: string | null | undefined;
736
- args?: string[] | null | undefined;
737
754
  condition?: string | null | undefined;
738
755
  }> & {
739
756
  type: any;
757
+ args: string[];
758
+ function?: string | null | undefined;
740
759
  _id?: unknown;
741
760
  command?: string | null | undefined;
742
- args?: string[] | null | undefined;
743
761
  condition?: string | null | undefined;
744
762
  }>;
745
763
  _id?: unknown;
746
764
  flags?: number | null | undefined;
747
765
  event?: any;
766
+ command?: string | null | undefined;
767
+ interval?: string | null | undefined;
748
768
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
749
769
  type: any;
750
770
  name: string;
751
771
  actions: import("mongoose").Types.DocumentArray<{
752
772
  type: any;
773
+ args: string[];
774
+ function?: string | null | undefined;
753
775
  _id?: unknown;
754
776
  command?: string | null | undefined;
755
- args?: string[] | null | undefined;
756
777
  condition?: string | null | undefined;
757
778
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
758
779
  type: any;
780
+ args: string[];
781
+ function?: string | null | undefined;
759
782
  _id?: unknown;
760
783
  command?: string | null | undefined;
761
- args?: string[] | null | undefined;
762
784
  condition?: string | null | undefined;
763
785
  }> & {
764
786
  type: any;
787
+ args: string[];
788
+ function?: string | null | undefined;
765
789
  _id?: unknown;
766
790
  command?: string | null | undefined;
767
- args?: string[] | null | undefined;
768
791
  condition?: string | null | undefined;
769
792
  }>;
770
793
  _id?: unknown;
771
794
  flags?: number | null | undefined;
772
795
  event?: any;
796
+ command?: string | null | undefined;
797
+ interval?: string | null | undefined;
773
798
  }> & {
774
799
  type: any;
775
800
  name: string;
776
801
  actions: import("mongoose").Types.DocumentArray<{
777
802
  type: any;
803
+ args: string[];
804
+ function?: string | null | undefined;
778
805
  _id?: unknown;
779
806
  command?: string | null | undefined;
780
- args?: string[] | null | undefined;
781
807
  condition?: string | null | undefined;
782
808
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
783
809
  type: any;
810
+ args: string[];
811
+ function?: string | null | undefined;
784
812
  _id?: unknown;
785
813
  command?: string | null | undefined;
786
- args?: string[] | null | undefined;
787
814
  condition?: string | null | undefined;
788
815
  }> & {
789
816
  type: any;
817
+ args: string[];
818
+ function?: string | null | undefined;
790
819
  _id?: unknown;
791
820
  command?: string | null | undefined;
792
- args?: string[] | null | undefined;
793
821
  condition?: string | null | undefined;
794
822
  }>;
795
823
  _id?: unknown;
796
824
  flags?: number | null | undefined;
797
825
  event?: any;
826
+ command?: string | null | undefined;
827
+ interval?: string | null | undefined;
798
828
  }> | null | undefined;
799
829
  onlyOwnerCommands?: string[] | null | undefined;
800
830
  onlyAdminCommands?: string[] | null | undefined;
@@ -1157,76 +1187,91 @@ export declare const CategoryModel: import("mongoose").Model<{
1157
1187
  name: string;
1158
1188
  actions: import("mongoose").Types.DocumentArray<{
1159
1189
  type: any;
1190
+ args: string[];
1191
+ function?: string | null | undefined;
1160
1192
  _id?: unknown;
1161
1193
  command?: string | null | undefined;
1162
- args?: string[] | null | undefined;
1163
1194
  condition?: string | null | undefined;
1164
1195
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1165
1196
  type: any;
1197
+ args: string[];
1198
+ function?: string | null | undefined;
1166
1199
  _id?: unknown;
1167
1200
  command?: string | null | undefined;
1168
- args?: string[] | null | undefined;
1169
1201
  condition?: string | null | undefined;
1170
1202
  }> & {
1171
1203
  type: any;
1204
+ args: string[];
1205
+ function?: string | null | undefined;
1172
1206
  _id?: unknown;
1173
1207
  command?: string | null | undefined;
1174
- args?: string[] | null | undefined;
1175
1208
  condition?: string | null | undefined;
1176
1209
  }>;
1177
1210
  _id?: unknown;
1178
1211
  flags?: number | null | undefined;
1179
1212
  event?: any;
1213
+ command?: string | null | undefined;
1214
+ interval?: string | null | undefined;
1180
1215
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1181
1216
  type: any;
1182
1217
  name: string;
1183
1218
  actions: import("mongoose").Types.DocumentArray<{
1184
1219
  type: any;
1220
+ args: string[];
1221
+ function?: string | null | undefined;
1185
1222
  _id?: unknown;
1186
1223
  command?: string | null | undefined;
1187
- args?: string[] | null | undefined;
1188
1224
  condition?: string | null | undefined;
1189
1225
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1190
1226
  type: any;
1227
+ args: string[];
1228
+ function?: string | null | undefined;
1191
1229
  _id?: unknown;
1192
1230
  command?: string | null | undefined;
1193
- args?: string[] | null | undefined;
1194
1231
  condition?: string | null | undefined;
1195
1232
  }> & {
1196
1233
  type: any;
1234
+ args: string[];
1235
+ function?: string | null | undefined;
1197
1236
  _id?: unknown;
1198
1237
  command?: string | null | undefined;
1199
- args?: string[] | null | undefined;
1200
1238
  condition?: string | null | undefined;
1201
1239
  }>;
1202
1240
  _id?: unknown;
1203
1241
  flags?: number | null | undefined;
1204
1242
  event?: any;
1243
+ command?: string | null | undefined;
1244
+ interval?: string | null | undefined;
1205
1245
  }> & {
1206
1246
  type: any;
1207
1247
  name: string;
1208
1248
  actions: import("mongoose").Types.DocumentArray<{
1209
1249
  type: any;
1250
+ args: string[];
1251
+ function?: string | null | undefined;
1210
1252
  _id?: unknown;
1211
1253
  command?: string | null | undefined;
1212
- args?: string[] | null | undefined;
1213
1254
  condition?: string | null | undefined;
1214
1255
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1215
1256
  type: any;
1257
+ args: string[];
1258
+ function?: string | null | undefined;
1216
1259
  _id?: unknown;
1217
1260
  command?: string | null | undefined;
1218
- args?: string[] | null | undefined;
1219
1261
  condition?: string | null | undefined;
1220
1262
  }> & {
1221
1263
  type: any;
1264
+ args: string[];
1265
+ function?: string | null | undefined;
1222
1266
  _id?: unknown;
1223
1267
  command?: string | null | undefined;
1224
- args?: string[] | null | undefined;
1225
1268
  condition?: string | null | undefined;
1226
1269
  }>;
1227
1270
  _id?: unknown;
1228
1271
  flags?: number | null | undefined;
1229
1272
  event?: any;
1273
+ command?: string | null | undefined;
1274
+ interval?: string | null | undefined;
1230
1275
  }> | null | undefined;
1231
1276
  onlyOwnerCommands?: string[] | null | undefined;
1232
1277
  onlyAdminCommands?: string[] | null | undefined;
@@ -1593,76 +1638,91 @@ export declare const CategoryModel: import("mongoose").Model<{
1593
1638
  name: string;
1594
1639
  actions: import("mongoose").Types.DocumentArray<{
1595
1640
  type: any;
1641
+ args: string[];
1642
+ function?: string | null | undefined;
1596
1643
  _id?: unknown;
1597
1644
  command?: string | null | undefined;
1598
- args?: string[] | null | undefined;
1599
1645
  condition?: string | null | undefined;
1600
1646
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1601
1647
  type: any;
1648
+ args: string[];
1649
+ function?: string | null | undefined;
1602
1650
  _id?: unknown;
1603
1651
  command?: string | null | undefined;
1604
- args?: string[] | null | undefined;
1605
1652
  condition?: string | null | undefined;
1606
1653
  }> & {
1607
1654
  type: any;
1655
+ args: string[];
1656
+ function?: string | null | undefined;
1608
1657
  _id?: unknown;
1609
1658
  command?: string | null | undefined;
1610
- args?: string[] | null | undefined;
1611
1659
  condition?: string | null | undefined;
1612
1660
  }>;
1613
1661
  _id?: unknown;
1614
1662
  flags?: number | null | undefined;
1615
1663
  event?: any;
1664
+ command?: string | null | undefined;
1665
+ interval?: string | null | undefined;
1616
1666
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1617
1667
  type: any;
1618
1668
  name: string;
1619
1669
  actions: import("mongoose").Types.DocumentArray<{
1620
1670
  type: any;
1671
+ args: string[];
1672
+ function?: string | null | undefined;
1621
1673
  _id?: unknown;
1622
1674
  command?: string | null | undefined;
1623
- args?: string[] | null | undefined;
1624
1675
  condition?: string | null | undefined;
1625
1676
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1626
1677
  type: any;
1678
+ args: string[];
1679
+ function?: string | null | undefined;
1627
1680
  _id?: unknown;
1628
1681
  command?: string | null | undefined;
1629
- args?: string[] | null | undefined;
1630
1682
  condition?: string | null | undefined;
1631
1683
  }> & {
1632
1684
  type: any;
1685
+ args: string[];
1686
+ function?: string | null | undefined;
1633
1687
  _id?: unknown;
1634
1688
  command?: string | null | undefined;
1635
- args?: string[] | null | undefined;
1636
1689
  condition?: string | null | undefined;
1637
1690
  }>;
1638
1691
  _id?: unknown;
1639
1692
  flags?: number | null | undefined;
1640
1693
  event?: any;
1694
+ command?: string | null | undefined;
1695
+ interval?: string | null | undefined;
1641
1696
  }> & {
1642
1697
  type: any;
1643
1698
  name: string;
1644
1699
  actions: import("mongoose").Types.DocumentArray<{
1645
1700
  type: any;
1701
+ args: string[];
1702
+ function?: string | null | undefined;
1646
1703
  _id?: unknown;
1647
1704
  command?: string | null | undefined;
1648
- args?: string[] | null | undefined;
1649
1705
  condition?: string | null | undefined;
1650
1706
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1651
1707
  type: any;
1708
+ args: string[];
1709
+ function?: string | null | undefined;
1652
1710
  _id?: unknown;
1653
1711
  command?: string | null | undefined;
1654
- args?: string[] | null | undefined;
1655
1712
  condition?: string | null | undefined;
1656
1713
  }> & {
1657
1714
  type: any;
1715
+ args: string[];
1716
+ function?: string | null | undefined;
1658
1717
  _id?: unknown;
1659
1718
  command?: string | null | undefined;
1660
- args?: string[] | null | undefined;
1661
1719
  condition?: string | null | undefined;
1662
1720
  }>;
1663
1721
  _id?: unknown;
1664
1722
  flags?: number | null | undefined;
1665
1723
  event?: any;
1724
+ command?: string | null | undefined;
1725
+ interval?: string | null | undefined;
1666
1726
  }> | null | undefined;
1667
1727
  onlyOwnerCommands?: string[] | null | undefined;
1668
1728
  onlyAdminCommands?: string[] | null | undefined;
@@ -2025,76 +2085,91 @@ export declare const CategoryModel: import("mongoose").Model<{
2025
2085
  name: string;
2026
2086
  actions: import("mongoose").Types.DocumentArray<{
2027
2087
  type: any;
2088
+ args: string[];
2089
+ function?: string | null | undefined;
2028
2090
  _id?: unknown;
2029
2091
  command?: string | null | undefined;
2030
- args?: string[] | null | undefined;
2031
2092
  condition?: string | null | undefined;
2032
2093
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2033
2094
  type: any;
2095
+ args: string[];
2096
+ function?: string | null | undefined;
2034
2097
  _id?: unknown;
2035
2098
  command?: string | null | undefined;
2036
- args?: string[] | null | undefined;
2037
2099
  condition?: string | null | undefined;
2038
2100
  }> & {
2039
2101
  type: any;
2102
+ args: string[];
2103
+ function?: string | null | undefined;
2040
2104
  _id?: unknown;
2041
2105
  command?: string | null | undefined;
2042
- args?: string[] | null | undefined;
2043
2106
  condition?: string | null | undefined;
2044
2107
  }>;
2045
2108
  _id?: unknown;
2046
2109
  flags?: number | null | undefined;
2047
2110
  event?: any;
2111
+ command?: string | null | undefined;
2112
+ interval?: string | null | undefined;
2048
2113
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2049
2114
  type: any;
2050
2115
  name: string;
2051
2116
  actions: import("mongoose").Types.DocumentArray<{
2052
2117
  type: any;
2118
+ args: string[];
2119
+ function?: string | null | undefined;
2053
2120
  _id?: unknown;
2054
2121
  command?: string | null | undefined;
2055
- args?: string[] | null | undefined;
2056
2122
  condition?: string | null | undefined;
2057
2123
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2058
2124
  type: any;
2125
+ args: string[];
2126
+ function?: string | null | undefined;
2059
2127
  _id?: unknown;
2060
2128
  command?: string | null | undefined;
2061
- args?: string[] | null | undefined;
2062
2129
  condition?: string | null | undefined;
2063
2130
  }> & {
2064
2131
  type: any;
2132
+ args: string[];
2133
+ function?: string | null | undefined;
2065
2134
  _id?: unknown;
2066
2135
  command?: string | null | undefined;
2067
- args?: string[] | null | undefined;
2068
2136
  condition?: string | null | undefined;
2069
2137
  }>;
2070
2138
  _id?: unknown;
2071
2139
  flags?: number | null | undefined;
2072
2140
  event?: any;
2141
+ command?: string | null | undefined;
2142
+ interval?: string | null | undefined;
2073
2143
  }> & {
2074
2144
  type: any;
2075
2145
  name: string;
2076
2146
  actions: import("mongoose").Types.DocumentArray<{
2077
2147
  type: any;
2148
+ args: string[];
2149
+ function?: string | null | undefined;
2078
2150
  _id?: unknown;
2079
2151
  command?: string | null | undefined;
2080
- args?: string[] | null | undefined;
2081
2152
  condition?: string | null | undefined;
2082
2153
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2083
2154
  type: any;
2155
+ args: string[];
2156
+ function?: string | null | undefined;
2084
2157
  _id?: unknown;
2085
2158
  command?: string | null | undefined;
2086
- args?: string[] | null | undefined;
2087
2159
  condition?: string | null | undefined;
2088
2160
  }> & {
2089
2161
  type: any;
2162
+ args: string[];
2163
+ function?: string | null | undefined;
2090
2164
  _id?: unknown;
2091
2165
  command?: string | null | undefined;
2092
- args?: string[] | null | undefined;
2093
2166
  condition?: string | null | undefined;
2094
2167
  }>;
2095
2168
  _id?: unknown;
2096
2169
  flags?: number | null | undefined;
2097
2170
  event?: any;
2171
+ command?: string | null | undefined;
2172
+ interval?: string | null | undefined;
2098
2173
  }> | null | undefined;
2099
2174
  onlyOwnerCommands?: string[] | null | undefined;
2100
2175
  onlyAdminCommands?: string[] | null | undefined;
@@ -2457,76 +2532,91 @@ export declare const CategoryModel: import("mongoose").Model<{
2457
2532
  name: string;
2458
2533
  actions: import("mongoose").Types.DocumentArray<{
2459
2534
  type: any;
2535
+ args: string[];
2536
+ function?: string | null | undefined;
2460
2537
  _id?: unknown;
2461
2538
  command?: string | null | undefined;
2462
- args?: string[] | null | undefined;
2463
2539
  condition?: string | null | undefined;
2464
2540
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2465
2541
  type: any;
2542
+ args: string[];
2543
+ function?: string | null | undefined;
2466
2544
  _id?: unknown;
2467
2545
  command?: string | null | undefined;
2468
- args?: string[] | null | undefined;
2469
2546
  condition?: string | null | undefined;
2470
2547
  }> & {
2471
2548
  type: any;
2549
+ args: string[];
2550
+ function?: string | null | undefined;
2472
2551
  _id?: unknown;
2473
2552
  command?: string | null | undefined;
2474
- args?: string[] | null | undefined;
2475
2553
  condition?: string | null | undefined;
2476
2554
  }>;
2477
2555
  _id?: unknown;
2478
2556
  flags?: number | null | undefined;
2479
2557
  event?: any;
2558
+ command?: string | null | undefined;
2559
+ interval?: string | null | undefined;
2480
2560
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2481
2561
  type: any;
2482
2562
  name: string;
2483
2563
  actions: import("mongoose").Types.DocumentArray<{
2484
2564
  type: any;
2565
+ args: string[];
2566
+ function?: string | null | undefined;
2485
2567
  _id?: unknown;
2486
2568
  command?: string | null | undefined;
2487
- args?: string[] | null | undefined;
2488
2569
  condition?: string | null | undefined;
2489
2570
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2490
2571
  type: any;
2572
+ args: string[];
2573
+ function?: string | null | undefined;
2491
2574
  _id?: unknown;
2492
2575
  command?: string | null | undefined;
2493
- args?: string[] | null | undefined;
2494
2576
  condition?: string | null | undefined;
2495
2577
  }> & {
2496
2578
  type: any;
2579
+ args: string[];
2580
+ function?: string | null | undefined;
2497
2581
  _id?: unknown;
2498
2582
  command?: string | null | undefined;
2499
- args?: string[] | null | undefined;
2500
2583
  condition?: string | null | undefined;
2501
2584
  }>;
2502
2585
  _id?: unknown;
2503
2586
  flags?: number | null | undefined;
2504
2587
  event?: any;
2588
+ command?: string | null | undefined;
2589
+ interval?: string | null | undefined;
2505
2590
  }> & {
2506
2591
  type: any;
2507
2592
  name: string;
2508
2593
  actions: import("mongoose").Types.DocumentArray<{
2509
2594
  type: any;
2595
+ args: string[];
2596
+ function?: string | null | undefined;
2510
2597
  _id?: unknown;
2511
2598
  command?: string | null | undefined;
2512
- args?: string[] | null | undefined;
2513
2599
  condition?: string | null | undefined;
2514
2600
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2515
2601
  type: any;
2602
+ args: string[];
2603
+ function?: string | null | undefined;
2516
2604
  _id?: unknown;
2517
2605
  command?: string | null | undefined;
2518
- args?: string[] | null | undefined;
2519
2606
  condition?: string | null | undefined;
2520
2607
  }> & {
2521
2608
  type: any;
2609
+ args: string[];
2610
+ function?: string | null | undefined;
2522
2611
  _id?: unknown;
2523
2612
  command?: string | null | undefined;
2524
- args?: string[] | null | undefined;
2525
2613
  condition?: string | null | undefined;
2526
2614
  }>;
2527
2615
  _id?: unknown;
2528
2616
  flags?: number | null | undefined;
2529
2617
  event?: any;
2618
+ command?: string | null | undefined;
2619
+ interval?: string | null | undefined;
2530
2620
  }> | null | undefined;
2531
2621
  onlyOwnerCommands?: string[] | null | undefined;
2532
2622
  onlyAdminCommands?: string[] | null | undefined;