@databutton/firebase-types 1.71.8 → 1.71.10

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.
@@ -56,6 +56,7 @@ export declare enum CollectionName {
56
56
  TOKEN_USAGE_RECORDS = "token-usage-records",
57
57
  UI_COMPONENTS = "ui-components",
58
58
  UI_FILES = "ui-files",
59
+ TASKS = "tasks",
59
60
  TOKEN_USAGE_ENTRIES = "entries",
60
61
  COMPUTE_HOUR_USAGE = "compute-hour-usage",
61
62
  CREDIT_TRANSACTIONS = "credit-transactions",
@@ -84,6 +85,7 @@ export declare enum DatabuttonIdPrefix {
84
85
  PROJECT_TEMPLATE = "pt",
85
86
  SCHEDULE = "sc",
86
87
  STREAMLIT_APP = "st",
88
+ TASKS = "ts",
87
89
  THREADS = "th",
88
90
  UI_COMPONENT = "uic",
89
91
  UI_FILE = "uif",
@@ -57,6 +57,7 @@ export var CollectionName;
57
57
  CollectionName["TOKEN_USAGE_RECORDS"] = "token-usage-records";
58
58
  CollectionName["UI_COMPONENTS"] = "ui-components";
59
59
  CollectionName["UI_FILES"] = "ui-files";
60
+ CollectionName["TASKS"] = "tasks";
60
61
  CollectionName["TOKEN_USAGE_ENTRIES"] = "entries";
61
62
  CollectionName["COMPUTE_HOUR_USAGE"] = "compute-hour-usage";
62
63
  CollectionName["CREDIT_TRANSACTIONS"] = "credit-transactions";
@@ -86,6 +87,7 @@ export var DatabuttonIdPrefix;
86
87
  DatabuttonIdPrefix["PROJECT_TEMPLATE"] = "pt";
87
88
  DatabuttonIdPrefix["SCHEDULE"] = "sc";
88
89
  DatabuttonIdPrefix["STREAMLIT_APP"] = "st";
90
+ DatabuttonIdPrefix["TASKS"] = "ts";
89
91
  DatabuttonIdPrefix["THREADS"] = "th";
90
92
  DatabuttonIdPrefix["UI_COMPONENT"] = "uic";
91
93
  DatabuttonIdPrefix["UI_FILE"] = "uif";
@@ -547,6 +547,18 @@ export interface StaticAsset {
547
547
  size: string;
548
548
  name?: string;
549
549
  }
550
+ export type Task = {
551
+ createdBy: PerformedBy;
552
+ updatedBy: PerformedBy;
553
+ markedForDeletionBy: PerformedBy | null;
554
+ managedBy: ManagedBy | null;
555
+ parentId: string | null;
556
+ status: TaskStatus;
557
+ id: string;
558
+ title: string;
559
+ description: string;
560
+ labels: string[];
561
+ };
550
562
  export interface Viewer {
551
563
  userId: string | null;
552
564
  recipient: string;
@@ -614,6 +626,15 @@ export declare enum ProjectLifeStage {
614
626
  Deleting = "deleting",
615
627
  Deleted = "deleted"
616
628
  }
629
+ export declare enum TaskStatus {
630
+ TODO = "todo",
631
+ IN_PROGRESS = "inprogress",
632
+ DONE = "done"
633
+ }
634
+ export declare enum ManagedBy {
635
+ AGENT = "agent",
636
+ USER = "user"
637
+ }
617
638
  export interface ProjectLifeStageChangeRequest {
618
639
  targetLifeStage: ProjectLifeStage;
619
640
  requestedBy: PerformedBy;
@@ -34,6 +34,17 @@ export var ProjectLifeStage;
34
34
  ProjectLifeStage["Deleting"] = "deleting";
35
35
  ProjectLifeStage["Deleted"] = "deleted";
36
36
  })(ProjectLifeStage = ProjectLifeStage || (ProjectLifeStage = {}));
37
+ export var TaskStatus;
38
+ (function (TaskStatus) {
39
+ TaskStatus["TODO"] = "todo";
40
+ TaskStatus["IN_PROGRESS"] = "inprogress";
41
+ TaskStatus["DONE"] = "done";
42
+ })(TaskStatus = TaskStatus || (TaskStatus = {}));
43
+ export var ManagedBy;
44
+ (function (ManagedBy) {
45
+ ManagedBy["AGENT"] = "agent";
46
+ ManagedBy["USER"] = "user";
47
+ })(ManagedBy = ManagedBy || (ManagedBy = {}));
37
48
  export var ProjectBuildStage;
38
49
  (function (ProjectBuildStage) {
39
50
  ProjectBuildStage["IDEATE"] = "ideate";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.71.8",
3
+ "version": "1.71.10",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {