@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.
- package/dist/cli.js +6 -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
|
-
/**
|
|
1068
|
-
|
|
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) {
|