Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
671 B
Raw Blame
import type { ReactNode } from 'react'

export type IdentityFieldKey = 'identity' | 'soul' | 'agents' | 'user'

export type IdentityFields = Record<IdentityFieldKey, string>

export type IdentityFieldConfig = {
  fileName: string
  help: string
  key: IdentityFieldKey
  label: string
  placeholder: string
  promptHeader: string
}

export type HostIdentityTabState = {
  activeField: IdentityFieldKey
  error: string
  fields: IdentityFields
  initial: IdentityFields
  loading: boolean
  reloadHint: boolean
  resourceVersion: string
  saving: boolean
}

export type HostIdentityTabProps = {
  hostName: string
  onActionsChange?: (actions: ReactNode | null) => void
}