Cotton code
34 lines · 1.7 KB · JSONRaw
{  "id": "dns_record",  "name": "DNS record",  "plural": "DNS records",  "picture": null,  "builtin": false,  "engine": null,  "columns": [    { "key": "name", "name": "Name", "type": "text", "required": true, "placeholder": "www.example.com" },    { "key": "type", "name": "Type", "type": "text", "placeholder": "A, CNAME, MX, TXT…" },    { "key": "content", "name": "Points at", "type": "longtext" },    { "key": "domain", "name": "Domain", "type": "link", "link_to": "domain" },    { "key": "ttl", "name": "TTL", "type": "number" },    { "key": "proxied", "name": "Proxied", "type": "bool" },    { "key": "priority", "name": "Priority", "type": "number" },    { "key": "comment", "name": "Comment", "type": "longtext" },    { "key": "external_id", "name": "Service id", "type": "text", "indexed": true, "readonly": true }  ],  "title": "name",  "date": null,  "project": null,  "order": null,  "slip": { "title": "name", "subtitle": ["type", "content"], "trailing": null, "photo": null, "toggle": null },  "tile": { "face": "slip-list" },  "sort": { "column": "name" },  "empty": { "title": "No DNS records yet", "message": "Add one, or connect Cloudflare and each domain's records appear here." },  "create": { "label": "Add a record" },  "page": [    { "heading": null, "columns": ["name", "type", "content", "domain"] },    { "heading": "Settings", "columns": ["ttl", "proxied", "priority"] },    { "heading": "Notes", "columns": ["comment", "external_id"] }  ],  "instructions": "One row per DNS record under a domain. content is what the name points at (an address, a host, a text value). external_id is the provider's own id, written by the bridge. A change made here does not reach the provider."}