mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 20:16:26 +08:00
feat(infra): framework
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Service } from '../../../framework';
|
||||
import type { GlobalCache, GlobalState } from '../providers/global';
|
||||
|
||||
export class GlobalStateService extends Service {
|
||||
constructor(public readonly globalState: GlobalState) {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
export class GlobalCacheService extends Service {
|
||||
constructor(public readonly globalCache: GlobalCache) {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user