@databutton/firebase-types 1.73.16 → 1.73.17
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.
|
@@ -1012,7 +1012,8 @@ export interface ProjectTemplate {
|
|
|
1012
1012
|
guidelines?: ProjectGuidelines;
|
|
1013
1013
|
isExample?: boolean;
|
|
1014
1014
|
deployedToUrl?: string | null;
|
|
1015
|
-
|
|
1015
|
+
clonableBy?: "all" | "selected" | "owner";
|
|
1016
|
+
selectedUsersAllowedToClone?: string[];
|
|
1016
1017
|
}
|
|
1017
1018
|
export interface Requirements {
|
|
1018
1019
|
createdBy: PerformedBy;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Timestamp } from "firebase/firestore";
|
|
2
|
-
import type { Datafile, Dataframe, Job, Project } from "./persisted.js";
|
|
2
|
+
import type { Datafile, Dataframe, Job, Project, ProjectTemplate } from "./persisted.js";
|
|
3
3
|
export type DeleteJob = Pick<Job, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
4
4
|
export type DeleteProject = Pick<Project, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
5
5
|
export type DeleteDataframe = Pick<Dataframe, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
@@ -9,6 +9,8 @@ export type CreateOrUpdateProjectTemplateRequest = {
|
|
|
9
9
|
projectTemplateId: string | null;
|
|
10
10
|
name: string;
|
|
11
11
|
description: string;
|
|
12
|
+
clonableBy?: ProjectTemplate["clonableBy"];
|
|
13
|
+
selectedUsersAllowedToClone?: ProjectTemplate["selectedUsersAllowedToClone"];
|
|
12
14
|
};
|
|
13
15
|
export type CreateProjectRequest = {
|
|
14
16
|
name: string;
|