@pulumi/gitlab 9.12.0-alpha.1782457766 → 10.0.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.
Files changed (234) hide show
  1. package/README.md +2 -2
  2. package/applicationSettings.d.ts +48 -18
  3. package/applicationSettings.d.ts.map +1 -1
  4. package/applicationSettings.js +8 -2
  5. package/applicationSettings.js.map +1 -1
  6. package/branchProtection.d.ts +48 -52
  7. package/branchProtection.d.ts.map +1 -1
  8. package/branchProtection.js +30 -24
  9. package/branchProtection.js.map +1 -1
  10. package/getGroup.d.ts +114 -2
  11. package/getGroup.d.ts.map +1 -1
  12. package/getGroup.js.map +1 -1
  13. package/getGroupHook.d.ts +40 -6
  14. package/getGroupHook.d.ts.map +1 -1
  15. package/getGroupHook.js.map +1 -1
  16. package/getGroupLabel.d.ts +125 -0
  17. package/getGroupLabel.d.ts.map +1 -0
  18. package/getGroupLabel.js +93 -0
  19. package/getGroupLabel.js.map +1 -0
  20. package/getGroupLabels.d.ts +74 -0
  21. package/getGroupLabels.d.ts.map +1 -0
  22. package/getGroupLabels.js +79 -0
  23. package/getGroupLabels.js.map +1 -0
  24. package/getGroupProtectedBranch.d.ts +82 -0
  25. package/getGroupProtectedBranch.d.ts.map +1 -0
  26. package/getGroupProtectedBranch.js +61 -0
  27. package/getGroupProtectedBranch.js.map +1 -0
  28. package/getGroupProtectedBranches.d.ts +54 -0
  29. package/getGroupProtectedBranches.d.ts.map +1 -0
  30. package/getGroupProtectedBranches.js +59 -0
  31. package/getGroupProtectedBranches.js.map +1 -0
  32. package/getProject.d.ts +355 -57
  33. package/getProject.d.ts.map +1 -1
  34. package/getProject.js +0 -6
  35. package/getProject.js.map +1 -1
  36. package/getProjectHook.d.ts +36 -6
  37. package/getProjectHook.d.ts.map +1 -1
  38. package/getProjectHook.js.map +1 -1
  39. package/getProjectMembership.d.ts +4 -40
  40. package/getProjectMembership.d.ts.map +1 -1
  41. package/getProjectMembership.js +0 -6
  42. package/getProjectMembership.js.map +1 -1
  43. package/getProjectProtectedBranch.d.ts +8 -21
  44. package/getProjectProtectedBranch.d.ts.map +1 -1
  45. package/getProjectProtectedBranch.js +0 -4
  46. package/getProjectProtectedBranch.js.map +1 -1
  47. package/getProjectProtectedBranches.d.ts +1 -10
  48. package/getProjectProtectedBranches.d.ts.map +1 -1
  49. package/getProjectProtectedBranches.js +0 -2
  50. package/getProjectProtectedBranches.js.map +1 -1
  51. package/getProjectServiceAccount.d.ts +97 -0
  52. package/getProjectServiceAccount.d.ts.map +1 -0
  53. package/getProjectServiceAccount.js +89 -0
  54. package/getProjectServiceAccount.js.map +1 -0
  55. package/getProjects.d.ts +22 -10
  56. package/getProjects.d.ts.map +1 -1
  57. package/getProjects.js +2 -0
  58. package/getProjects.js.map +1 -1
  59. package/getSystemHook.d.ts +111 -0
  60. package/getSystemHook.d.ts.map +1 -0
  61. package/getSystemHook.js +81 -0
  62. package/getSystemHook.js.map +1 -0
  63. package/getSystemHooks.d.ts +50 -0
  64. package/getSystemHooks.d.ts.map +1 -0
  65. package/getSystemHooks.js +73 -0
  66. package/getSystemHooks.js.map +1 -0
  67. package/group.d.ts +12 -0
  68. package/group.d.ts.map +1 -1
  69. package/group.js +2 -0
  70. package/group.js.map +1 -1
  71. package/groupAccessToken.d.ts +3 -3
  72. package/groupBranchProtection.d.ts +185 -0
  73. package/groupBranchProtection.d.ts.map +1 -0
  74. package/groupBranchProtection.js +146 -0
  75. package/groupBranchProtection.js.map +1 -0
  76. package/groupCluster.d.ts +1 -1
  77. package/groupCluster.js +1 -1
  78. package/groupDeployToken.d.ts +3 -3
  79. package/groupHook.d.ts +75 -3
  80. package/groupHook.d.ts.map +1 -1
  81. package/groupHook.js +15 -1
  82. package/groupHook.js.map +1 -1
  83. package/{integrationHarbor.d.ts → groupIntegrationHarbor.d.ts} +39 -43
  84. package/groupIntegrationHarbor.d.ts.map +1 -0
  85. package/{integrationHarbor.js → groupIntegrationHarbor.js} +30 -34
  86. package/groupIntegrationHarbor.js.map +1 -0
  87. package/groupSamlLink.d.ts +3 -3
  88. package/groupSavedReply.d.ts +78 -0
  89. package/groupSavedReply.d.ts.map +1 -0
  90. package/{deployToken.js → groupSavedReply.js} +19 -45
  91. package/groupSavedReply.js.map +1 -0
  92. package/groupServiceAccount.d.ts +12 -0
  93. package/groupServiceAccount.d.ts.map +1 -1
  94. package/groupServiceAccount.js +2 -0
  95. package/groupServiceAccount.js.map +1 -1
  96. package/groupServiceAccountAccessToken.d.ts +3 -3
  97. package/index.d.ts +45 -48
  98. package/index.d.ts.map +1 -1
  99. package/index.js +67 -86
  100. package/index.js.map +1 -1
  101. package/instanceCluster.d.ts +1 -1
  102. package/instanceCluster.js +1 -1
  103. package/integrationSlack.d.ts +0 -18
  104. package/integrationSlack.d.ts.map +1 -1
  105. package/integrationSlack.js +0 -2
  106. package/integrationSlack.js.map +1 -1
  107. package/memberRole.d.ts +3 -3
  108. package/package.json +2 -2
  109. package/personalAccessToken.d.ts +3 -3
  110. package/project.d.ts +36 -234
  111. package/project.d.ts.map +1 -1
  112. package/project.js +6 -26
  113. package/project.js.map +1 -1
  114. package/projectAccessToken.d.ts +3 -3
  115. package/projectCluster.d.ts +1 -1
  116. package/projectCluster.js +1 -1
  117. package/projectDeployToken.d.ts +3 -3
  118. package/projectHook.d.ts +103 -0
  119. package/projectHook.d.ts.map +1 -1
  120. package/projectHook.js +30 -1
  121. package/projectHook.js.map +1 -1
  122. package/projectIntegrationDatadog.d.ts +200 -0
  123. package/projectIntegrationDatadog.d.ts.map +1 -0
  124. package/{integrationGithub.js → projectIntegrationDatadog.js} +44 -45
  125. package/projectIntegrationDatadog.js.map +1 -0
  126. package/{integrationMicrosoftTeams.d.ts → projectIntegrationGoogleChat.d.ts} +35 -95
  127. package/projectIntegrationGoogleChat.d.ts.map +1 -0
  128. package/{integrationMicrosoftTeams.js → projectIntegrationGoogleChat.js} +12 -50
  129. package/projectIntegrationGoogleChat.js.map +1 -0
  130. package/projectIntegrationJira.d.ts +12 -12
  131. package/projectJobTokenScopes.d.ts +5 -21
  132. package/projectJobTokenScopes.d.ts.map +1 -1
  133. package/projectJobTokenScopes.js +6 -3
  134. package/projectJobTokenScopes.js.map +1 -1
  135. package/projectLabel.d.ts +12 -0
  136. package/projectLabel.d.ts.map +1 -1
  137. package/projectLabel.js +2 -0
  138. package/projectLabel.js.map +1 -1
  139. package/projectLevelMrApprovals.d.ts +21 -3
  140. package/projectLevelMrApprovals.d.ts.map +1 -1
  141. package/projectLevelMrApprovals.js +2 -0
  142. package/projectLevelMrApprovals.js.map +1 -1
  143. package/projectMergeRequestNote.d.ts +3 -3
  144. package/projectProtectedEnvironment.d.ts +4 -22
  145. package/projectProtectedEnvironment.d.ts.map +1 -1
  146. package/projectProtectedEnvironment.js +1 -3
  147. package/projectProtectedEnvironment.js.map +1 -1
  148. package/projectPushMirror.d.ts +12 -0
  149. package/projectPushMirror.d.ts.map +1 -1
  150. package/projectPushMirror.js +2 -0
  151. package/projectPushMirror.js.map +1 -1
  152. package/projectSavedReply.d.ts +78 -0
  153. package/projectSavedReply.d.ts.map +1 -0
  154. package/{label.js → projectSavedReply.js} +16 -24
  155. package/projectSavedReply.js.map +1 -0
  156. package/projectServiceAccount.d.ts +152 -0
  157. package/projectServiceAccount.d.ts.map +1 -0
  158. package/{integrationPipelinesEmail.js → projectServiceAccount.js} +42 -35
  159. package/projectServiceAccount.js.map +1 -0
  160. package/projectShareGroup.d.ts +2 -20
  161. package/projectShareGroup.d.ts.map +1 -1
  162. package/projectShareGroup.js +3 -2
  163. package/projectShareGroup.js.map +1 -1
  164. package/projectTargetBranchRule.d.ts +1 -1
  165. package/projectTargetBranchRule.js +1 -1
  166. package/systemHook.d.ts +50 -6
  167. package/systemHook.d.ts.map +1 -1
  168. package/systemHook.js +9 -1
  169. package/systemHook.js.map +1 -1
  170. package/types/input.d.ts +95 -249
  171. package/types/input.d.ts.map +1 -1
  172. package/types/output.d.ts +1168 -168
  173. package/types/output.d.ts.map +1 -1
  174. package/userImpersonationToken.d.ts +3 -3
  175. package/userSavedReply.d.ts +66 -0
  176. package/userSavedReply.d.ts.map +1 -0
  177. package/userSavedReply.js +82 -0
  178. package/userSavedReply.js.map +1 -0
  179. package/deployToken.d.ts +0 -147
  180. package/deployToken.d.ts.map +0 -1
  181. package/deployToken.js.map +0 -1
  182. package/integrationCustomIssueTracker.d.ts +0 -142
  183. package/integrationCustomIssueTracker.d.ts.map +0 -1
  184. package/integrationCustomIssueTracker.js +0 -130
  185. package/integrationCustomIssueTracker.js.map +0 -1
  186. package/integrationEmailsOnPush.d.ts +0 -198
  187. package/integrationEmailsOnPush.d.ts.map +0 -1
  188. package/integrationEmailsOnPush.js +0 -137
  189. package/integrationEmailsOnPush.js.map +0 -1
  190. package/integrationExternalWiki.d.ts +0 -137
  191. package/integrationExternalWiki.d.ts.map +0 -1
  192. package/integrationExternalWiki.js +0 -126
  193. package/integrationExternalWiki.js.map +0 -1
  194. package/integrationGithub.d.ts +0 -156
  195. package/integrationGithub.d.ts.map +0 -1
  196. package/integrationGithub.js.map +0 -1
  197. package/integrationHarbor.d.ts.map +0 -1
  198. package/integrationHarbor.js.map +0 -1
  199. package/integrationJenkins.d.ts +0 -190
  200. package/integrationJenkins.d.ts.map +0 -1
  201. package/integrationJenkins.js +0 -138
  202. package/integrationJenkins.js.map +0 -1
  203. package/integrationJira.d.ts +0 -299
  204. package/integrationJira.d.ts.map +0 -1
  205. package/integrationJira.js +0 -159
  206. package/integrationJira.js.map +0 -1
  207. package/integrationMattermost.d.ts +0 -352
  208. package/integrationMattermost.d.ts.map +0 -1
  209. package/integrationMattermost.js +0 -163
  210. package/integrationMattermost.js.map +0 -1
  211. package/integrationMicrosoftTeams.d.ts.map +0 -1
  212. package/integrationMicrosoftTeams.js.map +0 -1
  213. package/integrationPipelinesEmail.d.ts +0 -123
  214. package/integrationPipelinesEmail.d.ts.map +0 -1
  215. package/integrationPipelinesEmail.js.map +0 -1
  216. package/integrationRedmine.d.ts +0 -136
  217. package/integrationRedmine.d.ts.map +0 -1
  218. package/integrationRedmine.js +0 -131
  219. package/integrationRedmine.js.map +0 -1
  220. package/integrationTelegram.d.ts +0 -253
  221. package/integrationTelegram.d.ts.map +0 -1
  222. package/integrationTelegram.js +0 -184
  223. package/integrationTelegram.js.map +0 -1
  224. package/label.d.ts +0 -108
  225. package/label.d.ts.map +0 -1
  226. package/label.js.map +0 -1
  227. package/projectMirror.d.ts +0 -166
  228. package/projectMirror.d.ts.map +0 -1
  229. package/projectMirror.js +0 -131
  230. package/projectMirror.js.map +0 -1
  231. package/runner.d.ts +0 -188
  232. package/runner.d.ts.map +0 -1
  233. package/runner.js +0 -122
  234. package/runner.js.map +0 -1
