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
1 line
2.4 KiB
Plaintext
1 line
2.4 KiB
Plaintext
{"version":3,"sources":["../../../src/admin/fields/Array.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js'\nimport type { ArrayFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>\n\ntype ArrayFieldBaseClientProps = {\n readonly validate?: ArrayFieldValidation\n} & FieldPaths\n\ntype ArrayFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type ArrayFieldClientProps = ArrayFieldBaseClientProps &\n ClientFieldBase<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerProps = ArrayFieldBaseServerProps &\n ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerComponent = FieldServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType,\n ArrayFieldBaseServerProps\n>\n\nexport type ArrayFieldClientComponent = FieldClientComponent<\n ArrayFieldClientWithoutType,\n ArrayFieldBaseClientProps\n>\n\nexport type ArrayFieldLabelServerComponent = FieldLabelServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\nexport type ArrayFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldErrorServerComponent = FieldErrorServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\nexport type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDiffServerComponent = FieldDiffServerComponent<ArrayField, ArrayFieldClient>\nexport type ArrayFieldDiffClientComponent = FieldDiffClientComponent<ArrayFieldClient>\n"],"names":[],"mappings":"AAmEA,WAAsF"} |