@databutton/firebase-types 1.74.7 → 1.74.9

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.
@@ -33,6 +33,7 @@ export interface PublicUsername {
33
33
  username: string;
34
34
  slug: string;
35
35
  claimedAt: Timestamp;
36
+ changedTo?: string;
36
37
  }
37
38
  export type ToSVersion = "2024-02-13";
38
39
  export interface Profile {
@@ -573,6 +574,7 @@ export type Task = {
573
574
  updatedBy: PerformedBy;
574
575
  markedForDeletionBy: PerformedBy | null;
575
576
  managedBy: ManagedBy | null;
577
+ codeSnippets?: TaskCodeSnippet[];
576
578
  parentId: string | null;
577
579
  status: TaskStatus;
578
580
  title: string;
@@ -1662,4 +1664,17 @@ export interface SupportPreferences {
1662
1664
  slackChannel?: string;
1663
1665
  discordName?: string;
1664
1666
  }
1667
+ export type TaskCodeSnippet = {
1668
+ language: string;
1669
+ code: string;
1670
+ description: string;
1671
+ name: string;
1672
+ };
1673
+ export interface PrebuiltTask {
1674
+ createdBy: PerformedBy;
1675
+ updatedBy: PerformedBy;
1676
+ title: string;
1677
+ description: string;
1678
+ codeSnippets: TaskCodeSnippet[];
1679
+ }
1665
1680
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.74.7",
3
+ "version": "1.74.9",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {