@databutton/firebase-types 1.0.2 → 1.0.4

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 @@
1
- export * from "./types";
2
1
  export * from "./persisted";
@@ -108,3 +108,43 @@ export interface RunLog {
108
108
  msg: string;
109
109
  time: admin.firestore.Timestamp;
110
110
  }
111
+ export interface ProjectInvitation {
112
+ project: {
113
+ id: string;
114
+ name: string;
115
+ };
116
+ state: "pending" | "withdrawn" | "accepted" | "cancelled";
117
+ createdAt: admin.firestore.Timestamp;
118
+ acceptedAt: admin.firestore.Timestamp | null;
119
+ role: "member";
120
+ from: {
121
+ userId: string;
122
+ email: string;
123
+ };
124
+ to: {
125
+ email: string;
126
+ };
127
+ }
128
+ export interface Project {
129
+ createdAt: admin.firestore.Timestamp;
130
+ isPublic: boolean;
131
+ markedForDeletionAt: admin.firestore.Timestamp | null;
132
+ members: string[];
133
+ name: string;
134
+ owner: string;
135
+ projectCardColor: string;
136
+ projectUrl: string;
137
+ current_deployment_id?: string;
138
+ shouldShowStartGuide?: boolean;
139
+ about?: string;
140
+ githubUrl?: string;
141
+ isShowcase?: boolean;
142
+ last_deployed?: admin.firestore.Timestamp;
143
+ schema?: "2022-08-22" | null;
144
+ devxUrl?: string;
145
+ prodxUrl?: string;
146
+ deployIsInProgress?: boolean;
147
+ deployFinishedAt?: admin.firestore.Timestamp;
148
+ deployCurrentDeployedId?: string;
149
+ deployLastDeploymentSuccess?: boolean;
150
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/types/published/index.d.ts",
6
6
  "files": [
@@ -9,6 +9,11 @@
9
9
  "release": {
10
10
  "branches": [
11
11
  "main"
12
+ ],
13
+ "plugins": [
14
+ "@semantic-release/commit-analyzer",
15
+ "@semantic-release/npm",
16
+ "@semantic-release/github"
12
17
  ]
13
18
  },
14
19
  "scripts": {
@@ -1,41 +0,0 @@
1
- import * as admin from "firebase-admin";
2
- export interface Project {
3
- createdAt: admin.firestore.Timestamp;
4
- isPublic: boolean;
5
- markedForDeletionAt: admin.firestore.Timestamp | null;
6
- members: string[];
7
- name: string;
8
- owner: string;
9
- projectCardColor: string;
10
- projectUrl: string;
11
- current_deployment_id?: string;
12
- shouldShowStartGuide?: boolean;
13
- about?: string;
14
- githubUrl?: string;
15
- isShowcase?: boolean;
16
- last_deployed?: admin.firestore.Timestamp;
17
- schema?: "2022-08-22" | null;
18
- devxUrl?: string;
19
- prodxUrl?: string;
20
- deployIsInProgress?: boolean;
21
- deployFinishedAt?: admin.firestore.Timestamp;
22
- deployCurrentDeployedId?: string;
23
- deployLastDeploymentSuccess?: boolean;
24
- }
25
- export interface ProjectInvitation {
26
- project: {
27
- id: string;
28
- name: string;
29
- };
30
- state: "pending" | "withdrawn" | "accepted" | "cancelled";
31
- createdAt: admin.firestore.Timestamp;
32
- acceptedAt: admin.firestore.Timestamp | null;
33
- role: "member";
34
- from: {
35
- userId: string;
36
- email: string;
37
- };
38
- to: {
39
- email: string;
40
- };
41
- }