@digipair/skill-keycloak 0.7.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/index.cjs.d.ts +1 -0
- package/index.cjs.js +27683 -0
- package/index.d.ts +1 -0
- package/libs/engine/src/index.d.ts +2 -0
- package/libs/engine/src/lib/engine.d.ts +23 -0
- package/libs/engine/src/lib/pins-settings.interface.d.ts +21 -0
- package/libs/skill-keycloak/src/index.d.ts +1 -0
- package/libs/skill-keycloak/src/lib/skill-keycloak.d.ts +2 -0
- package/package.json +8 -0
- package/schema.json +170 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'libs/skill-keycloak/src/index';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PinsSettings } from './pins-settings.interface';
|
|
2
|
+
type CONFIG_KEY = 'BASE_URL' | 'LIBRARIES';
|
|
3
|
+
export declare const config: {
|
|
4
|
+
set: (key: CONFIG_KEY, value: any) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const applyTemplate: (value: any, context: any) => any;
|
|
7
|
+
export declare const executePins: (settingsOrigin: PinsSettings, context?: any, options?: {
|
|
8
|
+
libraries: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
}) => Promise<any>;
|
|
12
|
+
export declare const executePinsList: (pinsSettingsList: PinsSettings[], context: any, options?: {
|
|
13
|
+
libraries: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
}) => Promise<any>;
|
|
17
|
+
export declare const generateElementFromPins: (pinsSettings: PinsSettings, parent: Element, context: any, options?: {
|
|
18
|
+
libraries: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
}) => Promise<Element | void>;
|
|
22
|
+
export declare const preparePinsSettings: (settings: PinsSettings, context: any) => Promise<PinsSettings>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface PinsSettings {
|
|
2
|
+
element: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
library: string;
|
|
6
|
+
properties?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
variables?: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
conditions?: {
|
|
13
|
+
if?: boolean;
|
|
14
|
+
each?: any[];
|
|
15
|
+
};
|
|
16
|
+
pins?: PinsSettings[];
|
|
17
|
+
events?: {
|
|
18
|
+
[key: string]: PinsSettings[];
|
|
19
|
+
};
|
|
20
|
+
context?: any;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/skill-keycloak';
|
package/package.json
ADDED
package/schema.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-keycloak",
|
|
5
|
+
"summary": "Affichage de pages web sécurisée",
|
|
6
|
+
"description": "Cette compétence englobe la connaissance et l'utilisation des technologies web nécessaires pour développer et maintenir des sites internet sécurisés par keycloak.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "🔐"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/executeFactory": {
|
|
12
|
+
"post": {
|
|
13
|
+
"summary": "Dans la factory",
|
|
14
|
+
"description": "Exécution d'une liste de capacité dans la factory",
|
|
15
|
+
"tags": ["web"],
|
|
16
|
+
"metadata": [],
|
|
17
|
+
"parameters": [
|
|
18
|
+
{
|
|
19
|
+
"name": "execute",
|
|
20
|
+
"summary": "Exécuter",
|
|
21
|
+
"required": true,
|
|
22
|
+
"description": "Liste de capacité à exécuter",
|
|
23
|
+
"schema": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"$ref": "https://www.pinser.world/schemas/pinsSettings"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"/requestUpdate": {
|
|
34
|
+
"post": {
|
|
35
|
+
"summary": "Mettre à jour les composants web",
|
|
36
|
+
"description": "Mettre à jour un composant web",
|
|
37
|
+
"tags": ["web"],
|
|
38
|
+
"metadata": [],
|
|
39
|
+
"parameters": [
|
|
40
|
+
{
|
|
41
|
+
"name": "selector",
|
|
42
|
+
"summary": "Sélecteur CSS",
|
|
43
|
+
"required": true,
|
|
44
|
+
"description": "Sélecteur CSS permettant de sélectionner les composants à mettre à jour",
|
|
45
|
+
"schema": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"components": {
|
|
54
|
+
"schemas": {
|
|
55
|
+
"dataAttribute": {
|
|
56
|
+
"tags": ["service"],
|
|
57
|
+
"summary": "Paramètre",
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"name": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"summary": "Nom"
|
|
63
|
+
},
|
|
64
|
+
"value": {
|
|
65
|
+
"summary": "Valeur",
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"$ref": "https://www.pinser.world/schemas/pinsSettings"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": ["name", "value"]
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"x-scene-blocks": {
|
|
77
|
+
"/page": {
|
|
78
|
+
"summary": "Page internet",
|
|
79
|
+
"description": "Affichage d'une page d'un site internet.",
|
|
80
|
+
"tags": ["web", "service"],
|
|
81
|
+
"metadata": [],
|
|
82
|
+
"parameters": [
|
|
83
|
+
{
|
|
84
|
+
"name": "body",
|
|
85
|
+
"summary": "Contenu",
|
|
86
|
+
"required": true,
|
|
87
|
+
"description": "Contenu de la page",
|
|
88
|
+
"schema": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"items": {
|
|
91
|
+
"$ref": "https://www.pinser.world/schemas/pinsSettings"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "title",
|
|
97
|
+
"summary": "Titre",
|
|
98
|
+
"required": false,
|
|
99
|
+
"description": "Titre de la page",
|
|
100
|
+
"schema": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "favicon",
|
|
106
|
+
"summary": "Icone de la page",
|
|
107
|
+
"required": false,
|
|
108
|
+
"description": "Icone de la page",
|
|
109
|
+
"schema": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "styleHtml",
|
|
115
|
+
"summary": "Style CSS du HTML",
|
|
116
|
+
"required": false,
|
|
117
|
+
"description": "Style css de l'élément HTML",
|
|
118
|
+
"schema": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "styleBody",
|
|
124
|
+
"summary": "Style CSS du BODY",
|
|
125
|
+
"required": false,
|
|
126
|
+
"description": "Style css de l'élément BODY",
|
|
127
|
+
"schema": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "factoryInitialize",
|
|
133
|
+
"summary": "Lors de la l'initialisation coté factory",
|
|
134
|
+
"required": false,
|
|
135
|
+
"description": "Action déclenchée lors de l'initialisation coté factory",
|
|
136
|
+
"schema": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"items": {
|
|
139
|
+
"$ref": "https://www.pinser.world/schemas/pinsSettings"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "browserInitialize",
|
|
145
|
+
"summary": "Lors de la l'initialisation coté navigateur",
|
|
146
|
+
"required": false,
|
|
147
|
+
"description": "Action déclenchée lors de l'initialisation coté navigateur",
|
|
148
|
+
"schema": {
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"$ref": "https://www.pinser.world/schemas/pinsSettings"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "browserLoad",
|
|
157
|
+
"summary": "Lorsque la page est chargée",
|
|
158
|
+
"required": false,
|
|
159
|
+
"description": "Action déclenchée lorsque la page est chargée coté navigateur",
|
|
160
|
+
"schema": {
|
|
161
|
+
"type": "array",
|
|
162
|
+
"items": {
|
|
163
|
+
"$ref": "https://www.pinser.world/schemas/pinsSettings"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|