fix(editor): circular dependencies (#10661)
Closes: [BS-2766](https://linear.app/affine-design/issue/BS-2766/把-converttodatabase-移到-root-block-中,避免循环依赖)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
{ "path": "../../core" },
|
||||
{ "path": "../../i18n" },
|
||||
{ "path": "../../../common/nbstore" },
|
||||
{ "path": "../../track" },
|
||||
{ "path": "../../../common/infra" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,5 +6,8 @@
|
||||
"outDir": "./dist",
|
||||
"tsBuildInfoFile": "./dist/tsconfig.tsbuildinfo"
|
||||
},
|
||||
"references": [{ "path": "../../common/env" }]
|
||||
"references": [
|
||||
{ "path": "../../common/debug" },
|
||||
{ "path": "../../common/env" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
{
|
||||
"ar": 100,
|
||||
"ar": 99,
|
||||
"ca": 4,
|
||||
"da": 5,
|
||||
"de": 100,
|
||||
"el-GR": 100,
|
||||
"de": 99,
|
||||
"el-GR": 99,
|
||||
"en": 100,
|
||||
"es-AR": 100,
|
||||
"es-AR": 99,
|
||||
"es-CL": 100,
|
||||
"es": 100,
|
||||
"fa": 100,
|
||||
"fr": 100,
|
||||
"es": 99,
|
||||
"fa": 99,
|
||||
"fr": 99,
|
||||
"hi": 2,
|
||||
"it-IT": 100,
|
||||
"it-IT": 99,
|
||||
"it": 1,
|
||||
"ja": 100,
|
||||
"ja": 99,
|
||||
"ko": 63,
|
||||
"pl": 100,
|
||||
"pt-BR": 100,
|
||||
"ru": 100,
|
||||
"sv-SE": 100,
|
||||
"uk": 100,
|
||||
"pl": 99,
|
||||
"pt-BR": 99,
|
||||
"ru": 99,
|
||||
"sv-SE": 99,
|
||||
"uk": 99,
|
||||
"ur": 2,
|
||||
"zh-Hans": 100,
|
||||
"zh-Hant": 100
|
||||
"zh-Hans": 99,
|
||||
"zh-Hant": 99
|
||||
}
|
||||
|
||||
@@ -7128,6 +7128,13 @@ export function useAFFiNEI18N(): {
|
||||
* `Invalid callback state parameter.`
|
||||
*/
|
||||
["error.INVALID_OAUTH_CALLBACK_STATE"](): string;
|
||||
/**
|
||||
* `Invalid callback code parameter, provider response status: {{status}} and body: {{body}}.`
|
||||
*/
|
||||
["error.INVALID_OAUTH_CALLBACK_CODE"](options: Readonly<{
|
||||
status: string;
|
||||
body: string;
|
||||
}>): string;
|
||||
/**
|
||||
* `Missing query parameter `{{name}}`.`
|
||||
*/
|
||||
@@ -7241,6 +7248,14 @@ export function useAFFiNEI18N(): {
|
||||
* `Space should have only one owner.`
|
||||
*/
|
||||
["error.SPACE_SHOULD_HAVE_ONLY_ONE_OWNER"](): string;
|
||||
/**
|
||||
* `Owner can not leave the workspace.`
|
||||
*/
|
||||
["error.OWNER_CAN_NOT_LEAVE_WORKSPACE"](): string;
|
||||
/**
|
||||
* `You can not revoke your own permission.`
|
||||
*/
|
||||
["error.CAN_NOT_REVOKE_YOURSELF"](): string;
|
||||
/**
|
||||
* `Doc {{docId}} under Space {{spaceId}} not found.`
|
||||
*/
|
||||
@@ -7255,6 +7270,13 @@ export function useAFFiNEI18N(): {
|
||||
action: string;
|
||||
docId: string;
|
||||
}>): string;
|
||||
/**
|
||||
* `Doc {{docId}} under Space {{spaceId}} is blocked from updating.`
|
||||
*/
|
||||
["error.DOC_UPDATE_BLOCKED"](options: Readonly<{
|
||||
docId: string;
|
||||
spaceId: string;
|
||||
}>): string;
|
||||
/**
|
||||
* `Your client with version {{version}} is rejected by remote sync server. Please upgrade to {{serverVersion}}.`
|
||||
*/
|
||||
|
||||
@@ -1771,6 +1771,7 @@
|
||||
"error.UNKNOWN_OAUTH_PROVIDER": "Unknown authentication provider {{name}}.",
|
||||
"error.OAUTH_STATE_EXPIRED": "OAuth state expired, please try again.",
|
||||
"error.INVALID_OAUTH_CALLBACK_STATE": "Invalid callback state parameter.",
|
||||
"error.INVALID_OAUTH_CALLBACK_CODE": "Invalid callback code parameter, provider response status: {{status}} and body: {{body}}.",
|
||||
"error.MISSING_OAUTH_QUERY_PARAMETER": "Missing query parameter `{{name}}`.",
|
||||
"error.OAUTH_ACCOUNT_ALREADY_CONNECTED": "The third-party account has already been connected to another user.",
|
||||
"error.INVALID_EMAIL": "An invalid email provided: {{email}}",
|
||||
@@ -1794,8 +1795,11 @@
|
||||
"error.SPACE_ACCESS_DENIED": "You do not have permission to access Space {{spaceId}}.",
|
||||
"error.SPACE_OWNER_NOT_FOUND": "Owner of Space {{spaceId}} not found.",
|
||||
"error.SPACE_SHOULD_HAVE_ONLY_ONE_OWNER": "Space should have only one owner.",
|
||||
"error.OWNER_CAN_NOT_LEAVE_WORKSPACE": "Owner can not leave the workspace.",
|
||||
"error.CAN_NOT_REVOKE_YOURSELF": "You can not revoke your own permission.",
|
||||
"error.DOC_NOT_FOUND": "Doc {{docId}} under Space {{spaceId}} not found.",
|
||||
"error.DOC_ACTION_DENIED": "You do not have permission to perform {{action}} action on doc {{docId}}.",
|
||||
"error.DOC_UPDATE_BLOCKED": "Doc {{docId}} under Space {{spaceId}} is blocked from updating.",
|
||||
"error.VERSION_REJECTED": "Your client with version {{version}} is rejected by remote sync server. Please upgrade to {{serverVersion}}.",
|
||||
"error.INVALID_HISTORY_TIMESTAMP": "Invalid doc history timestamp provided.",
|
||||
"error.DOC_HISTORY_NOT_FOUND": "History of {{docId}} at {{timestamp}} under Space {{spaceId}}.",
|
||||
|
||||
Reference in New Issue
Block a user