@mengine/medeo-tool 2.0.1-alpha.11 → 2.0.1-alpha.12
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/{entity-contract-Cf3AiSe7.d.mts → entity-contract-DNIIwpn1.d.mts} +13 -1
- package/dist/{entity-sandbox-BTR2cRl1.mjs → entity-sandbox-DpIkxcei.mjs} +19 -2
- package/dist/{entity-sandbox-BTR2cRl1.mjs.map → entity-sandbox-DpIkxcei.mjs.map} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +16 -4
- package/dist/index.mjs.map +1 -1
- package/dist/sandbox-api.d.mts +12 -0
- package/dist/worker-entry.d.mts +1 -1
- package/dist/worker-entry.mjs +1 -1
- package/package.json +2 -2
package/dist/sandbox-api.d.mts
CHANGED
|
@@ -30,6 +30,18 @@ type CreateEntityInput = { [K in KnownEntityKind]: {
|
|
|
30
30
|
entity_id?: string;
|
|
31
31
|
entity_kind: K;
|
|
32
32
|
payload: StoredEntityPayload<K>;
|
|
33
|
+
/**
|
|
34
|
+
* The stored resource this entity is made from.
|
|
35
|
+
*
|
|
36
|
+
* Naming it here is the only way to say where an entity's bytes come from:
|
|
37
|
+
* the Asset row and the `from-asset` Relation that reaches it are assembled
|
|
38
|
+
* by the host, never authored. Only a kind that declares `FromAsset` —
|
|
39
|
+
* video, audio, image, caption, audio-script — accepts one.
|
|
40
|
+
*/
|
|
41
|
+
asset?: {
|
|
42
|
+
system: 'memota' | 'memota-speech';
|
|
43
|
+
key: string;
|
|
44
|
+
};
|
|
33
45
|
} }[KnownEntityKind];
|
|
34
46
|
interface DeleteEntityInput {
|
|
35
47
|
entity_id: string;
|
package/dist/worker-entry.d.mts
CHANGED
package/dist/worker-entry.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as toDslRows, r as businessFacades, t as EntitySandbox } from "./entity-sandbox-
|
|
1
|
+
import { n as toDslRows, r as businessFacades, t as EntitySandbox } from "./entity-sandbox-DpIkxcei.mjs";
|
|
2
2
|
import { LoroEntityDocument, assertCanonicalEditorResources, assertMediaAssetWritePolicy, audioScriptAssetContent, audioScriptAssetFields, audioScriptAssetOf, base64ToBytes, bytesToBase64, projectEntityTimeline } from "@mengine/medeo-client";
|
|
3
3
|
import { parentPort, workerData } from "node:worker_threads";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mengine/medeo-tool",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.12",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"registry": "https://registry.npmjs.org/"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@mengine/medeo-client": "2.0.1-alpha.
|
|
27
|
+
"@mengine/medeo-client": "2.0.1-alpha.12"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^25.9.1",
|