Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
25 lines
2.2 KiB
Plaintext
25 lines
2.2 KiB
Plaintext
import type { MarkOptional } from 'ts-essentials';
|
|
import type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js';
|
|
import type { ArrayFieldValidation } from '../../fields/validations.js';
|
|
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
|
|
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
|
|
type ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>;
|
|
type ArrayFieldBaseClientProps = {
|
|
readonly validate?: ArrayFieldValidation;
|
|
} & FieldPaths;
|
|
type ArrayFieldBaseServerProps = Pick<FieldPaths, 'path'>;
|
|
export type ArrayFieldClientProps = ArrayFieldBaseClientProps & ClientFieldBase<ArrayFieldClientWithoutType>;
|
|
export type ArrayFieldServerProps = ArrayFieldBaseServerProps & ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>;
|
|
export type ArrayFieldServerComponent = FieldServerComponent<ArrayField, ArrayFieldClientWithoutType, ArrayFieldBaseServerProps>;
|
|
export type ArrayFieldClientComponent = FieldClientComponent<ArrayFieldClientWithoutType, ArrayFieldBaseClientProps>;
|
|
export type ArrayFieldLabelServerComponent = FieldLabelServerComponent<ArrayField, ArrayFieldClientWithoutType>;
|
|
export type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>;
|
|
export type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<ArrayField, ArrayFieldClientWithoutType>;
|
|
export type ArrayFieldDescriptionClientComponent = FieldDescriptionClientComponent<ArrayFieldClientWithoutType>;
|
|
export type ArrayFieldErrorServerComponent = FieldErrorServerComponent<ArrayField, ArrayFieldClientWithoutType>;
|
|
export type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>;
|
|
export type ArrayFieldDiffServerComponent = FieldDiffServerComponent<ArrayField, ArrayFieldClient>;
|
|
export type ArrayFieldDiffClientComponent = FieldDiffClientComponent<ArrayFieldClient>;
|
|
export {};
|
|
//# sourceMappingURL=Array.d.ts.map |