@skalfa/skalfa-api-core 1.0.7 → 1.0.8

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 (39) hide show
  1. package/dist/commands/cli.js +16 -27
  2. package/dist/commands/cli.js.map +1 -1
  3. package/dist/commands/make/resource.js +4 -4
  4. package/dist/commands/make/resource.js.map +1 -1
  5. package/dist/commands/make/skalfa-controller.d.ts +2 -2
  6. package/dist/commands/make/skalfa-controller.js +7 -7
  7. package/dist/commands/make/skalfa-controller.js.map +1 -1
  8. package/dist/commands/make/skalfa-model.d.ts +2 -2
  9. package/dist/commands/make/skalfa-model.js +9 -9
  10. package/dist/commands/make/skalfa-model.js.map +1 -1
  11. package/dist/commands/runner/blueprint/controller-generation.js +2 -2
  12. package/dist/commands/runner/blueprint/controller-generation.js.map +1 -1
  13. package/dist/commands/runner/blueprint/migration-generation.js +2 -2
  14. package/dist/commands/runner/blueprint/migration-generation.js.map +1 -1
  15. package/dist/commands/runner/blueprint/model-generation.js +2 -2
  16. package/dist/commands/runner/blueprint/model-generation.js.map +1 -1
  17. package/dist/commands/runner/blueprint/runner.js +5 -6
  18. package/dist/commands/runner/blueprint/runner.js.map +1 -1
  19. package/dist/commands/runner/blueprint/seeder-generation.js +2 -2
  20. package/dist/commands/runner/blueprint/seeder-generation.js.map +1 -1
  21. package/dist/commands/runner/generate-docs.d.ts +2 -0
  22. package/dist/commands/runner/generate-docs.js +400 -0
  23. package/dist/commands/runner/generate-docs.js.map +1 -0
  24. package/dist/commands/stubs/index.d.ts +4 -4
  25. package/dist/commands/stubs/index.js +4 -4
  26. package/dist/commands/stubs/index.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/commands/cli.ts +17 -29
  29. package/src/commands/make/basic-controller.ts +1 -1
  30. package/src/commands/make/resource.ts +4 -4
  31. package/src/commands/make/skalfa-controller.ts +7 -7
  32. package/src/commands/make/skalfa-model.ts +9 -9
  33. package/src/commands/runner/blueprint/controller-generation.ts +2 -2
  34. package/src/commands/runner/blueprint/migration-generation.ts +2 -2
  35. package/src/commands/runner/blueprint/model-generation.ts +2 -2
  36. package/src/commands/runner/blueprint/runner.ts +5 -6
  37. package/src/commands/runner/blueprint/seeder-generation.ts +2 -2
  38. package/src/commands/runner/generate-docs.ts +495 -0
  39. package/src/commands/stubs/index.ts +4 -4
@@ -86,7 +86,7 @@ export default class {{ className }} extends DAMigration {
86
86
  }
87
87
  `;
88
88
 
89
- export const lightControllerStub = `{{ marker }}
89
+ export const skalfaControllerStub = `{{ marker }}
90
90
  import type { ControllerContext } from "elysia"
91
91
  import { permission } from '@utils'
92
92
  import { {{ model }} } from '@models'
@@ -182,7 +182,7 @@ export class {{ name }} {
182
182
  }
183
183
  `;
184
184
 
185
- export const lightMigrationStub = `{{ marker }}
185
+ export const skalfaMigrationStub = `{{ marker }}
186
186
  import type { Knex } from "knex"
187
187
 
188
188
  export async function up(knex: Knex): Promise<void> {
@@ -196,7 +196,7 @@ export async function up(knex: Knex): Promise<void> {
196
196
  {{ pivot }}
197
197
  }`;
198
198
 
199
- export const lightModelStub = `{{ marker }}
199
+ export const skalfaModelStub = `{{ marker }}
200
200
  import { Model, SoftDelete{{ import_utils }} } from '@utils'
201
201
  {{ import }}
202
202
 
@@ -229,7 +229,7 @@ export class {{ name }} extends Model {
229
229
  }
230
230
  `;
231
231
 
232
- export const lightSeederStub = `{{ marker }}
232
+ export const skalfaSeederStub = `{{ marker }}
233
233
  import { {{ model }} } from "@models";
234
234
 
235
235
  export default async function {{ name }}Seeder() {