Skip to content

Commit 5750bfc

Browse files
committed
fix: add missing x property to CytoidChartNote
1 parent 2025f5d commit 5750bfc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/schema/chart.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export const cytoidChartNoteSchema = z.object({
4848
page_index: z.number().check(z.int(), z.gte(0)),
4949
type: cytoidChartNodeTypeSchema,
5050
id: z.number().check(z.int(), z.gte(0)),
51+
x: z.number().check(z.gte(0), z.lte(1)),
5152
tick: cytoidChartTickSchema,
5253
has_sibling: z.boolean(),
5354
hold_tick: cytoidChartTickSchema,

src/types/chart.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export interface CytoidChartNote {
7171
page_index: number
7272
type: CytoidChartNodeType
7373
id: number
74+
x: number
7475
tick: number
7576
has_sibling: boolean
7677
hold_tick: number

0 commit comments

Comments
 (0)