@fnlb-project/database 1.0.66 → 1.0.68

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 +162 -0
  2. package/dist/index.js +191 -191
  3. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -295,22 +295,31 @@ export declare const CategoryModel: import("mongoose").Model<{
295
295
  type: any;
296
296
  args: string[];
297
297
  function?: string | null | undefined;
298
+ id?: string | null | undefined;
298
299
  _id?: unknown;
300
+ parent?: string | null | undefined;
299
301
  command?: string | null | undefined;
302
+ statement?: string | null | undefined;
300
303
  condition?: string | null | undefined;
301
304
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
302
305
  type: any;
303
306
  args: string[];
304
307
  function?: string | null | undefined;
308
+ id?: string | null | undefined;
305
309
  _id?: unknown;
310
+ parent?: string | null | undefined;
306
311
  command?: string | null | undefined;
312
+ statement?: string | null | undefined;
307
313
  condition?: string | null | undefined;
308
314
  }> & {
309
315
  type: any;
310
316
  args: string[];
311
317
  function?: string | null | undefined;
318
+ id?: string | null | undefined;
312
319
  _id?: unknown;
320
+ parent?: string | null | undefined;
313
321
  command?: string | null | undefined;
322
+ statement?: string | null | undefined;
314
323
  condition?: string | null | undefined;
315
324
  }>;
316
325
  _id?: unknown;
@@ -325,22 +334,31 @@ export declare const CategoryModel: import("mongoose").Model<{
325
334
  type: any;
326
335
  args: string[];
327
336
  function?: string | null | undefined;
337
+ id?: string | null | undefined;
328
338
  _id?: unknown;
339
+ parent?: string | null | undefined;
329
340
  command?: string | null | undefined;
341
+ statement?: string | null | undefined;
330
342
  condition?: string | null | undefined;
331
343
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
332
344
  type: any;
333
345
  args: string[];
334
346
  function?: string | null | undefined;
347
+ id?: string | null | undefined;
335
348
  _id?: unknown;
349
+ parent?: string | null | undefined;
336
350
  command?: string | null | undefined;
351
+ statement?: string | null | undefined;
337
352
  condition?: string | null | undefined;
338
353
  }> & {
339
354
  type: any;
340
355
  args: string[];
341
356
  function?: string | null | undefined;
357
+ id?: string | null | undefined;
342
358
  _id?: unknown;
359
+ parent?: string | null | undefined;
343
360
  command?: string | null | undefined;
361
+ statement?: string | null | undefined;
344
362
  condition?: string | null | undefined;
345
363
  }>;
346
364
  _id?: unknown;
@@ -355,22 +373,31 @@ export declare const CategoryModel: import("mongoose").Model<{
355
373
  type: any;
356
374
  args: string[];
357
375
  function?: string | null | undefined;
376
+ id?: string | null | undefined;
358
377
  _id?: unknown;
378
+ parent?: string | null | undefined;
359
379
  command?: string | null | undefined;
380
+ statement?: string | null | undefined;
360
381
  condition?: string | null | undefined;
361
382
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
362
383
  type: any;
363
384
  args: string[];
364
385
  function?: string | null | undefined;
386
+ id?: string | null | undefined;
365
387
  _id?: unknown;
388
+ parent?: string | null | undefined;
366
389
  command?: string | null | undefined;
390
+ statement?: string | null | undefined;
367
391
  condition?: string | null | undefined;
368
392
  }> & {
369
393
  type: any;
370
394
  args: string[];
371
395
  function?: string | null | undefined;
396
+ id?: string | null | undefined;
372
397
  _id?: unknown;
398
+ parent?: string | null | undefined;
373
399
  command?: string | null | undefined;
400
+ statement?: string | null | undefined;
374
401
  condition?: string | null | undefined;
375
402
  }>;
376
403
  _id?: unknown;
