@databutton/firebase-types 1.177.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;
|