diff options
author | Ricardo <ricardo@cino.io> | 2023-10-13 14:12:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 13:12:03 +0100 |
commit | e503468660a13760010a94ecda5f0625c6f47f87 (patch) | |
tree | fa532f54fc5f091de08d55405ec6339bd2440a02 /ace-manifest.json | |
parent | 1.3.16 [skip ci] (diff) | |
download | ferdium-server-e503468660a13760010a94ecda5f0625c6f47f87.tar.gz ferdium-server-e503468660a13760010a94ecda5f0625c6f47f87.tar.zst ferdium-server-e503468660a13760010a94ecda5f0625c6f47f87.zip |
Server re-build with latest AdonisJS framework & Typescript (#47)
* chore: setup first basis structure
* chore: ensure styling is loaded correctly
* chore: comply to new routing syntax by replace . with / in routes/resource locations
* chore: add login controller
* chore: correctly use views with slash instead of dot
* chore: working login + tests
* chore: clean up tests
* chore: add password-forgot endpoint and matching test
* chore: add delete page test
* chore: add logout test
* chore: add reset-password route and tests
* chore: remove obsolete comment
* chore: add account-page and tests
* chore: add data page & first step of the test
* chore: add transfer/import data feature and tests
* chore: add export and basic test
* chore: add all static api routes with tests
* Regenerate 'pnpm-lock.json' and fix bad merge conflict
WIP:
- Tests have been commented out since they dont work
- Server doesn't start
* easier dev and test runs
* - remove --require-pragma from reformat-files so formatting works properly
- run pnpm reformat-files over codebase
- remove .json files from .eslintignore
- add invalid.json file to .eslintignore
- configure prettier properly in eslint config
- add type jsdoc to prettier config
- run adonis generate:manifest command to regenerate ace-manifest.json
- specify volta in package.json
- introduce typecheck npm script
- remove unused .mjs extension from npm scripts
- install missing type definition dependencies
- add pnpm.allowedDeprecatedVersions to package.json
- fix invalid extends in tsconfig.json causing TS issues throughout codebase
- remove @ts-ignore throughout codebase which is not relevant anymore
- enable some of the tsconfig options
- remove outdated eslint-disable from codebase
- change deprecated faker.company.companyName() to faker.company.name()
- fix TS issues inside transfer.spec.ts
* - update to latest node and pnpm versions
- upgrade all non-major dependencies to latest
- install missing @types/luxon dependency
- add cuid to pnpm.allowedDeprecatedVersions
- add esModuleInterop config option to tsconfig
- migrate more deprecated faker methods to new ones
- add more temporary ts-ignore to code
* - update eslint config
- remove trailingComma: all since default in prettier v3
- add typecheck command to prepare-code npm script
- upgrade various dependencies to latest major version
- update tsconfig to include only useful config options
- disable some lint issues and fix others
* - add test command to prepare-code
- disable strictPropertyInitialization flag in tsconfig which creates issues with adonis models
- update precommit hook to excute pnpm prepare-code
- remove ts-ignore statements from all models
* fix node and pnpm dependency update
* add cross env (so that we can develop on windows)
* add signup endpoint (TODO: JWT auth)
* Add login endpoint
* Add me and updateMe endpoints
* Add service endpoint
* refactor: change endpoints to use jwt
* add recipes endpoint
* add workspaces endpoint
* fix web controllors for login and post import
* Update node deps
* Change auth middleware (for web) and exempt api from CSRF
* Add import endpoint (franz import)
* Fix export/import logic
* Fix service and workspace data in user/data
* Fix partial lint
* chore: workaround lint issues
* fix: migration naming had two .
* Sync back node with recipes repo
* Temporarily ignore typescript
* Fix adonisrc to handle public folder static assets
* Fix issue with production database
* add Legacy Password Provider
* Fix lint errors
* Fix issue on login errors frontend
* add Legacy Password Provider
* Fix issue with customIcons
* Fix issue with auth tokens
* Update 'node' to '18.18.0'
* make docker work
* improve docker entrypoint (test api performance)
* Add migration database script
* NODE_ENV on recipes
* prefer @ts-expect-error over @ts-ignore
* small fixes
* Update 'pnpm' to '8.7.6'
* fix error catch
* Automatically generate JWT Public and Private keys
* Use custom Adonis5-jwt
* Update code to use secret (old way, no breaking changes)
* Normalize appKey
* Trick to make JWT tokens on client work with new version
* Fix error with new JWT logic
* Change migration and how we store JWT
* Fix 500 response code (needs to be 401)
* Improve logic and fix bugs
* Fix build and entrypoint logic
* Catch error if appKey changes
* Add newToken logic
* Fix lint (ignore any errors)
* Add build for PRs
* pnpm reformat-files result
* Fix some tests
* Fix reset password not working (test failing)
* Restore csrfTokens (disabled by accident)
* Fix pnpm start command with .env
* Disable failing tests on the transfer endpoint (TODO)
* Add tests to PR build
* Fix build
* Remove unnecessary assertStatus
* Add typecheck
* hash password on UserFactory (fix build)
* Add JWT_USE_PEM true by default (increase security)
* fix name of github action
---------
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Co-authored-by: Balaji Vijayakumar <kuttibalaji.v6@gmail.com>
Co-authored-by: MCMXC <16797721+mcmxcdev@users.noreply.github.com>
Co-authored-by: André Oliveira <oliveira.andrerodrigues95@gmail.com>
Diffstat (limited to 'ace-manifest.json')
-rw-r--r-- | ace-manifest.json | 616 |
1 files changed, 616 insertions, 0 deletions
diff --git a/ace-manifest.json b/ace-manifest.json new file mode 100644 index 0000000..d7befd2 --- /dev/null +++ b/ace-manifest.json | |||
@@ -0,0 +1,616 @@ | |||
1 | { | ||
2 | "commands": { | ||
3 | "dump:rcfile": { | ||
4 | "settings": {}, | ||
5 | "commandPath": "@adonisjs/core/build/commands/DumpRc", | ||
6 | "commandName": "dump:rcfile", | ||
7 | "description": "Dump contents of .adonisrc.json file along with defaults", | ||
8 | "args": [], | ||
9 | "aliases": [], | ||
10 | "flags": [] | ||
11 | }, | ||
12 | "list:routes": { | ||
13 | "settings": { | ||
14 | "loadApp": true, | ||
15 | "stayAlive": true | ||
16 | }, | ||
17 | "commandPath": "@adonisjs/core/build/commands/ListRoutes/index", | ||
18 | "commandName": "list:routes", | ||
19 | "description": "List application routes", | ||
20 | "args": [], | ||
21 | "aliases": [], | ||
22 | "flags": [ | ||
23 | { | ||
24 | "name": "verbose", | ||
25 | "propertyName": "verbose", | ||
26 | "type": "boolean", | ||
27 | "description": "Display more information" | ||
28 | }, | ||
29 | { | ||
30 | "name": "reverse", | ||
31 | "propertyName": "reverse", | ||
32 | "type": "boolean", | ||
33 | "alias": "r", | ||
34 | "description": "Reverse routes display" | ||
35 | }, | ||
36 | { | ||
37 | "name": "methods", | ||
38 | "propertyName": "methodsFilter", | ||
39 | "type": "array", | ||
40 | "alias": "m", | ||
41 | "description": "Filter routes by method" | ||
42 | }, | ||
43 | { | ||
44 | "name": "patterns", | ||
45 | "propertyName": "patternsFilter", | ||
46 | "type": "array", | ||
47 | "alias": "p", | ||
48 | "description": "Filter routes by the route pattern" | ||
49 | }, | ||
50 | { | ||
51 | "name": "names", | ||
52 | "propertyName": "namesFilter", | ||
53 | "type": "array", | ||
54 | "alias": "n", | ||
55 | "description": "Filter routes by route name" | ||
56 | }, | ||
57 | { | ||
58 | "name": "json", | ||
59 | "propertyName": "json", | ||
60 | "type": "boolean", | ||
61 | "description": "Output as JSON" | ||
62 | }, | ||
63 | { | ||
64 | "name": "table", | ||
65 | "propertyName": "table", | ||
66 | "type": "boolean", | ||
67 | "description": "Output as Table" | ||
68 | }, | ||
69 | { | ||
70 | "name": "max-width", | ||
71 | "propertyName": "maxWidth", | ||
72 | "type": "number", | ||
73 | "description": "Specify maximum rendering width. Ignored for JSON Output" | ||
74 | } | ||
75 | ] | ||
76 | }, | ||
77 | "generate:key": { | ||
78 | "settings": {}, | ||
79 | "commandPath": "@adonisjs/core/build/commands/GenerateKey", | ||
80 | "commandName": "generate:key", | ||
81 | "description": "Generate a new APP_KEY secret", | ||
82 | "args": [], | ||
83 | "aliases": [], | ||
84 | "flags": [] | ||
85 | }, | ||
86 | "repl": { | ||
87 | "settings": { | ||
88 | "loadApp": true, | ||
89 | "environment": "repl", | ||
90 | "stayAlive": true | ||
91 | }, | ||
92 | "commandPath": "@adonisjs/repl/build/commands/AdonisRepl", | ||
93 | "commandName": "repl", | ||
94 | "description": "Start a new REPL session", | ||
95 | "args": [], | ||
96 | "aliases": [], | ||
97 | "flags": [] | ||
98 | }, | ||
99 | "db:seed": { | ||
100 | "settings": { | ||
101 | "loadApp": true | ||
102 | }, | ||
103 | "commandPath": "@adonisjs/lucid/build/commands/DbSeed", | ||
104 | "commandName": "db:seed", | ||
105 | "description": "Execute database seeders", | ||
106 | "args": [], | ||
107 | "aliases": [], | ||
108 | "flags": [ | ||
109 | { | ||
110 | "name": "connection", | ||
111 | "propertyName": "connection", | ||
112 | "type": "string", | ||
113 | "description": "Define a custom database connection for the seeders", | ||
114 | "alias": "c" | ||
115 | }, | ||
116 | { | ||
117 | "name": "interactive", | ||
118 | "propertyName": "interactive", | ||
119 | "type": "boolean", | ||
120 | "description": "Run seeders in interactive mode", | ||
121 | "alias": "i" | ||
122 | }, | ||
123 | { | ||
124 | "name": "files", | ||
125 | "propertyName": "files", | ||
126 | "type": "array", | ||
127 | "description": "Define a custom set of seeders files names to run", | ||
128 | "alias": "f" | ||
129 | }, | ||
130 | { | ||
131 | "name": "compact-output", | ||
132 | "propertyName": "compactOutput", | ||
133 | "type": "boolean", | ||
134 | "description": "A compact single-line output" | ||
135 | } | ||
136 | ] | ||
137 | }, | ||
138 | "db:wipe": { | ||
139 | "settings": { | ||
140 | "loadApp": true | ||
141 | }, | ||
142 | "commandPath": "@adonisjs/lucid/build/commands/DbWipe", | ||
143 | "commandName": "db:wipe", | ||
144 | "description": "Drop all tables, views and types in database", | ||
145 | "args": [], | ||
146 | "aliases": [], | ||
147 | "flags": [ | ||
148 | { | ||
149 | "name": "connection", | ||
150 | "propertyName": "connection", | ||
151 | "type": "string", | ||
152 | "description": "Define a custom database connection", | ||
153 | "alias": "c" | ||
154 | }, | ||
155 | { | ||
156 | "name": "drop-views", | ||
157 | "propertyName": "dropViews", | ||
158 | "type": "boolean", | ||
159 | "description": "Drop all views" | ||
160 | }, | ||
161 | { | ||
162 | "name": "drop-types", | ||
163 | "propertyName": "dropTypes", | ||
164 | "type": "boolean", | ||
165 | "description": "Drop all custom types (Postgres only)" | ||
166 | }, | ||
167 | { | ||
168 | "name": "force", | ||
169 | "propertyName": "force", | ||
170 | "type": "boolean", | ||
171 | "description": "Explicitly force command to run in production" | ||
172 | } | ||
173 | ] | ||
174 | }, | ||
175 | "db:truncate": { | ||
176 | "settings": { | ||
177 | "loadApp": true | ||
178 | }, | ||
179 | "commandPath": "@adonisjs/lucid/build/commands/DbTruncate", | ||
180 | "commandName": "db:truncate", | ||
181 | "description": "Truncate all tables in database", | ||
182 | "args": [], | ||
183 | "aliases": [], | ||
184 | "flags": [ | ||
185 | { | ||
186 | "name": "connection", | ||
187 | "propertyName": "connection", | ||
188 | "type": "string", | ||
189 | "description": "Define a custom database connection", | ||
190 | "alias": "c" | ||
191 | }, | ||
192 | { | ||
193 | "name": "force", | ||
194 | "propertyName": "force", | ||
195 | "type": "boolean", | ||
196 | "description": "Explicitly force command to run in production" | ||
197 | } | ||
198 | ] | ||
199 | }, | ||
200 | "make:model": { | ||
201 | "settings": { | ||
202 | "loadApp": true | ||
203 | }, | ||
204 | "commandPath": "@adonisjs/lucid/build/commands/MakeModel", | ||
205 | "commandName": "make:model", | ||
206 | "description": "Make a new Lucid model", | ||
207 | "args": [ | ||
208 | { | ||
209 | "type": "string", | ||
210 | "propertyName": "name", | ||
211 | "name": "name", | ||
212 | "required": true, | ||
213 | "description": "Name of the model class" | ||
214 | } | ||
215 | ], | ||
216 | "aliases": [], | ||
217 | "flags": [ | ||
218 | { | ||
219 | "name": "migration", | ||
220 | "propertyName": "migration", | ||
221 | "type": "boolean", | ||
222 | "alias": "m", | ||
223 | "description": "Generate the migration for the model" | ||
224 | }, | ||
225 | { | ||
226 | "name": "controller", | ||
227 | "propertyName": "controller", | ||
228 | "type": "boolean", | ||
229 | "alias": "c", | ||
230 | "description": "Generate the controller for the model" | ||
231 | }, | ||
232 | { | ||
233 | "name": "factory", | ||
234 | "propertyName": "factory", | ||
235 | "type": "boolean", | ||
236 | "alias": "f", | ||
237 | "description": "Generate a factory for the model" | ||
238 | } | ||
239 | ] | ||
240 | }, | ||
241 | "make:migration": { | ||
242 | "settings": { | ||
243 | "loadApp": true | ||
244 | }, | ||
245 | "commandPath": "@adonisjs/lucid/build/commands/MakeMigration", | ||
246 | "commandName": "make:migration", | ||
247 | "description": "Make a new migration file", | ||
248 | "args": [ | ||
249 | { | ||
250 | "type": "string", | ||
251 | "propertyName": "name", | ||
252 | "name": "name", | ||
253 | "required": true, | ||
254 | "description": "Name of the migration file" | ||
255 | } | ||
256 | ], | ||
257 | "aliases": [], | ||
258 | "flags": [ | ||
259 | { | ||
260 | "name": "connection", | ||
261 | "propertyName": "connection", | ||
262 | "type": "string", | ||
263 | "description": "The connection flag is used to lookup the directory for the migration file" | ||
264 | }, | ||
265 | { | ||
266 | "name": "folder", | ||
267 | "propertyName": "folder", | ||
268 | "type": "string", | ||
269 | "description": "Pre-select a migration directory" | ||
270 | }, | ||
271 | { | ||
272 | "name": "create", | ||
273 | "propertyName": "create", | ||
274 | "type": "string", | ||
275 | "description": "Define the table name for creating a new table" | ||
276 | }, | ||
277 | { | ||
278 | "name": "table", | ||
279 | "propertyName": "table", | ||
280 | "type": "string", | ||
281 | "description": "Define the table name for altering an existing table" | ||
282 | } | ||
283 | ] | ||
284 | }, | ||
285 | "make:seeder": { | ||
286 | "settings": {}, | ||
287 | "commandPath": "@adonisjs/lucid/build/commands/MakeSeeder", | ||
288 | "commandName": "make:seeder", | ||
289 | "description": "Make a new Seeder file", | ||
290 | "args": [ | ||
291 | { | ||
292 | "type": "string", | ||
293 | "propertyName": "name", | ||
294 | "name": "name", | ||
295 | "required": true, | ||
296 | "description": "Name of the seeder class" | ||
297 | } | ||
298 | ], | ||
299 | "aliases": [], | ||
300 | "flags": [] | ||
301 | }, | ||
302 | "make:factory": { | ||
303 | "settings": {}, | ||
304 | "commandPath": "@adonisjs/lucid/build/commands/MakeFactory", | ||
305 | "commandName": "make:factory", | ||
306 | "description": "Make a new factory", | ||
307 | "args": [ | ||
308 | { | ||
309 | "type": "string", | ||
310 | "propertyName": "model", | ||
311 | "name": "model", | ||
312 | "required": true, | ||
313 | "description": "The name of the model" | ||
314 | } | ||
315 | ], | ||
316 | "aliases": [], | ||
317 | "flags": [ | ||
318 | { | ||
319 | "name": "model-path", | ||
320 | "propertyName": "modelPath", | ||
321 | "type": "string", | ||
322 | "description": "The path to the model" | ||
323 | }, | ||
324 | { | ||
325 | "name": "exact", | ||
326 | "propertyName": "exact", | ||
327 | "type": "boolean", | ||
328 | "description": "Create the factory with the exact name as provided", | ||
329 | "alias": "e" | ||
330 | } | ||
331 | ] | ||
332 | }, | ||
333 | "migration:run": { | ||
334 | "settings": { | ||
335 | "loadApp": true | ||
336 | }, | ||
337 | "commandPath": "@adonisjs/lucid/build/commands/Migration/Run", | ||
338 | "commandName": "migration:run", | ||
339 | "description": "Migrate database by running pending migrations", | ||
340 | "args": [], | ||
341 | "aliases": [], | ||
342 | "flags": [ | ||
343 | { | ||
344 | "name": "connection", | ||
345 | "propertyName": "connection", | ||
346 | "type": "string", | ||
347 | "description": "Define a custom database connection", | ||
348 | "alias": "c" | ||
349 | }, | ||
350 | { | ||
351 | "name": "force", | ||
352 | "propertyName": "force", | ||
353 | "type": "boolean", | ||
354 | "description": "Explicitly force to run migrations in production" | ||
355 | }, | ||
356 | { | ||
357 | "name": "dry-run", | ||
358 | "propertyName": "dryRun", | ||
359 | "type": "boolean", | ||
360 | "description": "Do not run actual queries. Instead view the SQL output" | ||
361 | }, | ||
362 | { | ||
363 | "name": "compact-output", | ||
364 | "propertyName": "compactOutput", | ||
365 | "type": "boolean", | ||
366 | "description": "A compact single-line output" | ||
367 | }, | ||
368 | { | ||
369 | "name": "disable-locks", | ||
370 | "propertyName": "disableLocks", | ||
371 | "type": "boolean", | ||
372 | "description": "Disable locks acquired to run migrations safely" | ||
373 | } | ||
374 | ] | ||
375 | }, | ||
376 | "migration:rollback": { | ||
377 | "settings": { | ||
378 | "loadApp": true | ||
379 | }, | ||
380 | "commandPath": "@adonisjs/lucid/build/commands/Migration/Rollback", | ||
381 | "commandName": "migration:rollback", | ||
382 | "description": "Rollback migrations to a specific batch number", | ||
383 | "args": [], | ||
384 | "aliases": [], | ||
385 | "flags": [ | ||
386 | { | ||
387 | "name": "connection", | ||
388 | "propertyName": "connection", | ||
389 | "type": "string", | ||
390 | "description": "Define a custom database connection", | ||
391 | "alias": "c" | ||
392 | }, | ||
393 | { | ||
394 | "name": "force", | ||
395 | "propertyName": "force", | ||
396 | "type": "boolean", | ||
397 | "description": "Explictly force to run migrations in production" | ||
398 | }, | ||
399 | { | ||
400 | "name": "dry-run", | ||
401 | "propertyName": "dryRun", | ||
402 | "type": "boolean", | ||
403 | "description": "Do not run actual queries. Instead view the SQL output" | ||
404 | }, | ||
405 | { | ||
406 | "name": "batch", | ||
407 | "propertyName": "batch", | ||
408 | "type": "number", | ||
409 | "description": "Define custom batch number for rollback. Use 0 to rollback to initial state" | ||
410 | }, | ||
411 | { | ||
412 | "name": "compact-output", | ||
413 | "propertyName": "compactOutput", | ||
414 | "type": "boolean", | ||
415 | "description": "A compact single-line output" | ||
416 | }, | ||
417 | { | ||
418 | "name": "disable-locks", | ||
419 | "propertyName": "disableLocks", | ||
420 | "type": "boolean", | ||
421 | "description": "Disable locks acquired to run migrations safely" | ||
422 | } | ||
423 | ] | ||
424 | }, | ||
425 | "migration:status": { | ||
426 | "settings": { | ||
427 | "loadApp": true | ||
428 | }, | ||
429 | "commandPath": "@adonisjs/lucid/build/commands/Migration/Status", | ||
430 | "commandName": "migration:status", | ||
431 | "description": "View migrations status", | ||
432 | "args": [], | ||
433 | "aliases": [], | ||
434 | "flags": [ | ||
435 | { | ||
436 | "name": "connection", | ||
437 | "propertyName": "connection", | ||
438 | "type": "string", | ||
439 | "description": "Define a custom database connection", | ||
440 | "alias": "c" | ||
441 | } | ||
442 | ] | ||
443 | }, | ||
444 | "migration:reset": { | ||
445 | "settings": { | ||
446 | "loadApp": true | ||
447 | }, | ||
448 | "commandPath": "@adonisjs/lucid/build/commands/Migration/Reset", | ||
449 | "commandName": "migration:reset", | ||
450 | "description": "Rollback all migrations", | ||
451 | "args": [], | ||
452 | "aliases": [], | ||
453 | "flags": [ | ||
454 | { | ||
455 | "name": "connection", | ||
456 | "propertyName": "connection", | ||
457 | "type": "string", | ||
458 | "description": "Define a custom database connection", | ||
459 | "alias": "c" | ||
460 | }, | ||
461 | { | ||
462 | "name": "force", | ||
463 | "propertyName": "force", | ||
464 | "type": "boolean", | ||
465 | "description": "Explicitly force command to run in production" | ||
466 | }, | ||
467 | { | ||
468 | "name": "dry-run", | ||
469 | "propertyName": "dryRun", | ||
470 | "type": "boolean", | ||
471 | "description": "Do not run actual queries. Instead view the SQL output" | ||
472 | }, | ||
473 | { | ||
474 | "name": "disable-locks", | ||
475 | "propertyName": "disableLocks", | ||
476 | "type": "boolean", | ||
477 | "description": "Disable locks acquired to run migrations safely" | ||
478 | } | ||
479 | ] | ||
480 | }, | ||
481 | "migration:refresh": { | ||
482 | "settings": { | ||
483 | "loadApp": true | ||
484 | }, | ||
485 | "commandPath": "@adonisjs/lucid/build/commands/Migration/Refresh", | ||
486 | "commandName": "migration:refresh", | ||
487 | "description": "Rollback and migrate database", | ||
488 | "args": [], | ||
489 | "aliases": [], | ||
490 | "flags": [ | ||
491 | { | ||
492 | "name": "connection", | ||
493 | "propertyName": "connection", | ||
494 | "type": "string", | ||
495 | "description": "Define a custom database connection", | ||
496 | "alias": "c" | ||
497 | }, | ||
498 | { | ||
499 | "name": "force", | ||
500 | "propertyName": "force", | ||
501 | "type": "boolean", | ||
502 | "description": "Explicitly force command to run in production" | ||
503 | }, | ||
504 | { | ||
505 | "name": "dry-run", | ||
506 | "propertyName": "dryRun", | ||
507 | "type": "boolean", | ||
508 | "description": "Do not run actual queries. Instead view the SQL output" | ||
509 | }, | ||
510 | { | ||
511 | "name": "seed", | ||
512 | "propertyName": "seed", | ||
513 | "type": "boolean", | ||
514 | "description": "Run seeders" | ||
515 | }, | ||
516 | { | ||
517 | "name": "disable-locks", | ||
518 | "propertyName": "disableLocks", | ||
519 | "type": "boolean", | ||
520 | "description": "Disable locks acquired to run migrations safely" | ||
521 | } | ||
522 | ] | ||
523 | }, | ||
524 | "migration:fresh": { | ||
525 | "settings": { | ||
526 | "loadApp": true | ||
527 | }, | ||
528 | "commandPath": "@adonisjs/lucid/build/commands/Migration/Fresh", | ||
529 | "commandName": "migration:fresh", | ||
530 | "description": "Drop all tables and re-migrate the database", | ||
531 | "args": [], | ||
532 | "aliases": [], | ||
533 | "flags": [ | ||
534 | { | ||
535 | "name": "connection", | ||
536 | "propertyName": "connection", | ||
537 | "type": "string", | ||
538 | "description": "Define a custom database connection", | ||
539 | "alias": "c" | ||
540 | }, | ||
541 | { | ||
542 | "name": "force", | ||
543 | "propertyName": "force", | ||
544 | "type": "boolean", | ||
545 | "description": "Explicitly force command to run in production" | ||
546 | }, | ||
547 | { | ||
548 | "name": "seed", | ||
549 | "propertyName": "seed", | ||
550 | "type": "boolean", | ||
551 | "description": "Run seeders" | ||
552 | }, | ||
553 | { | ||
554 | "name": "drop-views", | ||
555 | "propertyName": "dropViews", | ||
556 | "type": "boolean", | ||
557 | "description": "Drop all views" | ||
558 | }, | ||
559 | { | ||
560 | "name": "drop-types", | ||
561 | "propertyName": "dropTypes", | ||
562 | "type": "boolean", | ||
563 | "description": "Drop all custom types (Postgres only)" | ||
564 | }, | ||
565 | { | ||
566 | "name": "disable-locks", | ||
567 | "propertyName": "disableLocks", | ||
568 | "type": "boolean", | ||
569 | "description": "Disable locks acquired to run migrations safely" | ||
570 | } | ||
571 | ] | ||
572 | }, | ||
573 | "make:mailer": { | ||
574 | "settings": {}, | ||
575 | "commandPath": "@adonisjs/mail/build/commands/MakeMailer", | ||
576 | "commandName": "make:mailer", | ||
577 | "description": "Make a new mailer class", | ||
578 | "args": [ | ||
579 | { | ||
580 | "type": "string", | ||
581 | "propertyName": "name", | ||
582 | "name": "name", | ||
583 | "required": true, | ||
584 | "description": "Name of the mailer class" | ||
585 | } | ||
586 | ], | ||
587 | "aliases": [], | ||
588 | "flags": [] | ||
589 | }, | ||
590 | "jwt:generate-keys": { | ||
591 | "settings": {}, | ||
592 | "commandPath": "adonis5-jwt/build/commands/GenerateKeyPair", | ||
593 | "commandName": "jwt:generate-keys", | ||
594 | "description": "Generate key pair", | ||
595 | "args": [ | ||
596 | { | ||
597 | "type": "string", | ||
598 | "propertyName": "outputDir", | ||
599 | "name": "outputDir", | ||
600 | "required": false, | ||
601 | "description": "Key pair output dir" | ||
602 | }, | ||
603 | { | ||
604 | "type": "string", | ||
605 | "propertyName": "algorithm", | ||
606 | "name": "algorithm", | ||
607 | "required": false, | ||
608 | "description": "Key pair algorithm" | ||
609 | } | ||
610 | ], | ||
611 | "aliases": [], | ||
612 | "flags": [] | ||
613 | } | ||
614 | }, | ||
615 | "aliases": {} | ||
616 | } | ||