@quantcdn/pulumi-quant 5.4.0 → 5.5.1
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/aiAgent.d.ts +155 -0
- package/aiAgent.js +94 -0
- package/aiAgent.js.map +1 -0
- package/aiGovernance.d.ts +77 -0
- package/aiGovernance.js +75 -0
- package/aiGovernance.js.map +1 -0
- package/aiSkill.d.ts +101 -0
- package/aiSkill.js +85 -0
- package/aiSkill.js.map +1 -0
- package/aiVectorCollection.d.ts +107 -0
- package/aiVectorCollection.js +68 -0
- package/aiVectorCollection.js.map +1 -0
- package/aiVectorDocument.d.ts +73 -0
- package/aiVectorDocument.js +70 -0
- package/aiVectorDocument.js.map +1 -0
- package/application.d.ts +189 -0
- package/application.js +85 -0
- package/application.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +36 -0
- package/config/vars.js +61 -0
- package/config/vars.js.map +1 -0
- package/{crawler.ts → crawler.d.ts} +45 -139
- package/crawler.js +116 -0
- package/crawler.js.map +1 -0
- package/crawlerSchedule.d.ts +156 -0
- package/crawlerSchedule.js +74 -0
- package/crawlerSchedule.js.map +1 -0
- package/cronJob.d.ts +102 -0
- package/cronJob.js +73 -0
- package/cronJob.js.map +1 -0
- package/{domain.ts → domain.d.ts} +10 -56
- package/domain.js +62 -0
- package/domain.js.map +1 -0
- package/environment.d.ts +313 -0
- package/environment.js +110 -0
- package/environment.js.map +1 -0
- package/getProject.d.ts +34 -0
- package/getProject.js +24 -0
- package/getProject.js.map +1 -0
- package/getProjects.d.ts +14 -0
- package/getProjects.js +18 -0
- package/getProjects.js.map +1 -0
- package/header.d.ts +60 -0
- package/header.js +59 -0
- package/header.js.map +1 -0
- package/index.d.ts +88 -0
- package/index.js +158 -0
- package/index.js.map +1 -0
- package/{kvItem.ts → kvItem.d.ts} +11 -62
- package/kvItem.js +67 -0
- package/kvItem.js.map +1 -0
- package/kvStore.d.ts +75 -0
- package/kvStore.js +55 -0
- package/kvStore.js.map +1 -0
- package/package.json +32 -30
- package/project.d.ts +175 -0
- package/project.js +73 -0
- package/project.js.map +1 -0
- package/{provider.ts → provider.d.ts} +12 -51
- package/provider.js +63 -0
- package/provider.js.map +1 -0
- package/{ruleAuth.ts → ruleAuth.d.ts} +31 -128
- package/ruleAuth.js +113 -0
- package/ruleAuth.js.map +1 -0
- package/{ruleBotChallenge.ts → ruleBotChallenge.d.ts} +32 -128
- package/ruleBotChallenge.js +112 -0
- package/ruleBotChallenge.js.map +1 -0
- package/{ruleContentFilter.ts → ruleContentFilter.d.ts} +30 -122
- package/ruleContentFilter.js +108 -0
- package/ruleContentFilter.js.map +1 -0
- package/{ruleCustomResponse.ts → ruleCustomResponse.d.ts} +33 -131
- package/ruleCustomResponse.js +114 -0
- package/ruleCustomResponse.js.map +1 -0
- package/{ruleFunction.ts → ruleFunction.d.ts} +30 -122
- package/ruleFunction.js +108 -0
- package/ruleFunction.js.map +1 -0
- package/{ruleHeaders.ts → ruleHeaders.d.ts} +38 -124
- package/ruleHeaders.js +108 -0
- package/ruleHeaders.js.map +1 -0
- package/{ruleProxy.ts → ruleProxy.d.ts} +62 -196
- package/ruleProxy.js +156 -0
- package/ruleProxy.js.map +1 -0
- package/{ruleRedirect.ts → ruleRedirect.d.ts} +31 -125
- package/ruleRedirect.js +110 -0
- package/ruleRedirect.js.map +1 -0
- package/{ruleServeStatic.ts → ruleServeStatic.d.ts} +30 -122
- package/ruleServeStatic.js +108 -0
- package/ruleServeStatic.js.map +1 -0
- package/{slackBot.ts → slackBot.d.ts} +14 -71
- package/slackBot.js +73 -0
- package/slackBot.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/{input.ts → input.d.ts} +6 -78
- package/{config/index.ts → types/input.js} +3 -3
- package/types/input.js.map +1 -0
- package/types/{output.ts → output.d.ts} +6 -81
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/{utilities.ts → utilities.js} +23 -28
- package/utilities.js.map +1 -0
- package/volume.d.ts +130 -0
- package/volume.js +74 -0
- package/volume.js.map +1 -0
- package/.gitattributes +0 -1
- package/aiAgent.ts +0 -233
- package/aiGovernance.ts +0 -136
- package/aiSkill.ts +0 -170
- package/aiVectorCollection.ts +0 -159
- package/aiVectorDocument.ts +0 -127
- package/application.ts +0 -258
- package/config/vars.ts +0 -108
- package/crawlerSchedule.ts +0 -214
- package/cronJob.ts +0 -159
- package/environment.ts +0 -407
- package/getProject.ts +0 -54
- package/getProjects.ts +0 -29
- package/header.ts +0 -97
- package/index.ts +0 -231
- package/kvStore.ts +0 -114
- package/project.ts +0 -232
- package/tsconfig.json +0 -53
- package/types/index.ts +0 -13
- package/volume.ts +0 -188
package/environment.d.ts
ADDED
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class Environment extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing Environment resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentState, opts?: pulumi.CustomResourceOptions): Environment;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is Environment;
|
|
20
|
+
/**
|
|
21
|
+
* ALB routing configuration
|
|
22
|
+
*/
|
|
23
|
+
readonly albRouting: pulumi.Output<outputs.EnvironmentAlbRouting>;
|
|
24
|
+
/**
|
|
25
|
+
* The application ID
|
|
26
|
+
*/
|
|
27
|
+
readonly application: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Clone configuration from an existing environment
|
|
30
|
+
*/
|
|
31
|
+
readonly cloneConfigurationFrom: pulumi.Output<string>;
|
|
32
|
+
readonly composeDefinition: pulumi.Output<outputs.EnvironmentComposeDefinition>;
|
|
33
|
+
/**
|
|
34
|
+
* Container name list
|
|
35
|
+
*/
|
|
36
|
+
readonly containerNames: pulumi.Output<string[]>;
|
|
37
|
+
/**
|
|
38
|
+
* Creation timestamp
|
|
39
|
+
*/
|
|
40
|
+
readonly createdAt: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Scheduled cron jobs
|
|
43
|
+
*/
|
|
44
|
+
readonly crons: pulumi.Output<outputs.EnvironmentCron[]>;
|
|
45
|
+
/**
|
|
46
|
+
* Reason for deployment failure
|
|
47
|
+
*/
|
|
48
|
+
readonly deploymentFailureReason: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Type of deployment failure
|
|
51
|
+
*/
|
|
52
|
+
readonly deploymentFailureType: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Current deployment status
|
|
55
|
+
*/
|
|
56
|
+
readonly deploymentStatus: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Desired number of tasks
|
|
59
|
+
*/
|
|
60
|
+
readonly desiredCount: pulumi.Output<number>;
|
|
61
|
+
/**
|
|
62
|
+
* Environment name (e.g., 'staging', 'development')
|
|
63
|
+
*/
|
|
64
|
+
readonly envName: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Environment variables to inject
|
|
67
|
+
*/
|
|
68
|
+
readonly environments: pulumi.Output<outputs.EnvironmentEnvironment[]>;
|
|
69
|
+
/**
|
|
70
|
+
* Optional image tag suffix for cloning
|
|
71
|
+
*/
|
|
72
|
+
readonly imageSuffix: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Load balancer configuration
|
|
75
|
+
*/
|
|
76
|
+
readonly loadBalancer: pulumi.Output<outputs.EnvironmentLoadBalancer>;
|
|
77
|
+
/**
|
|
78
|
+
* Maximum number of instances
|
|
79
|
+
*/
|
|
80
|
+
readonly maxCapacity: pulumi.Output<number>;
|
|
81
|
+
/**
|
|
82
|
+
* Whether to merge environment variables with cloned ones (true) or replace them (false). Default: false
|
|
83
|
+
*/
|
|
84
|
+
readonly mergeEnvironment: pulumi.Output<boolean>;
|
|
85
|
+
/**
|
|
86
|
+
* Minimum number of instances
|
|
87
|
+
*/
|
|
88
|
+
readonly minCapacity: pulumi.Output<number>;
|
|
89
|
+
/**
|
|
90
|
+
* The organisation ID
|
|
91
|
+
*/
|
|
92
|
+
readonly organisation: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Public IP address for SSH access
|
|
95
|
+
*/
|
|
96
|
+
readonly publicIpAddress: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Number of running tasks
|
|
99
|
+
*/
|
|
100
|
+
readonly runningCount: pulumi.Output<number>;
|
|
101
|
+
/**
|
|
102
|
+
* Security group configuration
|
|
103
|
+
*/
|
|
104
|
+
readonly securityGroup: pulumi.Output<outputs.EnvironmentSecurityGroup>;
|
|
105
|
+
/**
|
|
106
|
+
* ECS service details
|
|
107
|
+
*/
|
|
108
|
+
readonly service: pulumi.Output<outputs.EnvironmentService>;
|
|
109
|
+
/**
|
|
110
|
+
* Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
|
|
111
|
+
*/
|
|
112
|
+
readonly spotConfiguration: pulumi.Output<outputs.EnvironmentSpotConfiguration>;
|
|
113
|
+
/**
|
|
114
|
+
* Environment status
|
|
115
|
+
*/
|
|
116
|
+
readonly status: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Subnet configuration
|
|
119
|
+
*/
|
|
120
|
+
readonly subnet: pulumi.Output<outputs.EnvironmentSubnet>;
|
|
121
|
+
/**
|
|
122
|
+
* ECS task definition details
|
|
123
|
+
*/
|
|
124
|
+
readonly taskDefinition: pulumi.Output<outputs.EnvironmentTaskDefinition>;
|
|
125
|
+
/**
|
|
126
|
+
* Last update timestamp
|
|
127
|
+
*/
|
|
128
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Persistent storage volumes
|
|
131
|
+
*/
|
|
132
|
+
readonly volumes: pulumi.Output<outputs.EnvironmentVolume[]>;
|
|
133
|
+
/**
|
|
134
|
+
* VPC configuration
|
|
135
|
+
*/
|
|
136
|
+
readonly vpc: pulumi.Output<outputs.EnvironmentVpc>;
|
|
137
|
+
/**
|
|
138
|
+
* Create a Environment resource with the given unique name, arguments, and options.
|
|
139
|
+
*
|
|
140
|
+
* @param name The _unique_ name of the resource.
|
|
141
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
142
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
143
|
+
*/
|
|
144
|
+
constructor(name: string, args: EnvironmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Input properties used for looking up and filtering Environment resources.
|
|
148
|
+
*/
|
|
149
|
+
export interface EnvironmentState {
|
|
150
|
+
/**
|
|
151
|
+
* ALB routing configuration
|
|
152
|
+
*/
|
|
153
|
+
albRouting?: pulumi.Input<inputs.EnvironmentAlbRouting>;
|
|
154
|
+
/**
|
|
155
|
+
* The application ID
|
|
156
|
+
*/
|
|
157
|
+
application?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Clone configuration from an existing environment
|
|
160
|
+
*/
|
|
161
|
+
cloneConfigurationFrom?: pulumi.Input<string>;
|
|
162
|
+
composeDefinition?: pulumi.Input<inputs.EnvironmentComposeDefinition>;
|
|
163
|
+
/**
|
|
164
|
+
* Container name list
|
|
165
|
+
*/
|
|
166
|
+
containerNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
167
|
+
/**
|
|
168
|
+
* Creation timestamp
|
|
169
|
+
*/
|
|
170
|
+
createdAt?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Scheduled cron jobs
|
|
173
|
+
*/
|
|
174
|
+
crons?: pulumi.Input<pulumi.Input<inputs.EnvironmentCron>[]>;
|
|
175
|
+
/**
|
|
176
|
+
* Reason for deployment failure
|
|
177
|
+
*/
|
|
178
|
+
deploymentFailureReason?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Type of deployment failure
|
|
181
|
+
*/
|
|
182
|
+
deploymentFailureType?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Current deployment status
|
|
185
|
+
*/
|
|
186
|
+
deploymentStatus?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Desired number of tasks
|
|
189
|
+
*/
|
|
190
|
+
desiredCount?: pulumi.Input<number>;
|
|
191
|
+
/**
|
|
192
|
+
* Environment name (e.g., 'staging', 'development')
|
|
193
|
+
*/
|
|
194
|
+
envName?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Environment variables to inject
|
|
197
|
+
*/
|
|
198
|
+
environments?: pulumi.Input<pulumi.Input<inputs.EnvironmentEnvironment>[]>;
|
|
199
|
+
/**
|
|
200
|
+
* Optional image tag suffix for cloning
|
|
201
|
+
*/
|
|
202
|
+
imageSuffix?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Load balancer configuration
|
|
205
|
+
*/
|
|
206
|
+
loadBalancer?: pulumi.Input<inputs.EnvironmentLoadBalancer>;
|
|
207
|
+
/**
|
|
208
|
+
* Maximum number of instances
|
|
209
|
+
*/
|
|
210
|
+
maxCapacity?: pulumi.Input<number>;
|
|
211
|
+
/**
|
|
212
|
+
* Whether to merge environment variables with cloned ones (true) or replace them (false). Default: false
|
|
213
|
+
*/
|
|
214
|
+
mergeEnvironment?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* Minimum number of instances
|
|
217
|
+
*/
|
|
218
|
+
minCapacity?: pulumi.Input<number>;
|
|
219
|
+
/**
|
|
220
|
+
* The organisation ID
|
|
221
|
+
*/
|
|
222
|
+
organisation?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Public IP address for SSH access
|
|
225
|
+
*/
|
|
226
|
+
publicIpAddress?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* Number of running tasks
|
|
229
|
+
*/
|
|
230
|
+
runningCount?: pulumi.Input<number>;
|
|
231
|
+
/**
|
|
232
|
+
* Security group configuration
|
|
233
|
+
*/
|
|
234
|
+
securityGroup?: pulumi.Input<inputs.EnvironmentSecurityGroup>;
|
|
235
|
+
/**
|
|
236
|
+
* ECS service details
|
|
237
|
+
*/
|
|
238
|
+
service?: pulumi.Input<inputs.EnvironmentService>;
|
|
239
|
+
/**
|
|
240
|
+
* Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
|
|
241
|
+
*/
|
|
242
|
+
spotConfiguration?: pulumi.Input<inputs.EnvironmentSpotConfiguration>;
|
|
243
|
+
/**
|
|
244
|
+
* Environment status
|
|
245
|
+
*/
|
|
246
|
+
status?: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* Subnet configuration
|
|
249
|
+
*/
|
|
250
|
+
subnet?: pulumi.Input<inputs.EnvironmentSubnet>;
|
|
251
|
+
/**
|
|
252
|
+
* ECS task definition details
|
|
253
|
+
*/
|
|
254
|
+
taskDefinition?: pulumi.Input<inputs.EnvironmentTaskDefinition>;
|
|
255
|
+
/**
|
|
256
|
+
* Last update timestamp
|
|
257
|
+
*/
|
|
258
|
+
updatedAt?: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Persistent storage volumes
|
|
261
|
+
*/
|
|
262
|
+
volumes?: pulumi.Input<pulumi.Input<inputs.EnvironmentVolume>[]>;
|
|
263
|
+
/**
|
|
264
|
+
* VPC configuration
|
|
265
|
+
*/
|
|
266
|
+
vpc?: pulumi.Input<inputs.EnvironmentVpc>;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* The set of arguments for constructing a Environment resource.
|
|
270
|
+
*/
|
|
271
|
+
export interface EnvironmentArgs {
|
|
272
|
+
/**
|
|
273
|
+
* The application ID
|
|
274
|
+
*/
|
|
275
|
+
application?: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* Clone configuration from an existing environment
|
|
278
|
+
*/
|
|
279
|
+
cloneConfigurationFrom?: pulumi.Input<string>;
|
|
280
|
+
composeDefinition?: pulumi.Input<inputs.EnvironmentComposeDefinition>;
|
|
281
|
+
/**
|
|
282
|
+
* Environment name (e.g., 'staging', 'development')
|
|
283
|
+
*/
|
|
284
|
+
envName: pulumi.Input<string>;
|
|
285
|
+
/**
|
|
286
|
+
* Environment variables to inject
|
|
287
|
+
*/
|
|
288
|
+
environments?: pulumi.Input<pulumi.Input<inputs.EnvironmentEnvironment>[]>;
|
|
289
|
+
/**
|
|
290
|
+
* Optional image tag suffix for cloning
|
|
291
|
+
*/
|
|
292
|
+
imageSuffix?: pulumi.Input<string>;
|
|
293
|
+
/**
|
|
294
|
+
* Maximum number of instances
|
|
295
|
+
*/
|
|
296
|
+
maxCapacity?: pulumi.Input<number>;
|
|
297
|
+
/**
|
|
298
|
+
* Whether to merge environment variables with cloned ones (true) or replace them (false). Default: false
|
|
299
|
+
*/
|
|
300
|
+
mergeEnvironment?: pulumi.Input<boolean>;
|
|
301
|
+
/**
|
|
302
|
+
* Minimum number of instances
|
|
303
|
+
*/
|
|
304
|
+
minCapacity?: pulumi.Input<number>;
|
|
305
|
+
/**
|
|
306
|
+
* The organisation ID
|
|
307
|
+
*/
|
|
308
|
+
organisation?: pulumi.Input<string>;
|
|
309
|
+
/**
|
|
310
|
+
* Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
|
|
311
|
+
*/
|
|
312
|
+
spotConfiguration?: pulumi.Input<inputs.EnvironmentSpotConfiguration>;
|
|
313
|
+
}
|
package/environment.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Environment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Environment extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Environment resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new Environment(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === Environment.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["albRouting"] = state?.albRouting;
|
|
37
|
+
resourceInputs["application"] = state?.application;
|
|
38
|
+
resourceInputs["cloneConfigurationFrom"] = state?.cloneConfigurationFrom;
|
|
39
|
+
resourceInputs["composeDefinition"] = state?.composeDefinition;
|
|
40
|
+
resourceInputs["containerNames"] = state?.containerNames;
|
|
41
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
42
|
+
resourceInputs["crons"] = state?.crons;
|
|
43
|
+
resourceInputs["deploymentFailureReason"] = state?.deploymentFailureReason;
|
|
44
|
+
resourceInputs["deploymentFailureType"] = state?.deploymentFailureType;
|
|
45
|
+
resourceInputs["deploymentStatus"] = state?.deploymentStatus;
|
|
46
|
+
resourceInputs["desiredCount"] = state?.desiredCount;
|
|
47
|
+
resourceInputs["envName"] = state?.envName;
|
|
48
|
+
resourceInputs["environments"] = state?.environments;
|
|
49
|
+
resourceInputs["imageSuffix"] = state?.imageSuffix;
|
|
50
|
+
resourceInputs["loadBalancer"] = state?.loadBalancer;
|
|
51
|
+
resourceInputs["maxCapacity"] = state?.maxCapacity;
|
|
52
|
+
resourceInputs["mergeEnvironment"] = state?.mergeEnvironment;
|
|
53
|
+
resourceInputs["minCapacity"] = state?.minCapacity;
|
|
54
|
+
resourceInputs["organisation"] = state?.organisation;
|
|
55
|
+
resourceInputs["publicIpAddress"] = state?.publicIpAddress;
|
|
56
|
+
resourceInputs["runningCount"] = state?.runningCount;
|
|
57
|
+
resourceInputs["securityGroup"] = state?.securityGroup;
|
|
58
|
+
resourceInputs["service"] = state?.service;
|
|
59
|
+
resourceInputs["spotConfiguration"] = state?.spotConfiguration;
|
|
60
|
+
resourceInputs["status"] = state?.status;
|
|
61
|
+
resourceInputs["subnet"] = state?.subnet;
|
|
62
|
+
resourceInputs["taskDefinition"] = state?.taskDefinition;
|
|
63
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
64
|
+
resourceInputs["volumes"] = state?.volumes;
|
|
65
|
+
resourceInputs["vpc"] = state?.vpc;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if (args?.envName === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'envName'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["application"] = args?.application;
|
|
73
|
+
resourceInputs["cloneConfigurationFrom"] = args?.cloneConfigurationFrom;
|
|
74
|
+
resourceInputs["composeDefinition"] = args?.composeDefinition;
|
|
75
|
+
resourceInputs["envName"] = args?.envName;
|
|
76
|
+
resourceInputs["environments"] = args?.environments;
|
|
77
|
+
resourceInputs["imageSuffix"] = args?.imageSuffix;
|
|
78
|
+
resourceInputs["maxCapacity"] = args?.maxCapacity;
|
|
79
|
+
resourceInputs["mergeEnvironment"] = args?.mergeEnvironment;
|
|
80
|
+
resourceInputs["minCapacity"] = args?.minCapacity;
|
|
81
|
+
resourceInputs["organisation"] = args?.organisation;
|
|
82
|
+
resourceInputs["spotConfiguration"] = args?.spotConfiguration;
|
|
83
|
+
resourceInputs["albRouting"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["containerNames"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["crons"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["deploymentFailureReason"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["deploymentFailureType"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["deploymentStatus"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["desiredCount"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["loadBalancer"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["publicIpAddress"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["runningCount"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["securityGroup"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["service"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["subnet"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["taskDefinition"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["volumes"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["vpc"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
super(Environment.__pulumiType, name, resourceInputs, opts);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.Environment = Environment;
|
|
108
|
+
/** @internal */
|
|
109
|
+
Environment.__pulumiType = 'quant:index:Environment';
|
|
110
|
+
//# sourceMappingURL=environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAgID,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAA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AQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAnOL,kCAoOC;AAtNG,gBAAgB;AACO,wBAAY,GAAG,yBAAyB,CAAC"}
|
package/getProject.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getProject.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetProjectArgs {
|
|
7
|
+
machineName: string;
|
|
8
|
+
withToken?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A collection of values returned by getProject.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetProjectResult {
|
|
14
|
+
readonly createdAt: string;
|
|
15
|
+
readonly gitUrl: string;
|
|
16
|
+
readonly id: number;
|
|
17
|
+
readonly machineName: string;
|
|
18
|
+
readonly name: string;
|
|
19
|
+
readonly organizationId: number;
|
|
20
|
+
readonly region: string;
|
|
21
|
+
readonly securityScore: string;
|
|
22
|
+
readonly updatedAt: string;
|
|
23
|
+
readonly uuid: string;
|
|
24
|
+
readonly withToken?: boolean;
|
|
25
|
+
readonly writeToken: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult>;
|
|
28
|
+
/**
|
|
29
|
+
* A collection of arguments for invoking getProject.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetProjectOutputArgs {
|
|
32
|
+
machineName: pulumi.Input<string>;
|
|
33
|
+
withToken?: pulumi.Input<boolean>;
|
|
34
|
+
}
|
package/getProject.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getProjectOutput = exports.getProject = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getProject(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("quant:index:getProject", {
|
|
11
|
+
"machineName": args.machineName,
|
|
12
|
+
"withToken": args.withToken,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getProject = getProject;
|
|
16
|
+
function getProjectOutput(args, opts) {
|
|
17
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
|
+
return pulumi.runtime.invokeOutput("quant:index:getProject", {
|
|
19
|
+
"machineName": args.machineName,
|
|
20
|
+
"withToken": args.withToken,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getProjectOutput = getProjectOutput;
|
|
24
|
+
//# sourceMappingURL=getProject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE;QACnD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AA2BD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wBAAwB,EAAE;QACzD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
package/getProjects.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function getProjects(opts?: pulumi.InvokeOptions): Promise<GetProjectsResult>;
|
|
4
|
+
/**
|
|
5
|
+
* A collection of values returned by getProjects.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetProjectsResult {
|
|
8
|
+
/**
|
|
9
|
+
* The provider-assigned unique ID for this managed resource.
|
|
10
|
+
*/
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly projects: outputs.GetProjectsProject[];
|
|
13
|
+
}
|
|
14
|
+
export declare function getProjectsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectsResult>;
|
package/getProjects.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getProjectsOutput = exports.getProjects = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getProjects(opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("quant:index:getProjects", {}, opts);
|
|
11
|
+
}
|
|
12
|
+
exports.getProjects = getProjects;
|
|
13
|
+
function getProjectsOutput(opts) {
|
|
14
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
|
+
return pulumi.runtime.invokeOutput("quant:index:getProjects", {}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getProjectsOutput = getProjectsOutput;
|
|
18
|
+
//# sourceMappingURL=getProjects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yBAAyB,EAAE,EACvD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAYD,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yBAAyB,EAAE,EAC7D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
|
package/header.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Header extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing Header resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HeaderState, opts?: pulumi.CustomResourceOptions): Header;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of Header. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is Header;
|
|
18
|
+
/**
|
|
19
|
+
* HTTP headers to be set for the project
|
|
20
|
+
*/
|
|
21
|
+
readonly headers: pulumi.Output<{
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
}>;
|
|
24
|
+
readonly organization: pulumi.Output<string>;
|
|
25
|
+
readonly project: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a Header resource with the given unique name, arguments, and options.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resource.
|
|
30
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
31
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
32
|
+
*/
|
|
33
|
+
constructor(name: string, args: HeaderArgs, opts?: pulumi.CustomResourceOptions);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Input properties used for looking up and filtering Header resources.
|
|
37
|
+
*/
|
|
38
|
+
export interface HeaderState {
|
|
39
|
+
/**
|
|
40
|
+
* HTTP headers to be set for the project
|
|
41
|
+
*/
|
|
42
|
+
headers?: pulumi.Input<{
|
|
43
|
+
[key: string]: pulumi.Input<string>;
|
|
44
|
+
}>;
|
|
45
|
+
organization?: pulumi.Input<string>;
|
|
46
|
+
project?: pulumi.Input<string>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a Header resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface HeaderArgs {
|
|
52
|
+
/**
|
|
53
|
+
* HTTP headers to be set for the project
|
|
54
|
+
*/
|
|
55
|
+
headers: pulumi.Input<{
|
|
56
|
+
[key: string]: pulumi.Input<string>;
|
|
57
|
+
}>;
|
|
58
|
+
organization?: pulumi.Input<string>;
|
|
59
|
+
project: pulumi.Input<string>;
|
|
60
|
+
}
|
package/header.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Header = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Header extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Header resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new Header(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Header. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === Header.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["headers"] = state?.headers;
|
|
37
|
+
resourceInputs["organization"] = state?.organization;
|
|
38
|
+
resourceInputs["project"] = state?.project;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if (args?.headers === undefined && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'headers'");
|
|
44
|
+
}
|
|
45
|
+
if (args?.project === undefined && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'project'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["headers"] = args?.headers;
|
|
49
|
+
resourceInputs["organization"] = args?.organization;
|
|
50
|
+
resourceInputs["project"] = args?.project;
|
|
51
|
+
}
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
|
+
super(Header.__pulumiType, name, resourceInputs, opts);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.Header = Header;
|
|
57
|
+
/** @internal */
|
|
58
|
+
Header.__pulumiType = 'quant:index:Header';
|
|
59
|
+
//# sourceMappingURL=header.js.map
|
package/header.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.js","sourceRoot":"","sources":["../header.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF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