@@ -742,22 +769,31 @@ export declare const CategoryModel: import("mongoose").Model<{
742
769
  type: any;
743
770
  args: string[];
744
771
  function?: string | null | undefined;
772
+ id?: string | null | undefined;
745
773
  _id?: unknown;
774
+ parent?: string | null | undefined;
746
775
  command?: string | null | undefined;
776
+ statement?: string | null | undefined;
747
777
  condition?: string | null | undefined;
748
778
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
749
779
  type: any;
750
780
  args: string[];
751
781
  function?: string | null | undefined;
782
+ id?: string | null | undefined;
752
783
  _id?: unknown;
784
+ parent?: string | null | undefined;
753
785
  command?: string | null | undefined;
786
+ statement?: string | null | undefined;
754
787
  condition?: string | null | undefined;
755
788
  }> & {
756
789
  type: any;
757
790
  args: string[];
758
791
  function?: string | null | undefined;
792
+ id?: string | null | undefined;
759
793
  _id?: unknown;
794
+ parent?: string | null | undefined;
760
795
  command?: string | null | undefined;
796
+ statement?: string | null | undefined;
761
797
  condition?: string | null | undefined;
762
798
  }>;
763
799
  _id?: unknown;
@@ -772,22 +808,31 @@ export declare const CategoryModel: import("mongoose").Model<{
772
808
  type: any;
773
809
  args: string[];
774
810
  function?: string | null | undefined;
811
+ id?: string | null | undefined;
775
812
  _id?: unknown;
813
+ parent?: string | null | undefined;
776
814
  command?: string | null | undefined;
815
+ statement?: string | null | undefined;
777
816
  condition?: string | null | undefined;
778
817
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
779
818
  type: any;
780
819
  args: string[];
781
820
  function?: string | null | undefined;
821
+ id?: string | null | undefined;
782
822
  _id?: unknown;
823
+ parent?: string | null | undefined;
783
824
  command?: string | null | undefined;
825
+ statement?: string | null | undefined;
784
826
  condition?: string | null | undefined;
785
827
  }> & {
786
828
  type: any;
787
829
  args: string[];
788
830
  function?: string | null | undefined;
831
+ id?: string | null | undefined;
789
832
  _id?: unknown;
833
+ parent?: string | null | undefined;
790
834
  command?: string | null | undefined;
835
+ statement?: string | null | undefined;
791
836
  condition?: string | null | undefined;
792
837
  }>;
793
838
  _id?: unknown;
@@ -802,22 +847,31 @@ export declare const CategoryModel: import("mongoose").Model<{
802
847
  type: any;
803
848
  args: string[];
804
849
  function?: string | null | undefined;
850
+ id?: string | null | undefined;
805
851
  _id?: unknown;
852
+ parent?: string | null | undefined;
806
853
  command?: string | null | undefined;
854
+ statement?: string | null | undefined;
807
855
  condition?: string | null | undefined;
808
856
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
809
857
  type: any;
810
858
  args: string[];
811
859
  function?: string | null | undefined;
860
+ id?: string | null | undefined;
812
861
  _id?: unknown;
862
+ parent?: string | null | undefined;
813
863
  command?: string | null | undefined;
864
+ statement?: string | null | undefined;
814
865
  condition?: string | null | undefined;
815
866
  }> & {
816
867
  type: any;
817
868
  args: string[];
818
869
  function?: string | null | undefined;
870
+ id?: string | null | undefined;
819
871
  _id?: unknown;
872
+ parent?: string | null | undefined;
820
873
  command?: string | null | undefined;
874
+ statement?: string | null | undefined;
821
875
  condition?: string | null | undefined;
822
876
  }>;
823
877
  _id?: unknown;
