mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-10 22:20:14 +00:00
refactor(repo): resolve changed-code audit
This commit is contained in:
@@ -31,7 +31,7 @@ function shellSingleQuote(value: string): string {
|
||||
return `'${value.replace(/'/g, `'\\''`)}'`;
|
||||
}
|
||||
|
||||
interface VariablesPanelProps {
|
||||
export interface StudioEditPersistenceProps {
|
||||
sdkSession: Composition | null;
|
||||
publishSdkSession: PublishSdkSession;
|
||||
reloadPreview: () => void;
|
||||
@@ -43,6 +43,8 @@ interface VariablesPanelProps {
|
||||
}) => Promise<void>;
|
||||
}
|
||||
|
||||
type VariablesPanelProps = StudioEditPersistenceProps;
|
||||
|
||||
function formatIssue(issue: VariableValidationIssue): string {
|
||||
switch (issue.kind) {
|
||||
case "undeclared":
|
||||
|
||||
Reference in New Issue
Block a user