/* eslint-disable @typescript-eslint/no-explicit-any */ import { FieldFrontType } from '@/graphql/core/selectors.js'; import { ModelTypes } from '@/zeus/index.js'; export interface TailwindPlayCommonParams { prefix?: string; dataPrefix?: string; index?: number; f: FieldFrontType; modelData?: Record; rootFields?: FieldFrontType[]; // Root fields for resolving action paths // OUR STATE MANAGEMENT state?: Record; setState?: (state: Record) => void; onSubmit?: (state: Record | undefined, prefix: string) => Promise; components?: Record< string, (props: { data?: any; attrs: ModelTypes['Visual']; f: FieldFrontType; component?: React.JSX.Element; }) => React.JSX.Element >; attributes?: Record< string, (props: { data?: any; attrs: ModelTypes['Visual'] }) => React.DetailedHTMLProps, any> >; }