@databutton/firebase-types 1.72.117 → 1.73.1

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.
@@ -980,10 +980,12 @@ export interface ProjectTemplate {
980
980
  frontends?: {
981
981
  name: string;
982
982
  code: string;
983
+ config?: FrontendConfig;
983
984
  }[];
984
985
  backends?: {
985
986
  name: string;
986
987
  code: string;
988
+ config?: BackendConfig;
987
989
  }[];
988
990
  requirements: ProjectTemplateRequirementsSnapshot;
989
991
  build: ProjectTemplateBuildSnapshot;
@@ -991,8 +993,10 @@ export interface ProjectTemplate {
991
993
  variant?: "streamlit" | "beyond-streamlit";
992
994
  initialPromptInstructions?: string;
993
995
  secretNames?: string[];
996
+ agentConfig?: Project["agentConfig"];
994
997
  extensions?: ProjectExtensions;
995
998
  annotations?: Record<string, string>;
999
+ guidelines?: ProjectGuidelines;
996
1000
  isExample?: boolean;
997
1001
  deployedToUrl?: string | null;
998
1002
  }
@@ -18,6 +18,10 @@ export type CreateProjectRequest = {
18
18
  projectTemplateId: string;
19
19
  requestSentAt: Timestamp;
20
20
  variant?: Project["variant"];
21
+ agentConfig?: Project["agentConfig"];
22
+ extensions?: Project["extensions"];
23
+ annotations?: Project["annotations"];
24
+ guidelines?: Project["guidelines"];
21
25
  };
22
26
  export type CreateProjectResponse = {
23
27
  projectId: string;
@@ -113,6 +117,14 @@ export type RestoreCommitResponse = {
113
117
  componentsRestored: ComponentWithCodeBlock[];
114
118
  componentsSkipped: ComponentWithCodeBlock[];
115
119
  };
120
+ export type CloneAppRequest = {
121
+ projectId: string;
122
+ newAppName?: string;
123
+ addUsersAsCollaborators?: string[];
124
+ };
125
+ export type CloneAppResponse = {
126
+ projectUrl: string;
127
+ };
116
128
  export type GetSignedDownloadUrlRequest = {
117
129
  projectId: string;
118
130
  fileType: "datafile" | "dataframe";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.72.117",
3
+ "version": "1.73.1",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {