@datadog/datadog-ci-plugin-container-app 5.27.0 → 5.29.0

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.
package/dist/bundle.d.ts CHANGED
@@ -7256,6 +7256,19 @@ declare abstract class Command<Context extends BaseContext = BaseContext> {
7256
7256
  static Default: never[];
7257
7257
  }
7258
7258
  //#endregion
7259
+ //#region ../base/dist/helpers/auth.d.ts
7260
+ /**
7261
+ * The authentication requirement of a command, declared with `public static authRequirement` on its base command class
7262
+ * in `packages/base/src/commands/**`, next to the options it describes. A test checks that every registered command
7263
+ * declares one.
7264
+ */
7265
+ type AuthRequirement = {
7266
+ kind: 'orgAction' | 'apiKey' | 'none';
7267
+ } /** A command-specific text, for example the cloud credentials and Datadog variables a Serverless command reads. */ | {
7268
+ kind: 'custom';
7269
+ help: string;
7270
+ };
7271
+ //#endregion
7259
7272
  //#region ../base/dist/helpers/logger.d.ts
7260
7273
  declare enum LogLevel {
7261
7274
  DEBUG = 1,
@@ -7298,7 +7311,12 @@ type CommandContext = BaseContext & {
7298
7311
  * This command should be extended by **every** command in the monorepo.
7299
7312
  */
7300
7313
  declare abstract class BaseCommand<Context extends CommandContext = CommandContext> extends Command<Context> {
7301
- protected logFormat: "json" | "text";
7314
+ /**
7315
+ * The credentials the command needs, shown in the "Authentication" section of its `--help`.
7316
+ * Every command declares one; plugin commands inherit it from their base command.
7317
+ */
7318
+ static authRequirement?: AuthRequirement;
7319
+ protected logFormat: "text" | "json";
7302
7320
  private _logger?;
7303
7321
  get logger(): Logger;
7304
7322
  }
@@ -7358,6 +7376,7 @@ declare abstract class ContainerAppCommand extends BaseCommand {
7358
7376
  declare class ContainerAppInstrumentCommand extends ContainerAppCommand {
7359
7377
  static paths: string[][];
7360
7378
  static usage: Usage;
7379
+ static authRequirement: AuthRequirement;
7361
7380
  private service;
7362
7381
  private environment;
7363
7382
  private version;
@@ -7426,6 +7445,7 @@ declare class PluginCommand$1 extends ContainerAppInstrumentCommand {
7426
7445
  declare class ContainerAppUninstrumentCommand extends ContainerAppCommand {
7427
7446
  static paths: string[][];
7428
7447
  static usage: Usage;
7448
+ static authRequirement: AuthRequirement;
7429
7449
  private sidecarName;
7430
7450
  private sharedVolumeName;
7431
7451
  get additionalConfig(): Partial<ContainerAppConfigOptions>;