@databutton/firebase-types 1.12.13 → 1.12.15
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,13 @@ export interface App {
|
|
|
42
42
|
isPublic?: boolean;
|
|
43
43
|
category: string | null;
|
|
44
44
|
}
|
|
45
|
+
export interface Module {
|
|
46
|
+
name: string;
|
|
47
|
+
slug: string;
|
|
48
|
+
createdBy: PerformedBy;
|
|
49
|
+
markedForDeletionBy: PerformedBy | null;
|
|
50
|
+
codeBlockRef: string;
|
|
51
|
+
}
|
|
45
52
|
export interface AppVisit {
|
|
46
53
|
visitedBy: PerformedBy | null;
|
|
47
54
|
}
|
|
@@ -60,20 +67,24 @@ export interface Job {
|
|
|
60
67
|
category: string | null;
|
|
61
68
|
}
|
|
62
69
|
export interface CodeBlock {
|
|
63
|
-
type: "app" | "job";
|
|
70
|
+
type: "app" | "job" | "module";
|
|
64
71
|
createdAtUtc: Timestamp;
|
|
65
72
|
componentId: string;
|
|
66
73
|
controlTakenBy?: PerformedBy | null;
|
|
67
74
|
}
|
|
68
75
|
export interface CodeBlockVersion {
|
|
76
|
+
name?: string;
|
|
69
77
|
code: string;
|
|
70
|
-
|
|
71
|
-
nextCodeBlockVersionId?: string | null;
|
|
78
|
+
prevCodeBlockVersionRef?: string | null;
|
|
72
79
|
createdBy?: PerformedBy;
|
|
73
80
|
createdAtUtc: Timestamp;
|
|
74
81
|
version: string;
|
|
75
82
|
description: string;
|
|
76
83
|
}
|
|
84
|
+
interface ModuleRef {
|
|
85
|
+
moduleRef: string;
|
|
86
|
+
lastCodeBlockVersionRef: string;
|
|
87
|
+
}
|
|
77
88
|
export interface Deployment {
|
|
78
89
|
createdAt: Timestamp;
|
|
79
90
|
createdById: string;
|
|
@@ -83,6 +94,7 @@ export interface Deployment {
|
|
|
83
94
|
codeBlockId: string;
|
|
84
95
|
codeBlockVersionId: string;
|
|
85
96
|
codeRef: string;
|
|
97
|
+
modules?: ModuleRef[];
|
|
86
98
|
requirementsRef?: string | null;
|
|
87
99
|
projectEventRef?: string | null;
|
|
88
100
|
}
|