(selection: StudioSelectionSnapshot)
| 620 | } |
| 621 | |
| 622 | function compactSelectionPayload(selection: StudioSelectionSnapshot): CompactSelectionPayload { |
| 623 | return { |
| 624 | schemaVersion: selection.schemaVersion, |
| 625 | projectId: selection.projectId, |
| 626 | compositionPath: selection.compositionPath, |
| 627 | sourceFile: selection.sourceFile, |
| 628 | currentTime: selection.currentTime, |
| 629 | target: selection.target, |
| 630 | label: selection.label, |
| 631 | tagName: selection.tagName, |
| 632 | boundingBox: selection.boundingBox, |
| 633 | textContent: selection.textContent, |
| 634 | thumbnailUrl: selection.thumbnailUrl, |
| 635 | }; |
| 636 | } |
| 637 | |
| 638 | function openStudioBrowser(url: string, projectName: string, options?: BrowserLaunchOptions): void { |
| 639 | if (options?.noOpen) return; |
no outgoing calls
no test coverage detected