@imgly/plugin-remote-asset-source-web 0.2.0 → 1.68.0-rc.2
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/README.md +5 -69
- package/dist/.tsbuildinfo +1 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +4 -4
- package/dist/plugin.d.ts +1 -1
- package/dist/schemas/assetSchema.d.ts +6 -6
- package/package.json +27 -29
package/dist/plugin.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AssetAPI, AssetSource, BlockAPI, type EditorPlugin } from '@cesdk/cesdk-js';
|
|
2
2
|
import { AssetSourceManifest } from './schemas/assetSourceManifestSchema';
|
|
3
|
-
export declare const RemoteAssetSourcePlugin: (pluginConfiguration: RemoteAssetSourcePluginConfiguration) => Omit<EditorPlugin,
|
|
3
|
+
export declare const RemoteAssetSourcePlugin: (pluginConfiguration: RemoteAssetSourcePluginConfiguration) => Omit<EditorPlugin, "name" | "version">;
|
|
4
4
|
export declare const manifestToSource: (manifest: AssetSourceManifest, engine: {
|
|
5
5
|
asset: AssetAPI;
|
|
6
6
|
block: BlockAPI;
|
|
@@ -68,7 +68,7 @@ export declare const assetSchema: z.ZodObject<{
|
|
|
68
68
|
} | undefined;
|
|
69
69
|
}>;
|
|
70
70
|
export type Asset = z.infer<typeof assetSchema>;
|
|
71
|
-
export declare const assetDefinitionSchema: z.ZodObject<
|
|
71
|
+
export declare const assetDefinitionSchema: z.ZodObject<{
|
|
72
72
|
id: z.ZodString;
|
|
73
73
|
groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
74
74
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -105,10 +105,10 @@ export declare const assetDefinitionSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
105
105
|
height?: number | undefined;
|
|
106
106
|
duration?: string | undefined;
|
|
107
107
|
}>>;
|
|
108
|
-
}
|
|
108
|
+
} & {
|
|
109
109
|
label: z.ZodOptional<z.ZodString>;
|
|
110
110
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111
|
-
}
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
112
|
id: string;
|
|
113
113
|
tags?: string[] | undefined;
|
|
114
114
|
groups?: string[] | undefined;
|
|
@@ -144,7 +144,7 @@ export declare const assetDefinitionSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
144
144
|
label?: string | undefined;
|
|
145
145
|
}>;
|
|
146
146
|
export declare const assetsQueryResultSchema: z.ZodObject<{
|
|
147
|
-
assets: z.ZodArray<z.ZodObject<
|
|
147
|
+
assets: z.ZodArray<z.ZodObject<{
|
|
148
148
|
id: z.ZodString;
|
|
149
149
|
groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
150
150
|
meta: z.ZodOptional<z.ZodObject<{
|
|
@@ -181,10 +181,10 @@ export declare const assetsQueryResultSchema: z.ZodObject<{
|
|
|
181
181
|
height?: number | undefined;
|
|
182
182
|
duration?: string | undefined;
|
|
183
183
|
}>>;
|
|
184
|
-
}
|
|
184
|
+
} & {
|
|
185
185
|
label: z.ZodOptional<z.ZodString>;
|
|
186
186
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
187
|
-
}
|
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
id: string;
|
|
189
189
|
tags?: string[] | undefined;
|
|
190
190
|
groups?: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imgly/plugin-remote-asset-source-web",
|
|
3
|
-
"version": "0.2
|
|
3
|
+
"version": "1.68.0-rc.2",
|
|
4
4
|
"description": "Remote asset source plugin for the CE.SDK editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CE.SDK",
|
|
@@ -9,10 +9,6 @@
|
|
|
9
9
|
"client-side",
|
|
10
10
|
"asset-source"
|
|
11
11
|
],
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/imgly/plugins.git"
|
|
15
|
-
},
|
|
16
12
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
17
13
|
"author": {
|
|
18
14
|
"name": "IMG.LY GmbH",
|
|
@@ -31,7 +27,7 @@
|
|
|
31
27
|
"types": "./dist/index.d.ts"
|
|
32
28
|
}
|
|
33
29
|
},
|
|
34
|
-
"homepage": "https://img.ly/
|
|
30
|
+
"homepage": "https://img.ly/docs/cesdk/",
|
|
35
31
|
"files": [
|
|
36
32
|
"LICENSE.md",
|
|
37
33
|
"README.md",
|
|
@@ -39,34 +35,36 @@
|
|
|
39
35
|
"dist/",
|
|
40
36
|
"bin/"
|
|
41
37
|
],
|
|
42
|
-
"scripts": {
|
|
43
|
-
"start": "npm run watch",
|
|
44
|
-
"clean": "npx rimraf dist",
|
|
45
|
-
"purge": "npx rimraf node_modules",
|
|
46
|
-
"build": "npm run clean && node scripts/build.mjs",
|
|
47
|
-
"dev": "npm run clean && node scripts/watch.mjs",
|
|
48
|
-
"dev:wait": "npx wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
|
|
49
|
-
"dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
|
|
50
|
-
"publish:latest": "npm run build && npm publish --tag latest --access public",
|
|
51
|
-
"publish:next": "npm run build && npm publish --tag next --access public",
|
|
52
|
-
"check:all": "concurrently -n lint,type,pretty \"yarn check:lint\" \"yarn check:types\" \"yarn check:pretty\"",
|
|
53
|
-
"check:lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
|
|
54
|
-
"check:pretty": "prettier --list-different './src/**/*.{ts,tsx}'",
|
|
55
|
-
"check:types": "tsc --noEmit",
|
|
56
|
-
"types:create": "tsc --emitDeclarationOnly"
|
|
57
|
-
},
|
|
58
38
|
"devDependencies": {
|
|
59
39
|
"@types/ndarray": "^1.0.14",
|
|
60
|
-
"chalk": "^5.
|
|
40
|
+
"chalk": "^5.4.1",
|
|
61
41
|
"concurrently": "^8.2.2",
|
|
62
|
-
"esbuild": "^0.19.
|
|
63
|
-
"eslint": "^8.
|
|
64
|
-
"typescript": "^5.
|
|
42
|
+
"esbuild": "^0.19.12",
|
|
43
|
+
"eslint": "^8.57.1",
|
|
44
|
+
"typescript": "^5.7.3"
|
|
65
45
|
},
|
|
66
46
|
"peerDependencies": {
|
|
67
|
-
"@cesdk/cesdk-js": "
|
|
47
|
+
"@cesdk/cesdk-js": "1.68.0-rc.2"
|
|
68
48
|
},
|
|
69
49
|
"dependencies": {
|
|
70
|
-
"lodash": "^4.17.21"
|
|
50
|
+
"lodash": "^4.17.21",
|
|
51
|
+
"zod": "^3.24.2"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"start": "pnpm run watch",
|
|
55
|
+
"clean": "pnpm exec rimraf dist",
|
|
56
|
+
"purge": "pnpm exec rimraf node_modules",
|
|
57
|
+
"build": "pnpm run clean && pnpm exec node scripts/build.mjs",
|
|
58
|
+
"test": "echo No tests",
|
|
59
|
+
"dev": "SKIP_DTS=true node scripts/watch.mjs",
|
|
60
|
+
"dev:wait": "node ../../scripts/dev-wait.mjs",
|
|
61
|
+
"dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
|
|
62
|
+
"publish:latest": "pnpm run build && pnpm publish --tag latest --access public",
|
|
63
|
+
"publish:next": "pnpm run build && pnpm publish --tag next --access public",
|
|
64
|
+
"check:all": "concurrently -n lint,type,pretty \"pnpm run check:lint\" \"pnpm run check:types\" \"pnpm run check:pretty\"",
|
|
65
|
+
"check:lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
|
|
66
|
+
"check:pretty": "prettier --list-different './src/**/*.{ts,tsx}'",
|
|
67
|
+
"check:types": "tsc --noEmit",
|
|
68
|
+
"types:create": "tsc --emitDeclarationOnly"
|
|
71
69
|
}
|
|
72
|
-
}
|
|
70
|
+
}
|