@databutton/firebase-types 1.4.0 → 1.5.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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./persisted";
|
|
2
|
-
export * from "./requests";
|
|
1
|
+
export * from "./persisted.js";
|
|
2
|
+
export * from "./requests.js";
|
|
@@ -41,6 +41,11 @@ export interface App {
|
|
|
41
41
|
export interface AppVisit {
|
|
42
42
|
visitedBy: PerformedBy;
|
|
43
43
|
}
|
|
44
|
+
export interface AppScreenshot {
|
|
45
|
+
capturedBy: PerformedBySystem;
|
|
46
|
+
base64Image: string;
|
|
47
|
+
deploymentId: string | null;
|
|
48
|
+
}
|
|
44
49
|
export interface Job {
|
|
45
50
|
name: string;
|
|
46
51
|
slug: string;
|
|
@@ -89,30 +94,25 @@ export interface ContentShape {
|
|
|
89
94
|
numberOfRows: number;
|
|
90
95
|
numberOfProperties: number;
|
|
91
96
|
}
|
|
92
|
-
export interface Uploading {
|
|
93
|
-
uploadedBy: PerformedBy;
|
|
94
|
-
dataKey: string;
|
|
95
|
-
blobKey: string;
|
|
96
|
-
contentType: string;
|
|
97
|
-
contentShape: ContentShape | null;
|
|
98
|
-
}
|
|
99
97
|
export interface Datafile {
|
|
100
98
|
name?: string | null;
|
|
101
99
|
slug?: string | null;
|
|
102
100
|
createdBy: PerformedBy;
|
|
103
101
|
lastUpdatedBy: PerformedBy;
|
|
104
|
-
blobKey: string;
|
|
105
102
|
contentType: string;
|
|
106
103
|
href: string;
|
|
107
|
-
|
|
104
|
+
blobGeneration: string;
|
|
108
105
|
md5: string;
|
|
106
|
+
etag: string;
|
|
107
|
+
size: string;
|
|
108
|
+
sizeInMb: string;
|
|
109
109
|
markedForDeletionAt: Timestamp | null;
|
|
110
110
|
markedForDeletionBy: PerformedBy | null;
|
|
111
111
|
}
|
|
112
112
|
export interface Dataframe {
|
|
113
113
|
createdBy?: PerformedBy;
|
|
114
114
|
lastUpdatedBy?: PerformedBy;
|
|
115
|
-
|
|
115
|
+
blobGeneration?: string;
|
|
116
116
|
contentType?: string;
|
|
117
117
|
name?: string | null;
|
|
118
118
|
slug?: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { App, Datafile, Dataframe, Job, Project } from "./persisted";
|
|
1
|
+
import { App, Datafile, Dataframe, Job, Project } from "./persisted.js";
|
|
2
2
|
export declare type DeleteJob = Pick<Job, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
3
3
|
export declare type DeleteApp = Pick<App, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
4
4
|
export declare type DeleteProject = Pick<Project, "markedForDeletionAt" | "markedForDeletionBy">;
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databutton/firebase-types",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"main": "lib/index.js",
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"main": "./lib/index.js",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": "16"
|
|
8
|
+
},
|
|
5
9
|
"types": "lib/types/published/index.d.ts",
|
|
6
10
|
"files": [
|
|
7
11
|
"lib/types/published/**/*.d.ts"
|
|
@@ -20,7 +24,7 @@
|
|
|
20
24
|
"lint": "eslint --ext .js,.ts . && tsc --noEmit",
|
|
21
25
|
"prepublishOnly": "tsc && rm lib/index.js",
|
|
22
26
|
"build": "tsc",
|
|
23
|
-
"execute": "ts-node functions/run.ts",
|
|
27
|
+
"execute": "ts-node-esm functions/run.ts",
|
|
24
28
|
"serve": "yarn build && firebase emulators:start --only functions",
|
|
25
29
|
"shell": "yarn build && firebase functions:shell",
|
|
26
30
|
"start": "yarn shell",
|
|
@@ -35,21 +39,20 @@
|
|
|
35
39
|
"jest": "jest",
|
|
36
40
|
"semantic-release": "semantic-release"
|
|
37
41
|
},
|
|
38
|
-
"engines": {
|
|
39
|
-
"node": "16"
|
|
40
|
-
},
|
|
41
42
|
"dependencies": {
|
|
42
43
|
"@sendgrid/mail": "7.7.0",
|
|
43
44
|
"@sentry/node": "7.16.0",
|
|
44
45
|
"@sentry/tracing": "7.16.0",
|
|
45
46
|
"@slack/web-api": "6.7.2",
|
|
46
47
|
"analytics-node": "6.2.0",
|
|
47
|
-
"
|
|
48
|
+
"capture-website": "3.2.0",
|
|
48
49
|
"cors": "2.8.5",
|
|
49
50
|
"firebase": "9.12.1",
|
|
50
51
|
"firebase-admin": "11.2.0",
|
|
51
|
-
"firebase-functions": "
|
|
52
|
+
"firebase-functions": "4.0.1",
|
|
52
53
|
"intercom-client": "3.1.5",
|
|
54
|
+
"ky": "0.31.4",
|
|
55
|
+
"ky-universal": "0.11.0",
|
|
53
56
|
"lodash": "4.17.21",
|
|
54
57
|
"nanoid": "3.3.4",
|
|
55
58
|
"uuid": "8.3.2"
|
|
@@ -62,8 +65,8 @@
|
|
|
62
65
|
"@types/lodash": "4.14.186",
|
|
63
66
|
"@types/node": "18.7.14",
|
|
64
67
|
"@types/uuid": "8.3.4",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
66
|
-
"@typescript-eslint/parser": "5.
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "5.41.0",
|
|
69
|
+
"@typescript-eslint/parser": "5.41.0",
|
|
67
70
|
"dotenv": "16.0.3",
|
|
68
71
|
"eslint": "8.26.0",
|
|
69
72
|
"eslint-config-airbnb-base": "15.0.0",
|
|
@@ -71,6 +74,7 @@
|
|
|
71
74
|
"eslint-config-prettier": "8.5.0",
|
|
72
75
|
"eslint-plugin-import": "2.26.0",
|
|
73
76
|
"eslint-plugin-jest": "27.1.3",
|
|
77
|
+
"eslint-plugin-node": "11.1.0",
|
|
74
78
|
"firebase-functions-test": "2.4.0",
|
|
75
79
|
"firebase-tools": "11.15.0",
|
|
76
80
|
"jest": "28.1.3",
|