@forge/manifest

13.8.013.8.1-next.0
out/schema/manifest.d.ts
~out/schema/manifest.d.tsModified
+29−6
Index: package/out/schema/manifest.d.ts
===================================================================
--- package/out/schema/manifest.d.ts
+++ package/out/schema/manifest.d.ts
@@ -213,8 +213,9 @@
 /**
  * Whether this function is used for GDPR cleanup (default false). If set to true, this function has a higher rate limit for ESS list queries.
  */
 export type Cleanup = boolean;
+export type OutboundAuthContainerId = string;
 /**
  * The maximum amount of time the function is allowed to run, in seconds. Must be between 1 and 900.
  */
 export type TimeoutSeconds = number;
@@ -1650,45 +1651,61 @@
   function?: [
     {
       handler: Handler;
       cleanup?: Cleanup;
-      outboundAuthContainerId?: string;
       /**
+       * Values shared by local references within this function extension.  A value cannot itself be a reference.
+       */
+      $defs?: {
+        [k: string]: {
+          [k: string]: unknown;
+        };
+      };
+      outboundAuthContainerId?: OutboundAuthContainerId | LocalRef;
+      /**
        * A collection where the key represents the region name and the value contains the metadata of the function, including the lambda ARN and Runtime.
        */
       functions?: {
         [k: string]: {
           function?: {
             name?: string;
             [k: string]: unknown;
           };
-          runtime?: RuntimeLayer | RuntimeWrapper;
+          runtime?: RuntimeLayer | RuntimeWrapper | LocalRef;
           [k: string]: unknown;
         };
       };
-      providers?: ExternalAuthFunctionProviders;
+      providers?: ExternalAuthFunctionProviders | LocalRef;
       timeoutSeconds?: TimeoutSeconds;
       runtime?: Runtime1;
       key: ModuleKeySchema;
     },
     ...{
       handler: Handler;
       cleanup?: Cleanup;
-      outboundAuthContainerId?: string;
       /**
+       * Values shared by local references within this function extension.  A value cannot itself be a reference.
+       */
+      $defs?: {
+        [k: string]: {
+          [k: string]: unknown;
+        };
+      };
+      outboundAuthContainerId?: OutboundAuthContainerId | LocalRef;
+      /**
        * A collection where the key represents the region name and the value contains the metadata of the function, including the lambda ARN and Runtime.
        */
       functions?: {
         [k: string]: {
           function?: {
             name?: string;
             [k: string]: unknown;
           };
-          runtime?: RuntimeLayer | RuntimeWrapper;
+          runtime?: RuntimeLayer | RuntimeWrapper | LocalRef;
           [k: string]: unknown;
         };
       };
-      providers?: ExternalAuthFunctionProviders;
+      providers?: ExternalAuthFunctionProviders | LocalRef;
       timeoutSeconds?: TimeoutSeconds;
       runtime?: Runtime1;
       key: ModuleKeySchema;
     }[]
@@ -30219,8 +30236,14 @@
 }
 export interface Filter4 {
   appIsLicensed: AppIsLicensed;
 }
+/**
+ * A named reference to a value in this extension's $defs.
+ */
+export interface LocalRef {
+  $ref: string;
+}
 export interface RuntimeLayer {
   identifier: string;
   layer: {
     name?: string;