Add is_visible to Extension type

This commit is contained in:
Chi-Hsuan Huang 2022-04-26 09:34:52 +08:00
parent 022d86c8a5
commit d0e31f9949
2 changed files with 5 additions and 0 deletions

View File

@ -205,4 +205,5 @@ export type Extension = {
manage_url: string;
name: string;
is_built_by_wc: boolean;
is_visible: boolean;
};

View File

@ -16,6 +16,7 @@ const basicPlugins: Extension[] = [
manage_url: '#',
image_url: 'basic.jpeg',
is_built_by_wc: true,
is_visible: true,
},
];
@ -27,6 +28,7 @@ const reachPlugins: Extension[] = [
manage_url: '#',
image_url: 'reach.jpeg',
is_built_by_wc: false,
is_visible: true,
},
];
@ -38,6 +40,7 @@ const growPlugins: Extension[] = [
manage_url: '#',
image_url: 'grow.jpeg',
is_built_by_wc: false,
is_visible: true,
},
{
key: 'grow-plugin-two:extra',
@ -46,6 +49,7 @@ const growPlugins: Extension[] = [
manage_url: '#',
image_url: 'grow2.jpeg',
is_built_by_wc: false,
is_visible: true,
},
];