@types/cloudflare
Advanced tools
Comparing version 2.7.4 to 2.7.5
@@ -46,3 +46,3 @@ // Type definitions for cloudflare 2.7 | ||
interface DnsRecordWithPriority { | ||
type: Extract<RecordTypes, 'MX' | 'SRV' | 'URI'>; | ||
type: Exclude<RecordTypes, 'MX' | 'SRV' | 'URI'>; | ||
name: string; | ||
@@ -55,4 +55,19 @@ content: string; | ||
type DnsRecord = DnsRecordWithPriority | DnsRecordWithoutPriority; | ||
interface SrvDnsRecord { | ||
type: 'SRV'; | ||
data: { | ||
name: string; | ||
service: string; | ||
proto: string; | ||
ttl: number; | ||
proxied?: boolean | undefined; | ||
priority: number; | ||
weight: number; | ||
port: number; | ||
target: string; | ||
}; | ||
} | ||
type DnsRecord = DnsRecordWithPriority | DnsRecordWithoutPriority | SrvDnsRecord; | ||
interface DNSRecords { | ||
@@ -59,0 +74,0 @@ edit( |
{ | ||
"name": "@types/cloudflare", | ||
"version": "2.7.4", | ||
"version": "2.7.5", | ||
"description": "TypeScript definitions for cloudflare", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cloudflare", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "c4e69e40d35a9bcef3431613002c9eca666ee6821157a390fd0b6444600a8704", | ||
"typesPublisherContentHash": "6739c355dd66ab1193485701f4dd7e913ce6b5f3584d8bc797890e20cb3ea3ca", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 09:07:58 GMT | ||
* Last updated: Thu, 15 Jul 2021 02:31:15 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
13097
291