+
+ Import cURL
+
+
+ Preview generated files before applying changes to your workspace.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {(message) => (
+
+ {message()}
+
+ )}
+
+
+
+ {(message) => (
+
+ {message()}
+
+ )}
+
+
+
+ Run preview to inspect diagnostics and generated file changes.
+
+ }
+ >
+
+
+ Preview
+
+ Force Required
+
+
+ Ready
+
+
+
+
+ {(stats) => (
+ <>
+
+ {stats().requestCount} request
+
+
+ {stats().fileCount} file
+
+
+ {stats().diagnosticCount} diagnostics
+
+ >
+ )}
+
+
+
+ 0}>
+
+
+ Diagnostics ({props.previewDiagnostics.length})
+
+
+
+ {(diagnostic) => (
+ -
+
+
+ {diagnostic.severity}
+
+
+ {diagnostic.code}
+
+
+
+ {diagnostic.message}
+
+
+ {(sourcePath) => (
+
+ {sourcePath()}
+
+ )}
+
+
+ )}
+
+
+
+
+
+
+ {(summary) => (
+
+
+
+
+
+
+ Variables will be merged.
+
+
+ {(instructions) => (
+
+ {instructions()}
+
+ )}
+
+
+ )}
+
+
+
+
+
+ {(result) => (
+
+
+ Apply result
+
+ {result().kind === 'success' ? 'Applied' : 'Partial'}
+
+
+
+
+
+
+
+ Variables were merged.
+
+
+ {(instructions) => (
+
+ {instructions()}
+
+ )}
+
+
+ )}
+
+
+