@yaakapp/api 0.2.15 → 0.2.16
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/bindings/events.d.ts +5 -0
- package/package.json +3 -2
package/lib/bindings/events.d.ts
CHANGED
|
@@ -220,6 +220,11 @@ export type ShowToastRequest = {
|
|
|
220
220
|
};
|
|
221
221
|
export type TemplateFunction = {
|
|
222
222
|
name: string;
|
|
223
|
+
description?: string;
|
|
224
|
+
/**
|
|
225
|
+
* Also support alternative names. This is useful for not breaking existing
|
|
226
|
+
* tags when changing the `name` property
|
|
227
|
+
*/
|
|
223
228
|
aliases?: Array<string>;
|
|
224
229
|
args: Array<TemplateFunctionArg>;
|
|
225
230
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yaakapp/api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"typings": "./lib/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"build:copy-types": "run-p build:copy-types:*",
|
|
14
14
|
"build:copy-types:root": "cpy --flat ../src-tauri/yaak_plugin_runtime/bindings/*.ts ./src/bindings",
|
|
15
15
|
"build:copy-types:next": "cpy --flat ../src-tauri/yaak_plugin_runtime/bindings/serde_json/*.ts ./src/bindings/serde_json",
|
|
16
|
-
"prepublishOnly": "npm run build"
|
|
16
|
+
"prepublishOnly": "npm run build",
|
|
17
|
+
"publish": "npm publish"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@types/node": "^22.5.4"
|