This commit is contained in:
parent
d1365ae261
commit
6322af94bb
6
JS-SDK/src/types/dns.d.ts
vendored
6
JS-SDK/src/types/dns.d.ts
vendored
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* An A record.
|
* An A record.
|
||||||
*/
|
*/
|
||||||
interface ARecord extends DNSRecord {
|
export interface ARecord extends DNSRecord {
|
||||||
/**
|
/**
|
||||||
* The address of this record, undefined if unresolved.
|
* The address of this record, undefined if unresolved.
|
||||||
*/
|
*/
|
||||||
@ -11,7 +11,7 @@ interface ARecord extends DNSRecord {
|
|||||||
/**
|
/**
|
||||||
* An SRV record.
|
* An SRV record.
|
||||||
*/
|
*/
|
||||||
interface SRVRecord extends DNSRecord {
|
export interface SRVRecord extends DNSRecord {
|
||||||
/**
|
/**
|
||||||
* The priority of this record.
|
* The priority of this record.
|
||||||
*/
|
*/
|
||||||
@ -36,7 +36,7 @@ interface SRVRecord extends DNSRecord {
|
|||||||
/**
|
/**
|
||||||
* A representation of a DNS record.
|
* A representation of a DNS record.
|
||||||
*/
|
*/
|
||||||
type DNSRecord = {
|
export type DNSRecord = {
|
||||||
/**
|
/**
|
||||||
* The type of this record.
|
* The type of this record.
|
||||||
*/
|
*/
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
import { ARecord, SRVRecord } from "../dns";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A model representing a Minecraft server.
|
* A model representing a Minecraft server.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user