forked from mirrors/misskey
build(#10336): avoid intrinsic component names
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import achievements from './achievements.vue';
|
||||
import achievements_ from './achievements.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/achievements',
|
||||
component: achievements,
|
||||
} satisfies Meta<typeof achievements>;
|
||||
component: achievements_,
|
||||
} satisfies Meta<typeof achievements_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
achievements,
|
||||
achievements_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<achievements v-bind="$props" />',
|
||||
template: '<achievements_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof achievements>;
|
||||
} satisfies StoryObj<typeof achievements_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import activity from './activity.vue';
|
||||
import activity_ from './activity.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/activity',
|
||||
component: activity,
|
||||
} satisfies Meta<typeof activity>;
|
||||
component: activity_,
|
||||
} satisfies Meta<typeof activity_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
activity,
|
||||
activity_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<activity v-bind="$props" />',
|
||||
template: '<activity_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof activity>;
|
||||
} satisfies StoryObj<typeof activity_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import clips from './clips.vue';
|
||||
import clips_ from './clips.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/clips',
|
||||
component: clips,
|
||||
} satisfies Meta<typeof clips>;
|
||||
component: clips_,
|
||||
} satisfies Meta<typeof clips_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
clips,
|
||||
clips_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<clips v-bind="$props" />',
|
||||
template: '<clips_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof clips>;
|
||||
} satisfies StoryObj<typeof clips_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import followers from './followers.vue';
|
||||
import followers_ from './followers.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/followers',
|
||||
component: followers,
|
||||
} satisfies Meta<typeof followers>;
|
||||
component: followers_,
|
||||
} satisfies Meta<typeof followers_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
followers,
|
||||
followers_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<followers v-bind="$props" />',
|
||||
template: '<followers_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof followers>;
|
||||
} satisfies StoryObj<typeof followers_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import following from './following.vue';
|
||||
import following_ from './following.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/following',
|
||||
component: following,
|
||||
} satisfies Meta<typeof following>;
|
||||
component: following_,
|
||||
} satisfies Meta<typeof following_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
following,
|
||||
following_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<following v-bind="$props" />',
|
||||
template: '<following_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof following>;
|
||||
} satisfies StoryObj<typeof following_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import gallery from './gallery.vue';
|
||||
import gallery_ from './gallery.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/gallery',
|
||||
component: gallery,
|
||||
} satisfies Meta<typeof gallery>;
|
||||
component: gallery_,
|
||||
} satisfies Meta<typeof gallery_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
gallery,
|
||||
gallery_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<gallery v-bind="$props" />',
|
||||
template: '<gallery_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof gallery>;
|
||||
} satisfies StoryObj<typeof gallery_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import home from './home.vue';
|
||||
import home_ from './home.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/home',
|
||||
component: home,
|
||||
} satisfies Meta<typeof home>;
|
||||
component: home_,
|
||||
} satisfies Meta<typeof home_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
home,
|
||||
home_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<home v-bind="$props" />',
|
||||
template: '<home_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof home>;
|
||||
} satisfies StoryObj<typeof home_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import index from './index.vue';
|
||||
import index_ from './index.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/index',
|
||||
component: index,
|
||||
} satisfies Meta<typeof index>;
|
||||
component: index_,
|
||||
} satisfies Meta<typeof index_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
index,
|
||||
index_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<index v-bind="$props" />',
|
||||
template: '<index_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof index>;
|
||||
} satisfies StoryObj<typeof index_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import pages from './pages.vue';
|
||||
import pages_ from './pages.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/pages',
|
||||
component: pages,
|
||||
} satisfies Meta<typeof pages>;
|
||||
component: pages_,
|
||||
} satisfies Meta<typeof pages_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
pages,
|
||||
pages_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<pages v-bind="$props" />',
|
||||
template: '<pages_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof pages>;
|
||||
} satisfies StoryObj<typeof pages_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import reactions from './reactions.vue';
|
||||
import reactions_ from './reactions.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/reactions',
|
||||
component: reactions,
|
||||
} satisfies Meta<typeof reactions>;
|
||||
component: reactions_,
|
||||
} satisfies Meta<typeof reactions_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
reactions,
|
||||
reactions_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<reactions v-bind="$props" />',
|
||||
template: '<reactions_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof reactions>;
|
||||
} satisfies StoryObj<typeof reactions_>;
|
||||
export default meta;
|
||||
|
||||
Reference in New Issue
Block a user