npm package diff

Package: @forge/manifest

Versions: 10.2.1 - 10.2.2-next.0

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
@@ -680,15 +680,23 @@
  * 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;
 /**
+ * A key referencing authentication provider. This will be utilised to authenticate end-users and match with external users.
+ */
+export type UserAuthProvider = 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;
 /**
  * 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;
+/**
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
+ */
+export type ExtensionKey13 = string;
 export type Scopes =
   | string[]
   | {
       [k: string]: {
@@ -23260,11 +23268,11 @@
         dark: string;
         [k: string]: unknown;
       };
       /**
-       * Entities that the connector can provide.
+       * Objects that the connector can provide.
        */
-      entityTypes: [
+      objectTypes: [
         (
           | 'atlassian:document'
           | 'atlassian:branch'
           | 'atlassian:build'
@@ -23312,19 +23320,32 @@
           | 'atlassian:work-item'
           | 'atlassian:worker'
         )[]
       ];
-      validateConnection?: {
-        function: ExtensionKey10;
-        [k: string]: unknown;
+      orchestration?: {
+        taskRunner: {
+          function: ExtensionKey10;
+        };
       };
-      onConnectionChange?: {
-        function: ExtensionKey11;
-        [k: string]: unknown;
+      auth?: {
+        provider?: UserAuthProvider;
       };
-      taskRunner?: {
-        function: ExtensionKey12;
-        [k: string]: unknown;
+      datasource?: {
+        formConfiguration?: {
+          properties: [ConnectionProperty, ...ConnectionProperty[]];
+          validateConnection: {
+            function: ExtensionKey11;
+            [k: string]: unknown;
+          };
+          getFormData?: {
+            function: ExtensionKey12;
+            [k: string]: unknown;
+          };
+        };
+        onConnectionChange?: {
+          function: ExtensionKey13;
+          [k: string]: unknown;
+        };
       };
       key: ModuleKeySchema;
     },
     ...{
@@ -23343,11 +23364,11 @@
         dark: string;
         [k: string]: unknown;
       };
       /**
-       * Entities that the connector can provide.
+       * Objects that the connector can provide.
        */
-      entityTypes: [
+      objectTypes: [
         (
           | 'atlassian:document'
           | 'atlassian:branch'
           | 'atlassian:build'
@@ -23395,19 +23416,32 @@
           | 'atlassian:work-item'
           | 'atlassian:worker'
         )[]
       ];
-      validateConnection?: {
-        function: ExtensionKey10;
-        [k: string]: unknown;
+      orchestration?: {
+        taskRunner: {
+          function: ExtensionKey10;
+        };
       };
-      onConnectionChange?: {
-        function: ExtensionKey11;
-        [k: string]: unknown;
+      auth?: {
+        provider?: UserAuthProvider;
       };
-      taskRunner?: {
-        function: ExtensionKey12;
-        [k: string]: unknown;
+      datasource?: {
+        formConfiguration?: {
+          properties: [ConnectionProperty, ...ConnectionProperty[]];
+          validateConnection: {
+            function: ExtensionKey11;
+            [k: string]: unknown;
+          };
+          getFormData?: {
+            function: ExtensionKey12;
+            [k: string]: unknown;
+          };
+        };
+        onConnectionChange?: {
+          function: ExtensionKey13;
+          [k: string]: unknown;
+        };
       };
       key: ModuleKeySchema;
     }[]
   ];
@@ -72581,8 +72615,36 @@
   value: string;
   i18n?: string;
   [k: string]: unknown;
 }
+export interface ConnectionProperty {
+  /**
+   * The key identifying the connection property.
+   */
+  key: string;
+  label: {
+    /**
+     * The default message for the field label.
+     */
+    defaultMessage: string;
+    /**
+     * A description of the field label.
+     */
+    description: string;
+  };
+  /**
+   * The type of the connection property.
+   */
+  type: 'string' | 'number' | 'boolean' | 'textArea';
+  /**
+   * Whether the property is required. (default: false)
+   */
+  isRequired?: boolean;
+  /**
+   * Whether the property is sensitive. (default: false)
+   */
+  isSensitive?: boolean;
+}
 export interface Permissions {
   scopes?: Scopes;
   content?: Content1;
   external?: External;