@firestartr/cli 2.6.0-snapshot-1 → 2.6.0-snapshot-2

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.
@@ -12,6 +12,11 @@ type PatchData = {
12
12
  };
13
13
  export { PatchOperations, PatchData };
14
14
  export declare abstract class Entity {
15
+ parent?: Entity;
16
+ _terraformHasRun?: boolean;
17
+ sessionId?: string;
18
+ sessionProjectPath?: string;
19
+ __ghProvisionerSessionWorkspaceInitialized?: boolean;
15
20
  static refResolver: RefResolver;
16
21
  static setRefResolver(refResolver: RefResolver): void;
17
22
  _cr: EntityCR;
@@ -1,6 +1,6 @@
1
1
  import { Entity } from './entities';
2
2
  export declare function runOnTerraform(entity: Entity, command: string, customArgs?: any[], opts?: any): Promise<any>;
3
- export declare function buildContext(entity: Entity): {
3
+ export declare function buildContext(entity: Entity, reuseExistingProjectOverride?: boolean, importMode?: boolean): {
4
4
  type: string;
5
5
  inline: string;
6
6
  module: string;
@@ -12,4 +12,6 @@ export declare function buildContext(entity: Entity): {
12
12
  tfStatePath: string;
13
13
  references: {};
14
14
  projectPath: string;
15
+ reuseExistingProject: boolean;
16
+ importMode: boolean;
15
17
  };
@@ -4,8 +4,6 @@ import { getOctokitForOrg, getGithubAppToken, getOctokitFromPat } from './src/au
4
4
  import { encryptRepoSecret, getRepoPublicKey } from './src/encrypt';
5
5
  import type { RepoSecretsSection } from './src/encrypt';
6
6
  import type { WorkflowCompletionResult, WorkflowDispatchInputs, WorkflowRunConclusion, WorkflowRunStatus, WorkflowRunStatusFilter, WorkflowRunSummary } from './src/workflow';
7
- import { withProfile } from './src/with_profile';
8
- import { createProfile } from './src/profile';
9
7
  declare const _default: {
10
8
  org: {
11
9
  getRepositoryList: typeof import("./src/organization").getRepositoryList;
@@ -73,11 +71,11 @@ declare const _default: {
73
71
  }) => Promise<any>;
74
72
  };
75
73
  issues: {
76
- create: (owner: string, repo: string, title: string, body: string, labels?: string[], octokit?: any) => Promise<any>;
77
- update: (owner: string, repo: string, issue_number: number, title: string, body: string, labels?: string[], octokit?: any) => Promise<any>;
78
- close: (owner: string, repo: string, issue_number: number, octokit?: any) => Promise<any>;
79
- filterBy: (owner: string, repo: string, title: string, labels: string, state?: "all" | "closed" | "open", creator?: string, assignee?: string, octokit?: any) => Promise<any>;
80
- upsertByTitle: (owner: string, repo: string, title: string, body: string, labels?: string[], octokit?: any) => Promise<any>;
74
+ create: (owner: string, repo: string, title: string, body: string, labels?: string[]) => Promise<any>;
75
+ update: (owner: string, repo: string, issue_number: number, title: string, body: string, labels?: string[]) => Promise<any>;
76
+ close: (owner: string, repo: string, issue_number: number) => Promise<any>;
77
+ filterBy: (owner: string, repo: string, title: string, labels: string, state?: "all" | "closed" | "open", creator?: string, assignee?: string) => Promise<any>;
78
+ upsertByTitle: (owner: string, repo: string, title: string, body: string, labels?: string[]) => Promise<any>;
81
79
  };
82
80
  branches: {
83
81
  listBranches: typeof import("./src/branches").listBranches;
@@ -100,9 +98,7 @@ declare const _default: {
100
98
  encryptRepoSecret: typeof encryptRepoSecret;
101
99
  getRepoPublicKey: typeof getRepoPublicKey;
102
100
  };
103
- withProfile: typeof withProfile;
104
- createProfile: typeof createProfile;
105
101
  };
106
102
  export default _default;
107
- export { RepoSecretsSection, createProfile };
103
+ export { RepoSecretsSection };
108
104
  export type { WorkflowCompletionResult, WorkflowDispatchInputs, WorkflowRunConclusion, WorkflowRunStatus, WorkflowRunStatusFilter, WorkflowRunSummary, };
@@ -3,14 +3,11 @@ import type { Api } from '@octokit/plugin-rest-endpoint-methods/dist-types/types
3
3
  import type { PaginateInterface } from '@octokit/plugin-paginate-rest/dist-types/types';
4
4
  import type { paginateGraphQLInterface } from '@octokit/plugin-paginate-graphql/dist-types/index.js';
5
5
  export declare const generateGithubAppToken: (config: any) => Promise<string>;
6
- type GithubAuthConfig = import('./config_resolver').GithubAuthConfig;
7
- export declare function getGithubAppTokenWithConfig(config: GithubAuthConfig, genGithubAppToken?: any): Promise<string>;
8
6
  export declare function getGithubAppToken(org: string, genGithubAppToken?: any): Promise<string>;
9
7
  type ExtendedOctokit = Octokit & Api & {
10
8
  paginate: PaginateInterface;
11
9
  } & paginateGraphQLInterface;
12
10
  export { ExtendedOctokit };
13
- export declare function getOctokitForOrgWithConfig(org: string, config: GithubAuthConfig, paginated?: boolean, genGithubAppToken?: any): Promise<ExtendedOctokit>;
14
11
  export declare function getOctokitForOrg(org: string, paginated?: boolean, genGithubAppToken?: any): Promise<ExtendedOctokit>;
15
12
  export declare function getOctokitFromPat(envVar: string): Promise<ExtendedOctokit>;
16
13
  declare const _default: {
@@ -1,3 +1,2 @@
1
- export declare function getInstallationIDWithConfig(org: string, config: any): Promise<any>;
2
1
  export declare function getInstallationID(org?: string): Promise<any>;
3
2
  export declare function checkIfInstalledForOrg(org?: string): Promise<boolean>;