feat(ui): add organization and wizard types and stores (#10154)

This commit is contained in:
Alejandro Bailo
2026-02-25 12:45:15 +01:00
committed by GitHub
parent db1db7d366
commit fe8d5893af
9 changed files with 731 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { ProviderType } from "./providers";
export const PROVIDER_WIZARD_STEP = {
CONNECT: 0,
CREDENTIALS: 1,
TEST: 2,
LAUNCH: 3,
} as const;
export type ProviderWizardStep =
(typeof PROVIDER_WIZARD_STEP)[keyof typeof PROVIDER_WIZARD_STEP];
export const PROVIDER_WIZARD_MODE = {
ADD: "add",
UPDATE: "update",
} as const;
export type ProviderWizardMode =
(typeof PROVIDER_WIZARD_MODE)[keyof typeof PROVIDER_WIZARD_MODE];
export interface ProviderWizardIdentity {
id: string;
type: ProviderType;
uid: string | null;
alias: string | null;
}