@surnie/plugin-kit 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/dist/cli.js +6 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1064,8 +1064,12 @@ type SurnieViewer = { id: string; name: string };
1064
1064
  */
1065
1065
  type SurniePanelContext = { user: SurnieViewer; permissions: readonly string[]; locale: string; t: SurnieTranslate };
1066
1066
 
1067
- /** Lo que devuelve una acci\xF3n: un aviso (opcional) y si el panel vuelve a leer la p\xE1gina (s\xED, por defecto). */
1068
- type SurnieActionAnswer = void | null | { toast?: string; tone?: "success" | "danger"; refresh?: boolean };
1067
+ /**
1068
+ * Lo que devuelve una acci\xF3n: un aviso (opcional), si el panel vuelve a leer la p\xE1gina (s\xED, por
1069
+ * defecto) y, con \`navigate\`, ad\xF3nde lleva: una pantalla tuya (\`"screen:<id>?param=valor"\`) o el
1070
+ * contenido del panel (\`"content:<apiId>[/<id>]"\`).
1071
+ */
1072
+ type SurnieActionAnswer = void | null | { toast?: string; tone?: "success" | "danger"; refresh?: boolean; navigate?: string };
1069
1073
 
1070
1074
  `;
1071
1075
  function settingType(s2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surnie/plugin-kit",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Kit para escribir plugins de Surnie: manifiesto, compilación reproducible, firma e inspección.",
5
5
  "type": "module",
6
6
  "bin": {