@@ -1189,22 +1243,31 @@ export declare const CategoryModel: import("mongoose").Model<{
1189
1243
  type: any;
1190
1244
  args: string[];
1191
1245
  function?: string | null | undefined;
1246
+ id?: string | null | undefined;
1192
1247
  _id?: unknown;
1248
+ parent?: string | null | undefined;
1193
1249
  command?: string | null | undefined;
1250
+ statement?: string | null | undefined;
1194
1251
  condition?: string | null | undefined;
1195
1252
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1196
1253
  type: any;
1197
1254
  args: string[];
1198
1255
  function?: string | null | undefined;
1256
+ id?: string | null | undefined;
1199
1257
  _id?: unknown;
1258
+ parent?: string | null | undefined;
1200
1259
  command?: string | null | undefined;
1260
+ statement?: string | null | undefined;
1201
1261
  condition?: string | null | undefined;
1202
1262
  }> & {
1203
1263
  type: any;
1204
1264
  args: string[];
1205
1265
  function?: string | null | undefined;
1266
+ id?: string | null | undefined;
1206
1267
  _id?: unknown;
1268
+ parent?: string | null | undefined;
1207
1269
  command?: string | null | undefined;
1270
+ statement?: string | null | undefined;
1208
1271
  condition?: string | null | undefined;
1209
1272
  }>;
1210
1273
  _id?: unknown;
@@ -1219,22 +1282,31 @@ export declare const CategoryModel: import("mongoose").Model<{
1219
1282
  type: any;
1220
1283
  args: string[];
1221
1284
  function?: string | null | undefined;
1285
+ id?: string | null | undefined;
1222
1286
  _id?: unknown;
1287
+ parent?: string | null | undefined;
1223
1288
  command?: string | null | undefined;
1289
+ statement?: string | null | undefined;
1224
1290
  condition?: string | null | undefined;
1225
1291
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1226
1292
  type: any;
1227
1293
  args: string[];
1228
1294
  function?: string | null | undefined;
1295
+ id?: string | null | undefined;
1229
1296
  _id?: unknown;
1297
+ parent?: string | null | undefined;
1230
1298
  command?: string | null | undefined;
1299
+ statement?: string | null | undefined;
1231
1300
  condition?: string | null | undefined;
1232
1301
  }> & {
1233
1302
  type: any;
1234
1303
  args: string[];
1235
1304
  function?: string | null | undefined;
1305
+ id?: string | null | undefined;
1236
1306
  _id?: unknown;
1307
+ parent?: string | null | undefined;
1237
1308
  command?: string | null | undefined;
1309
+ statement?: string | null | undefined;
1238
1310
  condition?: string | null | undefined;
1239
1311
  }>;
1240
1312
  _id?: unknown;
@@ -1249,22 +1321,31 @@ export declare const CategoryModel: import("mongoose").Model<{
1249
1321
  type: any;
1250
1322
  args: string[];
1251
1323
  function?: string | null | undefined;
1324
+ id?: string | null | undefined;
1252
1325
  _id?: unknown;
1326
+ parent?: string | null | undefined;
1253
1327
  command?: string | null | undefined;
1328
+ statement?: string | null | undefined;
1254
1329
  condition?: string | null | undefined;
1255
1330
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1256
1331
  type: any;
1257
1332
  args: string[];
1258
1333
  function?: string | null | undefined;
1334
+ id?: string | null | undefined;
1259
1335
  _id?: unknown;
1336
+ parent?: string | null | undefined;
1260
1337
  command?: string | null | undefined;
1338
+ statement?: string | null | undefined;
1261
1339
  condition?: string | null | undefined;
1262
1340
  }> & {
1263
1341
  type: any;
1264
1342
  args: string[];
1265
1343
  function?: string | null | undefined;
1344
+ id?: string | null | undefined;
1266
1345
  _id?: unknown;
1346
+ parent?: string | null | undefined;
1267
1347
  command?: string | null | undefined;
1348
+ statement?: string | null | undefined;
1268
1349
  condition?: string | null | undefined;
1269
1350
  }>;
1270
1351
  _id?: unknown;
