@botpress/cli 5.4.3 → 5.5.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.
Files changed (40) hide show
  1. package/.turbo/turbo-build.log +13 -13
  2. package/dist/code-generation/integration-implementation/integration-secret.d.ts +1 -0
  3. package/dist/code-generation/integration-implementation/integration-secret.js +5 -2
  4. package/dist/code-generation/integration-implementation/integration-secret.js.map +2 -2
  5. package/dist/command-definitions.d.ts +6 -0
  6. package/dist/command-implementations/dev-command.d.ts +3 -0
  7. package/dist/command-implementations/dev-command.js +33 -1
  8. package/dist/command-implementations/dev-command.js.map +2 -2
  9. package/dist/command-implementations/index.d.ts +6 -0
  10. package/dist/command-implementations/lint-command.js +13 -6
  11. package/dist/command-implementations/lint-command.js.map +2 -2
  12. package/dist/command-implementations/project-command.d.ts +3 -0
  13. package/dist/command-implementations/project-command.js.map +2 -2
  14. package/dist/config.d.ts +6 -0
  15. package/dist/config.js +6 -0
  16. package/dist/config.js.map +2 -2
  17. package/dist/index.d.ts +6 -0
  18. package/dist/linter/base-linter.d.ts +16 -2
  19. package/dist/linter/base-linter.js +29 -4
  20. package/dist/linter/base-linter.js.map +3 -3
  21. package/dist/linter/ruleset-functions.d.ts +8 -0
  22. package/dist/linter/ruleset-functions.js +75 -0
  23. package/dist/linter/ruleset-functions.js.map +7 -0
  24. package/dist/linter/ruleset-tests/common.d.ts +1 -2
  25. package/dist/linter/ruleset-tests/common.js.map +1 -1
  26. package/dist/linter/rulesets/bot.ruleset.d.ts +1 -141
  27. package/dist/linter/rulesets/bot.ruleset.js +29 -28
  28. package/dist/linter/rulesets/bot.ruleset.js.map +2 -2
  29. package/dist/linter/rulesets/integration.ruleset.d.ts +1 -336
  30. package/dist/linter/rulesets/integration.ruleset.js +63 -62
  31. package/dist/linter/rulesets/integration.ruleset.js.map +2 -2
  32. package/dist/linter/rulesets/interface.ruleset.d.ts +1 -101
  33. package/dist/linter/rulesets/interface.ruleset.js +21 -20
  34. package/dist/linter/rulesets/interface.ruleset.js.map +2 -2
  35. package/package.json +3 -3
  36. package/templates/empty-bot/package.json +2 -2
  37. package/templates/empty-integration/package.json +2 -2
  38. package/templates/empty-plugin/package.json +1 -1
  39. package/templates/hello-world/package.json +2 -2
  40. package/templates/webhook-message/package.json +2 -2
