mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 02:36:32 +02:00
build(#10336): avoid intrinsic component names
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import accounts from './accounts.vue';
|
||||
import accounts_ from './accounts.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/accounts',
|
||||
component: accounts,
|
||||
} satisfies Meta<typeof accounts>;
|
||||
component: accounts_,
|
||||
} satisfies Meta<typeof accounts_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
accounts,
|
||||
accounts_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<accounts v-bind="$props" />',
|
||||
template: '<accounts_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof accounts>;
|
||||
} satisfies StoryObj<typeof accounts_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import api from './api.vue';
|
||||
import api_ from './api.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/api',
|
||||
component: api,
|
||||
} satisfies Meta<typeof api>;
|
||||
component: api_,
|
||||
} satisfies Meta<typeof api_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
api,
|
||||
api_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<api v-bind="$props" />',
|
||||
template: '<api_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof api>;
|
||||
} satisfies StoryObj<typeof api_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import apps from './apps.vue';
|
||||
import apps_ from './apps.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/apps',
|
||||
component: apps,
|
||||
} satisfies Meta<typeof apps>;
|
||||
component: apps_,
|
||||
} satisfies Meta<typeof apps_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
apps,
|
||||
apps_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<apps v-bind="$props" />',
|
||||
template: '<apps_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof apps>;
|
||||
} satisfies StoryObj<typeof apps_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import deck from './deck.vue';
|
||||
import deck_ from './deck.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/deck',
|
||||
component: deck,
|
||||
} satisfies Meta<typeof deck>;
|
||||
component: deck_,
|
||||
} satisfies Meta<typeof deck_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
deck,
|
||||
deck_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<deck v-bind="$props" />',
|
||||
template: '<deck_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof deck>;
|
||||
} satisfies StoryObj<typeof deck_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import drive from './drive.vue';
|
||||
import drive_ from './drive.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/drive',
|
||||
component: drive,
|
||||
} satisfies Meta<typeof drive>;
|
||||
component: drive_,
|
||||
} satisfies Meta<typeof drive_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
drive,
|
||||
drive_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<drive v-bind="$props" />',
|
||||
template: '<drive_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof drive>;
|
||||
} satisfies StoryObj<typeof drive_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import email from './email.vue';
|
||||
import email_ from './email.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/email',
|
||||
component: email,
|
||||
} satisfies Meta<typeof email>;
|
||||
component: email_,
|
||||
} satisfies Meta<typeof email_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
email,
|
||||
email_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<email v-bind="$props" />',
|
||||
template: '<email_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof email>;
|
||||
} satisfies StoryObj<typeof email_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import general from './general.vue';
|
||||
import general_ from './general.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/general',
|
||||
component: general,
|
||||
} satisfies Meta<typeof general>;
|
||||
component: general_,
|
||||
} satisfies Meta<typeof general_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
general,
|
||||
general_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<general v-bind="$props" />',
|
||||
template: '<general_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof general>;
|
||||
} satisfies StoryObj<typeof general_>;
|
||||
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/settings/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 navbar from './navbar.vue';
|
||||
import navbar_ from './navbar.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/navbar',
|
||||
component: navbar,
|
||||
} satisfies Meta<typeof navbar>;
|
||||
component: navbar_,
|
||||
} satisfies Meta<typeof navbar_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
navbar,
|
||||
navbar_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<navbar v-bind="$props" />',
|
||||
template: '<navbar_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof navbar>;
|
||||
} satisfies StoryObj<typeof navbar_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import notifications from './notifications.vue';
|
||||
import notifications_ from './notifications.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/notifications',
|
||||
component: notifications,
|
||||
} satisfies Meta<typeof notifications>;
|
||||
component: notifications_,
|
||||
} satisfies Meta<typeof notifications_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
notifications,
|
||||
notifications_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<notifications v-bind="$props" />',
|
||||
template: '<notifications_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof notifications>;
|
||||
} satisfies StoryObj<typeof notifications_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import other from './other.vue';
|
||||
import other_ from './other.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/other',
|
||||
component: other,
|
||||
} satisfies Meta<typeof other>;
|
||||
component: other_,
|
||||
} satisfies Meta<typeof other_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
other,
|
||||
other_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<other v-bind="$props" />',
|
||||
template: '<other_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof other>;
|
||||
} satisfies StoryObj<typeof other_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import plugin from './plugin.vue';
|
||||
import plugin_ from './plugin.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/plugin',
|
||||
component: plugin,
|
||||
} satisfies Meta<typeof plugin>;
|
||||
component: plugin_,
|
||||
} satisfies Meta<typeof plugin_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
plugin,
|
||||
plugin_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<plugin v-bind="$props" />',
|
||||
template: '<plugin_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof plugin>;
|
||||
} satisfies StoryObj<typeof plugin_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import privacy from './privacy.vue';
|
||||
import privacy_ from './privacy.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/privacy',
|
||||
component: privacy,
|
||||
} satisfies Meta<typeof privacy>;
|
||||
component: privacy_,
|
||||
} satisfies Meta<typeof privacy_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
privacy,
|
||||
privacy_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<privacy v-bind="$props" />',
|
||||
template: '<privacy_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof privacy>;
|
||||
} satisfies StoryObj<typeof privacy_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import profile from './profile.vue';
|
||||
import profile_ from './profile.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/profile',
|
||||
component: profile,
|
||||
} satisfies Meta<typeof profile>;
|
||||
component: profile_,
|
||||
} satisfies Meta<typeof profile_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
profile,
|
||||
profile_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<profile v-bind="$props" />',
|
||||
template: '<profile_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof profile>;
|
||||
} satisfies StoryObj<typeof profile_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import reaction from './reaction.vue';
|
||||
import reaction_ from './reaction.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/reaction',
|
||||
component: reaction,
|
||||
} satisfies Meta<typeof reaction>;
|
||||
component: reaction_,
|
||||
} satisfies Meta<typeof reaction_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
reaction,
|
||||
reaction_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<reaction v-bind="$props" />',
|
||||
template: '<reaction_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof reaction>;
|
||||
} satisfies StoryObj<typeof reaction_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import roles from './roles.vue';
|
||||
import roles_ from './roles.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/roles',
|
||||
component: roles,
|
||||
} satisfies Meta<typeof roles>;
|
||||
component: roles_,
|
||||
} satisfies Meta<typeof roles_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
roles,
|
||||
roles_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<roles v-bind="$props" />',
|
||||
template: '<roles_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof roles>;
|
||||
} satisfies StoryObj<typeof roles_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import security from './security.vue';
|
||||
import security_ from './security.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/security',
|
||||
component: security,
|
||||
} satisfies Meta<typeof security>;
|
||||
component: security_,
|
||||
} satisfies Meta<typeof security_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
security,
|
||||
security_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<security v-bind="$props" />',
|
||||
template: '<security_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof security>;
|
||||
} satisfies StoryObj<typeof security_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import sounds from './sounds.vue';
|
||||
import sounds_ from './sounds.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/sounds',
|
||||
component: sounds,
|
||||
} satisfies Meta<typeof sounds>;
|
||||
component: sounds_,
|
||||
} satisfies Meta<typeof sounds_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
sounds,
|
||||
sounds_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<sounds v-bind="$props" />',
|
||||
template: '<sounds_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof sounds>;
|
||||
} satisfies StoryObj<typeof sounds_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import statusbar from './statusbar.vue';
|
||||
import statusbar_ from './statusbar.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/statusbar',
|
||||
component: statusbar,
|
||||
} satisfies Meta<typeof statusbar>;
|
||||
component: statusbar_,
|
||||
} satisfies Meta<typeof statusbar_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
statusbar,
|
||||
statusbar_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<statusbar v-bind="$props" />',
|
||||
template: '<statusbar_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof statusbar>;
|
||||
} satisfies StoryObj<typeof statusbar_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import theme from './theme.vue';
|
||||
import theme_ from './theme.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/theme',
|
||||
component: theme,
|
||||
} satisfies Meta<typeof theme>;
|
||||
component: theme_,
|
||||
} satisfies Meta<typeof theme_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
theme,
|
||||
theme_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<theme v-bind="$props" />',
|
||||
template: '<theme_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof theme>;
|
||||
} satisfies StoryObj<typeof theme_>;
|
||||
export default meta;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import webhook from './webhook.vue';
|
||||
import webhook_ from './webhook.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/webhook',
|
||||
component: webhook,
|
||||
} satisfies Meta<typeof webhook>;
|
||||
component: webhook_,
|
||||
} satisfies Meta<typeof webhook_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
webhook,
|
||||
webhook_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<webhook v-bind="$props" />',
|
||||
template: '<webhook_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof webhook>;
|
||||
} satisfies StoryObj<typeof webhook_>;
|
||||
export default meta;
|
||||
|
||||
Reference in New Issue
Block a user