@digipair/skill-service 0.98.2 → 0.98.4
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.js +4 -20230
- package/index.esm.js +516 -20730
- package/{src → libs/skill-service/src}/lib/skill-service.d.ts +1 -1
- package/package.json +4 -2
- package/schema.fr.json +44 -2
- package/schema.json +44 -2
- /package/{src → libs/skill-service/src}/index.d.ts +0 -0
|
@@ -3,4 +3,4 @@ export declare const service: (params: any, pinsSettingsList: PinsSettings[], co
|
|
|
3
3
|
export declare const send: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
4
4
|
export declare const status: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
5
5
|
export declare const headers: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
6
|
-
export declare const files: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<
|
|
6
|
+
export declare const files: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digipair/skill-service",
|
|
3
|
-
"version": "0.98.
|
|
3
|
+
"version": "0.98.4",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"digipair",
|
|
6
6
|
"service",
|
|
7
7
|
"tool"
|
|
8
8
|
],
|
|
9
|
-
"dependencies": {
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"multer": "^2.0.2"
|
|
11
|
+
},
|
|
10
12
|
"main": "./index.cjs.js",
|
|
11
13
|
"module": "./index.esm.js"
|
|
12
14
|
}
|
package/schema.fr.json
CHANGED
|
@@ -127,8 +127,50 @@
|
|
|
127
127
|
"content": {
|
|
128
128
|
"application/json": {
|
|
129
129
|
"schema": {
|
|
130
|
-
"type": "
|
|
131
|
-
"description": "
|
|
130
|
+
"type": "array",
|
|
131
|
+
"description": "Tableau d'objets de fichiers téléchargés traités par multer",
|
|
132
|
+
"items": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"fieldname": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Nom du champ spécifié dans le formulaire"
|
|
138
|
+
},
|
|
139
|
+
"originalname": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "Nom du fichier sur l'ordinateur de l'utilisateur"
|
|
142
|
+
},
|
|
143
|
+
"encoding": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"description": "Type d'encodage du fichier"
|
|
146
|
+
},
|
|
147
|
+
"mimetype": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"description": "Type MIME du fichier"
|
|
150
|
+
},
|
|
151
|
+
"size": {
|
|
152
|
+
"type": "number",
|
|
153
|
+
"description": "Taille du fichier en octets"
|
|
154
|
+
},
|
|
155
|
+
"destination": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "Dossier dans lequel le fichier a été sauvegardé (DiskStorage uniquement)"
|
|
158
|
+
},
|
|
159
|
+
"filename": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"description": "Nom du fichier dans le dossier de destination (DiskStorage uniquement)"
|
|
162
|
+
},
|
|
163
|
+
"path": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"description": "Chemin complet vers le fichier téléchargé (DiskStorage uniquement)"
|
|
166
|
+
},
|
|
167
|
+
"buffer": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"description": "Buffer de l'intégralité du fichier (MemoryStorage uniquement)"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": ["fieldname", "originalname", "encoding", "mimetype", "size"]
|
|
173
|
+
}
|
|
132
174
|
}
|
|
133
175
|
}
|
|
134
176
|
}
|
package/schema.json
CHANGED
|
@@ -127,8 +127,50 @@
|
|
|
127
127
|
"content": {
|
|
128
128
|
"application/json": {
|
|
129
129
|
"schema": {
|
|
130
|
-
"type": "
|
|
131
|
-
"description": "
|
|
130
|
+
"type": "array",
|
|
131
|
+
"description": "Array of uploaded file objects processed by multer",
|
|
132
|
+
"items": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"fieldname": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Field name specified in the form"
|
|
138
|
+
},
|
|
139
|
+
"originalname": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "Name of the file on the user's computer"
|
|
142
|
+
},
|
|
143
|
+
"encoding": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"description": "Encoding type of the file"
|
|
146
|
+
},
|
|
147
|
+
"mimetype": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"description": "MIME type of the file"
|
|
150
|
+
},
|
|
151
|
+
"size": {
|
|
152
|
+
"type": "number",
|
|
153
|
+
"description": "Size of the file in bytes"
|
|
154
|
+
},
|
|
155
|
+
"destination": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "Folder to which the file has been saved (DiskStorage only)"
|
|
158
|
+
},
|
|
159
|
+
"filename": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"description": "Name of the file within the destination (DiskStorage only)"
|
|
162
|
+
},
|
|
163
|
+
"path": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"description": "Full path to the uploaded file (DiskStorage only)"
|
|
166
|
+
},
|
|
167
|
+
"buffer": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"description": "Buffer of the entire file (MemoryStorage only)"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": ["fieldname", "originalname", "encoding", "mimetype", "size"]
|
|
173
|
+
}
|
|
132
174
|
}
|
|
133
175
|
}
|
|
134
176
|
}
|
|
File without changes
|