refactor(core): use fractional indexing for sorting (#5809)

use https://github.com/rocicorp/fractional-indexing to enable better sorting logic for crdt app
This commit is contained in:
Peng Xiao
2024-02-22 09:37:59 +00:00
parent 372b4da884
commit 2df8f29b64
8 changed files with 157 additions and 74 deletions

View File

@@ -88,7 +88,7 @@ const WorkspaceAffinePropertiesSchemaSchema = z.object({
});
const PageInfoCustomPropertyItemSchema = PageInfoItemSchema.extend({
order: z.number(),
order: z.string(),
});
const WorkspacePagePropertiesSchema = z.object({