chore: bump version (#1313)
This commit is contained in:
@@ -14,10 +14,10 @@
|
|||||||
"build:app": "tauri build"
|
"build:app": "tauri build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blocksuite/blocks": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/blocks": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/editor": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/editor": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/icons": "2.0.17",
|
"@blocksuite/icons": "2.0.17",
|
||||||
"@blocksuite/store": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/store": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@emotion/react": "^11.10.6",
|
"@emotion/react": "^11.10.6",
|
||||||
"@emotion/styled": "^11.10.6",
|
"@emotion/styled": "^11.10.6",
|
||||||
"@tauri-apps/api": "^1.2.0",
|
"@tauri-apps/api": "^1.2.0",
|
||||||
|
|||||||
@@ -14,11 +14,11 @@
|
|||||||
"@affine/debug": "workspace:*",
|
"@affine/debug": "workspace:*",
|
||||||
"@affine/env": "workspace:*",
|
"@affine/env": "workspace:*",
|
||||||
"@affine/i18n": "workspace:*",
|
"@affine/i18n": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/blocks": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/editor": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/editor": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/icons": "2.0.17",
|
"@blocksuite/icons": "2.0.17",
|
||||||
"@blocksuite/react": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/react": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/store": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/store": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@emotion/cache": "^11.10.5",
|
"@emotion/cache": "^11.10.5",
|
||||||
"@emotion/react": "^11.10.6",
|
"@emotion/react": "^11.10.6",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ export const GeneralPanel: React.FC<PanelProps> = ({
|
|||||||
shape="circle"
|
shape="circle"
|
||||||
style={{ marginLeft: '24px' }}
|
style={{ marginLeft: '24px' }}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setInput(workspace.blockSuiteWorkspace.meta.name);
|
setInput(workspace.blockSuiteWorkspace.meta.name ?? '');
|
||||||
setShowEditInput(false);
|
setShowEditInput(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -67,8 +67,8 @@ export const Footer: React.FC<FooterProps> = ({ user, onLogin, onLogout }) => {
|
|||||||
|
|
||||||
interface WorkspaceAvatarProps {
|
interface WorkspaceAvatarProps {
|
||||||
size: number;
|
size: number;
|
||||||
name: string;
|
name: string | undefined;
|
||||||
avatar: string;
|
avatar: string | undefined;
|
||||||
style?: CSSProperties;
|
style?: CSSProperties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
|
import { UNTITLED_WORKSPACE_NAME } from '@affine/env';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
|
import { useBlockSuiteWorkspaceAvatar } from '../../../hooks/use-blocksuite-workspace-avatar';
|
||||||
import { useWorkspaceBlobImage } from '../../../hooks/use-workspace-blob';
|
import { useWorkspaceBlobImage } from '../../../hooks/use-workspace-blob';
|
||||||
import { BlockSuiteWorkspace, RemWorkspace } from '../../../shared';
|
import { BlockSuiteWorkspace, RemWorkspace } from '../../../shared';
|
||||||
import { stringToColour } from '../../../utils';
|
import { stringToColour } from '../../../utils';
|
||||||
@@ -86,12 +88,13 @@ export const BlockSuiteWorkspaceAvatar: React.FC<BlockSuiteWorkspaceAvatar> = ({
|
|||||||
style,
|
style,
|
||||||
...props
|
...props
|
||||||
}) => {
|
}) => {
|
||||||
const avatarURL = useWorkspaceBlobImage(workspace.meta.avatar, workspace);
|
const [avatar] = useBlockSuiteWorkspaceAvatar(workspace);
|
||||||
|
const avatarURL = useWorkspaceBlobImage(avatar ?? null, workspace);
|
||||||
return (
|
return (
|
||||||
<Avatar
|
<Avatar
|
||||||
{...props}
|
{...props}
|
||||||
size={size}
|
size={size}
|
||||||
name={workspace.meta.name}
|
name={workspace.meta.name ?? UNTITLED_WORKSPACE_NAME}
|
||||||
avatar_url={avatarURL ?? ''}
|
avatar_url={avatarURL ?? ''}
|
||||||
style={style}
|
style={style}
|
||||||
/>
|
/>
|
||||||
|
|||||||
32
apps/web/src/hooks/use-blocksuite-workspace-avatar.ts
Normal file
32
apps/web/src/hooks/use-blocksuite-workspace-avatar.ts
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
import { assertExists } from '@blocksuite/store';
|
||||||
|
import { useCallback, useEffect, useState } from 'react';
|
||||||
|
|
||||||
|
import { BlockSuiteWorkspace } from '../shared';
|
||||||
|
|
||||||
|
export function useBlockSuiteWorkspaceAvatar(
|
||||||
|
blockSuiteWorkspace: BlockSuiteWorkspace | null
|
||||||
|
) {
|
||||||
|
const [avatar, set] = useState<string | undefined>(
|
||||||
|
() => blockSuiteWorkspace?.meta.avatar
|
||||||
|
);
|
||||||
|
useEffect(() => {
|
||||||
|
if (blockSuiteWorkspace) {
|
||||||
|
set(blockSuiteWorkspace.meta.avatar);
|
||||||
|
const dispose = blockSuiteWorkspace.meta.commonFieldsUpdated.on(() => {
|
||||||
|
set(blockSuiteWorkspace.meta.avatar);
|
||||||
|
});
|
||||||
|
return () => {
|
||||||
|
dispose.dispose();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}, [blockSuiteWorkspace]);
|
||||||
|
const setAvatar = useCallback(
|
||||||
|
(avatar: string) => {
|
||||||
|
assertExists(blockSuiteWorkspace);
|
||||||
|
blockSuiteWorkspace.meta.setAvatar(avatar);
|
||||||
|
set(avatar);
|
||||||
|
},
|
||||||
|
[blockSuiteWorkspace]
|
||||||
|
);
|
||||||
|
return [avatar, setAvatar] as const;
|
||||||
|
}
|
||||||
@@ -10,16 +10,11 @@ export function useBlockSuiteWorkspaceName(
|
|||||||
const [name, set] = useState(
|
const [name, set] = useState(
|
||||||
() => blockSuiteWorkspace?.meta.name ?? DEFAULT_WORKSPACE_NAME
|
() => blockSuiteWorkspace?.meta.name ?? DEFAULT_WORKSPACE_NAME
|
||||||
);
|
);
|
||||||
if (blockSuiteWorkspace) {
|
|
||||||
if (blockSuiteWorkspace.meta.name !== name) {
|
|
||||||
set(blockSuiteWorkspace.meta.name);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (blockSuiteWorkspace) {
|
if (blockSuiteWorkspace) {
|
||||||
set(blockSuiteWorkspace.meta.name);
|
set(blockSuiteWorkspace.meta.name ?? '');
|
||||||
const dispose = blockSuiteWorkspace.meta.commonFieldsUpdated.on(() => {
|
const dispose = blockSuiteWorkspace.meta.commonFieldsUpdated.on(() => {
|
||||||
set(blockSuiteWorkspace.meta.name);
|
set(blockSuiteWorkspace.meta.name ?? '');
|
||||||
});
|
});
|
||||||
return () => {
|
return () => {
|
||||||
dispose.dispose();
|
dispose.dispose();
|
||||||
|
|||||||
@@ -16,13 +16,17 @@ export function useWorkspaceBlob(
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function useWorkspaceBlobImage(
|
export function useWorkspaceBlobImage(
|
||||||
key: string,
|
key: string | null,
|
||||||
blockSuiteWorkspace: BlockSuiteWorkspace
|
blockSuiteWorkspace: BlockSuiteWorkspace
|
||||||
) {
|
) {
|
||||||
const blobStorage = useWorkspaceBlob(blockSuiteWorkspace);
|
const blobStorage = useWorkspaceBlob(blockSuiteWorkspace);
|
||||||
const [imageURL, setImageURL] = useState<string | null>(null);
|
const [imageURL, setImageURL] = useState<string | null>(null);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const controller = new AbortController();
|
const controller = new AbortController();
|
||||||
|
if (key === null) {
|
||||||
|
setImageURL(null);
|
||||||
|
return;
|
||||||
|
}
|
||||||
blobStorage?.get(key).then(blob => {
|
blobStorage?.get(key).then(blob => {
|
||||||
if (controller.signal.aborted) {
|
if (controller.signal.aborted) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -10,12 +10,12 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/debug": "workspace:*",
|
"@affine/debug": "workspace:*",
|
||||||
"@affine/i18n": "workspace:*",
|
"@affine/i18n": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/blocks": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/editor": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/editor": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/global": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/global": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/icons": "2.0.17",
|
"@blocksuite/icons": "2.0.17",
|
||||||
"@blocksuite/react": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/react": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/store": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/store": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@emotion/cache": "^11.10.5",
|
"@emotion/cache": "^11.10.5",
|
||||||
"@emotion/react": "^11.10.6",
|
"@emotion/react": "^11.10.6",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@affine/debug": "workspace:*",
|
"@affine/debug": "workspace:*",
|
||||||
"@blocksuite/blocks": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/blocks": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@blocksuite/store": "0.5.0-20230303192351-13b0dd7",
|
"@blocksuite/store": "0.5.0-20230304192152-02cfe2b",
|
||||||
"@tauri-apps/api": "^1.2.0",
|
"@tauri-apps/api": "^1.2.0",
|
||||||
"encoding": "^0.1.13",
|
"encoding": "^0.1.13",
|
||||||
"firebase": "^9.17.1",
|
"firebase": "^9.17.1",
|
||||||
|
|||||||
@@ -201,8 +201,8 @@ export class DataCenter {
|
|||||||
|
|
||||||
const workspaceUnitForPublic = new WorkspaceUnit({
|
const workspaceUnitForPublic = new WorkspaceUnit({
|
||||||
id: workspaceId,
|
id: workspaceId,
|
||||||
name: blocksuiteWorkspace.meta.name,
|
name: blocksuiteWorkspace.meta.name ?? '',
|
||||||
avatar: blocksuiteWorkspace.meta.avatar,
|
avatar: blocksuiteWorkspace.meta.avatar ?? '',
|
||||||
owner: undefined,
|
owner: undefined,
|
||||||
published: true,
|
published: true,
|
||||||
provider: 'affine',
|
provider: 'affine',
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ export const setDefaultAvatar = async (
|
|||||||
if (typeof document === 'undefined') {
|
if (typeof document === 'undefined') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const blob = await getDefaultHeadImgBlob(blocksuiteWorkspace.meta.name);
|
const blob = await getDefaultHeadImgBlob(blocksuiteWorkspace.meta.name ?? '');
|
||||||
if (!blob) {
|
if (!blob) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
2
packages/env/package.json
vendored
2
packages/env/package.json
vendored
@@ -9,6 +9,6 @@
|
|||||||
"zod": "^3.20.6"
|
"zod": "^3.20.6"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blocksuite/global": "0.5.0-20230303192351-13b0dd7"
|
"@blocksuite/global": "0.5.0-20230304192152-02cfe2b"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1
packages/env/src/constant.ts
vendored
1
packages/env/src/constant.ts
vendored
@@ -1 +1,2 @@
|
|||||||
export const DEFAULT_WORKSPACE_NAME = 'Untitled Workspace';
|
export const DEFAULT_WORKSPACE_NAME = 'Untitled Workspace';
|
||||||
|
export const UNTITLED_WORKSPACE_NAME = 'Untitled';
|
||||||
|
|||||||
150
pnpm-lock.yaml
generated
150
pnpm-lock.yaml
generated
@@ -75,10 +75,10 @@ importers:
|
|||||||
|
|
||||||
apps/desktop:
|
apps/desktop:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/editor': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/editor': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/icons': 2.0.17
|
'@blocksuite/icons': 2.0.17
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b
|
||||||
'@emotion/react': ^11.10.6
|
'@emotion/react': ^11.10.6
|
||||||
'@emotion/styled': ^11.10.6
|
'@emotion/styled': ^11.10.6
|
||||||
'@tauri-apps/api': ^1.2.0
|
'@tauri-apps/api': ^1.2.0
|
||||||
@@ -104,10 +104,10 @@ importers:
|
|||||||
yjs: ^13.5.48
|
yjs: ^13.5.48
|
||||||
zx: ^7.2.0
|
zx: ^7.2.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7_5xsxaxbhbu5ctd3lp3pkuuenhi
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b_kk2x7gs6qx2gwg3kqbmoea6xry
|
||||||
'@blocksuite/editor': 0.5.0-20230303192351-13b0dd7_7znjiaiopi2d4jmc57x372ojda
|
'@blocksuite/editor': 0.5.0-20230304192152-02cfe2b_dhbn6t7323cdhh5stshxzwdcli
|
||||||
'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34
|
'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34
|
'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34
|
||||||
'@emotion/styled': 11.10.6_oouaibmszuch5k64ms7uxp2aia
|
'@emotion/styled': 11.10.6_oouaibmszuch5k64ms7uxp2aia
|
||||||
'@tauri-apps/api': 1.2.0_nb4isgkwd3sres4g7j7rgtldsu
|
'@tauri-apps/api': 1.2.0_nb4isgkwd3sres4g7j7rgtldsu
|
||||||
@@ -141,11 +141,11 @@ importers:
|
|||||||
'@affine/debug': workspace:*
|
'@affine/debug': workspace:*
|
||||||
'@affine/env': workspace:*
|
'@affine/env': workspace:*
|
||||||
'@affine/i18n': workspace:*
|
'@affine/i18n': workspace:*
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/editor': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/editor': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/icons': 2.0.17
|
'@blocksuite/icons': 2.0.17
|
||||||
'@blocksuite/react': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/react': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b
|
||||||
'@emotion/cache': ^11.10.5
|
'@emotion/cache': ^11.10.5
|
||||||
'@emotion/react': ^11.10.6
|
'@emotion/react': ^11.10.6
|
||||||
'@emotion/server': ^11.10.0
|
'@emotion/server': ^11.10.0
|
||||||
@@ -189,11 +189,11 @@ importers:
|
|||||||
'@affine/debug': link:../../packages/debug
|
'@affine/debug': link:../../packages/debug
|
||||||
'@affine/env': link:../../packages/env
|
'@affine/env': link:../../packages/env
|
||||||
'@affine/i18n': link:../../packages/i18n
|
'@affine/i18n': link:../../packages/i18n
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7_5xsxaxbhbu5ctd3lp3pkuuenhi
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b_kk2x7gs6qx2gwg3kqbmoea6xry
|
||||||
'@blocksuite/editor': 0.5.0-20230303192351-13b0dd7_7znjiaiopi2d4jmc57x372ojda
|
'@blocksuite/editor': 0.5.0-20230304192152-02cfe2b_dhbn6t7323cdhh5stshxzwdcli
|
||||||
'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34
|
'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34
|
||||||
'@blocksuite/react': 0.5.0-20230303192351-13b0dd7_qlfb2yy7nxtfdwqrqhb63y6k6i
|
'@blocksuite/react': 0.5.0-20230304192152-02cfe2b_i6kk3lpbibqmisc7vzhndhdwoa
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
'@emotion/cache': 11.10.5
|
'@emotion/cache': 11.10.5
|
||||||
'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34
|
'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34
|
||||||
'@emotion/server': 11.10.0
|
'@emotion/server': 11.10.0
|
||||||
@@ -237,12 +237,12 @@ importers:
|
|||||||
specifiers:
|
specifiers:
|
||||||
'@affine/debug': workspace:*
|
'@affine/debug': workspace:*
|
||||||
'@affine/i18n': workspace:*
|
'@affine/i18n': workspace:*
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/editor': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/editor': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/icons': 2.0.17
|
'@blocksuite/icons': 2.0.17
|
||||||
'@blocksuite/react': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/react': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b
|
||||||
'@emotion/cache': ^11.10.5
|
'@emotion/cache': ^11.10.5
|
||||||
'@emotion/react': ^11.10.6
|
'@emotion/react': ^11.10.6
|
||||||
'@emotion/server': ^11.10.0
|
'@emotion/server': ^11.10.0
|
||||||
@@ -275,12 +275,12 @@ importers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@affine/debug': link:../debug
|
'@affine/debug': link:../debug
|
||||||
'@affine/i18n': link:../i18n
|
'@affine/i18n': link:../i18n
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7_5xsxaxbhbu5ctd3lp3pkuuenhi
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b_kk2x7gs6qx2gwg3kqbmoea6xry
|
||||||
'@blocksuite/editor': 0.5.0-20230303192351-13b0dd7_7znjiaiopi2d4jmc57x372ojda
|
'@blocksuite/editor': 0.5.0-20230304192152-02cfe2b_dhbn6t7323cdhh5stshxzwdcli
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7_lit@2.6.1
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b_lit@2.6.1
|
||||||
'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34
|
'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34
|
||||||
'@blocksuite/react': 0.5.0-20230303192351-13b0dd7_qlfb2yy7nxtfdwqrqhb63y6k6i
|
'@blocksuite/react': 0.5.0-20230304192152-02cfe2b_i6kk3lpbibqmisc7vzhndhdwoa
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
'@emotion/cache': 11.10.5
|
'@emotion/cache': 11.10.5
|
||||||
'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34
|
'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34
|
||||||
'@emotion/server': 11.10.0
|
'@emotion/server': 11.10.0
|
||||||
@@ -315,8 +315,8 @@ importers:
|
|||||||
packages/data-center:
|
packages/data-center:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@affine/debug': workspace:*
|
'@affine/debug': workspace:*
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b
|
||||||
'@tauri-apps/api': ^1.2.0
|
'@tauri-apps/api': ^1.2.0
|
||||||
encoding: ^0.1.13
|
encoding: ^0.1.13
|
||||||
fake-indexeddb: 4.0.1
|
fake-indexeddb: 4.0.1
|
||||||
@@ -332,8 +332,8 @@ importers:
|
|||||||
yjs: ^13.5.48
|
yjs: ^13.5.48
|
||||||
dependencies:
|
dependencies:
|
||||||
'@affine/debug': link:../debug
|
'@affine/debug': link:../debug
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7_5xsxaxbhbu5ctd3lp3pkuuenhi
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b_kk2x7gs6qx2gwg3kqbmoea6xry
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
'@tauri-apps/api': 1.2.0_nb4isgkwd3sres4g7j7rgtldsu
|
'@tauri-apps/api': 1.2.0_nb4isgkwd3sres4g7j7rgtldsu
|
||||||
encoding: 0.1.13
|
encoding: 0.1.13
|
||||||
firebase: 9.17.1_encoding@0.1.13
|
firebase: 9.17.1_encoding@0.1.13
|
||||||
@@ -362,13 +362,13 @@ importers:
|
|||||||
|
|
||||||
packages/env:
|
packages/env:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b
|
||||||
next: ^13.2.3
|
next: ^13.2.3
|
||||||
react: ^18.2.0
|
react: ^18.2.0
|
||||||
react-dom: ^18.2.0
|
react-dom: ^18.2.0
|
||||||
zod: ^3.20.6
|
zod: ^3.20.6
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b
|
||||||
devDependencies:
|
devDependencies:
|
||||||
next: 13.2.3_biqbaboplfbrettd7655fr4n2y
|
next: 13.2.3_biqbaboplfbrettd7655fr4n2y
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
@@ -1779,41 +1779,41 @@ packages:
|
|||||||
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
|
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@blocksuite/blocks/0.5.0-20230303192351-13b0dd7_5xsxaxbhbu5ctd3lp3pkuuenhi:
|
/@blocksuite/blocks/0.5.0-20230304192152-02cfe2b_kk2x7gs6qx2gwg3kqbmoea6xry:
|
||||||
resolution: {integrity: sha512-GRrO221M9QfIxOtzBfoTFkTq9CtRGL6EWe0SEP1MSyMOF+hoJYKGiCjWcEpm50hAK60gqE0EHCno8HTyPxgrfw==}
|
resolution: {integrity: sha512-dVf9HG0lL3FeC4Y4VdsCF8PCTIkExIyp/aAgWYa5kC80ayfrTZcSTqdkfDzKMjUVfHm0pf3Df6cp3wzrrKjelg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7_lit@2.6.1
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b_lit@2.6.1
|
||||||
'@blocksuite/phasor': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/phasor': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
'@blocksuite/virgo': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/virgo': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
'@popperjs/core': 2.11.6
|
'@popperjs/core': 2.11.6
|
||||||
highlight.js: 11.7.0
|
highlight.js: 11.7.0
|
||||||
hotkeys-js: 3.10.1
|
hotkeys-js: 3.10.1
|
||||||
lit: 2.6.1
|
lit: 2.6.1
|
||||||
quill: 1.3.7
|
quill: 1.3.7
|
||||||
zod: 3.20.6
|
zod: 3.21.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- yjs
|
- yjs
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/editor/0.5.0-20230303192351-13b0dd7_7znjiaiopi2d4jmc57x372ojda:
|
/@blocksuite/editor/0.5.0-20230304192152-02cfe2b_dhbn6t7323cdhh5stshxzwdcli:
|
||||||
resolution: {integrity: sha512-3V2vAxBaZmgaaENJd5yySCuiM7nkc9E28jV68BATuJpSBFYcZqgBg6J73WiWassS/Yo+WBdPg99n8BOzWTDRgQ==}
|
resolution: {integrity: sha512-Sdbyq7axl9yGP9ykW1ISt8pEoyaTAd4HCiKsNe3/U0XveQ7vo2JyJ3T+l0jIVb0z8PauvzpZR5WtMpV6u/3t+w==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7_5xsxaxbhbu5ctd3lp3pkuuenhi
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b_kk2x7gs6qx2gwg3kqbmoea6xry
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7_lit@2.6.1
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b_lit@2.6.1
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
lit: 2.6.1
|
lit: 2.6.1
|
||||||
marked: 4.2.12
|
marked: 4.2.12
|
||||||
turndown: 7.1.1
|
turndown: 7.1.1
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/global/0.5.0-20230303192351-13b0dd7:
|
/@blocksuite/global/0.5.0-20230304192152-02cfe2b:
|
||||||
resolution: {integrity: sha512-+p2sRKHF2D8UETh+Rl+5CK0HC4RbR8evytban57fZIathmHThwVes4AH/8lJpSUJ/6y8w4A7nr4wXMGDGisttw==}
|
resolution: {integrity: sha512-dtj0GE8I0VcmFllh6oMBpLrFnIhisLjUyBaJY/xDVeIK7bizcKvohMfIJIGfKqTsIL9eHTfSqMpq6vAiKBo0BQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
lit: ^2.6
|
lit: ^2.6
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
@@ -1821,11 +1821,11 @@ packages:
|
|||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-colors: 4.1.3
|
ansi-colors: 4.1.3
|
||||||
zod: 3.20.6
|
zod: 3.21.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/global/0.5.0-20230303192351-13b0dd7_lit@2.6.1:
|
/@blocksuite/global/0.5.0-20230304192152-02cfe2b_lit@2.6.1:
|
||||||
resolution: {integrity: sha512-+p2sRKHF2D8UETh+Rl+5CK0HC4RbR8evytban57fZIathmHThwVes4AH/8lJpSUJ/6y8w4A7nr4wXMGDGisttw==}
|
resolution: {integrity: sha512-dtj0GE8I0VcmFllh6oMBpLrFnIhisLjUyBaJY/xDVeIK7bizcKvohMfIJIGfKqTsIL9eHTfSqMpq6vAiKBo0BQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
lit: ^2.6
|
lit: ^2.6
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
@@ -1834,7 +1834,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
ansi-colors: 4.1.3
|
ansi-colors: 4.1.3
|
||||||
lit: 2.6.1
|
lit: 2.6.1
|
||||||
zod: 3.20.6
|
zod: 3.21.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/icons/2.0.17_pmekkgnqduwlme35zpnqhenc34:
|
/@blocksuite/icons/2.0.17_pmekkgnqduwlme35zpnqhenc34:
|
||||||
@@ -1847,12 +1847,12 @@ packages:
|
|||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/phasor/0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48:
|
/@blocksuite/phasor/0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48:
|
||||||
resolution: {integrity: sha512-KPPkzyXsIiwVpEeoe95XAXZW75a/WujEIjcXsb9XnmRIfAUHKC5ll5z3a6+DvvLHSkm96enfhsh6951dh8IGag==}
|
resolution: {integrity: sha512-UtpF0ue1zF4k608YV0NvHhstq3zNwti8MI00fl+WgtufbQqScSwdDc8ObVW2iPc4RPCgLvsRNRP66AqDuQTWhA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
yjs: ^13
|
yjs: ^13
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7_lit@2.6.1
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b_lit@2.6.1
|
||||||
fractional-indexing: 3.2.0
|
fractional-indexing: 3.2.0
|
||||||
nanoid: 4.0.1
|
nanoid: 4.0.1
|
||||||
perfect-freehand: 1.2.0
|
perfect-freehand: 1.2.0
|
||||||
@@ -1861,19 +1861,19 @@ packages:
|
|||||||
- lit
|
- lit
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/react/0.5.0-20230303192351-13b0dd7_qlfb2yy7nxtfdwqrqhb63y6k6i:
|
/@blocksuite/react/0.5.0-20230304192152-02cfe2b_i6kk3lpbibqmisc7vzhndhdwoa:
|
||||||
resolution: {integrity: sha512-kU3M1YiUhXrfe0xi7aNWVb//VbV73lnaCqipb1VBk1G38y0OcwVcJCL8JPmFiRFM/B32X2CkhWnaSxpme0GSSg==}
|
resolution: {integrity: sha512-7GdJtykAVkXaFBa59d5hVCMXkBT5ReI+fRNwqj86z5xAJVPh1VJniM5NsIFmniebQcYfzPQBL2w1pIV2yKA3KA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/editor': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/editor': 0.5.0-20230304192152-02cfe2b
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b
|
||||||
react: '>=18.0.0'
|
react: '>=18.0.0'
|
||||||
react-dom: '>=18.0.0'
|
react-dom: '>=18.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/blocks': 0.5.0-20230303192351-13b0dd7_5xsxaxbhbu5ctd3lp3pkuuenhi
|
'@blocksuite/blocks': 0.5.0-20230304192152-02cfe2b_kk2x7gs6qx2gwg3kqbmoea6xry
|
||||||
'@blocksuite/editor': 0.5.0-20230303192351-13b0dd7_7znjiaiopi2d4jmc57x372ojda
|
'@blocksuite/editor': 0.5.0-20230304192152-02cfe2b_dhbn6t7323cdhh5stshxzwdcli
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7_lit@2.6.1
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b_lit@2.6.1
|
||||||
'@blocksuite/store': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/store': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
react-dom: 18.2.0_react@18.2.0
|
react-dom: 18.2.0_react@18.2.0
|
||||||
zustand: 4.3.5_react@18.2.0
|
zustand: 4.3.5_react@18.2.0
|
||||||
@@ -1882,13 +1882,13 @@ packages:
|
|||||||
- lit
|
- lit
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/store/0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48:
|
/@blocksuite/store/0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48:
|
||||||
resolution: {integrity: sha512-lyFayQC8WWUykvvjzBt7yie7584KDs0wXd5icUt9aCASXLFcI4+fu7O0HDLkztM+2JAJElWemR8vHLtV1r3Bsg==}
|
resolution: {integrity: sha512-IghswBKPpiOuovXuuU4XbbobBveeeEZYj4uxBki9N5yJoSK2d9IT+yLtqSs164zQtde8aYb0awNeCT1xtFPxRw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
yjs: ^13
|
yjs: ^13
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7_lit@2.6.1
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b_lit@2.6.1
|
||||||
'@blocksuite/virgo': 0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48
|
'@blocksuite/virgo': 0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48
|
||||||
'@types/flexsearch': 0.7.3
|
'@types/flexsearch': 0.7.3
|
||||||
buffer: 6.0.3
|
buffer: 6.0.3
|
||||||
flexsearch: 0.7.21
|
flexsearch: 0.7.21
|
||||||
@@ -1900,7 +1900,7 @@ packages:
|
|||||||
y-protocols: 1.0.5
|
y-protocols: 1.0.5
|
||||||
y-webrtc: 10.2.4
|
y-webrtc: 10.2.4
|
||||||
yjs: 13.5.48
|
yjs: 13.5.48
|
||||||
zod: 3.20.6
|
zod: 3.21.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- bufferutil
|
- bufferutil
|
||||||
- lit
|
- lit
|
||||||
@@ -1908,16 +1908,16 @@ packages:
|
|||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/virgo/0.5.0-20230303192351-13b0dd7_lit@2.6.1+yjs@13.5.48:
|
/@blocksuite/virgo/0.5.0-20230304192152-02cfe2b_lit@2.6.1+yjs@13.5.48:
|
||||||
resolution: {integrity: sha512-5852CfyDOIpaWHdDEUNDiqdISNnG8ggwRR7F7J1ZblkhjYs1sqO/EPhgLXnIRMO2GizP4MqqOZtOb9Jx9EnajQ==}
|
resolution: {integrity: sha512-KcGaRC1ge0lXw4M/agX8ZKLOd/NADcrC8eVThTELEUbDCcC6Z50ShhQJ9iobRY6goM30xQ6lGqU/SGrK182c1w==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
lit: ^2
|
lit: ^2
|
||||||
yjs: ^13
|
yjs: ^13
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/global': 0.5.0-20230303192351-13b0dd7_lit@2.6.1
|
'@blocksuite/global': 0.5.0-20230304192152-02cfe2b_lit@2.6.1
|
||||||
lit: 2.6.1
|
lit: 2.6.1
|
||||||
yjs: 13.5.48
|
yjs: 13.5.48
|
||||||
zod: 3.20.6
|
zod: 3.21.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@changesets/apply-release-plan/6.1.3:
|
/@changesets/apply-release-plan/6.1.3:
|
||||||
@@ -5894,7 +5894,7 @@ packages:
|
|||||||
'@babel/plugin-transform-react-jsx-source': 7.19.6_@babel+core@7.20.12
|
'@babel/plugin-transform-react-jsx-source': 7.19.6_@babel+core@7.20.12
|
||||||
magic-string: 0.27.0
|
magic-string: 0.27.0
|
||||||
react-refresh: 0.14.0
|
react-refresh: 0.14.0
|
||||||
vite: 4.1.4
|
vite: 4.1.4_@types+node@18.14.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
@@ -14343,6 +14343,10 @@ packages:
|
|||||||
/zod/3.20.6:
|
/zod/3.20.6:
|
||||||
resolution: {integrity: sha512-oyu0m54SGCtzh6EClBVqDDlAYRz4jrVtKwQ7ZnsEmMI9HnzuZFj8QFwAY1M5uniIYACdGvv0PBWPF2kO0aNofA==}
|
resolution: {integrity: sha512-oyu0m54SGCtzh6EClBVqDDlAYRz4jrVtKwQ7ZnsEmMI9HnzuZFj8QFwAY1M5uniIYACdGvv0PBWPF2kO0aNofA==}
|
||||||
|
|
||||||
|
/zod/3.21.0:
|
||||||
|
resolution: {integrity: sha512-UYdykTcVxB6lfdyLzAqLyyYAlOcpoluECvjsdoaqfQmz9p+3LRaIqYcNiL/J2kFYp66fBM8wwBvIGVEjq7KtZw==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/zustand/4.3.5_react@18.2.0:
|
/zustand/4.3.5_react@18.2.0:
|
||||||
resolution: {integrity: sha512-2iPUzfwx+g3f0PagOMz2vDO9mZzEp2puFpNe7vrAymVPOEIEUjCPkC4/zy84eAscxIWmTU4j9g6upXYkJdzEFQ==}
|
resolution: {integrity: sha512-2iPUzfwx+g3f0PagOMz2vDO9mZzEp2puFpNe7vrAymVPOEIEUjCPkC4/zy84eAscxIWmTU4j9g6upXYkJdzEFQ==}
|
||||||
engines: {node: '>=12.7.0'}
|
engines: {node: '>=12.7.0'}
|
||||||
|
|||||||
Reference in New Issue
Block a user