@pulumi/dnsimple 3.5.0 → 4.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.
- package/README.md +2 -2
- package/contact.d.ts +394 -0
- package/contact.js +256 -0
- package/contact.js.map +1 -0
- package/domainDelegation.d.ts +95 -0
- package/domainDelegation.js +86 -0
- package/domainDelegation.js.map +1 -0
- package/dsRecord.d.ts +206 -0
- package/dsRecord.js +145 -0
- package/dsRecord.js.map +1 -0
- package/emailForward.d.ts +0 -1
- package/emailForward.js +0 -1
- package/emailForward.js.map +1 -1
- package/getCertificate.d.ts +5 -0
- package/getCertificate.js +1 -0
- package/getCertificate.js.map +1 -1
- package/getRegistrantChangeCheck.d.ts +90 -0
- package/getRegistrantChangeCheck.js +82 -0
- package/getRegistrantChangeCheck.js.map +1 -0
- package/getZone.d.ts +4 -0
- package/getZone.js +4 -0
- package/getZone.js.map +1 -1
- package/index.d.ts +18 -0
- package/index.js +29 -1
- package/index.js.map +1 -1
- package/letsEncryptCertificate.d.ts +19 -3
- package/letsEncryptCertificate.js +6 -0
- package/letsEncryptCertificate.js.map +1 -1
- package/package.json +2 -2
- package/registeredDomain.d.ts +256 -0
- package/registeredDomain.js +141 -0
- package/registeredDomain.js.map +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +77 -1
- package/types/output.d.ts +82 -1
- package/zone.d.ts +155 -0
- package/zone.js +119 -0
- package/zone.js.map +1 -0
- package/zoneRecord.d.ts +27 -5
- package/zoneRecord.js +6 -0
- package/zoneRecord.js.map +1 -1
package/zone.d.ts
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a DNSimple zone resource.
|
|
4
|
+
*
|
|
5
|
+
* > Currently the resource creation acts as an import, so the zone must already exist in DNSimple. The only attribute that will be modified during resource creation is the `active` state of the zone. This is because our API does not allow for the creation of zones. Creation of zones happens through the purchase or creation of domains. We expect this behavior to change in the future.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as dnsimple from "@pulumi/dnsimple";
|
|
12
|
+
*
|
|
13
|
+
* // Create a zone
|
|
14
|
+
* const foobar = new dnsimple.Zone("foobar", {name: dnsimple.zone});
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* DNSimple zones can be imported using their numeric record ID or the zone name.
|
|
20
|
+
*
|
|
21
|
+
* bash
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import dnsimple:index/zone:Zone resource_name foo.com
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* The zone ID can be found within [DNSimple Zones API](https://developer.dnsimple.com/v2/zones/#getZone). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
28
|
+
*
|
|
29
|
+
* bash
|
|
30
|
+
*
|
|
31
|
+
* curl -H 'Authorization: Bearer <ACCESS_TOKEN>' https://api.dnsimple.com/v2/1234/zones/example.com | jq
|
|
32
|
+
*
|
|
33
|
+
* {
|
|
34
|
+
*
|
|
35
|
+
* "data": {
|
|
36
|
+
*
|
|
37
|
+
* "id": 1,
|
|
38
|
+
*
|
|
39
|
+
* "account_id": 1234,
|
|
40
|
+
*
|
|
41
|
+
* "name": "example.com",
|
|
42
|
+
*
|
|
43
|
+
* "reverse": false,
|
|
44
|
+
*
|
|
45
|
+
* "secondary": false,
|
|
46
|
+
*
|
|
47
|
+
* "last_transferred_at": null,
|
|
48
|
+
*
|
|
49
|
+
* "active": true,
|
|
50
|
+
*
|
|
51
|
+
* "created_at": "2023-04-18T04:58:01Z",
|
|
52
|
+
*
|
|
53
|
+
* "updated_at": "2024-01-16T15:53:18Z"
|
|
54
|
+
*
|
|
55
|
+
* }
|
|
56
|
+
*
|
|
57
|
+
* }
|
|
58
|
+
*/
|
|
59
|
+
export declare class Zone extends pulumi.CustomResource {
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing Zone resource's state with the given name, ID, and optional extra
|
|
62
|
+
* properties used to qualify the lookup.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resulting resource.
|
|
65
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
+
* @param state Any extra arguments used during the lookup.
|
|
67
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
+
*/
|
|
69
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ZoneState, opts?: pulumi.CustomResourceOptions): Zone;
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of Zone. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj: any): obj is Zone;
|
|
75
|
+
/**
|
|
76
|
+
* The account ID for the zone.
|
|
77
|
+
*/
|
|
78
|
+
readonly accountId: pulumi.Output<number>;
|
|
79
|
+
/**
|
|
80
|
+
* Whether the zone is active.
|
|
81
|
+
*/
|
|
82
|
+
readonly active: pulumi.Output<boolean>;
|
|
83
|
+
/**
|
|
84
|
+
* The last time the zone was transferred only applicable for **secondary** zones.
|
|
85
|
+
*/
|
|
86
|
+
readonly lastTransferredAt: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The zone name
|
|
89
|
+
*
|
|
90
|
+
* # Attributes Reference
|
|
91
|
+
*/
|
|
92
|
+
readonly name: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Whether the zone is a reverse zone.
|
|
95
|
+
*/
|
|
96
|
+
readonly reverse: pulumi.Output<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* Whether the zone is a secondary zone.
|
|
99
|
+
*/
|
|
100
|
+
readonly secondary: pulumi.Output<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* Create a Zone resource with the given unique name, arguments, and options.
|
|
103
|
+
*
|
|
104
|
+
* @param name The _unique_ name of the resource.
|
|
105
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
106
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
107
|
+
*/
|
|
108
|
+
constructor(name: string, args: ZoneArgs, opts?: pulumi.CustomResourceOptions);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Input properties used for looking up and filtering Zone resources.
|
|
112
|
+
*/
|
|
113
|
+
export interface ZoneState {
|
|
114
|
+
/**
|
|
115
|
+
* The account ID for the zone.
|
|
116
|
+
*/
|
|
117
|
+
accountId?: pulumi.Input<number>;
|
|
118
|
+
/**
|
|
119
|
+
* Whether the zone is active.
|
|
120
|
+
*/
|
|
121
|
+
active?: pulumi.Input<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* The last time the zone was transferred only applicable for **secondary** zones.
|
|
124
|
+
*/
|
|
125
|
+
lastTransferredAt?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The zone name
|
|
128
|
+
*
|
|
129
|
+
* # Attributes Reference
|
|
130
|
+
*/
|
|
131
|
+
name?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the zone is a reverse zone.
|
|
134
|
+
*/
|
|
135
|
+
reverse?: pulumi.Input<boolean>;
|
|
136
|
+
/**
|
|
137
|
+
* Whether the zone is a secondary zone.
|
|
138
|
+
*/
|
|
139
|
+
secondary?: pulumi.Input<boolean>;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* The set of arguments for constructing a Zone resource.
|
|
143
|
+
*/
|
|
144
|
+
export interface ZoneArgs {
|
|
145
|
+
/**
|
|
146
|
+
* Whether the zone is active.
|
|
147
|
+
*/
|
|
148
|
+
active?: pulumi.Input<boolean>;
|
|
149
|
+
/**
|
|
150
|
+
* The zone name
|
|
151
|
+
*
|
|
152
|
+
* # Attributes Reference
|
|
153
|
+
*/
|
|
154
|
+
name: pulumi.Input<string>;
|
|
155
|
+
}
|
package/zone.js
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
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.Zone = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a DNSimple zone resource.
|
|
10
|
+
*
|
|
11
|
+
* > Currently the resource creation acts as an import, so the zone must already exist in DNSimple. The only attribute that will be modified during resource creation is the `active` state of the zone. This is because our API does not allow for the creation of zones. Creation of zones happens through the purchase or creation of domains. We expect this behavior to change in the future.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as dnsimple from "@pulumi/dnsimple";
|
|
18
|
+
*
|
|
19
|
+
* // Create a zone
|
|
20
|
+
* const foobar = new dnsimple.Zone("foobar", {name: dnsimple.zone});
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* DNSimple zones can be imported using their numeric record ID or the zone name.
|
|
26
|
+
*
|
|
27
|
+
* bash
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import dnsimple:index/zone:Zone resource_name foo.com
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* The zone ID can be found within [DNSimple Zones API](https://developer.dnsimple.com/v2/zones/#getZone). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
34
|
+
*
|
|
35
|
+
* bash
|
|
36
|
+
*
|
|
37
|
+
* curl -H 'Authorization: Bearer <ACCESS_TOKEN>' https://api.dnsimple.com/v2/1234/zones/example.com | jq
|
|
38
|
+
*
|
|
39
|
+
* {
|
|
40
|
+
*
|
|
41
|
+
* "data": {
|
|
42
|
+
*
|
|
43
|
+
* "id": 1,
|
|
44
|
+
*
|
|
45
|
+
* "account_id": 1234,
|
|
46
|
+
*
|
|
47
|
+
* "name": "example.com",
|
|
48
|
+
*
|
|
49
|
+
* "reverse": false,
|
|
50
|
+
*
|
|
51
|
+
* "secondary": false,
|
|
52
|
+
*
|
|
53
|
+
* "last_transferred_at": null,
|
|
54
|
+
*
|
|
55
|
+
* "active": true,
|
|
56
|
+
*
|
|
57
|
+
* "created_at": "2023-04-18T04:58:01Z",
|
|
58
|
+
*
|
|
59
|
+
* "updated_at": "2024-01-16T15:53:18Z"
|
|
60
|
+
*
|
|
61
|
+
* }
|
|
62
|
+
*
|
|
63
|
+
* }
|
|
64
|
+
*/
|
|
65
|
+
class Zone extends pulumi.CustomResource {
|
|
66
|
+
/**
|
|
67
|
+
* Get an existing Zone resource's state with the given name, ID, and optional extra
|
|
68
|
+
* properties used to qualify the lookup.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resulting resource.
|
|
71
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
72
|
+
* @param state Any extra arguments used during the lookup.
|
|
73
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
74
|
+
*/
|
|
75
|
+
static get(name, id, state, opts) {
|
|
76
|
+
return new Zone(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of Zone. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj) {
|
|
83
|
+
if (obj === undefined || obj === null) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
return obj['__pulumiType'] === Zone.__pulumiType;
|
|
87
|
+
}
|
|
88
|
+
constructor(name, argsOrState, opts) {
|
|
89
|
+
let resourceInputs = {};
|
|
90
|
+
opts = opts || {};
|
|
91
|
+
if (opts.id) {
|
|
92
|
+
const state = argsOrState;
|
|
93
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
94
|
+
resourceInputs["active"] = state ? state.active : undefined;
|
|
95
|
+
resourceInputs["lastTransferredAt"] = state ? state.lastTransferredAt : undefined;
|
|
96
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
97
|
+
resourceInputs["reverse"] = state ? state.reverse : undefined;
|
|
98
|
+
resourceInputs["secondary"] = state ? state.secondary : undefined;
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
const args = argsOrState;
|
|
102
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
103
|
+
throw new Error("Missing required property 'name'");
|
|
104
|
+
}
|
|
105
|
+
resourceInputs["active"] = args ? args.active : undefined;
|
|
106
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
107
|
+
resourceInputs["accountId"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["lastTransferredAt"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["reverse"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["secondary"] = undefined /*out*/;
|
|
111
|
+
}
|
|
112
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
113
|
+
super(Zone.__pulumiType, name, resourceInputs, opts);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.Zone = Zone;
|
|
117
|
+
/** @internal */
|
|
118
|
+
Zone.__pulumiType = 'dnsimple:index/zone:Zone';
|
|
119
|
+
//# sourceMappingURL=zone.js.map
|
package/zone.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zone.js","sourceRoot":"","sources":["../zone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;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ly name: pulumi.Output<string>;
|
|
77
|
+
readonly nameNormalized: pulumi.Output<string>;
|
|
77
78
|
/**
|
|
78
79
|
* The priority of the record - only useful for some record types
|
|
79
80
|
*/
|
|
@@ -82,6 +83,10 @@ export declare class ZoneRecord extends pulumi.CustomResource {
|
|
|
82
83
|
* The FQDN of the record
|
|
83
84
|
*/
|
|
84
85
|
readonly qualifiedName: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* A list of regions to serve the record from. You can find a list of supported values in our [developer documentation](https://developer.dnsimple.com/v2/zones/records/).
|
|
88
|
+
*/
|
|
89
|
+
readonly regions: pulumi.Output<string[] | undefined>;
|
|
85
90
|
/**
|
|
86
91
|
* The TTL of the record - defaults to 3600
|
|
87
92
|
*/
|
|
@@ -95,11 +100,15 @@ export declare class ZoneRecord extends pulumi.CustomResource {
|
|
|
95
100
|
*/
|
|
96
101
|
readonly value: pulumi.Output<string>;
|
|
97
102
|
/**
|
|
98
|
-
* The
|
|
103
|
+
* The normalized value of the record
|
|
104
|
+
*/
|
|
105
|
+
readonly valueNormalized: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The zone ID of the record
|
|
99
108
|
*/
|
|
100
109
|
readonly zoneId: pulumi.Output<string>;
|
|
101
110
|
/**
|
|
102
|
-
* The
|
|
111
|
+
* The zone name to add the record to
|
|
103
112
|
*/
|
|
104
113
|
readonly zoneName: pulumi.Output<string>;
|
|
105
114
|
/**
|
|
@@ -119,6 +128,7 @@ export interface ZoneRecordState {
|
|
|
119
128
|
* The name of the record
|
|
120
129
|
*/
|
|
121
130
|
name?: pulumi.Input<string>;
|
|
131
|
+
nameNormalized?: pulumi.Input<string>;
|
|
122
132
|
/**
|
|
123
133
|
* The priority of the record - only useful for some record types
|
|
124
134
|
*/
|
|
@@ -127,6 +137,10 @@ export interface ZoneRecordState {
|
|
|
127
137
|
* The FQDN of the record
|
|
128
138
|
*/
|
|
129
139
|
qualifiedName?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* A list of regions to serve the record from. You can find a list of supported values in our [developer documentation](https://developer.dnsimple.com/v2/zones/records/).
|
|
142
|
+
*/
|
|
143
|
+
regions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
130
144
|
/**
|
|
131
145
|
* The TTL of the record - defaults to 3600
|
|
132
146
|
*/
|
|
@@ -140,11 +154,15 @@ export interface ZoneRecordState {
|
|
|
140
154
|
*/
|
|
141
155
|
value?: pulumi.Input<string>;
|
|
142
156
|
/**
|
|
143
|
-
* The
|
|
157
|
+
* The normalized value of the record
|
|
158
|
+
*/
|
|
159
|
+
valueNormalized?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The zone ID of the record
|
|
144
162
|
*/
|
|
145
163
|
zoneId?: pulumi.Input<string>;
|
|
146
164
|
/**
|
|
147
|
-
* The
|
|
165
|
+
* The zone name to add the record to
|
|
148
166
|
*/
|
|
149
167
|
zoneName?: pulumi.Input<string>;
|
|
150
168
|
}
|
|
@@ -160,6 +178,10 @@ export interface ZoneRecordArgs {
|
|
|
160
178
|
* The priority of the record - only useful for some record types
|
|
161
179
|
*/
|
|
162
180
|
priority?: pulumi.Input<number>;
|
|
181
|
+
/**
|
|
182
|
+
* A list of regions to serve the record from. You can find a list of supported values in our [developer documentation](https://developer.dnsimple.com/v2/zones/records/).
|
|
183
|
+
*/
|
|
184
|
+
regions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
163
185
|
/**
|
|
164
186
|
* The TTL of the record - defaults to 3600
|
|
165
187
|
*/
|
|
@@ -173,7 +195,7 @@ export interface ZoneRecordArgs {
|
|
|
173
195
|
*/
|
|
174
196
|
value: pulumi.Input<string>;
|
|
175
197
|
/**
|
|
176
|
-
* The
|
|
198
|
+
* The zone name to add the record to
|
|
177
199
|
*/
|
|
178
200
|
zoneName: pulumi.Input<string>;
|
|
179
201
|
}
|
package/zoneRecord.js
CHANGED
|
@@ -89,11 +89,14 @@ class ZoneRecord extends pulumi.CustomResource {
|
|
|
89
89
|
if (opts.id) {
|
|
90
90
|
const state = argsOrState;
|
|
91
91
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
92
|
+
resourceInputs["nameNormalized"] = state ? state.nameNormalized : undefined;
|
|
92
93
|
resourceInputs["priority"] = state ? state.priority : undefined;
|
|
93
94
|
resourceInputs["qualifiedName"] = state ? state.qualifiedName : undefined;
|
|
95
|
+
resourceInputs["regions"] = state ? state.regions : undefined;
|
|
94
96
|
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
95
97
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
96
98
|
resourceInputs["value"] = state ? state.value : undefined;
|
|
99
|
+
resourceInputs["valueNormalized"] = state ? state.valueNormalized : undefined;
|
|
97
100
|
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
98
101
|
resourceInputs["zoneName"] = state ? state.zoneName : undefined;
|
|
99
102
|
}
|
|
@@ -113,11 +116,14 @@ class ZoneRecord extends pulumi.CustomResource {
|
|
|
113
116
|
}
|
|
114
117
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
115
118
|
resourceInputs["priority"] = args ? args.priority : undefined;
|
|
119
|
+
resourceInputs["regions"] = args ? args.regions : undefined;
|
|
116
120
|
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
117
121
|
resourceInputs["type"] = args ? args.type : undefined;
|
|
118
122
|
resourceInputs["value"] = args ? args.value : undefined;
|
|
119
123
|
resourceInputs["zoneName"] = args ? args.zoneName : undefined;
|
|
124
|
+
resourceInputs["nameNormalized"] = undefined /*out*/;
|
|
120
125
|
resourceInputs["qualifiedName"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["valueNormalized"] = undefined /*out*/;
|
|
121
127
|
resourceInputs["zoneId"] = undefined /*out*/;
|
|
122
128
|
}
|
|
123
129
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/zoneRecord.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoneRecord.js","sourceRoot":"","sources":["../zoneRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;
|
|
1
|
+
{"version":3,"file":"zoneRecord.js","sourceRoot":"","sources":["../zoneRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE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