@@ -1,184 +0,0 @@
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
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || function (mod) {
21
- if (mod && mod.__esModule) return mod;
22
- var result = {};
23
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
- __setModuleDefault(result, mod);
25
- return result;
26
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.IntegrationTelegram = void 0;
29
- const pulumi = __importStar(require("@pulumi/pulumi"));
30
- const utilities = __importStar(require("./utilities"));
31
- /**
32
- * The `gitlab.IntegrationTelegram` resource manages the lifecycle of a project integration with Telegram.
33
- *
34
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectIntegrationTelegram`instead.
35
- *
36
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_integrations/#telegram)
37
- *
38
- * ## Example Usage
39
- *
40
- * ```typescript
41
- * import * as pulumi from "@pulumi/pulumi";
42
- * import * as gitlab from "@pulumi/gitlab";
43
- *
44
- * const awesomeProject = new gitlab.Project("awesome_project", {
45
- * name: "awesome_project",
46
- * description: "My awesome project.",
47
- * visibilityLevel: "public",
48
- * });
49
- * const _default = new gitlab.IntegrationTelegram("default", {
50
- * project: awesomeProject.id,
51
- * token: "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11",
52
- * room: "-1000000000000000",
53
- * notifyOnlyBrokenPipelines: false,
54
- * branchesToBeNotified: "all",
55
- * pushEvents: false,
56
- * issuesEvents: false,
57
- * confidentialIssuesEvents: false,
58
- * mergeRequestsEvents: false,
59
- * tagPushEvents: false,
60
- * noteEvents: false,
61
- * confidentialNoteEvents: false,
62
- * pipelineEvents: false,
63
- * wikiPageEvents: false,
64
- * });
65
- * ```
66
- *
67
- * ## Import
68
- *
69
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.IntegrationTelegram`. For example:
70
- *
71
- * Importing using the CLI is supported with the following syntax:
72
- *
73
- * You can import a gitlab.IntegrationTelegram state using the project ID, for example:
74
- *
75
- * ```sh
76
- * $ pulumi import gitlab:index/integrationTelegram:IntegrationTelegram default 1
77
- * ```
78
- */
79
- class IntegrationTelegram extends pulumi.CustomResource {
80
- /**
81
- * Get an existing IntegrationTelegram resource's state with the given name, ID, and optional extra
82
- * properties used to qualify the lookup.
83
- *
84
- * @param name The _unique_ name of the resulting resource.
85
- * @param id The _unique_ provider ID of the resource to lookup.
86
- * @param state Any extra arguments used during the lookup.
87
- * @param opts Optional settings to control the behavior of the CustomResource.
88
- */
89
- static get(name, id, state, opts) {
90
- return new IntegrationTelegram(name, state, { ...opts, id: id });
91
- }
92
- /** @internal */
93
- static __pulumiType = 'gitlab:index/integrationTelegram:IntegrationTelegram';
94
- /**
95
- * Returns true if the given object is an instance of IntegrationTelegram. This is designed to work even
96
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
97
- */
98
- static isInstance(obj) {
99
- if (obj === undefined || obj === null) {
100
- return false;
101
- }
102
- return obj['__pulumiType'] === IntegrationTelegram.__pulumiType;
103
- }
104
- constructor(name, argsOrState, opts) {
105
- let resourceInputs = {};
106
- opts = opts || {};
107
- if (opts.id) {
108
- const state = argsOrState;
109
- resourceInputs["branchesToBeNotified"] = state?.branchesToBeNotified;
110
- resourceInputs["confidentialIssuesEvents"] = state?.confidentialIssuesEvents;
111
- resourceInputs["confidentialNoteEvents"] = state?.confidentialNoteEvents;
112
- resourceInputs["issuesEvents"] = state?.issuesEvents;
113
- resourceInputs["mergeRequestsEvents"] = state?.mergeRequestsEvents;
114
- resourceInputs["noteEvents"] = state?.noteEvents;
115
- resourceInputs["notifyOnlyBrokenPipelines"] = state?.notifyOnlyBrokenPipelines;
116
- resourceInputs["pipelineEvents"] = state?.pipelineEvents;
117
- resourceInputs["project"] = state?.project;
118
- resourceInputs["pushEvents"] = state?.pushEvents;
119
- resourceInputs["room"] = state?.room;
120
- resourceInputs["tagPushEvents"] = state?.tagPushEvents;
121
- resourceInputs["token"] = state?.token;
122
- resourceInputs["wikiPageEvents"] = state?.wikiPageEvents;
123
- }
124
- else {
125
- const args = argsOrState;
126
- if (args?.confidentialIssuesEvents === undefined && !opts.urn) {
127
- throw new Error("Missing required property 'confidentialIssuesEvents'");
128
- }
129
- if (args?.confidentialNoteEvents === undefined && !opts.urn) {
130
- throw new Error("Missing required property 'confidentialNoteEvents'");
131
- }
132
- if (args?.issuesEvents === undefined && !opts.urn) {
133
- throw new Error("Missing required property 'issuesEvents'");
134
- }
135
- if (args?.mergeRequestsEvents === undefined && !opts.urn) {
136
- throw new Error("Missing required property 'mergeRequestsEvents'");
137
- }
138
- if (args?.noteEvents === undefined && !opts.urn) {
139
- throw new Error("Missing required property 'noteEvents'");
140
- }
141
- if (args?.pipelineEvents === undefined && !opts.urn) {
142
- throw new Error("Missing required property 'pipelineEvents'");
143
- }
144
- if (args?.project === undefined && !opts.urn) {
145
- throw new Error("Missing required property 'project'");
146
- }
147
- if (args?.pushEvents === undefined && !opts.urn) {
148
- throw new Error("Missing required property 'pushEvents'");
149
- }
150
- if (args?.room === undefined && !opts.urn) {
151
- throw new Error("Missing required property 'room'");
152
- }
153
- if (args?.tagPushEvents === undefined && !opts.urn) {
154
- throw new Error("Missing required property 'tagPushEvents'");
155
- }
156
- if (args?.token === undefined && !opts.urn) {
157
- throw new Error("Missing required property 'token'");
158
- }
159
- if (args?.wikiPageEvents === undefined && !opts.urn) {
160
- throw new Error("Missing required property 'wikiPageEvents'");
161
- }
162
- resourceInputs["branchesToBeNotified"] = args?.branchesToBeNotified;
163
- resourceInputs["confidentialIssuesEvents"] = args?.confidentialIssuesEvents;
164
- resourceInputs["confidentialNoteEvents"] = args?.confidentialNoteEvents;
165
- resourceInputs["issuesEvents"] = args?.issuesEvents;
166
- resourceInputs["mergeRequestsEvents"] = args?.mergeRequestsEvents;
167
- resourceInputs["noteEvents"] = args?.noteEvents;
168
- resourceInputs["notifyOnlyBrokenPipelines"] = args?.notifyOnlyBrokenPipelines;
169
- resourceInputs["pipelineEvents"] = args?.pipelineEvents;
170
- resourceInputs["project"] = args?.project;
171
- resourceInputs["pushEvents"] = args?.pushEvents;
172
- resourceInputs["room"] = args?.room;
173
- resourceInputs["tagPushEvents"] = args?.tagPushEvents;
174
- resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
175
- resourceInputs["wikiPageEvents"] = args?.wikiPageEvents;
176
- }
177
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
178
- const secretOpts = { additionalSecretOutputs: ["token"] };
179
- opts = pulumi.mergeOptions(opts, secretOpts);
180
- super(IntegrationTelegram.__pulumiType, name, resourceInputs, opts);
181
- }
182
- }
183
- exports.IntegrationTelegram = IntegrationTelegram;
184
- //# sourceMappingURL=integrationTelegram.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integrationTelegram.js","sourceRoot":"","sources":["../integrationTelegram.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sDAAsD,CAAC;IAE7F;;;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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAmED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;YACrE,cA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AC;QAC7C,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAzKL,kDA0KC"}
package/label.d.ts DELETED
@@ -1,108 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The `gitlab.Label` resource manages the lifecycle of a project label.
4
- *
5
- * > This resource is deprecated and will be removed in 19.0. Use `gitlab.ProjectLabel`instead.
6
- *
7
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/labels/#get-a-single-project-label)
8
- */
9
- export declare class Label extends pulumi.CustomResource {
10
- /**
11
- * Get an existing Label resource's state with the given name, ID, and optional extra
12
- * properties used to qualify the lookup.
13
- *
14
- * @param name The _unique_ name of the resulting resource.
15
- * @param id The _unique_ provider ID of the resource to lookup.
16
- * @param state Any extra arguments used during the lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LabelState, opts?: pulumi.CustomResourceOptions): Label;
20
- /**
21
- * Returns true if the given object is an instance of Label. This is designed to work even
22
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
- */
24
- static isInstance(obj: any): obj is Label;
25
- /**
26
- * The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
27
- */
28
- readonly color: pulumi.Output<string>;
29
- /**
30
- * Read-only, used by the provider to store the API response color. This is always in the 6-digit hex notation with leading '#' sign (e.g. #FFAABB). If `color` contains a color name, this attribute contains the hex notation equivalent. Otherwise, the value of this attribute is the same as `color`.
31
- */
32
- readonly colorHex: pulumi.Output<string>;
33
- /**
34
- * The description of the label.
35
- */
36
- readonly description: pulumi.Output<string>;
37
- /**
38
- * The id of the project label.
39
- */
40
- readonly labelId: pulumi.Output<number>;
41
- /**
42
- * The name of the label.
43
- */
44
- readonly name: pulumi.Output<string>;
45
- /**
46
- * The name or id of the project to add the label to.
47
- */
48
- readonly project: pulumi.Output<string>;
49
- /**
50
- * Create a Label resource with the given unique name, arguments, and options.
51
- *
52
- * @param name The _unique_ name of the resource.
53
- * @param args The arguments to use to populate this resource's properties.
54
- * @param opts A bag of options that control this resource's behavior.
55
- */
56
- constructor(name: string, args: LabelArgs, opts?: pulumi.CustomResourceOptions);
57
- }
58
- /**
59
- * Input properties used for looking up and filtering Label resources.
60
- */
61
- export interface LabelState {
62
- /**
63
- * The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
64
- */
65
- color?: pulumi.Input<string | undefined>;
66
- /**
67
- * Read-only, used by the provider to store the API response color. This is always in the 6-digit hex notation with leading '#' sign (e.g. #FFAABB). If `color` contains a color name, this attribute contains the hex notation equivalent. Otherwise, the value of this attribute is the same as `color`.
68
- */
69
- colorHex?: pulumi.Input<string | undefined>;
70
- /**
71
- * The description of the label.
72
- */
73
- description?: pulumi.Input<string | undefined>;
74
- /**
75
- * The id of the project label.
76
- */
77
- labelId?: pulumi.Input<number | undefined>;
78
- /**
79
- * The name of the label.
80
- */
81
- name?: pulumi.Input<string | undefined>;
82
- /**
83
- * The name or id of the project to add the label to.
84
- */
85
- project?: pulumi.Input<string | undefined>;
86
- }
87
- /**
88
- * The set of arguments for constructing a Label resource.
89
- */
90
- export interface LabelArgs {
91
- /**
92
- * The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value#Color_keywords).
93
- */
94
- color: pulumi.Input<string>;
95
- /**
96
- * The description of the label.
97
- */
98
- description?: pulumi.Input<string | undefined>;
99
- /**
100
- * The name of the label.
101
- */
102
- name?: pulumi.Input<string | undefined>;
103
- /**
104
- * The name or id of the project to add the label to.
105
- */
106
- project: pulumi.Input<string>;
107
- }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AC1D;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAzFL,sBA0FC"}
@@ -1,166 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The `gitlab.ProjectMirror` resource manages the lifecycle of a project mirror.
4
- *
5
- * This is for *pushing* changes to a remote repository. *Pull Mirroring* can be configured with the gitlab.ProjectPullMirror resource.
6
- *
7
- * > **Warning** By default, the provider sets the `keepDivergentRefs` argument to `True`.
8
- * If you manually set `keepDivergentRefs` to `False`, GitLab mirroring removes branches in the target that aren't in the source.
9
- * This action can result in unexpected branch deletions.
10
- *
11
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/remote_mirrors/)
12
- *
13
- * This resource is deprecated in favor of `gitlab.ProjectPushMirror` which is a rename. The alias will be removed in version 19.0.
14
- *
15
- * ## Example Usage
16
- *
17
- * ```typescript
18
- * import * as pulumi from "@pulumi/pulumi";
19
- * import * as gitlab from "@pulumi/gitlab";
20
- *
21
- * const foo = new gitlab.ProjectMirror("foo", {
22
- * project: "1",
23
- * url: "https://username:password@github.com/org/repository.git",
24
- * });
25
- * ```
26
- *
27
- * ## Import
28
- *
29
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.ProjectMirror`. For example:
30
- *
31
- * Importing using the CLI is supported with the following syntax:
32
- *
33
- * GitLab project mirror can be imported using an id made up of `project_id:mirror_id`, for example:
34
- *
35
- * ```sh
36
- * $ pulumi import gitlab:index/projectMirror:ProjectMirror foo "12345:1337"
37
- * ```
38
- */
39
- export declare class ProjectMirror extends pulumi.CustomResource {
40
- /**
41
- * Get an existing ProjectMirror resource's state with the given name, ID, and optional extra
42
- * properties used to qualify the lookup.
43
- *
44
- * @param name The _unique_ name of the resulting resource.
45
- * @param id The _unique_ provider ID of the resource to lookup.
46
- * @param state Any extra arguments used during the lookup.
47
- * @param opts Optional settings to control the behavior of the CustomResource.
48
- */
49
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectMirrorState, opts?: pulumi.CustomResourceOptions): ProjectMirror;
50
- /**
51
- * Returns true if the given object is an instance of ProjectMirror. 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: any): obj is ProjectMirror;
55
- /**
56
- * Determines the mirror authentication method. Valid values are: `sshPublicKey`, `password`.
57
- */
58
- readonly authMethod: pulumi.Output<string>;
59
- /**
60
- * Determines if the mirror is enabled.
61
- */
62
- readonly enabled: pulumi.Output<boolean>;
63
- /**
64
- * Determines if divergent refs are skipped.
65
- */
66
- readonly keepDivergentRefs: pulumi.Output<boolean>;
67
- /**
68
- * Contains a regular expression. Only branches with names matching the regex are mirrored. Requires only*protected*branches to be disabled. Premium and Ultimate only.
69
- */
70
- readonly mirrorBranchRegex: pulumi.Output<string>;
71
- /**
72
- * Mirror ID.
73
- */
74
- readonly mirrorId: pulumi.Output<number>;
75
- /**
76
- * Determines if only protected branches are mirrored.
77
- */
78
- readonly onlyProtectedBranches: pulumi.Output<boolean>;
79
- /**
80
- * The id of the project.
81
- */
82
- readonly project: pulumi.Output<string>;
83
- /**
84
- * The URL of the remote repository to be mirrored. Note that URLs with credentials will not import properly, and will require a replace on the first apply.
85
- */
86
- readonly url: pulumi.Output<string>;
87
- /**
88
- * Create a ProjectMirror resource with the given unique name, arguments, and options.
89
- *
90
- * @param name The _unique_ name of the resource.
91
- * @param args The arguments to use to populate this resource's properties.
92
- * @param opts A bag of options that control this resource's behavior.
93
- */
94
- constructor(name: string, args: ProjectMirrorArgs, opts?: pulumi.CustomResourceOptions);
95
- }
96
- /**
97
- * Input properties used for looking up and filtering ProjectMirror resources.
98
- */
99
- export interface ProjectMirrorState {
100
- /**
101
- * Determines the mirror authentication method. Valid values are: `sshPublicKey`, `password`.
102
- */
103
- authMethod?: pulumi.Input<string | undefined>;
104
- /**
105
- * Determines if the mirror is enabled.
106
- */
107
- enabled?: pulumi.Input<boolean | undefined>;
108
- /**
109
- * Determines if divergent refs are skipped.
110
- */
111
- keepDivergentRefs?: pulumi.Input<boolean | undefined>;
112
- /**
113
- * Contains a regular expression. Only branches with names matching the regex are mirrored. Requires only*protected*branches to be disabled. Premium and Ultimate only.
114
- */
115
- mirrorBranchRegex?: pulumi.Input<string | undefined>;
116
- /**
117
- * Mirror ID.
118
- */
119
- mirrorId?: pulumi.Input<number | undefined>;
120
- /**
121
- * Determines if only protected branches are mirrored.
122
- */
123
- onlyProtectedBranches?: pulumi.Input<boolean | undefined>;
124
- /**
125
- * The id of the project.
126
- */
127
- project?: pulumi.Input<string | undefined>;
128
- /**
129
- * The URL of the remote repository to be mirrored. Note that URLs with credentials will not import properly, and will require a replace on the first apply.
130
- */
131
- url?: pulumi.Input<string | undefined>;
132
- }
133
- /**
134
- * The set of arguments for constructing a ProjectMirror resource.
135
- */
136
- export interface ProjectMirrorArgs {
137
- /**
138
- * Determines the mirror authentication method. Valid values are: `sshPublicKey`, `password`.
139
- */
140
- authMethod?: pulumi.Input<string | undefined>;
141
- /**
142
- * Determines if the mirror is enabled.
143
- */
144
- enabled?: pulumi.Input<boolean | undefined>;
145
- /**
146
- * Determines if divergent refs are skipped.
147
- */
148
- keepDivergentRefs?: pulumi.Input<boolean | undefined>;
149
- /**
150
- * Contains a regular expression. Only branches with names matching the regex are mirrored. Requires only*protected*branches to be disabled. Premium and Ultimate only.
151
- */
152
- mirrorBranchRegex?: pulumi.Input<string | undefined>;
153
- /**
154
- * Determines if only protected branches are mirrored.
155
- */
156
- onlyProtectedBranches?: pulumi.Input<boolean | undefined>;
157
- /**
158
- * The id of the project.
159
- */
160
- project: pulumi.Input<string>;
161
- /**
162
- * The URL of the remote repository to be mirrored. Note that URLs with credentials will not import properly, and will require a replace on the first apply.
163
- */
164
- url: pulumi.Input<string>;
165
- }
166
- //# sourceMappingURL=projectMirror.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectMirror.d.ts","sourceRoot":"","sources":["../projectMirror.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,aAAa;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClE;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,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AC1C;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC7B"}
package/projectMirror.js DELETED
@@ -1,131 +0,0 @@
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
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || function (mod) {
21
- if (mod && mod.__esModule) return mod;
22
- var result = {};
23
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
- __setModuleDefault(result, mod);
25
- return result;
26
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.ProjectMirror = void 0;
29
- const pulumi = __importStar(require("@pulumi/pulumi"));
30
- const utilities = __importStar(require("./utilities"));
31
- /**
32
- * The `gitlab.ProjectMirror` resource manages the lifecycle of a project mirror.
33
- *
34
- * This is for *pushing* changes to a remote repository. *Pull Mirroring* can be configured with the gitlab.ProjectPullMirror resource.
35
- *
36
- * > **Warning** By default, the provider sets the `keepDivergentRefs` argument to `True`.
37
- * If you manually set `keepDivergentRefs` to `False`, GitLab mirroring removes branches in the target that aren't in the source.
38
- * This action can result in unexpected branch deletions.
39
- *
40
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/remote_mirrors/)
41
- *
42
- * This resource is deprecated in favor of `gitlab.ProjectPushMirror` which is a rename. The alias will be removed in version 19.0.
43
- *
44
- * ## Example Usage
45
- *
46
- * ```typescript
47
- * import * as pulumi from "@pulumi/pulumi";
48
- * import * as gitlab from "@pulumi/gitlab";
49
- *
50
- * const foo = new gitlab.ProjectMirror("foo", {
51
- * project: "1",
52
- * url: "https://username:password@github.com/org/repository.git",
53
- * });
54
- * ```
55
- *
56
- * ## Import
57
- *
58
- * Starting in Terraform v1.5.0, you can use an import block to import `gitlab.ProjectMirror`. For example:
59
- *
60
- * Importing using the CLI is supported with the following syntax:
61
- *
62
- * GitLab project mirror can be imported using an id made up of `project_id:mirror_id`, for example:
63
- *
64
- * ```sh
65
- * $ pulumi import gitlab:index/projectMirror:ProjectMirror foo "12345:1337"
66
- * ```
67
- */
68
- class ProjectMirror extends pulumi.CustomResource {
69
- /**
70
- * Get an existing ProjectMirror resource's state with the given name, ID, and optional extra
71
- * properties used to qualify the lookup.
72
- *
73
- * @param name The _unique_ name of the resulting resource.
74
- * @param id The _unique_ provider ID of the resource to lookup.
75
- * @param state Any extra arguments used during the lookup.
76
- * @param opts Optional settings to control the behavior of the CustomResource.
77
- */
78
- static get(name, id, state, opts) {
79
- return new ProjectMirror(name, state, { ...opts, id: id });
80
- }
81
- /** @internal */
82
- static __pulumiType = 'gitlab:index/projectMirror:ProjectMirror';
83
- /**
84
- * Returns true if the given object is an instance of ProjectMirror. This is designed to work even
85
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
- */
87
- static isInstance(obj) {
88
- if (obj === undefined || obj === null) {
89
- return false;
90
- }
91
- return obj['__pulumiType'] === ProjectMirror.__pulumiType;
92
- }
93
- constructor(name, argsOrState, opts) {
94
- let resourceInputs = {};
95
- opts = opts || {};
96
- if (opts.id) {
97
- const state = argsOrState;
98
- resourceInputs["authMethod"] = state?.authMethod;
99
- resourceInputs["enabled"] = state?.enabled;
100
- resourceInputs["keepDivergentRefs"] = state?.keepDivergentRefs;
101
- resourceInputs["mirrorBranchRegex"] = state?.mirrorBranchRegex;
102
- resourceInputs["mirrorId"] = state?.mirrorId;
103
- resourceInputs["onlyProtectedBranches"] = state?.onlyProtectedBranches;
104
- resourceInputs["project"] = state?.project;
105
- resourceInputs["url"] = state?.url;
106
- }
107
- else {
108
- const args = argsOrState;
109
- if (args?.project === undefined && !opts.urn) {
110
- throw new Error("Missing required property 'project'");
111
- }
112
- if (args?.url === undefined && !opts.urn) {
113
- throw new Error("Missing required property 'url'");
114
- }
115
- resourceInputs["authMethod"] = args?.authMethod;
116
- resourceInputs["enabled"] = args?.enabled;
117
- resourceInputs["keepDivergentRefs"] = args?.keepDivergentRefs;
118
- resourceInputs["mirrorBranchRegex"] = args?.mirrorBranchRegex;
119
- resourceInputs["onlyProtectedBranches"] = args?.onlyProtectedBranches;
120
- resourceInputs["project"] = args?.project;
121
- resourceInputs["url"] = args?.url ? pulumi.secret(args.url) : undefined;
122
- resourceInputs["mirrorId"] = undefined /*out*/;
123
- }
124
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
125
- const secretOpts = { additionalSecretOutputs: ["url"] };
126
- opts = pulumi.mergeOptions(opts, secretOpts);
127
- super(ProjectMirror.__pulumiType, name, resourceInputs, opts);
128
- }
129
- }
130
- exports.ProjectMirror = ProjectMirror;
131
- //# sourceMappingURL=projectMirror.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectMirror.js","sourceRoot":"","sources":["../projectMirror.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;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;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0CAA0C,CAAC;IAEjF;;;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;IA2CD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UA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