We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8299c55 commit c7d26a9Copy full SHA for c7d26a9
.storybook/mocks.ts
@@ -17,17 +17,6 @@ export const handlers = [
17
// - /api/v1/data/:object (GET, POST)
18
// - /api/v1/data/:object/:id (GET, PUT, DELETE)
19
// - /api/v1/metadata/*
20
+ // - /api/v1/index.json (for ObjectStackClient.connect())
21
// - /api/bootstrap
-
22
- // Handle /api/v1/index.json for ObjectStackClient.connect()
23
- http.get('/api/v1/index.json', async () => {
24
- return HttpResponse.json({
25
- version: '1.0',
26
- objects: ['contact', 'opportunity', 'account'],
27
- endpoints: {
28
- data: '/api/v1/data',
29
- metadata: '/api/v1/metadata'
30
- }
31
- });
32
- }),
33
];
0 commit comments