diff --git a/packages/client/client/plugins/loader.ts b/packages/client/client/plugins/loader.ts index a07d51a..dfe3b66 100644 --- a/packages/client/client/plugins/loader.ts +++ b/packages/client/client/plugins/loader.ts @@ -8,7 +8,7 @@ import { Dict } from 'cosmokit' declare module '../context' { interface Context { $loader: LoaderService - $entry?: ClientEntry + $entry?: LoadState } } @@ -53,7 +53,7 @@ const loaders: Dict = { }, } -export interface ClientEntry { +export interface LoadState { fork?: ForkScope paths: string[] done: Ref @@ -63,7 +63,7 @@ export interface ClientEntry { export default class LoaderService extends Service { private backendId: any - public extensions: Dict = shallowReactive({}) + public extensions: Dict = shallowReactive({}) constructor(ctx: Context) { super(ctx, '$loader', true) diff --git a/plugins/config/client/components/forks.vue b/plugins/config/client/components/forks.vue index 40a399b..57aa7da 100644 --- a/plugins/config/client/components/forks.vue +++ b/plugins/config/client/components/forks.vue @@ -12,13 +12,13 @@ @@ -42,16 +42,23 @@ diff --git a/plugins/config/client/components/group.vue b/plugins/config/client/components/group.vue index bdcd29c..5cbb455 100644 --- a/plugins/config/client/components/group.vue +++ b/plugins/config/client/components/group.vue @@ -4,10 +4,8 @@ diff --git a/plugins/config/client/components/plugin.vue b/plugins/config/client/components/plugin.vue index 32e12d6..3e73c5e 100644 --- a/plugins/config/client/components/plugin.vue +++ b/plugins/config/client/components/plugin.vue @@ -1,5 +1,5 @@
- + {{ getFullPath(plugins.paths[id]) }} - +