chore: updated plane deploy sign-in workflows for cloud and self-hosted instances (#2999)

* chore: deploy onboarding workflow

* chore: sign in workflow improvement

* fix: build error
This commit is contained in:
Anmol Singh Bhatia
2023-12-06 16:42:57 +05:30
committed by sriram veeraghanta
parent a56e7b17f1
commit 24a28e44ff
40 changed files with 1963 additions and 599 deletions
+14
View File
@@ -0,0 +1,14 @@
export interface IAppConfig {
email_password_login: boolean;
file_size_limit: number;
google_client_id: string | null;
github_app_name: string | null;
github_client_id: string | null;
magic_login: boolean;
slack_client_id: string | null;
posthog_api_key: string | null;
posthog_host: string | null;
has_openai_configured: boolean;
has_unsplash_configured: boolean;
is_self_managed: boolean;
}
+26
View File
@@ -0,0 +1,26 @@
export type TEmailCheckTypes = "magic_code" | "password";
export interface IEmailCheckData {
email: string;
}
export interface IEmailCheckResponse {
is_password_autoset: boolean;
is_existing: boolean;
}
export interface ILoginTokenResponse {
access_token: string;
refresh_token: string;
}
export interface IMagicSignInData {
email: string;
key: string;
token: string;
}
export interface IPasswordSignInData {
email: string;
password: string;
}
+7
View File
@@ -16,6 +16,13 @@ export interface IUser {
last_name: string;
mobile_number: string;
role: string;
is_password_autoset: boolean;
onboarding_step: {
workspace_join?: boolean;
profile_complete?: boolean;
workspace_create?: boolean;
workspace_invite?: boolean;
};
token: string;
updated_at: Date;
username: string;