@databutton/firebase-types 1.148.0 → 1.150.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.
|
@@ -109,7 +109,8 @@ export declare enum AccountRole {
|
|
|
109
109
|
ADMIN = "admin",
|
|
110
110
|
COLLABORATOR = "collaborator",
|
|
111
111
|
BILLING = "billing",
|
|
112
|
-
SUPPORT = "support"
|
|
112
|
+
SUPPORT = "support",
|
|
113
|
+
VIEWER = "viewer"
|
|
113
114
|
}
|
|
114
115
|
export declare enum DatabuttonIdPrefix {
|
|
115
116
|
AGENT_SKILL = "ask",
|
|
@@ -113,6 +113,7 @@ export var AccountRole;
|
|
|
113
113
|
AccountRole["COLLABORATOR"] = "collaborator";
|
|
114
114
|
AccountRole["BILLING"] = "billing";
|
|
115
115
|
AccountRole["SUPPORT"] = "support";
|
|
116
|
+
AccountRole["VIEWER"] = "viewer";
|
|
116
117
|
})(AccountRole || (AccountRole = {}));
|
|
117
118
|
export var DatabuttonIdPrefix;
|
|
118
119
|
(function (DatabuttonIdPrefix) {
|
|
@@ -1432,12 +1432,24 @@ export declare enum SpecialProjectType {
|
|
|
1432
1432
|
/** Projects used as an API gateway integration, needs to be connected to an account app. */
|
|
1433
1433
|
API_GATEWAY = "apiGateway"
|
|
1434
1434
|
}
|
|
1435
|
+
export interface ProjectSettingsBase {
|
|
1436
|
+
lastUpdatedBy: PerformedBy;
|
|
1437
|
+
}
|
|
1438
|
+
export interface AgentSettings {
|
|
1439
|
+
type: "agent";
|
|
1440
|
+
phase: "experimenting" | "tuning" | "onboarding" | "production";
|
|
1441
|
+
}
|
|
1442
|
+
export interface AppSettings {
|
|
1443
|
+
type: "app";
|
|
1444
|
+
}
|
|
1445
|
+
export type ProjectSettings = AgentSettings | AppSettings;
|
|
1435
1446
|
export interface Project {
|
|
1436
1447
|
createdAt: Timestamp;
|
|
1437
1448
|
createdBy?: PerformedBy;
|
|
1438
1449
|
createdFromProjectTemplateId?: string | null;
|
|
1439
1450
|
createdFromProjectPlanId?: string | null;
|
|
1440
1451
|
variant: ProjectVariant;
|
|
1452
|
+
settings?: ProjectSettings | null;
|
|
1441
1453
|
/**
|
|
1442
1454
|
* Identifier for special projects that should be hidden from the user when in use for the knowledgebase feature
|
|
1443
1455
|
* TODO: replace with a different name
|