@databutton/firebase-types 1.92.14 → 1.93.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.
|
@@ -1,3 +1,31 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AccountRole } from "./enums.js";
|
|
2
|
+
import type { AuditLog, Backend, Frontend, Module, UiComponent, UiFile } from "./persisted.js";
|
|
2
3
|
export type Component = Frontend | Backend | Module | UiFile | UiComponent;
|
|
3
4
|
export type ComponentType = "frontend" | "backend" | "module" | "ui-file" | "ui-component";
|
|
5
|
+
export declare namespace AuditLogEntry {
|
|
6
|
+
enum Event {
|
|
7
|
+
ACCOUNT_CREATED = "account-created",
|
|
8
|
+
MEMBER_ADDED = "member-added",
|
|
9
|
+
MEMBER_REMOVED = "member-removed",
|
|
10
|
+
MEMBER_ROLES_UPDATED = "member-roles-updated"
|
|
11
|
+
}
|
|
12
|
+
type MemberAdded = AuditLog<{
|
|
13
|
+
memberId: string;
|
|
14
|
+
memberEmail: string;
|
|
15
|
+
roles: AccountRole[];
|
|
16
|
+
}>;
|
|
17
|
+
type AccountCreated = AuditLog<{
|
|
18
|
+
owner: string;
|
|
19
|
+
ownerEmail: string;
|
|
20
|
+
}>;
|
|
21
|
+
type MemberRemoved = AuditLog<{
|
|
22
|
+
memberId: string;
|
|
23
|
+
memberEmail: string;
|
|
24
|
+
}>;
|
|
25
|
+
type MemberRolesUpdated = AuditLog<{
|
|
26
|
+
memberId: string;
|
|
27
|
+
memberEmail: string;
|
|
28
|
+
rolesAdded: AccountRole[];
|
|
29
|
+
rolesRemoved: AccountRole[];
|
|
30
|
+
}>;
|
|
31
|
+
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var AuditLogEntry;
|
|
2
|
+
(function (AuditLogEntry) {
|
|
3
|
+
let Event;
|
|
4
|
+
(function (Event) {
|
|
5
|
+
Event["ACCOUNT_CREATED"] = "account-created";
|
|
6
|
+
Event["MEMBER_ADDED"] = "member-added";
|
|
7
|
+
Event["MEMBER_REMOVED"] = "member-removed";
|
|
8
|
+
Event["MEMBER_ROLES_UPDATED"] = "member-roles-updated";
|
|
9
|
+
})(Event = AuditLogEntry.Event || (AuditLogEntry.Event = {}));
|
|
10
|
+
})(AuditLogEntry || (AuditLogEntry = {}));
|
|
2
11
|
//# sourceMappingURL=helpers.js.map
|
|
@@ -956,10 +956,11 @@ export interface IntegrationTemplate {
|
|
|
956
956
|
displayName: string;
|
|
957
957
|
state: "active" | "early-access" | "dev" | "request" | "inactive";
|
|
958
958
|
semVerVersion: string;
|
|
959
|
-
managedBy: "riff" | "community";
|
|
959
|
+
managedBy: "riff" | "riff-custom" | "community";
|
|
960
960
|
logoUrl?: string;
|
|
961
961
|
aliases?: IntegrationAlias[];
|
|
962
962
|
apiVersion?: IntegrationApiVersion;
|
|
963
|
+
enabledForAccountIds?: string[];
|
|
963
964
|
/**
|
|
964
965
|
* Short description of the integration
|
|
965
966
|
* Ment for the user to understand what the integration does
|