New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@databutton/firebase-types

Package Overview
Dependencies
Maintainers
0
Versions
1207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@databutton/firebase-types - npm Package Compare versions

Comparing version

to
1.72.111

24

lib/types/published/enums.d.ts

@@ -103,1 +103,25 @@ export declare enum CollectionName {

}
export declare enum ThirdPartyStorageName {
FIREBASE = "firebase",
SUPABASE = "supabase",
AWS_S3 = "aws-s3",
GOOGLE_CLOUD_STORAGE = "google-cloud-storage"
}
export declare enum ThirdPartyPaymentsName {
STRIPE = "stripe",
LEMON_SQUEEZY = "lemonsqueezy"
}
export declare enum ThirdPartyDatabaseName {
FIRESTORE = "firestore",
SUPABASE = "supabase"
}
export declare enum ThirdPartyAuthName {
FIREBASE = "firebase",
SUPABASE = "supabase"
}
export declare enum ThirdPartyServiceCategory {
AUTH = "auth",
DATABASE = "database",
PAYMENTS = "payments",
STORAGE = "storage"
}

@@ -105,2 +105,31 @@ export var CollectionName;

})(DatabuttonIdPrefix = DatabuttonIdPrefix || (DatabuttonIdPrefix = {}));
export var ThirdPartyStorageName;
(function (ThirdPartyStorageName) {
ThirdPartyStorageName["FIREBASE"] = "firebase";
ThirdPartyStorageName["SUPABASE"] = "supabase";
ThirdPartyStorageName["AWS_S3"] = "aws-s3";
ThirdPartyStorageName["GOOGLE_CLOUD_STORAGE"] = "google-cloud-storage";
})(ThirdPartyStorageName = ThirdPartyStorageName || (ThirdPartyStorageName = {}));
export var ThirdPartyPaymentsName;
(function (ThirdPartyPaymentsName) {
ThirdPartyPaymentsName["STRIPE"] = "stripe";
ThirdPartyPaymentsName["LEMON_SQUEEZY"] = "lemonsqueezy";
})(ThirdPartyPaymentsName = ThirdPartyPaymentsName || (ThirdPartyPaymentsName = {}));
export var ThirdPartyDatabaseName;
(function (ThirdPartyDatabaseName) {
ThirdPartyDatabaseName["FIRESTORE"] = "firestore";
ThirdPartyDatabaseName["SUPABASE"] = "supabase";
})(ThirdPartyDatabaseName = ThirdPartyDatabaseName || (ThirdPartyDatabaseName = {}));
export var ThirdPartyAuthName;
(function (ThirdPartyAuthName) {
ThirdPartyAuthName["FIREBASE"] = "firebase";
ThirdPartyAuthName["SUPABASE"] = "supabase";
})(ThirdPartyAuthName = ThirdPartyAuthName || (ThirdPartyAuthName = {}));
export var ThirdPartyServiceCategory;
(function (ThirdPartyServiceCategory) {
ThirdPartyServiceCategory["AUTH"] = "auth";
ThirdPartyServiceCategory["DATABASE"] = "database";
ThirdPartyServiceCategory["PAYMENTS"] = "payments";
ThirdPartyServiceCategory["STORAGE"] = "storage";
})(ThirdPartyServiceCategory = ThirdPartyServiceCategory || (ThirdPartyServiceCategory = {}));
//# sourceMappingURL=enums.js.map
import type { Timestamp } from "firebase/firestore";
import type { JsonObject, Primitive } from "type-fest";
import type { ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName } from "./enums.js";
/**

@@ -796,2 +797,15 @@ * Types here should reflect data format stored in firestore and

export type ProjectTheme = ShadcnTheme | ChakraTheme;
export type ThirdPartyService = {
category: ThirdPartyServiceCategory.AUTH;
name: ThirdPartyAuthName;
} | {
category: ThirdPartyServiceCategory.DATABASE;
name: ThirdPartyDatabaseName;
} | {
category: ThirdPartyServiceCategory.PAYMENTS;
name: ThirdPartyPaymentsName;
} | {
category: ThirdPartyServiceCategory.STORAGE;
name: ThirdPartyStorageName;
};
export interface Project {

@@ -814,2 +828,7 @@ createdAt: Timestamp;

};
/**
* Select services during the project creation flow
* Used for tools and prompts++
*/
thirdPartyServices?: ThirdPartyService[];
buildingStage?: ProjectBuildStage;

@@ -816,0 +835,0 @@ lifeStage: ProjectLifeStage;

2

package.json
{
"name": "@databutton/firebase-types",
"version": "1.72.110",
"version": "1.72.111",
"main": "lib/types/published/index.js",

@@ -5,0 +5,0 @@ "type": "module",