@digipair/skill-web-debug 0.4.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/index.cjs.d.ts +1 -0
- package/index.cjs.js +13 -0
- package/index.d.ts +1 -0
- package/index.esm.js +9 -0
- package/libs/skill-web-debug/src/index.d.ts +1 -0
- package/libs/skill-web-debug/src/lib/skill-web-debug.d.ts +2 -0
- package/package.json +7 -0
- package/schema.json +42 -0
package/index.cjs.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./src/index";
|
package/index.cjs.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
let DebugService = class DebugService {
|
|
6
|
+
async console(params, _pinsSettingsList, _context) {
|
|
7
|
+
const { label, value } = params;
|
|
8
|
+
window.console.log(label, value);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
const console = (params, pinsSettingsList, context)=>new DebugService().console(params, pinsSettingsList, context);
|
|
12
|
+
|
|
13
|
+
exports.console = console;
|
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'libs/skill-web-debug/src/index';
|
package/index.esm.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
let DebugService = class DebugService {
|
|
2
|
+
async console(params, _pinsSettingsList, _context) {
|
|
3
|
+
const { label, value } = params;
|
|
4
|
+
window.console.log(label, value);
|
|
5
|
+
}
|
|
6
|
+
};
|
|
7
|
+
const console = (params, pinsSettingsList, context)=>new DebugService().console(params, pinsSettingsList, context);
|
|
8
|
+
|
|
9
|
+
export { console };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/skill-web-debug';
|
package/package.json
ADDED
package/schema.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-web-debug",
|
|
5
|
+
"description": "Cette compétence permet aux utilisateurs de déboguer des applications web, offrant des outils et des fonctionnalités pour identifier et résoudre les problèmes.",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"x-icon": "🚀"
|
|
8
|
+
},
|
|
9
|
+
"paths": {
|
|
10
|
+
"/console": {
|
|
11
|
+
"post": {
|
|
12
|
+
"tags": [],
|
|
13
|
+
"summary": "Afficher dans la console",
|
|
14
|
+
"description": "Element permettant d'afficher un message dans la console javascript",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "label",
|
|
18
|
+
"summary": "Sujet",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "Sujet du log",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "value",
|
|
27
|
+
"summary": "Valeur",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Valeur supplémentaire à afficher",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "object"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"x-events": []
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"components": {
|
|
40
|
+
"schemas": {}
|
|
41
|
+
}
|
|
42
|
+
}
|