@digipair/skill-yaml 0.55.0

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/package.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@digipair/skill-yaml",
3
+ "version": "0.55.0",
4
+ "dependencies": {},
5
+ "main": "./index.cjs.js",
6
+ "module": "./index.esm.js"
7
+ }
package/schema.fr.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "@digipair/skill-yaml",
5
+ "summary": "Gestion des données YAML",
6
+ "description": "Cette compétence permet de manipuler des données YAML",
7
+ "version": "0.1.0",
8
+ "x-icon": "📝"
9
+ },
10
+ "paths": {
11
+ "/load": {
12
+ "post": {
13
+ "tags": ["service"],
14
+ "summary": "Charge du YAML",
15
+ "parameters": [
16
+ {
17
+ "name": "yaml",
18
+ "summary": "Données",
19
+ "required": true,
20
+ "description": "Données YAML à charger",
21
+ "schema": {
22
+ "type": "string"
23
+ }
24
+ },
25
+ {
26
+ "name": "options",
27
+ "summary": "Options",
28
+ "required": false,
29
+ "description": "Options de chargement",
30
+ "schema": {
31
+ "type": "object"
32
+ }
33
+ }
34
+ ],
35
+ "x-events": []
36
+ }
37
+ },
38
+ "/dump": {
39
+ "post": {
40
+ "tags": ["service"],
41
+ "summary": "Convertie en YAML",
42
+ "parameters": [
43
+ {
44
+ "name": "data",
45
+ "summary": "Données",
46
+ "required": true,
47
+ "description": "Données à convertir en YAML",
48
+ "schema": {
49
+ "type": "string"
50
+ }
51
+ },
52
+ {
53
+ "name": "options",
54
+ "summary": "Options",
55
+ "required": false,
56
+ "description": "Options de convertion",
57
+ "schema": {
58
+ "type": "object"
59
+ }
60
+ }
61
+ ],
62
+ "x-events": []
63
+ }
64
+ }
65
+ },
66
+ "components": {
67
+ "schemas": {}
68
+ },
69
+ "x-scene-blocks": {}
70
+ }
package/schema.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "@digipair/skill-yaml",
5
+ "summary": "YAML data management",
6
+ "description": "This skill allows manipulating YAML data",
7
+ "version": "0.1.0",
8
+ "x-icon": "📝"
9
+ },
10
+ "paths": {
11
+ "/load": {
12
+ "post": {
13
+ "tags": ["service"],
14
+ "summary": "Load YAML",
15
+ "parameters": [
16
+ {
17
+ "name": "yaml",
18
+ "summary": "Data",
19
+ "required": true,
20
+ "description": "YAML data to load",
21
+ "schema": {
22
+ "type": "string"
23
+ }
24
+ },
25
+ {
26
+ "name": "options",
27
+ "summary": "Options",
28
+ "required": false,
29
+ "description": "Loading options",
30
+ "schema": {
31
+ "type": "object"
32
+ }
33
+ }
34
+ ],
35
+ "x-events": []
36
+ }
37
+ },
38
+ "/dump": {
39
+ "post": {
40
+ "tags": ["service"],
41
+ "summary": "Convert to YAML",
42
+ "parameters": [
43
+ {
44
+ "name": "data",
45
+ "summary": "Data",
46
+ "required": true,
47
+ "description": "Data to convert to YAML",
48
+ "schema": {
49
+ "type": "string"
50
+ }
51
+ },
52
+ {
53
+ "name": "options",
54
+ "summary": "Options",
55
+ "required": false,
56
+ "description": "Conversion options",
57
+ "schema": {
58
+ "type": "object"
59
+ }
60
+ }
61
+ ],
62
+ "x-events": []
63
+ }
64
+ }
65
+ },
66
+ "components": {
67
+ "schemas": {}
68
+ },
69
+ "x-scene-blocks": {}
70
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './lib/skill-yaml';
@@ -0,0 +1,3 @@
1
+ import { PinsSettings } from '@digipair/engine';
2
+ export declare const load: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
3
+ export declare const dump: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;