@databutton/firebase-types 1.176.1 → 1.178.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.
|
@@ -46,6 +46,7 @@ export declare enum CollectionName {
|
|
|
46
46
|
ACCOUNT_APPROVAL_REQUESTS = "approval-requests",
|
|
47
47
|
ACCOUNT_INVITES = "account-invites",
|
|
48
48
|
ACCOUNT_KNOWLEDGE_SUGGESTIONS = "knowledge-suggestions",
|
|
49
|
+
ACCOUNT_ONBOARDING_CHECKLISTS = "onboarding-checklists",
|
|
49
50
|
ACCOUNT_NOTIFICATIONS = "notifications",
|
|
50
51
|
ACCOUNT_NOTIFICATION_GROUPS = "notificationGroups",
|
|
51
52
|
ROLES = "roles",
|
|
@@ -47,6 +47,7 @@ export var CollectionName;
|
|
|
47
47
|
CollectionName["ACCOUNT_APPROVAL_REQUESTS"] = "approval-requests";
|
|
48
48
|
CollectionName["ACCOUNT_INVITES"] = "account-invites";
|
|
49
49
|
CollectionName["ACCOUNT_KNOWLEDGE_SUGGESTIONS"] = "knowledge-suggestions";
|
|
50
|
+
CollectionName["ACCOUNT_ONBOARDING_CHECKLISTS"] = "onboarding-checklists";
|
|
50
51
|
CollectionName["ACCOUNT_NOTIFICATIONS"] = "notifications";
|
|
51
52
|
CollectionName["ACCOUNT_NOTIFICATION_GROUPS"] = "notificationGroups";
|
|
52
53
|
CollectionName["ROLES"] = "roles";
|
|
@@ -336,6 +336,35 @@ type UseSecretApprovalConfig = {
|
|
|
336
336
|
};
|
|
337
337
|
export type UseSecretApprovalRequest = ApprovalRequestBase<"use-secret", UseSecretApprovalConfig>;
|
|
338
338
|
export type ApprovalRequest = AddPermissionApprovalRequest | UseIntegrationApprovalRequest | DeployProjectApprovalRequest | UseSecretApprovalRequest;
|
|
339
|
+
export type ChecklistGroupTarget = {
|
|
340
|
+
kind: "project";
|
|
341
|
+
projectId: string;
|
|
342
|
+
env: "app" | "dev" | "prod";
|
|
343
|
+
} | {
|
|
344
|
+
kind: "integration";
|
|
345
|
+
integrationId: string;
|
|
346
|
+
} | {
|
|
347
|
+
kind: "account";
|
|
348
|
+
};
|
|
349
|
+
export interface ChecklistItem {
|
|
350
|
+
key: string;
|
|
351
|
+
label: string;
|
|
352
|
+
helpText?: string;
|
|
353
|
+
}
|
|
354
|
+
export interface ChecklistGroup {
|
|
355
|
+
id: string;
|
|
356
|
+
title: string;
|
|
357
|
+
description?: string;
|
|
358
|
+
target: ChecklistGroupTarget;
|
|
359
|
+
items: ChecklistItem[];
|
|
360
|
+
}
|
|
361
|
+
export interface OnboardingChecklist {
|
|
362
|
+
name: string;
|
|
363
|
+
intro: string;
|
|
364
|
+
createdBy: PerformedBy;
|
|
365
|
+
updatedBy: PerformedBy;
|
|
366
|
+
groups: ChecklistGroup[];
|
|
367
|
+
}
|
|
339
368
|
export interface KnowledgeSuggestion {
|
|
340
369
|
id: string;
|
|
341
370
|
name: string;
|
|
@@ -1803,6 +1832,15 @@ export interface ProjectTemplate {
|
|
|
1803
1832
|
build: ProjectTemplateBuildSnapshot;
|
|
1804
1833
|
targetPoolSize?: number;
|
|
1805
1834
|
variant: ProjectVariant;
|
|
1835
|
+
/**
|
|
1836
|
+
* The project kind and SKU inherited by projects created from this template.
|
|
1837
|
+
* Snapshotted from the project the template was built from, so a new agent
|
|
1838
|
+
* starts out as the same kind of agent, with the same SKU, as the one it was
|
|
1839
|
+
* modelled on. Unset means the created project gets no kind or SKU either.
|
|
1840
|
+
*/
|
|
1841
|
+
specialType?: SpecialProjectType;
|
|
1842
|
+
/** See {@link ProjectAgentType}. Snapshotted alongside {@link specialType}. */
|
|
1843
|
+
agentType?: ProjectAgentType;
|
|
1806
1844
|
initialPromptInstructions?: string;
|
|
1807
1845
|
secretNames?: string[];
|
|
1808
1846
|
secretRefs?: {
|
|
@@ -2745,8 +2783,19 @@ export interface AgentSkillBase {
|
|
|
2745
2783
|
content: string;
|
|
2746
2784
|
availability: "draft" | "preview" | "active";
|
|
2747
2785
|
/**
|
|
2748
|
-
* Restricts which
|
|
2749
|
-
* SpecialProjectType on the project doc.
|
|
2786
|
+
* Restricts which kinds of project can see this skill, mirroring
|
|
2787
|
+
* SpecialProjectType on the project doc. More than one kind may be listed:
|
|
2788
|
+
* a skill that reads the same for an operational agent and for a strategic
|
|
2789
|
+
* agent (a copilot) is tagged with both rather than duplicated per kind,
|
|
2790
|
+
* while one that does not — configuring a trigger, say — names only the kind
|
|
2791
|
+
* it applies to.
|
|
2792
|
+
*
|
|
2793
|
+
* Set this on new and edited skills. Unset or empty falls back to `type`.
|
|
2794
|
+
*/
|
|
2795
|
+
types?: SpecialProjectType[] | null;
|
|
2796
|
+
/**
|
|
2797
|
+
* Superseded by `types`, which can carry more than one kind. Still read when
|
|
2798
|
+
* `types` is unset, so skills written before it keep resolving.
|
|
2750
2799
|
* - null: defaults to SpecialProjectType.APP (backwards compatible)
|
|
2751
2800
|
*/
|
|
2752
2801
|
type?: SpecialProjectType | null;
|