@datadog/esbuild-plugin 3.2.6-dev.1 → 3.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,12 +11,32 @@ declare class TrackedFilesMatcher {
11
11
  private getFilename;
12
12
  }
13
13
  type AuthMethod = "apiKey" | "oauth";
14
+ type AppsProtectionLevel = "direct_publish" | "approval_required";
14
15
  type AppsOptions = {
15
16
  enable?: boolean;
16
17
  include?: string[];
17
18
  dryRun?: boolean;
18
19
  identifier?: string;
19
20
  name?: string;
21
+ /** Human-readable description of the app. */
22
+ description?: string;
23
+ /** When true, the app appears in the Datadog self-service catalog. */
24
+ selfService?: boolean;
25
+ /** Deployment and identity settings for the app. */
26
+ permissions?: {
27
+ /**
28
+ * Controls whether publishing the app requires a second approver.
29
+ * - `direct_publish`: any user with publish rights can deploy immediately.
30
+ * - `approval_required`: a second user must approve before the app goes live.
31
+ */
32
+ protectionLevel?: AppsProtectionLevel;
33
+ /**
34
+ * UUID of the service account the app's backend functions run as.
35
+ * When omitted the app runs as the uploading user.
36
+ * Only service accounts are accepted; arbitrary user UUIDs are rejected by the API.
37
+ */
38
+ runAs?: string;
39
+ };
20
40
  authOverrides?: {
21
41
  method?: AuthMethod;
22
42
  };
@@ -5338,6 +5358,7 @@ type AuthOptions = {
5338
5358
  };
5339
5359
  type AuthOptionsWithDefaults = Omit<AuthOptions, "site"> & {
5340
5360
  site: Site$1;
5361
+ siteSubdomain?: string;
5341
5362
  };
5342
5363
  interface BaseOptions {
5343
5364
  auth?: AuthOptions;