Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
refactor(web): convert ValidatedStatus enum to as-const in key-valida… (#35749)
guangyang120681090effe233
diff --git a/eslint-suppressions.json b/eslint-suppressions.jsonindex 2eaefd94368..f822ac2ae22 100644--- a/eslint-suppressions.json+++ b/eslint-suppressions.json@@ -2778,9 +2778,6 @@}},"web/app/components/header/account-setting/key-validator/declarations.ts": {- "erasable-syntax-only/enums": {- "count": 1- },"ts/no-explicit-any": {"count": 1}diff --git a/web/app/components/header/account-setting/key-validator/declarations.ts b/web/app/components/header/account-setting/key-validator/declarations.tsindex 374256ff415..bcf809f39cd 100644--- a/web/app/components/header/account-setting/key-validator/declarations.ts+++ b/web/app/components/header/account-setting/key-validator/declarations.ts@@ -1,10 +1,12 @@import type { Dispatch, SetStateAction } from 'react'-export enum ValidatedStatus {- Success = 'success',- Error = 'error',- Exceed = 'exceed',-}+export const ValidatedStatus = {+ Success: 'success',+ Error: 'error',+ Exceed: 'exceed',+} as const++export type ValidatedStatus = typeof ValidatedStatus[keyof typeof ValidatedStatus]export type ValidatedStatusState = {status?: ValidatedStatus