@opendaw/studio-core 0.0.28 → 0.0.30
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropboxHandler.d.ts","sourceRoot":"","sources":["../../src/clouds/DropboxHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAI3C,qBAAa,cAAe,YAAW,YAAY;;gBAKnC,WAAW,EAAE,MAAM;IAEzB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAMtB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAaxD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAe5C,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAWtC,IAAI,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAO3C,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DropboxHandler.d.ts","sourceRoot":"","sources":["../../src/clouds/DropboxHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAI3C,qBAAa,cAAe,YAAW,YAAY;;gBAKnC,WAAW,EAAE,MAAM;IAEzB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAMtB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAaxD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAe5C,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAWtC,IAAI,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAO3C,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAgC5C"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DropboxResponseError } from "dropbox";
|
|
2
1
|
import { Errors, isDefined, Option, panic } from "@opendaw/lib-std";
|
|
3
2
|
import { Promises } from "@opendaw/lib-runtime";
|
|
4
3
|
// written by ChatGPT
|
|
@@ -74,10 +73,11 @@ export class DropboxHandler {
|
|
|
74
73
|
return path.startsWith("/") ? path : `/${path}`;
|
|
75
74
|
}
|
|
76
75
|
#isNotFoundError(error) {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
76
|
+
return (typeof error === "object" &&
|
|
77
|
+
error !== null &&
|
|
78
|
+
"status" in error &&
|
|
79
|
+
error.status === 409 &&
|
|
80
|
+
error.error?.error?.[".tag"] === "path" &&
|
|
81
|
+
error.error?.error?.path?.[".tag"] === "not_found");
|
|
82
82
|
}
|
|
83
83
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendaw/studio-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
"test": "vitest run --config vitest.config.ts"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@opendaw/lib-box": "^0.0.
|
|
30
|
-
"@opendaw/lib-dawproject": "^0.0.
|
|
31
|
-
"@opendaw/lib-dom": "^0.0.
|
|
32
|
-
"@opendaw/lib-dsp": "^0.0.
|
|
33
|
-
"@opendaw/lib-fusion": "^0.0.
|
|
34
|
-
"@opendaw/lib-runtime": "^0.0.
|
|
35
|
-
"@opendaw/lib-std": "^0.0.
|
|
36
|
-
"@opendaw/studio-adapters": "^0.0.
|
|
37
|
-
"@opendaw/studio-boxes": "^0.0.
|
|
38
|
-
"@opendaw/studio-enums": "^0.0.
|
|
29
|
+
"@opendaw/lib-box": "^0.0.27",
|
|
30
|
+
"@opendaw/lib-dawproject": "^0.0.13",
|
|
31
|
+
"@opendaw/lib-dom": "^0.0.27",
|
|
32
|
+
"@opendaw/lib-dsp": "^0.0.27",
|
|
33
|
+
"@opendaw/lib-fusion": "^0.0.27",
|
|
34
|
+
"@opendaw/lib-runtime": "^0.0.27",
|
|
35
|
+
"@opendaw/lib-std": "^0.0.27",
|
|
36
|
+
"@opendaw/studio-adapters": "^0.0.27",
|
|
37
|
+
"@opendaw/studio-boxes": "^0.0.27",
|
|
38
|
+
"@opendaw/studio-enums": "^0.0.21"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@opendaw/eslint-config": "^0.0.
|
|
42
|
-
"@opendaw/studio-core-processors": "^0.0.
|
|
43
|
-
"@opendaw/studio-core-workers": "^0.0.
|
|
44
|
-
"@opendaw/studio-forge-boxes": "^0.0.
|
|
45
|
-
"@opendaw/typescript-config": "^0.0.
|
|
41
|
+
"@opendaw/eslint-config": "^0.0.19",
|
|
42
|
+
"@opendaw/studio-core-processors": "^0.0.27",
|
|
43
|
+
"@opendaw/studio-core-workers": "^0.0.21",
|
|
44
|
+
"@opendaw/studio-forge-boxes": "^0.0.27",
|
|
45
|
+
"@opendaw/typescript-config": "^0.0.20"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "e94fe3bfdfa1c24ba8d16a695ebf7345286f3a32"
|
|
48
48
|
}
|