@databutton/firebase-types 0.0.1 → 0.0.3

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.
package/README.md CHANGED
@@ -1,6 +1,3 @@
1
- [![Deploy functions to firebase](https://github.com/databutton/databutton-firebase/actions/workflows/deploy-firebase-functions.yml/badge.svg)](https://github.com/databutton/databutton-firebase/actions/workflows/deploy-firebase-functions.yml)
2
- [![Deploy functions to firebase](https://github.com/databutton/databutton-firebase/actions/workflows/deploy-firebase-functions.yml/badge.svg)](https://github.com/databutton/databutton-firebase/actions/workflows/deploy-firebase-functions.yml)
3
-
4
1
  # Running functions in shell (locally)
5
2
 
6
3
  *Note:* You need Google Credentials
@@ -21,4 +18,3 @@ Execute the script running this command
21
18
  yarn execute
22
19
  ```
23
20
 
24
- **Note:** This file is added to git with a non-destructive example script and then put into `.gitignore` so it doesn't change elsewhere than locally.
@@ -20,6 +20,7 @@ export interface App {
20
20
  variant: "streamlit";
21
21
  markedForDeletionAt: admin.firestore.Timestamp | null;
22
22
  shortUrl: string;
23
+ category: string | null;
23
24
  }
24
25
  export interface Job {
25
26
  name: string;
@@ -56,6 +57,7 @@ export interface Schedule {
56
57
  cronTimezone: string;
57
58
  state: "ACTIVE" | "PAUSED";
58
59
  id?: string;
60
+ scheduleForm?: "Weekly" | "Custom";
59
61
  }
60
62
  export interface Dataframe {
61
63
  createdAtMillis: number;
@@ -92,3 +94,17 @@ export interface ShortUrlRedirect {
92
94
  to: string;
93
95
  }
94
96
  export declare type ShortUrl = ShortUrlRef | ShortUrlRedirect;
97
+ export interface JobRun {
98
+ duration: number;
99
+ endTime?: admin.firestore.Timestamp;
100
+ jobId: string;
101
+ nextRunTime?: admin.firestore.Timestamp;
102
+ startTime: admin.firestore.Timestamp;
103
+ deadline?: admin.firestore.Timestamp;
104
+ success: boolean;
105
+ exitcode: number;
106
+ }
107
+ export interface RunLog {
108
+ msg: string;
109
+ time: admin.firestore.Timestamp;
110
+ }
@@ -8,11 +8,14 @@ export interface Project {
8
8
  owner: string;
9
9
  projectCardColor: string;
10
10
  projectUrl: string;
11
+ shouldShowStartGuide?: boolean;
11
12
  about?: string;
12
13
  githubUrl?: string;
13
14
  isShowcase?: boolean;
14
15
  last_deployed?: admin.firestore.Timestamp;
15
16
  schema?: "2022-08-22" | null;
17
+ devxUrl?: string;
18
+ prodxUrl?: string;
16
19
  deployIsInProgress?: boolean;
17
20
  deployFinishedAt?: admin.firestore.Timestamp;
18
21
  deployCurrentDeployedId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "main": "",
5
5
  "types": "lib/types/published/index.d.ts",
6
6
  "files": [