@pulumi/github 5.17.0 → 5.18.0-alpha.1695225306
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/actionsEnvironmentVariable.d.ts +1 -1
- package/actionsEnvironmentVariable.js +1 -1
- package/actionsOrganizationPermissions.d.ts +1 -1
- package/actionsOrganizationPermissions.js +1 -1
- package/actionsOrganizationSecret.d.ts +1 -2
- package/actionsOrganizationSecret.js +1 -2
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +1 -1
- package/actionsOrganizationSecretRepositories.js +1 -1
- package/actionsOrganizationVariable.d.ts +1 -1
- package/actionsOrganizationVariable.js +1 -1
- package/actionsRepositoryAccessLevel.d.ts +1 -1
- package/actionsRepositoryAccessLevel.js +1 -1
- package/actionsRepositoryPermissions.d.ts +1 -1
- package/actionsRepositoryPermissions.js +1 -1
- package/actionsRunnerGroup.d.ts +1 -1
- package/actionsRunnerGroup.js +1 -1
- package/actionsSecret.d.ts +2 -3
- package/actionsSecret.js +2 -3
- package/actionsSecret.js.map +1 -1
- package/branch.d.ts +0 -2
- package/branch.js +0 -2
- package/branch.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +1 -1
- package/codespacesOrganizationSecretRepositories.js +1 -1
- package/codespacesSecret.d.ts +1 -2
- package/codespacesSecret.js +1 -2
- package/codespacesSecret.js.map +1 -1
- package/enterpriseOrganization.d.ts +18 -1
- package/enterpriseOrganization.js +8 -1
- package/enterpriseOrganization.js.map +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +13 -0
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +17 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +14 -0
- package/getActionsOrganizationPublicKey.js +18 -1
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +13 -0
- package/getActionsOrganizationRegistrationToken.js +17 -1
- package/getActionsOrganizationRegistrationToken.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +13 -0
- package/getActionsOrganizationSecrets.js +17 -1
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsOrganizationVariables.d.ts +13 -0
- package/getActionsOrganizationVariables.js +17 -1
- package/getActionsOrganizationVariables.js.map +1 -1
- package/getCodespacesOrganizationPublicKey.d.ts +14 -0
- package/getCodespacesOrganizationPublicKey.js +18 -1
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesOrganizationSecrets.d.ts +13 -0
- package/getCodespacesOrganizationSecrets.js +17 -1
- package/getCodespacesOrganizationSecrets.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +14 -0
- package/getCodespacesUserPublicKey.js +18 -1
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCodespacesUserSecrets.d.ts +13 -0
- package/getCodespacesUserSecrets.js +17 -1
- package/getCodespacesUserSecrets.js.map +1 -1
- package/getDependabotOrganizationPublicKey.d.ts +14 -0
- package/getDependabotOrganizationPublicKey.js +18 -1
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +13 -0
- package/getDependabotOrganizationSecrets.js +17 -1
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getExternalGroups.d.ts +15 -0
- package/getExternalGroups.js +19 -1
- package/getExternalGroups.js.map +1 -1
- package/getIpRanges.d.ts +13 -0
- package/getIpRanges.js +17 -1
- package/getIpRanges.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +14 -0
- package/getOrganizationExternalIdentities.js +18 -1
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +15 -0
- package/getOrganizationIpAllowList.js +19 -1
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +13 -0
- package/getOrganizationTeamSyncGroups.js +17 -1
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +15 -0
- package/getOrganizationWebhooks.js +19 -1
- package/getOrganizationWebhooks.js.map +1 -1
- package/getSshKeys.d.ts +13 -0
- package/getSshKeys.js +17 -1
- package/getSshKeys.js.map +1 -1
- package/index.d.ts +27 -0
- package/index.js +55 -22
- package/index.js.map +1 -1
- package/organizationRuleset.d.ts +147 -0
- package/organizationRuleset.js +87 -0
- package/organizationRuleset.js.map +1 -0
- package/organizationWebhook.d.ts +0 -1
- package/organizationWebhook.js +0 -1
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/projectCard.d.ts +1 -1
- package/projectCard.js +1 -1
- package/repository.d.ts +1 -1
- package/repositoryFile.d.ts +0 -1
- package/repositoryFile.js +0 -1
- package/repositoryFile.js.map +1 -1
- package/repositoryRuleset.d.ts +194 -0
- package/repositoryRuleset.js +124 -0
- package/repositoryRuleset.js.map +1 -0
- package/repositoryTagProtection.d.ts +3 -1
- package/repositoryTagProtection.js +3 -1
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryTopics.d.ts +87 -0
- package/repositoryTopics.js +84 -0
- package/repositoryTopics.js.map +1 -0
- package/repositoryWebhook.d.ts +3 -2
- package/repositoryWebhook.js +3 -2
- package/repositoryWebhook.js.map +1 -1
- package/teamSettings.d.ts +0 -1
- package/teamSettings.js +0 -1
- package/teamSettings.js.map +1 -1
- package/types/input.d.ts +467 -0
- package/types/output.d.ts +467 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Creates a GitHub repository ruleset.
|
|
6
|
+
*
|
|
7
|
+
* This resource allows you to create and manage rulesets on the repository level. When applied, a new ruleset will be created. When destroyed, that ruleset will be removed.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as github from "@pulumi/github";
|
|
14
|
+
*
|
|
15
|
+
* const exampleRepository = new github.Repository("exampleRepository", {description: "Example repository"});
|
|
16
|
+
* const exampleRepositoryRuleset = new github.RepositoryRuleset("exampleRepositoryRuleset", {
|
|
17
|
+
* repository: exampleRepository.name,
|
|
18
|
+
* target: "branch",
|
|
19
|
+
* enforcement: "active",
|
|
20
|
+
* conditions: {
|
|
21
|
+
* refName: {
|
|
22
|
+
* includes: ["~ALL"],
|
|
23
|
+
* excludes: [],
|
|
24
|
+
* },
|
|
25
|
+
* },
|
|
26
|
+
* bypassActors: [{
|
|
27
|
+
* actorId: 13473,
|
|
28
|
+
* actorType: "Integration",
|
|
29
|
+
* bypassMode: "always",
|
|
30
|
+
* }],
|
|
31
|
+
* rules: {
|
|
32
|
+
* creation: true,
|
|
33
|
+
* update: true,
|
|
34
|
+
* deletion: true,
|
|
35
|
+
* requiredLinearHistory: true,
|
|
36
|
+
* requiredSignatures: true,
|
|
37
|
+
* requiredDeployments: {
|
|
38
|
+
* requiredDeploymentEnvironments: ["test"],
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* GitHub Repository Rulesets can be imported using the GitHub repository name and ruleset ID e.g.
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import github:index/repositoryRuleset:RepositoryRuleset example example:12345`
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class RepositoryRuleset extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing RepositoryRuleset resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RepositoryRulesetState, opts?: pulumi.CustomResourceOptions): RepositoryRuleset;
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of RepositoryRuleset. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj: any): obj is RepositoryRuleset;
|
|
68
|
+
/**
|
|
69
|
+
* (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
|
|
70
|
+
*/
|
|
71
|
+
readonly bypassActors: pulumi.Output<outputs.RepositoryRulesetBypassActor[] | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* (Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema)
|
|
74
|
+
*/
|
|
75
|
+
readonly conditions: pulumi.Output<outputs.RepositoryRulesetConditions | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
|
|
78
|
+
*/
|
|
79
|
+
readonly enforcement: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* (String)
|
|
82
|
+
*/
|
|
83
|
+
readonly etag: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* (String) The name of the ruleset.
|
|
86
|
+
*/
|
|
87
|
+
readonly name: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* (String) GraphQL global node id for use with v4 API.
|
|
90
|
+
*/
|
|
91
|
+
readonly nodeId: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* (String) Name of the repository to apply rulset to.
|
|
94
|
+
*/
|
|
95
|
+
readonly repository: pulumi.Output<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
|
|
98
|
+
*/
|
|
99
|
+
readonly rules: pulumi.Output<outputs.RepositoryRulesetRules>;
|
|
100
|
+
/**
|
|
101
|
+
* (Number) GitHub ID for the ruleset.
|
|
102
|
+
*/
|
|
103
|
+
readonly rulesetId: pulumi.Output<number>;
|
|
104
|
+
/**
|
|
105
|
+
* (String) Possible values are `branch` and `tag`.
|
|
106
|
+
*/
|
|
107
|
+
readonly target: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Create a RepositoryRuleset resource with the given unique name, arguments, and options.
|
|
110
|
+
*
|
|
111
|
+
* @param name The _unique_ name of the resource.
|
|
112
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
113
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
114
|
+
*/
|
|
115
|
+
constructor(name: string, args: RepositoryRulesetArgs, opts?: pulumi.CustomResourceOptions);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Input properties used for looking up and filtering RepositoryRuleset resources.
|
|
119
|
+
*/
|
|
120
|
+
export interface RepositoryRulesetState {
|
|
121
|
+
/**
|
|
122
|
+
* (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
|
|
123
|
+
*/
|
|
124
|
+
bypassActors?: pulumi.Input<pulumi.Input<inputs.RepositoryRulesetBypassActor>[]>;
|
|
125
|
+
/**
|
|
126
|
+
* (Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema)
|
|
127
|
+
*/
|
|
128
|
+
conditions?: pulumi.Input<inputs.RepositoryRulesetConditions>;
|
|
129
|
+
/**
|
|
130
|
+
* (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
|
|
131
|
+
*/
|
|
132
|
+
enforcement?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* (String)
|
|
135
|
+
*/
|
|
136
|
+
etag?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* (String) The name of the ruleset.
|
|
139
|
+
*/
|
|
140
|
+
name?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* (String) GraphQL global node id for use with v4 API.
|
|
143
|
+
*/
|
|
144
|
+
nodeId?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* (String) Name of the repository to apply rulset to.
|
|
147
|
+
*/
|
|
148
|
+
repository?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
|
|
151
|
+
*/
|
|
152
|
+
rules?: pulumi.Input<inputs.RepositoryRulesetRules>;
|
|
153
|
+
/**
|
|
154
|
+
* (Number) GitHub ID for the ruleset.
|
|
155
|
+
*/
|
|
156
|
+
rulesetId?: pulumi.Input<number>;
|
|
157
|
+
/**
|
|
158
|
+
* (String) Possible values are `branch` and `tag`.
|
|
159
|
+
*/
|
|
160
|
+
target?: pulumi.Input<string>;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* The set of arguments for constructing a RepositoryRuleset resource.
|
|
164
|
+
*/
|
|
165
|
+
export interface RepositoryRulesetArgs {
|
|
166
|
+
/**
|
|
167
|
+
* (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
|
|
168
|
+
*/
|
|
169
|
+
bypassActors?: pulumi.Input<pulumi.Input<inputs.RepositoryRulesetBypassActor>[]>;
|
|
170
|
+
/**
|
|
171
|
+
* (Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema)
|
|
172
|
+
*/
|
|
173
|
+
conditions?: pulumi.Input<inputs.RepositoryRulesetConditions>;
|
|
174
|
+
/**
|
|
175
|
+
* (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
|
|
176
|
+
*/
|
|
177
|
+
enforcement: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* (String) The name of the ruleset.
|
|
180
|
+
*/
|
|
181
|
+
name?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* (String) Name of the repository to apply rulset to.
|
|
184
|
+
*/
|
|
185
|
+
repository?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
|
|
188
|
+
*/
|
|
189
|
+
rules: pulumi.Input<inputs.RepositoryRulesetRules>;
|
|
190
|
+
/**
|
|
191
|
+
* (String) Possible values are `branch` and `tag`.
|
|
192
|
+
*/
|
|
193
|
+
target: pulumi.Input<string>;
|
|
194
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
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.RepositoryRuleset = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a GitHub repository ruleset.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to create and manage rulesets on the repository level. When applied, a new ruleset will be created. When destroyed, that ruleset will be removed.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const exampleRepository = new github.Repository("exampleRepository", {description: "Example repository"});
|
|
20
|
+
* const exampleRepositoryRuleset = new github.RepositoryRuleset("exampleRepositoryRuleset", {
|
|
21
|
+
* repository: exampleRepository.name,
|
|
22
|
+
* target: "branch",
|
|
23
|
+
* enforcement: "active",
|
|
24
|
+
* conditions: {
|
|
25
|
+
* refName: {
|
|
26
|
+
* includes: ["~ALL"],
|
|
27
|
+
* excludes: [],
|
|
28
|
+
* },
|
|
29
|
+
* },
|
|
30
|
+
* bypassActors: [{
|
|
31
|
+
* actorId: 13473,
|
|
32
|
+
* actorType: "Integration",
|
|
33
|
+
* bypassMode: "always",
|
|
34
|
+
* }],
|
|
35
|
+
* rules: {
|
|
36
|
+
* creation: true,
|
|
37
|
+
* update: true,
|
|
38
|
+
* deletion: true,
|
|
39
|
+
* requiredLinearHistory: true,
|
|
40
|
+
* requiredSignatures: true,
|
|
41
|
+
* requiredDeployments: {
|
|
42
|
+
* requiredDeploymentEnvironments: ["test"],
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* GitHub Repository Rulesets can be imported using the GitHub repository name and ruleset ID e.g.
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import github:index/repositoryRuleset:RepositoryRuleset example example:12345`
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
class RepositoryRuleset extends pulumi.CustomResource {
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing RepositoryRuleset resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name, id, state, opts) {
|
|
67
|
+
return new RepositoryRuleset(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of RepositoryRuleset. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj) {
|
|
74
|
+
if (obj === undefined || obj === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return obj['__pulumiType'] === RepositoryRuleset.__pulumiType;
|
|
78
|
+
}
|
|
79
|
+
constructor(name, argsOrState, opts) {
|
|
80
|
+
let resourceInputs = {};
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
if (opts.id) {
|
|
83
|
+
const state = argsOrState;
|
|
84
|
+
resourceInputs["bypassActors"] = state ? state.bypassActors : undefined;
|
|
85
|
+
resourceInputs["conditions"] = state ? state.conditions : undefined;
|
|
86
|
+
resourceInputs["enforcement"] = state ? state.enforcement : undefined;
|
|
87
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
88
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
89
|
+
resourceInputs["nodeId"] = state ? state.nodeId : undefined;
|
|
90
|
+
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
91
|
+
resourceInputs["rules"] = state ? state.rules : undefined;
|
|
92
|
+
resourceInputs["rulesetId"] = state ? state.rulesetId : undefined;
|
|
93
|
+
resourceInputs["target"] = state ? state.target : undefined;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
const args = argsOrState;
|
|
97
|
+
if ((!args || args.enforcement === undefined) && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'enforcement'");
|
|
99
|
+
}
|
|
100
|
+
if ((!args || args.rules === undefined) && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'rules'");
|
|
102
|
+
}
|
|
103
|
+
if ((!args || args.target === undefined) && !opts.urn) {
|
|
104
|
+
throw new Error("Missing required property 'target'");
|
|
105
|
+
}
|
|
106
|
+
resourceInputs["bypassActors"] = args ? args.bypassActors : undefined;
|
|
107
|
+
resourceInputs["conditions"] = args ? args.conditions : undefined;
|
|
108
|
+
resourceInputs["enforcement"] = args ? args.enforcement : undefined;
|
|
109
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
110
|
+
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
111
|
+
resourceInputs["rules"] = args ? args.rules : undefined;
|
|
112
|
+
resourceInputs["target"] = args ? args.target : undefined;
|
|
113
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["nodeId"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["rulesetId"] = undefined /*out*/;
|
|
116
|
+
}
|
|
117
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
118
|
+
super(RepositoryRuleset.__pulumiType, name, resourceInputs, opts);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.RepositoryRuleset = RepositoryRuleset;
|
|
122
|
+
/** @internal */
|
|
123
|
+
RepositoryRuleset.__pulumiType = 'github:index/repositoryRuleset:RepositoryRuleset';
|
|
124
|
+
//# sourceMappingURL=repositoryRuleset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositoryRuleset.js","sourceRoot":"","sources":["../repositoryRuleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,C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AI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AApHL,8CAqHC;AAvGG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -16,7 +16,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* ## Import
|
|
18
18
|
*
|
|
19
|
-
* Repository tag protections can be imported using the `name` of the repository, combined with the `id` of the tag protection, separated by a `/` character. The `id` of the tag protection can be found using the [GitHub API](https://docs.github.com/en/rest/repos/tags#list-tag-protection-states-for-a-repository).
|
|
19
|
+
* Repository tag protections can be imported using the `name` of the repository, combined with the `id` of the tag protection, separated by a `/` character. The `id` of the tag protection can be found using the [GitHub API](https://docs.github.com/en/rest/repos/tags#list-tag-protection-states-for-a-repository).
|
|
20
|
+
*
|
|
21
|
+
* Importing uses the name of the repository, as well as the ID of the tag protection, e.g.
|
|
20
22
|
*
|
|
21
23
|
* ```sh
|
|
22
24
|
* $ pulumi import github:index/repositoryTagProtection:RepositoryTagProtection terraform my-repo/31077
|
|
@@ -22,7 +22,9 @@ const utilities = require("./utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
|
-
* Repository tag protections can be imported using the `name` of the repository, combined with the `id` of the tag protection, separated by a `/` character. The `id` of the tag protection can be found using the [GitHub API](https://docs.github.com/en/rest/repos/tags#list-tag-protection-states-for-a-repository).
|
|
25
|
+
* Repository tag protections can be imported using the `name` of the repository, combined with the `id` of the tag protection, separated by a `/` character. The `id` of the tag protection can be found using the [GitHub API](https://docs.github.com/en/rest/repos/tags#list-tag-protection-states-for-a-repository).
|
|
26
|
+
*
|
|
27
|
+
* Importing uses the name of the repository, as well as the ID of the tag protection, e.g.
|
|
26
28
|
*
|
|
27
29
|
* ```sh
|
|
28
30
|
* $ pulumi import github:index/repositoryTagProtection:RepositoryTagProtection terraform my-repo/31077
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryTagProtection.js","sourceRoot":"","sources":["../repositoryTagProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryTagProtection.js","sourceRoot":"","sources":["../repositoryTagProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,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ACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAvEL,0DAwEC;AA1DG,gBAAgB;AACO,oCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as github from "@pulumi/github";
|
|
8
|
+
*
|
|
9
|
+
* const testRepository = github.getRepository({
|
|
10
|
+
* name: "test",
|
|
11
|
+
* });
|
|
12
|
+
* const testRepositoryTopics = new github.RepositoryTopics("testRepositoryTopics", {
|
|
13
|
+
* repository: github_repository.test.name,
|
|
14
|
+
* topics: [
|
|
15
|
+
* "topic-1",
|
|
16
|
+
* "topic-2",
|
|
17
|
+
* ],
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Repository topics can be imported using the `name` of the repository.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import github:index/repositoryTopics:RepositoryTopics terraform terraform
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class RepositoryTopics extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing RepositoryTopics resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RepositoryTopicsState, opts?: pulumi.CustomResourceOptions): RepositoryTopics;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of RepositoryTopics. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is RepositoryTopics;
|
|
45
|
+
/**
|
|
46
|
+
* The repository name.
|
|
47
|
+
*/
|
|
48
|
+
readonly repository: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* A list of topics to add to the repository.
|
|
51
|
+
*/
|
|
52
|
+
readonly topics: pulumi.Output<string[]>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a RepositoryTopics resource with the given unique name, arguments, and options.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resource.
|
|
57
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
58
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
59
|
+
*/
|
|
60
|
+
constructor(name: string, args: RepositoryTopicsArgs, opts?: pulumi.CustomResourceOptions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Input properties used for looking up and filtering RepositoryTopics resources.
|
|
64
|
+
*/
|
|
65
|
+
export interface RepositoryTopicsState {
|
|
66
|
+
/**
|
|
67
|
+
* The repository name.
|
|
68
|
+
*/
|
|
69
|
+
repository?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* A list of topics to add to the repository.
|
|
72
|
+
*/
|
|
73
|
+
topics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The set of arguments for constructing a RepositoryTopics resource.
|
|
77
|
+
*/
|
|
78
|
+
export interface RepositoryTopicsArgs {
|
|
79
|
+
/**
|
|
80
|
+
* The repository name.
|
|
81
|
+
*/
|
|
82
|
+
repository: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* A list of topics to add to the repository.
|
|
85
|
+
*/
|
|
86
|
+
topics: pulumi.Input<pulumi.Input<string>[]>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.RepositoryTopics = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as github from "@pulumi/github";
|
|
14
|
+
*
|
|
15
|
+
* const testRepository = github.getRepository({
|
|
16
|
+
* name: "test",
|
|
17
|
+
* });
|
|
18
|
+
* const testRepositoryTopics = new github.RepositoryTopics("testRepositoryTopics", {
|
|
19
|
+
* repository: github_repository.test.name,
|
|
20
|
+
* topics: [
|
|
21
|
+
* "topic-1",
|
|
22
|
+
* "topic-2",
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Repository topics can be imported using the `name` of the repository.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import github:index/repositoryTopics:RepositoryTopics terraform terraform
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class RepositoryTopics extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing RepositoryTopics resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new RepositoryTopics(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of RepositoryTopics. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === RepositoryTopics.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
64
|
+
resourceInputs["topics"] = state ? state.topics : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.repository === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'repository'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.topics === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'topics'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
75
|
+
resourceInputs["topics"] = args ? args.topics : undefined;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(RepositoryTopics.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.RepositoryTopics = RepositoryTopics;
|
|
82
|
+
/** @internal */
|
|
83
|
+
RepositoryTopics.__pulumiType = 'github:index/repositoryTopics:RepositoryTopics';
|
|
84
|
+
//# sourceMappingURL=repositoryTopics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositoryTopics.js","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;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;;AAjEL,4CAkEC;AApDG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/repositoryWebhook.d.ts
CHANGED
|
@@ -30,12 +30,13 @@ import * as outputs from "./types/output";
|
|
|
30
30
|
*
|
|
31
31
|
* ## Import
|
|
32
32
|
*
|
|
33
|
-
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example`"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
|
33
|
+
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example`"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
|
34
|
+
*
|
|
35
|
+
* Importing uses the name of the repository, as well as the ID of the webhook, e.g.
|
|
34
36
|
*
|
|
35
37
|
* ```sh
|
|
36
38
|
* $ pulumi import github:index/repositoryWebhook:RepositoryWebhook terraform terraform/11235813
|
|
37
39
|
* ```
|
|
38
|
-
*
|
|
39
40
|
* If secret is populated in the webhook's configuration, the value will be imported as "********".
|
|
40
41
|
*/
|
|
41
42
|
export declare class RepositoryWebhook extends pulumi.CustomResource {
|
package/repositoryWebhook.js
CHANGED
|
@@ -34,12 +34,13 @@ const utilities = require("./utilities");
|
|
|
34
34
|
*
|
|
35
35
|
* ## Import
|
|
36
36
|
*
|
|
37
|
-
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example`"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
|
37
|
+
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example`"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
|
38
|
+
*
|
|
39
|
+
* Importing uses the name of the repository, as well as the ID of the webhook, e.g.
|
|
38
40
|
*
|
|
39
41
|
* ```sh
|
|
40
42
|
* $ pulumi import github:index/repositoryWebhook:RepositoryWebhook terraform terraform/11235813
|
|
41
43
|
* ```
|
|
42
|
-
*
|
|
43
44
|
* If secret is populated in the webhook's configuration, the value will be imported as "********".
|
|
44
45
|
*/
|
|
45
46
|
class RepositoryWebhook extends pulumi.CustomResource {
|
package/repositoryWebhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryWebhook.js","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryWebhook.js","sourceRoot":"","sources":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C,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtFL,8CAuFC;AAzEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/teamSettings.d.ts
CHANGED
package/teamSettings.js
CHANGED
package/teamSettings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamSettings.js","sourceRoot":"","sources":["../teamSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"teamSettings.js","sourceRoot":"","sources":["../teamSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EA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