@pulumi/github 6.8.0-alpha.1761153315 → 6.8.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/actionsOrganizationSecret.d.ts +3 -0
- package/actionsOrganizationSecret.js +2 -0
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +89 -0
- package/actionsOrganizationSecretRepository.js +86 -0
- package/actionsOrganizationSecretRepository.js.map +1 -0
- package/config/vars.d.ts +1 -1
- package/getOrganizationCustomProperties.d.ts +122 -0
- package/getOrganizationCustomProperties.js +60 -0
- package/getOrganizationCustomProperties.js.map +1 -0
- package/getOrganizationCustomRole.d.ts +4 -0
- package/getOrganizationCustomRole.js +4 -0
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationRepositoryRole.d.ts +82 -0
- package/getOrganizationRepositoryRole.js +54 -0
- package/getOrganizationRepositoryRole.js.map +1 -0
- package/getOrganizationRepositoryRoles.d.ts +65 -0
- package/getOrganizationRepositoryRoles.js +66 -0
- package/getOrganizationRepositoryRoles.js.map +1 -0
- package/getOrganizationRole.d.ts +82 -0
- package/getOrganizationRole.js +50 -0
- package/getOrganizationRole.js.map +1 -0
- package/getOrganizationRoleTeams.d.ts +85 -0
- package/getOrganizationRoleTeams.js +68 -0
- package/getOrganizationRoleTeams.js.map +1 -0
- package/getOrganizationRoleUsers.d.ts +81 -0
- package/getOrganizationRoleUsers.js +64 -0
- package/getOrganizationRoleUsers.js.map +1 -0
- package/getOrganizationRoles.d.ts +63 -0
- package/getOrganizationRoles.js +64 -0
- package/getOrganizationRoles.js.map +1 -0
- package/getOrganizationSecurityManagers.d.ts +41 -0
- package/getOrganizationSecurityManagers.js +42 -0
- package/getOrganizationSecurityManagers.js.map +1 -0
- package/getTeam.d.ts +4 -2
- package/getTeam.js.map +1 -1
- package/index.d.ts +45 -0
- package/index.js +64 -4
- package/index.js.map +1 -1
- package/organizationCustomProperties.d.ts +170 -0
- package/organizationCustomProperties.js +124 -0
- package/organizationCustomProperties.js.map +1 -0
- package/organizationCustomRole.d.ts +2 -0
- package/organizationCustomRole.js +2 -0
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +2 -0
- package/organizationProject.js +2 -0
- package/organizationProject.js.map +1 -1
- package/organizationRepositoryRole.d.ts +121 -0
- package/organizationRepositoryRole.js +92 -0
- package/organizationRepositoryRole.js.map +1 -0
- package/organizationRole.d.ts +121 -0
- package/organizationRole.js +89 -0
- package/organizationRole.js.map +1 -0
- package/organizationRoleTeam.d.ts +83 -0
- package/organizationRoleTeam.js +80 -0
- package/organizationRoleTeam.js.map +1 -0
- package/organizationRoleTeamAssignment.d.ts +90 -0
- package/organizationRoleTeamAssignment.js +87 -0
- package/organizationRoleTeamAssignment.js.map +1 -0
- package/organizationRoleUser.d.ts +83 -0
- package/organizationRoleUser.js +80 -0
- package/organizationRoleUser.js.map +1 -0
- package/organizationRuleset.d.ts +8 -0
- package/organizationRuleset.js +8 -0
- package/organizationRuleset.js.map +1 -1
- package/package.json +2 -2
- package/projectCard.d.ts +2 -0
- package/projectCard.js +2 -0
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +2 -0
- package/projectColumn.js +2 -0
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +1 -1
- package/repository.d.ts +1 -1
- package/repositoryProject.d.ts +2 -0
- package/repositoryProject.js +2 -0
- package/repositoryProject.js.map +1 -1
- package/repositoryRuleset.d.ts +28 -3
- package/repositoryRuleset.js +25 -0
- package/repositoryRuleset.js.map +1 -1
- package/types/input.d.ts +44 -6
- package/types/output.d.ts +158 -15
|
@@ -32,6 +32,7 @@ export declare class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
|
32
32
|
* Date of actionsSecret creation.
|
|
33
33
|
*/
|
|
34
34
|
readonly createdAt: pulumi.Output<string>;
|
|
35
|
+
readonly destroyOnDrift: pulumi.Output<boolean | undefined>;
|
|
35
36
|
/**
|
|
36
37
|
* Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
37
38
|
*/
|
|
@@ -74,6 +75,7 @@ export interface ActionsOrganizationSecretState {
|
|
|
74
75
|
* Date of actionsSecret creation.
|
|
75
76
|
*/
|
|
76
77
|
createdAt?: pulumi.Input<string>;
|
|
78
|
+
destroyOnDrift?: pulumi.Input<boolean>;
|
|
77
79
|
/**
|
|
78
80
|
* Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
79
81
|
*/
|
|
@@ -104,6 +106,7 @@ export interface ActionsOrganizationSecretState {
|
|
|
104
106
|
* The set of arguments for constructing a ActionsOrganizationSecret resource.
|
|
105
107
|
*/
|
|
106
108
|
export interface ActionsOrganizationSecretArgs {
|
|
109
|
+
destroyOnDrift?: pulumi.Input<boolean>;
|
|
107
110
|
/**
|
|
108
111
|
* Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
109
112
|
*/
|
|
@@ -47,6 +47,7 @@ class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
49
|
resourceInputs["createdAt"] = state?.createdAt;
|
|
50
|
+
resourceInputs["destroyOnDrift"] = state?.destroyOnDrift;
|
|
50
51
|
resourceInputs["encryptedValue"] = state?.encryptedValue;
|
|
51
52
|
resourceInputs["plaintextValue"] = state?.plaintextValue;
|
|
52
53
|
resourceInputs["secretName"] = state?.secretName;
|
|
@@ -62,6 +63,7 @@ class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
|
62
63
|
if (args?.visibility === undefined && !opts.urn) {
|
|
63
64
|
throw new Error("Missing required property 'visibility'");
|
|
64
65
|
}
|
|
66
|
+
resourceInputs["destroyOnDrift"] = args?.destroyOnDrift;
|
|
65
67
|
resourceInputs["encryptedValue"] = args?.encryptedValue ? pulumi.secret(args.encryptedValue) : undefined;
|
|
66
68
|
resourceInputs["plaintextValue"] = args?.plaintextValue ? pulumi.secret(args.plaintextValue) : undefined;
|
|
67
69
|
resourceInputs["secretName"] = args?.secretName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource help you to allow/unallow a repository to use an existing GitHub Actions secrets within your GitHub organization.
|
|
4
|
+
* You must have write access to an organization secret to use this resource.
|
|
5
|
+
*
|
|
6
|
+
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as github from "@pulumi/github";
|
|
13
|
+
*
|
|
14
|
+
* const repo = github.getRepository({
|
|
15
|
+
* fullName: "my-org/repo",
|
|
16
|
+
* });
|
|
17
|
+
* const orgSecretRepos = new github.ActionsOrganizationSecretRepository("org_secret_repos", {
|
|
18
|
+
* secretName: "EXAMPLE_SECRET_NAME",
|
|
19
|
+
* repositoryId: repoGithubRepository.repoId,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* This resource can be imported using an ID made up of the secret name:
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository test_secret_repos test_secret_name:repo_id
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class ActionsOrganizationSecretRepository extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing ActionsOrganizationSecretRepository resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActionsOrganizationSecretRepositoryState, opts?: pulumi.CustomResourceOptions): ActionsOrganizationSecretRepository;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of ActionsOrganizationSecretRepository. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is ActionsOrganizationSecretRepository;
|
|
47
|
+
/**
|
|
48
|
+
* Repository id that can access the organization secret.
|
|
49
|
+
*/
|
|
50
|
+
readonly repositoryId: pulumi.Output<number>;
|
|
51
|
+
/**
|
|
52
|
+
* Name of the existing secret
|
|
53
|
+
*/
|
|
54
|
+
readonly secretName: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Create a ActionsOrganizationSecretRepository resource with the given unique name, arguments, and options.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resource.
|
|
59
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
60
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
61
|
+
*/
|
|
62
|
+
constructor(name: string, args: ActionsOrganizationSecretRepositoryArgs, opts?: pulumi.CustomResourceOptions);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Input properties used for looking up and filtering ActionsOrganizationSecretRepository resources.
|
|
66
|
+
*/
|
|
67
|
+
export interface ActionsOrganizationSecretRepositoryState {
|
|
68
|
+
/**
|
|
69
|
+
* Repository id that can access the organization secret.
|
|
70
|
+
*/
|
|
71
|
+
repositoryId?: pulumi.Input<number>;
|
|
72
|
+
/**
|
|
73
|
+
* Name of the existing secret
|
|
74
|
+
*/
|
|
75
|
+
secretName?: pulumi.Input<string>;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The set of arguments for constructing a ActionsOrganizationSecretRepository resource.
|
|
79
|
+
*/
|
|
80
|
+
export interface ActionsOrganizationSecretRepositoryArgs {
|
|
81
|
+
/**
|
|
82
|
+
* Repository id that can access the organization secret.
|
|
83
|
+
*/
|
|
84
|
+
repositoryId: pulumi.Input<number>;
|
|
85
|
+
/**
|
|
86
|
+
* Name of the existing secret
|
|
87
|
+
*/
|
|
88
|
+
secretName: pulumi.Input<string>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.ActionsOrganizationSecretRepository = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource help you to allow/unallow a repository to use an existing GitHub Actions secrets within your GitHub organization.
|
|
10
|
+
* You must have write access to an organization secret to use this resource.
|
|
11
|
+
*
|
|
12
|
+
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as github from "@pulumi/github";
|
|
19
|
+
*
|
|
20
|
+
* const repo = github.getRepository({
|
|
21
|
+
* fullName: "my-org/repo",
|
|
22
|
+
* });
|
|
23
|
+
* const orgSecretRepos = new github.ActionsOrganizationSecretRepository("org_secret_repos", {
|
|
24
|
+
* secretName: "EXAMPLE_SECRET_NAME",
|
|
25
|
+
* repositoryId: repoGithubRepository.repoId,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* This resource can be imported using an ID made up of the secret name:
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository test_secret_repos test_secret_name:repo_id
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class ActionsOrganizationSecretRepository extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing ActionsOrganizationSecretRepository resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new ActionsOrganizationSecretRepository(name, state, { ...opts, id: id });
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of ActionsOrganizationSecretRepository. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === ActionsOrganizationSecretRepository.__pulumiType;
|
|
59
|
+
}
|
|
60
|
+
constructor(name, argsOrState, opts) {
|
|
61
|
+
let resourceInputs = {};
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
if (opts.id) {
|
|
64
|
+
const state = argsOrState;
|
|
65
|
+
resourceInputs["repositoryId"] = state?.repositoryId;
|
|
66
|
+
resourceInputs["secretName"] = state?.secretName;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if (args?.repositoryId === undefined && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'repositoryId'");
|
|
72
|
+
}
|
|
73
|
+
if (args?.secretName === undefined && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'secretName'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["repositoryId"] = args?.repositoryId;
|
|
77
|
+
resourceInputs["secretName"] = args?.secretName;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(ActionsOrganizationSecretRepository.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.ActionsOrganizationSecretRepository = ActionsOrganizationSecretRepository;
|
|
84
|
+
/** @internal */
|
|
85
|
+
ActionsOrganizationSecretRepository.__pulumiType = 'github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository';
|
|
86
|
+
//# sourceMappingURL=actionsOrganizationSecretRepository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecretRepository.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgG,EAAE,IAAmC;QAC3J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmE,CAAC;YAClF,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;SACpD;aAAM;YACH,MAAM,IAAI,GAAG,WAAkE,CAAC;YAChF,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAjEL,kFAkEC;AApDG,gBAAgB;AACO,gDAAY,GAAG,sFAAsF,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare const organization: string | undefined;
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const owner: string | undefined;
|
|
26
26
|
/**
|
|
27
|
-
* Allow the provider to make parallel API calls to GitHub. You may want to set it to true when you have a private Github Enterprise without strict rate limits.
|
|
27
|
+
* Allow the provider to make parallel API calls to GitHub. You may want to set it to true when you have a private Github Enterprise without strict rate limits. While it is possible to enable this setting on github.com, github.com's best practices recommend using serialization to avoid hitting abuse rate limitsDefaults to false if not set
|
|
28
28
|
*/
|
|
29
29
|
export declare const parallelRequests: boolean | undefined;
|
|
30
30
|
/**
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about a GitHub organization custom property.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const environment = github.getOrganizationCustomProperties({
|
|
12
|
+
* propertyName: "environment",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getOrganizationCustomProperties(args: GetOrganizationCustomPropertiesArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationCustomPropertiesResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getOrganizationCustomProperties.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetOrganizationCustomPropertiesArgs {
|
|
21
|
+
/**
|
|
22
|
+
* List of allowed values for the custom property. Only populated when `valueType` is `singleSelect` or `multiSelect`.
|
|
23
|
+
*/
|
|
24
|
+
allowedValues?: string[];
|
|
25
|
+
/**
|
|
26
|
+
* The default value of the custom property.
|
|
27
|
+
*/
|
|
28
|
+
defaultValue?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The description of the custom property.
|
|
31
|
+
*/
|
|
32
|
+
description?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the custom property to retrieve.
|
|
35
|
+
*/
|
|
36
|
+
propertyName: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the custom property is required.
|
|
39
|
+
*/
|
|
40
|
+
required?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The type of the custom property. Can be one of `string`, `singleSelect`, `multiSelect`, or `trueFalse`.
|
|
43
|
+
*/
|
|
44
|
+
valueType?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A collection of values returned by getOrganizationCustomProperties.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetOrganizationCustomPropertiesResult {
|
|
50
|
+
/**
|
|
51
|
+
* List of allowed values for the custom property. Only populated when `valueType` is `singleSelect` or `multiSelect`.
|
|
52
|
+
*/
|
|
53
|
+
readonly allowedValues: string[];
|
|
54
|
+
/**
|
|
55
|
+
* The default value of the custom property.
|
|
56
|
+
*/
|
|
57
|
+
readonly defaultValue: string;
|
|
58
|
+
/**
|
|
59
|
+
* The description of the custom property.
|
|
60
|
+
*/
|
|
61
|
+
readonly description: string;
|
|
62
|
+
/**
|
|
63
|
+
* The provider-assigned unique ID for this managed resource.
|
|
64
|
+
*/
|
|
65
|
+
readonly id: string;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the custom property.
|
|
68
|
+
*/
|
|
69
|
+
readonly propertyName: string;
|
|
70
|
+
/**
|
|
71
|
+
* Whether the custom property is required.
|
|
72
|
+
*/
|
|
73
|
+
readonly required?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* The type of the custom property. Can be one of `string`, `singleSelect`, `multiSelect`, or `trueFalse`.
|
|
76
|
+
*/
|
|
77
|
+
readonly valueType?: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Use this data source to retrieve information about a GitHub organization custom property.
|
|
81
|
+
*
|
|
82
|
+
* ## Example Usage
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as github from "@pulumi/github";
|
|
87
|
+
*
|
|
88
|
+
* const environment = github.getOrganizationCustomProperties({
|
|
89
|
+
* propertyName: "environment",
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare function getOrganizationCustomPropertiesOutput(args: GetOrganizationCustomPropertiesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationCustomPropertiesResult>;
|
|
94
|
+
/**
|
|
95
|
+
* A collection of arguments for invoking getOrganizationCustomProperties.
|
|
96
|
+
*/
|
|
97
|
+
export interface GetOrganizationCustomPropertiesOutputArgs {
|
|
98
|
+
/**
|
|
99
|
+
* List of allowed values for the custom property. Only populated when `valueType` is `singleSelect` or `multiSelect`.
|
|
100
|
+
*/
|
|
101
|
+
allowedValues?: pulumi.Input<pulumi.Input<string>[]>;
|
|
102
|
+
/**
|
|
103
|
+
* The default value of the custom property.
|
|
104
|
+
*/
|
|
105
|
+
defaultValue?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The description of the custom property.
|
|
108
|
+
*/
|
|
109
|
+
description?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The name of the custom property to retrieve.
|
|
112
|
+
*/
|
|
113
|
+
propertyName: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Whether the custom property is required.
|
|
116
|
+
*/
|
|
117
|
+
required?: pulumi.Input<boolean>;
|
|
118
|
+
/**
|
|
119
|
+
* The type of the custom property. Can be one of `string`, `singleSelect`, `multiSelect`, or `trueFalse`.
|
|
120
|
+
*/
|
|
121
|
+
valueType?: pulumi.Input<string>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getOrganizationCustomPropertiesOutput = exports.getOrganizationCustomProperties = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about a GitHub organization custom property.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const environment = github.getOrganizationCustomProperties({
|
|
18
|
+
* propertyName: "environment",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getOrganizationCustomProperties(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("github:index/getOrganizationCustomProperties:getOrganizationCustomProperties", {
|
|
25
|
+
"allowedValues": args.allowedValues,
|
|
26
|
+
"defaultValue": args.defaultValue,
|
|
27
|
+
"description": args.description,
|
|
28
|
+
"propertyName": args.propertyName,
|
|
29
|
+
"required": args.required,
|
|
30
|
+
"valueType": args.valueType,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getOrganizationCustomProperties = getOrganizationCustomProperties;
|
|
34
|
+
/**
|
|
35
|
+
* Use this data source to retrieve information about a GitHub organization custom property.
|
|
36
|
+
*
|
|
37
|
+
* ## Example Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as github from "@pulumi/github";
|
|
42
|
+
*
|
|
43
|
+
* const environment = github.getOrganizationCustomProperties({
|
|
44
|
+
* propertyName: "environment",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
function getOrganizationCustomPropertiesOutput(args, opts) {
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
+
return pulumi.runtime.invokeOutput("github:index/getOrganizationCustomProperties:getOrganizationCustomProperties", {
|
|
51
|
+
"allowedValues": args.allowedValues,
|
|
52
|
+
"defaultValue": args.defaultValue,
|
|
53
|
+
"description": args.description,
|
|
54
|
+
"propertyName": args.propertyName,
|
|
55
|
+
"required": args.required,
|
|
56
|
+
"valueType": args.valueType,
|
|
57
|
+
}, opts);
|
|
58
|
+
}
|
|
59
|
+
exports.getOrganizationCustomPropertiesOutput = getOrganizationCustomPropertiesOutput;
|
|
60
|
+
//# sourceMappingURL=getOrganizationCustomProperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationCustomProperties.js","sourceRoot":"","sources":["../getOrganizationCustomProperties.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0EAUC;AAiED;;;;;;;;;;;;;GAaG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAAiC;IACpI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8EAA8E,EAAE;QAC/G,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sFAUC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > **Note:** This data source is deprecated, please use the `githubOrganizationrepositoryRole` data source instead.
|
|
4
|
+
*
|
|
3
5
|
* Use this data source to retrieve information about a custom role in a GitHub Organization.
|
|
4
6
|
*
|
|
5
7
|
* > Note: Custom roles are currently only available in GitHub Enterprise Cloud.
|
|
@@ -48,6 +50,8 @@ export interface GetOrganizationCustomRoleResult {
|
|
|
48
50
|
readonly permissions: string[];
|
|
49
51
|
}
|
|
50
52
|
/**
|
|
53
|
+
* > **Note:** This data source is deprecated, please use the `githubOrganizationrepositoryRole` data source instead.
|
|
54
|
+
*
|
|
51
55
|
* Use this data source to retrieve information about a custom role in a GitHub Organization.
|
|
52
56
|
*
|
|
53
57
|
* > Note: Custom roles are currently only available in GitHub Enterprise Cloud.
|
|
@@ -6,6 +6,8 @@ exports.getOrganizationCustomRoleOutput = exports.getOrganizationCustomRole = vo
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note:** This data source is deprecated, please use the `githubOrganizationrepositoryRole` data source instead.
|
|
10
|
+
*
|
|
9
11
|
* Use this data source to retrieve information about a custom role in a GitHub Organization.
|
|
10
12
|
*
|
|
11
13
|
* > Note: Custom roles are currently only available in GitHub Enterprise Cloud.
|
|
@@ -29,6 +31,8 @@ function getOrganizationCustomRole(args, opts) {
|
|
|
29
31
|
}
|
|
30
32
|
exports.getOrganizationCustomRole = getOrganizationCustomRole;
|
|
31
33
|
/**
|
|
34
|
+
* > **Note:** This data source is deprecated, please use the `githubOrganizationrepositoryRole` data source instead.
|
|
35
|
+
*
|
|
32
36
|
* Use this data source to retrieve information about a custom role in a GitHub Organization.
|
|
33
37
|
*
|
|
34
38
|
* > Note: Custom roles are currently only available in GitHub Enterprise Cloud.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationCustomRole.js","sourceRoot":"","sources":["../getOrganizationCustomRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getOrganizationCustomRole.js","sourceRoot":"","sources":["../getOrganizationCustomRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC;AAkCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0EAKC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Lookup a custom organization repository role.
|
|
4
|
+
*
|
|
5
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as github from "@pulumi/github";
|
|
12
|
+
*
|
|
13
|
+
* const example = github.getOrganizationRepositoryRole({
|
|
14
|
+
* roleId: 1234,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getOrganizationRepositoryRole(args: GetOrganizationRepositoryRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationRepositoryRoleResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getOrganizationRepositoryRole.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOrganizationRepositoryRoleArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the organization repository role.
|
|
25
|
+
*/
|
|
26
|
+
roleId: number;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getOrganizationRepositoryRole.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetOrganizationRepositoryRoleResult {
|
|
32
|
+
/**
|
|
33
|
+
* The system role from which this role inherits permissions.
|
|
34
|
+
*/
|
|
35
|
+
readonly baseRole: string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the organization repository role.
|
|
38
|
+
*/
|
|
39
|
+
readonly description: string;
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the organization repository role.
|
|
46
|
+
*/
|
|
47
|
+
readonly name: string;
|
|
48
|
+
/**
|
|
49
|
+
* The permissions included in this role.
|
|
50
|
+
*/
|
|
51
|
+
readonly permissions: string[];
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the organization repository role.
|
|
54
|
+
*/
|
|
55
|
+
readonly roleId: number;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Lookup a custom organization repository role.
|
|
59
|
+
*
|
|
60
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
61
|
+
*
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as github from "@pulumi/github";
|
|
67
|
+
*
|
|
68
|
+
* const example = github.getOrganizationRepositoryRole({
|
|
69
|
+
* roleId: 1234,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getOrganizationRepositoryRoleOutput(args: GetOrganizationRepositoryRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationRepositoryRoleResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getOrganizationRepositoryRole.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetOrganizationRepositoryRoleOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the organization repository role.
|
|
80
|
+
*/
|
|
81
|
+
roleId: pulumi.Input<number>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getOrganizationRepositoryRoleOutput = exports.getOrganizationRepositoryRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Lookup a custom organization repository role.
|
|
10
|
+
*
|
|
11
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const example = github.getOrganizationRepositoryRole({
|
|
20
|
+
* roleId: 1234,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getOrganizationRepositoryRole(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("github:index/getOrganizationRepositoryRole:getOrganizationRepositoryRole", {
|
|
27
|
+
"roleId": args.roleId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getOrganizationRepositoryRole = getOrganizationRepositoryRole;
|
|
31
|
+
/**
|
|
32
|
+
* Lookup a custom organization repository role.
|
|
33
|
+
*
|
|
34
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as github from "@pulumi/github";
|
|
41
|
+
*
|
|
42
|
+
* const example = github.getOrganizationRepositoryRole({
|
|
43
|
+
* roleId: 1234,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getOrganizationRepositoryRoleOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("github:index/getOrganizationRepositoryRole:getOrganizationRepositoryRole", {
|
|
50
|
+
"roleId": args.roleId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getOrganizationRepositoryRoleOutput = getOrganizationRepositoryRoleOutput;
|
|
54
|
+
//# sourceMappingURL=getOrganizationRepositoryRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationRepositoryRole.js","sourceRoot":"","sources":["../getOrganizationRepositoryRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC;AAyCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0EAA0E,EAAE;QAC3G,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kFAKC"}
|