Skip to content

Commit

Permalink
fix(store): remove page from draft model (#8760)
Browse files Browse the repository at this point in the history
  • Loading branch information
EYHN committed Nov 19, 2024
1 parent 990d2e0 commit eab376f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/framework/store/src/transformer/draft.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import type { BlockModel } from '../schema/base.js';

type PropsInDraft =
| 'version'
| 'flavour'
| 'role'
| 'page'
| 'id'
| 'keys'
| 'text';
type PropsInDraft = 'version' | 'flavour' | 'role' | 'id' | 'keys' | 'text';

type ModelProps<Model> = Model extends BlockModel<infer U> ? U : never;

Expand Down

0 comments on commit eab376f

Please sign in to comment.