-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathenums.ts
62 lines (58 loc) · 998 Bytes
/
enums.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
* Refer to the documentation for more details:
* https://datatracker.ietf.org/doc/html/rfc1035#section-3.2.2
*
* @enum {number}
*/
enum TypeValues {
A = 1,
NS = 2,
MD = 3,
MF = 4,
CNAME = 5,
SOA = 6,
MB = 7,
MG = 8,
MR = 9,
NULL = 10,
WKS = 11,
PTR = 12,
HINFO = 13,
MINFO = 14,
MX = 15,
TXT = 16
}
/**
* Refer to the documentation for more details:
* https://datatracker.ietf.org/doc/html/rfc1035#section-3.2.3
*
* @enum {number}
*/
enum QTypeValues {
AXFR = 252,
MAILB = 253,
MAILA = 254,
ALL = 255
}
/**
* Refer to the documentation for more details:
* https://datatracker.ietf.org/doc/html/rfc1035#section-3.2.4
*
* @enum {number}
*/
enum ClassValues {
IN = 1,
CS = 2,
CH = 3,
HS = 4
}
/**
* Refer to the documentation for more details:
* https://datatracker.ietf.org/doc/html/rfc1035#section-3.2.5
*
* @enum {number}
*/
enum QClassValues {
All = 255
}
export { TypeValues, QTypeValues, ClassValues, QClassValues };