@databutton/firebase-types
Advanced tools
Comparing version 1.71.52 to 1.71.53
export declare enum CollectionName { | ||
ADMIN_CONFIG = "admin-config", | ||
AUDIT_LOGS = "audit-logs", | ||
APPBUTLERS = "appbutlers", | ||
@@ -4,0 +5,0 @@ APP_CONFIG_SNAPSHOTS = "app-config-snapshots", |
export var CollectionName; | ||
(function (CollectionName) { | ||
CollectionName["ADMIN_CONFIG"] = "admin-config"; | ||
CollectionName["AUDIT_LOGS"] = "audit-logs"; | ||
CollectionName["APPBUTLERS"] = "appbutlers"; | ||
@@ -5,0 +6,0 @@ CollectionName["APP_CONFIG_SNAPSHOTS"] = "app-config-snapshots"; |
@@ -15,2 +15,8 @@ import type { Timestamp } from "firebase/firestore"; | ||
} | ||
export interface AuditLog<T = JsonObject> { | ||
createdBy: PerformedBy; | ||
event: string; | ||
comment: string; | ||
metadata: T; | ||
} | ||
export interface PerformedBySystem extends PerformerBase { | ||
@@ -17,0 +23,0 @@ type: "system"; |
{ | ||
"name": "@databutton/firebase-types", | ||
"version": "1.71.52", | ||
"version": "1.71.53", | ||
"main": "lib/types/published/index.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
55397
12
1903