@databutton/firebase-types 1.99.4 → 1.101.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.
|
@@ -69,6 +69,10 @@ export interface Account {
|
|
|
69
69
|
* Account level custom instructions. Will be applied to system prompt in all projects created in this account.
|
|
70
70
|
*/
|
|
71
71
|
customInstructions?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier for the special account wide project for knowledgebase
|
|
74
|
+
*/
|
|
75
|
+
knowledgeBaseProjectId?: string;
|
|
72
76
|
}
|
|
73
77
|
interface AccountConfigBase {
|
|
74
78
|
enabledBy: PerformedBy;
|
|
@@ -161,7 +165,16 @@ type DeployProjectApprovalConfig = {
|
|
|
161
165
|
deploymentId: string;
|
|
162
166
|
};
|
|
163
167
|
export type DeployProjectApprovalRequest = ApprovalRequestBase<"deploy-project", DeployProjectApprovalConfig>;
|
|
164
|
-
|
|
168
|
+
type UseSecretApprovalConfig = {
|
|
169
|
+
projectId: string;
|
|
170
|
+
env: "dev" | "app" | "prod";
|
|
171
|
+
variableName: string;
|
|
172
|
+
secretParent: string;
|
|
173
|
+
secretId: string;
|
|
174
|
+
version?: string;
|
|
175
|
+
};
|
|
176
|
+
export type UseSecretApprovalRequest = ApprovalRequestBase<"use-secret", UseSecretApprovalConfig>;
|
|
177
|
+
export type ApprovalRequest = AddPermissionApprovalRequest | UseIntegrationApprovalRequest | DeployProjectApprovalRequest | UseSecretApprovalRequest;
|
|
165
178
|
/**
|
|
166
179
|
* A list of account IDs that the user is at least a member of
|
|
167
180
|
*/
|
|
@@ -1223,6 +1236,10 @@ export interface Project {
|
|
|
1223
1236
|
createdFromProjectTemplateId?: string | null;
|
|
1224
1237
|
createdFromProjectPlanId?: string | null;
|
|
1225
1238
|
variant: ProjectVariant;
|
|
1239
|
+
/**
|
|
1240
|
+
* Identifier for special projects that should be hidden from the user when in use for the knowledgebase feature
|
|
1241
|
+
*/
|
|
1242
|
+
isAccountKnowledgeProject?: boolean;
|
|
1226
1243
|
migratedFromDatabutton?: boolean;
|
|
1227
1244
|
migrationFromDatabutton?: "started" | "complete" | "failed";
|
|
1228
1245
|
startingPrompt?: string | null;
|