@databutton/firebase-types 1.74.51 → 1.74.53
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.
|
@@ -140,3 +140,10 @@ export declare enum CodeComponentType {
|
|
|
140
140
|
UI_FILE = "ui-file",
|
|
141
141
|
UI_COMPONENT = "ui-component"
|
|
142
142
|
}
|
|
143
|
+
export declare enum TaskPriority {
|
|
144
|
+
LOW = "low",
|
|
145
|
+
MEDIUM = "medium",
|
|
146
|
+
HIGH = "high",
|
|
147
|
+
URGENT = "urgent",
|
|
148
|
+
BLOCKER = "blocker"
|
|
149
|
+
}
|
|
@@ -150,4 +150,12 @@ export var CodeComponentType;
|
|
|
150
150
|
CodeComponentType["UI_FILE"] = "ui-file";
|
|
151
151
|
CodeComponentType["UI_COMPONENT"] = "ui-component";
|
|
152
152
|
})(CodeComponentType = CodeComponentType || (CodeComponentType = {}));
|
|
153
|
+
export var TaskPriority;
|
|
154
|
+
(function (TaskPriority) {
|
|
155
|
+
TaskPriority["LOW"] = "low";
|
|
156
|
+
TaskPriority["MEDIUM"] = "medium";
|
|
157
|
+
TaskPriority["HIGH"] = "high";
|
|
158
|
+
TaskPriority["URGENT"] = "urgent";
|
|
159
|
+
TaskPriority["BLOCKER"] = "blocker";
|
|
160
|
+
})(TaskPriority = TaskPriority || (TaskPriority = {}));
|
|
153
161
|
//# sourceMappingURL=enums.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Timestamp } from "firebase/firestore";
|
|
2
2
|
import type { JsonObject, Primitive } from "type-fest";
|
|
3
|
-
import type { ProjectMigration, ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName, UiComponentTag } from "./enums.js";
|
|
3
|
+
import type { ProjectMigration, TaskPriority, ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName, UiComponentTag } from "./enums.js";
|
|
4
4
|
/**
|
|
5
5
|
* Types here should reflect data format stored in firestore and
|
|
6
6
|
* either be backwards-compatible or migrated when needed
|
|
@@ -579,6 +579,7 @@ export type Task = {
|
|
|
579
579
|
codeSnippets?: TaskCodeSnippet[];
|
|
580
580
|
parentId: string | null;
|
|
581
581
|
status: TaskStatus;
|
|
582
|
+
priority?: TaskPriority | null;
|
|
582
583
|
title: string;
|
|
583
584
|
description: string;
|
|
584
585
|
labels: string[];
|