@databutton/firebase-types 1.52.6 → 1.52.7
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.
|
@@ -199,6 +199,9 @@ export interface MultipageAppPage {
|
|
|
199
199
|
*/
|
|
200
200
|
sequence: number;
|
|
201
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* @deprecated No longer in use, but might still exist in the db
|
|
204
|
+
*/
|
|
202
205
|
export interface App {
|
|
203
206
|
name: string;
|
|
204
207
|
slug: string;
|
|
@@ -240,12 +243,21 @@ export interface Job {
|
|
|
240
243
|
category: string | null;
|
|
241
244
|
codeBlockRef: string;
|
|
242
245
|
}
|
|
243
|
-
export interface
|
|
244
|
-
type: "app" | "job" | "module" | "page";
|
|
246
|
+
export interface CodeBlockBase {
|
|
245
247
|
createdAtUtc: Timestamp;
|
|
246
248
|
componentId: string;
|
|
247
249
|
controlTakenBy?: PerformedBy | null;
|
|
248
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* @deprecated No longer in product, but might still exist in the firebase
|
|
253
|
+
*/
|
|
254
|
+
export interface CodeBlockDeprecated extends CodeBlockBase {
|
|
255
|
+
type: "app";
|
|
256
|
+
}
|
|
257
|
+
export interface CodeBlockLive extends CodeBlockBase {
|
|
258
|
+
type: "job" | "module" | "page";
|
|
259
|
+
}
|
|
260
|
+
export type CodeBlock = CodeBlockLive | CodeBlockDeprecated;
|
|
249
261
|
export interface CodeBlockCheckpoint {
|
|
250
262
|
title: string | null;
|
|
251
263
|
codeBlockVersionRef: string;
|