@@ -1640,22 +1721,31 @@ export declare const CategoryModel: import("mongoose").Model<{
1640
1721
  type: any;
1641
1722
  args: string[];
1642
1723
  function?: string | null | undefined;
1724
+ id?: string | null | undefined;
1643
1725
  _id?: unknown;
1726
+ parent?: string | null | undefined;
1644
1727
  command?: string | null | undefined;
1728
+ statement?: string | null | undefined;
1645
1729
  condition?: string | null | undefined;
1646
1730
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1647
1731
  type: any;
1648
1732
  args: string[];
1649
1733
  function?: string | null | undefined;
1734
+ id?: string | null | undefined;
1650
1735
  _id?: unknown;
1736
+ parent?: string | null | undefined;
1651
1737
  command?: string | null | undefined;
1738
+ statement?: string | null | undefined;
1652
1739
  condition?: string | null | undefined;
1653
1740
  }> & {
1654
1741
  type: any;
1655
1742
  args: string[];
1656
1743
  function?: string | null | undefined;
1744
+ id?: string | null | undefined;
1657
1745
  _id?: unknown;
1746
+ parent?: string | null | undefined;
1658
1747
  command?: string | null | undefined;
1748
+ statement?: string | null | undefined;
1659
1749
  condition?: string | null | undefined;
1660
1750
  }>;
1661
1751
  _id?: unknown;
@@ -1670,22 +1760,31 @@ export declare const CategoryModel: import("mongoose").Model<{
1670
1760
  type: any;
1671
1761
  args: string[];
1672
1762
  function?: string | null | undefined;
1763
+ id?: string | null | undefined;
1673
1764
  _id?: unknown;
1765
+ parent?: string | null | undefined;
1674
1766
  command?: string | null | undefined;
1767
+ statement?: string | null | undefined;
1675
1768
  condition?: string | null | undefined;
1676
1769
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1677
1770
  type: any;
1678
1771
  args: string[];
1679
1772
  function?: string | null | undefined;
1773
+ id?: string | null | undefined;
1680
1774
  _id?: unknown;
1775
+ parent?: string | null | undefined;
1681
1776
  command?: string | null | undefined;
1777
+ statement?: string | null | undefined;
1682
1778
  condition?: string | null | undefined;
1683
1779
  }> & {
1684
1780
  type: any;
1685
1781
  args: string[];
1686
1782
  function?: string | null | undefined;
1783
+ id?: string | null | undefined;
1687
1784
  _id?: unknown;
1785
+ parent?: string | null | undefined;
1688
1786
  command?: string | null | undefined;
1787
+ statement?: string | null | undefined;
1689
1788
  condition?: string | null | undefined;
1690
1789
  }>;
1691
1790
  _id?: unknown;
@@ -1700,22 +1799,31 @@ export declare const CategoryModel: import("mongoose").Model<{
1700
1799
  type: any;
1701
1800
  args: string[];
1702
1801
  function?: string | null | undefined;
1802
+ id?: string | null | undefined;
1703
1803
  _id?: unknown;
1804
+ parent?: string | null | undefined;
1704
1805
  command?: string | null | undefined;
1806
+ statement?: string | null | undefined;
1705
1807
  condition?: string | null | undefined;
1706
1808
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
1707
1809
  type: any;
1708
1810
  args: string[];
1709
1811
  function?: string | null | undefined;
1812
+ id?: string | null | undefined;
1710
1813
  _id?: unknown;
1814
+ parent?: string | null | undefined;
1711
1815
  command?: string | null | undefined;
1816
+ statement?: string | null | undefined;
1712
1817
  condition?: string | null | undefined;
1713
1818
  }> & {
1714
1819
  type: any;
1715
1820
  args: string[];
1716
1821
  function?: string | null | undefined;
1822
+ id?: string | null | undefined;
1717
1823
  _id?: unknown;
1824
+ parent?: string | null | undefined;
1718
1825
  command?: string | null | undefined;
1826
+ statement?: string | null | undefined;
1719
1827
  condition?: string | null | undefined;
1720
1828
  }>;
1721
1829
  _id?: unknown;
