@databutton/firebase-types 1.74.49 → 1.74.51
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare enum CollectionName {
|
|
2
|
+
API_KEYS = "api-keys",
|
|
2
3
|
ADMIN_CONFIG = "admin-config",
|
|
3
4
|
AUDIT_LOGS = "audit-logs",
|
|
4
5
|
APPBUTLERS = "appbutlers",
|
|
@@ -67,6 +68,7 @@ export declare enum CollectionName {
|
|
|
67
68
|
WRITE_ATTEMPTS = "write-attempts"
|
|
68
69
|
}
|
|
69
70
|
export declare enum DatabuttonIdPrefix {
|
|
71
|
+
API_KEY = "dbtk",
|
|
70
72
|
APP_DEPLOY = "ad",
|
|
71
73
|
BACKEND = "be",
|
|
72
74
|
CAPABILITY = "cap",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export var CollectionName;
|
|
2
2
|
(function (CollectionName) {
|
|
3
|
+
CollectionName["API_KEYS"] = "api-keys";
|
|
3
4
|
CollectionName["ADMIN_CONFIG"] = "admin-config";
|
|
4
5
|
CollectionName["AUDIT_LOGS"] = "audit-logs";
|
|
5
6
|
CollectionName["APPBUTLERS"] = "appbutlers";
|
|
@@ -69,6 +70,7 @@ export var CollectionName;
|
|
|
69
70
|
})(CollectionName = CollectionName || (CollectionName = {}));
|
|
70
71
|
export var DatabuttonIdPrefix;
|
|
71
72
|
(function (DatabuttonIdPrefix) {
|
|
73
|
+
DatabuttonIdPrefix["API_KEY"] = "dbtk";
|
|
72
74
|
DatabuttonIdPrefix["APP_DEPLOY"] = "ad";
|
|
73
75
|
DatabuttonIdPrefix["BACKEND"] = "be";
|
|
74
76
|
DatabuttonIdPrefix["CAPABILITY"] = "cap";
|
|
@@ -1705,4 +1705,21 @@ export interface PrebuiltTask {
|
|
|
1705
1705
|
description: string;
|
|
1706
1706
|
codeSnippets: TaskCodeSnippet[];
|
|
1707
1707
|
}
|
|
1708
|
+
export interface AuthCodeApiKey {
|
|
1709
|
+
createdBy: PerformedBy;
|
|
1710
|
+
markedForDeletionBy: PerformedBy | null;
|
|
1711
|
+
type: "authCode";
|
|
1712
|
+
env: "prodx";
|
|
1713
|
+
name: string;
|
|
1714
|
+
authCode: string;
|
|
1715
|
+
}
|
|
1716
|
+
export interface FirebaseApiKey {
|
|
1717
|
+
createdBy: PerformedBy;
|
|
1718
|
+
markedForDeletionBy: PerformedBy | null;
|
|
1719
|
+
type: "firebase";
|
|
1720
|
+
env: "devx" | "prodx";
|
|
1721
|
+
name: string;
|
|
1722
|
+
sub: string;
|
|
1723
|
+
}
|
|
1724
|
+
export type ApiKey = FirebaseApiKey | AuthCodeApiKey;
|
|
1708
1725
|
export {};
|