@databutton/firebase-types 1.69.71 → 1.69.73

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.
@@ -1111,12 +1111,27 @@ export interface Customer {
1111
1111
  export interface Sequence {
1112
1112
  current: number;
1113
1113
  }
1114
- export interface Domain {
1114
+ export interface DomainV1 {
1115
1115
  createdBy: PerformedBy;
1116
1116
  lastUpdatedBy: PerformedBy;
1117
1117
  customDomainId: string;
1118
- username?: string;
1119
- appName?: string;
1118
+ projectId: string | null;
1119
+ owner: string;
1120
+ validationStatus: "pending" | "validated" | "failed";
1121
+ active: boolean;
1122
+ dnsRecords: {
1123
+ name: string;
1124
+ type: "CNAME" | "ALIAS";
1125
+ value: string;
1126
+ }[];
1127
+ }
1128
+ export interface DomainV2 {
1129
+ version: "v2";
1130
+ createdBy: PerformedBy;
1131
+ lastUpdatedBy: PerformedBy;
1132
+ customDomainId: string;
1133
+ usernameSlug: string;
1134
+ appSlug: string;
1120
1135
  projectId: string | null;
1121
1136
  owner: string;
1122
1137
  validationStatus: "pending" | "validated" | "failed";
@@ -1128,6 +1143,7 @@ export interface Domain {
1128
1143
  }[];
1129
1144
  validationRecords?: DomainValidationRecord[];
1130
1145
  }
1146
+ export type Domain = DomainV1 | DomainV2;
1131
1147
  export interface DomainValidationRecord {
1132
1148
  domainName: string;
1133
1149
  resourceRecord?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.69.71",
3
+ "version": "1.69.73",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {