Skip to content

Commit 119fb94

Browse files
committed
✨ models: Add start and end timestamp to dialogue type
1 parent c06a947 commit 119fb94

File tree

3 files changed

+167
-408
lines changed

3 files changed

+167
-408
lines changed

lib/transcribe.ts

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ const ResultType = t.intersection([
2525
t.type({
2626
speaker: t.number,
2727
text: t.string,
28+
start: t.number,
29+
end: t.number,
2830
}),
2931
),
3032
}),

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polyfire-js",
3-
"version": "0.2.50",
3+
"version": "0.2.51",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"author": "Lancelot Owczarczak <[email protected]>",

0 commit comments

Comments
 (0)