@databutton/firebase-types 1.12.14 → 1.12.16
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.
|
@@ -14,7 +14,7 @@ export interface PerformedByUser extends PerformerBase {
|
|
|
14
14
|
export interface PerformedBySystem extends PerformerBase {
|
|
15
15
|
type: "system";
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export type PerformedBy = PerformedByUser | PerformedBySystem;
|
|
18
18
|
export interface Profile {
|
|
19
19
|
displayName: string;
|
|
20
20
|
email?: string;
|
|
@@ -73,14 +73,18 @@ export interface CodeBlock {
|
|
|
73
73
|
controlTakenBy?: PerformedBy | null;
|
|
74
74
|
}
|
|
75
75
|
export interface CodeBlockVersion {
|
|
76
|
+
name?: string;
|
|
76
77
|
code: string;
|
|
77
|
-
|
|
78
|
-
nextCodeBlockVersionId?: string | null;
|
|
78
|
+
prevCodeBlockVersionRef?: string | null;
|
|
79
79
|
createdBy?: PerformedBy;
|
|
80
80
|
createdAtUtc: Timestamp;
|
|
81
81
|
version: string;
|
|
82
82
|
description: string;
|
|
83
83
|
}
|
|
84
|
+
interface ModuleRef {
|
|
85
|
+
moduleRef: string;
|
|
86
|
+
lastCodeBlockVersionRef: string;
|
|
87
|
+
}
|
|
84
88
|
export interface Deployment {
|
|
85
89
|
createdAt: Timestamp;
|
|
86
90
|
createdById: string;
|
|
@@ -90,6 +94,7 @@ export interface Deployment {
|
|
|
90
94
|
codeBlockId: string;
|
|
91
95
|
codeBlockVersionId: string;
|
|
92
96
|
codeRef: string;
|
|
97
|
+
modules?: ModuleRef[];
|
|
93
98
|
requirementsRef?: string | null;
|
|
94
99
|
projectEventRef?: string | null;
|
|
95
100
|
}
|
|
@@ -163,7 +168,7 @@ export interface ShortUrlRedirect {
|
|
|
163
168
|
active: boolean;
|
|
164
169
|
to: string;
|
|
165
170
|
}
|
|
166
|
-
export
|
|
171
|
+
export type ShortUrl = ShortUrlRef | ShortUrlRedirect;
|
|
167
172
|
export interface JobRun {
|
|
168
173
|
duration: number;
|
|
169
174
|
endTime?: Timestamp;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { App, Datafile, Dataframe, Job, Project } from "./persisted.js";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
2
|
+
export type DeleteJob = Pick<Job, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
3
|
+
export type DeleteApp = Pick<App, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
4
|
+
export type DeleteProject = Pick<Project, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
5
|
+
export type DeleteDataframe = Pick<Dataframe, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
6
|
+
export type DeleteDatafile = Pick<Datafile, "markedForDeletionAt" | "markedForDeletionBy">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databutton/firebase-types",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.16",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"capture-website": "3.2.0",
|
|
51
51
|
"cors": "2.8.5",
|
|
52
52
|
"firebase": "9.14.0",
|
|
53
|
-
"firebase-admin": "11.
|
|
53
|
+
"firebase-admin": "11.3.0",
|
|
54
54
|
"firebase-functions": "4.0.2",
|
|
55
55
|
"google-auth-library": "^8.6.0",
|
|
56
56
|
"intercom-client": "3.1.5",
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
"@types/uuid": "8.3.4",
|
|
71
71
|
"dotenv": "16.0.3",
|
|
72
72
|
"firebase-functions-test": "2.4.0",
|
|
73
|
-
"firebase-tools": "11.16.
|
|
73
|
+
"firebase-tools": "11.16.1",
|
|
74
74
|
"jest": "28.1.3",
|
|
75
75
|
"rome": "10.0.1",
|
|
76
76
|
"semantic-release": "19.0.5",
|
|
77
77
|
"ts-jest": "28.0.8",
|
|
78
78
|
"ts-node": "10.9.1",
|
|
79
|
-
"typescript": "4.
|
|
79
|
+
"typescript": "4.9.3"
|
|
80
80
|
},
|
|
81
81
|
"repository": {
|
|
82
82
|
"type": "git",
|