@pcontext/api 0.0.2 → 0.0.3
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/app.d.mts +158 -158
- package/dist/client.d.mts +79 -79
- package/dist/modules/doc/doc.route.d.mts +49 -49
- package/dist/modules/rank/rank.route.d.mts +7 -7
- package/dist/modules/task/task.route.d.mts +14 -14
- package/dist/modules/user/infrastructure/user.po.d.mts +1 -1
- package/dist/modules/user/interfaces/admin.route.d.mts +34 -34
- package/dist/modules/user/interfaces/user.dto.d.mts +7 -7
- package/dist/modules/user/interfaces/user.route.d.mts +9 -9
- package/dist/modules/user/interfaces/user.vo.d.mts +1 -1
- package/dist/shared/db/connection.d.mts +1 -1
- package/dist/shared/utils/validator.d.mts +21 -21
- package/package.json +3 -4
|
@@ -1279,7 +1279,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1279
1279
|
fatal?: boolean | undefined | undefined;
|
|
1280
1280
|
} | {
|
|
1281
1281
|
code: "invalid_string";
|
|
1282
|
-
validation: "
|
|
1282
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1283
1283
|
includes: string;
|
|
1284
1284
|
position?: number | undefined | undefined;
|
|
1285
1285
|
} | {
|
|
@@ -1385,7 +1385,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1385
1385
|
fatal?: boolean | undefined | undefined;
|
|
1386
1386
|
} | {
|
|
1387
1387
|
code: "invalid_string";
|
|
1388
|
-
validation: "
|
|
1388
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1389
1389
|
includes: string;
|
|
1390
1390
|
position?: number | undefined | undefined;
|
|
1391
1391
|
} | {
|
|
@@ -1525,7 +1525,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1525
1525
|
fatal?: boolean | undefined | undefined;
|
|
1526
1526
|
} | {
|
|
1527
1527
|
code: "invalid_string";
|
|
1528
|
-
validation: "
|
|
1528
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1529
1529
|
includes: string;
|
|
1530
1530
|
position?: number | undefined | undefined;
|
|
1531
1531
|
} | {
|
|
@@ -1631,7 +1631,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1631
1631
|
fatal?: boolean | undefined | undefined;
|
|
1632
1632
|
} | {
|
|
1633
1633
|
code: "invalid_string";
|
|
1634
|
-
validation: "
|
|
1634
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1635
1635
|
includes: string;
|
|
1636
1636
|
position?: number | undefined | undefined;
|
|
1637
1637
|
} | {
|
|
@@ -1758,7 +1758,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1758
1758
|
fatal?: boolean | undefined | undefined;
|
|
1759
1759
|
} | {
|
|
1760
1760
|
code: "invalid_string";
|
|
1761
|
-
validation: "
|
|
1761
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1762
1762
|
includes: string;
|
|
1763
1763
|
position?: number | undefined | undefined;
|
|
1764
1764
|
} | {
|
|
@@ -1864,7 +1864,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1864
1864
|
fatal?: boolean | undefined | undefined;
|
|
1865
1865
|
} | {
|
|
1866
1866
|
code: "invalid_string";
|
|
1867
|
-
validation: "
|
|
1867
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1868
1868
|
includes: string;
|
|
1869
1869
|
position?: number | undefined | undefined;
|
|
1870
1870
|
} | {
|
|
@@ -1943,7 +1943,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1943
1943
|
fatal?: boolean | undefined | undefined;
|
|
1944
1944
|
} | {
|
|
1945
1945
|
code: "invalid_string";
|
|
1946
|
-
validation: "
|
|
1946
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1947
1947
|
includes: string;
|
|
1948
1948
|
position?: number | undefined | undefined;
|
|
1949
1949
|
} | {
|
|
@@ -3309,7 +3309,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3309
3309
|
fatal?: boolean | undefined | undefined;
|
|
3310
3310
|
} | {
|
|
3311
3311
|
code: "invalid_string";
|
|
3312
|
-
validation: "
|
|
3312
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3313
3313
|
includes: string;
|
|
3314
3314
|
position?: number | undefined | undefined;
|
|
3315
3315
|
} | {
|
|
@@ -3415,7 +3415,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3415
3415
|
fatal?: boolean | undefined | undefined;
|
|
3416
3416
|
} | {
|
|
3417
3417
|
code: "invalid_string";
|
|
3418
|
-
validation: "
|
|
3418
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3419
3419
|
includes: string;
|
|
3420
3420
|
position?: number | undefined | undefined;
|
|
3421
3421
|
} | {
|
|
@@ -3555,7 +3555,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3555
3555
|
fatal?: boolean | undefined | undefined;
|
|
3556
3556
|
} | {
|
|
3557
3557
|
code: "invalid_string";
|
|
3558
|
-
validation: "
|
|
3558
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3559
3559
|
includes: string;
|
|
3560
3560
|
position?: number | undefined | undefined;
|
|
3561
3561
|
} | {
|
|
@@ -3661,7 +3661,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3661
3661
|
fatal?: boolean | undefined | undefined;
|
|
3662
3662
|
} | {
|
|
3663
3663
|
code: "invalid_string";
|
|
3664
|
-
validation: "
|
|
3664
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3665
3665
|
includes: string;
|
|
3666
3666
|
position?: number | undefined | undefined;
|
|
3667
3667
|
} | {
|
|
@@ -3788,7 +3788,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3788
3788
|
fatal?: boolean | undefined | undefined;
|
|
3789
3789
|
} | {
|
|
3790
3790
|
code: "invalid_string";
|
|
3791
|
-
validation: "
|
|
3791
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3792
3792
|
includes: string;
|
|
3793
3793
|
position?: number | undefined | undefined;
|
|
3794
3794
|
} | {
|
|
@@ -3894,7 +3894,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3894
3894
|
fatal?: boolean | undefined | undefined;
|
|
3895
3895
|
} | {
|
|
3896
3896
|
code: "invalid_string";
|
|
3897
|
-
validation: "
|
|
3897
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3898
3898
|
includes: string;
|
|
3899
3899
|
position?: number | undefined | undefined;
|
|
3900
3900
|
} | {
|
|
@@ -3973,7 +3973,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3973
3973
|
fatal?: boolean | undefined | undefined;
|
|
3974
3974
|
} | {
|
|
3975
3975
|
code: "invalid_string";
|
|
3976
|
-
validation: "
|
|
3976
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3977
3977
|
includes: string;
|
|
3978
3978
|
position?: number | undefined | undefined;
|
|
3979
3979
|
} | {
|
|
@@ -124,7 +124,7 @@ declare const userPg: drizzle_orm_pg_core0.PgTableWithColumns<{
|
|
|
124
124
|
tableName: "user";
|
|
125
125
|
dataType: "string";
|
|
126
126
|
columnType: "PgEnumColumn";
|
|
127
|
-
data: "
|
|
127
|
+
data: "user" | "admin";
|
|
128
128
|
driverParam: string;
|
|
129
129
|
notNull: true;
|
|
130
130
|
hasDefault: true;
|
|
@@ -1278,7 +1278,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1278
1278
|
fatal?: boolean | undefined | undefined;
|
|
1279
1279
|
} | {
|
|
1280
1280
|
code: "invalid_string";
|
|
1281
|
-
validation: "
|
|
1281
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1282
1282
|
includes: string;
|
|
1283
1283
|
position?: number | undefined | undefined;
|
|
1284
1284
|
} | {
|
|
@@ -1384,7 +1384,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1384
1384
|
fatal?: boolean | undefined | undefined;
|
|
1385
1385
|
} | {
|
|
1386
1386
|
code: "invalid_string";
|
|
1387
|
-
validation: "
|
|
1387
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1388
1388
|
includes: string;
|
|
1389
1389
|
position?: number | undefined | undefined;
|
|
1390
1390
|
} | {
|
|
@@ -1524,7 +1524,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1524
1524
|
fatal?: boolean | undefined | undefined;
|
|
1525
1525
|
} | {
|
|
1526
1526
|
code: "invalid_string";
|
|
1527
|
-
validation: "
|
|
1527
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1528
1528
|
includes: string;
|
|
1529
1529
|
position?: number | undefined | undefined;
|
|
1530
1530
|
} | {
|
|
@@ -1630,7 +1630,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1630
1630
|
fatal?: boolean | undefined | undefined;
|
|
1631
1631
|
} | {
|
|
1632
1632
|
code: "invalid_string";
|
|
1633
|
-
validation: "
|
|
1633
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1634
1634
|
includes: string;
|
|
1635
1635
|
position?: number | undefined | undefined;
|
|
1636
1636
|
} | {
|
|
@@ -1757,7 +1757,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1757
1757
|
fatal?: boolean | undefined | undefined;
|
|
1758
1758
|
} | {
|
|
1759
1759
|
code: "invalid_string";
|
|
1760
|
-
validation: "
|
|
1760
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1761
1761
|
includes: string;
|
|
1762
1762
|
position?: number | undefined | undefined;
|
|
1763
1763
|
} | {
|
|
@@ -1863,7 +1863,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1863
1863
|
fatal?: boolean | undefined | undefined;
|
|
1864
1864
|
} | {
|
|
1865
1865
|
code: "invalid_string";
|
|
1866
|
-
validation: "
|
|
1866
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1867
1867
|
includes: string;
|
|
1868
1868
|
position?: number | undefined | undefined;
|
|
1869
1869
|
} | {
|
|
@@ -1942,7 +1942,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
1942
1942
|
fatal?: boolean | undefined | undefined;
|
|
1943
1943
|
} | {
|
|
1944
1944
|
code: "invalid_string";
|
|
1945
|
-
validation: "
|
|
1945
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
1946
1946
|
includes: string;
|
|
1947
1947
|
position?: number | undefined | undefined;
|
|
1948
1948
|
} | {
|
|
@@ -2010,7 +2010,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
2010
2010
|
name: string;
|
|
2011
2011
|
phone: string;
|
|
2012
2012
|
email: string;
|
|
2013
|
-
role: "
|
|
2013
|
+
role: "user" | "admin";
|
|
2014
2014
|
status: "active" | "inactive";
|
|
2015
2015
|
createdAt: number;
|
|
2016
2016
|
updatedAt: number;
|
|
@@ -3295,7 +3295,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3295
3295
|
fatal?: boolean | undefined | undefined;
|
|
3296
3296
|
} | {
|
|
3297
3297
|
code: "invalid_string";
|
|
3298
|
-
validation: "
|
|
3298
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3299
3299
|
includes: string;
|
|
3300
3300
|
position?: number | undefined | undefined;
|
|
3301
3301
|
} | {
|
|
@@ -3401,7 +3401,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3401
3401
|
fatal?: boolean | undefined | undefined;
|
|
3402
3402
|
} | {
|
|
3403
3403
|
code: "invalid_string";
|
|
3404
|
-
validation: "
|
|
3404
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3405
3405
|
includes: string;
|
|
3406
3406
|
position?: number | undefined | undefined;
|
|
3407
3407
|
} | {
|
|
@@ -3541,7 +3541,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3541
3541
|
fatal?: boolean | undefined | undefined;
|
|
3542
3542
|
} | {
|
|
3543
3543
|
code: "invalid_string";
|
|
3544
|
-
validation: "
|
|
3544
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3545
3545
|
includes: string;
|
|
3546
3546
|
position?: number | undefined | undefined;
|
|
3547
3547
|
} | {
|
|
@@ -3647,7 +3647,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3647
3647
|
fatal?: boolean | undefined | undefined;
|
|
3648
3648
|
} | {
|
|
3649
3649
|
code: "invalid_string";
|
|
3650
|
-
validation: "
|
|
3650
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3651
3651
|
includes: string;
|
|
3652
3652
|
position?: number | undefined | undefined;
|
|
3653
3653
|
} | {
|
|
@@ -3774,7 +3774,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3774
3774
|
fatal?: boolean | undefined | undefined;
|
|
3775
3775
|
} | {
|
|
3776
3776
|
code: "invalid_string";
|
|
3777
|
-
validation: "
|
|
3777
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3778
3778
|
includes: string;
|
|
3779
3779
|
position?: number | undefined | undefined;
|
|
3780
3780
|
} | {
|
|
@@ -3880,7 +3880,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3880
3880
|
fatal?: boolean | undefined | undefined;
|
|
3881
3881
|
} | {
|
|
3882
3882
|
code: "invalid_string";
|
|
3883
|
-
validation: "
|
|
3883
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3884
3884
|
includes: string;
|
|
3885
3885
|
position?: number | undefined | undefined;
|
|
3886
3886
|
} | {
|
|
@@ -3959,7 +3959,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
3959
3959
|
fatal?: boolean | undefined | undefined;
|
|
3960
3960
|
} | {
|
|
3961
3961
|
code: "invalid_string";
|
|
3962
|
-
validation: "
|
|
3962
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
3963
3963
|
includes: string;
|
|
3964
3964
|
position?: number | undefined | undefined;
|
|
3965
3965
|
} | {
|
|
@@ -4026,7 +4026,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
4026
4026
|
name: string;
|
|
4027
4027
|
phone: string;
|
|
4028
4028
|
email: string;
|
|
4029
|
-
role: "
|
|
4029
|
+
role: "user" | "admin";
|
|
4030
4030
|
status: "active" | "inactive";
|
|
4031
4031
|
createdAt: number;
|
|
4032
4032
|
updatedAt: number;
|
|
@@ -4058,7 +4058,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
4058
4058
|
name: string;
|
|
4059
4059
|
phone: string;
|
|
4060
4060
|
email: string;
|
|
4061
|
-
role: "
|
|
4061
|
+
role: "user" | "admin";
|
|
4062
4062
|
status: "active" | "inactive";
|
|
4063
4063
|
createdAt: number;
|
|
4064
4064
|
updatedAt: number;
|
|
@@ -5364,7 +5364,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
5364
5364
|
fatal?: boolean | undefined | undefined;
|
|
5365
5365
|
} | {
|
|
5366
5366
|
code: "invalid_string";
|
|
5367
|
-
validation: "
|
|
5367
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
5368
5368
|
includes: string;
|
|
5369
5369
|
position?: number | undefined | undefined;
|
|
5370
5370
|
} | {
|
|
@@ -5470,7 +5470,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
5470
5470
|
fatal?: boolean | undefined | undefined;
|
|
5471
5471
|
} | {
|
|
5472
5472
|
code: "invalid_string";
|
|
5473
|
-
validation: "
|
|
5473
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
5474
5474
|
includes: string;
|
|
5475
5475
|
position?: number | undefined | undefined;
|
|
5476
5476
|
} | {
|
|
@@ -5610,7 +5610,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
5610
5610
|
fatal?: boolean | undefined | undefined;
|
|
5611
5611
|
} | {
|
|
5612
5612
|
code: "invalid_string";
|
|
5613
|
-
validation: "
|
|
5613
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
5614
5614
|
includes: string;
|
|
5615
5615
|
position?: number | undefined | undefined;
|
|
5616
5616
|
} | {
|
|
@@ -5716,7 +5716,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
5716
5716
|
fatal?: boolean | undefined | undefined;
|
|
5717
5717
|
} | {
|
|
5718
5718
|
code: "invalid_string";
|
|
5719
|
-
validation: "
|
|
5719
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
5720
5720
|
includes: string;
|
|
5721
5721
|
position?: number | undefined | undefined;
|
|
5722
5722
|
} | {
|
|
@@ -5843,7 +5843,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
5843
5843
|
fatal?: boolean | undefined | undefined;
|
|
5844
5844
|
} | {
|
|
5845
5845
|
code: "invalid_string";
|
|
5846
|
-
validation: "
|
|
5846
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
5847
5847
|
includes: string;
|
|
5848
5848
|
position?: number | undefined | undefined;
|
|
5849
5849
|
} | {
|
|
@@ -5949,7 +5949,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
5949
5949
|
fatal?: boolean | undefined | undefined;
|
|
5950
5950
|
} | {
|
|
5951
5951
|
code: "invalid_string";
|
|
5952
|
-
validation: "
|
|
5952
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
5953
5953
|
includes: string;
|
|
5954
5954
|
position?: number | undefined | undefined;
|
|
5955
5955
|
} | {
|
|
@@ -6028,7 +6028,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
6028
6028
|
fatal?: boolean | undefined | undefined;
|
|
6029
6029
|
} | {
|
|
6030
6030
|
code: "invalid_string";
|
|
6031
|
-
validation: "
|
|
6031
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
6032
6032
|
includes: string;
|
|
6033
6033
|
position?: number | undefined | undefined;
|
|
6034
6034
|
} | {
|
|
@@ -6099,7 +6099,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
6099
6099
|
name: string;
|
|
6100
6100
|
phone: string;
|
|
6101
6101
|
email: string;
|
|
6102
|
-
role: "
|
|
6102
|
+
role: "user" | "admin";
|
|
6103
6103
|
status: "active" | "inactive";
|
|
6104
6104
|
createdAt: number;
|
|
6105
6105
|
updatedAt: number;
|
|
@@ -6148,7 +6148,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
6148
6148
|
name: string;
|
|
6149
6149
|
phone: string;
|
|
6150
6150
|
email: string;
|
|
6151
|
-
role: "
|
|
6151
|
+
role: "user" | "admin";
|
|
6152
6152
|
status: "active" | "inactive";
|
|
6153
6153
|
createdAt: number;
|
|
6154
6154
|
updatedAt: number;
|
|
@@ -7491,7 +7491,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
7491
7491
|
fatal?: boolean | undefined | undefined;
|
|
7492
7492
|
} | {
|
|
7493
7493
|
code: "invalid_string";
|
|
7494
|
-
validation: "
|
|
7494
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
7495
7495
|
includes: string;
|
|
7496
7496
|
position?: number | undefined | undefined;
|
|
7497
7497
|
} | {
|
|
@@ -7597,7 +7597,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
7597
7597
|
fatal?: boolean | undefined | undefined;
|
|
7598
7598
|
} | {
|
|
7599
7599
|
code: "invalid_string";
|
|
7600
|
-
validation: "
|
|
7600
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
7601
7601
|
includes: string;
|
|
7602
7602
|
position?: number | undefined | undefined;
|
|
7603
7603
|
} | {
|
|
@@ -7737,7 +7737,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
7737
7737
|
fatal?: boolean | undefined | undefined;
|
|
7738
7738
|
} | {
|
|
7739
7739
|
code: "invalid_string";
|
|
7740
|
-
validation: "
|
|
7740
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
7741
7741
|
includes: string;
|
|
7742
7742
|
position?: number | undefined | undefined;
|
|
7743
7743
|
} | {
|
|
@@ -7843,7 +7843,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
7843
7843
|
fatal?: boolean | undefined | undefined;
|
|
7844
7844
|
} | {
|
|
7845
7845
|
code: "invalid_string";
|
|
7846
|
-
validation: "
|
|
7846
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
7847
7847
|
includes: string;
|
|
7848
7848
|
position?: number | undefined | undefined;
|
|
7849
7849
|
} | {
|
|
@@ -7970,7 +7970,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
7970
7970
|
fatal?: boolean | undefined | undefined;
|
|
7971
7971
|
} | {
|
|
7972
7972
|
code: "invalid_string";
|
|
7973
|
-
validation: "
|
|
7973
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
7974
7974
|
includes: string;
|
|
7975
7975
|
position?: number | undefined | undefined;
|
|
7976
7976
|
} | {
|
|
@@ -8076,7 +8076,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
8076
8076
|
fatal?: boolean | undefined | undefined;
|
|
8077
8077
|
} | {
|
|
8078
8078
|
code: "invalid_string";
|
|
8079
|
-
validation: "
|
|
8079
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
8080
8080
|
includes: string;
|
|
8081
8081
|
position?: number | undefined | undefined;
|
|
8082
8082
|
} | {
|
|
@@ -8155,7 +8155,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
8155
8155
|
fatal?: boolean | undefined | undefined;
|
|
8156
8156
|
} | {
|
|
8157
8157
|
code: "invalid_string";
|
|
8158
|
-
validation: "
|
|
8158
|
+
validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
|
|
8159
8159
|
includes: string;
|
|
8160
8160
|
position?: number | undefined | undefined;
|
|
8161
8161
|
} | {
|
|
@@ -8253,7 +8253,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
|
|
|
8253
8253
|
name: string;
|
|
8254
8254
|
phone: string;
|
|
8255
8255
|
email: string;
|
|
8256
|
-
role: "
|
|
8256
|
+
role: "user" | "admin";
|
|
8257
8257
|
status: "active" | "inactive";
|
|
8258
8258
|
createdAt: number;
|
|
8259
8259
|
updatedAt: number;
|
|
@@ -11,8 +11,8 @@ declare const baseUserSchema: z$1.ZodObject<{
|
|
|
11
11
|
phone: z$1.ZodString;
|
|
12
12
|
email: z$1.ZodString;
|
|
13
13
|
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14
|
-
admin: "admin";
|
|
15
14
|
user: "user";
|
|
15
|
+
admin: "admin";
|
|
16
16
|
}>>;
|
|
17
17
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
18
18
|
active: "active";
|
|
@@ -25,8 +25,8 @@ declare const createUserSchema: z$1.ZodObject<{
|
|
|
25
25
|
phone: z$1.ZodString;
|
|
26
26
|
email: z$1.ZodString;
|
|
27
27
|
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
28
|
-
admin: "admin";
|
|
29
28
|
user: "user";
|
|
29
|
+
admin: "admin";
|
|
30
30
|
}>>;
|
|
31
31
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
32
32
|
active: "active";
|
|
@@ -40,8 +40,8 @@ declare const updateUserSchema: z$1.ZodObject<{
|
|
|
40
40
|
phone: z$1.ZodOptional<z$1.ZodString>;
|
|
41
41
|
email: z$1.ZodOptional<z$1.ZodString>;
|
|
42
42
|
role: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodEnum<{
|
|
43
|
-
admin: "admin";
|
|
44
43
|
user: "user";
|
|
44
|
+
admin: "admin";
|
|
45
45
|
}>>>;
|
|
46
46
|
status: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodEnum<{
|
|
47
47
|
active: "active";
|
|
@@ -62,19 +62,19 @@ declare const listUsersQuerySchema: z$1.ZodObject<{
|
|
|
62
62
|
}, z$1.core.$strip>;
|
|
63
63
|
declare const updateUserRolesSchema: z$1.ZodObject<{
|
|
64
64
|
roles: z$1.ZodArray<z$1.ZodEnum<{
|
|
65
|
-
admin: "admin";
|
|
66
65
|
user: "user";
|
|
66
|
+
admin: "admin";
|
|
67
67
|
}>>;
|
|
68
68
|
}, z$1.core.$strip>;
|
|
69
69
|
declare const adminCreateUserBodySchema: z$1.ZodObject<{
|
|
70
|
+
name: z$1.ZodString;
|
|
70
71
|
email: z$1.ZodString;
|
|
71
72
|
username: z$1.ZodString;
|
|
72
73
|
password: z$1.ZodString;
|
|
73
|
-
name: z$1.ZodString;
|
|
74
74
|
phone: z$1.ZodString;
|
|
75
75
|
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
76
|
-
admin: "admin";
|
|
77
76
|
user: "user";
|
|
77
|
+
admin: "admin";
|
|
78
78
|
}>>;
|
|
79
79
|
}, z$1.core.$strip>;
|
|
80
80
|
declare const adminUpdateUserBodySchema: z$1.ZodObject<{
|
|
@@ -83,8 +83,8 @@ declare const adminUpdateUserBodySchema: z$1.ZodObject<{
|
|
|
83
83
|
phone: z$1.ZodOptional<z$1.ZodString>;
|
|
84
84
|
email: z$1.ZodOptional<z$1.ZodString>;
|
|
85
85
|
role: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodEnum<{
|
|
86
|
-
admin: "admin";
|
|
87
86
|
user: "user";
|
|
87
|
+
admin: "admin";
|
|
88
88
|
}>>>;
|
|
89
89
|
status: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodEnum<{
|
|
90
90
|
active: "active";
|