@xyo-network/xns-record-payload-plugins 7.0.3 → 7.1.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/dist/neutral/index.d.ts +1 -8
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +2 -986
- package/dist/neutral/index.mjs.map +4 -4
- package/package.json +15 -45
- package/dist/neutral/Address/Payload.d.ts +0 -96
- package/dist/neutral/Address/Payload.d.ts.map +0 -1
- package/dist/neutral/Address/index.d.ts +0 -2
- package/dist/neutral/Address/index.d.ts.map +0 -1
- package/dist/neutral/Dns/Witness/Config.d.ts +0 -25
- package/dist/neutral/Dns/Witness/Config.d.ts.map +0 -1
- package/dist/neutral/Dns/Witness/Params.d.ts +0 -4
- package/dist/neutral/Dns/Witness/Params.d.ts.map +0 -1
- package/dist/neutral/Dns/Witness/Payload/Payload.d.ts +0 -4
- package/dist/neutral/Dns/Witness/Payload/Payload.d.ts.map +0 -1
- package/dist/neutral/Dns/Witness/Payload/Request.d.ts +0 -147
- package/dist/neutral/Dns/Witness/Payload/Request.d.ts.map +0 -1
- package/dist/neutral/Dns/Witness/Payload/Response.d.ts +0 -259
- package/dist/neutral/Dns/Witness/Payload/Response.d.ts.map +0 -1
- package/dist/neutral/Dns/Witness/Payload/index.d.ts +0 -4
- package/dist/neutral/Dns/Witness/Payload/index.d.ts.map +0 -1
- package/dist/neutral/Dns/Witness/Schema.d.ts +0 -5
- package/dist/neutral/Dns/Witness/Schema.d.ts.map +0 -1
- package/dist/neutral/Dns/Witness/index.d.ts +0 -5
- package/dist/neutral/Dns/Witness/index.d.ts.map +0 -1
- package/dist/neutral/Dns/index.d.ts +0 -3
- package/dist/neutral/Dns/index.d.ts.map +0 -1
- package/dist/neutral/Dns/types/Answer.d.ts +0 -10
- package/dist/neutral/Dns/types/Answer.d.ts.map +0 -1
- package/dist/neutral/Dns/types/Header.d.ts +0 -52
- package/dist/neutral/Dns/types/Header.d.ts.map +0 -1
- package/dist/neutral/Dns/types/OperationCodes.d.ts +0 -14
- package/dist/neutral/Dns/types/OperationCodes.d.ts.map +0 -1
- package/dist/neutral/Dns/types/Record.d.ts +0 -9
- package/dist/neutral/Dns/types/Record.d.ts.map +0 -1
- package/dist/neutral/Dns/types/Request.d.ts +0 -40
- package/dist/neutral/Dns/types/Request.d.ts.map +0 -1
- package/dist/neutral/Dns/types/ResourceRecord.d.ts +0 -105
- package/dist/neutral/Dns/types/ResourceRecord.d.ts.map +0 -1
- package/dist/neutral/Dns/types/Response.d.ts +0 -41
- package/dist/neutral/Dns/types/Response.d.ts.map +0 -1
- package/dist/neutral/Dns/types/ResponseCodes.d.ts +0 -22
- package/dist/neutral/Dns/types/ResponseCodes.d.ts.map +0 -1
- package/dist/neutral/Dns/types/index.d.ts +0 -9
- package/dist/neutral/Dns/types/index.d.ts.map +0 -1
- package/dist/neutral/Domain/Domain.d.ts +0 -72
- package/dist/neutral/Domain/Domain.d.ts.map +0 -1
- package/dist/neutral/Domain/DomainLease.d.ts +0 -81
- package/dist/neutral/Domain/DomainLease.d.ts.map +0 -1
- package/dist/neutral/Domain/index.d.ts +0 -3
- package/dist/neutral/Domain/index.d.ts.map +0 -1
- package/dist/neutral/DomainEstimate/DomainEstimate.d.ts +0 -9
- package/dist/neutral/DomainEstimate/DomainEstimate.d.ts.map +0 -1
- package/dist/neutral/DomainEstimate/index.d.ts +0 -2
- package/dist/neutral/DomainEstimate/index.d.ts.map +0 -1
- package/dist/neutral/DomainRegistration/DomainRegistration.d.ts +0 -134
- package/dist/neutral/DomainRegistration/DomainRegistration.d.ts.map +0 -1
- package/dist/neutral/DomainRegistration/DomainRegistrationLease.d.ts +0 -148
- package/dist/neutral/DomainRegistration/DomainRegistrationLease.d.ts.map +0 -1
- package/dist/neutral/DomainRegistration/index.d.ts +0 -3
- package/dist/neutral/DomainRegistration/index.d.ts.map +0 -1
- package/dist/neutral/Duration/Duration.d.ts +0 -7
- package/dist/neutral/Duration/Duration.d.ts.map +0 -1
- package/dist/neutral/Duration/index.d.ts +0 -3
- package/dist/neutral/Duration/index.d.ts.map +0 -1
- package/dist/neutral/Duration/validation/index.d.ts +0 -3
- package/dist/neutral/Duration/validation/index.d.ts.map +0 -1
- package/dist/neutral/Duration/validation/validateBoundWitness.d.ts +0 -3
- package/dist/neutral/Duration/validation/validateBoundWitness.d.ts.map +0 -1
- package/dist/neutral/Duration/validation/validateBoundWitnessAndDuration.d.ts +0 -4
- package/dist/neutral/Duration/validation/validateBoundWitnessAndDuration.d.ts.map +0 -1
- package/dist/neutral/Duration/validation/validateBoundWitnessWithDuration.d.ts +0 -4
- package/dist/neutral/Duration/validation/validateBoundWitnessWithDuration.d.ts.map +0 -1
- package/dist/neutral/Duration/validation/validateDuration.d.ts +0 -5
- package/dist/neutral/Duration/validation/validateDuration.d.ts.map +0 -1
- package/dist/neutral/Hash/Payload.d.ts +0 -68
- package/dist/neutral/Hash/Payload.d.ts.map +0 -1
- package/dist/neutral/Hash/index.d.ts +0 -2
- package/dist/neutral/Hash/index.d.ts.map +0 -1
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts +0 -4
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts.map +0 -1
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts +0 -74
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts.map +0 -1
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts +0 -3
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts.map +0 -1
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/Schema.d.ts +0 -5
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/Schema.d.ts.map +0 -1
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/index.d.ts +0 -3
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/index.d.ts.map +0 -1
- package/dist/neutral/diviner/index.d.ts +0 -3
- package/dist/neutral/diviner/index.d.ts.map +0 -1
- package/dist/neutral/diviner/lib/index.d.ts +0 -2
- package/dist/neutral/diviner/lib/index.d.ts.map +0 -1
- package/dist/neutral/diviner/lib/parseEstimatesFromArray.d.ts +0 -15
- package/dist/neutral/diviner/lib/parseEstimatesFromArray.d.ts.map +0 -1
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
/**
|
|
3
|
-
* The fields of a DNSResponse payload
|
|
4
|
-
*/
|
|
5
|
-
export declare const DNSResponseZod: z.ZodMiniObject<{
|
|
6
|
-
schema: z.ZodMiniLiteral<"network.xyo.dns" & {
|
|
7
|
-
readonly __schema: true;
|
|
8
|
-
}>;
|
|
9
|
-
ID: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
10
|
-
RD: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
11
|
-
RCODE: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<3>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>, z.ZodMiniLiteral<7>, z.ZodMiniLiteral<8>, z.ZodMiniLiteral<9>, z.ZodMiniLiteral<10>, z.ZodMiniLiteral<16>, z.ZodMiniLiteral<17>, z.ZodMiniLiteral<18>]>>;
|
|
12
|
-
QDCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
13
|
-
ANCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
14
|
-
NSCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
15
|
-
ARCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
16
|
-
QR: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>]>;
|
|
17
|
-
Opcode: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>]>;
|
|
18
|
-
AA: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
19
|
-
TC: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
20
|
-
RA: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
21
|
-
Question: z.ZodMiniArray<z.ZodMiniObject<{
|
|
22
|
-
name: z.ZodMiniString<string>;
|
|
23
|
-
type: z.ZodMiniNumber<number>;
|
|
24
|
-
class: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
25
|
-
}, z.core.$strip>>;
|
|
26
|
-
Answer: z.ZodMiniArray<z.ZodMiniObject<{
|
|
27
|
-
name: z.ZodMiniString<string>;
|
|
28
|
-
type: z.ZodMiniNumber<number>;
|
|
29
|
-
TTL: z.ZodMiniNumber<number>;
|
|
30
|
-
data: z.ZodMiniString<string>;
|
|
31
|
-
class: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
32
|
-
}, z.core.$strip>>;
|
|
33
|
-
Authority: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
34
|
-
name: z.ZodMiniString<string>;
|
|
35
|
-
type: z.ZodMiniNumber<number>;
|
|
36
|
-
TTL: z.ZodMiniNumber<number>;
|
|
37
|
-
data: z.ZodMiniString<string>;
|
|
38
|
-
}, z.core.$strip>>>;
|
|
39
|
-
Additional: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
40
|
-
name: z.ZodMiniString<string>;
|
|
41
|
-
type: z.ZodMiniNumber<number>;
|
|
42
|
-
TTL: z.ZodMiniNumber<number>;
|
|
43
|
-
data: z.ZodMiniString<string>;
|
|
44
|
-
}, z.core.$strip>>>;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
export type DNSResponse = z.infer<typeof DNSResponseZod>;
|
|
47
|
-
/**
|
|
48
|
-
* Identity function for determining if an object is a DNSResponse payload
|
|
49
|
-
*/
|
|
50
|
-
export declare const isDNSResponse: <T>(value: T) => value is T & {
|
|
51
|
-
schema: "network.xyo.dns" & {
|
|
52
|
-
readonly __schema: true;
|
|
53
|
-
};
|
|
54
|
-
QR: true | 1;
|
|
55
|
-
Opcode: 0 | 2 | 1 | 4 | 5 | 6;
|
|
56
|
-
AA: boolean | 0 | 1;
|
|
57
|
-
TC: boolean | 0 | 1;
|
|
58
|
-
RA: boolean | 0 | 1;
|
|
59
|
-
Question: {
|
|
60
|
-
name: string;
|
|
61
|
-
type: number;
|
|
62
|
-
class?: number | undefined;
|
|
63
|
-
}[];
|
|
64
|
-
Answer: {
|
|
65
|
-
name: string;
|
|
66
|
-
type: number;
|
|
67
|
-
TTL: number;
|
|
68
|
-
data: string;
|
|
69
|
-
class?: number | undefined;
|
|
70
|
-
}[];
|
|
71
|
-
ID?: number | undefined;
|
|
72
|
-
RD?: boolean | 0 | 1 | undefined;
|
|
73
|
-
RCODE?: 0 | 2 | 1 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | undefined;
|
|
74
|
-
QDCOUNT?: number | undefined;
|
|
75
|
-
ANCOUNT?: number | undefined;
|
|
76
|
-
NSCOUNT?: number | undefined;
|
|
77
|
-
ARCOUNT?: number | undefined;
|
|
78
|
-
Authority?: {
|
|
79
|
-
name: string;
|
|
80
|
-
type: number;
|
|
81
|
-
TTL: number;
|
|
82
|
-
data: string;
|
|
83
|
-
}[] | undefined;
|
|
84
|
-
Additional?: {
|
|
85
|
-
name: string;
|
|
86
|
-
type: number;
|
|
87
|
-
TTL: number;
|
|
88
|
-
data: string;
|
|
89
|
-
}[] | undefined;
|
|
90
|
-
};
|
|
91
|
-
export declare const asDNSResponse: {
|
|
92
|
-
<T>(value: T): (T & {
|
|
93
|
-
schema: "network.xyo.dns" & {
|
|
94
|
-
readonly __schema: true;
|
|
95
|
-
};
|
|
96
|
-
QR: true | 1;
|
|
97
|
-
Opcode: 0 | 2 | 1 | 4 | 5 | 6;
|
|
98
|
-
AA: boolean | 0 | 1;
|
|
99
|
-
TC: boolean | 0 | 1;
|
|
100
|
-
RA: boolean | 0 | 1;
|
|
101
|
-
Question: {
|
|
102
|
-
name: string;
|
|
103
|
-
type: number;
|
|
104
|
-
class?: number | undefined;
|
|
105
|
-
}[];
|
|
106
|
-
Answer: {
|
|
107
|
-
name: string;
|
|
108
|
-
type: number;
|
|
109
|
-
TTL: number;
|
|
110
|
-
data: string;
|
|
111
|
-
class?: number | undefined;
|
|
112
|
-
}[];
|
|
113
|
-
ID?: number | undefined;
|
|
114
|
-
RD?: boolean | 0 | 1 | undefined;
|
|
115
|
-
RCODE?: 0 | 2 | 1 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | undefined;
|
|
116
|
-
QDCOUNT?: number | undefined;
|
|
117
|
-
ANCOUNT?: number | undefined;
|
|
118
|
-
NSCOUNT?: number | undefined;
|
|
119
|
-
ARCOUNT?: number | undefined;
|
|
120
|
-
Authority?: {
|
|
121
|
-
name: string;
|
|
122
|
-
type: number;
|
|
123
|
-
TTL: number;
|
|
124
|
-
data: string;
|
|
125
|
-
}[] | undefined;
|
|
126
|
-
Additional?: {
|
|
127
|
-
name: string;
|
|
128
|
-
type: number;
|
|
129
|
-
TTL: number;
|
|
130
|
-
data: string;
|
|
131
|
-
}[] | undefined;
|
|
132
|
-
}) | undefined;
|
|
133
|
-
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
134
|
-
schema: "network.xyo.dns" & {
|
|
135
|
-
readonly __schema: true;
|
|
136
|
-
};
|
|
137
|
-
QR: true | 1;
|
|
138
|
-
Opcode: 0 | 2 | 1 | 4 | 5 | 6;
|
|
139
|
-
AA: boolean | 0 | 1;
|
|
140
|
-
TC: boolean | 0 | 1;
|
|
141
|
-
RA: boolean | 0 | 1;
|
|
142
|
-
Question: {
|
|
143
|
-
name: string;
|
|
144
|
-
type: number;
|
|
145
|
-
class?: number | undefined;
|
|
146
|
-
}[];
|
|
147
|
-
Answer: {
|
|
148
|
-
name: string;
|
|
149
|
-
type: number;
|
|
150
|
-
TTL: number;
|
|
151
|
-
data: string;
|
|
152
|
-
class?: number | undefined;
|
|
153
|
-
}[];
|
|
154
|
-
ID?: number | undefined;
|
|
155
|
-
RD?: boolean | 0 | 1 | undefined;
|
|
156
|
-
RCODE?: 0 | 2 | 1 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | undefined;
|
|
157
|
-
QDCOUNT?: number | undefined;
|
|
158
|
-
ANCOUNT?: number | undefined;
|
|
159
|
-
NSCOUNT?: number | undefined;
|
|
160
|
-
ARCOUNT?: number | undefined;
|
|
161
|
-
Authority?: {
|
|
162
|
-
name: string;
|
|
163
|
-
type: number;
|
|
164
|
-
TTL: number;
|
|
165
|
-
data: string;
|
|
166
|
-
}[] | undefined;
|
|
167
|
-
Additional?: {
|
|
168
|
-
name: string;
|
|
169
|
-
type: number;
|
|
170
|
-
TTL: number;
|
|
171
|
-
data: string;
|
|
172
|
-
}[] | undefined;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
export declare const toDNSResponse: {
|
|
176
|
-
<T>(value: T): (T & {
|
|
177
|
-
schema: "network.xyo.dns" & {
|
|
178
|
-
readonly __schema: true;
|
|
179
|
-
};
|
|
180
|
-
QR: true | 1;
|
|
181
|
-
Opcode: 0 | 2 | 1 | 4 | 5 | 6;
|
|
182
|
-
AA: boolean | 0 | 1;
|
|
183
|
-
TC: boolean | 0 | 1;
|
|
184
|
-
RA: boolean | 0 | 1;
|
|
185
|
-
Question: {
|
|
186
|
-
name: string;
|
|
187
|
-
type: number;
|
|
188
|
-
class?: number | undefined;
|
|
189
|
-
}[];
|
|
190
|
-
Answer: {
|
|
191
|
-
name: string;
|
|
192
|
-
type: number;
|
|
193
|
-
TTL: number;
|
|
194
|
-
data: string;
|
|
195
|
-
class?: number | undefined;
|
|
196
|
-
}[];
|
|
197
|
-
ID?: number | undefined;
|
|
198
|
-
RD?: boolean | 0 | 1 | undefined;
|
|
199
|
-
RCODE?: 0 | 2 | 1 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | undefined;
|
|
200
|
-
QDCOUNT?: number | undefined;
|
|
201
|
-
ANCOUNT?: number | undefined;
|
|
202
|
-
NSCOUNT?: number | undefined;
|
|
203
|
-
ARCOUNT?: number | undefined;
|
|
204
|
-
Authority?: {
|
|
205
|
-
name: string;
|
|
206
|
-
type: number;
|
|
207
|
-
TTL: number;
|
|
208
|
-
data: string;
|
|
209
|
-
}[] | undefined;
|
|
210
|
-
Additional?: {
|
|
211
|
-
name: string;
|
|
212
|
-
type: number;
|
|
213
|
-
TTL: number;
|
|
214
|
-
data: string;
|
|
215
|
-
}[] | undefined;
|
|
216
|
-
}) | undefined;
|
|
217
|
-
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
218
|
-
schema: "network.xyo.dns" & {
|
|
219
|
-
readonly __schema: true;
|
|
220
|
-
};
|
|
221
|
-
QR: true | 1;
|
|
222
|
-
Opcode: 0 | 2 | 1 | 4 | 5 | 6;
|
|
223
|
-
AA: boolean | 0 | 1;
|
|
224
|
-
TC: boolean | 0 | 1;
|
|
225
|
-
RA: boolean | 0 | 1;
|
|
226
|
-
Question: {
|
|
227
|
-
name: string;
|
|
228
|
-
type: number;
|
|
229
|
-
class?: number | undefined;
|
|
230
|
-
}[];
|
|
231
|
-
Answer: {
|
|
232
|
-
name: string;
|
|
233
|
-
type: number;
|
|
234
|
-
TTL: number;
|
|
235
|
-
data: string;
|
|
236
|
-
class?: number | undefined;
|
|
237
|
-
}[];
|
|
238
|
-
ID?: number | undefined;
|
|
239
|
-
RD?: boolean | 0 | 1 | undefined;
|
|
240
|
-
RCODE?: 0 | 2 | 1 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | undefined;
|
|
241
|
-
QDCOUNT?: number | undefined;
|
|
242
|
-
ANCOUNT?: number | undefined;
|
|
243
|
-
NSCOUNT?: number | undefined;
|
|
244
|
-
ARCOUNT?: number | undefined;
|
|
245
|
-
Authority?: {
|
|
246
|
-
name: string;
|
|
247
|
-
type: number;
|
|
248
|
-
TTL: number;
|
|
249
|
-
data: string;
|
|
250
|
-
}[] | undefined;
|
|
251
|
-
Additional?: {
|
|
252
|
-
name: string;
|
|
253
|
-
type: number;
|
|
254
|
-
TTL: number;
|
|
255
|
-
data: string;
|
|
256
|
-
}[] | undefined;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
//# sourceMappingURL=Response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Response.d.ts","sourceRoot":"","sources":["../../../../../src/Dns/Witness/Payload/Response.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAK7B;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA6E,CAAA;AAExG,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAA;AACzD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA;AAC1E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Dns/Witness/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/Dns/Witness/Schema.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAA;AACxC,eAAO,MAAM,SAAS;;CAAoC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Dns/Witness/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Dns/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const DNSAnswerZod: z.ZodMiniObject<{
|
|
3
|
-
name: z.ZodMiniString<string>;
|
|
4
|
-
type: z.ZodMiniNumber<number>;
|
|
5
|
-
TTL: z.ZodMiniNumber<number>;
|
|
6
|
-
data: z.ZodMiniString<string>;
|
|
7
|
-
class: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
export type DNSAnswer = z.infer<typeof DNSAnswerZod>;
|
|
10
|
-
//# sourceMappingURL=Answer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Answer.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/Answer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAK7B,eAAO,MAAM,YAAY;;;;;;iBAA4D,CAAA;AAErF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const NumericBooleanZod: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
3
|
-
export type NumericBoolean = z.infer<typeof NumericBooleanZod>;
|
|
4
|
-
export declare const NumericBooleanFalsyZod: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<false>]>;
|
|
5
|
-
export type NumericBooleanFalsy = z.infer<typeof NumericBooleanFalsyZod>;
|
|
6
|
-
export declare const NumericBooleanTruthyZod: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>]>;
|
|
7
|
-
export type NumericBooleanTruthy = z.infer<typeof NumericBooleanTruthyZod>;
|
|
8
|
-
export declare const DNSHeaderZod: z.ZodMiniObject<{
|
|
9
|
-
ID: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
10
|
-
QR: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
11
|
-
Opcode: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>]>>;
|
|
12
|
-
AA: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
13
|
-
TC: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
14
|
-
RD: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
15
|
-
RCODE: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<3>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>, z.ZodMiniLiteral<7>, z.ZodMiniLiteral<8>, z.ZodMiniLiteral<9>, z.ZodMiniLiteral<10>, z.ZodMiniLiteral<16>, z.ZodMiniLiteral<17>, z.ZodMiniLiteral<18>]>>;
|
|
16
|
-
QDCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
17
|
-
ANCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
18
|
-
NSCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
19
|
-
ARCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
20
|
-
}, z.core.$strip>;
|
|
21
|
-
export type DNSHeader = z.infer<typeof DNSHeaderZod>;
|
|
22
|
-
export declare const DNSRequestHeaderZod: z.ZodMiniObject<{
|
|
23
|
-
ID: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
24
|
-
RD: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
25
|
-
QDCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
26
|
-
QR: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<false>]>;
|
|
27
|
-
Opcode: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>]>;
|
|
28
|
-
AA: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<false>]>;
|
|
29
|
-
TC: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<false>]>;
|
|
30
|
-
RCODE: z.ZodMiniLiteral<0 | 2 | 1 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18>;
|
|
31
|
-
ANCOUNT: z.ZodMiniLiteral<0>;
|
|
32
|
-
NSCOUNT: z.ZodMiniLiteral<0>;
|
|
33
|
-
ARCOUNT: z.ZodMiniLiteral<0>;
|
|
34
|
-
}, z.core.$strip>;
|
|
35
|
-
export type DNSRequestHeader = z.infer<typeof DNSRequestHeaderZod>;
|
|
36
|
-
export declare const StandardRequestHeader: Readonly<DNSRequestHeader>;
|
|
37
|
-
export declare const DNSResponseHeaderZod: z.ZodMiniObject<{
|
|
38
|
-
ID: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
39
|
-
RD: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
40
|
-
RCODE: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<3>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>, z.ZodMiniLiteral<7>, z.ZodMiniLiteral<8>, z.ZodMiniLiteral<9>, z.ZodMiniLiteral<10>, z.ZodMiniLiteral<16>, z.ZodMiniLiteral<17>, z.ZodMiniLiteral<18>]>>;
|
|
41
|
-
QDCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
42
|
-
ANCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
43
|
-
NSCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
44
|
-
ARCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
45
|
-
QR: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>]>;
|
|
46
|
-
Opcode: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>]>;
|
|
47
|
-
AA: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
48
|
-
TC: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
49
|
-
RA: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
export type DNSResponseHeader = z.infer<typeof DNSResponseHeaderZod>;
|
|
52
|
-
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/Header.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAM7B,eAAO,MAAM,iBAAiB,sHAA2E,CAAA;AACzG,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE9D,eAAO,MAAM,sBAAsB,yEAA4C,CAAA;AAC/E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAExE,eAAO,MAAM,uBAAuB,wEAA2C,CAAA;AAC/E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE1E,eAAO,MAAM,YAAY;;;;;;;;;;;;iBA6CvB,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEpD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;iBAS9B,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAElE,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,gBAAgB,CAY5D,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;iBAM/B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const DNSQueryOpcodeZod: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>]>;
|
|
3
|
-
export type DNSQueryOpcode = z.infer<typeof DNSQueryOpcodeZod>;
|
|
4
|
-
export declare const DNSQueryOpcodeNameZod: z.ZodMiniEnum<{
|
|
5
|
-
QUERY: "QUERY";
|
|
6
|
-
IQUERY: "IQUERY";
|
|
7
|
-
STATUS: "STATUS";
|
|
8
|
-
NOTIFY: "NOTIFY";
|
|
9
|
-
UPDATE: "UPDATE";
|
|
10
|
-
DSO: "DSO";
|
|
11
|
-
}>;
|
|
12
|
-
export type DNSQueryOpcodeName = z.infer<typeof DNSQueryOpcodeNameZod>;
|
|
13
|
-
export declare const DNSQueryOpcodes: Record<DNSQueryOpcodeName, DNSQueryOpcode>;
|
|
14
|
-
//# sourceMappingURL=OperationCodes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OperationCodes.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/OperationCodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B,eAAO,MAAM,iBAAiB,yJAO5B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAG9D,eAAO,MAAM,qBAAqB;;;;;;;EAAmE,CAAA;AAErG,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEtE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,kBAAkB,EAAE,cAAc,CAOtE,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const DNSRecordZod: z.ZodMiniObject<{
|
|
3
|
-
name: z.ZodMiniString<string>;
|
|
4
|
-
type: z.ZodMiniNumber<number>;
|
|
5
|
-
TTL: z.ZodMiniNumber<number>;
|
|
6
|
-
data: z.ZodMiniString<string>;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
export type DNSRecord = z.infer<typeof DNSRecordZod>;
|
|
9
|
-
//# sourceMappingURL=Record.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Record.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/Record.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAI7B,eAAO,MAAM,YAAY;;;;;iBAKvB,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
import type { DNSResourceRecordTypeValue } from './ResourceRecord.ts';
|
|
3
|
-
export declare const DNSQuestionZod: z.ZodMiniObject<{
|
|
4
|
-
name: z.ZodMiniString<string>;
|
|
5
|
-
type: z.ZodMiniNumber<number>;
|
|
6
|
-
class: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
export type DNSQuestion = z.infer<typeof DNSQuestionZod>;
|
|
9
|
-
export declare const DNSRequestFieldsZod: z.ZodMiniObject<{
|
|
10
|
-
ID: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
11
|
-
RD: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
12
|
-
QDCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
13
|
-
QR: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<false>]>;
|
|
14
|
-
Opcode: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>]>;
|
|
15
|
-
AA: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<false>]>;
|
|
16
|
-
TC: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<false>]>;
|
|
17
|
-
RCODE: z.ZodMiniLiteral<0 | 2 | 1 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18>;
|
|
18
|
-
ANCOUNT: z.ZodMiniLiteral<0>;
|
|
19
|
-
NSCOUNT: z.ZodMiniLiteral<0>;
|
|
20
|
-
ARCOUNT: z.ZodMiniLiteral<0>;
|
|
21
|
-
Question: z.ZodMiniArray<z.ZodMiniObject<{
|
|
22
|
-
name: z.ZodMiniString<string>;
|
|
23
|
-
type: z.ZodMiniNumber<number>;
|
|
24
|
-
class: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
25
|
-
}, z.core.$strip>>;
|
|
26
|
-
}, z.core.$strip>;
|
|
27
|
-
export type DNSRequestFields = z.infer<typeof DNSRequestFieldsZod>;
|
|
28
|
-
/**
|
|
29
|
-
* Helper for generating a DNS request for a given domain and record type
|
|
30
|
-
* @param domain The domain to query
|
|
31
|
-
* @param type The record type to query
|
|
32
|
-
* @returns A DNS request
|
|
33
|
-
*/
|
|
34
|
-
export declare const getRequestFor: (domain: string, type?: DNSResourceRecordTypeValue) => DNSRequestFields;
|
|
35
|
-
/**
|
|
36
|
-
* Used to generate a random ID for a DNS request
|
|
37
|
-
* @returns A random number between 0 and 65,535
|
|
38
|
-
*/
|
|
39
|
-
export declare const getRandomId: () => number;
|
|
40
|
-
//# sourceMappingURL=Request.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/Request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAG7B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAA;AAGrE,eAAO,MAAM,cAAc;;;;iBAIzB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAExD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;iBAAuE,CAAA;AAEvG,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAElE;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,EAAE,OAAM,0BAAqD,KAAG,gBAQ3G,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,MAE9B,CAAA"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const DNSResourceRecordTypeZod: z.ZodMiniEnum<{
|
|
3
|
-
A: "A";
|
|
4
|
-
NS: "NS";
|
|
5
|
-
MD: "MD";
|
|
6
|
-
MF: "MF";
|
|
7
|
-
CNAME: "CNAME";
|
|
8
|
-
SOA: "SOA";
|
|
9
|
-
MB: "MB";
|
|
10
|
-
MG: "MG";
|
|
11
|
-
MR: "MR";
|
|
12
|
-
NULL: "NULL";
|
|
13
|
-
WKS: "WKS";
|
|
14
|
-
PTR: "PTR";
|
|
15
|
-
HINFO: "HINFO";
|
|
16
|
-
MINFO: "MINFO";
|
|
17
|
-
MX: "MX";
|
|
18
|
-
TXT: "TXT";
|
|
19
|
-
RP: "RP";
|
|
20
|
-
AFSDB: "AFSDB";
|
|
21
|
-
X25: "X25";
|
|
22
|
-
ISDN: "ISDN";
|
|
23
|
-
RT: "RT";
|
|
24
|
-
NSAP: "NSAP";
|
|
25
|
-
"NSAP-PTR": "NSAP-PTR";
|
|
26
|
-
SIG: "SIG";
|
|
27
|
-
KEY: "KEY";
|
|
28
|
-
PX: "PX";
|
|
29
|
-
GPOS: "GPOS";
|
|
30
|
-
AAAA: "AAAA";
|
|
31
|
-
LOC: "LOC";
|
|
32
|
-
NXT: "NXT";
|
|
33
|
-
EID: "EID";
|
|
34
|
-
NIMLOC: "NIMLOC";
|
|
35
|
-
SRV: "SRV";
|
|
36
|
-
ATMA: "ATMA";
|
|
37
|
-
NAPTR: "NAPTR";
|
|
38
|
-
KX: "KX";
|
|
39
|
-
CERT: "CERT";
|
|
40
|
-
A6: "A6";
|
|
41
|
-
DNAME: "DNAME";
|
|
42
|
-
SINK: "SINK";
|
|
43
|
-
OPT: "OPT";
|
|
44
|
-
APL: "APL";
|
|
45
|
-
DS: "DS";
|
|
46
|
-
SSHFP: "SSHFP";
|
|
47
|
-
IPSECKEY: "IPSECKEY";
|
|
48
|
-
RRSIG: "RRSIG";
|
|
49
|
-
NSEC: "NSEC";
|
|
50
|
-
DNSKEY: "DNSKEY";
|
|
51
|
-
DHCID: "DHCID";
|
|
52
|
-
NSEC3: "NSEC3";
|
|
53
|
-
NSEC3PARAM: "NSEC3PARAM";
|
|
54
|
-
TLSA: "TLSA";
|
|
55
|
-
SMIMEA: "SMIMEA";
|
|
56
|
-
HIP: "HIP";
|
|
57
|
-
NINFO: "NINFO";
|
|
58
|
-
RKEY: "RKEY";
|
|
59
|
-
TALINK: "TALINK";
|
|
60
|
-
CDS: "CDS";
|
|
61
|
-
CDNSKEY: "CDNSKEY";
|
|
62
|
-
OPENPGPKEY: "OPENPGPKEY";
|
|
63
|
-
CSYNC: "CSYNC";
|
|
64
|
-
ZONEMD: "ZONEMD";
|
|
65
|
-
SVCB: "SVCB";
|
|
66
|
-
HTTPS: "HTTPS";
|
|
67
|
-
SPF: "SPF";
|
|
68
|
-
UINFO: "UINFO";
|
|
69
|
-
UID: "UID";
|
|
70
|
-
GID: "GID";
|
|
71
|
-
UNSPEC: "UNSPEC";
|
|
72
|
-
NID: "NID";
|
|
73
|
-
L32: "L32";
|
|
74
|
-
L64: "L64";
|
|
75
|
-
LP: "LP";
|
|
76
|
-
EUI48: "EUI48";
|
|
77
|
-
EUI64: "EUI64";
|
|
78
|
-
NXNAME: "NXNAME";
|
|
79
|
-
TKEY: "TKEY";
|
|
80
|
-
TSIG: "TSIG";
|
|
81
|
-
IXFR: "IXFR";
|
|
82
|
-
AXFR: "AXFR";
|
|
83
|
-
MAILB: "MAILB";
|
|
84
|
-
MAILA: "MAILA";
|
|
85
|
-
"*": "*";
|
|
86
|
-
URI: "URI";
|
|
87
|
-
CAA: "CAA";
|
|
88
|
-
AVC: "AVC";
|
|
89
|
-
DOA: "DOA";
|
|
90
|
-
AMTRELAY: "AMTRELAY";
|
|
91
|
-
RESINFO: "RESINFO";
|
|
92
|
-
WALLET: "WALLET";
|
|
93
|
-
CLA: "CLA";
|
|
94
|
-
IPN: "IPN";
|
|
95
|
-
TA: "TA";
|
|
96
|
-
DLV: "DLV";
|
|
97
|
-
XYOA: "XYOA";
|
|
98
|
-
XYOH: "XYOH";
|
|
99
|
-
}>;
|
|
100
|
-
export type DNSResourceRecordType = z.infer<typeof DNSResourceRecordTypeZod>;
|
|
101
|
-
export declare const DNSResourceRecordTypes: Readonly<Record<DNSResourceRecordType, number>>;
|
|
102
|
-
export declare const DNSResourceRecordTypeValueZod: z.ZodMiniNumber<number>;
|
|
103
|
-
export type DNSResourceRecordTypeValue = (typeof DNSResourceRecordTypes)[keyof typeof DNSResourceRecordTypes];
|
|
104
|
-
export declare const findDNSResourceRecordTypesByValue: (value: DNSResourceRecordTypeValue) => DNSResourceRecordType | undefined;
|
|
105
|
-
//# sourceMappingURL=ResourceRecord.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceRecord.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/ResourceRecord.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkGnC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE5E,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAkHlF,CAAA;AAED,eAAO,MAAM,6BAA6B,yBAAa,CAAA;AAEvD,MAAM,MAAM,0BAA0B,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAA;AAE7G,eAAO,MAAM,iCAAiC,GAAI,OAAO,0BAA0B,KAAG,qBAAqB,GAAG,SAS7G,CAAA"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const DNSResponseFieldsZod: z.ZodMiniObject<{
|
|
3
|
-
ID: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
4
|
-
RD: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>>;
|
|
5
|
-
RCODE: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<3>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>, z.ZodMiniLiteral<7>, z.ZodMiniLiteral<8>, z.ZodMiniLiteral<9>, z.ZodMiniLiteral<10>, z.ZodMiniLiteral<16>, z.ZodMiniLiteral<17>, z.ZodMiniLiteral<18>]>>;
|
|
6
|
-
QDCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
7
|
-
ANCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
8
|
-
NSCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
9
|
-
ARCOUNT: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
10
|
-
QR: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>]>;
|
|
11
|
-
Opcode: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>]>;
|
|
12
|
-
AA: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
13
|
-
TC: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
14
|
-
RA: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<true>, z.ZodMiniLiteral<false>]>;
|
|
15
|
-
Question: z.ZodMiniArray<z.ZodMiniObject<{
|
|
16
|
-
name: z.ZodMiniString<string>;
|
|
17
|
-
type: z.ZodMiniNumber<number>;
|
|
18
|
-
class: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
19
|
-
}, z.core.$strip>>;
|
|
20
|
-
Answer: z.ZodMiniArray<z.ZodMiniObject<{
|
|
21
|
-
name: z.ZodMiniString<string>;
|
|
22
|
-
type: z.ZodMiniNumber<number>;
|
|
23
|
-
TTL: z.ZodMiniNumber<number>;
|
|
24
|
-
data: z.ZodMiniString<string>;
|
|
25
|
-
class: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
26
|
-
}, z.core.$strip>>;
|
|
27
|
-
Authority: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
28
|
-
name: z.ZodMiniString<string>;
|
|
29
|
-
type: z.ZodMiniNumber<number>;
|
|
30
|
-
TTL: z.ZodMiniNumber<number>;
|
|
31
|
-
data: z.ZodMiniString<string>;
|
|
32
|
-
}, z.core.$strip>>>;
|
|
33
|
-
Additional: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
34
|
-
name: z.ZodMiniString<string>;
|
|
35
|
-
type: z.ZodMiniNumber<number>;
|
|
36
|
-
TTL: z.ZodMiniNumber<number>;
|
|
37
|
-
data: z.ZodMiniString<string>;
|
|
38
|
-
}, z.core.$strip>>>;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
export type DNSResponseFields = z.infer<typeof DNSResponseFieldsZod>;
|
|
41
|
-
//# sourceMappingURL=Response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Response.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/Response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAO7B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK/B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const DNSRcodeZod: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<0>, z.ZodMiniLiteral<1>, z.ZodMiniLiteral<2>, z.ZodMiniLiteral<3>, z.ZodMiniLiteral<4>, z.ZodMiniLiteral<5>, z.ZodMiniLiteral<6>, z.ZodMiniLiteral<7>, z.ZodMiniLiteral<8>, z.ZodMiniLiteral<9>, z.ZodMiniLiteral<10>, z.ZodMiniLiteral<16>, z.ZodMiniLiteral<17>, z.ZodMiniLiteral<18>]>;
|
|
3
|
-
export type DNSRcode = z.infer<typeof DNSRcodeZod>;
|
|
4
|
-
export declare const DNSRcodeNameZod: z.ZodMiniEnum<{
|
|
5
|
-
NOERROR: "NOERROR";
|
|
6
|
-
FORMERR: "FORMERR";
|
|
7
|
-
SERVFAIL: "SERVFAIL";
|
|
8
|
-
NXDOMAIN: "NXDOMAIN";
|
|
9
|
-
NOTIMP: "NOTIMP";
|
|
10
|
-
REFUSED: "REFUSED";
|
|
11
|
-
YXDOMAIN: "YXDOMAIN";
|
|
12
|
-
YXRRSET: "YXRRSET";
|
|
13
|
-
NXRRSET: "NXRRSET";
|
|
14
|
-
NOTAUTH: "NOTAUTH";
|
|
15
|
-
NOTZONE: "NOTZONE";
|
|
16
|
-
BADSIG: "BADSIG";
|
|
17
|
-
BADKEY: "BADKEY";
|
|
18
|
-
BADTIME: "BADTIME";
|
|
19
|
-
}>;
|
|
20
|
-
export type DNSRcodeName = z.infer<typeof DNSRcodeNameZod>;
|
|
21
|
-
export declare const DNSRcodes: Readonly<Record<DNSRcodeName, DNSRcode>>;
|
|
22
|
-
//# sourceMappingURL=ResponseCodes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseCodes.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/ResponseCodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B,eAAO,MAAM,WAAW,qUAetB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA;AAElD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAe1B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAE1D,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,CAe9D,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './Answer.ts';
|
|
2
|
-
export * from './Header.ts';
|
|
3
|
-
export * from './OperationCodes.ts';
|
|
4
|
-
export * from './Record.ts';
|
|
5
|
-
export * from './Request.ts';
|
|
6
|
-
export * from './ResourceRecord.ts';
|
|
7
|
-
export * from './Response.ts';
|
|
8
|
-
export * from './ResponseCodes.ts';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Dns/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA"}
|