@databutton/firebase-types 1.72.38 → 1.72.40
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.
|
@@ -876,12 +876,16 @@ export type DnsRecord = {
|
|
|
876
876
|
name: string;
|
|
877
877
|
type: "CNAME" | "ALIAS" | "CAA" | "ANAME";
|
|
878
878
|
value: string;
|
|
879
|
+
validated: boolean;
|
|
879
880
|
};
|
|
880
881
|
export interface ProjectCustomDomain {
|
|
881
882
|
domainName: string;
|
|
882
883
|
validationStatus: "pending" | "validated" | "failed";
|
|
883
884
|
active: boolean;
|
|
884
885
|
dnsRecords: DnsRecord[];
|
|
886
|
+
/**
|
|
887
|
+
* @deprecated Will be removed
|
|
888
|
+
*/
|
|
885
889
|
validationRecords?: DomainValidationRecord[];
|
|
886
890
|
}
|
|
887
891
|
export interface ProjectTemplatePage {
|
|
@@ -1345,11 +1349,7 @@ export interface DomainV1 {
|
|
|
1345
1349
|
owner: string;
|
|
1346
1350
|
validationStatus: "pending" | "validated" | "failed";
|
|
1347
1351
|
active: boolean;
|
|
1348
|
-
dnsRecords:
|
|
1349
|
-
name: string;
|
|
1350
|
-
type: "CNAME" | "ALIAS";
|
|
1351
|
-
value: string;
|
|
1352
|
-
}[];
|
|
1352
|
+
dnsRecords: DnsRecord[];
|
|
1353
1353
|
linearIssueId?: string;
|
|
1354
1354
|
}
|
|
1355
1355
|
export interface DomainV2 {
|
|
@@ -1365,8 +1365,25 @@ export interface DomainV2 {
|
|
|
1365
1365
|
active: boolean;
|
|
1366
1366
|
dnsRegistrar?: string;
|
|
1367
1367
|
dnsRecords: DnsRecord[];
|
|
1368
|
+
/**
|
|
1369
|
+
* @deprecated Will be removed
|
|
1370
|
+
*/
|
|
1368
1371
|
validationRecords?: DomainValidationRecord[];
|
|
1369
1372
|
linearIssueId?: string;
|
|
1373
|
+
acmCertificateArn?: string;
|
|
1374
|
+
acmCertificateStatus?: CertificateStatus;
|
|
1375
|
+
}
|
|
1376
|
+
/**
|
|
1377
|
+
* Taken from AWS types
|
|
1378
|
+
*/
|
|
1379
|
+
export declare enum CertificateStatus {
|
|
1380
|
+
EXPIRED = "EXPIRED",
|
|
1381
|
+
FAILED = "FAILED",
|
|
1382
|
+
INACTIVE = "INACTIVE",
|
|
1383
|
+
ISSUED = "ISSUED",
|
|
1384
|
+
PENDING_VALIDATION = "PENDING_VALIDATION",
|
|
1385
|
+
REVOKED = "REVOKED",
|
|
1386
|
+
VALIDATION_TIMED_OUT = "VALIDATION_TIMED_OUT"
|
|
1370
1387
|
}
|
|
1371
1388
|
export type Domain = DomainV1 | DomainV2;
|
|
1372
1389
|
export interface DomainValidationRecord {
|
|
@@ -62,4 +62,17 @@ export var ProjectExtension;
|
|
|
62
62
|
ProjectExtension["SHADCN"] = "shadcn";
|
|
63
63
|
ProjectExtension["FIREBASE_AUTH"] = "firebase-auth";
|
|
64
64
|
})(ProjectExtension = ProjectExtension || (ProjectExtension = {}));
|
|
65
|
+
/**
|
|
66
|
+
* Taken from AWS types
|
|
67
|
+
*/
|
|
68
|
+
export var CertificateStatus;
|
|
69
|
+
(function (CertificateStatus) {
|
|
70
|
+
CertificateStatus["EXPIRED"] = "EXPIRED";
|
|
71
|
+
CertificateStatus["FAILED"] = "FAILED";
|
|
72
|
+
CertificateStatus["INACTIVE"] = "INACTIVE";
|
|
73
|
+
CertificateStatus["ISSUED"] = "ISSUED";
|
|
74
|
+
CertificateStatus["PENDING_VALIDATION"] = "PENDING_VALIDATION";
|
|
75
|
+
CertificateStatus["REVOKED"] = "REVOKED";
|
|
76
|
+
CertificateStatus["VALIDATION_TIMED_OUT"] = "VALIDATION_TIMED_OUT";
|
|
77
|
+
})(CertificateStatus = CertificateStatus || (CertificateStatus = {}));
|
|
65
78
|
//# sourceMappingURL=persisted.js.map
|
|
@@ -36,10 +36,22 @@ export type DeleteProjectRequest = {
|
|
|
36
36
|
export type CustomDomainRequest = {
|
|
37
37
|
domain: string;
|
|
38
38
|
projectId: string;
|
|
39
|
-
|
|
39
|
+
registrar?: string;
|
|
40
|
+
};
|
|
41
|
+
export declare enum CustomDomainFailureCode {
|
|
42
|
+
ROOT_DOMAIN_NOT_SUPPORTED_AT_REGISTRAR = "ROOT_DOMAIN_NOT_SUPPORTED_AT_REGISTRAR",
|
|
43
|
+
OWNER_MISSING_PUBLIC_USERNAME = "OWNER_MISSING_PUBLIC_USERNAME",
|
|
44
|
+
APP_MISSING_SLUG = "APP_MISSING_SLUG",
|
|
45
|
+
MISSING_SUBSCRIPTION = "MISSING_SUBSCRIPTION",
|
|
46
|
+
UNKNOWN_ERROR = "UNKNOWN_ERROR"
|
|
47
|
+
}
|
|
40
48
|
export type CustomDomainResponse = {
|
|
41
|
-
status:
|
|
49
|
+
status: "Success";
|
|
50
|
+
domain: string;
|
|
51
|
+
} | {
|
|
52
|
+
status: "Failed";
|
|
42
53
|
domain: string;
|
|
54
|
+
code: CustomDomainFailureCode;
|
|
43
55
|
};
|
|
44
56
|
export type DeleteProjectResponse = {};
|
|
45
57
|
export type AdminCommandsForPalleteRequest = {
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var CustomDomainFailureCode;
|
|
2
|
+
(function (CustomDomainFailureCode) {
|
|
3
|
+
CustomDomainFailureCode["ROOT_DOMAIN_NOT_SUPPORTED_AT_REGISTRAR"] = "ROOT_DOMAIN_NOT_SUPPORTED_AT_REGISTRAR";
|
|
4
|
+
CustomDomainFailureCode["OWNER_MISSING_PUBLIC_USERNAME"] = "OWNER_MISSING_PUBLIC_USERNAME";
|
|
5
|
+
CustomDomainFailureCode["APP_MISSING_SLUG"] = "APP_MISSING_SLUG";
|
|
6
|
+
CustomDomainFailureCode["MISSING_SUBSCRIPTION"] = "MISSING_SUBSCRIPTION";
|
|
7
|
+
CustomDomainFailureCode["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
|
|
8
|
+
})(CustomDomainFailureCode = CustomDomainFailureCode || (CustomDomainFailureCode = {}));
|
|
2
9
|
//# sourceMappingURL=requests.js.map
|