@digipair/skill-html 0.113.1 → 0.114.1
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 +7 -0
- package/dist/index.cjs.js +105 -0
- package/{index.esm.js → dist/index.esm.js} +10100 -11555
- package/{schema.fr.json → dist/schema.fr.json} +9 -25
- package/{schema.json → dist/schema.json} +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/{libs/skill-html → dist}/src/lib/skill-html.d.ts +2 -1
- package/dist/src/lib/skill-html.d.ts.map +1 -0
- package/package.json +26 -5
- package/index.cjs.js +0 -45956
- package/index.d.ts +0 -1
- package/libs/engine/src/index.d.ts +0 -2
- package/libs/engine/src/lib/alias.interface.d.ts +0 -9
- package/libs/engine/src/lib/engine.d.ts +0 -13
- package/libs/engine/src/lib/pins-settings.interface.d.ts +0 -15
- package/libs/skill-html/src/index.d.ts +0 -1
- /package/{index.cjs.d.ts → dist/index.d.ts} +0 -0
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"paths": {
|
|
11
11
|
"/html2pins": {
|
|
12
12
|
"post": {
|
|
13
|
-
"tags": [
|
|
14
|
-
"service"
|
|
15
|
-
],
|
|
13
|
+
"tags": ["service"],
|
|
16
14
|
"summary": "Convertir du HTML en Pin's",
|
|
17
15
|
"parameters": [
|
|
18
16
|
{
|
|
@@ -20,18 +18,14 @@
|
|
|
20
18
|
"summary": "HTML",
|
|
21
19
|
"required": true,
|
|
22
20
|
"description": "Code HTML",
|
|
23
|
-
"schema": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
}
|
|
21
|
+
"schema": { "type": "string" }
|
|
26
22
|
},
|
|
27
23
|
{
|
|
28
24
|
"name": "library",
|
|
29
25
|
"summary": "Librarie des Pin's",
|
|
30
26
|
"required": false,
|
|
31
27
|
"description": "Librarie des Pin's",
|
|
32
|
-
"schema": {
|
|
33
|
-
"type": "string"
|
|
34
|
-
}
|
|
28
|
+
"schema": { "type": "string" }
|
|
35
29
|
}
|
|
36
30
|
],
|
|
37
31
|
"x-events": [],
|
|
@@ -54,9 +48,7 @@
|
|
|
54
48
|
},
|
|
55
49
|
"/pins2html": {
|
|
56
50
|
"post": {
|
|
57
|
-
"tags": [
|
|
58
|
-
"service"
|
|
59
|
-
],
|
|
51
|
+
"tags": ["service"],
|
|
60
52
|
"summary": "Convertir des Pin's en HTML",
|
|
61
53
|
"parameters": [
|
|
62
54
|
{
|
|
@@ -64,9 +56,7 @@
|
|
|
64
56
|
"summary": "Pin's",
|
|
65
57
|
"required": true,
|
|
66
58
|
"description": "Liste des Pin's",
|
|
67
|
-
"schema": {
|
|
68
|
-
"type": "string"
|
|
69
|
-
}
|
|
59
|
+
"schema": { "type": "string" }
|
|
70
60
|
}
|
|
71
61
|
],
|
|
72
62
|
"x-events": [],
|
|
@@ -87,9 +77,7 @@
|
|
|
87
77
|
},
|
|
88
78
|
"/parseHtml": {
|
|
89
79
|
"post": {
|
|
90
|
-
"tags": [
|
|
91
|
-
"service"
|
|
92
|
-
],
|
|
80
|
+
"tags": ["service"],
|
|
93
81
|
"summary": "Parse un code HTML",
|
|
94
82
|
"parameters": [
|
|
95
83
|
{
|
|
@@ -97,9 +85,7 @@
|
|
|
97
85
|
"summary": "HTML",
|
|
98
86
|
"required": true,
|
|
99
87
|
"description": "Code HTML",
|
|
100
|
-
"schema": {
|
|
101
|
-
"type": "string"
|
|
102
|
-
}
|
|
88
|
+
"schema": { "type": "string" }
|
|
103
89
|
},
|
|
104
90
|
{
|
|
105
91
|
"name": "execute",
|
|
@@ -118,8 +104,6 @@
|
|
|
118
104
|
}
|
|
119
105
|
}
|
|
120
106
|
},
|
|
121
|
-
"components": {
|
|
122
|
-
"schemas": {}
|
|
123
|
-
},
|
|
107
|
+
"components": { "schemas": {} },
|
|
124
108
|
"x-scene-blocks": {}
|
|
125
|
-
}
|
|
109
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { PinsSettings } from '
|
|
1
|
+
import { PinsSettings } from '@digipair/engine';
|
|
2
2
|
export declare const html2pins: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
3
3
|
export declare const pins2html: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
4
4
|
export declare const parseHtml: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
5
|
+
//# sourceMappingURL=skill-html.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-html.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-html.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAmB,MAAM,kBAAkB,CAAC;AAsIjE,eAAO,MAAM,SAAS,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACrB,CAAC;AACjE,eAAO,MAAM,SAAS,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACrB,CAAC;AACjE,eAAO,MAAM,SAAS,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,14 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digipair/skill-html",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.114.1",
|
|
4
|
+
"main": "./dist/index.cjs.js",
|
|
5
|
+
"module": "./dist/index.esm.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
4
7
|
"keywords": [
|
|
5
8
|
"digipair",
|
|
6
9
|
"service",
|
|
7
10
|
"util"
|
|
8
11
|
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.esm.js",
|
|
16
|
+
"default": "./dist/index.cjs.js"
|
|
17
|
+
},
|
|
18
|
+
"./index.esm.js": "./dist/index.esm.js",
|
|
19
|
+
"./index.cjs.js": "./dist/index.cjs.js",
|
|
20
|
+
"./package.json": "./package.json",
|
|
21
|
+
"./schema.json": "./dist/schema.json",
|
|
22
|
+
"./schema.fr.json": "./dist/schema.fr.json"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"README.md",
|
|
27
|
+
"package.json"
|
|
28
|
+
],
|
|
29
|
+
"nx": {
|
|
30
|
+
"name": "skill-html"
|
|
31
|
+
},
|
|
9
32
|
"dependencies": {
|
|
10
33
|
"jsdom": "^25.0.1"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
"module": "./index.esm.js"
|
|
14
|
-
}
|
|
34
|
+
}
|
|
35
|
+
}
|