diff --git a/docs/snippets/angular/msw-addon-configure-handlers-graphql.ts.mdx b/docs/snippets/angular/msw-addon-configure-handlers-graphql.ts.mdx index 23599c6494de..cfbd8a0cb731 100644 --- a/docs/snippets/angular/msw-addon-configure-handlers-graphql.ts.mdx +++ b/docs/snippets/angular/msw-addon-configure-handlers-graphql.ts.mdx @@ -57,7 +57,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -76,7 +76,7 @@ export const MockedError: Story = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/angular/msw-addon-configure-handlers-http.ts.mdx b/docs/snippets/angular/msw-addon-configure-handlers-http.ts.mdx index 820857b94b48..8ba674db76b5 100644 --- a/docs/snippets/angular/msw-addon-configure-handlers-http.ts.mdx +++ b/docs/snippets/angular/msw-addon-configure-handlers-http.ts.mdx @@ -43,7 +43,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ http.get('https://your-restful-endpoint/', () => { - return new HttpResponse.json(TestData); + return HttpResponse.json(TestData); }), ], }, diff --git a/docs/snippets/common/msw-addon-configure-handlers-http.js.mdx b/docs/snippets/common/msw-addon-configure-handlers-http.js.mdx index cd2138c50a0f..8311b919f53f 100644 --- a/docs/snippets/common/msw-addon-configure-handlers-http.js.mdx +++ b/docs/snippets/common/msw-addon-configure-handlers-http.js.mdx @@ -38,7 +38,7 @@ export const MockedSuccess = { msw: { handlers: [ http.get('https://your-restful-endpoint/', () => { - return new HttpResponse.json(TestData); + return HttpResponse.json(TestData); }), ], }, diff --git a/docs/snippets/common/msw-addon-configure-handlers-http.ts-4-9.mdx b/docs/snippets/common/msw-addon-configure-handlers-http.ts-4-9.mdx index 663a9fd0f1f2..fe6490665088 100644 --- a/docs/snippets/common/msw-addon-configure-handlers-http.ts-4-9.mdx +++ b/docs/snippets/common/msw-addon-configure-handlers-http.ts-4-9.mdx @@ -44,7 +44,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ http.get('https://your-restful-endpoint/', () => { - return new HttpResponse.json(TestData); + return HttpResponse.json(TestData); }), ], }, diff --git a/docs/snippets/common/msw-addon-configure-handlers-http.ts.mdx b/docs/snippets/common/msw-addon-configure-handlers-http.ts.mdx index 26d7ffaae623..935fef3b2ca4 100644 --- a/docs/snippets/common/msw-addon-configure-handlers-http.ts.mdx +++ b/docs/snippets/common/msw-addon-configure-handlers-http.ts.mdx @@ -44,7 +44,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ http.get('https://your-restful-endpoint/', () => { - return new HttpResponse.json(TestData); + return HttpResponse.json(TestData); }), ], }, diff --git a/docs/snippets/react/msw-addon-configure-handlers-graphql.js.mdx b/docs/snippets/react/msw-addon-configure-handlers-graphql.js.mdx index b7964e2d4925..f8aa36d87880 100644 --- a/docs/snippets/react/msw-addon-configure-handlers-graphql.js.mdx +++ b/docs/snippets/react/msw-addon-configure-handlers-graphql.js.mdx @@ -61,7 +61,7 @@ export const MockedSuccess = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -80,7 +80,7 @@ export const MockedError = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/react/msw-addon-configure-handlers-graphql.ts-4-9.mdx b/docs/snippets/react/msw-addon-configure-handlers-graphql.ts-4-9.mdx index ab5786361bba..5d1047b2a30a 100644 --- a/docs/snippets/react/msw-addon-configure-handlers-graphql.ts-4-9.mdx +++ b/docs/snippets/react/msw-addon-configure-handlers-graphql.ts-4-9.mdx @@ -65,7 +65,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -84,7 +84,7 @@ export const MockedError: Story = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/react/msw-addon-configure-handlers-graphql.ts.mdx b/docs/snippets/react/msw-addon-configure-handlers-graphql.ts.mdx index 4ffb616b0c66..7e28c12fb043 100644 --- a/docs/snippets/react/msw-addon-configure-handlers-graphql.ts.mdx +++ b/docs/snippets/react/msw-addon-configure-handlers-graphql.ts.mdx @@ -65,7 +65,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -84,7 +84,7 @@ export const MockedError: Story = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/svelte/msw-addon-configure-handlers-graphql.js.mdx b/docs/snippets/svelte/msw-addon-configure-handlers-graphql.js.mdx index 6c9974f74e53..72ab24c05d6f 100644 --- a/docs/snippets/svelte/msw-addon-configure-handlers-graphql.js.mdx +++ b/docs/snippets/svelte/msw-addon-configure-handlers-graphql.js.mdx @@ -40,7 +40,7 @@ export const MockedSuccess = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -59,7 +59,7 @@ export const MockedError = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/svelte/msw-addon-configure-handlers-graphql.ts-4-9.mdx b/docs/snippets/svelte/msw-addon-configure-handlers-graphql.ts-4-9.mdx index a099095c28f8..440b47dc992d 100644 --- a/docs/snippets/svelte/msw-addon-configure-handlers-graphql.ts-4-9.mdx +++ b/docs/snippets/svelte/msw-addon-configure-handlers-graphql.ts-4-9.mdx @@ -45,7 +45,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -64,7 +64,7 @@ export const MockedError: Story = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/svelte/msw-addon-configure-handlers-graphql.ts.mdx b/docs/snippets/svelte/msw-addon-configure-handlers-graphql.ts.mdx index cc9fef5e7cb9..a186c5183bf2 100644 --- a/docs/snippets/svelte/msw-addon-configure-handlers-graphql.ts.mdx +++ b/docs/snippets/svelte/msw-addon-configure-handlers-graphql.ts.mdx @@ -45,7 +45,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -64,7 +64,7 @@ export const MockedError: Story = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/vue/msw-addon-configure-handlers-graphql.js.mdx b/docs/snippets/vue/msw-addon-configure-handlers-graphql.js.mdx index 137d1b9a37c4..407903cf95c4 100644 --- a/docs/snippets/vue/msw-addon-configure-handlers-graphql.js.mdx +++ b/docs/snippets/vue/msw-addon-configure-handlers-graphql.js.mdx @@ -43,7 +43,7 @@ export const MockedSuccess = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -62,7 +62,7 @@ export const MockedError = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/vue/msw-addon-configure-handlers-graphql.ts-4-9.mdx b/docs/snippets/vue/msw-addon-configure-handlers-graphql.ts-4-9.mdx index 701fc8dddd30..b85e3d507999 100644 --- a/docs/snippets/vue/msw-addon-configure-handlers-graphql.ts-4-9.mdx +++ b/docs/snippets/vue/msw-addon-configure-handlers-graphql.ts-4-9.mdx @@ -48,7 +48,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -67,7 +67,7 @@ export const MockedError: Story = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/vue/msw-addon-configure-handlers-graphql.ts.mdx b/docs/snippets/vue/msw-addon-configure-handlers-graphql.ts.mdx index da7551e9474c..56559de2b65a 100644 --- a/docs/snippets/vue/msw-addon-configure-handlers-graphql.ts.mdx +++ b/docs/snippets/vue/msw-addon-configure-handlers-graphql.ts.mdx @@ -48,7 +48,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ graphql.query('AllInfoQuery', () => { - return new HttpResponse.json({ + return HttpResponse.json({ data: { allInfo: { ...TestData, @@ -67,7 +67,7 @@ export const MockedError: Story = { handlers: [ graphql.query('AllInfoQuery', async () => { await delay(800); - return new HttpResponse.json({ + return HttpResponse.json({ errors: [ { message: 'Access denied', diff --git a/docs/snippets/vue/storybook-preview-use-global-type.3.js.mdx b/docs/snippets/vue/storybook-preview-use-global-type.3.js.mdx index 81b2c59978a8..d45c79dad770 100644 --- a/docs/snippets/vue/storybook-preview-use-global-type.3.js.mdx +++ b/docs/snippets/vue/storybook-preview-use-global-type.3.js.mdx @@ -1,11 +1,11 @@ ```js // .storybook/preview.js -import { setup } from "@storybook/vue3"; +import { setup } from '@storybook/vue3'; -import { VApp } from "vuetify/components"; +import { VApp } from 'vuetify/components'; -import { registerPlugins } from "../src/plugins"; +import { registerPlugins } from '../src/plugins'; setup((app) => { // Registers your app's plugins including Vuetify into Storybook diff --git a/docs/snippets/vue/storybook-preview-use-global-type.3.ts.mdx b/docs/snippets/vue/storybook-preview-use-global-type.3.ts.mdx index 4a608b096659..7c8816faf8dc 100644 --- a/docs/snippets/vue/storybook-preview-use-global-type.3.ts.mdx +++ b/docs/snippets/vue/storybook-preview-use-global-type.3.ts.mdx @@ -1,12 +1,12 @@ ```ts // .storybook/preview.ts -import type { Preview } from "@storybook/vue3"; -import { setup } from "@storybook/vue3"; +import type { Preview } from '@storybook/vue3'; +import { setup } from '@storybook/vue3'; -import { VApp } from "vuetify/components"; +import { VApp } from 'vuetify/components'; -import { registerPlugins } from "../src/plugins"; +import { registerPlugins } from '../src/plugins'; setup((app) => { // Registers your app's plugins including Vuetify into Storybook diff --git a/docs/snippets/vue/storybook-preview-use-global-type.ts-4-9.mdx b/docs/snippets/vue/storybook-preview-use-global-type.ts-4-9.mdx index 4a608b096659..7c8816faf8dc 100644 --- a/docs/snippets/vue/storybook-preview-use-global-type.ts-4-9.mdx +++ b/docs/snippets/vue/storybook-preview-use-global-type.ts-4-9.mdx @@ -1,12 +1,12 @@ ```ts // .storybook/preview.ts -import type { Preview } from "@storybook/vue3"; -import { setup } from "@storybook/vue3"; +import type { Preview } from '@storybook/vue3'; +import { setup } from '@storybook/vue3'; -import { VApp } from "vuetify/components"; +import { VApp } from 'vuetify/components'; -import { registerPlugins } from "../src/plugins"; +import { registerPlugins } from '../src/plugins'; setup((app) => { // Registers your app's plugins including Vuetify into Storybook diff --git a/docs/snippets/web-components/msw-addon-configure-handlers-http.js.mdx b/docs/snippets/web-components/msw-addon-configure-handlers-http.js.mdx index d1c3cda8bc9f..fd212d46c43e 100644 --- a/docs/snippets/web-components/msw-addon-configure-handlers-http.js.mdx +++ b/docs/snippets/web-components/msw-addon-configure-handlers-http.js.mdx @@ -36,7 +36,7 @@ export const MockedSuccess = { msw: { handlers: [ http.get('https://your-restful-endpoint/', () => { - return new HttpResponse.json(TestData); + return HttpResponse.json(TestData); }), ], }, diff --git a/docs/snippets/web-components/msw-addon-configure-handlers-http.ts.mdx b/docs/snippets/web-components/msw-addon-configure-handlers-http.ts.mdx index b12fd8f93a41..f92501a7df63 100644 --- a/docs/snippets/web-components/msw-addon-configure-handlers-http.ts.mdx +++ b/docs/snippets/web-components/msw-addon-configure-handlers-http.ts.mdx @@ -41,7 +41,7 @@ export const MockedSuccess: Story = { msw: { handlers: [ http.get('https://your-restful-endpoint/', () => { - return new HttpResponse.json(TestData); + return HttpResponse.json(TestData); }), ], },