@@ -2087,22 +2195,31 @@ export declare const CategoryModel: import("mongoose").Model<{
2087
2195
  type: any;
2088
2196
  args: string[];
2089
2197
  function?: string | null | undefined;
2198
+ id?: string | null | undefined;
2090
2199
  _id?: unknown;
2200
+ parent?: string | null | undefined;
2091
2201
  command?: string | null | undefined;
2202
+ statement?: string | null | undefined;
2092
2203
  condition?: string | null | undefined;
2093
2204
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2094
2205
  type: any;
2095
2206
  args: string[];
2096
2207
  function?: string | null | undefined;
2208
+ id?: string | null | undefined;
2097
2209
  _id?: unknown;
2210
+ parent?: string | null | undefined;
2098
2211
  command?: string | null | undefined;
2212
+ statement?: string | null | undefined;
2099
2213
  condition?: string | null | undefined;
2100
2214
  }> & {
2101
2215
  type: any;
2102
2216
  args: string[];
2103
2217
  function?: string | null | undefined;
2218
+ id?: string | null | undefined;
2104
2219
  _id?: unknown;
2220
+ parent?: string | null | undefined;
2105
2221
  command?: string | null | undefined;
2222
+ statement?: string | null | undefined;
2106
2223
  condition?: string | null | undefined;
2107
2224
  }>;
2108
2225
  _id?: unknown;
@@ -2117,22 +2234,31 @@ export declare const CategoryModel: import("mongoose").Model<{
2117
2234
  type: any;
2118
2235
  args: string[];
2119
2236
  function?: string | null | undefined;
2237
+ id?: string | null | undefined;
2120
2238
  _id?: unknown;
2239
+ parent?: string | null | undefined;
2121
2240
  command?: string | null | undefined;
2241
+ statement?: string | null | undefined;
2122
2242
  condition?: string | null | undefined;
2123
2243
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2124
2244
  type: any;
2125
2245
  args: string[];
2126
2246
  function?: string | null | undefined;
2247
+ id?: string | null | undefined;
2127
2248
  _id?: unknown;
2249
+ parent?: string | null | undefined;
2128
2250
  command?: string | null | undefined;
2251
+ statement?: string | null | undefined;
2129
2252
  condition?: string | null | undefined;
2130
2253
  }> & {
2131
2254
  type: any;
2132
2255
  args: string[];
2133
2256
  function?: string | null | undefined;
2257
+ id?: string | null | undefined;
2134
2258
  _id?: unknown;
2259
+ parent?: string | null | undefined;
2135
2260
  command?: string | null | undefined;
2261
+ statement?: string | null | undefined;
2136
2262
  condition?: string | null | undefined;
2137
2263
  }>;
2138
2264
  _id?: unknown;
@@ -2147,22 +2273,31 @@ export declare const CategoryModel: import("mongoose").Model<{
2147
2273
  type: any;
2148
2274
  args: string[];
2149
2275
  function?: string | null | undefined;
2276
+ id?: string | null | undefined;
2150
2277
  _id?: unknown;
2278
+ parent?: string | null | undefined;
2151
2279
  command?: string | null | undefined;
2280
+ statement?: string | null | undefined;
2152
2281
  condition?: string | null | undefined;
2153
2282
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2154
2283
  type: any;
2155
2284
  args: string[];
2156
2285
  function?: string | null | undefined;
2286
+ id?: string | null | undefined;
2157
2287
  _id?: unknown;
2288
+ parent?: string | null | undefined;
2158
2289
  command?: string | null | undefined;
2290
+ statement?: string | null | undefined;
2159
2291
  condition?: string | null | undefined;
2160
2292
  }> & {
2161
2293
  type: any;
2162
2294
  args: string[];
2163
2295
  function?: string | null | undefined;
2296
+ id?: string | null | undefined;
2164
2297
  _id?: unknown;
2298
+ parent?: string | null | undefined;
2165
2299
  command?: string | null | undefined;
2300
+ statement?: string | null | undefined;
2166
2301
  condition?: string | null | undefined;
2167
2302
  }>;
2168
2303
  _id?: unknown;
