Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.

Commit 497678c

Browse files
committed
test(app-shell): type the slice-3 column-manager catalog as ObjectFieldInfo (objectui#10862)
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014mXUNuFomfj24w7s1pZzhN
1 parent 0f99d3f commit 497678c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/app-shell/src/views/metadata-admin/previews/dataPreviews.i18n-10862-s3.test.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ import { ReportPreview } from './ReportPreview';
142142
import { PagePreview } from './PagePreview';
143143
import { ValidationPreview } from './ValidationPreview';
144144
import { FieldsListEditor } from './FieldsListEditor';
145+
import type { ObjectFieldInfo } from './useObjectFields';
145146

146147
const realFetch = globalThis.fetch;
147148

@@ -752,7 +753,7 @@ describe('ValidationPreview reads the designer locale (objectui#10862)', () => {
752753

753754
// ─── The view column manager ─────────────────────────────────────────────────
754755

755-
const CATALOG = [{ name: 'name', label: 'Name', type: 'text' }];
756+
const CATALOG: ObjectFieldInfo[] = [{ name: 'name', label: 'Name', type: 'text', hidden: false }];
756757

757758
function mountColumns(lang: Lang, columns: unknown[]) {
758759
return inLang(

0 commit comments

Comments
 (0)