@databutton/firebase-types 1.107.0 → 1.108.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";
@@ -198,6 +198,17 @@ type UseSecretApprovalConfig = {
198
198
  };
199
199
  export type UseSecretApprovalRequest = ApprovalRequestBase<"use-secret", UseSecretApprovalConfig>;
200
200
  export type ApprovalRequest = AddPermissionApprovalRequest | UseIntegrationApprovalRequest | DeployProjectApprovalRequest | UseSecretApprovalRequest;
201
+ export interface KnowledgeSuggestion {
202
+ id: string;
203
+ name: string;
204
+ content: string;
205
+ type: string;
206
+ metadata: Record<string, unknown>;
207
+ reason: string;
208
+ timestamp: string;
209
+ sourceProjectId: string;
210
+ createdBy: PerformedBy;
211
+ }
201
212
  /**
202
213
  * A list of account IDs that the user is at least a member of
203
214
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.107.0",
3
+ "version": "1.108.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {