@databutton/firebase-types 1.81.2 → 1.81.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.
|
@@ -127,11 +127,22 @@ export type RestoreCommitResponse = {
|
|
|
127
127
|
componentsRestored: ComponentWithCodeBlock[];
|
|
128
128
|
componentsSkipped: ComponentWithCodeBlock[];
|
|
129
129
|
};
|
|
130
|
+
export interface MessageToCopy {
|
|
131
|
+
id?: string;
|
|
132
|
+
timestamp?: string | number;
|
|
133
|
+
role?: string;
|
|
134
|
+
content?: string;
|
|
135
|
+
externalRef?: string;
|
|
136
|
+
source?: string;
|
|
137
|
+
name?: string;
|
|
138
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
139
|
+
}
|
|
130
140
|
export type CloneAppRequest = {
|
|
131
141
|
projectId: string;
|
|
132
142
|
newAppName?: string;
|
|
133
143
|
addUsersAsCollaborators?: string[];
|
|
134
144
|
commitId?: string;
|
|
145
|
+
messagesToCopy?: MessageToCopy[];
|
|
135
146
|
};
|
|
136
147
|
export type DeactivateUserRequest = null;
|
|
137
148
|
export type DeactivateUserResponse = {
|
|
@@ -139,6 +150,10 @@ export type DeactivateUserResponse = {
|
|
|
139
150
|
};
|
|
140
151
|
export type CloneAppResponse = {
|
|
141
152
|
projectUrl: string;
|
|
153
|
+
messageCopyingPerformed?: boolean;
|
|
154
|
+
messagesCopiedCount?: number;
|
|
155
|
+
messagesFailedCount?: number;
|
|
156
|
+
newThreadId?: string;
|
|
142
157
|
};
|
|
143
158
|
export type GetSignedDownloadUrlRequest = {
|
|
144
159
|
projectId: string;
|