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
16 lines
1.1 KiB
Plaintext
16 lines
1.1 KiB
Plaintext
import type { MarkOptional } from 'ts-essentials';
|
|
import type { UIField, UIFieldClient } from '../../fields/config/types.js';
|
|
import type { ClientFieldBase, FieldClientComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../types.js';
|
|
type UIFieldClientWithoutType = MarkOptional<UIFieldClient, 'type'>;
|
|
type UIFieldBaseClientProps = {
|
|
readonly path: string;
|
|
};
|
|
type UIFieldBaseServerProps = Pick<FieldPaths, 'path'>;
|
|
export type UIFieldClientProps = ClientFieldBase<UIFieldClientWithoutType> & UIFieldBaseClientProps;
|
|
export type UIFieldServerProps = ServerFieldBase<UIField, UIFieldClientWithoutType> & UIFieldBaseServerProps;
|
|
export type UIFieldClientComponent = FieldClientComponent<UIFieldClientWithoutType, UIFieldBaseClientProps>;
|
|
export type UIFieldServerComponent = FieldServerComponent<UIField, UIFieldClientWithoutType, UIFieldBaseServerProps>;
|
|
export type UIFieldDiffServerComponent = FieldDiffServerComponent<UIField, UIFieldClient>;
|
|
export type UIFieldDiffClientComponent = FieldDiffClientComponent<UIFieldClient>;
|
|
export {};
|
|
//# sourceMappingURL=UI.d.ts.map |