@@ -1,336 +1 @@
1
- export declare const INTEGRATION_RULESET: {
2
- extends: never[];
3
- rules: {
4
- 'integration-title-must-be-present': {
5
- description: string;
6
- severity: "error";
7
- given: string;
8
- then: {
9
- field: string;
10
- function: import("@stoplight/spectral-core").RulesetFunctionWithValidator<unknown, null>;
11
- }[];
12
- };
13
- 'integration-description-must-be-present': {
14
- description: string;
15
- severity: "error";
16
- given: string;
17
- then: {
18
- field: string;
19
- function: import("@stoplight/spectral-core").RulesetFunctionWithValidator<unknown, null>;
20
- }[];
21
- };
22
- 'integration-must-have-an-icon': {
23
- description: string;
24
- severity: "error";
25
- given: string;
26
- then: {
27
- field: string;
28
- function: import("@stoplight/spectral-core").RulesetFunctionWithValidator<unknown, null>;
29
- }[];
30
- };
31
- 'integration-must-have-a-readme-file': {
32
- description: string;
33
- severity: "error";
34
- given: string;
35
- then: {
36
- field: string;
37
- function: import("@stoplight/spectral-core").RulesetFunctionWithValidator<unknown, null>;
38
- }[];
39
- };
40
- 'actions-should-have-a-title': {
41
- description: string;
42
- message: string;
43
- severity: "warn";
44
- given: string;
45
- then: {
46
- field: string;
47
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
48
- }[];
49
- };
50
- 'actions-must-have-a-description': {
51
- description: string;
52
- message: string;
53
- severity: "error";
54
- given: string;
55
- then: {
56
- field: string;
57
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
58
- }[];
59
- };
60
- 'action-inputparams-should-have-a-title': {
61
- description: string;
62
- message: string;
63
- severity: "warn";
64
- given: string;
65
- then: {
66
- field: string;
67
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
68
- }[];
69
- };
70
- 'action-inputparams-must-have-a-description': {
71
- description: string;
72
- message: string;
73
- severity: "error";
74
- given: string;
75
- then: {
76
- field: string;
77
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
78
- }[];
79
- };
80
- 'action-outputparams-should-have-a-title': {
81
- description: string;
82
- message: string;
83
- severity: "warn";
84
- given: string;
85
- then: {
86
- field: string;
87
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
88
- }[];
89
- };
90
- 'action-outputparams-must-have-a-description': {
91
- description: string;
92
- message: string;
93
- severity: "error";
94
- given: string;
95
- then: {
96
- field: string;
97
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
98
- }[];
99
- };
100
- 'event-outputparams-should-have-title': {
101
- description: string;
102
- message: string;
103
- severity: "warn";
104
- given: string;
105
- then: {
106
- field: string;
107
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
108
- }[];
109
- };
110
- 'event-outputparams-must-have-description': {
111
- description: string;
112
- message: string;
113
- severity: "error";
114
- given: string;
115
- then: {
116
- field: string;
117
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
118
- }[];
119
- };
120
- 'events-must-have-a-title': {
121
- description: string;
122
- message: string;
123
- severity: "error";
124
- given: string;
125
- then: {
126
- field: string;
127
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
128
- }[];
129
- };
130
- 'events-must-have-a-description': {
131
- description: string;
132
- message: string;
133
- severity: "error";
134
- given: string;
135
- then: {
136
- field: string;
137
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
138
- }[];
139
- };
140
- 'consider-migrating-to-configurations': {
141
- description: string;
142
- severity: "off";
143
- given: string;
144
- then: {
145
- field: string;
146
- function: import("@stoplight/spectral-core").RulesetFunctionWithValidator<unknown, null>;
147
- }[];
148
- };
149
- 'configuration-fields-must-have-a-title': {
150
- description: string;
151
- message: string;
152
- severity: "error";
153
- given: string;
154
- then: {
155
- field: string;
156
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
157
- }[];
158
- };
159
- 'configuration-fields-must-have-a-description': {
160
- description: string;
161
- message: string;
162
- severity: "error";
163
- given: string;
164
- then: {
165
- field: string;
166
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
167
- }[];
168
- };
169
- 'multiple-configurations-must-have-a-title': {
170
- description: string;
171
- message: string;
172
- severity: "error";
173
- given: string;
174
- then: {
175
- field: string;
176
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
177
- }[];
178
- };
179
- 'multiple-configurations-must-have-a-description': {
180
- description: string;
181
- message: string;
182
- severity: "error";
183
- given: string;
184
- then: {
185
- field: string;
186
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
187
- }[];
188
- };
189
- 'multipes-configurations-fields-must-have-a-title': {
190
- description: string;
191
- message: string;
192
- severity: "error";
193
- given: string;
194
- then: {
195
- field: string;
196
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
197
- }[];
198
- };
199
- 'multipes-configurations-fields-must-have-a-description': {
200
- description: string;
201
- message: string;
202
- severity: "error";
203
- given: string;
204
- then: {
205
- field: string;
206
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
207
- }[];
208
- };
209
- 'user-tags-should-have-a-title': {
210
- description: string;
211
- message: string;
212
- severity: "warn";
213
- given: string;
214
- then: {
215
- field: string;
216
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
217
- }[];
218
- };
219
- 'user-tags-must-have-a-description': {
220
- description: string;
221
- message: string;
222
- severity: "error";
223
- given: string;
224
- then: {
225
- field: string;
226
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
227
- }[];
228
- };
229
- 'channels-should-have-a-title': {
230
- description: string;
231
- message: string;
232
- severity: "warn";
233
- given: string;
234
- then: {
235
- field: string;
236
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
237
- }[];
238
- };
239
- 'channels-must-have-a-description': {
240
- description: string;
241
- message: string;
242
- severity: "error";
243
- given: string;
244
- then: {
245
- field: string;
246
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
247
- }[];
248
- };
249
- 'channels-conversation-tags-should-have-a-title': {
250
- description: string;
251
- message: string;
252
- severity: "warn";
253
- given: string;
254
- then: {
255
- field: string;
256
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
257
- }[];
258
- };
259
- 'channels-conversation-tags-must-have-a-description': {
260
- description: string;
261
- message: string;
262
- severity: "error";
263
- given: string;
264
- then: {
265
- field: string;
266
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
267
- }[];
268
- };
269
- 'channels-message-tags-should-have-a-title': {
270
- description: string;
271
- message: string;
272
- severity: "warn";
273
- given: string;
274
- then: {
275
- field: string;
276
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
277
- }[];
278
- };
279
- 'channels-message-tags-must-have-a-description': {
280
- description: string;
281
- message: string;
282
- severity: "error";
283
- given: string;
284
- then: {
285
- field: string;
286
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
287
- }[];
288
- };
289
- 'legacy-zui-title-should-be-removed': {
290
- description: string;
291
- severity: "error";
292
- given: string;
293
- then: {
294
- function: import("@stoplight/spectral-core").RulesetFunctionWithValidator<unknown, null>;
295
- }[];
296
- };
297
- 'legacy-zui-examples-should-be-removed': {
298
- description: string;
299
- severity: "hint";
300
- given: string;
301
- then: {
302
- function: import("@stoplight/spectral-core").RulesetFunctionWithValidator<unknown, null>;
303
- }[];
304
- };
305
- 'state-fields-should-have-title': {
306
- description: string;
307
- message: string;
308
- severity: "warn";
309
- given: string;
310
- then: {
311
- field: string;
312
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
313
- }[];
314
- };
315
- 'state-fields-must-have-description': {
316
- description: string;
317
- message: string;
318
- severity: "error";
319
- given: string;
320
- then: {
321
- field: string;
322
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
323
- }[];
324
- };
325
- 'secrets-must-have-a-description': {
326
- description: string;
327
- message: string;
328
- severity: "error";
329
- given: string;
330
- then: {
331
- field: string;
332
- function: import("@stoplight/spectral-core").RulesetFunction<any, any> | import("@stoplight/spectral-core").RulesetFunctionWithValidator<any, any>;
333
- }[];
334
- };
335
- };
336
- };
1
+ export declare const INTEGRATION_RULESET: import("@stoplight/spectral-core").RulesetDefinition & import("../ruleset-tests/common").Ruleset;