@databutton/firebase-types 1.0.9 → 1.0.11

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.
@@ -63,6 +63,7 @@ export interface Deployment {
63
63
  codeBlockId: string;
64
64
  codeBlockVersionId: string;
65
65
  codeRef: string;
66
+ requirementsRef?: string | null;
66
67
  }
67
68
  export interface Schedule {
68
69
  createdAt: Timestamp;
@@ -165,4 +166,17 @@ export interface Project {
165
166
  deployCurrentDeployedId?: string;
166
167
  deployLastDeploymentSuccess?: boolean;
167
168
  }
169
+ export interface Requirements {
170
+ createdBy: PerformedBy;
171
+ prevRequirementsId: string | null;
172
+ requirementsTxt: string;
173
+ requirementsLock: string | null;
174
+ }
175
+ export interface ProjectEvent {
176
+ status: "FAILURE" | "IN_PROGRESS" | "SUCCESS";
177
+ message: string;
178
+ read: boolean;
179
+ link: string | null;
180
+ createdBy: PerformedBy;
181
+ }
168
182
  export {};
@@ -0,0 +1,4 @@
1
+ import { Job, App, Project } from "./persisted";
2
+ export declare type DeleteJob = Pick<Job, "markedForDeletionAt" | "markedForDeletionBy">;
3
+ export declare type DeleteApp = Pick<App, "markedForDeletionAt" | "markedForDeletionBy">;
4
+ export declare type DeleteProject = Pick<Project, "markedForDeletionAt" | "markedForDeletionBy">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/types/published/index.d.ts",
6
6
  "files": [