9 lines
369 B
JavaScript
9 lines
369 B
JavaScript
export function getChatWrapperSegmentDefinition(chatWrapperSetting, segmentType) {
|
|
if (segmentType === "thought")
|
|
return chatWrapperSetting.segments?.thought;
|
|
else if (segmentType === "comment")
|
|
return chatWrapperSetting.segments?.comment;
|
|
void segmentType;
|
|
return undefined;
|
|
}
|
|
//# sourceMappingURL=getChatWrapperSegmentDefinition.js.map
|