@pulumi/github 4.17.0 → 5.0.0-alpha.1663887713
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/README.md +1 -1
- package/actionsEnvironmentSecret.d.ts +0 -105
- package/actionsEnvironmentSecret.js +0 -48
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +0 -72
- package/actionsOrganizationPermissions.js +0 -36
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +0 -110
- package/actionsOrganizationSecret.js +0 -50
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +0 -47
- package/actionsOrganizationSecretRepositories.js +0 -29
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRunnerGroup.d.ts +0 -88
- package/actionsRunnerGroup.js +0 -25
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +0 -70
- package/actionsSecret.js +0 -22
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepository.d.ts +0 -54
- package/appInstallationRepository.js +0 -36
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +0 -92
- package/branch.js +0 -38
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +0 -53
- package/branchDefault.js +0 -35
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +3 -155
- package/branchProtection.js +0 -53
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +0 -138
- package/branchProtectionV3.js +0 -66
- package/branchProtectionV3.js.map +1 -1
- package/emuGroupMapping.d.ts +0 -41
- package/emuGroupMapping.js +0 -23
- package/emuGroupMapping.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +13 -0
- package/getActionsOrganizationSecrets.js +16 -0
- package/getActionsOrganizationSecrets.js.map +1 -0
- package/getActionsPublicKey.d.ts +0 -27
- package/getActionsPublicKey.js +0 -15
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsSecrets.d.ts +30 -0
- package/getActionsSecrets.js +24 -0
- package/getActionsSecrets.js.map +1 -0
- package/getBranch.d.ts +0 -36
- package/getBranch.js +0 -15
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +0 -36
- package/getCollaborators.js +0 -15
- package/getCollaborators.js.map +1 -1
- package/getExternalGroups.d.ts +0 -17
- package/getExternalGroups.js +0 -14
- package/getExternalGroups.js.map +1 -1
- package/getIpRanges.d.ts +0 -84
- package/getIpRanges.js +0 -12
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +0 -38
- package/getMembership.js +0 -17
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +0 -38
- package/getOrganization.js +0 -14
- package/getOrganization.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +0 -15
- package/getOrganizationTeamSyncGroups.js +0 -12
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +0 -38
- package/getOrganizationTeams.js +0 -25
- package/getOrganizationTeams.js.map +1 -1
- package/getRef.d.ts +0 -33
- package/getRef.js +0 -15
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +0 -121
- package/getRelease.js +0 -46
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +0 -29
- package/getRepositories.js +0 -17
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +0 -132
- package/getRepository.js +0 -14
- package/getRepository.js.map +1 -1
- package/getRepositoryFile.d.ts +0 -55
- package/getRepositoryFile.js +0 -17
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +0 -46
- package/getRepositoryMilestone.js +0 -16
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +0 -75
- package/getRepositoryPullRequest.js +0 -15
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +0 -72
- package/getRepositoryPullRequests.js +0 -18
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +30 -0
- package/getRepositoryTeams.js +24 -0
- package/getRepositoryTeams.js.map +1 -0
- package/getTeam.d.ts +0 -47
- package/getTeam.js +0 -14
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +0 -45
- package/getTree.js +0 -24
- package/getTree.js.map +1 -1
- package/getUser.d.ts +0 -87
- package/getUser.js +0 -21
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +0 -37
- package/getUsers.js +0 -22
- package/getUsers.js.map +1 -1
- package/index.d.ts +4 -0
- package/index.js +8 -0
- package/index.js.map +1 -1
- package/issue.d.ts +6 -117
- package/issue.js +0 -63
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +0 -64
- package/issueLabel.js +0 -22
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +0 -49
- package/membership.js +0 -28
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +0 -23
- package/organizationBlock.js +0 -14
- package/organizationBlock.js.map +1 -1
- package/organizationProject.d.ts +0 -38
- package/organizationProject.js +0 -14
- package/organizationProject.js.map +1 -1
- package/organizationWebhook.d.ts +0 -63
- package/organizationWebhook.js +0 -30
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +0 -87
- package/projectCard.js +0 -51
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +0 -31
- package/projectColumn.js +0 -13
- package/projectColumn.js.map +1 -1
- package/repository.d.ts +3 -377
- package/repository.js +0 -47
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +6 -40
- package/repositoryAutolinkReference.js +0 -28
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +0 -90
- package/repositoryCollaborator.js +0 -42
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.d.ts +0 -71
- package/repositoryDeployKey.js +0 -35
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.d.ts +0 -61
- package/repositoryEnvironment.js +0 -34
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.d.ts +28 -68
- package/repositoryFile.js +0 -37
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +3 -81
- package/repositoryMilestone.js +0 -27
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +0 -52
- package/repositoryProject.js +0 -19
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +4 -127
- package/repositoryPullRequest.js +0 -18
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryTagProtection.d.ts +44 -0
- package/repositoryTagProtection.js +59 -0
- package/repositoryTagProtection.js.map +1 -0
- package/repositoryWebhook.d.ts +0 -79
- package/repositoryWebhook.js +0 -37
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +0 -100
- package/team.js +0 -27
- package/team.js.map +1 -1
- package/teamMembers.d.ts +0 -58
- package/teamMembers.js +0 -40
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +0 -67
- package/teamMembership.js +0 -37
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +3 -59
- package/teamRepository.js +0 -35
- package/teamRepository.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +0 -36
- package/teamSyncGroupMapping.js +0 -15
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/input.d.ts +0 -86
- package/types/output.d.ts +16 -237
- package/userGpgKey.d.ts +0 -40
- package/userGpgKey.js +0 -22
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +0 -30
- package/userInvitationAccepter.js +0 -21
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +0 -50
- package/userSshKey.js +0 -26
- package/userSshKey.js.map +1 -1
package/getRepositoryFile.d.ts
CHANGED
|
@@ -1,38 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This data source allows you to read files within a
|
|
4
|
-
* GitHub repository.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const foo = github.getRepositoryFile({
|
|
13
|
-
* repository: github_repository.foo.name,
|
|
14
|
-
* branch: "main",
|
|
15
|
-
* file: ".gitignore",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
2
|
export declare function getRepositoryFile(args: GetRepositoryFileArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryFileResult>;
|
|
20
3
|
/**
|
|
21
4
|
* A collection of arguments for invoking getRepositoryFile.
|
|
22
5
|
*/
|
|
23
6
|
export interface GetRepositoryFileArgs {
|
|
24
|
-
/**
|
|
25
|
-
* Git branch (defaults to `main`).
|
|
26
|
-
* The branch must already exist, it will not be created if it does not already exist.
|
|
27
|
-
*/
|
|
28
7
|
branch?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The path of the file to manage.
|
|
31
|
-
*/
|
|
32
8
|
file: string;
|
|
33
|
-
/**
|
|
34
|
-
* The repository to create the file in.
|
|
35
|
-
*/
|
|
36
9
|
repository: string;
|
|
37
10
|
}
|
|
38
11
|
/**
|
|
@@ -40,25 +13,10 @@ export interface GetRepositoryFileArgs {
|
|
|
40
13
|
*/
|
|
41
14
|
export interface GetRepositoryFileResult {
|
|
42
15
|
readonly branch?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Committer author name.
|
|
45
|
-
*/
|
|
46
16
|
readonly commitAuthor: string;
|
|
47
|
-
/**
|
|
48
|
-
* Committer email address.
|
|
49
|
-
*/
|
|
50
17
|
readonly commitEmail: string;
|
|
51
|
-
/**
|
|
52
|
-
* Commit message when file was last updated.
|
|
53
|
-
*/
|
|
54
18
|
readonly commitMessage: string;
|
|
55
|
-
/**
|
|
56
|
-
* The SHA of the commit that modified the file.
|
|
57
|
-
*/
|
|
58
19
|
readonly commitSha: string;
|
|
59
|
-
/**
|
|
60
|
-
* The file content.
|
|
61
|
-
*/
|
|
62
20
|
readonly content: string;
|
|
63
21
|
readonly file: string;
|
|
64
22
|
/**
|
|
@@ -66,9 +24,6 @@ export interface GetRepositoryFileResult {
|
|
|
66
24
|
*/
|
|
67
25
|
readonly id: string;
|
|
68
26
|
readonly repository: string;
|
|
69
|
-
/**
|
|
70
|
-
* The SHA blob of the file.
|
|
71
|
-
*/
|
|
72
27
|
readonly sha: string;
|
|
73
28
|
}
|
|
74
29
|
export declare function getRepositoryFileOutput(args: GetRepositoryFileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryFileResult>;
|
|
@@ -76,17 +31,7 @@ export declare function getRepositoryFileOutput(args: GetRepositoryFileOutputArg
|
|
|
76
31
|
* A collection of arguments for invoking getRepositoryFile.
|
|
77
32
|
*/
|
|
78
33
|
export interface GetRepositoryFileOutputArgs {
|
|
79
|
-
/**
|
|
80
|
-
* Git branch (defaults to `main`).
|
|
81
|
-
* The branch must already exist, it will not be created if it does not already exist.
|
|
82
|
-
*/
|
|
83
34
|
branch?: pulumi.Input<string>;
|
|
84
|
-
/**
|
|
85
|
-
* The path of the file to manage.
|
|
86
|
-
*/
|
|
87
35
|
file: pulumi.Input<string>;
|
|
88
|
-
/**
|
|
89
|
-
* The repository to create the file in.
|
|
90
|
-
*/
|
|
91
36
|
repository: pulumi.Input<string>;
|
|
92
37
|
}
|
package/getRepositoryFile.js
CHANGED
|
@@ -5,23 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getRepositoryFileOutput = exports.getRepositoryFile = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* This data source allows you to read files within a
|
|
10
|
-
* GitHub repository.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const foo = github.getRepositoryFile({
|
|
19
|
-
* repository: github_repository.foo.name,
|
|
20
|
-
* branch: "main",
|
|
21
|
-
* file: ".gitignore",
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
8
|
function getRepositoryFile(args, opts) {
|
|
26
9
|
if (!opts) {
|
|
27
10
|
opts = {};
|
package/getRepositoryFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryFile.js","sourceRoot":"","sources":["../getRepositoryFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRepositoryFile.js","sourceRoot":"","sources":["../getRepositoryFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AA8BD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
|
@@ -1,49 +1,18 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Use this data source to retrieve information about a specific GitHub milestone in a repository.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as github from "@pulumi/github";
|
|
10
|
-
*
|
|
11
|
-
* const example = pulumi.output(github.getRepositoryMilestone({
|
|
12
|
-
* number: 1,
|
|
13
|
-
* owner: "example-owner",
|
|
14
|
-
* repository: "example-repository",
|
|
15
|
-
* }));
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
2
|
export declare function getRepositoryMilestone(args: GetRepositoryMilestoneArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryMilestoneResult>;
|
|
19
3
|
/**
|
|
20
4
|
* A collection of arguments for invoking getRepositoryMilestone.
|
|
21
5
|
*/
|
|
22
6
|
export interface GetRepositoryMilestoneArgs {
|
|
23
|
-
/**
|
|
24
|
-
* The number of the milestone.
|
|
25
|
-
*/
|
|
26
7
|
number: number;
|
|
27
|
-
/**
|
|
28
|
-
* Owner of the repository.
|
|
29
|
-
*/
|
|
30
8
|
owner: string;
|
|
31
|
-
/**
|
|
32
|
-
* Name of the repository to retrieve the milestone from.
|
|
33
|
-
*/
|
|
34
9
|
repository: string;
|
|
35
10
|
}
|
|
36
11
|
/**
|
|
37
12
|
* A collection of values returned by getRepositoryMilestone.
|
|
38
13
|
*/
|
|
39
14
|
export interface GetRepositoryMilestoneResult {
|
|
40
|
-
/**
|
|
41
|
-
* Description of the milestone.
|
|
42
|
-
*/
|
|
43
15
|
readonly description: string;
|
|
44
|
-
/**
|
|
45
|
-
* The milestone due date (in ISO-8601 `yyyy-mm-dd` format).
|
|
46
|
-
*/
|
|
47
16
|
readonly dueDate: string;
|
|
48
17
|
/**
|
|
49
18
|
* The provider-assigned unique ID for this managed resource.
|
|
@@ -52,13 +21,7 @@ export interface GetRepositoryMilestoneResult {
|
|
|
52
21
|
readonly number: number;
|
|
53
22
|
readonly owner: string;
|
|
54
23
|
readonly repository: string;
|
|
55
|
-
/**
|
|
56
|
-
* State of the milestone.
|
|
57
|
-
*/
|
|
58
24
|
readonly state: string;
|
|
59
|
-
/**
|
|
60
|
-
* Title of the milestone.
|
|
61
|
-
*/
|
|
62
25
|
readonly title: string;
|
|
63
26
|
}
|
|
64
27
|
export declare function getRepositoryMilestoneOutput(args: GetRepositoryMilestoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryMilestoneResult>;
|
|
@@ -66,16 +29,7 @@ export declare function getRepositoryMilestoneOutput(args: GetRepositoryMileston
|
|
|
66
29
|
* A collection of arguments for invoking getRepositoryMilestone.
|
|
67
30
|
*/
|
|
68
31
|
export interface GetRepositoryMilestoneOutputArgs {
|
|
69
|
-
/**
|
|
70
|
-
* The number of the milestone.
|
|
71
|
-
*/
|
|
72
32
|
number: pulumi.Input<number>;
|
|
73
|
-
/**
|
|
74
|
-
* Owner of the repository.
|
|
75
|
-
*/
|
|
76
33
|
owner: pulumi.Input<string>;
|
|
77
|
-
/**
|
|
78
|
-
* Name of the repository to retrieve the milestone from.
|
|
79
|
-
*/
|
|
80
34
|
repository: pulumi.Input<string>;
|
|
81
35
|
}
|
|
@@ -5,22 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getRepositoryMilestoneOutput = exports.getRepositoryMilestone = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to retrieve information about a specific GitHub milestone in a repository.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const example = pulumi.output(github.getRepositoryMilestone({
|
|
18
|
-
* number: 1,
|
|
19
|
-
* owner: "example-owner",
|
|
20
|
-
* repository: "example-repository",
|
|
21
|
-
* }));
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
8
|
function getRepositoryMilestone(args, opts) {
|
|
25
9
|
if (!opts) {
|
|
26
10
|
opts = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryMilestone.js","sourceRoot":"","sources":["../getRepositoryMilestone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRepositoryMilestone.js","sourceRoot":"","sources":["../getRepositoryMilestone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wDAWC;AA4BD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
|
|
@@ -1,104 +1,38 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Use this data source to retrieve information about a specific GitHub Pull Request in a repository.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as github from "@pulumi/github";
|
|
10
|
-
*
|
|
11
|
-
* const example = pulumi.output(github.getRepositoryPullRequest({
|
|
12
|
-
* baseRepository: "example_repository",
|
|
13
|
-
* number: 1,
|
|
14
|
-
* }));
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
2
|
export declare function getRepositoryPullRequest(args: GetRepositoryPullRequestArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryPullRequestResult>;
|
|
18
3
|
/**
|
|
19
4
|
* A collection of arguments for invoking getRepositoryPullRequest.
|
|
20
5
|
*/
|
|
21
6
|
export interface GetRepositoryPullRequestArgs {
|
|
22
|
-
/**
|
|
23
|
-
* Name of the base repository to retrieve the Pull Request from.
|
|
24
|
-
*/
|
|
25
7
|
baseRepository: string;
|
|
26
|
-
/**
|
|
27
|
-
* The number of the Pull Request within the repository.
|
|
28
|
-
*/
|
|
29
8
|
number: number;
|
|
30
|
-
/**
|
|
31
|
-
* Owner of the repository. If not provided, the provider's default owner is used.
|
|
32
|
-
*/
|
|
33
9
|
owner?: string;
|
|
34
10
|
}
|
|
35
11
|
/**
|
|
36
12
|
* A collection of values returned by getRepositoryPullRequest.
|
|
37
13
|
*/
|
|
38
14
|
export interface GetRepositoryPullRequestResult {
|
|
39
|
-
/**
|
|
40
|
-
* Name of the ref (branch) of the Pull Request base.
|
|
41
|
-
*/
|
|
42
15
|
readonly baseRef: string;
|
|
43
16
|
readonly baseRepository: string;
|
|
44
|
-
/**
|
|
45
|
-
* Head commit SHA of the Pull Request base.
|
|
46
|
-
*/
|
|
47
17
|
readonly baseSha: string;
|
|
48
|
-
/**
|
|
49
|
-
* Body of the Pull Request.
|
|
50
|
-
*/
|
|
51
18
|
readonly body: string;
|
|
52
|
-
/**
|
|
53
|
-
* Indicates Whether this Pull Request is a draft.
|
|
54
|
-
*/
|
|
55
19
|
readonly draft: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Owner of the Pull Request head repository.
|
|
58
|
-
*/
|
|
59
20
|
readonly headOwner: string;
|
|
60
21
|
readonly headRef: string;
|
|
61
|
-
/**
|
|
62
|
-
* Name of the Pull Request head repository.
|
|
63
|
-
*/
|
|
64
22
|
readonly headRepository: string;
|
|
65
|
-
/**
|
|
66
|
-
* Head commit SHA of the Pull Request head.
|
|
67
|
-
*/
|
|
68
23
|
readonly headSha: string;
|
|
69
24
|
/**
|
|
70
25
|
* The provider-assigned unique ID for this managed resource.
|
|
71
26
|
*/
|
|
72
27
|
readonly id: string;
|
|
73
|
-
/**
|
|
74
|
-
* List of label names set on the Pull Request.
|
|
75
|
-
*/
|
|
76
28
|
readonly labels: string[];
|
|
77
|
-
/**
|
|
78
|
-
* Indicates whether the base repository maintainers can modify the Pull Request.
|
|
79
|
-
*/
|
|
80
29
|
readonly maintainerCanModify: boolean;
|
|
81
30
|
readonly number: number;
|
|
82
|
-
/**
|
|
83
|
-
* Unix timestamp indicating the Pull Request creation time.
|
|
84
|
-
*/
|
|
85
31
|
readonly openedAt: number;
|
|
86
|
-
/**
|
|
87
|
-
* GitHub login of the user who opened the Pull Request.
|
|
88
|
-
*/
|
|
89
32
|
readonly openedBy: string;
|
|
90
33
|
readonly owner?: string;
|
|
91
|
-
/**
|
|
92
|
-
* the current Pull Request state - can be "open", "closed" or "merged".
|
|
93
|
-
*/
|
|
94
34
|
readonly state: string;
|
|
95
|
-
/**
|
|
96
|
-
* The title of the Pull Request.
|
|
97
|
-
*/
|
|
98
35
|
readonly title: string;
|
|
99
|
-
/**
|
|
100
|
-
* The timestamp of the last Pull Request update.
|
|
101
|
-
*/
|
|
102
36
|
readonly updatedAt: number;
|
|
103
37
|
}
|
|
104
38
|
export declare function getRepositoryPullRequestOutput(args: GetRepositoryPullRequestOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryPullRequestResult>;
|
|
@@ -106,16 +40,7 @@ export declare function getRepositoryPullRequestOutput(args: GetRepositoryPullRe
|
|
|
106
40
|
* A collection of arguments for invoking getRepositoryPullRequest.
|
|
107
41
|
*/
|
|
108
42
|
export interface GetRepositoryPullRequestOutputArgs {
|
|
109
|
-
/**
|
|
110
|
-
* Name of the base repository to retrieve the Pull Request from.
|
|
111
|
-
*/
|
|
112
43
|
baseRepository: pulumi.Input<string>;
|
|
113
|
-
/**
|
|
114
|
-
* The number of the Pull Request within the repository.
|
|
115
|
-
*/
|
|
116
44
|
number: pulumi.Input<number>;
|
|
117
|
-
/**
|
|
118
|
-
* Owner of the repository. If not provided, the provider's default owner is used.
|
|
119
|
-
*/
|
|
120
45
|
owner?: pulumi.Input<string>;
|
|
121
46
|
}
|
|
@@ -5,21 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getRepositoryPullRequestOutput = exports.getRepositoryPullRequest = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to retrieve information about a specific GitHub Pull Request in a repository.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const example = pulumi.output(github.getRepositoryPullRequest({
|
|
18
|
-
* baseRepository: "example_repository",
|
|
19
|
-
* number: 1,
|
|
20
|
-
* }));
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
8
|
function getRepositoryPullRequest(args, opts) {
|
|
24
9
|
if (!opts) {
|
|
25
10
|
opts = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryPullRequest.js","sourceRoot":"","sources":["../getRepositoryPullRequest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRepositoryPullRequest.js","sourceRoot":"","sources":["../getRepositoryPullRequest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4DAWC;AAuCD,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,wEAEC"}
|
|
@@ -1,84 +1,33 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { output as outputs } from "./types";
|
|
3
|
-
/**
|
|
4
|
-
* Use this data source to retrieve information about multiple GitHub Pull Requests in a repository.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const example = pulumi.output(github.getRepositoryPullRequests({
|
|
13
|
-
* baseRef: "main",
|
|
14
|
-
* baseRepository: "example-repository",
|
|
15
|
-
* sortBy: "updated",
|
|
16
|
-
* sortDirection: "desc",
|
|
17
|
-
* state: "open",
|
|
18
|
-
* }));
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
3
|
export declare function getRepositoryPullRequests(args: GetRepositoryPullRequestsArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryPullRequestsResult>;
|
|
22
4
|
/**
|
|
23
5
|
* A collection of arguments for invoking getRepositoryPullRequests.
|
|
24
6
|
*/
|
|
25
7
|
export interface GetRepositoryPullRequestsArgs {
|
|
26
|
-
/**
|
|
27
|
-
* If set, filters Pull Requests by base branch name.
|
|
28
|
-
*/
|
|
29
8
|
baseRef?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Name of the base repository to retrieve the Pull Requests from.
|
|
32
|
-
*/
|
|
33
9
|
baseRepository: string;
|
|
34
|
-
/**
|
|
35
|
-
* If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch".
|
|
36
|
-
*/
|
|
37
10
|
headRef?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Owner of the repository. If not provided, the provider's default owner is used.
|
|
40
|
-
*/
|
|
41
11
|
owner?: string;
|
|
42
|
-
/**
|
|
43
|
-
* If set, indicates what to sort results by. Can be either "created", "updated", "popularity" (comment count) or "long-running" (age, filtering by pulls updated in the last month). Default: "created".
|
|
44
|
-
*/
|
|
45
12
|
sortBy?: string;
|
|
46
|
-
/**
|
|
47
|
-
* If set, controls the direction of the sort. Can be either "asc" or "desc". Default: "asc".
|
|
48
|
-
*/
|
|
49
13
|
sortDirection?: string;
|
|
50
|
-
/**
|
|
51
|
-
* If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open".
|
|
52
|
-
*/
|
|
53
14
|
state?: string;
|
|
54
15
|
}
|
|
55
16
|
/**
|
|
56
17
|
* A collection of values returned by getRepositoryPullRequests.
|
|
57
18
|
*/
|
|
58
19
|
export interface GetRepositoryPullRequestsResult {
|
|
59
|
-
/**
|
|
60
|
-
* Name of the ref (branch) of the Pull Request base.
|
|
61
|
-
*/
|
|
62
20
|
readonly baseRef?: string;
|
|
63
21
|
readonly baseRepository: string;
|
|
64
|
-
/**
|
|
65
|
-
* Value of the Pull Request `HEAD` reference.
|
|
66
|
-
*/
|
|
67
22
|
readonly headRef?: string;
|
|
68
23
|
/**
|
|
69
24
|
* The provider-assigned unique ID for this managed resource.
|
|
70
25
|
*/
|
|
71
26
|
readonly id: string;
|
|
72
27
|
readonly owner?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Collection of Pull Requests matching the filters. Each of the results conforms to the following scheme:
|
|
75
|
-
*/
|
|
76
28
|
readonly results: outputs.GetRepositoryPullRequestsResult[];
|
|
77
29
|
readonly sortBy?: string;
|
|
78
30
|
readonly sortDirection?: string;
|
|
79
|
-
/**
|
|
80
|
-
* the current Pull Request state - can be "open", "closed" or "merged".
|
|
81
|
-
*/
|
|
82
31
|
readonly state?: string;
|
|
83
32
|
}
|
|
84
33
|
export declare function getRepositoryPullRequestsOutput(args: GetRepositoryPullRequestsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryPullRequestsResult>;
|
|
@@ -86,32 +35,11 @@ export declare function getRepositoryPullRequestsOutput(args: GetRepositoryPullR
|
|
|
86
35
|
* A collection of arguments for invoking getRepositoryPullRequests.
|
|
87
36
|
*/
|
|
88
37
|
export interface GetRepositoryPullRequestsOutputArgs {
|
|
89
|
-
/**
|
|
90
|
-
* If set, filters Pull Requests by base branch name.
|
|
91
|
-
*/
|
|
92
38
|
baseRef?: pulumi.Input<string>;
|
|
93
|
-
/**
|
|
94
|
-
* Name of the base repository to retrieve the Pull Requests from.
|
|
95
|
-
*/
|
|
96
39
|
baseRepository: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch".
|
|
99
|
-
*/
|
|
100
40
|
headRef?: pulumi.Input<string>;
|
|
101
|
-
/**
|
|
102
|
-
* Owner of the repository. If not provided, the provider's default owner is used.
|
|
103
|
-
*/
|
|
104
41
|
owner?: pulumi.Input<string>;
|
|
105
|
-
/**
|
|
106
|
-
* If set, indicates what to sort results by. Can be either "created", "updated", "popularity" (comment count) or "long-running" (age, filtering by pulls updated in the last month). Default: "created".
|
|
107
|
-
*/
|
|
108
42
|
sortBy?: pulumi.Input<string>;
|
|
109
|
-
/**
|
|
110
|
-
* If set, controls the direction of the sort. Can be either "asc" or "desc". Default: "asc".
|
|
111
|
-
*/
|
|
112
43
|
sortDirection?: pulumi.Input<string>;
|
|
113
|
-
/**
|
|
114
|
-
* If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open".
|
|
115
|
-
*/
|
|
116
44
|
state?: pulumi.Input<string>;
|
|
117
45
|
}
|
|
@@ -5,24 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getRepositoryPullRequestsOutput = exports.getRepositoryPullRequests = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this data source to retrieve information about multiple GitHub Pull Requests in a repository.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const example = pulumi.output(github.getRepositoryPullRequests({
|
|
18
|
-
* baseRef: "main",
|
|
19
|
-
* baseRepository: "example-repository",
|
|
20
|
-
* sortBy: "updated",
|
|
21
|
-
* sortDirection: "desc",
|
|
22
|
-
* state: "open",
|
|
23
|
-
* }));
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
8
|
function getRepositoryPullRequests(args, opts) {
|
|
27
9
|
if (!opts) {
|
|
28
10
|
opts = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryPullRequests.js","sourceRoot":"","sources":["../getRepositoryPullRequests.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRepositoryPullRequests.js","sourceRoot":"","sources":["../getRepositoryPullRequests.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,8DAeC;AAiCD,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,0EAEC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
export declare function getRepositoryTeams(args?: GetRepositoryTeamsArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryTeamsResult>;
|
|
4
|
+
/**
|
|
5
|
+
* A collection of arguments for invoking getRepositoryTeams.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetRepositoryTeamsArgs {
|
|
8
|
+
fullName?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A collection of values returned by getRepositoryTeams.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetRepositoryTeamsResult {
|
|
15
|
+
readonly fullName: string;
|
|
16
|
+
/**
|
|
17
|
+
* The provider-assigned unique ID for this managed resource.
|
|
18
|
+
*/
|
|
19
|
+
readonly id: string;
|
|
20
|
+
readonly name: string;
|
|
21
|
+
readonly teams: outputs.GetRepositoryTeamsTeam[];
|
|
22
|
+
}
|
|
23
|
+
export declare function getRepositoryTeamsOutput(args?: GetRepositoryTeamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryTeamsResult>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getRepositoryTeams.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetRepositoryTeamsOutputArgs {
|
|
28
|
+
fullName?: pulumi.Input<string>;
|
|
29
|
+
name?: pulumi.Input<string>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRepositoryTeamsOutput = exports.getRepositoryTeams = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getRepositoryTeams(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
if (!opts) {
|
|
11
|
+
opts = {};
|
|
12
|
+
}
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
14
|
+
return pulumi.runtime.invoke("github:index/getRepositoryTeams:getRepositoryTeams", {
|
|
15
|
+
"fullName": args.fullName,
|
|
16
|
+
"name": args.name,
|
|
17
|
+
}, opts);
|
|
18
|
+
}
|
|
19
|
+
exports.getRepositoryTeams = getRepositoryTeams;
|
|
20
|
+
function getRepositoryTeamsOutput(args, opts) {
|
|
21
|
+
return pulumi.output(args).apply(a => getRepositoryTeams(a, opts));
|
|
22
|
+
}
|
|
23
|
+
exports.getRepositoryTeamsOutput = getRepositoryTeamsOutput;
|
|
24
|
+
//# sourceMappingURL=getRepositoryTeams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepositoryTeams.js","sourceRoot":"","sources":["../getRepositoryTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gDAWC;AAuBD,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
|
package/getTeam.d.ts
CHANGED
|
@@ -1,68 +1,27 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Use this data source to retrieve information about a GitHub team.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as github from "@pulumi/github";
|
|
10
|
-
*
|
|
11
|
-
* const example = pulumi.output(github.getTeam({
|
|
12
|
-
* slug: "example",
|
|
13
|
-
* }));
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
2
|
export declare function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamResult>;
|
|
17
3
|
/**
|
|
18
4
|
* A collection of arguments for invoking getTeam.
|
|
19
5
|
*/
|
|
20
6
|
export interface GetTeamArgs {
|
|
21
|
-
/**
|
|
22
|
-
* Type of membershp to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all"
|
|
23
|
-
*/
|
|
24
7
|
membershipType?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The team slug.
|
|
27
|
-
*/
|
|
28
8
|
slug: string;
|
|
29
9
|
}
|
|
30
10
|
/**
|
|
31
11
|
* A collection of values returned by getTeam.
|
|
32
12
|
*/
|
|
33
13
|
export interface GetTeamResult {
|
|
34
|
-
/**
|
|
35
|
-
* the team's description.
|
|
36
|
-
*/
|
|
37
14
|
readonly description: string;
|
|
38
15
|
/**
|
|
39
16
|
* The provider-assigned unique ID for this managed resource.
|
|
40
17
|
*/
|
|
41
18
|
readonly id: string;
|
|
42
|
-
/**
|
|
43
|
-
* List of team members (list of GitHub usernames)
|
|
44
|
-
*/
|
|
45
19
|
readonly members: string[];
|
|
46
20
|
readonly membershipType?: string;
|
|
47
|
-
/**
|
|
48
|
-
* the team's full name.
|
|
49
|
-
*/
|
|
50
21
|
readonly name: string;
|
|
51
|
-
/**
|
|
52
|
-
* the Node ID of the team.
|
|
53
|
-
*/
|
|
54
22
|
readonly nodeId: string;
|
|
55
|
-
/**
|
|
56
|
-
* the team's permission level.
|
|
57
|
-
*/
|
|
58
23
|
readonly permission: string;
|
|
59
|
-
/**
|
|
60
|
-
* the team's privacy type.
|
|
61
|
-
*/
|
|
62
24
|
readonly privacy: string;
|
|
63
|
-
/**
|
|
64
|
-
* List of team repositories (list of repo names)
|
|
65
|
-
*/
|
|
66
25
|
readonly repositories: string[];
|
|
67
26
|
readonly slug: string;
|
|
68
27
|
}
|
|
@@ -71,12 +30,6 @@ export declare function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.Inv
|
|
|
71
30
|
* A collection of arguments for invoking getTeam.
|
|
72
31
|
*/
|
|
73
32
|
export interface GetTeamOutputArgs {
|
|
74
|
-
/**
|
|
75
|
-
* Type of membershp to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all"
|
|
76
|
-
*/
|
|
77
33
|
membershipType?: pulumi.Input<string>;
|
|
78
|
-
/**
|
|
79
|
-
* The team slug.
|
|
80
|
-
*/
|
|
81
34
|
slug: pulumi.Input<string>;
|
|
82
35
|
}
|