@alpic-ai/api 0.0.0-staging.ba7eeb2 → 0.0.0-staging.babd6aa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -825,6 +825,7 @@ declare const contract: {
825
825
  "resource-metadata": "resource-metadata";
826
826
  performance: "performance";
827
827
  e2e: "e2e";
828
+ "ai-review": "ai-review";
828
829
  }>>>;
829
830
  }, z.core.$strip>, z.ZodObject<{
830
831
  id: z.ZodString;
@@ -856,6 +857,8 @@ declare const contract: {
856
857
  durationMs: z.ZodNumber;
857
858
  results: z.ZodArray<z.ZodObject<{
858
859
  checkId: z.ZodString;
860
+ checkName: z.ZodString;
861
+ description: z.ZodString;
859
862
  status: z.ZodEnum<{
860
863
  pending: "pending";
861
864
  pass: "pass";
@@ -875,6 +878,7 @@ declare const contract: {
875
878
  "resource-metadata": "resource-metadata";
876
879
  performance: "performance";
877
880
  e2e: "e2e";
881
+ "ai-review": "ai-review";
878
882
  }>;
879
883
  scope: z.ZodEnum<{
880
884
  server: "server";
@@ -983,6 +987,7 @@ declare const checkCategorySchema: z.ZodEnum<{
983
987
  "resource-metadata": "resource-metadata";
984
988
  performance: "performance";
985
989
  e2e: "e2e";
990
+ "ai-review": "ai-review";
986
991
  }>;
987
992
  type CheckCategory = z.infer<typeof checkCategorySchema>;
988
993
  declare const checkScopeSchema: z.ZodEnum<{
@@ -997,6 +1002,8 @@ declare const checkDetailSchema: z.ZodObject<{
997
1002
  type CheckDetail = z.infer<typeof checkDetailSchema>;
998
1003
  declare const checkResultSchema: z.ZodObject<{
999
1004
  checkId: z.ZodString;
1005
+ checkName: z.ZodString;
1006
+ description: z.ZodString;
1000
1007
  status: z.ZodEnum<{
1001
1008
  pending: "pending";
1002
1009
  pass: "pass";
@@ -1016,6 +1023,7 @@ declare const checkResultSchema: z.ZodObject<{
1016
1023
  "resource-metadata": "resource-metadata";
1017
1024
  performance: "performance";
1018
1025
  e2e: "e2e";
1026
+ "ai-review": "ai-review";
1019
1027
  }>;
1020
1028
  scope: z.ZodEnum<{
1021
1029
  server: "server";
@@ -1044,6 +1052,8 @@ declare const auditReportSchema: z.ZodObject<{
1044
1052
  durationMs: z.ZodNumber;
1045
1053
  results: z.ZodArray<z.ZodObject<{
1046
1054
  checkId: z.ZodString;
1055
+ checkName: z.ZodString;
1056
+ description: z.ZodString;
1047
1057
  status: z.ZodEnum<{
1048
1058
  pending: "pending";
1049
1059
  pass: "pass";
@@ -1063,6 +1073,7 @@ declare const auditReportSchema: z.ZodObject<{
1063
1073
  "resource-metadata": "resource-metadata";
1064
1074
  performance: "performance";
1065
1075
  e2e: "e2e";
1076
+ "ai-review": "ai-review";
1066
1077
  }>;
1067
1078
  scope: z.ZodEnum<{
1068
1079
  server: "server";
package/dist/index.mjs CHANGED
@@ -81,7 +81,8 @@ const checkCategorySchema = z.enum([
81
81
  "tool-metadata",
82
82
  "resource-metadata",
83
83
  "performance",
84
- "e2e"
84
+ "e2e",
85
+ "ai-review"
85
86
  ]);
86
87
  const checkScopeSchema = z.enum(["server", "view"]);
87
88
  const checkDetailSchema = z.object({
@@ -90,6 +91,8 @@ const checkDetailSchema = z.object({
90
91
  });
91
92
  const checkResultSchema = z.object({
92
93
  checkId: z.string(),
94
+ checkName: z.string(),
95
+ description: z.string(),
93
96
  status: z.enum([
94
97
  "pass",
95
98
  "fail",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "0.0.0-staging.ba7eeb2",
3
+ "version": "0.0.0-staging.babd6aa",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -17,7 +17,7 @@
17
17
  "author": "Alpic",
18
18
  "license": "ISC",
19
19
  "dependencies": {
20
- "@orpc/contract": "^1.13.13",
20
+ "@orpc/contract": "^1.13.14",
21
21
  "ms": "^2.1.3",
22
22
  "zod": "^4.3.6"
23
23
  },
@@ -27,7 +27,7 @@
27
27
  "shx": "^0.4.0",
28
28
  "tsdown": "^0.21.7",
29
29
  "typescript": "^6.0.2",
30
- "vitest": "^4.1.3"
30
+ "vitest": "^4.1.4"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "shx rm -rf dist && tsdown",