@aeriajs/builtins 0.0.74 → 0.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -46,14 +46,14 @@ export declare const collections: {
46
46
  };
47
47
  readonly actions: {
48
48
  readonly deleteAll: {
49
- readonly name: "Remover";
49
+ readonly label: "Remover";
50
50
  readonly ask: true;
51
51
  readonly selection: true;
52
52
  };
53
53
  };
54
54
  readonly individualActions: {
55
55
  readonly remove: {
56
- readonly name: "Remover";
56
+ readonly label: "Remover";
57
57
  readonly icon: "trash";
58
58
  readonly ask: true;
59
59
  };
@@ -101,14 +101,14 @@ export declare const collections: {
101
101
  };
102
102
  readonly actions: {
103
103
  readonly deleteAll: {
104
- readonly name: "Remover";
104
+ readonly label: "Remover";
105
105
  readonly ask: true;
106
106
  readonly selection: true;
107
107
  };
108
108
  };
109
109
  readonly individualActions: {
110
110
  readonly remove: {
111
- readonly name: "Remover";
111
+ readonly label: "Remover";
112
112
  readonly icon: "trash";
113
113
  readonly ask: true;
114
114
  };
@@ -151,14 +151,14 @@ export declare const collections: {
151
151
  };
152
152
  readonly actions: {
153
153
  readonly deleteAll: {
154
- readonly name: "Remover";
154
+ readonly label: "Remover";
155
155
  readonly ask: true;
156
156
  readonly selection: true;
157
157
  };
158
158
  };
159
159
  readonly individualActions: {
160
160
  readonly remove: {
161
- readonly name: "Remover";
161
+ readonly label: "Remover";
162
162
  readonly icon: "trash";
163
163
  readonly ask: true;
164
164
  };
@@ -200,14 +200,14 @@ export declare const collections: {
200
200
  };
201
201
  readonly actions: {
202
202
  readonly deleteAll: {
203
- readonly name: "Remover";
203
+ readonly label: "Remover";
204
204
  readonly ask: true;
205
205
  readonly selection: true;
206
206
  };
207
207
  };
208
208
  readonly individualActions: {
209
209
  readonly remove: {
210
- readonly name: "Remover";
210
+ readonly label: "Remover";
211
211
  readonly icon: "trash";
212
212
  readonly ask: true;
213
213
  };
@@ -254,14 +254,14 @@ export declare const collections: {
254
254
  };
255
255
  readonly actions: {
256
256
  readonly deleteAll: {
257
- readonly name: "Remover";
257
+ readonly label: "Remover";
258
258
  readonly ask: true;
259
259
  readonly selection: true;
260
260
  };
261
261
  };
262
262
  readonly individualActions: {
263
263
  readonly remove: {
264
- readonly name: "Remover";
264
+ readonly label: "Remover";
265
265
  readonly icon: "trash";
266
266
  readonly ask: true;
267
267
  };
@@ -304,14 +304,14 @@ export declare const collections: {
304
304
  };
305
305
  readonly actions: {
306
306
  readonly deleteAll: {
307
- readonly name: "Remover";
307
+ readonly label: "Remover";
308
308
  readonly ask: true;
309
309
  readonly selection: true;
310
310
  };
311
311
  };
312
312
  readonly individualActions: {
313
313
  readonly remove: {
314
- readonly name: "Remover";
314
+ readonly label: "Remover";
315
315
  readonly icon: "trash";
316
316
  readonly ask: true;
317
317
  };
@@ -353,14 +353,14 @@ export declare const collections: {
353
353
  };
354
354
  readonly actions: {
355
355
  readonly deleteAll: {
356
- readonly name: "Remover";
356
+ readonly label: "Remover";
357
357
  readonly ask: true;
358
358
  readonly selection: true;
359
359
  };
360
360
  };
361
361
  readonly individualActions: {
362
362
  readonly remove: {
363
- readonly name: "Remover";
363
+ readonly label: "Remover";
364
364
  readonly icon: "trash";
365
365
  readonly ask: true;
366
366
  };
@@ -403,21 +403,21 @@ export declare const collections: {
403
403
  };
404
404
  readonly actions: {
405
405
  readonly deleteAll: {
406
- readonly name: "Remover";
406
+ readonly label: "Remover";
407
407
  readonly ask: true;
408
408
  readonly selection: true;
409
409
  };
410
410
  };
411
411
  readonly individualActions: {
412
412
  readonly remove: {
413
- readonly name: "Remover";
413
+ readonly label: "Remover";
414
414
  readonly icon: "trash";
415
415
  readonly ask: true;
416
416
  };
417
417
  };
418
418
  }>) => Promise<any>;
419
419
  };
420
- }>, "description" | "functions" | "item" | "security" | "accessControl" | "exposedFunctions"> & {
420
+ }>, "description" | "functions" | "exposedFunctions" | "item" | "security"> & {
421
421
  item: import("@aeriajs/types").SchemaWithId<{
422
422
  readonly $id: "file";
423
423
  readonly owned: "always";
@@ -455,14 +455,14 @@ export declare const collections: {
455
455
  };
456
456
  readonly actions: {
457
457
  readonly deleteAll: {
458
- readonly name: "Remover";
458
+ readonly label: "Remover";
459
459
  readonly ask: true;
460
460
  readonly selection: true;
461
461
  };
462
462
  };
463
463
  readonly individualActions: {
464
464
  readonly remove: {
465
- readonly name: "Remover";
465
+ readonly label: "Remover";
466
466
  readonly icon: "trash";
467
467
  readonly ask: true;
468
468
  };
@@ -505,14 +505,14 @@ export declare const collections: {
505
505
  };
506
506
  readonly actions: {
507
507
  readonly deleteAll: {
508
- readonly name: "Remover";
508
+ readonly label: "Remover";
509
509
  readonly ask: true;
510
510
  readonly selection: true;
511
511
  };
512
512
  };
513
513
  readonly individualActions: {
514
514
  readonly remove: {
515
- readonly name: "Remover";
515
+ readonly label: "Remover";
516
516
  readonly icon: "trash";
517
517
  readonly ask: true;
518
518
  };
@@ -560,14 +560,14 @@ export declare const collections: {
560
560
  };
561
561
  readonly actions: {
562
562
  readonly deleteAll: {
563
- readonly name: "Remover";
563
+ readonly label: "Remover";
564
564
  readonly ask: true;
565
565
  readonly selection: true;
566
566
  };
567
567
  };
568
568
  readonly individualActions: {
569
569
  readonly remove: {
570
- readonly name: "Remover";
570
+ readonly label: "Remover";
571
571
  readonly icon: "trash";
572
572
  readonly ask: true;
573
573
  };
@@ -610,14 +610,14 @@ export declare const collections: {
610
610
  };
611
611
  readonly actions: {
612
612
  readonly deleteAll: {
613
- readonly name: "Remover";
613
+ readonly label: "Remover";
614
614
  readonly ask: true;
615
615
  readonly selection: true;
616
616
  };
617
617
  };
618
618
  readonly individualActions: {
619
619
  readonly remove: {
620
- readonly name: "Remover";
620
+ readonly label: "Remover";
621
621
  readonly icon: "trash";
622
622
  readonly ask: true;
623
623
  };
@@ -659,14 +659,14 @@ export declare const collections: {
659
659
  };
660
660
  readonly actions: {
661
661
  readonly deleteAll: {
662
- readonly name: "Remover";
662
+ readonly label: "Remover";
663
663
  readonly ask: true;
664
664
  readonly selection: true;
665
665
  };
666
666
  };
667
667
  readonly individualActions: {
668
668
  readonly remove: {
669
- readonly name: "Remover";
669
+ readonly label: "Remover";
670
670
  readonly icon: "trash";
671
671
  readonly ask: true;
672
672
  };
@@ -713,14 +713,14 @@ export declare const collections: {
713
713
  };
714
714
  readonly actions: {
715
715
  readonly deleteAll: {
716
- readonly name: "Remover";
716
+ readonly label: "Remover";
717
717
  readonly ask: true;
718
718
  readonly selection: true;
719
719
  };
720
720
  };
721
721
  readonly individualActions: {
722
722
  readonly remove: {
723
- readonly name: "Remover";
723
+ readonly label: "Remover";
724
724
  readonly icon: "trash";
725
725
  readonly ask: true;
726
726
  };
@@ -763,14 +763,14 @@ export declare const collections: {
763
763
  };
764
764
  readonly actions: {
765
765
  readonly deleteAll: {
766
- readonly name: "Remover";
766
+ readonly label: "Remover";
767
767
  readonly ask: true;
768
768
  readonly selection: true;
769
769
  };
770
770
  };
771
771
  readonly individualActions: {
772
772
  readonly remove: {
773
- readonly name: "Remover";
773
+ readonly label: "Remover";
774
774
  readonly icon: "trash";
775
775
  readonly ask: true;
776
776
  };
@@ -812,14 +812,14 @@ export declare const collections: {
812
812
  };
813
813
  readonly actions: {
814
814
  readonly deleteAll: {
815
- readonly name: "Remover";
815
+ readonly label: "Remover";
816
816
  readonly ask: true;
817
817
  readonly selection: true;
818
818
  };
819
819
  };
820
820
  readonly individualActions: {
821
821
  readonly remove: {
822
- readonly name: "Remover";
822
+ readonly label: "Remover";
823
823
  readonly icon: "trash";
824
824
  readonly ask: true;
825
825
  };
@@ -862,14 +862,14 @@ export declare const collections: {
862
862
  };
863
863
  readonly actions: {
864
864
  readonly deleteAll: {
865
- readonly name: "Remover";
865
+ readonly label: "Remover";
866
866
  readonly ask: true;
867
867
  readonly selection: true;
868
868
  };
869
869
  };
870
870
  readonly individualActions: {
871
871
  readonly remove: {
872
- readonly name: "Remover";
872
+ readonly label: "Remover";
873
873
  readonly icon: "trash";
874
874
  readonly ask: true;
875
875
  };
@@ -913,7 +913,7 @@ export declare const collections: {
913
913
  };
914
914
  };
915
915
  };
916
- }>, "description" | "functions" | "item" | "security" | "accessControl" | "exposedFunctions"> & {
916
+ }>, "description" | "functions" | "exposedFunctions" | "item" | "security"> & {
917
917
  item: import("@aeriajs/types").SchemaWithId<{
918
918
  readonly $id: "tempFile";
919
919
  readonly temporary: {
@@ -1008,7 +1008,7 @@ export declare const collections: {
1008
1008
  readonly getAll: <TContext_1 extends import("@aeriajs/types").Context>(_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: TContext_1, options?: import("@aeriajs/core").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<TContext_1["description"]>[]>;
1009
1009
  readonly insert: <TContext_2 extends import("@aeriajs/types").Context>(payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<TContext_2["description"]>>, context: TContext_2, options?: import("@aeriajs/core").InsertOptions | undefined) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<TContext_2["description"]>>>;
1010
1010
  };
1011
- }>, "description" | "functions" | "item" | "security" | "accessControl" | "exposedFunctions"> & {
1011
+ }>, "description" | "functions" | "exposedFunctions" | "item" | "security"> & {
1012
1012
  item: import("@aeriajs/types").SchemaWithId<{
1013
1013
  readonly $id: "log";
1014
1014
  readonly required: readonly ["context", "message"];
@@ -1109,7 +1109,7 @@ export declare const collections: {
1109
1109
  };
1110
1110
  };
1111
1111
  };
1112
- }>, "description" | "functions" | "item" | "security" | "accessControl" | "exposedFunctions"> & {
1112
+ }>, "description" | "functions" | "exposedFunctions" | "item" | "security"> & {
1113
1113
  item: import("@aeriajs/types").SchemaWithId<{
1114
1114
  readonly $id: "resourceUsage";
1115
1115
  readonly required: readonly ["usage"];
@@ -1183,7 +1183,7 @@ export declare const collections: {
1183
1183
  [x: string]: import("@aeriajs/types").Contract | undefined;
1184
1184
  };
1185
1185
  };
1186
- user: Omit<import("@aeriajs/types").Collection<{
1186
+ user: {
1187
1187
  description: {
1188
1188
  readonly $id: "user";
1189
1189
  readonly required: readonly ["name", "roles", "email"];
@@ -1258,12 +1258,12 @@ export declare const collections: {
1258
1258
  };
1259
1259
  readonly individualActions: {
1260
1260
  readonly 'ui:spawnEdit': {
1261
- readonly name: "action.edit";
1261
+ readonly label: "action.edit";
1262
1262
  readonly icon: "pencil";
1263
1263
  readonly translate: true;
1264
1264
  };
1265
1265
  readonly 'route:/dashboard/user/changepass': {
1266
- readonly name: "change_password";
1266
+ readonly label: "change_password";
1267
1267
  readonly icon: "key";
1268
1268
  readonly fetchItem: true;
1269
1269
  readonly translate: true;
@@ -1367,12 +1367,12 @@ export declare const collections: {
1367
1367
  };
1368
1368
  readonly individualActions: {
1369
1369
  readonly 'ui:spawnEdit': {
1370
- readonly name: "action.edit";
1370
+ readonly label: "action.edit";
1371
1371
  readonly icon: "pencil";
1372
1372
  readonly translate: true;
1373
1373
  };
1374
1374
  readonly 'route:/dashboard/user/changepass': {
1375
- readonly name: "change_password";
1375
+ readonly label: "change_password";
1376
1376
  readonly icon: "key";
1377
1377
  readonly fetchItem: true;
1378
1378
  readonly translate: true;
@@ -1467,12 +1467,12 @@ export declare const collections: {
1467
1467
  };
1468
1468
  readonly individualActions: {
1469
1469
  readonly 'ui:spawnEdit': {
1470
- readonly name: "action.edit";
1470
+ readonly label: "action.edit";
1471
1471
  readonly icon: "pencil";
1472
1472
  readonly translate: true;
1473
1473
  };
1474
1474
  readonly 'route:/dashboard/user/changepass': {
1475
- readonly name: "change_password";
1475
+ readonly label: "change_password";
1476
1476
  readonly icon: "key";
1477
1477
  readonly fetchItem: true;
1478
1478
  readonly translate: true;
@@ -1566,12 +1566,12 @@ export declare const collections: {
1566
1566
  };
1567
1567
  readonly individualActions: {
1568
1568
  readonly 'ui:spawnEdit': {
1569
- readonly name: "action.edit";
1569
+ readonly label: "action.edit";
1570
1570
  readonly icon: "pencil";
1571
1571
  readonly translate: true;
1572
1572
  };
1573
1573
  readonly 'route:/dashboard/user/changepass': {
1574
- readonly name: "change_password";
1574
+ readonly label: "change_password";
1575
1575
  readonly icon: "key";
1576
1576
  readonly fetchItem: true;
1577
1577
  readonly translate: true;
@@ -1672,12 +1672,12 @@ export declare const collections: {
1672
1672
  };
1673
1673
  readonly individualActions: {
1674
1674
  readonly 'ui:spawnEdit': {
1675
- readonly name: "action.edit";
1675
+ readonly label: "action.edit";
1676
1676
  readonly icon: "pencil";
1677
1677
  readonly translate: true;
1678
1678
  };
1679
1679
  readonly 'route:/dashboard/user/changepass': {
1680
- readonly name: "change_password";
1680
+ readonly label: "change_password";
1681
1681
  readonly icon: "key";
1682
1682
  readonly fetchItem: true;
1683
1683
  readonly translate: true;
@@ -1772,12 +1772,12 @@ export declare const collections: {
1772
1772
  };
1773
1773
  readonly individualActions: {
1774
1774
  readonly 'ui:spawnEdit': {
1775
- readonly name: "action.edit";
1775
+ readonly label: "action.edit";
1776
1776
  readonly icon: "pencil";
1777
1777
  readonly translate: true;
1778
1778
  };
1779
1779
  readonly 'route:/dashboard/user/changepass': {
1780
- readonly name: "change_password";
1780
+ readonly label: "change_password";
1781
1781
  readonly icon: "key";
1782
1782
  readonly fetchItem: true;
1783
1783
  readonly translate: true;
@@ -1797,7 +1797,7 @@ export declare const collections: {
1797
1797
  };
1798
1798
  };
1799
1799
  };
1800
- }>, "name" | "active" | "roles" | "email"> & {
1800
+ }>, "name" | "roles" | "email" | "active"> & {
1801
1801
  _id: import("mongodb").ObjectId | null;
1802
1802
  };
1803
1803
  token: import("@aeriajs/types").TokenRecipient;
@@ -1890,12 +1890,12 @@ export declare const collections: {
1890
1890
  };
1891
1891
  readonly individualActions: {
1892
1892
  readonly 'ui:spawnEdit': {
1893
- readonly name: "action.edit";
1893
+ readonly label: "action.edit";
1894
1894
  readonly icon: "pencil";
1895
1895
  readonly translate: true;
1896
1896
  };
1897
1897
  readonly 'route:/dashboard/user/changepass': {
1898
- readonly name: "change_password";
1898
+ readonly label: "change_password";
1899
1899
  readonly icon: "key";
1900
1900
  readonly fetchItem: true;
1901
1901
  readonly translate: true;
@@ -1915,7 +1915,7 @@ export declare const collections: {
1915
1915
  };
1916
1916
  };
1917
1917
  };
1918
- }>) => Promise<import("@aeriajs/types").GenericResponse | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").Right<true>>;
1918
+ }>) => Promise<import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").GenericResponse | import("@aeriajs/types").Right<true>>;
1919
1919
  readonly createAccount: (payload: Omit<Pick<{
1920
1920
  picture_file: import("@aeriajs/types").SchemaWithId<{
1921
1921
  readonly $id: "file";
@@ -1954,14 +1954,14 @@ export declare const collections: {
1954
1954
  };
1955
1955
  readonly actions: {
1956
1956
  readonly deleteAll: {
1957
- readonly name: "Remover";
1957
+ readonly label: "Remover";
1958
1958
  readonly ask: true;
1959
1959
  readonly selection: true;
1960
1960
  };
1961
1961
  };
1962
1962
  readonly individualActions: {
1963
1963
  readonly remove: {
1964
- readonly name: "Remover";
1964
+ readonly label: "Remover";
1965
1965
  readonly icon: "trash";
1966
1966
  readonly ask: true;
1967
1967
  };
@@ -2023,14 +2023,14 @@ export declare const collections: {
2023
2023
  name: string;
2024
2024
  password: string;
2025
2025
  updated_at: Date;
2026
- active: boolean;
2027
2026
  roles: string[];
2028
2027
  email: string;
2029
- picture: any;
2028
+ active: boolean;
2030
2029
  phone_number: string;
2031
2030
  picture_file: never;
2032
2031
  given_name: string;
2033
2032
  family_name: string;
2033
+ picture: any;
2034
2034
  group: string;
2035
2035
  }, "picture_file">, "name" | "roles" | "email"> & Partial<{
2036
2036
  picture_file: import("@aeriajs/types").SchemaWithId<{
@@ -2070,14 +2070,14 @@ export declare const collections: {
2070
2070
  };
2071
2071
  readonly actions: {
2072
2072
  readonly deleteAll: {
2073
- readonly name: "Remover";
2073
+ readonly label: "Remover";
2074
2074
  readonly ask: true;
2075
2075
  readonly selection: true;
2076
2076
  };
2077
2077
  };
2078
2078
  readonly individualActions: {
2079
2079
  readonly remove: {
2080
- readonly name: "Remover";
2080
+ readonly label: "Remover";
2081
2081
  readonly icon: "trash";
2082
2082
  readonly ask: true;
2083
2083
  };
@@ -2139,14 +2139,14 @@ export declare const collections: {
2139
2139
  name: string;
2140
2140
  password: string;
2141
2141
  updated_at: Date;
2142
- active: boolean;
2143
2142
  roles: string[];
2144
2143
  email: string;
2145
- picture: any;
2144
+ active: boolean;
2146
2145
  phone_number: string;
2147
2146
  picture_file: never;
2148
2147
  given_name: string;
2149
2148
  family_name: string;
2149
+ picture: any;
2150
2150
  group: string;
2151
2151
  }, "picture_file">> & {
2152
2152
  updated_at?: Date | undefined;
@@ -2225,12 +2225,12 @@ export declare const collections: {
2225
2225
  };
2226
2226
  readonly individualActions: {
2227
2227
  readonly 'ui:spawnEdit': {
2228
- readonly name: "action.edit";
2228
+ readonly label: "action.edit";
2229
2229
  readonly icon: "pencil";
2230
2230
  readonly translate: true;
2231
2231
  };
2232
2232
  readonly 'route:/dashboard/user/changepass': {
2233
- readonly name: "change_password";
2233
+ readonly label: "change_password";
2234
2234
  readonly icon: "key";
2235
2235
  readonly fetchItem: true;
2236
2236
  readonly translate: true;
@@ -2250,7 +2250,11 @@ export declare const collections: {
2250
2250
  };
2251
2251
  };
2252
2252
  };
2253
- }>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ValidationError | import("@aeriajs/types").PropertyValidationError> | import("@aeriajs/types").Right<import("mongodb").WithId<Omit<import("@aeriajs/types").PackReferences<import("@aeriajs/types").SchemaWithId<{
2253
+ }>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ValidationError | import("@aeriajs/types").PropertyValidationError> | import("@aeriajs/types").Right<any>>;
2254
+ readonly getInfo: (payload: {
2255
+ userId: string;
2256
+ token: string;
2257
+ }, context: import("@aeriajs/types").Context<{
2254
2258
  readonly $id: "user";
2255
2259
  readonly required: readonly ["name", "roles", "email"];
2256
2260
  readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
@@ -2324,12 +2328,12 @@ export declare const collections: {
2324
2328
  };
2325
2329
  readonly individualActions: {
2326
2330
  readonly 'ui:spawnEdit': {
2327
- readonly name: "action.edit";
2331
+ readonly label: "action.edit";
2328
2332
  readonly icon: "pencil";
2329
2333
  readonly translate: true;
2330
2334
  };
2331
2335
  readonly 'route:/dashboard/user/changepass': {
2332
- readonly name: "change_password";
2336
+ readonly label: "change_password";
2333
2337
  readonly icon: "key";
2334
2338
  readonly fetchItem: true;
2335
2339
  readonly translate: true;
@@ -2349,11 +2353,11 @@ export declare const collections: {
2349
2353
  };
2350
2354
  };
2351
2355
  };
2352
- }>>, "_id">>>>;
2353
- readonly getInfo: (payload: {
2354
- userId: string;
2355
- token: string;
2356
- }, context: import("@aeriajs/types").Context<{
2356
+ }>) => Promise<import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").Right<{
2357
+ readonly name: any;
2358
+ readonly email: any;
2359
+ }>>;
2360
+ readonly getCurrentUser: (_payload: undefined, context: import("@aeriajs/types").Context<{
2357
2361
  readonly $id: "user";
2358
2362
  readonly required: readonly ["name", "roles", "email"];
2359
2363
  readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
@@ -2427,12 +2431,12 @@ export declare const collections: {
2427
2431
  };
2428
2432
  readonly individualActions: {
2429
2433
  readonly 'ui:spawnEdit': {
2430
- readonly name: "action.edit";
2434
+ readonly label: "action.edit";
2431
2435
  readonly icon: "pencil";
2432
2436
  readonly translate: true;
2433
2437
  };
2434
2438
  readonly 'route:/dashboard/user/changepass': {
2435
- readonly name: "change_password";
2439
+ readonly label: "change_password";
2436
2440
  readonly icon: "key";
2437
2441
  readonly fetchItem: true;
2438
2442
  readonly translate: true;
@@ -2452,23 +2456,133 @@ export declare const collections: {
2452
2456
  };
2453
2457
  };
2454
2458
  };
2455
- }>) => Promise<import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").Right<{
2456
- readonly name: string;
2457
- readonly email: string;
2458
- }>>;
2459
- readonly getActivationLink: (userId: import("mongodb").ObjectId) => Promise<string>;
2460
- };
2461
- accessControl: {
2462
- roles: {
2463
- root: {
2464
- grantEverything: true;
2459
+ }>) => Promise<import("@aeriajs/types").Left<{}> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
2460
+ readonly $id: "user";
2461
+ readonly required: readonly ["name", "roles", "email"];
2462
+ readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
2463
+ readonly indexes: readonly ["name"];
2464
+ readonly freshItem: {
2465
+ readonly active: true;
2466
+ };
2467
+ readonly properties: {
2468
+ readonly name: {
2469
+ readonly type: "string";
2470
+ };
2471
+ readonly given_name: {
2472
+ readonly getter: (document: any) => string;
2473
+ };
2474
+ readonly family_name: {
2475
+ readonly getter: (document: any) => string;
2476
+ };
2477
+ readonly active: {
2478
+ readonly type: "boolean";
2479
+ };
2480
+ readonly roles: {
2481
+ readonly type: "array";
2482
+ readonly items: {
2483
+ readonly type: "string";
2484
+ };
2485
+ readonly uniqueItems: true;
2486
+ };
2487
+ readonly email: {
2488
+ readonly type: "string";
2489
+ readonly inputType: "email";
2490
+ readonly unique: true;
2491
+ };
2492
+ readonly password: {
2493
+ readonly type: "string";
2494
+ readonly inputType: "password";
2495
+ readonly hidden: true;
2496
+ };
2497
+ readonly phone_number: {
2498
+ readonly type: "string";
2499
+ readonly mask: "(##) #####-####";
2500
+ };
2501
+ readonly picture_file: {
2502
+ readonly $ref: "file";
2503
+ readonly accept: readonly ["image/*"];
2504
+ };
2505
+ readonly picture: {
2506
+ readonly getter: (value: any) => any;
2507
+ };
2508
+ readonly group: {
2509
+ readonly type: "string";
2510
+ };
2511
+ readonly self_registered: {
2512
+ readonly type: "boolean";
2513
+ readonly readOnly: true;
2514
+ };
2515
+ readonly updated_at: {
2516
+ readonly type: "string";
2517
+ readonly format: "date-time";
2518
+ };
2465
2519
  };
2466
- guest: {
2467
- grant: "authenticate"[];
2520
+ readonly presets: readonly ["crud", "view", "duplicate"];
2521
+ readonly layout: {
2522
+ readonly name: "grid";
2523
+ readonly options: {
2524
+ readonly title: "name";
2525
+ readonly badge: "roles";
2526
+ readonly picture: "picture_file";
2527
+ readonly information: "email";
2528
+ readonly active: "active";
2529
+ };
2468
2530
  };
2531
+ readonly individualActions: {
2532
+ readonly 'ui:spawnEdit': {
2533
+ readonly label: "action.edit";
2534
+ readonly icon: "pencil";
2535
+ readonly translate: true;
2536
+ };
2537
+ readonly 'route:/dashboard/user/changepass': {
2538
+ readonly label: "change_password";
2539
+ readonly icon: "key";
2540
+ readonly fetchItem: true;
2541
+ readonly translate: true;
2542
+ };
2543
+ };
2544
+ readonly icon: "users";
2545
+ readonly filters: readonly ["name", "roles", "email", "phone_number"];
2546
+ readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
2547
+ readonly tableMeta: readonly ["email"];
2548
+ readonly formLayout: {
2549
+ readonly fields: {
2550
+ readonly given_name: {
2551
+ readonly span: 3;
2552
+ };
2553
+ readonly family_name: {
2554
+ readonly span: 3;
2555
+ };
2556
+ };
2557
+ };
2558
+ }>>>;
2559
+ readonly getActivationLink: (userId: import("mongodb").ObjectId) => Promise<string>;
2560
+ };
2561
+ functionContracts: {
2562
+ readonly getCurrentUser: {
2563
+ readonly response: [{
2564
+ readonly type: "object";
2565
+ readonly properties: {
2566
+ readonly _tag: {
2567
+ readonly const: "Left";
2568
+ };
2569
+ readonly value: import("@aeriajs/types").Property;
2570
+ };
2571
+ }, {
2572
+ readonly type: "object";
2573
+ readonly properties: {
2574
+ readonly _tag: {
2575
+ readonly const: "Right";
2576
+ };
2577
+ readonly value: import("@aeriajs/types").Property;
2578
+ };
2579
+ }];
2469
2580
  };
2470
2581
  };
2471
- }>, "description" | "functions" | "item" | "security" | "accessControl" | "exposedFunctions"> & {
2582
+ exposedFunctions: {
2583
+ readonly authenticate: true;
2584
+ };
2585
+ } & {
2472
2586
  item: import("@aeriajs/types").SchemaWithId<{
2473
2587
  readonly $id: "user";
2474
2588
  readonly required: readonly ["name", "roles", "email"];
@@ -2543,12 +2657,12 @@ export declare const collections: {
2543
2657
  };
2544
2658
  readonly individualActions: {
2545
2659
  readonly 'ui:spawnEdit': {
2546
- readonly name: "action.edit";
2660
+ readonly label: "action.edit";
2547
2661
  readonly icon: "pencil";
2548
2662
  readonly translate: true;
2549
2663
  };
2550
2664
  readonly 'route:/dashboard/user/changepass': {
2551
- readonly name: "change_password";
2665
+ readonly label: "change_password";
2552
2666
  readonly icon: "key";
2553
2667
  readonly fetchItem: true;
2554
2668
  readonly translate: true;
@@ -2643,12 +2757,12 @@ export declare const collections: {
2643
2757
  };
2644
2758
  readonly individualActions: {
2645
2759
  readonly 'ui:spawnEdit': {
2646
- readonly name: "action.edit";
2760
+ readonly label: "action.edit";
2647
2761
  readonly icon: "pencil";
2648
2762
  readonly translate: true;
2649
2763
  };
2650
2764
  readonly 'route:/dashboard/user/changepass': {
2651
- readonly name: "change_password";
2765
+ readonly label: "change_password";
2652
2766
  readonly icon: "key";
2653
2767
  readonly fetchItem: true;
2654
2768
  readonly translate: true;
@@ -2752,12 +2866,12 @@ export declare const collections: {
2752
2866
  };
2753
2867
  readonly individualActions: {
2754
2868
  readonly 'ui:spawnEdit': {
2755
- readonly name: "action.edit";
2869
+ readonly label: "action.edit";
2756
2870
  readonly icon: "pencil";
2757
2871
  readonly translate: true;
2758
2872
  };
2759
2873
  readonly 'route:/dashboard/user/changepass': {
2760
- readonly name: "change_password";
2874
+ readonly label: "change_password";
2761
2875
  readonly icon: "key";
2762
2876
  readonly fetchItem: true;
2763
2877
  readonly translate: true;
@@ -2852,12 +2966,12 @@ export declare const collections: {
2852
2966
  };
2853
2967
  readonly individualActions: {
2854
2968
  readonly 'ui:spawnEdit': {
2855
- readonly name: "action.edit";
2969
+ readonly label: "action.edit";
2856
2970
  readonly icon: "pencil";
2857
2971
  readonly translate: true;
2858
2972
  };
2859
2973
  readonly 'route:/dashboard/user/changepass': {
2860
- readonly name: "change_password";
2974
+ readonly label: "change_password";
2861
2975
  readonly icon: "key";
2862
2976
  readonly fetchItem: true;
2863
2977
  readonly translate: true;
@@ -2951,12 +3065,12 @@ export declare const collections: {
2951
3065
  };
2952
3066
  readonly individualActions: {
2953
3067
  readonly 'ui:spawnEdit': {
2954
- readonly name: "action.edit";
3068
+ readonly label: "action.edit";
2955
3069
  readonly icon: "pencil";
2956
3070
  readonly translate: true;
2957
3071
  };
2958
3072
  readonly 'route:/dashboard/user/changepass': {
2959
- readonly name: "change_password";
3073
+ readonly label: "change_password";
2960
3074
  readonly icon: "key";
2961
3075
  readonly fetchItem: true;
2962
3076
  readonly translate: true;
@@ -3057,12 +3171,12 @@ export declare const collections: {
3057
3171
  };
3058
3172
  readonly individualActions: {
3059
3173
  readonly 'ui:spawnEdit': {
3060
- readonly name: "action.edit";
3174
+ readonly label: "action.edit";
3061
3175
  readonly icon: "pencil";
3062
3176
  readonly translate: true;
3063
3177
  };
3064
3178
  readonly 'route:/dashboard/user/changepass': {
3065
- readonly name: "change_password";
3179
+ readonly label: "change_password";
3066
3180
  readonly icon: "key";
3067
3181
  readonly fetchItem: true;
3068
3182
  readonly translate: true;
@@ -3157,12 +3271,12 @@ export declare const collections: {
3157
3271
  };
3158
3272
  readonly individualActions: {
3159
3273
  readonly 'ui:spawnEdit': {
3160
- readonly name: "action.edit";
3274
+ readonly label: "action.edit";
3161
3275
  readonly icon: "pencil";
3162
3276
  readonly translate: true;
3163
3277
  };
3164
3278
  readonly 'route:/dashboard/user/changepass': {
3165
- readonly name: "change_password";
3279
+ readonly label: "change_password";
3166
3280
  readonly icon: "key";
3167
3281
  readonly fetchItem: true;
3168
3282
  readonly translate: true;
@@ -3182,7 +3296,7 @@ export declare const collections: {
3182
3296
  };
3183
3297
  };
3184
3298
  };
3185
- }>, "name" | "active" | "roles" | "email"> & {
3299
+ }>, "name" | "roles" | "email" | "active"> & {
3186
3300
  _id: import("mongodb").ObjectId | null;
3187
3301
  };
3188
3302
  token: import("@aeriajs/types").TokenRecipient;
@@ -3275,12 +3389,12 @@ export declare const collections: {
3275
3389
  };
3276
3390
  readonly individualActions: {
3277
3391
  readonly 'ui:spawnEdit': {
3278
- readonly name: "action.edit";
3392
+ readonly label: "action.edit";
3279
3393
  readonly icon: "pencil";
3280
3394
  readonly translate: true;
3281
3395
  };
3282
3396
  readonly 'route:/dashboard/user/changepass': {
3283
- readonly name: "change_password";
3397
+ readonly label: "change_password";
3284
3398
  readonly icon: "key";
3285
3399
  readonly fetchItem: true;
3286
3400
  readonly translate: true;
@@ -3300,7 +3414,7 @@ export declare const collections: {
3300
3414
  };
3301
3415
  };
3302
3416
  };
3303
- }>) => Promise<import("@aeriajs/types").GenericResponse | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").Right<true>>;
3417
+ }>) => Promise<import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").GenericResponse | import("@aeriajs/types").Right<true>>;
3304
3418
  readonly createAccount: (payload: Omit<Pick<{
3305
3419
  picture_file: import("@aeriajs/types").SchemaWithId<{
3306
3420
  readonly $id: "file";
@@ -3339,14 +3453,14 @@ export declare const collections: {
3339
3453
  };
3340
3454
  readonly actions: {
3341
3455
  readonly deleteAll: {
3342
- readonly name: "Remover";
3456
+ readonly label: "Remover";
3343
3457
  readonly ask: true;
3344
3458
  readonly selection: true;
3345
3459
  };
3346
3460
  };
3347
3461
  readonly individualActions: {
3348
3462
  readonly remove: {
3349
- readonly name: "Remover";
3463
+ readonly label: "Remover";
3350
3464
  readonly icon: "trash";
3351
3465
  readonly ask: true;
3352
3466
  };
@@ -3408,14 +3522,14 @@ export declare const collections: {
3408
3522
  name: string;
3409
3523
  password: string;
3410
3524
  updated_at: Date;
3411
- active: boolean;
3412
3525
  roles: string[];
3413
3526
  email: string;
3414
- picture: any;
3527
+ active: boolean;
3415
3528
  phone_number: string;
3416
3529
  picture_file: never;
3417
3530
  given_name: string;
3418
3531
  family_name: string;
3532
+ picture: any;
3419
3533
  group: string;
3420
3534
  }, "picture_file">, "name" | "roles" | "email"> & Partial<{
3421
3535
  picture_file: import("@aeriajs/types").SchemaWithId<{
@@ -3455,14 +3569,14 @@ export declare const collections: {
3455
3569
  };
3456
3570
  readonly actions: {
3457
3571
  readonly deleteAll: {
3458
- readonly name: "Remover";
3572
+ readonly label: "Remover";
3459
3573
  readonly ask: true;
3460
3574
  readonly selection: true;
3461
3575
  };
3462
3576
  };
3463
3577
  readonly individualActions: {
3464
3578
  readonly remove: {
3465
- readonly name: "Remover";
3579
+ readonly label: "Remover";
3466
3580
  readonly icon: "trash";
3467
3581
  readonly ask: true;
3468
3582
  };
@@ -3524,14 +3638,14 @@ export declare const collections: {
3524
3638
  name: string;
3525
3639
  password: string;
3526
3640
  updated_at: Date;
3527
- active: boolean;
3528
3641
  roles: string[];
3529
3642
  email: string;
3530
- picture: any;
3643
+ active: boolean;
3531
3644
  phone_number: string;
3532
3645
  picture_file: never;
3533
3646
  given_name: string;
3534
3647
  family_name: string;
3648
+ picture: any;
3535
3649
  group: string;
3536
3650
  }, "picture_file">> & {
3537
3651
  updated_at?: Date | undefined;
@@ -3610,12 +3724,12 @@ export declare const collections: {
3610
3724
  };
3611
3725
  readonly individualActions: {
3612
3726
  readonly 'ui:spawnEdit': {
3613
- readonly name: "action.edit";
3727
+ readonly label: "action.edit";
3614
3728
  readonly icon: "pencil";
3615
3729
  readonly translate: true;
3616
3730
  };
3617
3731
  readonly 'route:/dashboard/user/changepass': {
3618
- readonly name: "change_password";
3732
+ readonly label: "change_password";
3619
3733
  readonly icon: "key";
3620
3734
  readonly fetchItem: true;
3621
3735
  readonly translate: true;
@@ -3635,7 +3749,11 @@ export declare const collections: {
3635
3749
  };
3636
3750
  };
3637
3751
  };
3638
- }>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ValidationError | import("@aeriajs/types").PropertyValidationError> | import("@aeriajs/types").Right<import("mongodb").WithId<Omit<import("@aeriajs/types").PackReferences<import("@aeriajs/types").SchemaWithId<{
3752
+ }>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ValidationError | import("@aeriajs/types").PropertyValidationError> | import("@aeriajs/types").Right<any>>;
3753
+ readonly getInfo: (payload: {
3754
+ userId: string;
3755
+ token: string;
3756
+ }, context: import("@aeriajs/types").Context<{
3639
3757
  readonly $id: "user";
3640
3758
  readonly required: readonly ["name", "roles", "email"];
3641
3759
  readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
@@ -3709,12 +3827,12 @@ export declare const collections: {
3709
3827
  };
3710
3828
  readonly individualActions: {
3711
3829
  readonly 'ui:spawnEdit': {
3712
- readonly name: "action.edit";
3830
+ readonly label: "action.edit";
3713
3831
  readonly icon: "pencil";
3714
3832
  readonly translate: true;
3715
3833
  };
3716
3834
  readonly 'route:/dashboard/user/changepass': {
3717
- readonly name: "change_password";
3835
+ readonly label: "change_password";
3718
3836
  readonly icon: "key";
3719
3837
  readonly fetchItem: true;
3720
3838
  readonly translate: true;
@@ -3734,11 +3852,11 @@ export declare const collections: {
3734
3852
  };
3735
3853
  };
3736
3854
  };
3737
- }>>, "_id">>>>;
3738
- readonly getInfo: (payload: {
3739
- userId: string;
3740
- token: string;
3741
- }, context: import("@aeriajs/types").Context<{
3855
+ }>) => Promise<import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").Right<{
3856
+ readonly name: any;
3857
+ readonly email: any;
3858
+ }>>;
3859
+ readonly getCurrentUser: (_payload: undefined, context: import("@aeriajs/types").Context<{
3742
3860
  readonly $id: "user";
3743
3861
  readonly required: readonly ["name", "roles", "email"];
3744
3862
  readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
@@ -3812,12 +3930,12 @@ export declare const collections: {
3812
3930
  };
3813
3931
  readonly individualActions: {
3814
3932
  readonly 'ui:spawnEdit': {
3815
- readonly name: "action.edit";
3933
+ readonly label: "action.edit";
3816
3934
  readonly icon: "pencil";
3817
3935
  readonly translate: true;
3818
3936
  };
3819
3937
  readonly 'route:/dashboard/user/changepass': {
3820
- readonly name: "change_password";
3938
+ readonly label: "change_password";
3821
3939
  readonly icon: "key";
3822
3940
  readonly fetchItem: true;
3823
3941
  readonly translate: true;
@@ -3837,24 +3955,128 @@ export declare const collections: {
3837
3955
  };
3838
3956
  };
3839
3957
  };
3840
- }>) => Promise<import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/getInfo.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").Right<{
3841
- readonly name: string;
3842
- readonly email: string;
3843
- }>>;
3958
+ }>) => Promise<import("@aeriajs/types").Left<{}> | import("@aeriajs/types").Right<import("@aeriajs/types").SchemaWithId<{
3959
+ readonly $id: "user";
3960
+ readonly required: readonly ["name", "roles", "email"];
3961
+ readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
3962
+ readonly indexes: readonly ["name"];
3963
+ readonly freshItem: {
3964
+ readonly active: true;
3965
+ };
3966
+ readonly properties: {
3967
+ readonly name: {
3968
+ readonly type: "string";
3969
+ };
3970
+ readonly given_name: {
3971
+ readonly getter: (document: any) => string;
3972
+ };
3973
+ readonly family_name: {
3974
+ readonly getter: (document: any) => string;
3975
+ };
3976
+ readonly active: {
3977
+ readonly type: "boolean";
3978
+ };
3979
+ readonly roles: {
3980
+ readonly type: "array";
3981
+ readonly items: {
3982
+ readonly type: "string";
3983
+ };
3984
+ readonly uniqueItems: true;
3985
+ };
3986
+ readonly email: {
3987
+ readonly type: "string";
3988
+ readonly inputType: "email";
3989
+ readonly unique: true;
3990
+ };
3991
+ readonly password: {
3992
+ readonly type: "string";
3993
+ readonly inputType: "password";
3994
+ readonly hidden: true;
3995
+ };
3996
+ readonly phone_number: {
3997
+ readonly type: "string";
3998
+ readonly mask: "(##) #####-####";
3999
+ };
4000
+ readonly picture_file: {
4001
+ readonly $ref: "file";
4002
+ readonly accept: readonly ["image/*"];
4003
+ };
4004
+ readonly picture: {
4005
+ readonly getter: (value: any) => any;
4006
+ };
4007
+ readonly group: {
4008
+ readonly type: "string";
4009
+ };
4010
+ readonly self_registered: {
4011
+ readonly type: "boolean";
4012
+ readonly readOnly: true;
4013
+ };
4014
+ readonly updated_at: {
4015
+ readonly type: "string";
4016
+ readonly format: "date-time";
4017
+ };
4018
+ };
4019
+ readonly presets: readonly ["crud", "view", "duplicate"];
4020
+ readonly layout: {
4021
+ readonly name: "grid";
4022
+ readonly options: {
4023
+ readonly title: "name";
4024
+ readonly badge: "roles";
4025
+ readonly picture: "picture_file";
4026
+ readonly information: "email";
4027
+ readonly active: "active";
4028
+ };
4029
+ };
4030
+ readonly individualActions: {
4031
+ readonly 'ui:spawnEdit': {
4032
+ readonly label: "action.edit";
4033
+ readonly icon: "pencil";
4034
+ readonly translate: true;
4035
+ };
4036
+ readonly 'route:/dashboard/user/changepass': {
4037
+ readonly label: "change_password";
4038
+ readonly icon: "key";
4039
+ readonly fetchItem: true;
4040
+ readonly translate: true;
4041
+ };
4042
+ };
4043
+ readonly icon: "users";
4044
+ readonly filters: readonly ["name", "roles", "email", "phone_number"];
4045
+ readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
4046
+ readonly tableMeta: readonly ["email"];
4047
+ readonly formLayout: {
4048
+ readonly fields: {
4049
+ readonly given_name: {
4050
+ readonly span: 3;
4051
+ };
4052
+ readonly family_name: {
4053
+ readonly span: 3;
4054
+ };
4055
+ };
4056
+ };
4057
+ }>>>;
3844
4058
  readonly getActivationLink: (userId: import("mongodb").ObjectId) => Promise<string>;
3845
4059
  };
3846
4060
  functionContracts: {
3847
- readonly get?: import("@aeriajs/types").Contract | undefined;
3848
- readonly getAll?: import("@aeriajs/types").Contract | undefined;
3849
- readonly remove?: import("@aeriajs/types").Contract | undefined;
3850
- readonly upload?: import("@aeriajs/types").Contract | undefined;
3851
- readonly removeFile?: import("@aeriajs/types").Contract | undefined;
3852
- readonly insert?: import("@aeriajs/types").Contract | undefined;
3853
- readonly authenticate?: import("@aeriajs/types").Contract | undefined;
3854
- readonly activate?: import("@aeriajs/types").Contract | undefined;
3855
- readonly createAccount?: import("@aeriajs/types").Contract | undefined;
3856
- readonly getInfo?: import("@aeriajs/types").Contract | undefined;
3857
- readonly getActivationLink?: import("@aeriajs/types").Contract | undefined;
4061
+ readonly getCurrentUser: {
4062
+ readonly response: [{
4063
+ readonly type: "object";
4064
+ readonly properties: {
4065
+ readonly _tag: {
4066
+ readonly const: "Left";
4067
+ };
4068
+ readonly value: import("@aeriajs/types").Property;
4069
+ };
4070
+ }, {
4071
+ readonly type: "object";
4072
+ readonly properties: {
4073
+ readonly _tag: {
4074
+ readonly const: "Right";
4075
+ };
4076
+ readonly value: import("@aeriajs/types").Property;
4077
+ };
4078
+ }];
4079
+ };
3858
4080
  };
3859
4081
  };
3860
4082
  };