@databutton/firebase-types 1.71.40 → 1.71.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -841,15 +841,16 @@ export interface Project {
841
841
  };
842
842
  };
843
843
  }
844
+ export type DnsRecord = {
845
+ name: string;
846
+ type: "CNAME" | "ALIAS" | "CAA" | "ANAME";
847
+ value: string;
848
+ };
844
849
  export interface ProjectCustomDomain {
845
850
  domainName: string;
846
851
  validationStatus: "pending" | "validated" | "failed";
847
852
  active: boolean;
848
- dnsRecords: {
849
- name: string;
850
- type: "CNAME" | "ALIAS";
851
- value: string;
852
- }[];
853
+ dnsRecords: DnsRecord[];
853
854
  validationRecords?: DomainValidationRecord[];
854
855
  }
855
856
  export interface ProjectTemplatePage {
@@ -1323,12 +1324,8 @@ export interface DomainV2 {
1323
1324
  owner: string;
1324
1325
  validationStatus: "pending" | "validated" | "failed";
1325
1326
  active: boolean;
1326
- dnsRegistrar?: "namecheap" | "unknown" | string;
1327
- dnsRecords: {
1328
- name: string;
1329
- type: "CNAME" | "ALIAS";
1330
- value: string;
1331
- }[];
1327
+ dnsRegistrar?: string;
1328
+ dnsRecords: DnsRecord[];
1332
1329
  validationRecords?: DomainValidationRecord[];
1333
1330
  }
1334
1331
  export type Domain = DomainV1 | DomainV2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.71.40",
3
+ "version": "1.71.42",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {