Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/docs/guide/objectos-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down