@sudobility/music_types 0.11.21 → 0.11.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +10 -1
- package/README.md +1 -1
- package/dist/index.d.ts +1352 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -2
- package/dist/index.js.map +1 -1
- package/dist/platform/index.d.ts +1 -0
- package/dist/platform/index.d.ts.map +1 -1
- package/dist/platform/index.js +1 -0
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/midi-input.d.ts +54 -0
- package/dist/platform/midi-input.d.ts.map +1 -0
- package/dist/platform/midi-input.js +14 -0
- package/dist/platform/midi-input.js.map +1 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @sudobility/music_types — types and Zod schemas for the
|
|
2
|
+
* @sudobility/music_types — types and Zod schemas for the Moosiac music family.
|
|
3
3
|
*
|
|
4
4
|
* Single sectioned entry point (sudojo_types convention):
|
|
5
|
-
* 1. Score model types (spec §4 of the
|
|
5
|
+
* 1. Score model types (spec §4 of the Moosiac spec)
|
|
6
6
|
* 2. Type guards
|
|
7
7
|
* 3. Selection / fragment types
|
|
8
8
|
* 4. Zod schemas for the score tree
|
|
@@ -55,6 +55,55 @@ export type TempoEvent = {
|
|
|
55
55
|
*/
|
|
56
56
|
export type DurationName = 'whole' | 'half' | 'quarter' | 'eighth' | 'sixteenth' | 'thirtysecond' | 'dotted-whole' | 'dotted-half' | 'dotted-quarter' | 'dotted-eighth' | 'dotted-sixteenth' | 'dotted-thirtysecond' | 'triplet-whole' | 'triplet-half' | 'triplet-quarter' | 'triplet-eighth' | 'triplet-sixteenth' | 'triplet-thirtysecond';
|
|
57
57
|
export type Articulation = 'staccato' | 'accent' | 'tenuto' | 'marcato';
|
|
58
|
+
/**
|
|
59
|
+
* A dynamic marking, from softest to loudest.
|
|
60
|
+
*
|
|
61
|
+
* Attached to the note it applies *from*, and in force until the next one on
|
|
62
|
+
* that track — which is how a dynamic is read on paper and how it is played.
|
|
63
|
+
* Stored as the marking rather than as a velocity, because "mf" is what the
|
|
64
|
+
* score says; the velocity a player gives it is derived (`velocityForDynamic`
|
|
65
|
+
* in music_lib) and stays adjustable per note on top.
|
|
66
|
+
*/
|
|
67
|
+
export type Dynamic = 'ppp' | 'pp' | 'p' | 'mp' | 'mf' | 'f' | 'ff' | 'fff';
|
|
68
|
+
/**
|
|
69
|
+
* How a sung syllable joins its neighbours.
|
|
70
|
+
*
|
|
71
|
+
* MusicXML's own vocabulary, kept rather than invented: it is what decides
|
|
72
|
+
* whether a hyphen is drawn to the next note. "beau-ti-ful" over three notes
|
|
73
|
+
* is `begin`, `middle`, `end`; a one-syllable word is `single`.
|
|
74
|
+
*/
|
|
75
|
+
export type Syllabic = 'single' | 'begin' | 'middle' | 'end';
|
|
76
|
+
/**
|
|
77
|
+
* A small ornamental note played just before the note it decorates.
|
|
78
|
+
*
|
|
79
|
+
* Attached to that note rather than sitting in the voice as an event of its
|
|
80
|
+
* own, because a grace note **takes no time from the bar** — it borrows from
|
|
81
|
+
* its principal. As an event it would have to be excluded from every sum that
|
|
82
|
+
* checks a measure adds up: validation, rest filling, quantization, the
|
|
83
|
+
* VexFlow voice. Hanging it off the note it ornaments means none of those
|
|
84
|
+
* change at all, and it moves, copies and deletes with its principal, which is
|
|
85
|
+
* what a player expects of an ornament.
|
|
86
|
+
*
|
|
87
|
+
* `durationTicks` is the *written* value — what decides the glyph and how many
|
|
88
|
+
* flags it gets — not time taken from the measure.
|
|
89
|
+
*/
|
|
90
|
+
export type GraceNote = {
|
|
91
|
+
pitch: Pitch;
|
|
92
|
+
durationTicks: number;
|
|
93
|
+
/**
|
|
94
|
+
* A slash through the stem: an acciaccatura, crushed against the principal.
|
|
95
|
+
* Without it the note is an appoggiatura, which takes noticeably longer.
|
|
96
|
+
*/
|
|
97
|
+
slashed?: boolean;
|
|
98
|
+
};
|
|
99
|
+
/** One syllable sung on one note. */
|
|
100
|
+
export type Lyric = {
|
|
101
|
+
text: string;
|
|
102
|
+
/** Absent means `single` — a whole word on one note, which is the common case. */
|
|
103
|
+
syllabic?: Syllabic;
|
|
104
|
+
};
|
|
105
|
+
/** Softest first, which is the order a picker should offer them in. */
|
|
106
|
+
export declare const DYNAMICS: readonly Dynamic[];
|
|
58
107
|
export type Clef = 'treble' | 'bass' | 'alto' | 'tenor' | 'percussion';
|
|
59
108
|
export type NoteEvent = {
|
|
60
109
|
id: UUID;
|
|
@@ -67,6 +116,30 @@ export type NoteEvent = {
|
|
|
67
116
|
tieStart?: boolean;
|
|
68
117
|
tieStop?: boolean;
|
|
69
118
|
articulation?: Articulation;
|
|
119
|
+
/** Dynamic marking starting at this note; in force until the next one. */
|
|
120
|
+
dynamic?: Dynamic;
|
|
121
|
+
/**
|
|
122
|
+
* Phrase mark endpoints.
|
|
123
|
+
*
|
|
124
|
+
* Deliberately separate from `tieStart`/`tieStop`, which look the same on
|
|
125
|
+
* paper and mean something else entirely: a tie joins two notes *of the same
|
|
126
|
+
* pitch* into one sounding note, and playback joins their durations. A slur
|
|
127
|
+
* groups a run of *different* pitches as one phrase and joins nothing — so
|
|
128
|
+
* `joinTiedNotes` must never see these, and it does not.
|
|
129
|
+
*/
|
|
130
|
+
slurStart?: boolean;
|
|
131
|
+
slurStop?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* The syllable sung on this note.
|
|
134
|
+
*
|
|
135
|
+
* On the note rather than in a parallel list because that is what a lyric
|
|
136
|
+
* is: text belonging to a notehead, which moves, copies and deletes with it.
|
|
137
|
+
* A separate track of syllables would have to be re-aligned after every edit
|
|
138
|
+
* that changed the note count.
|
|
139
|
+
*/
|
|
140
|
+
lyric?: Lyric;
|
|
141
|
+
/** Ornaments played immediately before this note, in the order written. */
|
|
142
|
+
graceNotes?: GraceNote[];
|
|
70
143
|
};
|
|
71
144
|
export type RestEvent = {
|
|
72
145
|
id: UUID;
|
|
@@ -223,6 +296,16 @@ export declare const articulationSchema: z.ZodEnum<{
|
|
|
223
296
|
tenuto: "tenuto";
|
|
224
297
|
marcato: "marcato";
|
|
225
298
|
}>;
|
|
299
|
+
export declare const dynamicSchema: z.ZodEnum<{
|
|
300
|
+
ppp: "ppp";
|
|
301
|
+
pp: "pp";
|
|
302
|
+
p: "p";
|
|
303
|
+
mp: "mp";
|
|
304
|
+
mf: "mf";
|
|
305
|
+
f: "f";
|
|
306
|
+
ff: "ff";
|
|
307
|
+
fff: "fff";
|
|
308
|
+
}>;
|
|
226
309
|
export declare const clefSchema: z.ZodEnum<{
|
|
227
310
|
treble: "treble";
|
|
228
311
|
bass: "bass";
|
|
@@ -258,6 +341,44 @@ export declare const noteEventSchema: z.ZodObject<{
|
|
|
258
341
|
tenuto: "tenuto";
|
|
259
342
|
marcato: "marcato";
|
|
260
343
|
}>>;
|
|
344
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
345
|
+
ppp: "ppp";
|
|
346
|
+
pp: "pp";
|
|
347
|
+
p: "p";
|
|
348
|
+
mp: "mp";
|
|
349
|
+
mf: "mf";
|
|
350
|
+
f: "f";
|
|
351
|
+
ff: "ff";
|
|
352
|
+
fff: "fff";
|
|
353
|
+
}>>;
|
|
354
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
356
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
357
|
+
pitch: z.ZodObject<{
|
|
358
|
+
step: z.ZodEnum<{
|
|
359
|
+
C: "C";
|
|
360
|
+
D: "D";
|
|
361
|
+
E: "E";
|
|
362
|
+
F: "F";
|
|
363
|
+
G: "G";
|
|
364
|
+
A: "A";
|
|
365
|
+
B: "B";
|
|
366
|
+
}>;
|
|
367
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
368
|
+
octave: z.ZodNumber;
|
|
369
|
+
}, z.core.$strip>;
|
|
370
|
+
durationTicks: z.ZodNumber;
|
|
371
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
}, z.core.$strip>>>;
|
|
373
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
374
|
+
text: z.ZodString;
|
|
375
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
376
|
+
single: "single";
|
|
377
|
+
begin: "begin";
|
|
378
|
+
middle: "middle";
|
|
379
|
+
end: "end";
|
|
380
|
+
}>>;
|
|
381
|
+
}, z.core.$strip>>;
|
|
261
382
|
}, z.core.$strict>;
|
|
262
383
|
export declare const restEventSchema: z.ZodObject<{
|
|
263
384
|
id: z.ZodString;
|
|
@@ -294,6 +415,44 @@ export declare const musicalEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
294
415
|
tenuto: "tenuto";
|
|
295
416
|
marcato: "marcato";
|
|
296
417
|
}>>;
|
|
418
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
419
|
+
ppp: "ppp";
|
|
420
|
+
pp: "pp";
|
|
421
|
+
p: "p";
|
|
422
|
+
mp: "mp";
|
|
423
|
+
mf: "mf";
|
|
424
|
+
f: "f";
|
|
425
|
+
ff: "ff";
|
|
426
|
+
fff: "fff";
|
|
427
|
+
}>>;
|
|
428
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
429
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
431
|
+
pitch: z.ZodObject<{
|
|
432
|
+
step: z.ZodEnum<{
|
|
433
|
+
C: "C";
|
|
434
|
+
D: "D";
|
|
435
|
+
E: "E";
|
|
436
|
+
F: "F";
|
|
437
|
+
G: "G";
|
|
438
|
+
A: "A";
|
|
439
|
+
B: "B";
|
|
440
|
+
}>;
|
|
441
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
442
|
+
octave: z.ZodNumber;
|
|
443
|
+
}, z.core.$strip>;
|
|
444
|
+
durationTicks: z.ZodNumber;
|
|
445
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
446
|
+
}, z.core.$strip>>>;
|
|
447
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
text: z.ZodString;
|
|
449
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
450
|
+
single: "single";
|
|
451
|
+
begin: "begin";
|
|
452
|
+
middle: "middle";
|
|
453
|
+
end: "end";
|
|
454
|
+
}>>;
|
|
455
|
+
}, z.core.$strip>>;
|
|
297
456
|
}, z.core.$strict>, z.ZodObject<{
|
|
298
457
|
id: z.ZodString;
|
|
299
458
|
startTick: z.ZodNumber;
|
|
@@ -332,6 +491,44 @@ export declare const voiceSchema: z.ZodObject<{
|
|
|
332
491
|
tenuto: "tenuto";
|
|
333
492
|
marcato: "marcato";
|
|
334
493
|
}>>;
|
|
494
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
495
|
+
ppp: "ppp";
|
|
496
|
+
pp: "pp";
|
|
497
|
+
p: "p";
|
|
498
|
+
mp: "mp";
|
|
499
|
+
mf: "mf";
|
|
500
|
+
f: "f";
|
|
501
|
+
ff: "ff";
|
|
502
|
+
fff: "fff";
|
|
503
|
+
}>>;
|
|
504
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
505
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
506
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
507
|
+
pitch: z.ZodObject<{
|
|
508
|
+
step: z.ZodEnum<{
|
|
509
|
+
C: "C";
|
|
510
|
+
D: "D";
|
|
511
|
+
E: "E";
|
|
512
|
+
F: "F";
|
|
513
|
+
G: "G";
|
|
514
|
+
A: "A";
|
|
515
|
+
B: "B";
|
|
516
|
+
}>;
|
|
517
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
518
|
+
octave: z.ZodNumber;
|
|
519
|
+
}, z.core.$strip>;
|
|
520
|
+
durationTicks: z.ZodNumber;
|
|
521
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
522
|
+
}, z.core.$strip>>>;
|
|
523
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
524
|
+
text: z.ZodString;
|
|
525
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
526
|
+
single: "single";
|
|
527
|
+
begin: "begin";
|
|
528
|
+
middle: "middle";
|
|
529
|
+
end: "end";
|
|
530
|
+
}>>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
335
532
|
}, z.core.$strict>, z.ZodObject<{
|
|
336
533
|
id: z.ZodString;
|
|
337
534
|
startTick: z.ZodNumber;
|
|
@@ -387,6 +584,44 @@ export declare const measureSchema: z.ZodObject<{
|
|
|
387
584
|
tenuto: "tenuto";
|
|
388
585
|
marcato: "marcato";
|
|
389
586
|
}>>;
|
|
587
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
588
|
+
ppp: "ppp";
|
|
589
|
+
pp: "pp";
|
|
590
|
+
p: "p";
|
|
591
|
+
mp: "mp";
|
|
592
|
+
mf: "mf";
|
|
593
|
+
f: "f";
|
|
594
|
+
ff: "ff";
|
|
595
|
+
fff: "fff";
|
|
596
|
+
}>>;
|
|
597
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
598
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
599
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
600
|
+
pitch: z.ZodObject<{
|
|
601
|
+
step: z.ZodEnum<{
|
|
602
|
+
C: "C";
|
|
603
|
+
D: "D";
|
|
604
|
+
E: "E";
|
|
605
|
+
F: "F";
|
|
606
|
+
G: "G";
|
|
607
|
+
A: "A";
|
|
608
|
+
B: "B";
|
|
609
|
+
}>;
|
|
610
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
611
|
+
octave: z.ZodNumber;
|
|
612
|
+
}, z.core.$strip>;
|
|
613
|
+
durationTicks: z.ZodNumber;
|
|
614
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
615
|
+
}, z.core.$strip>>>;
|
|
616
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
text: z.ZodString;
|
|
618
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
619
|
+
single: "single";
|
|
620
|
+
begin: "begin";
|
|
621
|
+
middle: "middle";
|
|
622
|
+
end: "end";
|
|
623
|
+
}>>;
|
|
624
|
+
}, z.core.$strip>>;
|
|
390
625
|
}, z.core.$strict>, z.ZodObject<{
|
|
391
626
|
id: z.ZodString;
|
|
392
627
|
startTick: z.ZodNumber;
|
|
@@ -427,6 +662,44 @@ export declare const measureSchema: z.ZodObject<{
|
|
|
427
662
|
tenuto: "tenuto";
|
|
428
663
|
marcato: "marcato";
|
|
429
664
|
}>>;
|
|
665
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
666
|
+
ppp: "ppp";
|
|
667
|
+
pp: "pp";
|
|
668
|
+
p: "p";
|
|
669
|
+
mp: "mp";
|
|
670
|
+
mf: "mf";
|
|
671
|
+
f: "f";
|
|
672
|
+
ff: "ff";
|
|
673
|
+
fff: "fff";
|
|
674
|
+
}>>;
|
|
675
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
676
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
677
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
678
|
+
pitch: z.ZodObject<{
|
|
679
|
+
step: z.ZodEnum<{
|
|
680
|
+
C: "C";
|
|
681
|
+
D: "D";
|
|
682
|
+
E: "E";
|
|
683
|
+
F: "F";
|
|
684
|
+
G: "G";
|
|
685
|
+
A: "A";
|
|
686
|
+
B: "B";
|
|
687
|
+
}>;
|
|
688
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
689
|
+
octave: z.ZodNumber;
|
|
690
|
+
}, z.core.$strip>;
|
|
691
|
+
durationTicks: z.ZodNumber;
|
|
692
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
693
|
+
}, z.core.$strip>>>;
|
|
694
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
695
|
+
text: z.ZodString;
|
|
696
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
697
|
+
single: "single";
|
|
698
|
+
begin: "begin";
|
|
699
|
+
middle: "middle";
|
|
700
|
+
end: "end";
|
|
701
|
+
}>>;
|
|
702
|
+
}, z.core.$strip>>;
|
|
430
703
|
}, z.core.$strict>, z.ZodObject<{
|
|
431
704
|
id: z.ZodString;
|
|
432
705
|
startTick: z.ZodNumber;
|
|
@@ -500,6 +773,44 @@ export declare const trackSchema: z.ZodObject<{
|
|
|
500
773
|
tenuto: "tenuto";
|
|
501
774
|
marcato: "marcato";
|
|
502
775
|
}>>;
|
|
776
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
777
|
+
ppp: "ppp";
|
|
778
|
+
pp: "pp";
|
|
779
|
+
p: "p";
|
|
780
|
+
mp: "mp";
|
|
781
|
+
mf: "mf";
|
|
782
|
+
f: "f";
|
|
783
|
+
ff: "ff";
|
|
784
|
+
fff: "fff";
|
|
785
|
+
}>>;
|
|
786
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
787
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
788
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
789
|
+
pitch: z.ZodObject<{
|
|
790
|
+
step: z.ZodEnum<{
|
|
791
|
+
C: "C";
|
|
792
|
+
D: "D";
|
|
793
|
+
E: "E";
|
|
794
|
+
F: "F";
|
|
795
|
+
G: "G";
|
|
796
|
+
A: "A";
|
|
797
|
+
B: "B";
|
|
798
|
+
}>;
|
|
799
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
800
|
+
octave: z.ZodNumber;
|
|
801
|
+
}, z.core.$strip>;
|
|
802
|
+
durationTicks: z.ZodNumber;
|
|
803
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
804
|
+
}, z.core.$strip>>>;
|
|
805
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
806
|
+
text: z.ZodString;
|
|
807
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
808
|
+
single: "single";
|
|
809
|
+
begin: "begin";
|
|
810
|
+
middle: "middle";
|
|
811
|
+
end: "end";
|
|
812
|
+
}>>;
|
|
813
|
+
}, z.core.$strip>>;
|
|
503
814
|
}, z.core.$strict>, z.ZodObject<{
|
|
504
815
|
id: z.ZodString;
|
|
505
816
|
startTick: z.ZodNumber;
|
|
@@ -540,6 +851,44 @@ export declare const trackSchema: z.ZodObject<{
|
|
|
540
851
|
tenuto: "tenuto";
|
|
541
852
|
marcato: "marcato";
|
|
542
853
|
}>>;
|
|
854
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
855
|
+
ppp: "ppp";
|
|
856
|
+
pp: "pp";
|
|
857
|
+
p: "p";
|
|
858
|
+
mp: "mp";
|
|
859
|
+
mf: "mf";
|
|
860
|
+
f: "f";
|
|
861
|
+
ff: "ff";
|
|
862
|
+
fff: "fff";
|
|
863
|
+
}>>;
|
|
864
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
865
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
866
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
867
|
+
pitch: z.ZodObject<{
|
|
868
|
+
step: z.ZodEnum<{
|
|
869
|
+
C: "C";
|
|
870
|
+
D: "D";
|
|
871
|
+
E: "E";
|
|
872
|
+
F: "F";
|
|
873
|
+
G: "G";
|
|
874
|
+
A: "A";
|
|
875
|
+
B: "B";
|
|
876
|
+
}>;
|
|
877
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
878
|
+
octave: z.ZodNumber;
|
|
879
|
+
}, z.core.$strip>;
|
|
880
|
+
durationTicks: z.ZodNumber;
|
|
881
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
882
|
+
}, z.core.$strip>>>;
|
|
883
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
884
|
+
text: z.ZodString;
|
|
885
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
886
|
+
single: "single";
|
|
887
|
+
begin: "begin";
|
|
888
|
+
middle: "middle";
|
|
889
|
+
end: "end";
|
|
890
|
+
}>>;
|
|
891
|
+
}, z.core.$strip>>;
|
|
543
892
|
}, z.core.$strict>, z.ZodObject<{
|
|
544
893
|
id: z.ZodString;
|
|
545
894
|
startTick: z.ZodNumber;
|
|
@@ -637,6 +986,44 @@ export declare const scoreSchema: z.ZodObject<{
|
|
|
637
986
|
tenuto: "tenuto";
|
|
638
987
|
marcato: "marcato";
|
|
639
988
|
}>>;
|
|
989
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
990
|
+
ppp: "ppp";
|
|
991
|
+
pp: "pp";
|
|
992
|
+
p: "p";
|
|
993
|
+
mp: "mp";
|
|
994
|
+
mf: "mf";
|
|
995
|
+
f: "f";
|
|
996
|
+
ff: "ff";
|
|
997
|
+
fff: "fff";
|
|
998
|
+
}>>;
|
|
999
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1000
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1001
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1002
|
+
pitch: z.ZodObject<{
|
|
1003
|
+
step: z.ZodEnum<{
|
|
1004
|
+
C: "C";
|
|
1005
|
+
D: "D";
|
|
1006
|
+
E: "E";
|
|
1007
|
+
F: "F";
|
|
1008
|
+
G: "G";
|
|
1009
|
+
A: "A";
|
|
1010
|
+
B: "B";
|
|
1011
|
+
}>;
|
|
1012
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1013
|
+
octave: z.ZodNumber;
|
|
1014
|
+
}, z.core.$strip>;
|
|
1015
|
+
durationTicks: z.ZodNumber;
|
|
1016
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1017
|
+
}, z.core.$strip>>>;
|
|
1018
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
text: z.ZodString;
|
|
1020
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1021
|
+
single: "single";
|
|
1022
|
+
begin: "begin";
|
|
1023
|
+
middle: "middle";
|
|
1024
|
+
end: "end";
|
|
1025
|
+
}>>;
|
|
1026
|
+
}, z.core.$strip>>;
|
|
640
1027
|
}, z.core.$strict>, z.ZodObject<{
|
|
641
1028
|
id: z.ZodString;
|
|
642
1029
|
startTick: z.ZodNumber;
|
|
@@ -677,6 +1064,44 @@ export declare const scoreSchema: z.ZodObject<{
|
|
|
677
1064
|
tenuto: "tenuto";
|
|
678
1065
|
marcato: "marcato";
|
|
679
1066
|
}>>;
|
|
1067
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1068
|
+
ppp: "ppp";
|
|
1069
|
+
pp: "pp";
|
|
1070
|
+
p: "p";
|
|
1071
|
+
mp: "mp";
|
|
1072
|
+
mf: "mf";
|
|
1073
|
+
f: "f";
|
|
1074
|
+
ff: "ff";
|
|
1075
|
+
fff: "fff";
|
|
1076
|
+
}>>;
|
|
1077
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1078
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1079
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1080
|
+
pitch: z.ZodObject<{
|
|
1081
|
+
step: z.ZodEnum<{
|
|
1082
|
+
C: "C";
|
|
1083
|
+
D: "D";
|
|
1084
|
+
E: "E";
|
|
1085
|
+
F: "F";
|
|
1086
|
+
G: "G";
|
|
1087
|
+
A: "A";
|
|
1088
|
+
B: "B";
|
|
1089
|
+
}>;
|
|
1090
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1091
|
+
octave: z.ZodNumber;
|
|
1092
|
+
}, z.core.$strip>;
|
|
1093
|
+
durationTicks: z.ZodNumber;
|
|
1094
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1095
|
+
}, z.core.$strip>>>;
|
|
1096
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1097
|
+
text: z.ZodString;
|
|
1098
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1099
|
+
single: "single";
|
|
1100
|
+
begin: "begin";
|
|
1101
|
+
middle: "middle";
|
|
1102
|
+
end: "end";
|
|
1103
|
+
}>>;
|
|
1104
|
+
}, z.core.$strip>>;
|
|
680
1105
|
}, z.core.$strict>, z.ZodObject<{
|
|
681
1106
|
id: z.ZodString;
|
|
682
1107
|
startTick: z.ZodNumber;
|
|
@@ -832,6 +1257,44 @@ export declare const scoreFragmentSchema: z.ZodObject<{
|
|
|
832
1257
|
tenuto: "tenuto";
|
|
833
1258
|
marcato: "marcato";
|
|
834
1259
|
}>>;
|
|
1260
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1261
|
+
ppp: "ppp";
|
|
1262
|
+
pp: "pp";
|
|
1263
|
+
p: "p";
|
|
1264
|
+
mp: "mp";
|
|
1265
|
+
mf: "mf";
|
|
1266
|
+
f: "f";
|
|
1267
|
+
ff: "ff";
|
|
1268
|
+
fff: "fff";
|
|
1269
|
+
}>>;
|
|
1270
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1271
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1272
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1273
|
+
pitch: z.ZodObject<{
|
|
1274
|
+
step: z.ZodEnum<{
|
|
1275
|
+
C: "C";
|
|
1276
|
+
D: "D";
|
|
1277
|
+
E: "E";
|
|
1278
|
+
F: "F";
|
|
1279
|
+
G: "G";
|
|
1280
|
+
A: "A";
|
|
1281
|
+
B: "B";
|
|
1282
|
+
}>;
|
|
1283
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1284
|
+
octave: z.ZodNumber;
|
|
1285
|
+
}, z.core.$strip>;
|
|
1286
|
+
durationTicks: z.ZodNumber;
|
|
1287
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1288
|
+
}, z.core.$strip>>>;
|
|
1289
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1290
|
+
text: z.ZodString;
|
|
1291
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1292
|
+
single: "single";
|
|
1293
|
+
begin: "begin";
|
|
1294
|
+
middle: "middle";
|
|
1295
|
+
end: "end";
|
|
1296
|
+
}>>;
|
|
1297
|
+
}, z.core.$strip>>;
|
|
835
1298
|
}, z.core.$strict>, z.ZodObject<{
|
|
836
1299
|
id: z.ZodString;
|
|
837
1300
|
startTick: z.ZodNumber;
|
|
@@ -872,6 +1335,44 @@ export declare const scoreFragmentSchema: z.ZodObject<{
|
|
|
872
1335
|
tenuto: "tenuto";
|
|
873
1336
|
marcato: "marcato";
|
|
874
1337
|
}>>;
|
|
1338
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1339
|
+
ppp: "ppp";
|
|
1340
|
+
pp: "pp";
|
|
1341
|
+
p: "p";
|
|
1342
|
+
mp: "mp";
|
|
1343
|
+
mf: "mf";
|
|
1344
|
+
f: "f";
|
|
1345
|
+
ff: "ff";
|
|
1346
|
+
fff: "fff";
|
|
1347
|
+
}>>;
|
|
1348
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1349
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1350
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1351
|
+
pitch: z.ZodObject<{
|
|
1352
|
+
step: z.ZodEnum<{
|
|
1353
|
+
C: "C";
|
|
1354
|
+
D: "D";
|
|
1355
|
+
E: "E";
|
|
1356
|
+
F: "F";
|
|
1357
|
+
G: "G";
|
|
1358
|
+
A: "A";
|
|
1359
|
+
B: "B";
|
|
1360
|
+
}>;
|
|
1361
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1362
|
+
octave: z.ZodNumber;
|
|
1363
|
+
}, z.core.$strip>;
|
|
1364
|
+
durationTicks: z.ZodNumber;
|
|
1365
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1366
|
+
}, z.core.$strip>>>;
|
|
1367
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1368
|
+
text: z.ZodString;
|
|
1369
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1370
|
+
single: "single";
|
|
1371
|
+
begin: "begin";
|
|
1372
|
+
middle: "middle";
|
|
1373
|
+
end: "end";
|
|
1374
|
+
}>>;
|
|
1375
|
+
}, z.core.$strip>>;
|
|
875
1376
|
}, z.core.$strict>, z.ZodObject<{
|
|
876
1377
|
id: z.ZodString;
|
|
877
1378
|
startTick: z.ZodNumber;
|
|
@@ -1022,6 +1523,44 @@ export declare const generateScoreResultSchema: z.ZodObject<{
|
|
|
1022
1523
|
tenuto: "tenuto";
|
|
1023
1524
|
marcato: "marcato";
|
|
1024
1525
|
}>>;
|
|
1526
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1527
|
+
ppp: "ppp";
|
|
1528
|
+
pp: "pp";
|
|
1529
|
+
p: "p";
|
|
1530
|
+
mp: "mp";
|
|
1531
|
+
mf: "mf";
|
|
1532
|
+
f: "f";
|
|
1533
|
+
ff: "ff";
|
|
1534
|
+
fff: "fff";
|
|
1535
|
+
}>>;
|
|
1536
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1537
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1538
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1539
|
+
pitch: z.ZodObject<{
|
|
1540
|
+
step: z.ZodEnum<{
|
|
1541
|
+
C: "C";
|
|
1542
|
+
D: "D";
|
|
1543
|
+
E: "E";
|
|
1544
|
+
F: "F";
|
|
1545
|
+
G: "G";
|
|
1546
|
+
A: "A";
|
|
1547
|
+
B: "B";
|
|
1548
|
+
}>;
|
|
1549
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1550
|
+
octave: z.ZodNumber;
|
|
1551
|
+
}, z.core.$strip>;
|
|
1552
|
+
durationTicks: z.ZodNumber;
|
|
1553
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1554
|
+
}, z.core.$strip>>>;
|
|
1555
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1556
|
+
text: z.ZodString;
|
|
1557
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1558
|
+
single: "single";
|
|
1559
|
+
begin: "begin";
|
|
1560
|
+
middle: "middle";
|
|
1561
|
+
end: "end";
|
|
1562
|
+
}>>;
|
|
1563
|
+
}, z.core.$strip>>;
|
|
1025
1564
|
}, z.core.$strict>, z.ZodObject<{
|
|
1026
1565
|
id: z.ZodString;
|
|
1027
1566
|
startTick: z.ZodNumber;
|
|
@@ -1062,6 +1601,44 @@ export declare const generateScoreResultSchema: z.ZodObject<{
|
|
|
1062
1601
|
tenuto: "tenuto";
|
|
1063
1602
|
marcato: "marcato";
|
|
1064
1603
|
}>>;
|
|
1604
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1605
|
+
ppp: "ppp";
|
|
1606
|
+
pp: "pp";
|
|
1607
|
+
p: "p";
|
|
1608
|
+
mp: "mp";
|
|
1609
|
+
mf: "mf";
|
|
1610
|
+
f: "f";
|
|
1611
|
+
ff: "ff";
|
|
1612
|
+
fff: "fff";
|
|
1613
|
+
}>>;
|
|
1614
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1615
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1616
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1617
|
+
pitch: z.ZodObject<{
|
|
1618
|
+
step: z.ZodEnum<{
|
|
1619
|
+
C: "C";
|
|
1620
|
+
D: "D";
|
|
1621
|
+
E: "E";
|
|
1622
|
+
F: "F";
|
|
1623
|
+
G: "G";
|
|
1624
|
+
A: "A";
|
|
1625
|
+
B: "B";
|
|
1626
|
+
}>;
|
|
1627
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1628
|
+
octave: z.ZodNumber;
|
|
1629
|
+
}, z.core.$strip>;
|
|
1630
|
+
durationTicks: z.ZodNumber;
|
|
1631
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1632
|
+
}, z.core.$strip>>>;
|
|
1633
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1634
|
+
text: z.ZodString;
|
|
1635
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1636
|
+
single: "single";
|
|
1637
|
+
begin: "begin";
|
|
1638
|
+
middle: "middle";
|
|
1639
|
+
end: "end";
|
|
1640
|
+
}>>;
|
|
1641
|
+
}, z.core.$strip>>;
|
|
1065
1642
|
}, z.core.$strict>, z.ZodObject<{
|
|
1066
1643
|
id: z.ZodString;
|
|
1067
1644
|
startTick: z.ZodNumber;
|
|
@@ -1153,6 +1730,44 @@ export declare const regenerateRegionRequestSchema: z.ZodObject<{
|
|
|
1153
1730
|
tenuto: "tenuto";
|
|
1154
1731
|
marcato: "marcato";
|
|
1155
1732
|
}>>;
|
|
1733
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1734
|
+
ppp: "ppp";
|
|
1735
|
+
pp: "pp";
|
|
1736
|
+
p: "p";
|
|
1737
|
+
mp: "mp";
|
|
1738
|
+
mf: "mf";
|
|
1739
|
+
f: "f";
|
|
1740
|
+
ff: "ff";
|
|
1741
|
+
fff: "fff";
|
|
1742
|
+
}>>;
|
|
1743
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1744
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1745
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1746
|
+
pitch: z.ZodObject<{
|
|
1747
|
+
step: z.ZodEnum<{
|
|
1748
|
+
C: "C";
|
|
1749
|
+
D: "D";
|
|
1750
|
+
E: "E";
|
|
1751
|
+
F: "F";
|
|
1752
|
+
G: "G";
|
|
1753
|
+
A: "A";
|
|
1754
|
+
B: "B";
|
|
1755
|
+
}>;
|
|
1756
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1757
|
+
octave: z.ZodNumber;
|
|
1758
|
+
}, z.core.$strip>;
|
|
1759
|
+
durationTicks: z.ZodNumber;
|
|
1760
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1761
|
+
}, z.core.$strip>>>;
|
|
1762
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1763
|
+
text: z.ZodString;
|
|
1764
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1765
|
+
single: "single";
|
|
1766
|
+
begin: "begin";
|
|
1767
|
+
middle: "middle";
|
|
1768
|
+
end: "end";
|
|
1769
|
+
}>>;
|
|
1770
|
+
}, z.core.$strip>>;
|
|
1156
1771
|
}, z.core.$strict>, z.ZodObject<{
|
|
1157
1772
|
id: z.ZodString;
|
|
1158
1773
|
startTick: z.ZodNumber;
|
|
@@ -1193,6 +1808,44 @@ export declare const regenerateRegionRequestSchema: z.ZodObject<{
|
|
|
1193
1808
|
tenuto: "tenuto";
|
|
1194
1809
|
marcato: "marcato";
|
|
1195
1810
|
}>>;
|
|
1811
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1812
|
+
ppp: "ppp";
|
|
1813
|
+
pp: "pp";
|
|
1814
|
+
p: "p";
|
|
1815
|
+
mp: "mp";
|
|
1816
|
+
mf: "mf";
|
|
1817
|
+
f: "f";
|
|
1818
|
+
ff: "ff";
|
|
1819
|
+
fff: "fff";
|
|
1820
|
+
}>>;
|
|
1821
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1822
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1823
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1824
|
+
pitch: z.ZodObject<{
|
|
1825
|
+
step: z.ZodEnum<{
|
|
1826
|
+
C: "C";
|
|
1827
|
+
D: "D";
|
|
1828
|
+
E: "E";
|
|
1829
|
+
F: "F";
|
|
1830
|
+
G: "G";
|
|
1831
|
+
A: "A";
|
|
1832
|
+
B: "B";
|
|
1833
|
+
}>;
|
|
1834
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1835
|
+
octave: z.ZodNumber;
|
|
1836
|
+
}, z.core.$strip>;
|
|
1837
|
+
durationTicks: z.ZodNumber;
|
|
1838
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1839
|
+
}, z.core.$strip>>>;
|
|
1840
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1841
|
+
text: z.ZodString;
|
|
1842
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1843
|
+
single: "single";
|
|
1844
|
+
begin: "begin";
|
|
1845
|
+
middle: "middle";
|
|
1846
|
+
end: "end";
|
|
1847
|
+
}>>;
|
|
1848
|
+
}, z.core.$strip>>;
|
|
1196
1849
|
}, z.core.$strict>, z.ZodObject<{
|
|
1197
1850
|
id: z.ZodString;
|
|
1198
1851
|
startTick: z.ZodNumber;
|
|
@@ -1260,6 +1913,44 @@ export declare const regenerateRegionRequestSchema: z.ZodObject<{
|
|
|
1260
1913
|
tenuto: "tenuto";
|
|
1261
1914
|
marcato: "marcato";
|
|
1262
1915
|
}>>;
|
|
1916
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1917
|
+
ppp: "ppp";
|
|
1918
|
+
pp: "pp";
|
|
1919
|
+
p: "p";
|
|
1920
|
+
mp: "mp";
|
|
1921
|
+
mf: "mf";
|
|
1922
|
+
f: "f";
|
|
1923
|
+
ff: "ff";
|
|
1924
|
+
fff: "fff";
|
|
1925
|
+
}>>;
|
|
1926
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
1927
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
1928
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1929
|
+
pitch: z.ZodObject<{
|
|
1930
|
+
step: z.ZodEnum<{
|
|
1931
|
+
C: "C";
|
|
1932
|
+
D: "D";
|
|
1933
|
+
E: "E";
|
|
1934
|
+
F: "F";
|
|
1935
|
+
G: "G";
|
|
1936
|
+
A: "A";
|
|
1937
|
+
B: "B";
|
|
1938
|
+
}>;
|
|
1939
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
1940
|
+
octave: z.ZodNumber;
|
|
1941
|
+
}, z.core.$strip>;
|
|
1942
|
+
durationTicks: z.ZodNumber;
|
|
1943
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
1944
|
+
}, z.core.$strip>>>;
|
|
1945
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
1946
|
+
text: z.ZodString;
|
|
1947
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
1948
|
+
single: "single";
|
|
1949
|
+
begin: "begin";
|
|
1950
|
+
middle: "middle";
|
|
1951
|
+
end: "end";
|
|
1952
|
+
}>>;
|
|
1953
|
+
}, z.core.$strip>>;
|
|
1263
1954
|
}, z.core.$strict>, z.ZodObject<{
|
|
1264
1955
|
id: z.ZodString;
|
|
1265
1956
|
startTick: z.ZodNumber;
|
|
@@ -1300,6 +1991,44 @@ export declare const regenerateRegionRequestSchema: z.ZodObject<{
|
|
|
1300
1991
|
tenuto: "tenuto";
|
|
1301
1992
|
marcato: "marcato";
|
|
1302
1993
|
}>>;
|
|
1994
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
1995
|
+
ppp: "ppp";
|
|
1996
|
+
pp: "pp";
|
|
1997
|
+
p: "p";
|
|
1998
|
+
mp: "mp";
|
|
1999
|
+
mf: "mf";
|
|
2000
|
+
f: "f";
|
|
2001
|
+
ff: "ff";
|
|
2002
|
+
fff: "fff";
|
|
2003
|
+
}>>;
|
|
2004
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
2005
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
2006
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2007
|
+
pitch: z.ZodObject<{
|
|
2008
|
+
step: z.ZodEnum<{
|
|
2009
|
+
C: "C";
|
|
2010
|
+
D: "D";
|
|
2011
|
+
E: "E";
|
|
2012
|
+
F: "F";
|
|
2013
|
+
G: "G";
|
|
2014
|
+
A: "A";
|
|
2015
|
+
B: "B";
|
|
2016
|
+
}>;
|
|
2017
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
2018
|
+
octave: z.ZodNumber;
|
|
2019
|
+
}, z.core.$strip>;
|
|
2020
|
+
durationTicks: z.ZodNumber;
|
|
2021
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
2022
|
+
}, z.core.$strip>>>;
|
|
2023
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
2024
|
+
text: z.ZodString;
|
|
2025
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
2026
|
+
single: "single";
|
|
2027
|
+
begin: "begin";
|
|
2028
|
+
middle: "middle";
|
|
2029
|
+
end: "end";
|
|
2030
|
+
}>>;
|
|
2031
|
+
}, z.core.$strip>>;
|
|
1303
2032
|
}, z.core.$strict>, z.ZodObject<{
|
|
1304
2033
|
id: z.ZodString;
|
|
1305
2034
|
startTick: z.ZodNumber;
|
|
@@ -1367,6 +2096,44 @@ export declare const regenerateRegionRequestSchema: z.ZodObject<{
|
|
|
1367
2096
|
tenuto: "tenuto";
|
|
1368
2097
|
marcato: "marcato";
|
|
1369
2098
|
}>>;
|
|
2099
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
2100
|
+
ppp: "ppp";
|
|
2101
|
+
pp: "pp";
|
|
2102
|
+
p: "p";
|
|
2103
|
+
mp: "mp";
|
|
2104
|
+
mf: "mf";
|
|
2105
|
+
f: "f";
|
|
2106
|
+
ff: "ff";
|
|
2107
|
+
fff: "fff";
|
|
2108
|
+
}>>;
|
|
2109
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
2110
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
2111
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2112
|
+
pitch: z.ZodObject<{
|
|
2113
|
+
step: z.ZodEnum<{
|
|
2114
|
+
C: "C";
|
|
2115
|
+
D: "D";
|
|
2116
|
+
E: "E";
|
|
2117
|
+
F: "F";
|
|
2118
|
+
G: "G";
|
|
2119
|
+
A: "A";
|
|
2120
|
+
B: "B";
|
|
2121
|
+
}>;
|
|
2122
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
2123
|
+
octave: z.ZodNumber;
|
|
2124
|
+
}, z.core.$strip>;
|
|
2125
|
+
durationTicks: z.ZodNumber;
|
|
2126
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
2127
|
+
}, z.core.$strip>>>;
|
|
2128
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
2129
|
+
text: z.ZodString;
|
|
2130
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
2131
|
+
single: "single";
|
|
2132
|
+
begin: "begin";
|
|
2133
|
+
middle: "middle";
|
|
2134
|
+
end: "end";
|
|
2135
|
+
}>>;
|
|
2136
|
+
}, z.core.$strip>>;
|
|
1370
2137
|
}, z.core.$strict>, z.ZodObject<{
|
|
1371
2138
|
id: z.ZodString;
|
|
1372
2139
|
startTick: z.ZodNumber;
|
|
@@ -1407,6 +2174,44 @@ export declare const regenerateRegionRequestSchema: z.ZodObject<{
|
|
|
1407
2174
|
tenuto: "tenuto";
|
|
1408
2175
|
marcato: "marcato";
|
|
1409
2176
|
}>>;
|
|
2177
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
2178
|
+
ppp: "ppp";
|
|
2179
|
+
pp: "pp";
|
|
2180
|
+
p: "p";
|
|
2181
|
+
mp: "mp";
|
|
2182
|
+
mf: "mf";
|
|
2183
|
+
f: "f";
|
|
2184
|
+
ff: "ff";
|
|
2185
|
+
fff: "fff";
|
|
2186
|
+
}>>;
|
|
2187
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
2188
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
2189
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2190
|
+
pitch: z.ZodObject<{
|
|
2191
|
+
step: z.ZodEnum<{
|
|
2192
|
+
C: "C";
|
|
2193
|
+
D: "D";
|
|
2194
|
+
E: "E";
|
|
2195
|
+
F: "F";
|
|
2196
|
+
G: "G";
|
|
2197
|
+
A: "A";
|
|
2198
|
+
B: "B";
|
|
2199
|
+
}>;
|
|
2200
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
2201
|
+
octave: z.ZodNumber;
|
|
2202
|
+
}, z.core.$strip>;
|
|
2203
|
+
durationTicks: z.ZodNumber;
|
|
2204
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
2205
|
+
}, z.core.$strip>>>;
|
|
2206
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
2207
|
+
text: z.ZodString;
|
|
2208
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
2209
|
+
single: "single";
|
|
2210
|
+
begin: "begin";
|
|
2211
|
+
middle: "middle";
|
|
2212
|
+
end: "end";
|
|
2213
|
+
}>>;
|
|
2214
|
+
}, z.core.$strip>>;
|
|
1410
2215
|
}, z.core.$strict>, z.ZodObject<{
|
|
1411
2216
|
id: z.ZodString;
|
|
1412
2217
|
startTick: z.ZodNumber;
|
|
@@ -1500,6 +2305,44 @@ export declare const regenerationCandidateSchema: z.ZodObject<{
|
|
|
1500
2305
|
tenuto: "tenuto";
|
|
1501
2306
|
marcato: "marcato";
|
|
1502
2307
|
}>>;
|
|
2308
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
2309
|
+
ppp: "ppp";
|
|
2310
|
+
pp: "pp";
|
|
2311
|
+
p: "p";
|
|
2312
|
+
mp: "mp";
|
|
2313
|
+
mf: "mf";
|
|
2314
|
+
f: "f";
|
|
2315
|
+
ff: "ff";
|
|
2316
|
+
fff: "fff";
|
|
2317
|
+
}>>;
|
|
2318
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
2319
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
2320
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2321
|
+
pitch: z.ZodObject<{
|
|
2322
|
+
step: z.ZodEnum<{
|
|
2323
|
+
C: "C";
|
|
2324
|
+
D: "D";
|
|
2325
|
+
E: "E";
|
|
2326
|
+
F: "F";
|
|
2327
|
+
G: "G";
|
|
2328
|
+
A: "A";
|
|
2329
|
+
B: "B";
|
|
2330
|
+
}>;
|
|
2331
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
2332
|
+
octave: z.ZodNumber;
|
|
2333
|
+
}, z.core.$strip>;
|
|
2334
|
+
durationTicks: z.ZodNumber;
|
|
2335
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
2336
|
+
}, z.core.$strip>>>;
|
|
2337
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
2338
|
+
text: z.ZodString;
|
|
2339
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
2340
|
+
single: "single";
|
|
2341
|
+
begin: "begin";
|
|
2342
|
+
middle: "middle";
|
|
2343
|
+
end: "end";
|
|
2344
|
+
}>>;
|
|
2345
|
+
}, z.core.$strip>>;
|
|
1503
2346
|
}, z.core.$strict>, z.ZodObject<{
|
|
1504
2347
|
id: z.ZodString;
|
|
1505
2348
|
startTick: z.ZodNumber;
|
|
@@ -1540,6 +2383,44 @@ export declare const regenerationCandidateSchema: z.ZodObject<{
|
|
|
1540
2383
|
tenuto: "tenuto";
|
|
1541
2384
|
marcato: "marcato";
|
|
1542
2385
|
}>>;
|
|
2386
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
2387
|
+
ppp: "ppp";
|
|
2388
|
+
pp: "pp";
|
|
2389
|
+
p: "p";
|
|
2390
|
+
mp: "mp";
|
|
2391
|
+
mf: "mf";
|
|
2392
|
+
f: "f";
|
|
2393
|
+
ff: "ff";
|
|
2394
|
+
fff: "fff";
|
|
2395
|
+
}>>;
|
|
2396
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
2397
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
2398
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2399
|
+
pitch: z.ZodObject<{
|
|
2400
|
+
step: z.ZodEnum<{
|
|
2401
|
+
C: "C";
|
|
2402
|
+
D: "D";
|
|
2403
|
+
E: "E";
|
|
2404
|
+
F: "F";
|
|
2405
|
+
G: "G";
|
|
2406
|
+
A: "A";
|
|
2407
|
+
B: "B";
|
|
2408
|
+
}>;
|
|
2409
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
2410
|
+
octave: z.ZodNumber;
|
|
2411
|
+
}, z.core.$strip>;
|
|
2412
|
+
durationTicks: z.ZodNumber;
|
|
2413
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
2414
|
+
}, z.core.$strip>>>;
|
|
2415
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
2416
|
+
text: z.ZodString;
|
|
2417
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
2418
|
+
single: "single";
|
|
2419
|
+
begin: "begin";
|
|
2420
|
+
middle: "middle";
|
|
2421
|
+
end: "end";
|
|
2422
|
+
}>>;
|
|
2423
|
+
}, z.core.$strip>>;
|
|
1543
2424
|
}, z.core.$strict>, z.ZodObject<{
|
|
1544
2425
|
id: z.ZodString;
|
|
1545
2426
|
startTick: z.ZodNumber;
|
|
@@ -1612,6 +2493,44 @@ export declare const regenerateRegionResultSchema: z.ZodObject<{
|
|
|
1612
2493
|
tenuto: "tenuto";
|
|
1613
2494
|
marcato: "marcato";
|
|
1614
2495
|
}>>;
|
|
2496
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
2497
|
+
ppp: "ppp";
|
|
2498
|
+
pp: "pp";
|
|
2499
|
+
p: "p";
|
|
2500
|
+
mp: "mp";
|
|
2501
|
+
mf: "mf";
|
|
2502
|
+
f: "f";
|
|
2503
|
+
ff: "ff";
|
|
2504
|
+
fff: "fff";
|
|
2505
|
+
}>>;
|
|
2506
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
2507
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
2508
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2509
|
+
pitch: z.ZodObject<{
|
|
2510
|
+
step: z.ZodEnum<{
|
|
2511
|
+
C: "C";
|
|
2512
|
+
D: "D";
|
|
2513
|
+
E: "E";
|
|
2514
|
+
F: "F";
|
|
2515
|
+
G: "G";
|
|
2516
|
+
A: "A";
|
|
2517
|
+
B: "B";
|
|
2518
|
+
}>;
|
|
2519
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
2520
|
+
octave: z.ZodNumber;
|
|
2521
|
+
}, z.core.$strip>;
|
|
2522
|
+
durationTicks: z.ZodNumber;
|
|
2523
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
2524
|
+
}, z.core.$strip>>>;
|
|
2525
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
2526
|
+
text: z.ZodString;
|
|
2527
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
2528
|
+
single: "single";
|
|
2529
|
+
begin: "begin";
|
|
2530
|
+
middle: "middle";
|
|
2531
|
+
end: "end";
|
|
2532
|
+
}>>;
|
|
2533
|
+
}, z.core.$strip>>;
|
|
1615
2534
|
}, z.core.$strict>, z.ZodObject<{
|
|
1616
2535
|
id: z.ZodString;
|
|
1617
2536
|
startTick: z.ZodNumber;
|
|
@@ -1652,6 +2571,44 @@ export declare const regenerateRegionResultSchema: z.ZodObject<{
|
|
|
1652
2571
|
tenuto: "tenuto";
|
|
1653
2572
|
marcato: "marcato";
|
|
1654
2573
|
}>>;
|
|
2574
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
2575
|
+
ppp: "ppp";
|
|
2576
|
+
pp: "pp";
|
|
2577
|
+
p: "p";
|
|
2578
|
+
mp: "mp";
|
|
2579
|
+
mf: "mf";
|
|
2580
|
+
f: "f";
|
|
2581
|
+
ff: "ff";
|
|
2582
|
+
fff: "fff";
|
|
2583
|
+
}>>;
|
|
2584
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
2585
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
2586
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2587
|
+
pitch: z.ZodObject<{
|
|
2588
|
+
step: z.ZodEnum<{
|
|
2589
|
+
C: "C";
|
|
2590
|
+
D: "D";
|
|
2591
|
+
E: "E";
|
|
2592
|
+
F: "F";
|
|
2593
|
+
G: "G";
|
|
2594
|
+
A: "A";
|
|
2595
|
+
B: "B";
|
|
2596
|
+
}>;
|
|
2597
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
2598
|
+
octave: z.ZodNumber;
|
|
2599
|
+
}, z.core.$strip>;
|
|
2600
|
+
durationTicks: z.ZodNumber;
|
|
2601
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
2602
|
+
}, z.core.$strip>>>;
|
|
2603
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
2604
|
+
text: z.ZodString;
|
|
2605
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
2606
|
+
single: "single";
|
|
2607
|
+
begin: "begin";
|
|
2608
|
+
middle: "middle";
|
|
2609
|
+
end: "end";
|
|
2610
|
+
}>>;
|
|
2611
|
+
}, z.core.$strip>>;
|
|
1655
2612
|
}, z.core.$strict>, z.ZodObject<{
|
|
1656
2613
|
id: z.ZodString;
|
|
1657
2614
|
startTick: z.ZodNumber;
|
|
@@ -1851,6 +2808,19 @@ export type ProjectSaveResult = Omit<ProjectRecord, 'score'>;
|
|
|
1851
2808
|
* needs while a project is open, and fetching the whole project to read it was
|
|
1852
2809
|
* the alternative.
|
|
1853
2810
|
*/
|
|
2811
|
+
/**
|
|
2812
|
+
* Who the caller is, from `GET /me`.
|
|
2813
|
+
*
|
|
2814
|
+
* Exists for `siteAdmin`. The server grants administrators free generation —
|
|
2815
|
+
* no quota, no balance check, no charge — and the client has to know, because
|
|
2816
|
+
* it does its own courtesy gating on the balance. Without it an administrator
|
|
2817
|
+
* is refused by their own UI on a request the server would have accepted.
|
|
2818
|
+
*/
|
|
2819
|
+
export type CurrentUser = {
|
|
2820
|
+
userId: string;
|
|
2821
|
+
email: string | null;
|
|
2822
|
+
siteAdmin: boolean;
|
|
2823
|
+
};
|
|
1854
2824
|
export type ProjectStatusResult = {
|
|
1855
2825
|
status: ProjectStatus;
|
|
1856
2826
|
/**
|
|
@@ -2036,6 +3006,44 @@ export declare const projectRecordSchema: z.ZodObject<{
|
|
|
2036
3006
|
tenuto: "tenuto";
|
|
2037
3007
|
marcato: "marcato";
|
|
2038
3008
|
}>>;
|
|
3009
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3010
|
+
ppp: "ppp";
|
|
3011
|
+
pp: "pp";
|
|
3012
|
+
p: "p";
|
|
3013
|
+
mp: "mp";
|
|
3014
|
+
mf: "mf";
|
|
3015
|
+
f: "f";
|
|
3016
|
+
ff: "ff";
|
|
3017
|
+
fff: "fff";
|
|
3018
|
+
}>>;
|
|
3019
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3020
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3021
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3022
|
+
pitch: z.ZodObject<{
|
|
3023
|
+
step: z.ZodEnum<{
|
|
3024
|
+
C: "C";
|
|
3025
|
+
D: "D";
|
|
3026
|
+
E: "E";
|
|
3027
|
+
F: "F";
|
|
3028
|
+
G: "G";
|
|
3029
|
+
A: "A";
|
|
3030
|
+
B: "B";
|
|
3031
|
+
}>;
|
|
3032
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3033
|
+
octave: z.ZodNumber;
|
|
3034
|
+
}, z.core.$strip>;
|
|
3035
|
+
durationTicks: z.ZodNumber;
|
|
3036
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3037
|
+
}, z.core.$strip>>>;
|
|
3038
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3039
|
+
text: z.ZodString;
|
|
3040
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3041
|
+
single: "single";
|
|
3042
|
+
begin: "begin";
|
|
3043
|
+
middle: "middle";
|
|
3044
|
+
end: "end";
|
|
3045
|
+
}>>;
|
|
3046
|
+
}, z.core.$strip>>;
|
|
2039
3047
|
}, z.core.$strict>, z.ZodObject<{
|
|
2040
3048
|
id: z.ZodString;
|
|
2041
3049
|
startTick: z.ZodNumber;
|
|
@@ -2076,6 +3084,44 @@ export declare const projectRecordSchema: z.ZodObject<{
|
|
|
2076
3084
|
tenuto: "tenuto";
|
|
2077
3085
|
marcato: "marcato";
|
|
2078
3086
|
}>>;
|
|
3087
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3088
|
+
ppp: "ppp";
|
|
3089
|
+
pp: "pp";
|
|
3090
|
+
p: "p";
|
|
3091
|
+
mp: "mp";
|
|
3092
|
+
mf: "mf";
|
|
3093
|
+
f: "f";
|
|
3094
|
+
ff: "ff";
|
|
3095
|
+
fff: "fff";
|
|
3096
|
+
}>>;
|
|
3097
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3098
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3099
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3100
|
+
pitch: z.ZodObject<{
|
|
3101
|
+
step: z.ZodEnum<{
|
|
3102
|
+
C: "C";
|
|
3103
|
+
D: "D";
|
|
3104
|
+
E: "E";
|
|
3105
|
+
F: "F";
|
|
3106
|
+
G: "G";
|
|
3107
|
+
A: "A";
|
|
3108
|
+
B: "B";
|
|
3109
|
+
}>;
|
|
3110
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3111
|
+
octave: z.ZodNumber;
|
|
3112
|
+
}, z.core.$strip>;
|
|
3113
|
+
durationTicks: z.ZodNumber;
|
|
3114
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3115
|
+
}, z.core.$strip>>>;
|
|
3116
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3117
|
+
text: z.ZodString;
|
|
3118
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3119
|
+
single: "single";
|
|
3120
|
+
begin: "begin";
|
|
3121
|
+
middle: "middle";
|
|
3122
|
+
end: "end";
|
|
3123
|
+
}>>;
|
|
3124
|
+
}, z.core.$strip>>;
|
|
2079
3125
|
}, z.core.$strict>, z.ZodObject<{
|
|
2080
3126
|
id: z.ZodString;
|
|
2081
3127
|
startTick: z.ZodNumber;
|
|
@@ -2185,6 +3231,44 @@ export declare const snapshotSchema: z.ZodObject<{
|
|
|
2185
3231
|
tenuto: "tenuto";
|
|
2186
3232
|
marcato: "marcato";
|
|
2187
3233
|
}>>;
|
|
3234
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3235
|
+
ppp: "ppp";
|
|
3236
|
+
pp: "pp";
|
|
3237
|
+
p: "p";
|
|
3238
|
+
mp: "mp";
|
|
3239
|
+
mf: "mf";
|
|
3240
|
+
f: "f";
|
|
3241
|
+
ff: "ff";
|
|
3242
|
+
fff: "fff";
|
|
3243
|
+
}>>;
|
|
3244
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3245
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3246
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3247
|
+
pitch: z.ZodObject<{
|
|
3248
|
+
step: z.ZodEnum<{
|
|
3249
|
+
C: "C";
|
|
3250
|
+
D: "D";
|
|
3251
|
+
E: "E";
|
|
3252
|
+
F: "F";
|
|
3253
|
+
G: "G";
|
|
3254
|
+
A: "A";
|
|
3255
|
+
B: "B";
|
|
3256
|
+
}>;
|
|
3257
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3258
|
+
octave: z.ZodNumber;
|
|
3259
|
+
}, z.core.$strip>;
|
|
3260
|
+
durationTicks: z.ZodNumber;
|
|
3261
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3262
|
+
}, z.core.$strip>>>;
|
|
3263
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3264
|
+
text: z.ZodString;
|
|
3265
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3266
|
+
single: "single";
|
|
3267
|
+
begin: "begin";
|
|
3268
|
+
middle: "middle";
|
|
3269
|
+
end: "end";
|
|
3270
|
+
}>>;
|
|
3271
|
+
}, z.core.$strip>>;
|
|
2188
3272
|
}, z.core.$strict>, z.ZodObject<{
|
|
2189
3273
|
id: z.ZodString;
|
|
2190
3274
|
startTick: z.ZodNumber;
|
|
@@ -2225,6 +3309,44 @@ export declare const snapshotSchema: z.ZodObject<{
|
|
|
2225
3309
|
tenuto: "tenuto";
|
|
2226
3310
|
marcato: "marcato";
|
|
2227
3311
|
}>>;
|
|
3312
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3313
|
+
ppp: "ppp";
|
|
3314
|
+
pp: "pp";
|
|
3315
|
+
p: "p";
|
|
3316
|
+
mp: "mp";
|
|
3317
|
+
mf: "mf";
|
|
3318
|
+
f: "f";
|
|
3319
|
+
ff: "ff";
|
|
3320
|
+
fff: "fff";
|
|
3321
|
+
}>>;
|
|
3322
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3323
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3324
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3325
|
+
pitch: z.ZodObject<{
|
|
3326
|
+
step: z.ZodEnum<{
|
|
3327
|
+
C: "C";
|
|
3328
|
+
D: "D";
|
|
3329
|
+
E: "E";
|
|
3330
|
+
F: "F";
|
|
3331
|
+
G: "G";
|
|
3332
|
+
A: "A";
|
|
3333
|
+
B: "B";
|
|
3334
|
+
}>;
|
|
3335
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3336
|
+
octave: z.ZodNumber;
|
|
3337
|
+
}, z.core.$strip>;
|
|
3338
|
+
durationTicks: z.ZodNumber;
|
|
3339
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3340
|
+
}, z.core.$strip>>>;
|
|
3341
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3342
|
+
text: z.ZodString;
|
|
3343
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3344
|
+
single: "single";
|
|
3345
|
+
begin: "begin";
|
|
3346
|
+
middle: "middle";
|
|
3347
|
+
end: "end";
|
|
3348
|
+
}>>;
|
|
3349
|
+
}, z.core.$strip>>;
|
|
2228
3350
|
}, z.core.$strict>, z.ZodObject<{
|
|
2229
3351
|
id: z.ZodString;
|
|
2230
3352
|
startTick: z.ZodNumber;
|
|
@@ -2326,6 +3448,44 @@ export declare const publishedSnapshotSchema: z.ZodObject<{
|
|
|
2326
3448
|
tenuto: "tenuto";
|
|
2327
3449
|
marcato: "marcato";
|
|
2328
3450
|
}>>;
|
|
3451
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3452
|
+
ppp: "ppp";
|
|
3453
|
+
pp: "pp";
|
|
3454
|
+
p: "p";
|
|
3455
|
+
mp: "mp";
|
|
3456
|
+
mf: "mf";
|
|
3457
|
+
f: "f";
|
|
3458
|
+
ff: "ff";
|
|
3459
|
+
fff: "fff";
|
|
3460
|
+
}>>;
|
|
3461
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3462
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3463
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3464
|
+
pitch: z.ZodObject<{
|
|
3465
|
+
step: z.ZodEnum<{
|
|
3466
|
+
C: "C";
|
|
3467
|
+
D: "D";
|
|
3468
|
+
E: "E";
|
|
3469
|
+
F: "F";
|
|
3470
|
+
G: "G";
|
|
3471
|
+
A: "A";
|
|
3472
|
+
B: "B";
|
|
3473
|
+
}>;
|
|
3474
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3475
|
+
octave: z.ZodNumber;
|
|
3476
|
+
}, z.core.$strip>;
|
|
3477
|
+
durationTicks: z.ZodNumber;
|
|
3478
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3479
|
+
}, z.core.$strip>>>;
|
|
3480
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3481
|
+
text: z.ZodString;
|
|
3482
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3483
|
+
single: "single";
|
|
3484
|
+
begin: "begin";
|
|
3485
|
+
middle: "middle";
|
|
3486
|
+
end: "end";
|
|
3487
|
+
}>>;
|
|
3488
|
+
}, z.core.$strip>>;
|
|
2329
3489
|
}, z.core.$strict>, z.ZodObject<{
|
|
2330
3490
|
id: z.ZodString;
|
|
2331
3491
|
startTick: z.ZodNumber;
|
|
@@ -2366,6 +3526,44 @@ export declare const publishedSnapshotSchema: z.ZodObject<{
|
|
|
2366
3526
|
tenuto: "tenuto";
|
|
2367
3527
|
marcato: "marcato";
|
|
2368
3528
|
}>>;
|
|
3529
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3530
|
+
ppp: "ppp";
|
|
3531
|
+
pp: "pp";
|
|
3532
|
+
p: "p";
|
|
3533
|
+
mp: "mp";
|
|
3534
|
+
mf: "mf";
|
|
3535
|
+
f: "f";
|
|
3536
|
+
ff: "ff";
|
|
3537
|
+
fff: "fff";
|
|
3538
|
+
}>>;
|
|
3539
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3540
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3541
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3542
|
+
pitch: z.ZodObject<{
|
|
3543
|
+
step: z.ZodEnum<{
|
|
3544
|
+
C: "C";
|
|
3545
|
+
D: "D";
|
|
3546
|
+
E: "E";
|
|
3547
|
+
F: "F";
|
|
3548
|
+
G: "G";
|
|
3549
|
+
A: "A";
|
|
3550
|
+
B: "B";
|
|
3551
|
+
}>;
|
|
3552
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3553
|
+
octave: z.ZodNumber;
|
|
3554
|
+
}, z.core.$strip>;
|
|
3555
|
+
durationTicks: z.ZodNumber;
|
|
3556
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3557
|
+
}, z.core.$strip>>>;
|
|
3558
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3559
|
+
text: z.ZodString;
|
|
3560
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3561
|
+
single: "single";
|
|
3562
|
+
begin: "begin";
|
|
3563
|
+
middle: "middle";
|
|
3564
|
+
end: "end";
|
|
3565
|
+
}>>;
|
|
3566
|
+
}, z.core.$strip>>;
|
|
2369
3567
|
}, z.core.$strict>, z.ZodObject<{
|
|
2370
3568
|
id: z.ZodString;
|
|
2371
3569
|
startTick: z.ZodNumber;
|
|
@@ -2474,6 +3672,44 @@ export declare const projectCreateRequestSchema: z.ZodObject<{
|
|
|
2474
3672
|
tenuto: "tenuto";
|
|
2475
3673
|
marcato: "marcato";
|
|
2476
3674
|
}>>;
|
|
3675
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3676
|
+
ppp: "ppp";
|
|
3677
|
+
pp: "pp";
|
|
3678
|
+
p: "p";
|
|
3679
|
+
mp: "mp";
|
|
3680
|
+
mf: "mf";
|
|
3681
|
+
f: "f";
|
|
3682
|
+
ff: "ff";
|
|
3683
|
+
fff: "fff";
|
|
3684
|
+
}>>;
|
|
3685
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3686
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3687
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3688
|
+
pitch: z.ZodObject<{
|
|
3689
|
+
step: z.ZodEnum<{
|
|
3690
|
+
C: "C";
|
|
3691
|
+
D: "D";
|
|
3692
|
+
E: "E";
|
|
3693
|
+
F: "F";
|
|
3694
|
+
G: "G";
|
|
3695
|
+
A: "A";
|
|
3696
|
+
B: "B";
|
|
3697
|
+
}>;
|
|
3698
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3699
|
+
octave: z.ZodNumber;
|
|
3700
|
+
}, z.core.$strip>;
|
|
3701
|
+
durationTicks: z.ZodNumber;
|
|
3702
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3703
|
+
}, z.core.$strip>>>;
|
|
3704
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3705
|
+
text: z.ZodString;
|
|
3706
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3707
|
+
single: "single";
|
|
3708
|
+
begin: "begin";
|
|
3709
|
+
middle: "middle";
|
|
3710
|
+
end: "end";
|
|
3711
|
+
}>>;
|
|
3712
|
+
}, z.core.$strip>>;
|
|
2477
3713
|
}, z.core.$strict>, z.ZodObject<{
|
|
2478
3714
|
id: z.ZodString;
|
|
2479
3715
|
startTick: z.ZodNumber;
|
|
@@ -2514,6 +3750,44 @@ export declare const projectCreateRequestSchema: z.ZodObject<{
|
|
|
2514
3750
|
tenuto: "tenuto";
|
|
2515
3751
|
marcato: "marcato";
|
|
2516
3752
|
}>>;
|
|
3753
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3754
|
+
ppp: "ppp";
|
|
3755
|
+
pp: "pp";
|
|
3756
|
+
p: "p";
|
|
3757
|
+
mp: "mp";
|
|
3758
|
+
mf: "mf";
|
|
3759
|
+
f: "f";
|
|
3760
|
+
ff: "ff";
|
|
3761
|
+
fff: "fff";
|
|
3762
|
+
}>>;
|
|
3763
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3764
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3765
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3766
|
+
pitch: z.ZodObject<{
|
|
3767
|
+
step: z.ZodEnum<{
|
|
3768
|
+
C: "C";
|
|
3769
|
+
D: "D";
|
|
3770
|
+
E: "E";
|
|
3771
|
+
F: "F";
|
|
3772
|
+
G: "G";
|
|
3773
|
+
A: "A";
|
|
3774
|
+
B: "B";
|
|
3775
|
+
}>;
|
|
3776
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3777
|
+
octave: z.ZodNumber;
|
|
3778
|
+
}, z.core.$strip>;
|
|
3779
|
+
durationTicks: z.ZodNumber;
|
|
3780
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3781
|
+
}, z.core.$strip>>>;
|
|
3782
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3783
|
+
text: z.ZodString;
|
|
3784
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3785
|
+
single: "single";
|
|
3786
|
+
begin: "begin";
|
|
3787
|
+
middle: "middle";
|
|
3788
|
+
end: "end";
|
|
3789
|
+
}>>;
|
|
3790
|
+
}, z.core.$strip>>;
|
|
2517
3791
|
}, z.core.$strict>, z.ZodObject<{
|
|
2518
3792
|
id: z.ZodString;
|
|
2519
3793
|
startTick: z.ZodNumber;
|
|
@@ -2612,6 +3886,44 @@ export declare const projectUpdateRequestSchema: z.ZodObject<{
|
|
|
2612
3886
|
tenuto: "tenuto";
|
|
2613
3887
|
marcato: "marcato";
|
|
2614
3888
|
}>>;
|
|
3889
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3890
|
+
ppp: "ppp";
|
|
3891
|
+
pp: "pp";
|
|
3892
|
+
p: "p";
|
|
3893
|
+
mp: "mp";
|
|
3894
|
+
mf: "mf";
|
|
3895
|
+
f: "f";
|
|
3896
|
+
ff: "ff";
|
|
3897
|
+
fff: "fff";
|
|
3898
|
+
}>>;
|
|
3899
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3900
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3901
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3902
|
+
pitch: z.ZodObject<{
|
|
3903
|
+
step: z.ZodEnum<{
|
|
3904
|
+
C: "C";
|
|
3905
|
+
D: "D";
|
|
3906
|
+
E: "E";
|
|
3907
|
+
F: "F";
|
|
3908
|
+
G: "G";
|
|
3909
|
+
A: "A";
|
|
3910
|
+
B: "B";
|
|
3911
|
+
}>;
|
|
3912
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3913
|
+
octave: z.ZodNumber;
|
|
3914
|
+
}, z.core.$strip>;
|
|
3915
|
+
durationTicks: z.ZodNumber;
|
|
3916
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3917
|
+
}, z.core.$strip>>>;
|
|
3918
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3919
|
+
text: z.ZodString;
|
|
3920
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3921
|
+
single: "single";
|
|
3922
|
+
begin: "begin";
|
|
3923
|
+
middle: "middle";
|
|
3924
|
+
end: "end";
|
|
3925
|
+
}>>;
|
|
3926
|
+
}, z.core.$strip>>;
|
|
2615
3927
|
}, z.core.$strict>, z.ZodObject<{
|
|
2616
3928
|
id: z.ZodString;
|
|
2617
3929
|
startTick: z.ZodNumber;
|
|
@@ -2652,6 +3964,44 @@ export declare const projectUpdateRequestSchema: z.ZodObject<{
|
|
|
2652
3964
|
tenuto: "tenuto";
|
|
2653
3965
|
marcato: "marcato";
|
|
2654
3966
|
}>>;
|
|
3967
|
+
dynamic: z.ZodOptional<z.ZodEnum<{
|
|
3968
|
+
ppp: "ppp";
|
|
3969
|
+
pp: "pp";
|
|
3970
|
+
p: "p";
|
|
3971
|
+
mp: "mp";
|
|
3972
|
+
mf: "mf";
|
|
3973
|
+
f: "f";
|
|
3974
|
+
ff: "ff";
|
|
3975
|
+
fff: "fff";
|
|
3976
|
+
}>>;
|
|
3977
|
+
slurStart: z.ZodOptional<z.ZodBoolean>;
|
|
3978
|
+
slurStop: z.ZodOptional<z.ZodBoolean>;
|
|
3979
|
+
graceNotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3980
|
+
pitch: z.ZodObject<{
|
|
3981
|
+
step: z.ZodEnum<{
|
|
3982
|
+
C: "C";
|
|
3983
|
+
D: "D";
|
|
3984
|
+
E: "E";
|
|
3985
|
+
F: "F";
|
|
3986
|
+
G: "G";
|
|
3987
|
+
A: "A";
|
|
3988
|
+
B: "B";
|
|
3989
|
+
}>;
|
|
3990
|
+
accidental: z.ZodUnion<readonly [z.ZodLiteral<-2>, z.ZodLiteral<-1>, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
3991
|
+
octave: z.ZodNumber;
|
|
3992
|
+
}, z.core.$strip>;
|
|
3993
|
+
durationTicks: z.ZodNumber;
|
|
3994
|
+
slashed: z.ZodOptional<z.ZodBoolean>;
|
|
3995
|
+
}, z.core.$strip>>>;
|
|
3996
|
+
lyric: z.ZodOptional<z.ZodObject<{
|
|
3997
|
+
text: z.ZodString;
|
|
3998
|
+
syllabic: z.ZodOptional<z.ZodEnum<{
|
|
3999
|
+
single: "single";
|
|
4000
|
+
begin: "begin";
|
|
4001
|
+
middle: "middle";
|
|
4002
|
+
end: "end";
|
|
4003
|
+
}>>;
|
|
4004
|
+
}, z.core.$strip>>;
|
|
2655
4005
|
}, z.core.$strict>, z.ZodObject<{
|
|
2656
4006
|
id: z.ZodString;
|
|
2657
4007
|
startTick: z.ZodNumber;
|