@pulumi/github 6.7.3 → 6.7.4
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/actionsEnvironmentSecret.js +16 -16
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.js +15 -15
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +4 -4
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.js +10 -10
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.js +15 -15
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.js +7 -7
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationVariable.js +14 -14
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsRepositoryAccessLevel.js +7 -7
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +9 -9
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.js +10 -10
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.js +19 -19
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.js +13 -13
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.js +12 -12
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepositories.js +7 -7
- package/appInstallationRepositories.js.map +1 -1
- package/appInstallationRepository.js +8 -8
- package/appInstallationRepository.js.map +1 -1
- package/branch.js +14 -14
- package/branch.js.map +1 -1
- package/branchDefault.js +10 -10
- package/branchDefault.js.map +1 -1
- package/branchProtection.js +29 -29
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.js +20 -20
- package/branchProtectionV3.js.map +1 -1
- package/codespacesOrganizationSecret.js +15 -15
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.js +7 -7
- package/codespacesOrganizationSecretRepositories.js.map +1 -1
- package/codespacesSecret.js +13 -13
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.js +12 -12
- package/codespacesUserSecret.js.map +1 -1
- package/config/vars.d.ts +4 -9
- package/config/vars.js +2 -4
- package/config/vars.js.map +1 -1
- package/dependabotOrganizationSecret.js +15 -15
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.js +7 -7
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotSecret.js +13 -13
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.js +8 -8
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseActionsPermissions.js +13 -13
- package/enterpriseActionsPermissions.js.map +1 -1
- package/enterpriseActionsRunnerGroup.js +21 -21
- package/enterpriseActionsRunnerGroup.js.map +1 -1
- package/enterpriseOrganization.js +17 -17
- package/enterpriseOrganization.js.map +1 -1
- package/getRelease.d.ts +28 -0
- package/getRelease.js +28 -0
- package/getRelease.js.map +1 -1
- package/issue.js +18 -18
- package/issue.js.map +1 -1
- package/issueLabel.js +13 -13
- package/issueLabel.js.map +1 -1
- package/issueLabels.js +6 -6
- package/issueLabels.js.map +1 -1
- package/membership.js +9 -9
- package/membership.js.map +1 -1
- package/organizationBlock.js +5 -5
- package/organizationBlock.js.map +1 -1
- package/organizationCustomRole.js +11 -11
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.js +7 -7
- package/organizationProject.js.map +1 -1
- package/organizationRuleset.js +19 -19
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.js +4 -4
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.js +54 -54
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +2 -0
- package/organizationWebhook.js +12 -10
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/projectCard.js +12 -12
- package/projectCard.js.map +1 -1
- package/projectColumn.js +8 -8
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +4 -9
- package/provider.js +12 -13
- package/provider.js.map +1 -1
- package/release.js +32 -32
- package/release.js.map +1 -1
- package/repository.js +79 -79
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.js +13 -13
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.js +12 -12
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.js +11 -11
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryCustomProperty.js +13 -13
- package/repositoryCustomProperty.js.map +1 -1
- package/repositoryDependabotSecurityUpdates.js +7 -7
- package/repositoryDependabotSecurityUpdates.js.map +1 -1
- package/repositoryDeployKey.js +13 -13
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.js +10 -10
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.js +17 -17
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.js +11 -11
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.js +29 -29
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.js +17 -17
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.js +10 -10
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.js +28 -28
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryRuleset.js +21 -21
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTopics.js +7 -7
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.js +13 -13
- package/repositoryWebhook.js.map +1 -1
- package/team.js +21 -21
- package/team.js.map +1 -1
- package/teamMembers.js +7 -7
- package/teamMembers.js.map +1 -1
- package/teamMembership.js +10 -10
- package/teamMembership.js.map +1 -1
- package/teamRepository.js +10 -10
- package/teamRepository.js.map +1 -1
- package/teamSettings.js +8 -8
- package/teamSettings.js.map +1 -1
- package/teamSyncGroupMapping.js +7 -7
- package/teamSyncGroupMapping.js.map +1 -1
- package/userGpgKey.js +6 -6
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.js +5 -5
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.js +9 -9
- package/userSshKey.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
package/actionsRunnerGroup.js
CHANGED
|
@@ -42,7 +42,7 @@ class ActionsRunnerGroup extends pulumi.CustomResource {
|
|
|
42
42
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
43
|
*/
|
|
44
44
|
static get(name, id, state, opts) {
|
|
45
|
-
return new ActionsRunnerGroup(name, state,
|
|
45
|
+
return new ActionsRunnerGroup(name, state, { ...opts, id: id });
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
48
|
* Returns true if the given object is an instance of ActionsRunnerGroup. This is designed to work even
|
|
@@ -59,29 +59,29 @@ class ActionsRunnerGroup extends pulumi.CustomResource {
|
|
|
59
59
|
opts = opts || {};
|
|
60
60
|
if (opts.id) {
|
|
61
61
|
const state = argsOrState;
|
|
62
|
-
resourceInputs["allowsPublicRepositories"] = state
|
|
63
|
-
resourceInputs["default"] = state
|
|
64
|
-
resourceInputs["etag"] = state
|
|
65
|
-
resourceInputs["inherited"] = state
|
|
66
|
-
resourceInputs["name"] = state
|
|
67
|
-
resourceInputs["restrictedToWorkflows"] = state
|
|
68
|
-
resourceInputs["runnersUrl"] = state
|
|
69
|
-
resourceInputs["selectedRepositoriesUrl"] = state
|
|
70
|
-
resourceInputs["selectedRepositoryIds"] = state
|
|
71
|
-
resourceInputs["selectedWorkflows"] = state
|
|
72
|
-
resourceInputs["visibility"] = state
|
|
62
|
+
resourceInputs["allowsPublicRepositories"] = state?.allowsPublicRepositories;
|
|
63
|
+
resourceInputs["default"] = state?.default;
|
|
64
|
+
resourceInputs["etag"] = state?.etag;
|
|
65
|
+
resourceInputs["inherited"] = state?.inherited;
|
|
66
|
+
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["restrictedToWorkflows"] = state?.restrictedToWorkflows;
|
|
68
|
+
resourceInputs["runnersUrl"] = state?.runnersUrl;
|
|
69
|
+
resourceInputs["selectedRepositoriesUrl"] = state?.selectedRepositoriesUrl;
|
|
70
|
+
resourceInputs["selectedRepositoryIds"] = state?.selectedRepositoryIds;
|
|
71
|
+
resourceInputs["selectedWorkflows"] = state?.selectedWorkflows;
|
|
72
|
+
resourceInputs["visibility"] = state?.visibility;
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
75
|
const args = argsOrState;
|
|
76
|
-
if (
|
|
76
|
+
if (args?.visibility === undefined && !opts.urn) {
|
|
77
77
|
throw new Error("Missing required property 'visibility'");
|
|
78
78
|
}
|
|
79
|
-
resourceInputs["allowsPublicRepositories"] = args
|
|
80
|
-
resourceInputs["name"] = args
|
|
81
|
-
resourceInputs["restrictedToWorkflows"] = args
|
|
82
|
-
resourceInputs["selectedRepositoryIds"] = args
|
|
83
|
-
resourceInputs["selectedWorkflows"] = args
|
|
84
|
-
resourceInputs["visibility"] = args
|
|
79
|
+
resourceInputs["allowsPublicRepositories"] = args?.allowsPublicRepositories;
|
|
80
|
+
resourceInputs["name"] = args?.name;
|
|
81
|
+
resourceInputs["restrictedToWorkflows"] = args?.restrictedToWorkflows;
|
|
82
|
+
resourceInputs["selectedRepositoryIds"] = args?.selectedRepositoryIds;
|
|
83
|
+
resourceInputs["selectedWorkflows"] = args?.selectedWorkflows;
|
|
84
|
+
resourceInputs["visibility"] = args?.visibility;
|
|
85
85
|
resourceInputs["default"] = undefined /*out*/;
|
|
86
86
|
resourceInputs["etag"] = undefined /*out*/;
|
|
87
87
|
resourceInputs["inherited"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRunnerGroup.js","sourceRoot":"","sources":["../actionsRunnerGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;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AC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AApHL,gDAqHC;AAvGG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/actionsSecret.js
CHANGED
|
@@ -29,7 +29,7 @@ class ActionsSecret extends pulumi.CustomResource {
|
|
|
29
29
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
30
|
*/
|
|
31
31
|
static get(name, id, state, opts) {
|
|
32
|
-
return new ActionsSecret(name, state,
|
|
32
|
+
return new ActionsSecret(name, state, { ...opts, id: id });
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Returns true if the given object is an instance of ActionsSecret. This is designed to work even
|
|
@@ -46,25 +46,25 @@ class ActionsSecret extends pulumi.CustomResource {
|
|
|
46
46
|
opts = opts || {};
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
|
-
resourceInputs["createdAt"] = state
|
|
50
|
-
resourceInputs["encryptedValue"] = state
|
|
51
|
-
resourceInputs["plaintextValue"] = state
|
|
52
|
-
resourceInputs["repository"] = state
|
|
53
|
-
resourceInputs["secretName"] = state
|
|
54
|
-
resourceInputs["updatedAt"] = state
|
|
49
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
50
|
+
resourceInputs["encryptedValue"] = state?.encryptedValue;
|
|
51
|
+
resourceInputs["plaintextValue"] = state?.plaintextValue;
|
|
52
|
+
resourceInputs["repository"] = state?.repository;
|
|
53
|
+
resourceInputs["secretName"] = state?.secretName;
|
|
54
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
57
57
|
const args = argsOrState;
|
|
58
|
-
if (
|
|
58
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
59
59
|
throw new Error("Missing required property 'repository'");
|
|
60
60
|
}
|
|
61
|
-
if (
|
|
61
|
+
if (args?.secretName === undefined && !opts.urn) {
|
|
62
62
|
throw new Error("Missing required property 'secretName'");
|
|
63
63
|
}
|
|
64
|
-
resourceInputs["encryptedValue"] =
|
|
65
|
-
resourceInputs["plaintextValue"] =
|
|
66
|
-
resourceInputs["repository"] = args
|
|
67
|
-
resourceInputs["secretName"] = args
|
|
64
|
+
resourceInputs["encryptedValue"] = args?.encryptedValue ? pulumi.secret(args.encryptedValue) : undefined;
|
|
65
|
+
resourceInputs["plaintextValue"] = args?.plaintextValue ? pulumi.secret(args.plaintextValue) : undefined;
|
|
66
|
+
resourceInputs["repository"] = args?.repository;
|
|
67
|
+
resourceInputs["secretName"] = args?.secretName;
|
|
68
68
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
69
69
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
70
70
|
}
|
package/actionsSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../actionsSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../action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ionsVariable.js
CHANGED
|
@@ -41,7 +41,7 @@ class ActionsVariable extends pulumi.CustomResource {
|
|
|
41
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
42
|
*/
|
|
43
43
|
static get(name, id, state, opts) {
|
|
44
|
-
return new ActionsVariable(name, state,
|
|
44
|
+
return new ActionsVariable(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of ActionsVariable. This is designed to work even
|
|
@@ -58,26 +58,26 @@ class ActionsVariable extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["createdAt"] = state
|
|
62
|
-
resourceInputs["repository"] = state
|
|
63
|
-
resourceInputs["updatedAt"] = state
|
|
64
|
-
resourceInputs["value"] = state
|
|
65
|
-
resourceInputs["variableName"] = state
|
|
61
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
62
|
+
resourceInputs["repository"] = state?.repository;
|
|
63
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
64
|
+
resourceInputs["value"] = state?.value;
|
|
65
|
+
resourceInputs["variableName"] = state?.variableName;
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
const args = argsOrState;
|
|
69
|
-
if (
|
|
69
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
70
70
|
throw new Error("Missing required property 'repository'");
|
|
71
71
|
}
|
|
72
|
-
if (
|
|
72
|
+
if (args?.value === undefined && !opts.urn) {
|
|
73
73
|
throw new Error("Missing required property 'value'");
|
|
74
74
|
}
|
|
75
|
-
if (
|
|
75
|
+
if (args?.variableName === undefined && !opts.urn) {
|
|
76
76
|
throw new Error("Missing required property 'variableName'");
|
|
77
77
|
}
|
|
78
|
-
resourceInputs["repository"] = args
|
|
79
|
-
resourceInputs["value"] = args
|
|
80
|
-
resourceInputs["variableName"] = args
|
|
78
|
+
resourceInputs["repository"] = args?.repository;
|
|
79
|
+
resourceInputs["value"] = args?.value;
|
|
80
|
+
resourceInputs["variableName"] = args?.variableName;
|
|
81
81
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
82
82
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
83
83
|
}
|
package/actionsVariable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsVariable.js","sourceRoot":"","sources":["../actionsVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"actionsVariable.js","sourceRoot":"","sources":["../actionsVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,eAAe,CA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D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAtFL,0CAuFC;AAzEG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -38,7 +38,7 @@ class AppInstallationRepositories extends pulumi.CustomResource {
|
|
|
38
38
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
39
|
*/
|
|
40
40
|
static get(name, id, state, opts) {
|
|
41
|
-
return new AppInstallationRepositories(name, state,
|
|
41
|
+
return new AppInstallationRepositories(name, state, { ...opts, id: id });
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Returns true if the given object is an instance of AppInstallationRepositories. This is designed to work even
|
|
@@ -55,19 +55,19 @@ class AppInstallationRepositories extends pulumi.CustomResource {
|
|
|
55
55
|
opts = opts || {};
|
|
56
56
|
if (opts.id) {
|
|
57
57
|
const state = argsOrState;
|
|
58
|
-
resourceInputs["installationId"] = state
|
|
59
|
-
resourceInputs["selectedRepositories"] = state
|
|
58
|
+
resourceInputs["installationId"] = state?.installationId;
|
|
59
|
+
resourceInputs["selectedRepositories"] = state?.selectedRepositories;
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
62
62
|
const args = argsOrState;
|
|
63
|
-
if (
|
|
63
|
+
if (args?.installationId === undefined && !opts.urn) {
|
|
64
64
|
throw new Error("Missing required property 'installationId'");
|
|
65
65
|
}
|
|
66
|
-
if (
|
|
66
|
+
if (args?.selectedRepositories === undefined && !opts.urn) {
|
|
67
67
|
throw new Error("Missing required property 'selectedRepositories'");
|
|
68
68
|
}
|
|
69
|
-
resourceInputs["installationId"] = args
|
|
70
|
-
resourceInputs["selectedRepositories"] = args
|
|
69
|
+
resourceInputs["installationId"] = args?.installationId;
|
|
70
|
+
resourceInputs["selectedRepositories"] = args?.selectedRepositories;
|
|
71
71
|
}
|
|
72
72
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
73
|
super(AppInstallationRepositories.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appInstallationRepositories.js","sourceRoot":"","sources":["../appInstallationRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"appInstallationRepositories.js","sourceRoot":"","sources":["../appInstallationRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;IAqBD,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;SACxE;aAAM;YACH,MAAM,IAAI,GAAG,WAA0D,CAAC;YACxE,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,IAAI,EAAE,oBAAoB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;aACvE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AAnEL,kEAoEC;AAtDG,gBAAgB;AACO,wCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -52,7 +52,7 @@ class AppInstallationRepository extends pulumi.CustomResource {
|
|
|
52
52
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
53
|
*/
|
|
54
54
|
static get(name, id, state, opts) {
|
|
55
|
-
return new AppInstallationRepository(name, state,
|
|
55
|
+
return new AppInstallationRepository(name, state, { ...opts, id: id });
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Returns true if the given object is an instance of AppInstallationRepository. This is designed to work even
|
|
@@ -69,20 +69,20 @@ class AppInstallationRepository extends pulumi.CustomResource {
|
|
|
69
69
|
opts = opts || {};
|
|
70
70
|
if (opts.id) {
|
|
71
71
|
const state = argsOrState;
|
|
72
|
-
resourceInputs["installationId"] = state
|
|
73
|
-
resourceInputs["repoId"] = state
|
|
74
|
-
resourceInputs["repository"] = state
|
|
72
|
+
resourceInputs["installationId"] = state?.installationId;
|
|
73
|
+
resourceInputs["repoId"] = state?.repoId;
|
|
74
|
+
resourceInputs["repository"] = state?.repository;
|
|
75
75
|
}
|
|
76
76
|
else {
|
|
77
77
|
const args = argsOrState;
|
|
78
|
-
if (
|
|
78
|
+
if (args?.installationId === undefined && !opts.urn) {
|
|
79
79
|
throw new Error("Missing required property 'installationId'");
|
|
80
80
|
}
|
|
81
|
-
if (
|
|
81
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
82
82
|
throw new Error("Missing required property 'repository'");
|
|
83
83
|
}
|
|
84
|
-
resourceInputs["installationId"] = args
|
|
85
|
-
resourceInputs["repository"] = args
|
|
84
|
+
resourceInputs["installationId"] = args?.installationId;
|
|
85
|
+
resourceInputs["repository"] = args?.repository;
|
|
86
86
|
resourceInputs["repoId"] = undefined /*out*/;
|
|
87
87
|
}
|
|
88
88
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appInstallationRepository.js","sourceRoot":"","sources":["../appInstallationRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CA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D;aAAM;YACH,MAAM,IAAI,GAAG,WAAwD,CAAC;YACtE,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;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,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AApEL,8DAqEC;AAvDG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,CAAC"}
|
package/branch.js
CHANGED
|
@@ -53,7 +53,7 @@ class Branch extends pulumi.CustomResource {
|
|
|
53
53
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
54
|
*/
|
|
55
55
|
static get(name, id, state, opts) {
|
|
56
|
-
return new Branch(name, state,
|
|
56
|
+
return new Branch(name, state, { ...opts, id: id });
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Returns true if the given object is an instance of Branch. This is designed to work even
|
|
@@ -70,26 +70,26 @@ class Branch extends pulumi.CustomResource {
|
|
|
70
70
|
opts = opts || {};
|
|
71
71
|
if (opts.id) {
|
|
72
72
|
const state = argsOrState;
|
|
73
|
-
resourceInputs["branch"] = state
|
|
74
|
-
resourceInputs["etag"] = state
|
|
75
|
-
resourceInputs["ref"] = state
|
|
76
|
-
resourceInputs["repository"] = state
|
|
77
|
-
resourceInputs["sha"] = state
|
|
78
|
-
resourceInputs["sourceBranch"] = state
|
|
79
|
-
resourceInputs["sourceSha"] = state
|
|
73
|
+
resourceInputs["branch"] = state?.branch;
|
|
74
|
+
resourceInputs["etag"] = state?.etag;
|
|
75
|
+
resourceInputs["ref"] = state?.ref;
|
|
76
|
+
resourceInputs["repository"] = state?.repository;
|
|
77
|
+
resourceInputs["sha"] = state?.sha;
|
|
78
|
+
resourceInputs["sourceBranch"] = state?.sourceBranch;
|
|
79
|
+
resourceInputs["sourceSha"] = state?.sourceSha;
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
82
82
|
const args = argsOrState;
|
|
83
|
-
if (
|
|
83
|
+
if (args?.branch === undefined && !opts.urn) {
|
|
84
84
|
throw new Error("Missing required property 'branch'");
|
|
85
85
|
}
|
|
86
|
-
if (
|
|
86
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
87
87
|
throw new Error("Missing required property 'repository'");
|
|
88
88
|
}
|
|
89
|
-
resourceInputs["branch"] = args
|
|
90
|
-
resourceInputs["repository"] = args
|
|
91
|
-
resourceInputs["sourceBranch"] = args
|
|
92
|
-
resourceInputs["sourceSha"] = args
|
|
89
|
+
resourceInputs["branch"] = args?.branch;
|
|
90
|
+
resourceInputs["repository"] = args?.repository;
|
|
91
|
+
resourceInputs["sourceBranch"] = args?.sourceBranch;
|
|
92
|
+
resourceInputs["sourceSha"] = args?.sourceSha;
|
|
93
93
|
resourceInputs["etag"] = undefined /*out*/;
|
|
94
94
|
resourceInputs["ref"] = undefined /*out*/;
|
|
95
95
|
resourceInputs["sha"] = undefined /*out*/;
|
package/branch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branch.js","sourceRoot":"","sources":["../branch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AA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C3D,CAAC;;AA/FL,wBAgGC;AAlFG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
|
package/branchDefault.js
CHANGED
|
@@ -72,7 +72,7 @@ class BranchDefault extends pulumi.CustomResource {
|
|
|
72
72
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
73
|
*/
|
|
74
74
|
static get(name, id, state, opts) {
|
|
75
|
-
return new BranchDefault(name, state,
|
|
75
|
+
return new BranchDefault(name, state, { ...opts, id: id });
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Returns true if the given object is an instance of BranchDefault. This is designed to work even
|
|
@@ -89,22 +89,22 @@ class BranchDefault extends pulumi.CustomResource {
|
|
|
89
89
|
opts = opts || {};
|
|
90
90
|
if (opts.id) {
|
|
91
91
|
const state = argsOrState;
|
|
92
|
-
resourceInputs["branch"] = state
|
|
93
|
-
resourceInputs["etag"] = state
|
|
94
|
-
resourceInputs["rename"] = state
|
|
95
|
-
resourceInputs["repository"] = state
|
|
92
|
+
resourceInputs["branch"] = state?.branch;
|
|
93
|
+
resourceInputs["etag"] = state?.etag;
|
|
94
|
+
resourceInputs["rename"] = state?.rename;
|
|
95
|
+
resourceInputs["repository"] = state?.repository;
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
const args = argsOrState;
|
|
99
|
-
if (
|
|
99
|
+
if (args?.branch === undefined && !opts.urn) {
|
|
100
100
|
throw new Error("Missing required property 'branch'");
|
|
101
101
|
}
|
|
102
|
-
if (
|
|
102
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
103
103
|
throw new Error("Missing required property 'repository'");
|
|
104
104
|
}
|
|
105
|
-
resourceInputs["branch"] = args
|
|
106
|
-
resourceInputs["rename"] = args
|
|
107
|
-
resourceInputs["repository"] = args
|
|
105
|
+
resourceInputs["branch"] = args?.branch;
|
|
106
|
+
resourceInputs["rename"] = args?.rename;
|
|
107
|
+
resourceInputs["repository"] = args?.repository;
|
|
108
108
|
resourceInputs["etag"] = undefined /*out*/;
|
|
109
109
|
}
|
|
110
110
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/branchDefault.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchDefault.js","sourceRoot":"","sources":["../branchDefault.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"branchDefault.js","sourceRoot":"","sources":["../branchDefault.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAw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ACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/branchProtection.js
CHANGED
|
@@ -78,7 +78,7 @@ class BranchProtection extends pulumi.CustomResource {
|
|
|
78
78
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
79
|
*/
|
|
80
80
|
static get(name, id, state, opts) {
|
|
81
|
-
return new BranchProtection(name, state,
|
|
81
|
+
return new BranchProtection(name, state, { ...opts, id: id });
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
84
|
* Returns true if the given object is an instance of BranchProtection. This is designed to work even
|
|
@@ -95,41 +95,41 @@ class BranchProtection extends pulumi.CustomResource {
|
|
|
95
95
|
opts = opts || {};
|
|
96
96
|
if (opts.id) {
|
|
97
97
|
const state = argsOrState;
|
|
98
|
-
resourceInputs["allowsDeletions"] = state
|
|
99
|
-
resourceInputs["allowsForcePushes"] = state
|
|
100
|
-
resourceInputs["enforceAdmins"] = state
|
|
101
|
-
resourceInputs["forcePushBypassers"] = state
|
|
102
|
-
resourceInputs["lockBranch"] = state
|
|
103
|
-
resourceInputs["pattern"] = state
|
|
104
|
-
resourceInputs["repositoryId"] = state
|
|
105
|
-
resourceInputs["requireConversationResolution"] = state
|
|
106
|
-
resourceInputs["requireSignedCommits"] = state
|
|
107
|
-
resourceInputs["requiredLinearHistory"] = state
|
|
108
|
-
resourceInputs["requiredPullRequestReviews"] = state
|
|
109
|
-
resourceInputs["requiredStatusChecks"] = state
|
|
110
|
-
resourceInputs["restrictPushes"] = state
|
|
98
|
+
resourceInputs["allowsDeletions"] = state?.allowsDeletions;
|
|
99
|
+
resourceInputs["allowsForcePushes"] = state?.allowsForcePushes;
|
|
100
|
+
resourceInputs["enforceAdmins"] = state?.enforceAdmins;
|
|
101
|
+
resourceInputs["forcePushBypassers"] = state?.forcePushBypassers;
|
|
102
|
+
resourceInputs["lockBranch"] = state?.lockBranch;
|
|
103
|
+
resourceInputs["pattern"] = state?.pattern;
|
|
104
|
+
resourceInputs["repositoryId"] = state?.repositoryId;
|
|
105
|
+
resourceInputs["requireConversationResolution"] = state?.requireConversationResolution;
|
|
106
|
+
resourceInputs["requireSignedCommits"] = state?.requireSignedCommits;
|
|
107
|
+
resourceInputs["requiredLinearHistory"] = state?.requiredLinearHistory;
|
|
108
|
+
resourceInputs["requiredPullRequestReviews"] = state?.requiredPullRequestReviews;
|
|
109
|
+
resourceInputs["requiredStatusChecks"] = state?.requiredStatusChecks;
|
|
110
|
+
resourceInputs["restrictPushes"] = state?.restrictPushes;
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
113
|
const args = argsOrState;
|
|
114
|
-
if (
|
|
114
|
+
if (args?.pattern === undefined && !opts.urn) {
|
|
115
115
|
throw new Error("Missing required property 'pattern'");
|
|
116
116
|
}
|
|
117
|
-
if (
|
|
117
|
+
if (args?.repositoryId === undefined && !opts.urn) {
|
|
118
118
|
throw new Error("Missing required property 'repositoryId'");
|
|
119
119
|
}
|
|
120
|
-
resourceInputs["allowsDeletions"] = args
|
|
121
|
-
resourceInputs["allowsForcePushes"] = args
|
|
122
|
-
resourceInputs["enforceAdmins"] = args
|
|
123
|
-
resourceInputs["forcePushBypassers"] = args
|
|
124
|
-
resourceInputs["lockBranch"] = args
|
|
125
|
-
resourceInputs["pattern"] = args
|
|
126
|
-
resourceInputs["repositoryId"] = args
|
|
127
|
-
resourceInputs["requireConversationResolution"] = args
|
|
128
|
-
resourceInputs["requireSignedCommits"] = args
|
|
129
|
-
resourceInputs["requiredLinearHistory"] = args
|
|
130
|
-
resourceInputs["requiredPullRequestReviews"] = args
|
|
131
|
-
resourceInputs["requiredStatusChecks"] = args
|
|
132
|
-
resourceInputs["restrictPushes"] = args
|
|
120
|
+
resourceInputs["allowsDeletions"] = args?.allowsDeletions;
|
|
121
|
+
resourceInputs["allowsForcePushes"] = args?.allowsForcePushes;
|
|
122
|
+
resourceInputs["enforceAdmins"] = args?.enforceAdmins;
|
|
123
|
+
resourceInputs["forcePushBypassers"] = args?.forcePushBypassers;
|
|
124
|
+
resourceInputs["lockBranch"] = args?.lockBranch;
|
|
125
|
+
resourceInputs["pattern"] = args?.pattern;
|
|
126
|
+
resourceInputs["repositoryId"] = args?.repositoryId;
|
|
127
|
+
resourceInputs["requireConversationResolution"] = args?.requireConversationResolution;
|
|
128
|
+
resourceInputs["requireSignedCommits"] = args?.requireSignedCommits;
|
|
129
|
+
resourceInputs["requiredLinearHistory"] = args?.requiredLinearHistory;
|
|
130
|
+
resourceInputs["requiredPullRequestReviews"] = args?.requiredPullRequestReviews;
|
|
131
|
+
resourceInputs["requiredStatusChecks"] = args?.requiredStatusChecks;
|
|
132
|
+
resourceInputs["restrictPushes"] = args?.restrictPushes;
|
|
133
133
|
}
|
|
134
134
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
135
135
|
super(BranchProtection.__pulumiType, name, resourceInputs, opts);
|
package/branchProtection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchProtection.js","sourceRoot":"","sources":["../branchProtection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"branchProtection.js","sourceRoot":"","sources":["../branchProtection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,gBAAiB,S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AC,4BAA4B,CAAC,GAAG,IAAI,EAAE,0BAA0B,CAAC;YAChF,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAnIL,4CAoIC;AAtHG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/branchProtectionV3.js
CHANGED
|
@@ -47,7 +47,7 @@ class BranchProtectionV3 extends pulumi.CustomResource {
|
|
|
47
47
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
48
|
*/
|
|
49
49
|
static get(name, id, state, opts) {
|
|
50
|
-
return new BranchProtectionV3(name, state,
|
|
50
|
+
return new BranchProtectionV3(name, state, { ...opts, id: id });
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Returns true if the given object is an instance of BranchProtectionV3. This is designed to work even
|
|
@@ -64,32 +64,32 @@ class BranchProtectionV3 extends pulumi.CustomResource {
|
|
|
64
64
|
opts = opts || {};
|
|
65
65
|
if (opts.id) {
|
|
66
66
|
const state = argsOrState;
|
|
67
|
-
resourceInputs["branch"] = state
|
|
68
|
-
resourceInputs["enforceAdmins"] = state
|
|
69
|
-
resourceInputs["etag"] = state
|
|
70
|
-
resourceInputs["repository"] = state
|
|
71
|
-
resourceInputs["requireConversationResolution"] = state
|
|
72
|
-
resourceInputs["requireSignedCommits"] = state
|
|
73
|
-
resourceInputs["requiredPullRequestReviews"] = state
|
|
74
|
-
resourceInputs["requiredStatusChecks"] = state
|
|
75
|
-
resourceInputs["restrictions"] = state
|
|
67
|
+
resourceInputs["branch"] = state?.branch;
|
|
68
|
+
resourceInputs["enforceAdmins"] = state?.enforceAdmins;
|
|
69
|
+
resourceInputs["etag"] = state?.etag;
|
|
70
|
+
resourceInputs["repository"] = state?.repository;
|
|
71
|
+
resourceInputs["requireConversationResolution"] = state?.requireConversationResolution;
|
|
72
|
+
resourceInputs["requireSignedCommits"] = state?.requireSignedCommits;
|
|
73
|
+
resourceInputs["requiredPullRequestReviews"] = state?.requiredPullRequestReviews;
|
|
74
|
+
resourceInputs["requiredStatusChecks"] = state?.requiredStatusChecks;
|
|
75
|
+
resourceInputs["restrictions"] = state?.restrictions;
|
|
76
76
|
}
|
|
77
77
|
else {
|
|
78
78
|
const args = argsOrState;
|
|
79
|
-
if (
|
|
79
|
+
if (args?.branch === undefined && !opts.urn) {
|
|
80
80
|
throw new Error("Missing required property 'branch'");
|
|
81
81
|
}
|
|
82
|
-
if (
|
|
82
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
83
83
|
throw new Error("Missing required property 'repository'");
|
|
84
84
|
}
|
|
85
|
-
resourceInputs["branch"] = args
|
|
86
|
-
resourceInputs["enforceAdmins"] = args
|
|
87
|
-
resourceInputs["repository"] = args
|
|
88
|
-
resourceInputs["requireConversationResolution"] = args
|
|
89
|
-
resourceInputs["requireSignedCommits"] = args
|
|
90
|
-
resourceInputs["requiredPullRequestReviews"] = args
|
|
91
|
-
resourceInputs["requiredStatusChecks"] = args
|
|
92
|
-
resourceInputs["restrictions"] = args
|
|
85
|
+
resourceInputs["branch"] = args?.branch;
|
|
86
|
+
resourceInputs["enforceAdmins"] = args?.enforceAdmins;
|
|
87
|
+
resourceInputs["repository"] = args?.repository;
|
|
88
|
+
resourceInputs["requireConversationResolution"] = args?.requireConversationResolution;
|
|
89
|
+
resourceInputs["requireSignedCommits"] = args?.requireSignedCommits;
|
|
90
|
+
resourceInputs["requiredPullRequestReviews"] = args?.requiredPullRequestReviews;
|
|
91
|
+
resourceInputs["requiredStatusChecks"] = args?.requiredStatusChecks;
|
|
92
|
+
resourceInputs["restrictions"] = args?.restrictions;
|
|
93
93
|
resourceInputs["etag"] = undefined /*out*/;
|
|
94
94
|
}
|
|
95
95
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|