@databutton/firebase-types 1.0.30 → 1.1.1

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.
@@ -82,7 +82,33 @@ export interface Schedule {
82
82
  id?: string;
83
83
  scheduleForm?: "Weekly" | "Custom";
84
84
  }
85
+ export interface ContentShape {
86
+ numberOfRows: number;
87
+ numberOfProperties: number;
88
+ }
89
+ export interface Uploading {
90
+ uploadedBy: PerformedBy;
91
+ dataKey: string;
92
+ blobKey: string;
93
+ contentType: string;
94
+ contentShape: ContentShape | null;
95
+ }
96
+ export interface Datafile {
97
+ createdBy: PerformedBy;
98
+ lastUpdatedBy: PerformedBy;
99
+ blobKey: string;
100
+ contentType: string;
101
+ href: string;
102
+ size: string;
103
+ md5: string;
104
+ markedForDeletionAt: Timestamp | null;
105
+ markedForDeletionBy: PerformedBy | null;
106
+ }
85
107
  export interface Dataframe {
108
+ createdBy?: PerformedBy;
109
+ lastUpdatedBy?: PerformedBy;
110
+ blobKey?: string;
111
+ contentType?: string;
86
112
  name?: string | null;
87
113
  slug?: string | null;
88
114
  createdAtMillis: number;
@@ -1,5 +1,6 @@
1
- import { App, Dataframe, Job, Project } from "./persisted";
1
+ import { App, Datafile, Dataframe, Job, Project } from "./persisted";
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">;
5
5
  export declare type DeleteDataframe = Pick<Dataframe, "markedForDeletionAt" | "markedForDeletionBy">;
6
+ export declare 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.0.30",
3
+ "version": "1.1.1",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/types/published/index.d.ts",
6
6
  "files": [
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@sendgrid/mail": "7.7.0",
43
- "@sentry/node": "7.15.0",
44
- "@sentry/tracing": "7.15.0",
43
+ "@sentry/node": "7.16.0",
44
+ "@sentry/tracing": "7.16.0",
45
45
  "@slack/web-api": "6.7.2",
46
46
  "analytics-node": "6.2.0",
47
47
  "axios": "0.27.2",
@@ -55,9 +55,9 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@firebase/rules-unit-testing": "2.0.4",
58
- "@sentry/types": "7.15.0",
58
+ "@sentry/types": "7.16.0",
59
59
  "@types/analytics-node": "3.1.9",
60
- "@types/jest": "29.1.2",
60
+ "@types/jest": "29.2.0",
61
61
  "@types/lodash": "4.14.186",
62
62
  "@types/node": "18.7.14",
63
63
  "@types/uuid": "8.3.4",
@@ -69,9 +69,9 @@
69
69
  "eslint-config-google": "0.14.0",
70
70
  "eslint-config-prettier": "8.5.0",
71
71
  "eslint-plugin-import": "2.26.0",
72
- "eslint-plugin-jest": "27.1.2",
72
+ "eslint-plugin-jest": "27.1.3",
73
73
  "firebase-functions-test": "2.4.0",
74
- "firebase-tools": "11.14.4",
74
+ "firebase-tools": "11.15.0",
75
75
  "jest": "28.1.3",
76
76
  "ts-jest": "28.0.8",
77
77
  "ts-node": "10.9.1",