@databutton/firebase-types 1.83.4 → 1.84.0

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.
@@ -47,6 +47,7 @@ export declare enum CollectionName {
47
47
  PROJECT_APPBUTLERS = "project-appbutlers",
48
48
  PROJECT_DEPLOYMENTS = "deployments",
49
49
  PROJECT_INVITES = "project-invites",
50
+ USER_APP_INVITES = "user-app-invites",
50
51
  PROJECTS = "projects",
51
52
  PROJECT_TEMPLATES = "project-templates",
52
53
  PUBLIC_USERNAMES = "public-usernames",
@@ -48,6 +48,7 @@ export var CollectionName;
48
48
  CollectionName["PROJECT_APPBUTLERS"] = "project-appbutlers";
49
49
  CollectionName["PROJECT_DEPLOYMENTS"] = "deployments";
50
50
  CollectionName["PROJECT_INVITES"] = "project-invites";
51
+ CollectionName["USER_APP_INVITES"] = "user-app-invites";
51
52
  CollectionName["PROJECTS"] = "projects";
52
53
  CollectionName["PROJECT_TEMPLATES"] = "project-templates";
53
54
  CollectionName["PUBLIC_USERNAMES"] = "public-usernames";
@@ -545,6 +545,24 @@ export interface ProjectInvitation {
545
545
  email: string;
546
546
  };
547
547
  }
548
+ export interface UserAppInvitation {
549
+ project: {
550
+ id: string;
551
+ name?: string;
552
+ };
553
+ state: "pending" | "sent" | "failed";
554
+ createdAt: Timestamp;
555
+ acceptedAt?: Timestamp;
556
+ neonAuthUserId?: string;
557
+ error?: string;
558
+ from: {
559
+ userId: string;
560
+ email?: string;
561
+ };
562
+ to: {
563
+ email: string;
564
+ };
565
+ }
548
566
  export interface DbtnControlledRequirementsConfig {
549
567
  lastUpdatedBy: PerformedBy;
550
568
  currentRequirements?: Requirements;
@@ -842,9 +860,10 @@ export interface IntegrationPackages {
842
860
  */
843
861
  export interface IntegrationTemplate {
844
862
  displayName: string;
845
- state: "active" | "early-access" | "inactive";
863
+ state: "active" | "early-access" | "dev" | "request" | "inactive";
846
864
  semVerVersion: string;
847
865
  managedBy: "riff" | "community";
866
+ logoUrl?: string;
848
867
  /**
849
868
  * Short description of the integration
850
869
  * Ment for the user to understand what the integration does
@@ -891,6 +910,7 @@ export interface InstalledIntegration {
891
910
  templateSemVerVersion: string;
892
911
  templateId: string;
893
912
  enabled: boolean;
913
+ logoUrl?: string;
894
914
  credentials: {
895
915
  key: string;
896
916
  ref: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.83.4",
3
+ "version": "1.84.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {