@aeriajs/builtins 0.0.271 → 0.0.273
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.
|
@@ -329,7 +329,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
329
329
|
readonly type: "string";
|
|
330
330
|
readonly format: "date-time";
|
|
331
331
|
};
|
|
332
|
-
}>> & {
|
|
332
|
+
}, {}>> & {
|
|
333
333
|
name: string;
|
|
334
334
|
password: string;
|
|
335
335
|
updated_at: Date;
|
|
@@ -368,7 +368,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
368
368
|
};
|
|
369
369
|
};
|
|
370
370
|
};
|
|
371
|
-
}>> & {
|
|
371
|
+
}, {}>> & {
|
|
372
372
|
_tag: "Error";
|
|
373
373
|
result: undefined;
|
|
374
374
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -385,7 +385,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
385
385
|
readonly type: "object";
|
|
386
386
|
readonly additionalProperties: true;
|
|
387
387
|
};
|
|
388
|
-
}>> & {
|
|
388
|
+
}, {}>> & {
|
|
389
389
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
390
390
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
391
391
|
message: string;
|
|
@@ -404,7 +404,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
404
404
|
readonly type: "object";
|
|
405
405
|
readonly additionalProperties: true;
|
|
406
406
|
};
|
|
407
|
-
}>> & {
|
|
407
|
+
}, {}>> & {
|
|
408
408
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
409
409
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
410
410
|
message: string;
|
|
@@ -531,7 +531,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
531
531
|
readonly result: {
|
|
532
532
|
readonly $ref: "user";
|
|
533
533
|
};
|
|
534
|
-
}>> & {
|
|
534
|
+
}, {}>> & {
|
|
535
535
|
_tag: "Result";
|
|
536
536
|
result: never;
|
|
537
537
|
error: undefined;
|
|
@@ -562,7 +562,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
562
562
|
};
|
|
563
563
|
};
|
|
564
564
|
};
|
|
565
|
-
}>> & {
|
|
565
|
+
}, {}>> & {
|
|
566
566
|
_tag: "Error";
|
|
567
567
|
result: undefined;
|
|
568
568
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -579,7 +579,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
579
579
|
readonly type: "object";
|
|
580
580
|
readonly additionalProperties: true;
|
|
581
581
|
};
|
|
582
|
-
}>> & {
|
|
582
|
+
}, {}>> & {
|
|
583
583
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
584
584
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
585
585
|
message: string;
|
|
@@ -598,7 +598,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
598
598
|
readonly type: "object";
|
|
599
599
|
readonly additionalProperties: true;
|
|
600
600
|
};
|
|
601
|
-
}>> & {
|
|
601
|
+
}, {}>> & {
|
|
602
602
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
603
603
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
604
604
|
message: string;
|
|
@@ -725,7 +725,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
725
725
|
readonly result: {
|
|
726
726
|
readonly $ref: "user";
|
|
727
727
|
};
|
|
728
|
-
}>> & {
|
|
728
|
+
}, {}>> & {
|
|
729
729
|
_tag: "Result";
|
|
730
730
|
result: never;
|
|
731
731
|
error: undefined;
|
|
@@ -751,7 +751,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
751
751
|
};
|
|
752
752
|
};
|
|
753
753
|
};
|
|
754
|
-
}>> & {
|
|
754
|
+
}, {}>> & {
|
|
755
755
|
password: string;
|
|
756
756
|
email: string;
|
|
757
757
|
revalidate: boolean;
|
|
@@ -762,7 +762,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
762
762
|
readonly content: {
|
|
763
763
|
readonly type: "string";
|
|
764
764
|
};
|
|
765
|
-
}>> & {
|
|
765
|
+
}, {}>> & {
|
|
766
766
|
type: "bearer";
|
|
767
767
|
content: string;
|
|
768
768
|
}, never>;
|
|
@@ -793,7 +793,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
793
793
|
};
|
|
794
794
|
};
|
|
795
795
|
};
|
|
796
|
-
}>> & {
|
|
796
|
+
}, {}>> & {
|
|
797
797
|
_tag: "Error";
|
|
798
798
|
result: undefined;
|
|
799
799
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -810,7 +810,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
810
810
|
readonly type: "object";
|
|
811
811
|
readonly additionalProperties: true;
|
|
812
812
|
};
|
|
813
|
-
}>> & {
|
|
813
|
+
}, {}>> & {
|
|
814
814
|
code: "AUTHORIZATION_ERROR" | "INVALID_CREDENTIALS" | "INACTIVE_USER";
|
|
815
815
|
httpStatus: 401;
|
|
816
816
|
message: string;
|
|
@@ -829,7 +829,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
829
829
|
readonly type: "object";
|
|
830
830
|
readonly additionalProperties: true;
|
|
831
831
|
};
|
|
832
|
-
}>> & {
|
|
832
|
+
}, {}>> & {
|
|
833
833
|
code: "AUTHORIZATION_ERROR" | "INVALID_CREDENTIALS" | "INACTIVE_USER";
|
|
834
834
|
httpStatus: 401;
|
|
835
835
|
message: string;
|
|
@@ -862,7 +862,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
862
862
|
};
|
|
863
863
|
};
|
|
864
864
|
};
|
|
865
|
-
}>> & {
|
|
865
|
+
}, {}>> & {
|
|
866
866
|
_tag: "Result";
|
|
867
867
|
result: {
|
|
868
868
|
user: import("@aeriajs/types").SchemaWithId<{
|
|
@@ -989,7 +989,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
989
989
|
};
|
|
990
990
|
};
|
|
991
991
|
};
|
|
992
|
-
}>> & {
|
|
992
|
+
}, {}>> & {
|
|
993
993
|
user: never;
|
|
994
994
|
token: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
995
995
|
readonly type: {
|
|
@@ -998,7 +998,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
998
998
|
readonly content: {
|
|
999
999
|
readonly type: "string";
|
|
1000
1000
|
};
|
|
1001
|
-
}>> & {
|
|
1001
|
+
}, {}>> & {
|
|
1002
1002
|
type: "bearer";
|
|
1003
1003
|
content: string;
|
|
1004
1004
|
}, never>;
|
|
@@ -1051,7 +1051,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1051
1051
|
};
|
|
1052
1052
|
};
|
|
1053
1053
|
};
|
|
1054
|
-
}>> & {
|
|
1054
|
+
}, {}>> & {
|
|
1055
1055
|
_tag: "Result";
|
|
1056
1056
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1057
1057
|
readonly user: {
|
|
@@ -1088,7 +1088,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1088
1088
|
};
|
|
1089
1089
|
};
|
|
1090
1090
|
};
|
|
1091
|
-
}>> & {
|
|
1091
|
+
}, {}>> & {
|
|
1092
1092
|
user: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1093
1093
|
readonly _id: {
|
|
1094
1094
|
readonly const: null;
|
|
@@ -1108,7 +1108,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1108
1108
|
readonly active: {
|
|
1109
1109
|
readonly type: "boolean";
|
|
1110
1110
|
};
|
|
1111
|
-
}>> & {
|
|
1111
|
+
}, {}>> & {
|
|
1112
1112
|
name: string;
|
|
1113
1113
|
_id: null;
|
|
1114
1114
|
roles: string[];
|
|
@@ -1122,7 +1122,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1122
1122
|
readonly content: {
|
|
1123
1123
|
readonly type: "string";
|
|
1124
1124
|
};
|
|
1125
|
-
}>> & {
|
|
1125
|
+
}, {}>> & {
|
|
1126
1126
|
type: string;
|
|
1127
1127
|
content: string;
|
|
1128
1128
|
}, never>;
|
|
@@ -1155,7 +1155,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1155
1155
|
};
|
|
1156
1156
|
};
|
|
1157
1157
|
};
|
|
1158
|
-
}>> & {
|
|
1158
|
+
}, {}>> & {
|
|
1159
1159
|
_tag: "Error";
|
|
1160
1160
|
result: undefined;
|
|
1161
1161
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -1172,7 +1172,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1172
1172
|
readonly type: "object";
|
|
1173
1173
|
readonly additionalProperties: true;
|
|
1174
1174
|
};
|
|
1175
|
-
}>> & {
|
|
1175
|
+
}, {}>> & {
|
|
1176
1176
|
code: "AUTHORIZATION_ERROR" | "INVALID_CREDENTIALS" | "INACTIVE_USER";
|
|
1177
1177
|
httpStatus: 401;
|
|
1178
1178
|
message: string;
|
|
@@ -1191,7 +1191,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1191
1191
|
readonly type: "object";
|
|
1192
1192
|
readonly additionalProperties: true;
|
|
1193
1193
|
};
|
|
1194
|
-
}>> & {
|
|
1194
|
+
}, {}>> & {
|
|
1195
1195
|
code: "AUTHORIZATION_ERROR" | "INVALID_CREDENTIALS" | "INACTIVE_USER";
|
|
1196
1196
|
httpStatus: 401;
|
|
1197
1197
|
message: string;
|
|
@@ -1224,7 +1224,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1224
1224
|
};
|
|
1225
1225
|
};
|
|
1226
1226
|
};
|
|
1227
|
-
}>> & {
|
|
1227
|
+
}, {}>> & {
|
|
1228
1228
|
_tag: "Result";
|
|
1229
1229
|
result: {
|
|
1230
1230
|
user: import("@aeriajs/types").SchemaWithId<{
|
|
@@ -1351,7 +1351,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1351
1351
|
};
|
|
1352
1352
|
};
|
|
1353
1353
|
};
|
|
1354
|
-
}>> & {
|
|
1354
|
+
}, {}>> & {
|
|
1355
1355
|
user: never;
|
|
1356
1356
|
token: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1357
1357
|
readonly type: {
|
|
@@ -1360,7 +1360,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1360
1360
|
readonly content: {
|
|
1361
1361
|
readonly type: "string";
|
|
1362
1362
|
};
|
|
1363
|
-
}>> & {
|
|
1363
|
+
}, {}>> & {
|
|
1364
1364
|
type: "bearer";
|
|
1365
1365
|
content: string;
|
|
1366
1366
|
}, never>;
|
|
@@ -1413,7 +1413,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1413
1413
|
};
|
|
1414
1414
|
};
|
|
1415
1415
|
};
|
|
1416
|
-
}>> & {
|
|
1416
|
+
}, {}>> & {
|
|
1417
1417
|
_tag: "Result";
|
|
1418
1418
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1419
1419
|
readonly user: {
|
|
@@ -1450,7 +1450,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1450
1450
|
};
|
|
1451
1451
|
};
|
|
1452
1452
|
};
|
|
1453
|
-
}>> & {
|
|
1453
|
+
}, {}>> & {
|
|
1454
1454
|
user: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1455
1455
|
readonly _id: {
|
|
1456
1456
|
readonly const: null;
|
|
@@ -1470,7 +1470,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1470
1470
|
readonly active: {
|
|
1471
1471
|
readonly type: "boolean";
|
|
1472
1472
|
};
|
|
1473
|
-
}>> & {
|
|
1473
|
+
}, {}>> & {
|
|
1474
1474
|
name: string;
|
|
1475
1475
|
_id: null;
|
|
1476
1476
|
roles: string[];
|
|
@@ -1484,7 +1484,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1484
1484
|
readonly content: {
|
|
1485
1485
|
readonly type: "string";
|
|
1486
1486
|
};
|
|
1487
|
-
}>> & {
|
|
1487
|
+
}, {}>> & {
|
|
1488
1488
|
type: string;
|
|
1489
1489
|
content: string;
|
|
1490
1490
|
}, never>;
|
|
@@ -1501,7 +1501,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1501
1501
|
readonly token: {
|
|
1502
1502
|
readonly type: "string";
|
|
1503
1503
|
};
|
|
1504
|
-
}>> & {
|
|
1504
|
+
}, {}>> & {
|
|
1505
1505
|
password: string;
|
|
1506
1506
|
token: string;
|
|
1507
1507
|
userId: string;
|
|
@@ -1532,7 +1532,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1532
1532
|
};
|
|
1533
1533
|
};
|
|
1534
1534
|
};
|
|
1535
|
-
}>> & {
|
|
1535
|
+
}, {}>> & {
|
|
1536
1536
|
_tag: "Error";
|
|
1537
1537
|
result: undefined;
|
|
1538
1538
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -1549,7 +1549,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1549
1549
|
readonly type: "object";
|
|
1550
1550
|
readonly additionalProperties: true;
|
|
1551
1551
|
};
|
|
1552
|
-
}>> & {
|
|
1552
|
+
}, {}>> & {
|
|
1553
1553
|
code: "RESOURCE_NOT_FOUND" | "MALFORMED_INPUT" | "USER_NOT_FOUND" | "ALREADY_ACTIVE_USER" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
1554
1554
|
httpStatus: 401 | 403 | 404 | 422;
|
|
1555
1555
|
message: string;
|
|
@@ -1568,7 +1568,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1568
1568
|
readonly type: "object";
|
|
1569
1569
|
readonly additionalProperties: true;
|
|
1570
1570
|
};
|
|
1571
|
-
}>> & {
|
|
1571
|
+
}, {}>> & {
|
|
1572
1572
|
code: "RESOURCE_NOT_FOUND" | "MALFORMED_INPUT" | "USER_NOT_FOUND" | "ALREADY_ACTIVE_USER" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
1573
1573
|
httpStatus: 401 | 403 | 404 | 422;
|
|
1574
1574
|
message: string;
|
|
@@ -1591,14 +1591,14 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1591
1591
|
};
|
|
1592
1592
|
};
|
|
1593
1593
|
};
|
|
1594
|
-
}>> & {
|
|
1594
|
+
}, {}>> & {
|
|
1595
1595
|
_tag: "Result";
|
|
1596
1596
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1597
1597
|
readonly userId: {
|
|
1598
1598
|
readonly type: "string";
|
|
1599
1599
|
readonly format: "objectid";
|
|
1600
1600
|
};
|
|
1601
|
-
}>> & {
|
|
1601
|
+
}, {}>> & {
|
|
1602
1602
|
userId: import("@aeriajs/core").ObjectId;
|
|
1603
1603
|
}, never>;
|
|
1604
1604
|
error: undefined;
|
|
@@ -1629,7 +1629,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1629
1629
|
};
|
|
1630
1630
|
};
|
|
1631
1631
|
};
|
|
1632
|
-
}>> & {
|
|
1632
|
+
}, {}>> & {
|
|
1633
1633
|
_tag: "Error";
|
|
1634
1634
|
result: undefined;
|
|
1635
1635
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -1646,7 +1646,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1646
1646
|
readonly type: "object";
|
|
1647
1647
|
readonly additionalProperties: true;
|
|
1648
1648
|
};
|
|
1649
|
-
}>> & {
|
|
1649
|
+
}, {}>> & {
|
|
1650
1650
|
code: "RESOURCE_NOT_FOUND" | "MALFORMED_INPUT" | "USER_NOT_FOUND" | "ALREADY_ACTIVE_USER" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
1651
1651
|
httpStatus: 401 | 403 | 404 | 422;
|
|
1652
1652
|
message: string;
|
|
@@ -1665,7 +1665,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1665
1665
|
readonly type: "object";
|
|
1666
1666
|
readonly additionalProperties: true;
|
|
1667
1667
|
};
|
|
1668
|
-
}>> & {
|
|
1668
|
+
}, {}>> & {
|
|
1669
1669
|
code: "RESOURCE_NOT_FOUND" | "MALFORMED_INPUT" | "USER_NOT_FOUND" | "ALREADY_ACTIVE_USER" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
1670
1670
|
httpStatus: 401 | 403 | 404 | 422;
|
|
1671
1671
|
message: string;
|
|
@@ -1688,14 +1688,14 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1688
1688
|
};
|
|
1689
1689
|
};
|
|
1690
1690
|
};
|
|
1691
|
-
}>> & {
|
|
1691
|
+
}, {}>> & {
|
|
1692
1692
|
_tag: "Result";
|
|
1693
1693
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
1694
1694
|
readonly userId: {
|
|
1695
1695
|
readonly type: "string";
|
|
1696
1696
|
readonly format: "objectid";
|
|
1697
1697
|
};
|
|
1698
|
-
}>> & {
|
|
1698
|
+
}, {}>> & {
|
|
1699
1699
|
userId: import("@aeriajs/core").ObjectId;
|
|
1700
1700
|
}, never>;
|
|
1701
1701
|
error: undefined;
|
|
@@ -1808,7 +1808,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1808
1808
|
readonly type: "string";
|
|
1809
1809
|
readonly format: "date-time";
|
|
1810
1810
|
};
|
|
1811
|
-
}>> & {
|
|
1811
|
+
}, {}>> & {
|
|
1812
1812
|
name: string;
|
|
1813
1813
|
password: string;
|
|
1814
1814
|
updated_at: Date;
|
|
@@ -1847,7 +1847,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1847
1847
|
};
|
|
1848
1848
|
};
|
|
1849
1849
|
};
|
|
1850
|
-
}>> & {
|
|
1850
|
+
}, {}>> & {
|
|
1851
1851
|
_tag: "Error";
|
|
1852
1852
|
result: undefined;
|
|
1853
1853
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -1864,7 +1864,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1864
1864
|
readonly type: "object";
|
|
1865
1865
|
readonly additionalProperties: true;
|
|
1866
1866
|
};
|
|
1867
|
-
}>> & {
|
|
1867
|
+
}, {}>> & {
|
|
1868
1868
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
1869
1869
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
1870
1870
|
message: string;
|
|
@@ -1883,7 +1883,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1883
1883
|
readonly type: "object";
|
|
1884
1884
|
readonly additionalProperties: true;
|
|
1885
1885
|
};
|
|
1886
|
-
}>> & {
|
|
1886
|
+
}, {}>> & {
|
|
1887
1887
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
1888
1888
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
1889
1889
|
message: string;
|
|
@@ -1916,7 +1916,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1916
1916
|
};
|
|
1917
1917
|
};
|
|
1918
1918
|
};
|
|
1919
|
-
}>> & {
|
|
1919
|
+
}, {}>> & {
|
|
1920
1920
|
_tag: "Error";
|
|
1921
1921
|
result: undefined;
|
|
1922
1922
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -1933,7 +1933,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1933
1933
|
readonly type: "object";
|
|
1934
1934
|
readonly additionalProperties: true;
|
|
1935
1935
|
};
|
|
1936
|
-
}>> & {
|
|
1936
|
+
}, {}>> & {
|
|
1937
1937
|
code: "OWNERSHIP_ERROR" | "MALFORMED_INPUT" | "SIGNUP_DISALLOWED";
|
|
1938
1938
|
httpStatus: 403 | 422;
|
|
1939
1939
|
message: string;
|
|
@@ -1952,7 +1952,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
1952
1952
|
readonly type: "object";
|
|
1953
1953
|
readonly additionalProperties: true;
|
|
1954
1954
|
};
|
|
1955
|
-
}>> & {
|
|
1955
|
+
}, {}>> & {
|
|
1956
1956
|
code: "OWNERSHIP_ERROR" | "MALFORMED_INPUT" | "SIGNUP_DISALLOWED";
|
|
1957
1957
|
httpStatus: 403 | 422;
|
|
1958
1958
|
message: string;
|
|
@@ -2079,7 +2079,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2079
2079
|
readonly result: {
|
|
2080
2080
|
readonly $ref: "user";
|
|
2081
2081
|
};
|
|
2082
|
-
}>> & {
|
|
2082
|
+
}, {}>> & {
|
|
2083
2083
|
_tag: "Result";
|
|
2084
2084
|
result: never;
|
|
2085
2085
|
error: undefined;
|
|
@@ -2110,7 +2110,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2110
2110
|
};
|
|
2111
2111
|
};
|
|
2112
2112
|
};
|
|
2113
|
-
}>> & {
|
|
2113
|
+
}, {}>> & {
|
|
2114
2114
|
_tag: "Error";
|
|
2115
2115
|
result: undefined;
|
|
2116
2116
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2127,7 +2127,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2127
2127
|
readonly type: "object";
|
|
2128
2128
|
readonly additionalProperties: true;
|
|
2129
2129
|
};
|
|
2130
|
-
}>> & {
|
|
2130
|
+
}, {}>> & {
|
|
2131
2131
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
2132
2132
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
2133
2133
|
message: string;
|
|
@@ -2146,7 +2146,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2146
2146
|
readonly type: "object";
|
|
2147
2147
|
readonly additionalProperties: true;
|
|
2148
2148
|
};
|
|
2149
|
-
}>> & {
|
|
2149
|
+
}, {}>> & {
|
|
2150
2150
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "TARGET_IMMUTABLE" | "MALFORMED_INPUT" | "UNIQUENESS_VIOLATED" | "EMPTY_TARGET" | "INVALID_PROPERTIES" | "MISSING_PROPERTIES" | "INVALID_DOCUMENT_ID" | "INVALID_TEMPFILE";
|
|
2151
2151
|
httpStatus: 400 | 403 | 404 | 422 | 500;
|
|
2152
2152
|
message: string;
|
|
@@ -2179,7 +2179,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2179
2179
|
};
|
|
2180
2180
|
};
|
|
2181
2181
|
};
|
|
2182
|
-
}>> & {
|
|
2182
|
+
}, {}>> & {
|
|
2183
2183
|
_tag: "Error";
|
|
2184
2184
|
result: undefined;
|
|
2185
2185
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2196,7 +2196,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2196
2196
|
readonly type: "object";
|
|
2197
2197
|
readonly additionalProperties: true;
|
|
2198
2198
|
};
|
|
2199
|
-
}>> & {
|
|
2199
|
+
}, {}>> & {
|
|
2200
2200
|
code: "OWNERSHIP_ERROR" | "MALFORMED_INPUT" | "SIGNUP_DISALLOWED";
|
|
2201
2201
|
httpStatus: 403 | 422;
|
|
2202
2202
|
message: string;
|
|
@@ -2215,7 +2215,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2215
2215
|
readonly type: "object";
|
|
2216
2216
|
readonly additionalProperties: true;
|
|
2217
2217
|
};
|
|
2218
|
-
}>> & {
|
|
2218
|
+
}, {}>> & {
|
|
2219
2219
|
code: "OWNERSHIP_ERROR" | "MALFORMED_INPUT" | "SIGNUP_DISALLOWED";
|
|
2220
2220
|
httpStatus: 403 | 422;
|
|
2221
2221
|
message: string;
|
|
@@ -2342,7 +2342,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2342
2342
|
readonly result: {
|
|
2343
2343
|
readonly $ref: "user";
|
|
2344
2344
|
};
|
|
2345
|
-
}>> & {
|
|
2345
|
+
}, {}>> & {
|
|
2346
2346
|
_tag: "Result";
|
|
2347
2347
|
result: never;
|
|
2348
2348
|
error: undefined;
|
|
@@ -2354,7 +2354,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2354
2354
|
readonly token: {
|
|
2355
2355
|
readonly type: "string";
|
|
2356
2356
|
};
|
|
2357
|
-
}>> & {
|
|
2357
|
+
}, {}>> & {
|
|
2358
2358
|
token: string;
|
|
2359
2359
|
userId: string;
|
|
2360
2360
|
}, never>>, context: Omit<Context, "token">) => ({} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2384,7 +2384,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2384
2384
|
};
|
|
2385
2385
|
};
|
|
2386
2386
|
};
|
|
2387
|
-
}>> & {
|
|
2387
|
+
}, {}>> & {
|
|
2388
2388
|
_tag: "Error";
|
|
2389
2389
|
result: undefined;
|
|
2390
2390
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2401,7 +2401,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2401
2401
|
readonly type: "object";
|
|
2402
2402
|
readonly additionalProperties: true;
|
|
2403
2403
|
};
|
|
2404
|
-
}>> & {
|
|
2404
|
+
}, {}>> & {
|
|
2405
2405
|
code: "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
2406
2406
|
httpStatus: 401 | 404 | 422;
|
|
2407
2407
|
message: string;
|
|
@@ -2420,7 +2420,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2420
2420
|
readonly type: "object";
|
|
2421
2421
|
readonly additionalProperties: true;
|
|
2422
2422
|
};
|
|
2423
|
-
}>> & {
|
|
2423
|
+
}, {}>> & {
|
|
2424
2424
|
code: "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
2425
2425
|
httpStatus: 401 | 404 | 422;
|
|
2426
2426
|
message: string;
|
|
@@ -2449,7 +2449,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2449
2449
|
};
|
|
2450
2450
|
};
|
|
2451
2451
|
};
|
|
2452
|
-
}>> & {
|
|
2452
|
+
}, {}>> & {
|
|
2453
2453
|
_tag: "Result";
|
|
2454
2454
|
result: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2455
2455
|
readonly name: {
|
|
@@ -2461,7 +2461,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2461
2461
|
readonly active: {
|
|
2462
2462
|
readonly type: "boolean";
|
|
2463
2463
|
};
|
|
2464
|
-
}>> & {
|
|
2464
|
+
}, {}>> & {
|
|
2465
2465
|
name: string;
|
|
2466
2466
|
email: string;
|
|
2467
2467
|
active: boolean;
|
|
@@ -2475,7 +2475,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2475
2475
|
readonly active: {
|
|
2476
2476
|
readonly type: "boolean";
|
|
2477
2477
|
};
|
|
2478
|
-
}>> & {
|
|
2478
|
+
}, {}>> & {
|
|
2479
2479
|
name: string;
|
|
2480
2480
|
email: string;
|
|
2481
2481
|
active: boolean;
|
|
@@ -2508,7 +2508,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2508
2508
|
};
|
|
2509
2509
|
};
|
|
2510
2510
|
};
|
|
2511
|
-
}>> & {
|
|
2511
|
+
}, {}>> & {
|
|
2512
2512
|
_tag: "Error";
|
|
2513
2513
|
result: undefined;
|
|
2514
2514
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2525,7 +2525,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2525
2525
|
readonly type: "object";
|
|
2526
2526
|
readonly additionalProperties: true;
|
|
2527
2527
|
};
|
|
2528
|
-
}>> & {
|
|
2528
|
+
}, {}>> & {
|
|
2529
2529
|
code: "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
2530
2530
|
httpStatus: 401 | 404 | 422;
|
|
2531
2531
|
message: string;
|
|
@@ -2544,7 +2544,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2544
2544
|
readonly type: "object";
|
|
2545
2545
|
readonly additionalProperties: true;
|
|
2546
2546
|
};
|
|
2547
|
-
}>> & {
|
|
2547
|
+
}, {}>> & {
|
|
2548
2548
|
code: "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN";
|
|
2549
2549
|
httpStatus: 401 | 404 | 422;
|
|
2550
2550
|
message: string;
|
|
@@ -2573,7 +2573,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2573
2573
|
};
|
|
2574
2574
|
};
|
|
2575
2575
|
};
|
|
2576
|
-
}>> & {
|
|
2576
|
+
}, {}>> & {
|
|
2577
2577
|
_tag: "Result";
|
|
2578
2578
|
result: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2579
2579
|
readonly name: {
|
|
@@ -2585,7 +2585,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2585
2585
|
readonly active: {
|
|
2586
2586
|
readonly type: "boolean";
|
|
2587
2587
|
};
|
|
2588
|
-
}>> & {
|
|
2588
|
+
}, {}>> & {
|
|
2589
2589
|
name: string;
|
|
2590
2590
|
email: string;
|
|
2591
2591
|
active: boolean;
|
|
@@ -2599,7 +2599,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2599
2599
|
readonly active: {
|
|
2600
2600
|
readonly type: "boolean";
|
|
2601
2601
|
};
|
|
2602
|
-
}>> & {
|
|
2602
|
+
}, {}>> & {
|
|
2603
2603
|
name: string;
|
|
2604
2604
|
email: string;
|
|
2605
2605
|
active: boolean;
|
|
@@ -2727,7 +2727,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2727
2727
|
readonly result: {
|
|
2728
2728
|
readonly $ref: "user";
|
|
2729
2729
|
};
|
|
2730
|
-
}>> & {
|
|
2730
|
+
}, {}>> & {
|
|
2731
2731
|
_tag: "Result";
|
|
2732
2732
|
result: never;
|
|
2733
2733
|
error: undefined;
|
|
@@ -2762,7 +2762,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2762
2762
|
};
|
|
2763
2763
|
};
|
|
2764
2764
|
};
|
|
2765
|
-
}>> & {
|
|
2765
|
+
}, {}>> & {
|
|
2766
2766
|
_tag: "Result";
|
|
2767
2767
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2768
2768
|
readonly _id: {
|
|
@@ -2783,7 +2783,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2783
2783
|
readonly active: {
|
|
2784
2784
|
readonly type: "boolean";
|
|
2785
2785
|
};
|
|
2786
|
-
}>> & {
|
|
2786
|
+
}, {}>> & {
|
|
2787
2787
|
name: string;
|
|
2788
2788
|
_id: null;
|
|
2789
2789
|
roles: string[];
|
|
@@ -2912,7 +2912,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2912
2912
|
readonly result: {
|
|
2913
2913
|
readonly $ref: "user";
|
|
2914
2914
|
};
|
|
2915
|
-
}>> & {
|
|
2915
|
+
}, {}>> & {
|
|
2916
2916
|
_tag: "Result";
|
|
2917
2917
|
result: never;
|
|
2918
2918
|
error: undefined;
|
|
@@ -2947,7 +2947,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2947
2947
|
};
|
|
2948
2948
|
};
|
|
2949
2949
|
};
|
|
2950
|
-
}>> & {
|
|
2950
|
+
}, {}>> & {
|
|
2951
2951
|
_tag: "Result";
|
|
2952
2952
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
2953
2953
|
readonly _id: {
|
|
@@ -2968,7 +2968,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2968
2968
|
readonly active: {
|
|
2969
2969
|
readonly type: "boolean";
|
|
2970
2970
|
};
|
|
2971
|
-
}>> & {
|
|
2971
|
+
}, {}>> & {
|
|
2972
2972
|
name: string;
|
|
2973
2973
|
_id: null;
|
|
2974
2974
|
roles: string[];
|
|
@@ -2985,7 +2985,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2985
2985
|
readonly redirect: {
|
|
2986
2986
|
readonly type: "string";
|
|
2987
2987
|
};
|
|
2988
|
-
}>> & {
|
|
2988
|
+
}, {}>> & {
|
|
2989
2989
|
userId: import("@aeriajs/core").ObjectId;
|
|
2990
2990
|
redirect: string;
|
|
2991
2991
|
}, never>, "userId"> & Partial<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -2996,7 +2996,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
2996
2996
|
readonly redirect: {
|
|
2997
2997
|
readonly type: "string";
|
|
2998
2998
|
};
|
|
2999
|
-
}>> & {
|
|
2999
|
+
}, {}>> & {
|
|
3000
3000
|
userId: import("@aeriajs/core").ObjectId;
|
|
3001
3001
|
redirect: string;
|
|
3002
3002
|
}, never>>, context: Omit<Context, "token">) => ({} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3026,7 +3026,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3026
3026
|
};
|
|
3027
3027
|
};
|
|
3028
3028
|
};
|
|
3029
|
-
}>> & {
|
|
3029
|
+
}, {}>> & {
|
|
3030
3030
|
_tag: "Error";
|
|
3031
3031
|
result: undefined;
|
|
3032
3032
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3043,7 +3043,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3043
3043
|
readonly type: "object";
|
|
3044
3044
|
readonly additionalProperties: true;
|
|
3045
3045
|
};
|
|
3046
|
-
}>> & {
|
|
3046
|
+
}, {}>> & {
|
|
3047
3047
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3048
3048
|
httpStatus: 400 | 403 | 404;
|
|
3049
3049
|
message: string;
|
|
@@ -3062,7 +3062,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3062
3062
|
readonly type: "object";
|
|
3063
3063
|
readonly additionalProperties: true;
|
|
3064
3064
|
};
|
|
3065
|
-
}>> & {
|
|
3065
|
+
}, {}>> & {
|
|
3066
3066
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3067
3067
|
httpStatus: 400 | 403 | 404;
|
|
3068
3068
|
message: string;
|
|
@@ -3095,7 +3095,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3095
3095
|
};
|
|
3096
3096
|
};
|
|
3097
3097
|
};
|
|
3098
|
-
}>> & {
|
|
3098
|
+
}, {}>> & {
|
|
3099
3099
|
_tag: "Error";
|
|
3100
3100
|
result: undefined;
|
|
3101
3101
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3112,7 +3112,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3112
3112
|
readonly type: "object";
|
|
3113
3113
|
readonly additionalProperties: true;
|
|
3114
3114
|
};
|
|
3115
|
-
}>> & {
|
|
3115
|
+
}, {}>> & {
|
|
3116
3116
|
code: "ALREADY_ACTIVE_USER" | "INVALID_LINK";
|
|
3117
3117
|
httpStatus: 400 | 403;
|
|
3118
3118
|
message: string;
|
|
@@ -3131,7 +3131,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3131
3131
|
readonly type: "object";
|
|
3132
3132
|
readonly additionalProperties: true;
|
|
3133
3133
|
};
|
|
3134
|
-
}>> & {
|
|
3134
|
+
}, {}>> & {
|
|
3135
3135
|
code: "ALREADY_ACTIVE_USER" | "INVALID_LINK";
|
|
3136
3136
|
httpStatus: 400 | 403;
|
|
3137
3137
|
message: string;
|
|
@@ -3153,13 +3153,13 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3153
3153
|
};
|
|
3154
3154
|
};
|
|
3155
3155
|
};
|
|
3156
|
-
}>> & {
|
|
3156
|
+
}, {}>> & {
|
|
3157
3157
|
_tag: "Result";
|
|
3158
3158
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3159
3159
|
readonly url: {
|
|
3160
3160
|
readonly type: "string";
|
|
3161
3161
|
};
|
|
3162
|
-
}>> & {
|
|
3162
|
+
}, {}>> & {
|
|
3163
3163
|
url: string;
|
|
3164
3164
|
}, never>;
|
|
3165
3165
|
error: undefined;
|
|
@@ -3190,7 +3190,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3190
3190
|
};
|
|
3191
3191
|
};
|
|
3192
3192
|
};
|
|
3193
|
-
}>> & {
|
|
3193
|
+
}, {}>> & {
|
|
3194
3194
|
_tag: "Error";
|
|
3195
3195
|
result: undefined;
|
|
3196
3196
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3207,7 +3207,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3207
3207
|
readonly type: "object";
|
|
3208
3208
|
readonly additionalProperties: true;
|
|
3209
3209
|
};
|
|
3210
|
-
}>> & {
|
|
3210
|
+
}, {}>> & {
|
|
3211
3211
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3212
3212
|
httpStatus: 400 | 403 | 404;
|
|
3213
3213
|
message: string;
|
|
@@ -3226,7 +3226,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3226
3226
|
readonly type: "object";
|
|
3227
3227
|
readonly additionalProperties: true;
|
|
3228
3228
|
};
|
|
3229
|
-
}>> & {
|
|
3229
|
+
}, {}>> & {
|
|
3230
3230
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3231
3231
|
httpStatus: 400 | 403 | 404;
|
|
3232
3232
|
message: string;
|
|
@@ -3259,7 +3259,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3259
3259
|
};
|
|
3260
3260
|
};
|
|
3261
3261
|
};
|
|
3262
|
-
}>> & {
|
|
3262
|
+
}, {}>> & {
|
|
3263
3263
|
_tag: "Error";
|
|
3264
3264
|
result: undefined;
|
|
3265
3265
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3276,7 +3276,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3276
3276
|
readonly type: "object";
|
|
3277
3277
|
readonly additionalProperties: true;
|
|
3278
3278
|
};
|
|
3279
|
-
}>> & {
|
|
3279
|
+
}, {}>> & {
|
|
3280
3280
|
code: "ALREADY_ACTIVE_USER" | "INVALID_LINK";
|
|
3281
3281
|
httpStatus: 400 | 403;
|
|
3282
3282
|
message: string;
|
|
@@ -3295,7 +3295,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3295
3295
|
readonly type: "object";
|
|
3296
3296
|
readonly additionalProperties: true;
|
|
3297
3297
|
};
|
|
3298
|
-
}>> & {
|
|
3298
|
+
}, {}>> & {
|
|
3299
3299
|
code: "ALREADY_ACTIVE_USER" | "INVALID_LINK";
|
|
3300
3300
|
httpStatus: 400 | 403;
|
|
3301
3301
|
message: string;
|
|
@@ -3317,13 +3317,13 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3317
3317
|
};
|
|
3318
3318
|
};
|
|
3319
3319
|
};
|
|
3320
|
-
}>> & {
|
|
3320
|
+
}, {}>> & {
|
|
3321
3321
|
_tag: "Result";
|
|
3322
3322
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3323
3323
|
readonly url: {
|
|
3324
3324
|
readonly type: "string";
|
|
3325
3325
|
};
|
|
3326
|
-
}>> & {
|
|
3326
|
+
}, {}>> & {
|
|
3327
3327
|
url: string;
|
|
3328
3328
|
}, never>;
|
|
3329
3329
|
error: undefined;
|
|
@@ -3336,7 +3336,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3336
3336
|
readonly redirect: {
|
|
3337
3337
|
readonly type: "string";
|
|
3338
3338
|
};
|
|
3339
|
-
}>> & {
|
|
3339
|
+
}, {}>> & {
|
|
3340
3340
|
userId: import("@aeriajs/core").ObjectId;
|
|
3341
3341
|
redirect: string;
|
|
3342
3342
|
}, never>, "userId"> & Partial<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3347,7 +3347,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3347
3347
|
readonly redirect: {
|
|
3348
3348
|
readonly type: "string";
|
|
3349
3349
|
};
|
|
3350
|
-
}>> & {
|
|
3350
|
+
}, {}>> & {
|
|
3351
3351
|
userId: import("@aeriajs/core").ObjectId;
|
|
3352
3352
|
redirect: string;
|
|
3353
3353
|
}, never>>, context: Omit<Context, "token">) => ({} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3377,7 +3377,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3377
3377
|
};
|
|
3378
3378
|
};
|
|
3379
3379
|
};
|
|
3380
|
-
}>> & {
|
|
3380
|
+
}, {}>> & {
|
|
3381
3381
|
_tag: "Error";
|
|
3382
3382
|
result: undefined;
|
|
3383
3383
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3394,7 +3394,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3394
3394
|
readonly type: "object";
|
|
3395
3395
|
readonly additionalProperties: true;
|
|
3396
3396
|
};
|
|
3397
|
-
}>> & {
|
|
3397
|
+
}, {}>> & {
|
|
3398
3398
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3399
3399
|
httpStatus: 400 | 403 | 404;
|
|
3400
3400
|
message: string;
|
|
@@ -3413,7 +3413,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3413
3413
|
readonly type: "object";
|
|
3414
3414
|
readonly additionalProperties: true;
|
|
3415
3415
|
};
|
|
3416
|
-
}>> & {
|
|
3416
|
+
}, {}>> & {
|
|
3417
3417
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3418
3418
|
httpStatus: 400 | 403 | 404;
|
|
3419
3419
|
message: string;
|
|
@@ -3446,7 +3446,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3446
3446
|
};
|
|
3447
3447
|
};
|
|
3448
3448
|
};
|
|
3449
|
-
}>> & {
|
|
3449
|
+
}, {}>> & {
|
|
3450
3450
|
_tag: "Error";
|
|
3451
3451
|
result: undefined;
|
|
3452
3452
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3463,7 +3463,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3463
3463
|
readonly type: "object";
|
|
3464
3464
|
readonly additionalProperties: true;
|
|
3465
3465
|
};
|
|
3466
|
-
}>> & {
|
|
3466
|
+
}, {}>> & {
|
|
3467
3467
|
code: "USER_NOT_ACTIVE";
|
|
3468
3468
|
httpStatus: 403;
|
|
3469
3469
|
message: string;
|
|
@@ -3482,7 +3482,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3482
3482
|
readonly type: "object";
|
|
3483
3483
|
readonly additionalProperties: true;
|
|
3484
3484
|
};
|
|
3485
|
-
}>> & {
|
|
3485
|
+
}, {}>> & {
|
|
3486
3486
|
code: "USER_NOT_ACTIVE";
|
|
3487
3487
|
httpStatus: 403;
|
|
3488
3488
|
message: string;
|
|
@@ -3504,13 +3504,13 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3504
3504
|
};
|
|
3505
3505
|
};
|
|
3506
3506
|
};
|
|
3507
|
-
}>> & {
|
|
3507
|
+
}, {}>> & {
|
|
3508
3508
|
_tag: "Result";
|
|
3509
3509
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3510
3510
|
readonly url: {
|
|
3511
3511
|
readonly type: "string";
|
|
3512
3512
|
};
|
|
3513
|
-
}>> & {
|
|
3513
|
+
}, {}>> & {
|
|
3514
3514
|
url: string;
|
|
3515
3515
|
}, never>;
|
|
3516
3516
|
error: undefined;
|
|
@@ -3541,7 +3541,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3541
3541
|
};
|
|
3542
3542
|
};
|
|
3543
3543
|
};
|
|
3544
|
-
}>> & {
|
|
3544
|
+
}, {}>> & {
|
|
3545
3545
|
_tag: "Error";
|
|
3546
3546
|
result: undefined;
|
|
3547
3547
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3558,7 +3558,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3558
3558
|
readonly type: "object";
|
|
3559
3559
|
readonly additionalProperties: true;
|
|
3560
3560
|
};
|
|
3561
|
-
}>> & {
|
|
3561
|
+
}, {}>> & {
|
|
3562
3562
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3563
3563
|
httpStatus: 400 | 403 | 404;
|
|
3564
3564
|
message: string;
|
|
@@ -3577,7 +3577,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3577
3577
|
readonly type: "object";
|
|
3578
3578
|
readonly additionalProperties: true;
|
|
3579
3579
|
};
|
|
3580
|
-
}>> & {
|
|
3580
|
+
}, {}>> & {
|
|
3581
3581
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3582
3582
|
httpStatus: 400 | 403 | 404;
|
|
3583
3583
|
message: string;
|
|
@@ -3610,7 +3610,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3610
3610
|
};
|
|
3611
3611
|
};
|
|
3612
3612
|
};
|
|
3613
|
-
}>> & {
|
|
3613
|
+
}, {}>> & {
|
|
3614
3614
|
_tag: "Error";
|
|
3615
3615
|
result: undefined;
|
|
3616
3616
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3627,7 +3627,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3627
3627
|
readonly type: "object";
|
|
3628
3628
|
readonly additionalProperties: true;
|
|
3629
3629
|
};
|
|
3630
|
-
}>> & {
|
|
3630
|
+
}, {}>> & {
|
|
3631
3631
|
code: "USER_NOT_ACTIVE";
|
|
3632
3632
|
httpStatus: 403;
|
|
3633
3633
|
message: string;
|
|
@@ -3646,7 +3646,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3646
3646
|
readonly type: "object";
|
|
3647
3647
|
readonly additionalProperties: true;
|
|
3648
3648
|
};
|
|
3649
|
-
}>> & {
|
|
3649
|
+
}, {}>> & {
|
|
3650
3650
|
code: "USER_NOT_ACTIVE";
|
|
3651
3651
|
httpStatus: 403;
|
|
3652
3652
|
message: string;
|
|
@@ -3668,13 +3668,13 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3668
3668
|
};
|
|
3669
3669
|
};
|
|
3670
3670
|
};
|
|
3671
|
-
}>> & {
|
|
3671
|
+
}, {}>> & {
|
|
3672
3672
|
_tag: "Result";
|
|
3673
3673
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3674
3674
|
readonly url: {
|
|
3675
3675
|
readonly type: "string";
|
|
3676
3676
|
};
|
|
3677
|
-
}>> & {
|
|
3677
|
+
}, {}>> & {
|
|
3678
3678
|
url: string;
|
|
3679
3679
|
}, never>;
|
|
3680
3680
|
error: undefined;
|
|
@@ -3690,7 +3690,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3690
3690
|
readonly token: {
|
|
3691
3691
|
readonly type: "string";
|
|
3692
3692
|
};
|
|
3693
|
-
}>> & {
|
|
3693
|
+
}, {}>> & {
|
|
3694
3694
|
password: string;
|
|
3695
3695
|
token: string;
|
|
3696
3696
|
userId: import("@aeriajs/core").ObjectId;
|
|
@@ -3721,7 +3721,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3721
3721
|
};
|
|
3722
3722
|
};
|
|
3723
3723
|
};
|
|
3724
|
-
}>> & {
|
|
3724
|
+
}, {}>> & {
|
|
3725
3725
|
_tag: "Error";
|
|
3726
3726
|
result: undefined;
|
|
3727
3727
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3738,7 +3738,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3738
3738
|
readonly type: "object";
|
|
3739
3739
|
readonly additionalProperties: true;
|
|
3740
3740
|
};
|
|
3741
|
-
}>> & {
|
|
3741
|
+
}, {}>> & {
|
|
3742
3742
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3743
3743
|
httpStatus: 400 | 403 | 404;
|
|
3744
3744
|
message: string;
|
|
@@ -3757,7 +3757,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3757
3757
|
readonly type: "object";
|
|
3758
3758
|
readonly additionalProperties: true;
|
|
3759
3759
|
};
|
|
3760
|
-
}>> & {
|
|
3760
|
+
}, {}>> & {
|
|
3761
3761
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3762
3762
|
httpStatus: 400 | 403 | 404;
|
|
3763
3763
|
message: string;
|
|
@@ -3790,7 +3790,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3790
3790
|
};
|
|
3791
3791
|
};
|
|
3792
3792
|
};
|
|
3793
|
-
}>> & {
|
|
3793
|
+
}, {}>> & {
|
|
3794
3794
|
_tag: "Error";
|
|
3795
3795
|
result: undefined;
|
|
3796
3796
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3807,7 +3807,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3807
3807
|
readonly type: "object";
|
|
3808
3808
|
readonly additionalProperties: true;
|
|
3809
3809
|
};
|
|
3810
|
-
}>> & {
|
|
3810
|
+
}, {}>> & {
|
|
3811
3811
|
code: "MALFORMED_INPUT" | "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN" | "USER_NOT_ACTIVE";
|
|
3812
3812
|
httpStatus: 401 | 403 | 404 | 422;
|
|
3813
3813
|
message: string;
|
|
@@ -3826,7 +3826,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3826
3826
|
readonly type: "object";
|
|
3827
3827
|
readonly additionalProperties: true;
|
|
3828
3828
|
};
|
|
3829
|
-
}>> & {
|
|
3829
|
+
}, {}>> & {
|
|
3830
3830
|
code: "MALFORMED_INPUT" | "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN" | "USER_NOT_ACTIVE";
|
|
3831
3831
|
httpStatus: 401 | 403 | 404 | 422;
|
|
3832
3832
|
message: string;
|
|
@@ -3849,14 +3849,14 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3849
3849
|
};
|
|
3850
3850
|
};
|
|
3851
3851
|
};
|
|
3852
|
-
}>> & {
|
|
3852
|
+
}, {}>> & {
|
|
3853
3853
|
_tag: "Result";
|
|
3854
3854
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3855
3855
|
readonly userId: {
|
|
3856
3856
|
readonly type: "string";
|
|
3857
3857
|
readonly format: "objectid";
|
|
3858
3858
|
};
|
|
3859
|
-
}>> & {
|
|
3859
|
+
}, {}>> & {
|
|
3860
3860
|
userId: import("@aeriajs/core").ObjectId;
|
|
3861
3861
|
}, never>;
|
|
3862
3862
|
error: undefined;
|
|
@@ -3887,7 +3887,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3887
3887
|
};
|
|
3888
3888
|
};
|
|
3889
3889
|
};
|
|
3890
|
-
}>> & {
|
|
3890
|
+
}, {}>> & {
|
|
3891
3891
|
_tag: "Error";
|
|
3892
3892
|
result: undefined;
|
|
3893
3893
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3904,7 +3904,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3904
3904
|
readonly type: "object";
|
|
3905
3905
|
readonly additionalProperties: true;
|
|
3906
3906
|
};
|
|
3907
|
-
}>> & {
|
|
3907
|
+
}, {}>> & {
|
|
3908
3908
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3909
3909
|
httpStatus: 400 | 403 | 404;
|
|
3910
3910
|
message: string;
|
|
@@ -3923,7 +3923,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3923
3923
|
readonly type: "object";
|
|
3924
3924
|
readonly additionalProperties: true;
|
|
3925
3925
|
};
|
|
3926
|
-
}>> & {
|
|
3926
|
+
}, {}>> & {
|
|
3927
3927
|
code: "RESOURCE_NOT_FOUND" | "INSECURE_OPERATOR" | "OWNERSHIP_ERROR" | "MALFORMED_INPUT";
|
|
3928
3928
|
httpStatus: 400 | 403 | 404;
|
|
3929
3929
|
message: string;
|
|
@@ -3956,7 +3956,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3956
3956
|
};
|
|
3957
3957
|
};
|
|
3958
3958
|
};
|
|
3959
|
-
}>> & {
|
|
3959
|
+
}, {}>> & {
|
|
3960
3960
|
_tag: "Error";
|
|
3961
3961
|
result: undefined;
|
|
3962
3962
|
error: Pick<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
@@ -3973,7 +3973,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3973
3973
|
readonly type: "object";
|
|
3974
3974
|
readonly additionalProperties: true;
|
|
3975
3975
|
};
|
|
3976
|
-
}>> & {
|
|
3976
|
+
}, {}>> & {
|
|
3977
3977
|
code: "MALFORMED_INPUT" | "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN" | "USER_NOT_ACTIVE";
|
|
3978
3978
|
httpStatus: 401 | 403 | 404 | 422;
|
|
3979
3979
|
message: string;
|
|
@@ -3992,7 +3992,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
3992
3992
|
readonly type: "object";
|
|
3993
3993
|
readonly additionalProperties: true;
|
|
3994
3994
|
};
|
|
3995
|
-
}>> & {
|
|
3995
|
+
}, {}>> & {
|
|
3996
3996
|
code: "MALFORMED_INPUT" | "USER_NOT_FOUND" | "INVALID_LINK" | "INVALID_TOKEN" | "USER_NOT_ACTIVE";
|
|
3997
3997
|
httpStatus: 401 | 403 | 404 | 422;
|
|
3998
3998
|
message: string;
|
|
@@ -4015,14 +4015,14 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
|
|
|
4015
4015
|
};
|
|
4016
4016
|
};
|
|
4017
4017
|
};
|
|
4018
|
-
}>> & {
|
|
4018
|
+
}, {}>> & {
|
|
4019
4019
|
_tag: "Result";
|
|
4020
4020
|
result: {} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
4021
4021
|
readonly userId: {
|
|
4022
4022
|
readonly type: "string";
|
|
4023
4023
|
readonly format: "objectid";
|
|
4024
4024
|
};
|
|
4025
|
-
}>> & {
|
|
4025
|
+
}, {}>> & {
|
|
4026
4026
|
userId: import("@aeriajs/core").ObjectId;
|
|
4027
4027
|
}, never>;
|
|
4028
4028
|
error: undefined;
|