Skip to content

Commit 43ffa6d

Browse files
chore: re-generate OBS types to bring in v5.5 changes
1 parent 53c1a6b commit 43ffa6d

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

src/types.ts

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,12 @@ export interface OBSEventTypes {
718718
*/
719719
outputPath: string;
720720
};
721+
RecordFileChanged: {
722+
/**
723+
* File name that the output has begun writing to
724+
*/
725+
newOutputPath: string;
726+
};
721727
ReplayBufferStateChanged: {
722728
/**
723729
* Whether the output is active
@@ -1020,13 +1026,6 @@ export interface OBSEventTypes {
10201026
*/
10211027
eventData: JsonObject;
10221028
};
1023-
1024-
RecordFileChanged: {
1025-
/**
1026-
* File name that the output has begun writing to
1027-
*/
1028-
newOutputPath: string;
1029-
};
10301029
}
10311030

10321031
// Requests and Responses
@@ -1865,6 +1864,14 @@ export interface OBSRequestTypes {
18651864
ToggleRecordPause: never;
18661865
PauseRecord: never;
18671866
ResumeRecord: never;
1867+
SplitRecordFile: never;
1868+
CreateRecordChapter: {
1869+
/**
1870+
* Name of the new chapter
1871+
* @defaultValue Unknown
1872+
*/
1873+
chapterName?: string;
1874+
};
18681875
GetSceneItemList: {
18691876
/**
18701877
* Name of the scene to get the items of
@@ -2504,15 +2511,6 @@ export interface OBSRequestTypes {
25042511
*/
25052512
projectorGeometry?: string;
25062513
};
2507-
2508-
CreateRecordChapter: {
2509-
/**
2510-
* Name of the chapter
2511-
*/
2512-
chapterName?: string;
2513-
};
2514-
2515-
SplitRecordFile: never;
25162514
}
25172515

25182516
export interface OBSResponseTypes {
@@ -3017,6 +3015,8 @@ export interface OBSResponseTypes {
30173015
ToggleRecordPause: undefined;
30183016
PauseRecord: undefined;
30193017
ResumeRecord: undefined;
3018+
SplitRecordFile: undefined;
3019+
CreateRecordChapter: undefined;
30203020
GetSceneItemList: {
30213021
/**
30223022
* Array of scene items in the scene
@@ -3321,6 +3321,4 @@ export interface OBSResponseTypes {
33213321
};
33223322
OpenVideoMixProjector: undefined;
33233323
OpenSourceProjector: undefined;
3324-
CreateRecordChapter: undefined;
3325-
SplitRecordFile: undefined;
33263324
}

0 commit comments

Comments
 (0)