@opendaw/studio-core 0.0.63 → 0.0.66
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/dist/dawproject/DawProjectImporter.d.ts.map +1 -1
- package/dist/dawproject/DawProjectImporter.js +12 -6
- package/dist/processors.js +14 -14
- package/dist/processors.js.map +4 -4
- package/dist/project/Project.d.ts +2 -1
- package/dist/project/Project.d.ts.map +1 -1
- package/dist/project/Project.js +8 -3
- package/dist/project/ProjectMigration.d.ts +2 -1
- package/dist/project/ProjectMigration.d.ts.map +1 -1
- package/dist/project/ProjectMigration.js +36 -16
- package/dist/project/audio/AudioContentFactory.d.ts +2 -0
- package/dist/project/audio/AudioContentFactory.d.ts.map +1 -1
- package/dist/project/audio/AudioContentFactory.js +4 -4
- package/dist/project/audio/AudioContentHelpers.d.ts +2 -2
- package/dist/project/audio/AudioContentHelpers.d.ts.map +1 -1
- package/dist/project/audio/AudioContentModifier.d.ts +4 -6
- package/dist/project/audio/AudioContentModifier.d.ts.map +1 -1
- package/dist/project/audio/AudioContentModifier.js +6 -6
- package/dist/workers-main.js.map +2 -2
- package/dist/ysync/YService.d.ts.map +1 -1
- package/dist/ysync/YService.js +4 -4
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YService.d.ts","sourceRoot":"","sources":["../../src/ysync/YService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAyC,MAAM,kBAAkB,CAAA;AAQvF,OAAO,EAAC,OAAO,EAAE,UAAU,EAAC,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"YService.d.ts","sourceRoot":"","sources":["../../src/ysync/YService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAyC,MAAM,kBAAkB,CAAA;AAQvF,OAAO,EAAC,OAAO,EAAE,UAAU,EAAC,MAAM,YAAY,CAAA;AAK9C,yBAAiB,QAAQ,CAAC;IAMf,MAAM,eAAe,GAAU,YAAY,MAAM,CAAC,OAAO,CAAC,EAC3B,KAAK,UAAU,EACf,UAAU,MAAM,KAAG,OAAO,CAAC,OAAO,CA4DvE,CAAA;CACJ"}
|
package/dist/ysync/YService.js
CHANGED
|
@@ -7,6 +7,7 @@ import { YSync } from "./YSync";
|
|
|
7
7
|
import * as Y from "yjs";
|
|
8
8
|
import { WebsocketProvider } from "y-websocket";
|
|
9
9
|
import { Project } from "../project";
|
|
10
|
+
import { ProjectMigration } from "../project/ProjectMigration";
|
|
10
11
|
// https://inspector.yjs.dev/
|
|
11
12
|
export var YService;
|
|
12
13
|
(function (YService) {
|
|
@@ -64,10 +65,9 @@ export var YService;
|
|
|
64
65
|
const boxGraph = new BoxGraph(Option.wrap(BoxIO.create));
|
|
65
66
|
const sync = await YSync.joinRoom({ boxGraph, boxes, conflict: () => project.invalid() });
|
|
66
67
|
const mandatoryBoxes = ProjectSkeleton.findMandatoryBoxes(boxGraph);
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}, false);
|
|
68
|
+
const skeleton = { boxGraph, mandatoryBoxes };
|
|
69
|
+
await ProjectMigration.migrate(env, skeleton);
|
|
70
|
+
const project = Project.fromSkeleton(env, skeleton, false);
|
|
71
71
|
boxGraph.beginTransaction();
|
|
72
72
|
// TODO How takes care to remove the user interface boxes?
|
|
73
73
|
const userInterfaceBox = UserInterfaceBox.create(boxGraph, UUID.generate(), box => box.root.refer(mandatoryBoxes.rootBox.users));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendaw/studio-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.66",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@opendaw/lib-box": "^0.0.53",
|
|
35
35
|
"@opendaw/lib-dawproject": "^0.0.39",
|
|
36
|
-
"@opendaw/lib-dom": "^0.0.
|
|
36
|
+
"@opendaw/lib-dom": "^0.0.54",
|
|
37
37
|
"@opendaw/lib-dsp": "^0.0.53",
|
|
38
|
-
"@opendaw/lib-fusion": "^0.0.
|
|
38
|
+
"@opendaw/lib-fusion": "^0.0.54",
|
|
39
39
|
"@opendaw/lib-runtime": "^0.0.53",
|
|
40
40
|
"@opendaw/lib-std": "^0.0.53",
|
|
41
|
-
"@opendaw/studio-adapters": "^0.0.
|
|
42
|
-
"@opendaw/studio-boxes": "^0.0.
|
|
43
|
-
"@opendaw/studio-enums": "^0.0.
|
|
41
|
+
"@opendaw/studio-adapters": "^0.0.56",
|
|
42
|
+
"@opendaw/studio-boxes": "^0.0.54",
|
|
43
|
+
"@opendaw/studio-enums": "^0.0.45",
|
|
44
44
|
"dropbox": "^10.34.0",
|
|
45
45
|
"y-websocket": "^1.4.5",
|
|
46
46
|
"yjs": "^13.6.27",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"@ffmpeg/ffmpeg": "^0.12.15",
|
|
55
55
|
"@ffmpeg/util": "^0.12.2",
|
|
56
56
|
"@opendaw/eslint-config": "^0.0.20",
|
|
57
|
-
"@opendaw/studio-core-processors": "^0.0.
|
|
58
|
-
"@opendaw/studio-core-workers": "^0.0.
|
|
59
|
-
"@opendaw/studio-forge-boxes": "^0.0.
|
|
57
|
+
"@opendaw/studio-core-processors": "^0.0.58",
|
|
58
|
+
"@opendaw/studio-core-workers": "^0.0.51",
|
|
59
|
+
"@opendaw/studio-forge-boxes": "^0.0.54",
|
|
60
60
|
"@opendaw/typescript-config": "^0.0.20"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "099f5d3f096bd59937c9d941bfff17f88483c92c"
|
|
63
63
|
}
|