diff --git a/content/docs/guide/objectos-integration.mdx b/content/docs/guide/objectos-integration.mdx index 1db05a6286..8a1ce94a4e 100644 --- a/content/docs/guide/objectos-integration.mdx +++ b/content/docs/guide/objectos-integration.mdx @@ -266,13 +266,14 @@ const sysUserView: ObjectViewSchema = { ```typescript import { ObjectStackAdapter } from '@object-ui/data-objectstack'; +import type { ObjectGridSchema } from '@object-ui/types'; const dataSource = new ObjectStackAdapter({ baseUrl: 'http://localhost:3000/api' }); // ObjectQL queries are automatically handled -const schema = { +const schema: ObjectGridSchema = { type: 'object-grid', objectName: 'contact', dataSource,