@forge/manifest

12.4.0-next.212.4.0-next.3
out/schema/manifest.d.ts
~out/schema/manifest.d.tsModified
+50−20
Index: package/out/schema/manifest.d.ts
===================================================================
--- package/out/schema/manifest.d.ts
+++ package/out/schema/manifest.d.ts
@@ -198,8 +198,16 @@
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
  */
 export type ExtensionKey6 = string;
 /**
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
+ */
+export type ExtensionKey7 = string;
+/**
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
+ */
+export type ExtensionKey8 = string;
+/**
  * The method, within the index.js function, that will be called to invoke the function.
  */
 export type Handler = string;
 /**
@@ -216,18 +224,18 @@
 export type MemoryMB1 = number;
 /**
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
  */
-export type ExtensionKey7 = string;
+export type ExtensionKey9 = string;
 /**
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
  */
-export type ExtensionKey8 = string;
+export type ExtensionKey10 = string;
 export type CoreActionIOType = 'boolean' | 'integer' | 'number' | 'string';
 /**
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
  */
-export type ExtensionKey9 = string;
+export type ExtensionKey11 = string;
 /**
  * Data residency migration hook path
  */
 export type Path = string;
@@ -666,9 +674,9 @@
     ];
 /**
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
  */
-export type ExtensionKey10 = string;
+export type ExtensionKey12 = string;
 /**
  * A key referencing authentication provider. This will be utilised to authenticate end-users and match with external users.
  */
 export type UserAuthProvider = string;
@@ -688,13 +696,13 @@
   | [string, string, string, string, string, string, string, string, string, string];
 /**
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
  */
-export type ExtensionKey11 = string;
+export type ExtensionKey13 = string;
 /**
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
  */
-export type ExtensionKey12 = string;
+export type ExtensionKey14 = string;
 /**
  * App permissions enforcement method
  */
 export type Enforcement = 'app-managed';
@@ -1491,17 +1499,39 @@
           key: ModuleKeySchema;
         }
     )[]
   ];
+  preUninstall?: [
+    (
+      | {
+          function: ExtensionKey6;
+          key: ModuleKeySchema;
+        }
+      | {
+          endpoint: ExtensionKey7;
+          key: ModuleKeySchema;
+        }
+    ),
+    ...(
+      | {
+          function: ExtensionKey6;
+          key: ModuleKeySchema;
+        }
+      | {
+          endpoint: ExtensionKey7;
+          key: ModuleKeySchema;
+        }
+    )[]
+  ];
   fifoConsumer?: [
     {
       queue: Queue;
-      function: ExtensionKey6;
+      function: ExtensionKey8;
       key: ModuleKeySchema;
     },
     ...{
       queue: Queue;
-      function: ExtensionKey6;
+      function: ExtensionKey8;
       key: ModuleKeySchema;
     }[]
   ];
   function?: [
@@ -1771,9 +1801,9 @@
            * Different implementations of actions with action-type of atlassian:issue:create:comment can be
            * swapped depending on what integrations a tenant might have.
            */
           actionType: string;
-          function: ExtensionKey7;
+          function: ExtensionKey9;
           /**
            * The name of the action
            */
           name?: string;
@@ -1821,9 +1851,9 @@
               }
             | {
                 endpoint: string;
               };
-          endpoint: ExtensionKey8;
+          endpoint: ExtensionKey10;
           /**
            * The operation that will be performed as a result of calling this action
            */
           actionVerb: 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER' | 'GET';
@@ -1858,9 +1888,9 @@
            * Different implementations of actions with action-type of atlassian:issue:create:comment can be
            * swapped depending on what integrations a tenant might have.
            */
           actionType: string;
-          endpoint: ExtensionKey9;
+          endpoint: ExtensionKey11;
           /**
            * The name of the action
            */
           name?: string;
@@ -1884,9 +1914,9 @@
            * Different implementations of actions with action-type of atlassian:issue:create:comment can be
            * swapped depending on what integrations a tenant might have.
            */
           actionType: string;
-          function: ExtensionKey7;
+          function: ExtensionKey9;
           /**
            * The name of the action
            */
           name?: string;
@@ -1934,9 +1964,9 @@
               }
             | {
                 endpoint: string;
               };
-          endpoint: ExtensionKey8;
+          endpoint: ExtensionKey10;
           /**
            * The operation that will be performed as a result of calling this action
            */
           actionVerb: 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER' | 'GET';
@@ -1971,9 +2001,9 @@
            * Different implementations of actions with action-type of atlassian:issue:create:comment can be
            * swapped depending on what integrations a tenant might have.
            */
           actionType: string;
-          endpoint: ExtensionKey9;
+          endpoint: ExtensionKey11;
           /**
            * The name of the action
            */
           name?: string;
@@ -24571,9 +24601,9 @@
         )[]
       ];
       orchestration?: {
         taskRunner: {
-          function: ExtensionKey10;
+          function: ExtensionKey12;
         };
       };
       auth?: {
         provider?: UserAuthProvider;
@@ -24590,14 +24620,14 @@
             | [FormSection, FormSection, FormSection, FormSection]
             | [FormSection, FormSection, FormSection, FormSection, FormSection];
           instructions?: Instructions;
           validateConnection: {
-            function: ExtensionKey11;
+            function: ExtensionKey13;
             [k: string]: unknown;
           };
         };
         onConnectionChange: {
-          function: ExtensionKey12;
+          function: ExtensionKey14;
           [k: string]: unknown;
         };
       };
       key: ModuleKeySchema;
@@ -24688,9 +24718,9 @@
         )[]
       ];
       orchestration?: {
         taskRunner: {
-          function: ExtensionKey10;
+          function: ExtensionKey12;
         };
       };
       auth?: {
         provider?: UserAuthProvider;
@@ -24707,14 +24737,14 @@
             | [FormSection, FormSection, FormSection, FormSection]
             | [FormSection, FormSection, FormSection, FormSection, FormSection];
           instructions?: Instructions;
           validateConnection: {
-            function: ExtensionKey11;
+            function: ExtensionKey13;
             [k: string]: unknown;
           };
         };
         onConnectionChange: {
-          function: ExtensionKey12;
+          function: ExtensionKey14;
           [k: string]: unknown;
         };
       };
       key: ModuleKeySchema;