npm package diff

Package: @forge/manifest

Versions: 9.5.0-next.5 - 9.5.0-next.6

File: package/out/schema/manifest.d.ts

Index: package/out/schema/manifest.d.ts
===================================================================
--- package/out/schema/manifest.d.ts
+++ package/out/schema/manifest.d.ts
@@ -158,8 +158,12 @@
 export type ResponseOptions = {
   [k: string]: unknown;
 };
 /**
+ * The key of the function that should be invoked for this API route
+ */
+export type Function2 = string;
+/**
  * The name of the queue that this consumer listens to.
  */
 export type Queue = string;
 /**
@@ -1042,8 +1046,42 @@
           [k: string]: unknown;
         }
     )[]
   ];
+  apiRoute?: [
+    {
+      /**
+       * The URL path for the API endpoint
+       */
+      path: string;
+      /**
+       * HTTP method for the API endpoint
+       */
+      operation: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
+      function: Function2;
+      /**
+       * List of accepted content types for the API route
+       */
+      accept?: ['application/json', ...'application/json'[]];
+      key: ModuleKeySchema;
+    },
+    ...{
+      /**
+       * The URL path for the API endpoint
+       */
+      path: string;
+      /**
+       * HTTP method for the API endpoint
+       */
+      operation: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
+      function: Function2;
+      /**
+       * List of accepted content types for the API route
+       */
+      accept?: ['application/json', ...'application/json'[]];
+      key: ModuleKeySchema;
+    }[]
+  ];
   consumer?: [
     (
       | {
           queue: Queue;