@databutton/firebase-types 1.12.57 → 1.12.59

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.
@@ -254,6 +254,29 @@ export interface Project {
254
254
  deployCurrentDeployedId?: string;
255
255
  deployLastDeploymentSuccess?: boolean;
256
256
  }
257
+ export interface ProjectTemplate {
258
+ createdBy: PerformedBy;
259
+ lastUpdatedBy: PerformedBy;
260
+ basedOnProjectId: string;
261
+ name: string;
262
+ description: string | null;
263
+ apps: {
264
+ name: string;
265
+ code: string;
266
+ }[];
267
+ jobs: {
268
+ name: string;
269
+ code: string;
270
+ }[];
271
+ modules: {
272
+ name: string;
273
+ code: string;
274
+ }[];
275
+ requirements: {
276
+ dbtnControlledRequirementsTxt: string;
277
+ requirementsTxt: string;
278
+ };
279
+ }
257
280
  export interface Requirements {
258
281
  createdBy: PerformedBy;
259
282
  prevRequirementsId: string | null;
@@ -4,3 +4,9 @@ export type DeleteApp = Pick<App, "markedForDeletionAt" | "markedForDeletionBy">
4
4
  export type DeleteProject = Pick<Project, "markedForDeletionAt" | "markedForDeletionBy">;
5
5
  export type DeleteDataframe = Pick<Dataframe, "markedForDeletionAt" | "markedForDeletionBy">;
6
6
  export type DeleteDatafile = Pick<Datafile, "markedForDeletionAt" | "markedForDeletionBy">;
7
+ export type CreateOrUpdateProjectTemplateRequest = {
8
+ projectId: string;
9
+ projectTemplateId: string | null;
10
+ name: string;
11
+ description: string;
12
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.12.57",
3
+ "version": "1.12.59",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "engines": {