@tahminator/pipeline 1.0.32 → 1.0.34

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.
@@ -1,13 +1,12 @@
1
1
  import type { LocalProgramArgs } from "@pulumi/pulumi/automation";
2
+ import type { LiteralUnion } from "../types";
2
3
  export declare enum PulumiClientStrategy {
3
4
  AZURE = 0
4
5
  }
5
6
  export interface IPulumiClientStrategyArgs {
6
7
  strategy: PulumiClientStrategy;
7
- auth: Record<string, unknown>;
8
8
  envs: Record<string, string | undefined>;
9
9
  }
10
- type AzureBlobString = `azblob://${string}?storage_account=${string}`;
11
10
  export interface PulumiClientAzureStrategyArgs extends IPulumiClientStrategyArgs, LocalProgramArgs {
12
11
  strategy: PulumiClientStrategy.AZURE;
13
12
  envs: {
@@ -15,10 +14,9 @@ export interface PulumiClientAzureStrategyArgs extends IPulumiClientStrategyArgs
15
14
  ARM_CLIENT_SECRET?: string;
16
15
  ARM_TENANT_ID?: string;
17
16
  ARM_SUBSCRIPTION_ID?: string;
18
- PULUMI_BACKEND_URL: AzureBlobString;
17
+ PULUMI_BACKEND_URL: LiteralUnion<`azblob://${string}?storage_account=${string}`>;
19
18
  [_: string]: string | undefined;
20
19
  };
21
20
  }
22
21
  export type PulumiClientStrategiesArgs = PulumiClientAzureStrategyArgs;
23
22
  export type PulumiClientCreateArgs = PulumiClientStrategiesArgs & LocalProgramArgs;
24
- export {};
package/dist/types.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export type Environment = "staging" | "production";
2
2
  export type OwnerString = string;
3
3
  export type RepoString = string;
4
+ export type LiteralUnion<T extends string> = T | (string & {});
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "author": "Tahmid Ahmed",
5
5
  "description": "A collection of Bun shell scripts that can be re-used in various CICD pipelines.",
6
- "version": "1.0.32",
6
+ "version": "1.0.34",
7
7
  "repository": {
8
8
  "url": "git+https://github.com/tahminator/pipeline.git"
9
9
  },