@databutton/firebase-types 1.165.1 → 1.166.0
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.
|
@@ -14,7 +14,11 @@ export declare namespace AuditLogEntry {
|
|
|
14
14
|
SECRET_DELETE = "secrets-delete",
|
|
15
15
|
SECRET_DELETE_VERSION = "secrets-delete-version",
|
|
16
16
|
SECRET_REVEAL = "secrets-reveal",
|
|
17
|
-
SECRET_SET_CURRENT_VERSION = "secrets-set-current-version"
|
|
17
|
+
SECRET_SET_CURRENT_VERSION = "secrets-set-current-version",
|
|
18
|
+
BACKEND_AUTH_ENABLED = "backend-auth-enabled",
|
|
19
|
+
BACKEND_AUTH_DISABLED = "backend-auth-disabled",
|
|
20
|
+
FRONTEND_AUTH_ENABLED = "frontend-auth-enabled",
|
|
21
|
+
FRONTEND_AUTH_DISABLED = "frontend-auth-disabled"
|
|
18
22
|
}
|
|
19
23
|
type MemberAdded = AuditLog<{
|
|
20
24
|
memberId: string;
|
|
@@ -50,6 +54,14 @@ export declare namespace AuditLogEntry {
|
|
|
50
54
|
type SecretDeleteVersion = AuditLog<SecretVersionMetadata>;
|
|
51
55
|
type SecretReveal = AuditLog<SecretVersionMetadata>;
|
|
52
56
|
type SecretSetCurrentVersion = AuditLog<SecretVersionMetadata>;
|
|
57
|
+
interface ComponentAuthMetadata {
|
|
58
|
+
componentId: string;
|
|
59
|
+
componentName: string;
|
|
60
|
+
}
|
|
61
|
+
type BackendAuthEnabled = AuditLog<ComponentAuthMetadata>;
|
|
62
|
+
type BackendAuthDisabled = AuditLog<ComponentAuthMetadata>;
|
|
63
|
+
type FrontendAuthEnabled = AuditLog<ComponentAuthMetadata>;
|
|
64
|
+
type FrontendAuthDisabled = AuditLog<ComponentAuthMetadata>;
|
|
53
65
|
type AuditLogEvent = (AccountCreated & {
|
|
54
66
|
event: Event.ACCOUNT_CREATED;
|
|
55
67
|
}) | (AccountDeleted & {
|
|
@@ -72,5 +84,13 @@ export declare namespace AuditLogEntry {
|
|
|
72
84
|
event: Event.SECRET_REVEAL;
|
|
73
85
|
}) | (SecretSetCurrentVersion & {
|
|
74
86
|
event: Event.SECRET_SET_CURRENT_VERSION;
|
|
87
|
+
}) | (BackendAuthEnabled & {
|
|
88
|
+
event: Event.BACKEND_AUTH_ENABLED;
|
|
89
|
+
}) | (BackendAuthDisabled & {
|
|
90
|
+
event: Event.BACKEND_AUTH_DISABLED;
|
|
91
|
+
}) | (FrontendAuthEnabled & {
|
|
92
|
+
event: Event.FRONTEND_AUTH_ENABLED;
|
|
93
|
+
}) | (FrontendAuthDisabled & {
|
|
94
|
+
event: Event.FRONTEND_AUTH_DISABLED;
|
|
75
95
|
});
|
|
76
96
|
}
|
|
@@ -13,6 +13,10 @@ export var AuditLogEntry;
|
|
|
13
13
|
Event["SECRET_DELETE_VERSION"] = "secrets-delete-version";
|
|
14
14
|
Event["SECRET_REVEAL"] = "secrets-reveal";
|
|
15
15
|
Event["SECRET_SET_CURRENT_VERSION"] = "secrets-set-current-version";
|
|
16
|
+
Event["BACKEND_AUTH_ENABLED"] = "backend-auth-enabled";
|
|
17
|
+
Event["BACKEND_AUTH_DISABLED"] = "backend-auth-disabled";
|
|
18
|
+
Event["FRONTEND_AUTH_ENABLED"] = "frontend-auth-enabled";
|
|
19
|
+
Event["FRONTEND_AUTH_DISABLED"] = "frontend-auth-disabled";
|
|
16
20
|
})(Event = AuditLogEntry.Event || (AuditLogEntry.Event = {}));
|
|
17
21
|
})(AuditLogEntry || (AuditLogEntry = {}));
|
|
18
22
|
//# sourceMappingURL=helpers.js.map
|
|
@@ -1487,6 +1487,11 @@ export declare enum SpecialProjectType {
|
|
|
1487
1487
|
* Projects powering operational agents that are primarily working autonomous
|
|
1488
1488
|
*/
|
|
1489
1489
|
OPERATIONAL_AGENT = "operationalAgent",
|
|
1490
|
+
/**
|
|
1491
|
+
* Projects powering legacy app template for building agents we had running for a while before we added proper agent support
|
|
1492
|
+
* @deprecated No new agents are created from this. Keep as long as we still have active projects of this type
|
|
1493
|
+
*/
|
|
1494
|
+
LEGACY_APP_AGENT = "legacyAppAgent",
|
|
1490
1495
|
/**
|
|
1491
1496
|
* One per user in an account. Powers the workspace agent — a personal assistant that can talk with the team's knowledge base etc.
|
|
1492
1497
|
* @deprecated This powers 'Ask Riff' which we will sunset. Keep while we still have projects with this type set
|
|
@@ -1968,9 +1973,11 @@ export type ComponentSnapshotBase = {
|
|
|
1968
1973
|
};
|
|
1969
1974
|
export interface BackendConfig {
|
|
1970
1975
|
disableAuth: boolean;
|
|
1976
|
+
lastUpdatedBy?: PerformedBy | null;
|
|
1971
1977
|
}
|
|
1972
1978
|
export interface FrontendConfig {
|
|
1973
1979
|
disableAuth: boolean;
|
|
1980
|
+
lastUpdatedBy?: PerformedBy | null;
|
|
1974
1981
|
}
|
|
1975
1982
|
export type ModuleSnapshot<T = ComponentSnapshotBase> = T;
|
|
1976
1983
|
export type BackendSnapshot<T = ComponentSnapshotBase> = T & {
|
|
@@ -93,6 +93,11 @@ export var SpecialProjectType;
|
|
|
93
93
|
* Projects powering operational agents that are primarily working autonomous
|
|
94
94
|
*/
|
|
95
95
|
SpecialProjectType["OPERATIONAL_AGENT"] = "operationalAgent";
|
|
96
|
+
/**
|
|
97
|
+
* Projects powering legacy app template for building agents we had running for a while before we added proper agent support
|
|
98
|
+
* @deprecated No new agents are created from this. Keep as long as we still have active projects of this type
|
|
99
|
+
*/
|
|
100
|
+
SpecialProjectType["LEGACY_APP_AGENT"] = "legacyAppAgent";
|
|
96
101
|
/**
|
|
97
102
|
* One per user in an account. Powers the workspace agent — a personal assistant that can talk with the team's knowledge base etc.
|
|
98
103
|
* @deprecated This powers 'Ask Riff' which we will sunset. Keep while we still have projects with this type set
|