forked from mirrors/misskey
build(#10336): separate definitions and generated codes
This commit is contained in:
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: achievements,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
achievements,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
achievements,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<achievements v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<achievements />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: activity_following,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity_following,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
activity_following,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<activity_following v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<activity_following />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: activity_heatmap,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity_heatmap,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
activity_heatmap,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<activity_heatmap v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<activity_heatmap />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: activity_notes,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity_notes,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
activity_notes,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<activity_notes v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<activity_notes />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: activity_pv,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity_pv,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
activity_pv,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<activity_pv v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<activity_pv />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: activity,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
activity,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<activity v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<activity />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: clips,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
clips,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
clips,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<clips v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<clips />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: follow_list,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
follow_list,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
follow_list,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<follow_list v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<follow_list />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: followers,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
followers,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
followers,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<followers v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<followers />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: following,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
following,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
following,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<following v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<following />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: gallery,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
gallery,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
gallery,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<gallery v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<gallery />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: home,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
home,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
home,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<home v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<home />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: index_activity,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
index_activity,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
index_activity,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<index_activity v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<index_activity />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: index_photos,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
index_photos,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
index_photos,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<index_photos v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<index_photos />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: index,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
index,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
index,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<index v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<index />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: index_timeline,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
index_timeline,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
index_timeline,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<index_timeline v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<index_timeline />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: pages,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
pages,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
pages,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<pages v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<pages />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: reactions,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
reactions,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
reactions,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<reactions v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<reactions />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user