mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
refactor(core): new workspace selector and create dialog (#10323)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { style } from '@vanilla-extract/css';
|
||||
|
||||
export const fallback = style({
|
||||
padding: '4px 20px',
|
||||
padding: '4px 16px',
|
||||
height: '100%',
|
||||
overflow: 'clip',
|
||||
});
|
||||
|
||||
@@ -15,7 +15,7 @@ export type SettingTab =
|
||||
| `workspace:${'preference' | 'properties' | 'members' | 'storage' | 'billing' | 'license'}`;
|
||||
|
||||
export type GLOBAL_DIALOG_SCHEMA = {
|
||||
'create-workspace': (props: { serverId?: string; forcedCloud?: boolean }) => {
|
||||
'create-workspace': (props: { serverId?: string }) => {
|
||||
metadata: WorkspaceMetadata;
|
||||
defaultDocId?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user