opencode-agent[bot] пре 2 месеци
родитељ
комит
a3430db73a
2 измењених фајлова са 27 додато и 4 уклоњено
  1. 8 2
      packages/sdk/js/src/v2/gen/types.gen.ts
  2. 19 2
      packages/sdk/openapi.json

+ 8 - 2
packages/sdk/js/src/v2/gen/types.gen.ts

@@ -1700,6 +1700,12 @@ export type McpServerNotFoundError = {
   message: string
   message: string
 }
 }
 
 
+export type ProjectNotFoundError = {
+  _tag: "ProjectNotFoundError"
+  projectID: string
+  message: string
+}
+
 export type PtyNotFoundError = {
 export type PtyNotFoundError = {
   _tag: "PtyNotFoundError"
   _tag: "PtyNotFoundError"
   ptyID: string
   ptyID: string
@@ -5447,9 +5453,9 @@ export type ProjectUpdateErrors = {
    */
    */
   400: EffectHttpApiErrorBadRequest | InvalidRequestError
   400: EffectHttpApiErrorBadRequest | InvalidRequestError
   /**
   /**
-   * Not found
+   * ProjectNotFoundError
    */
    */
-  404: NotFoundError
+  404: ProjectNotFoundError
 }
 }
 
 
 export type ProjectUpdateError = ProjectUpdateErrors[keyof ProjectUpdateErrors]
 export type ProjectUpdateError = ProjectUpdateErrors[keyof ProjectUpdateErrors]

+ 19 - 2
packages/sdk/openapi.json

@@ -3630,11 +3630,11 @@
             }
             }
           },
           },
           "404": {
           "404": {
-            "description": "Not found",
+            "description": "ProjectNotFoundError",
             "content": {
             "content": {
               "application/json": {
               "application/json": {
                 "schema": {
                 "schema": {
-                  "$ref": "#/components/schemas/NotFoundError"
+                  "$ref": "#/components/schemas/ProjectNotFoundError"
                 }
                 }
               }
               }
             }
             }
@@ -15429,6 +15429,23 @@
         "required": ["_tag", "name", "message"],
         "required": ["_tag", "name", "message"],
         "additionalProperties": false
         "additionalProperties": false
       },
       },
+      "ProjectNotFoundError": {
+        "type": "object",
+        "properties": {
+          "_tag": {
+            "type": "string",
+            "enum": ["ProjectNotFoundError"]
+          },
+          "projectID": {
+            "type": "string"
+          },
+          "message": {
+            "type": "string"
+          }
+        },
+        "required": ["_tag", "projectID", "message"],
+        "additionalProperties": false
+      },
       "PtyNotFoundError": {
       "PtyNotFoundError": {
         "type": "object",
         "type": "object",
         "properties": {
         "properties": {