@databutton/firebase-types 1.107.0 → 1.109.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.
|
@@ -42,6 +42,7 @@ export declare enum CollectionName {
|
|
|
42
42
|
ACCOUNT_CONFIGS = "configs",
|
|
43
43
|
ACCOUNT_APPROVAL_REQUESTS = "approval-requests",
|
|
44
44
|
ACCOUNT_INVITES = "account-invites",
|
|
45
|
+
ACCOUNT_KNOWLEDGE_SUGGESTIONS = "knowledge-suggestions",
|
|
45
46
|
ROLES = "roles",
|
|
46
47
|
MESSAGES = "messages",
|
|
47
48
|
MODULES = "modules",
|
|
@@ -43,6 +43,7 @@ export var CollectionName;
|
|
|
43
43
|
CollectionName["ACCOUNT_CONFIGS"] = "configs";
|
|
44
44
|
CollectionName["ACCOUNT_APPROVAL_REQUESTS"] = "approval-requests";
|
|
45
45
|
CollectionName["ACCOUNT_INVITES"] = "account-invites";
|
|
46
|
+
CollectionName["ACCOUNT_KNOWLEDGE_SUGGESTIONS"] = "knowledge-suggestions";
|
|
46
47
|
CollectionName["ROLES"] = "roles";
|
|
47
48
|
CollectionName["MESSAGES"] = "messages";
|
|
48
49
|
CollectionName["MODULES"] = "modules";
|
|
@@ -35,6 +35,16 @@ export interface PublicUsername {
|
|
|
35
35
|
slug: string;
|
|
36
36
|
claimedAt: Timestamp;
|
|
37
37
|
}
|
|
38
|
+
export interface AccountBrandTheme {
|
|
39
|
+
logoUrl: string | null;
|
|
40
|
+
primaryColor: string | null;
|
|
41
|
+
secondaryColor: string | null;
|
|
42
|
+
accentColor: string | null;
|
|
43
|
+
backgroundColor: string | null;
|
|
44
|
+
textColor: string | null;
|
|
45
|
+
fontFamily: string | null;
|
|
46
|
+
scrapedAt: Timestamp | null;
|
|
47
|
+
}
|
|
38
48
|
export interface AccountCompanyMetadata {
|
|
39
49
|
logoUrl: string | null;
|
|
40
50
|
website: string | null;
|
|
@@ -45,6 +55,7 @@ export interface AccountCompanyMetadata {
|
|
|
45
55
|
operatingRegions: string[] | null;
|
|
46
56
|
employeeCount: AccountEmployeeCount | null;
|
|
47
57
|
yearFounded: number | null;
|
|
58
|
+
brandTheme?: AccountBrandTheme | null;
|
|
48
59
|
}
|
|
49
60
|
export interface Account {
|
|
50
61
|
createdBy: PerformedBy;
|
|
@@ -198,6 +209,17 @@ type UseSecretApprovalConfig = {
|
|
|
198
209
|
};
|
|
199
210
|
export type UseSecretApprovalRequest = ApprovalRequestBase<"use-secret", UseSecretApprovalConfig>;
|
|
200
211
|
export type ApprovalRequest = AddPermissionApprovalRequest | UseIntegrationApprovalRequest | DeployProjectApprovalRequest | UseSecretApprovalRequest;
|
|
212
|
+
export interface KnowledgeSuggestion {
|
|
213
|
+
id: string;
|
|
214
|
+
name: string;
|
|
215
|
+
content: string;
|
|
216
|
+
type: string;
|
|
217
|
+
metadata: Record<string, unknown>;
|
|
218
|
+
reason: string;
|
|
219
|
+
timestamp: string;
|
|
220
|
+
sourceProjectId: string;
|
|
221
|
+
createdBy: PerformedBy;
|
|
222
|
+
}
|
|
201
223
|
/**
|
|
202
224
|
* A list of account IDs that the user is at least a member of
|
|
203
225
|
*/
|