File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
src/Shared/Components/Plugin Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { PluginDataStoreType , PluginListFiltersType } from './types'
2
+
3
+ export const DEFAULT_PLUGIN_DATA_STORE : PluginDataStoreType = {
4
+ parentPluginStore : { } ,
5
+ pluginVersionStore : { } ,
6
+ }
7
+
8
+ export const DEFAULT_PLUGIN_LIST_FILTERS : PluginListFiltersType = {
9
+ searchKey : '' ,
10
+ selectedTags : [ ] ,
11
+ offset : 0 ,
12
+ showSelectedPlugins : false ,
13
+ }
Original file line number Diff line number Diff line change 1
1
export * from './types'
2
2
export * from './service'
3
3
export * from './utils'
4
+ export * from './constants'
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ export interface PluginDetailPayloadType {
54
54
55
55
export interface PluginListFiltersType extends Pick < BaseFilterQueryParams < unknown > , 'searchKey' | 'offset' > {
56
56
selectedTags : string [ ]
57
+ showSelectedPlugins : boolean
57
58
}
58
59
59
60
interface ParentPluginType extends Pick < ParentPluginDTO , 'id' | 'name' | 'description' | 'type' | 'icon' > {
You can’t perform that action at this time.
0 commit comments