@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.
@@ -1277,7 +1277,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1277
1277
  fatal?: boolean | undefined | undefined;
1278
1278
  } | {
1279
1279
  code: "invalid_string";
1280
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1280
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1281
1281
  includes: string;
1282
1282
  position?: number | undefined | undefined;
1283
1283
  } | {
@@ -1383,7 +1383,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1383
1383
  fatal?: boolean | undefined | undefined;
1384
1384
  } | {
1385
1385
  code: "invalid_string";
1386
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1386
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1387
1387
  includes: string;
1388
1388
  position?: number | undefined | undefined;
1389
1389
  } | {
@@ -1523,7 +1523,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1523
1523
  fatal?: boolean | undefined | undefined;
1524
1524
  } | {
1525
1525
  code: "invalid_string";
1526
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1526
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1527
1527
  includes: string;
1528
1528
  position?: number | undefined | undefined;
1529
1529
  } | {
@@ -1629,7 +1629,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1629
1629
  fatal?: boolean | undefined | undefined;
1630
1630
  } | {
1631
1631
  code: "invalid_string";
1632
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1632
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1633
1633
  includes: string;
1634
1634
  position?: number | undefined | undefined;
1635
1635
  } | {
@@ -1756,7 +1756,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1756
1756
  fatal?: boolean | undefined | undefined;
1757
1757
  } | {
1758
1758
  code: "invalid_string";
1759
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1759
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1760
1760
  includes: string;
1761
1761
  position?: number | undefined | undefined;
1762
1762
  } | {
@@ -1862,7 +1862,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1862
1862
  fatal?: boolean | undefined | undefined;
1863
1863
  } | {
1864
1864
  code: "invalid_string";
1865
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1865
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1866
1866
  includes: string;
1867
1867
  position?: number | undefined | undefined;
1868
1868
  } | {
@@ -1941,7 +1941,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
1941
1941
  fatal?: boolean | undefined | undefined;
1942
1942
  } | {
1943
1943
  code: "invalid_string";
1944
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1944
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
1945
1945
  includes: string;
1946
1946
  position?: number | undefined | undefined;
1947
1947
  } | {
@@ -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: "admin" | "user";
2013
+ role: "user" | "admin";
2014
2014
  status: "active" | "inactive";
2015
2015
  createdAt: number;
2016
2016
  updatedAt: number;
@@ -2078,7 +2078,7 @@ declare const router: hono_hono_base0.HonoBase<AppBindings, {
2078
2078
  name: string;
2079
2079
  phone: string;
2080
2080
  email: string;
2081
- role: "admin" | "user";
2081
+ role: "user" | "admin";
2082
2082
  status: "active" | "inactive";
2083
2083
  createdAt: number;
2084
2084
  updatedAt: number;
@@ -8,8 +8,8 @@ declare const userSchema: z$1.ZodObject<{
8
8
  phone: z$1.ZodString;
9
9
  email: z$1.ZodString;
10
10
  role: z$1.ZodEnum<{
11
- admin: "admin";
12
11
  user: "user";
12
+ admin: "admin";
13
13
  }>;
14
14
  status: z$1.ZodEnum<{
15
15
  active: "active";
@@ -126,7 +126,7 @@ declare const pgSchema: {
126
126
  tableName: "user";
127
127
  dataType: "string";
128
128
  columnType: "PgEnumColumn";
129
- data: "admin" | "user";
129
+ data: "user" | "admin";
130
130
  driverParam: string;
131
131
  notNull: true;
132
132
  hasDefault: true;
@@ -1278,7 +1278,7 @@ declare function jsonValidator(schema: Parameters<ZValidator>[1]): hono.Middlewa
1278
1278
  fatal?: boolean | undefined | undefined;
1279
1279
  } | {
1280
1280
  code: "invalid_string";
1281
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
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 function jsonValidator(schema: Parameters<ZValidator>[1]): hono.Middlewa
1384
1384
  fatal?: boolean | undefined | undefined;
1385
1385
  } | {
1386
1386
  code: "invalid_string";
1387
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
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 function jsonValidator(schema: Parameters<ZValidator>[1]): hono.Middlewa
1524
1524
  fatal?: boolean | undefined | undefined;
1525
1525
  } | {
1526
1526
  code: "invalid_string";
1527
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
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 function jsonValidator(schema: Parameters<ZValidator>[1]): hono.Middlewa
1630
1630
  fatal?: boolean | undefined | undefined;
1631
1631
  } | {
1632
1632
  code: "invalid_string";
1633
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
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 function jsonValidator(schema: Parameters<ZValidator>[1]): hono.Middlewa
1757
1757
  fatal?: boolean | undefined | undefined;
1758
1758
  } | {
1759
1759
  code: "invalid_string";
1760
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
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 function jsonValidator(schema: Parameters<ZValidator>[1]): hono.Middlewa
1863
1863
  fatal?: boolean | undefined | undefined;
1864
1864
  } | {
1865
1865
  code: "invalid_string";
1866
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
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 function jsonValidator(schema: Parameters<ZValidator>[1]): hono.Middlewa
1942
1942
  fatal?: boolean | undefined | undefined;
1943
1943
  } | {
1944
1944
  code: "invalid_string";
1945
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
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
  } | {
@@ -3269,7 +3269,7 @@ declare function queryValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
3269
3269
  fatal?: boolean | undefined | undefined;
3270
3270
  } | {
3271
3271
  code: "invalid_string";
3272
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3272
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3273
3273
  includes: string;
3274
3274
  position?: number | undefined | undefined;
3275
3275
  } | {
@@ -3375,7 +3375,7 @@ declare function queryValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
3375
3375
  fatal?: boolean | undefined | undefined;
3376
3376
  } | {
3377
3377
  code: "invalid_string";
3378
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3378
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3379
3379
  includes: string;
3380
3380
  position?: number | undefined | undefined;
3381
3381
  } | {
@@ -3515,7 +3515,7 @@ declare function queryValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
3515
3515
  fatal?: boolean | undefined | undefined;
3516
3516
  } | {
3517
3517
  code: "invalid_string";
3518
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3518
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3519
3519
  includes: string;
3520
3520
  position?: number | undefined | undefined;
3521
3521
  } | {
@@ -3621,7 +3621,7 @@ declare function queryValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
3621
3621
  fatal?: boolean | undefined | undefined;
3622
3622
  } | {
3623
3623
  code: "invalid_string";
3624
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3624
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3625
3625
  includes: string;
3626
3626
  position?: number | undefined | undefined;
3627
3627
  } | {
@@ -3748,7 +3748,7 @@ declare function queryValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
3748
3748
  fatal?: boolean | undefined | undefined;
3749
3749
  } | {
3750
3750
  code: "invalid_string";
3751
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3751
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3752
3752
  includes: string;
3753
3753
  position?: number | undefined | undefined;
3754
3754
  } | {
@@ -3854,7 +3854,7 @@ declare function queryValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
3854
3854
  fatal?: boolean | undefined | undefined;
3855
3855
  } | {
3856
3856
  code: "invalid_string";
3857
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3857
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3858
3858
  includes: string;
3859
3859
  position?: number | undefined | undefined;
3860
3860
  } | {
@@ -3933,7 +3933,7 @@ declare function queryValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
3933
3933
  fatal?: boolean | undefined | undefined;
3934
3934
  } | {
3935
3935
  code: "invalid_string";
3936
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3936
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
3937
3937
  includes: string;
3938
3938
  position?: number | undefined | undefined;
3939
3939
  } | {
@@ -5260,7 +5260,7 @@ declare function paramValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
5260
5260
  fatal?: boolean | undefined | undefined;
5261
5261
  } | {
5262
5262
  code: "invalid_string";
5263
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5263
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5264
5264
  includes: string;
5265
5265
  position?: number | undefined | undefined;
5266
5266
  } | {
@@ -5366,7 +5366,7 @@ declare function paramValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
5366
5366
  fatal?: boolean | undefined | undefined;
5367
5367
  } | {
5368
5368
  code: "invalid_string";
5369
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5369
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5370
5370
  includes: string;
5371
5371
  position?: number | undefined | undefined;
5372
5372
  } | {
@@ -5506,7 +5506,7 @@ declare function paramValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
5506
5506
  fatal?: boolean | undefined | undefined;
5507
5507
  } | {
5508
5508
  code: "invalid_string";
5509
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5509
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5510
5510
  includes: string;
5511
5511
  position?: number | undefined | undefined;
5512
5512
  } | {
@@ -5612,7 +5612,7 @@ declare function paramValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
5612
5612
  fatal?: boolean | undefined | undefined;
5613
5613
  } | {
5614
5614
  code: "invalid_string";
5615
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5615
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5616
5616
  includes: string;
5617
5617
  position?: number | undefined | undefined;
5618
5618
  } | {
@@ -5739,7 +5739,7 @@ declare function paramValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
5739
5739
  fatal?: boolean | undefined | undefined;
5740
5740
  } | {
5741
5741
  code: "invalid_string";
5742
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5742
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5743
5743
  includes: string;
5744
5744
  position?: number | undefined | undefined;
5745
5745
  } | {
@@ -5845,7 +5845,7 @@ declare function paramValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
5845
5845
  fatal?: boolean | undefined | undefined;
5846
5846
  } | {
5847
5847
  code: "invalid_string";
5848
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5848
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5849
5849
  includes: string;
5850
5850
  position?: number | undefined | undefined;
5851
5851
  } | {
@@ -5924,7 +5924,7 @@ declare function paramValidator(schema: Parameters<ZValidator>[1]): hono.Middlew
5924
5924
  fatal?: boolean | undefined | undefined;
5925
5925
  } | {
5926
5926
  code: "invalid_string";
5927
- validation: "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "date" | "time" | "duration" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5927
+ validation: "date" | "duration" | "uuid" | "email" | "url" | "emoji" | "nanoid" | "cuid" | "cuid2" | "ulid" | "time" | "base64" | "base64url" | "jwt" | "datetime" | "regex" | "ip" | "cidr" | {
5928
5928
  includes: string;
5929
5929
  position?: number | undefined | undefined;
5930
5930
  } | {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pcontext/api",
3
3
  "type": "module",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "description": "PContext API - Backend API service for PContext",
6
6
  "author": "fkcaikengren",
7
7
  "license": "MIT",
@@ -42,8 +42,7 @@
42
42
  "mcp-inspector": "mcp-inspector",
43
43
  "lint": "eslint . --ext .ts,.js",
44
44
  "lint:fix": "eslint . --ext .ts,.js --fix",
45
- "db:generate": "bun run scripts/drizzle-generate.ts",
46
- "prepublishOnly": "bun run build"
45
+ "db:generate": "bun run scripts/drizzle-generate.ts"
47
46
  },
48
47
  "dependencies": {
49
48
  "@ai-sdk/llamaindex": "^1.0.106",
@@ -58,7 +57,7 @@
58
57
  "@llamaindex/workflow": "~1.1.8",
59
58
  "@mendable/firecrawl-js": "^4.13.0",
60
59
  "@modelcontextprotocol/sdk": "^1.26.0",
61
- "@pcontext/shared": "workspace:*",
60
+ "@pcontext/shared": "0.0.3",
62
61
  "@zilliz/milvus2-sdk-node": "^2.6.5",
63
62
  "ai": "^6.0.86",
64
63
  "argon2": "^0.43.1",