@databutton/firebase-types 1.119.0 → 1.119.1
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.
|
@@ -114,6 +114,14 @@ export interface Account {
|
|
|
114
114
|
* Soft-deleted accounts are excluded from queries and their projects are also soft-deleted.
|
|
115
115
|
*/
|
|
116
116
|
markedForDeletionBy?: PerformedBy | null;
|
|
117
|
+
/**
|
|
118
|
+
* Default project extensions applied to all projects in account.
|
|
119
|
+
*/
|
|
120
|
+
defaultExtensions?: ProjectExtensionMap;
|
|
121
|
+
/**
|
|
122
|
+
* Default project extensions applied to all projects in account.
|
|
123
|
+
*/
|
|
124
|
+
requiredExtensions?: ProjectExtensionMap;
|
|
117
125
|
}
|
|
118
126
|
interface AccountConfigBase {
|
|
119
127
|
enabledBy: PerformedBy;
|
|
@@ -875,6 +883,8 @@ export interface ProjectGuidelinesV1 {
|
|
|
875
883
|
}
|
|
876
884
|
export declare enum ProjectExtension {
|
|
877
885
|
SHADCN = "shadcn",
|
|
886
|
+
OIDC_AUTH = "oidc-auth",
|
|
887
|
+
WORKOS_AUTH = "workos-auth",
|
|
878
888
|
FIREBASE_AUTH = "firebase-auth",
|
|
879
889
|
NEON_DATABASE = "neon-database",
|
|
880
890
|
STACK_AUTH = "stack-auth",
|
|
@@ -931,6 +941,14 @@ export interface NeonDatabaseExtensionConfigV2 {
|
|
|
931
941
|
connectionUrlEnvVar: string | null;
|
|
932
942
|
}
|
|
933
943
|
export type NeonDatabaseExtensionConfig = NeonDatabaseExtensionConfigV1 | NeonDatabaseExtensionConfigV2;
|
|
944
|
+
export interface OidcAuthExtensionConfig {
|
|
945
|
+
jwksUrl: string;
|
|
946
|
+
iss: string;
|
|
947
|
+
aud: string;
|
|
948
|
+
}
|
|
949
|
+
export interface WorkosAuthExtensionConfig {
|
|
950
|
+
dummy?: string;
|
|
951
|
+
}
|
|
934
952
|
export interface StackAuthExtensionConfig {
|
|
935
953
|
projectId: string;
|
|
936
954
|
publishableClientKey: string;
|
|
@@ -964,6 +982,7 @@ export interface PostHogExtensionConfig {
|
|
|
964
982
|
apiPath: string;
|
|
965
983
|
}
|
|
966
984
|
export type ProjectExtensions = ProjectExtensionConfig[];
|
|
985
|
+
export type ProjectExtensionMap = Record<string, ProjectExtensionConfig>;
|
|
967
986
|
export interface BaseTheme {
|
|
968
987
|
defaultFontFamily: string;
|
|
969
988
|
extraFontFamilies: string[];
|
|
@@ -56,6 +56,8 @@ export var ProjectBuildStage;
|
|
|
56
56
|
export var ProjectExtension;
|
|
57
57
|
(function (ProjectExtension) {
|
|
58
58
|
ProjectExtension["SHADCN"] = "shadcn";
|
|
59
|
+
ProjectExtension["OIDC_AUTH"] = "oidc-auth";
|
|
60
|
+
ProjectExtension["WORKOS_AUTH"] = "workos-auth";
|
|
59
61
|
ProjectExtension["FIREBASE_AUTH"] = "firebase-auth";
|
|
60
62
|
ProjectExtension["NEON_DATABASE"] = "neon-database";
|
|
61
63
|
ProjectExtension["STACK_AUTH"] = "stack-auth";
|