@@ -2534,22 +2669,31 @@ export declare const CategoryModel: import("mongoose").Model<{
2534
2669
  type: any;
2535
2670
  args: string[];
2536
2671
  function?: string | null | undefined;
2672
+ id?: string | null | undefined;
2537
2673
  _id?: unknown;
2674
+ parent?: string | null | undefined;
2538
2675
  command?: string | null | undefined;
2676
+ statement?: string | null | undefined;
2539
2677
  condition?: string | null | undefined;
2540
2678
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2541
2679
  type: any;
2542
2680
  args: string[];
2543
2681
  function?: string | null | undefined;
2682
+ id?: string | null | undefined;
2544
2683
  _id?: unknown;
2684
+ parent?: string | null | undefined;
2545
2685
  command?: string | null | undefined;
2686
+ statement?: string | null | undefined;
2546
2687
  condition?: string | null | undefined;
2547
2688
  }> & {
2548
2689
  type: any;
2549
2690
  args: string[];
2550
2691
  function?: string | null | undefined;
2692
+ id?: string | null | undefined;
2551
2693
  _id?: unknown;
2694
+ parent?: string | null | undefined;
2552
2695
  command?: string | null | undefined;
2696
+ statement?: string | null | undefined;
2553
2697
  condition?: string | null | undefined;
2554
2698
  }>;
2555
2699
  _id?: unknown;
@@ -2564,22 +2708,31 @@ export declare const CategoryModel: import("mongoose").Model<{
2564
2708
  type: any;
2565
2709
  args: string[];
2566
2710
  function?: string | null | undefined;
2711
+ id?: string | null | undefined;
2567
2712
  _id?: unknown;
2713
+ parent?: string | null | undefined;
2568
2714
  command?: string | null | undefined;
2715
+ statement?: string | null | undefined;
2569
2716
  condition?: string | null | undefined;
2570
2717
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2571
2718
  type: any;
2572
2719
  args: string[];
2573
2720
  function?: string | null | undefined;
2721
+ id?: string | null | undefined;
2574
2722
  _id?: unknown;
2723
+ parent?: string | null | undefined;
2575
2724
  command?: string | null | undefined;
2725
+ statement?: string | null | undefined;
2576
2726
  condition?: string | null | undefined;
2577
2727
  }> & {
2578
2728
  type: any;
2579
2729
  args: string[];
2580
2730
  function?: string | null | undefined;
2731
+ id?: string | null | undefined;
2581
2732
  _id?: unknown;
2733
+ parent?: string | null | undefined;
2582
2734
  command?: string | null | undefined;
2735
+ statement?: string | null | undefined;
2583
2736
  condition?: string | null | undefined;
2584
2737
  }>;
2585
2738
  _id?: unknown;
@@ -2594,22 +2747,31 @@ export declare const CategoryModel: import("mongoose").Model<{
2594
2747
  type: any;
2595
2748
  args: string[];
2596
2749
  function?: string | null | undefined;
2750
+ id?: string | null | undefined;
2597
2751
  _id?: unknown;
2752
+ parent?: string | null | undefined;
2598
2753
  command?: string | null | undefined;
2754
+ statement?: string | null | undefined;
2599
2755
  condition?: string | null | undefined;
2600
2756
  }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
2601
2757
  type: any;
2602
2758
  args: string[];
2603
2759
  function?: string | null | undefined;
2760
+ id?: string | null | undefined;
2604
2761
  _id?: unknown;
2762
+ parent?: string | null | undefined;
2605
2763
  command?: string | null | undefined;
2764
+ statement?: string | null | undefined;
2606
2765
  condition?: string | null | undefined;
2607
2766
  }> & {
2608
2767
  type: any;
2609
2768
  args: string[];
2610
2769
  function?: string | null | undefined;
2770
+ id?: string | null | undefined;
2611
2771
  _id?: unknown;
2772
+ parent?: string | null | undefined;
2612
2773
  command?: string | null | undefined;
2774
+ statement?: string | null | undefined;
2613
2775
  condition?: string | null | undefined;
2614
2776
  }>;
2615
2777
  _id?: unknown;