Remove these id fields too

This commit is contained in:
Melon 2024-11-19 10:52:46 +00:00
parent b263f77979
commit 17cbdc2e3f
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -112,7 +112,6 @@
render: NsRow, render: NsRow,
create: NsCreate, create: NsCreate,
empty: (): ApiRecordFormat<NsValue> => ({ empty: (): ApiRecordFormat<NsValue> => ({
id: 0,
name: "", name: "",
type: DnsTypeNS, type: DnsTypeNS,
ttl: null, ttl: null,
@ -127,7 +126,6 @@
render: MxRow, render: MxRow,
create: MxCreate, create: MxCreate,
empty: (): ApiRecordFormat<MxValue> => ({ empty: (): ApiRecordFormat<MxValue> => ({
id: 0,
name: "", name: "",
type: DnsTypeMX, type: DnsTypeMX,
ttl: null, ttl: null,
@ -145,7 +143,6 @@
render: ARow, render: ARow,
create: ACreate, create: ACreate,
empty: (): ApiRecordFormat<AValue | AaaaValue> => ({ empty: (): ApiRecordFormat<AValue | AaaaValue> => ({
id: 0,
name: "", name: "",
type: 0, // this is on purpose type: 0, // this is on purpose
ttl: null, ttl: null,
@ -160,7 +157,6 @@
render: CnameRow, render: CnameRow,
create: CnameCreate, create: CnameCreate,
empty: (): ApiRecordFormat<CnameValue> => ({ empty: (): ApiRecordFormat<CnameValue> => ({
id: 0,
name: "", name: "",
type: DnsTypeCNAME, type: DnsTypeCNAME,
ttl: null, ttl: null,
@ -175,7 +171,6 @@
render: TxtRow, render: TxtRow,
create: TxtCreate, create: TxtCreate,
empty: (): ApiRecordFormat<TxtValue> => ({ empty: (): ApiRecordFormat<TxtValue> => ({
id: 0,
name: "", name: "",
type: DnsTypeTXT, type: DnsTypeTXT,
ttl: null, ttl: null,
@ -190,7 +185,6 @@
render: SrvRow, render: SrvRow,
create: null, create: null,
empty: (): ApiRecordFormat<SrvValue> => ({ empty: (): ApiRecordFormat<SrvValue> => ({
id: 0,
name: "", name: "",
type: DnsTypeSRV, type: DnsTypeSRV,
ttl: null, ttl: null,
@ -210,7 +204,6 @@
render: CaaRow, render: CaaRow,
create: CaaCreate, create: CaaCreate,
empty: (): ApiRecordFormat<CaaValue> => ({ empty: (): ApiRecordFormat<CaaValue> => ({
id: 0,
name: "", name: "",
type: DnsTypeCAA, type: DnsTypeCAA,
ttl: null, ttl: null,