@norskvideo/norsk-studio-built-ins 1.27.0-2025-04-29-1d3bf2d2 → 1.27.0-2025-04-30-f4a16b20
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.
package/lib/shared/schemas.d.ts
CHANGED
package/lib/shared/schemas.js
CHANGED
@@ -1,4 +1,27 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
27
|
};
|
@@ -6,11 +29,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
29
|
exports.schemaFromTypes = schemaFromTypes;
|
7
30
|
const promises_1 = __importDefault(require("fs/promises"));
|
8
31
|
const yaml_1 = __importDefault(require("yaml"));
|
9
|
-
const
|
10
|
-
|
11
|
-
|
12
|
-
const
|
13
|
-
const
|
32
|
+
const $RefParser = __importStar(require("@apidevtools/json-schema-ref-parser"));
|
33
|
+
const path = __importStar(require("path"));
|
34
|
+
async function schemaFromTypes(filename, keys) {
|
35
|
+
const fullPath = path.resolve(filename);
|
36
|
+
const types = await promises_1.default.readFile(fullPath, 'utf8');
|
37
|
+
const root = yaml_1.default.parse(types);
|
38
|
+
const resolved = await $RefParser.dereference(fullPath, root);
|
14
39
|
return {
|
15
40
|
config: keys.config ? resolved.components.schemas[keys.config] : undefined,
|
16
41
|
state: keys.state ? resolved.components.schemas[keys.state] : undefined
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/shared/schemas.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/shared/schemas.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,0CASC;AAfD,2DAA6B;AAC7B,gDAAwB;AACxB,gFAAkE;AAClE,2CAA6B;AAGtB,KAAK,UAAU,eAAe,CAAC,QAAgB,EAAE,IAAyC;IAC/F,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACxC,MAAM,KAAK,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;IACjD,MAAM,IAAI,GAAG,cAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC/B,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,WAAW,CAAC,QAAQ,EAAE,IAAI,CAAuB,CAAC;IACpF,OAAO;QACL,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAW,CAAC,OAAQ,CAAC,IAAI,CAAC,MAAM,CAA2B,CAAC,CAAC,CAAC,SAAS;QACtG,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAW,CAAC,OAAQ,CAAC,IAAI,CAAC,KAAK,CAA2B,CAAC,CAAC,CAAC,SAAS;KACpG,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@norskvideo/norsk-studio-built-ins",
|
3
|
-
"version": "1.27.0-2025-04-
|
3
|
+
"version": "1.27.0-2025-04-30-f4a16b20",
|
4
4
|
"description": "",
|
5
5
|
"scripts": {
|
6
6
|
"clean": "rm -rf lib client build",
|
@@ -21,8 +21,9 @@
|
|
21
21
|
],
|
22
22
|
"license": "MIT",
|
23
23
|
"dependencies": {
|
24
|
-
"@
|
25
|
-
"@norskvideo/norsk-
|
24
|
+
"@apidevtools/json-schema-ref-parser": "^12.0.1",
|
25
|
+
"@norskvideo/norsk-sdk": "^1.0.402-2025-04-30-45cfdb55",
|
26
|
+
"@norskvideo/norsk-studio": "1.27.0-2025-04-30-f4a16b20",
|
26
27
|
"@norskvideo/webrtc-client": "^0.1.2",
|
27
28
|
"@react-icons/all-files": "^4.1.0",
|
28
29
|
"body-parser": "^1.20.2",
|
@@ -31,7 +32,6 @@
|
|
31
32
|
"express-ws": "^5.0.2",
|
32
33
|
"fast-xml-parser": "^4.4.1",
|
33
34
|
"hls.js": "^1.5.8",
|
34
|
-
"json-refs": "^3.0.15",
|
35
35
|
"jsonwebtoken": "^9.0.2",
|
36
36
|
"JSX": "^1.1.0",
|
37
37
|
"lucide-react": "^0.483.0",
|