feat(core): migration for created by and updated by fields (#12171)

This commit is contained in:
EYHN
2025-05-08 19:34:21 +08:00
committed by GitHub
parent 11dfc1d1df
commit 7c8b977bf9
13 changed files with 458 additions and 2 deletions

View File

@@ -7846,6 +7846,24 @@ export function useAFFiNEI18N(): {
* `Stop`
*/
["com.affine.recording.stop"](): string;
/**
* `All docs data needs to be migrated in order to fully utilize its features.`
*/
["com.affine.migration-all-docs-notification.title"](): string;
/**
* `We upgraded the data format, requiring local data migration to utilize features. Created by and Updated by info is now stored locally. Without the update, you will see the actual status. Perform the upgrade under better network conditions.`
*/
["com.affine.migration-all-docs-notification.content"](): string;
/**
* `Migration failed: {{errorMessage}}`
*/
["com.affine.migration-all-docs-notification.error"](options: {
readonly errorMessage: string;
}): string;
/**
* `Migrate data`
*/
["com.affine.migration-all-docs-notification.button"](): string;
/**
* `An internal error occurred.`
*/

View File

@@ -1965,6 +1965,10 @@
"com.affine.recording.start": "Start",
"com.affine.recording.dismiss": "Dismiss",
"com.affine.recording.stop": "Stop",
"com.affine.migration-all-docs-notification.title": "All docs data needs to be migrated in order to fully utilize its features.",
"com.affine.migration-all-docs-notification.content": "We upgraded the data format, requiring local data migration to utilize features. Created by and Updated by info is now stored locally. Without the update, you will see the actual status. Perform the upgrade under better network conditions.",
"com.affine.migration-all-docs-notification.error": "Migration failed: {{errorMessage}}",
"com.affine.migration-all-docs-notification.button": "Migrate data",
"error.INTERNAL_SERVER_ERROR": "An internal error occurred.",
"error.NETWORK_ERROR": "Network error.",
"error.TOO_MANY_REQUEST": "Too many requests.",