28 lines
595 B
Text
28 lines
595 B
Text
let dns = import "../../prov_lib/nickel/dns_contracts.ncl" in
|
|
|
|
{
|
|
CloudflareZone = {
|
|
name | String,
|
|
id | String,
|
|
account_id | String,
|
|
status | String,
|
|
},
|
|
|
|
CloudflareRecord = {
|
|
id | String,
|
|
zone_id | String,
|
|
name | String,
|
|
type | dns.RecordType,
|
|
content | String,
|
|
ttl | Number,
|
|
proxied | Bool | default = false,
|
|
comment | String | optional,
|
|
},
|
|
|
|
CloudflareAccount = {
|
|
provider | [| 'cloudflare |],
|
|
account_id | String,
|
|
description | String,
|
|
shared_secret_ref | String | optional,
|
|
},
|
|
}
|