@hyperframes/studio-server 0.8.6 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,12 +44,19 @@ interface MediaProcessingJobState {
|
|
|
44
44
|
/** Lint result from the core linter. */
|
|
45
45
|
interface LintResult {
|
|
46
46
|
findings: Array<{
|
|
47
|
+
code?: string;
|
|
47
48
|
severity: string;
|
|
48
49
|
message: string;
|
|
49
50
|
file?: string;
|
|
50
51
|
fixHint?: string;
|
|
51
52
|
}>;
|
|
52
53
|
}
|
|
54
|
+
interface ProjectLintResult {
|
|
55
|
+
results: Array<{
|
|
56
|
+
file: string;
|
|
57
|
+
result: LintResult;
|
|
58
|
+
}>;
|
|
59
|
+
}
|
|
53
60
|
interface StudioSelectionTextField {
|
|
54
61
|
key: string;
|
|
55
62
|
label: string;
|
|
@@ -107,6 +114,12 @@ interface StudioApiAdapter {
|
|
|
107
114
|
lint(html: string, opts?: {
|
|
108
115
|
filePath?: string;
|
|
109
116
|
}): Promise<LintResult> | LintResult;
|
|
117
|
+
/**
|
|
118
|
+
* Lint the complete project, including relationships between files. Official
|
|
119
|
+
* adapters provide this; the single-file method remains as a compatibility
|
|
120
|
+
* fallback for third-party adapters compiled against older releases.
|
|
121
|
+
*/
|
|
122
|
+
lintProject?: (projectDir: string) => Promise<ProjectLintResult> | ProjectLintResult;
|
|
110
123
|
/** URL to the hyperframe runtime JS (injected into preview HTML). */
|
|
111
124
|
runtimeUrl: string;
|
|
112
125
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/studio-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"linkedom": "^0.18.12",
|
|
65
65
|
"postcss": "^8.5.8",
|
|
66
66
|
"postcss-selector-parser": "^7.1.2",
|
|
67
|
-
"@hyperframes/
|
|
68
|
-
"@hyperframes/
|
|
67
|
+
"@hyperframes/parsers": "0.8.8",
|
|
68
|
+
"@hyperframes/core": "0.8.8"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/node": "^25.0.10",
|