Skip to content

Commit

Permalink
Merge pull request #2931 from AlvesJorge/patch-1
Browse files Browse the repository at this point in the history
Update Docs to mention that CRUD Generation is a TS Only feature
  • Loading branch information
kamilmysliwiec authored Dec 30, 2023
2 parents f6dbca6 + 1f54064 commit 6ad915c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions content/cli/usages.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,25 @@ $ nest g <schematic> <name> [options]

##### Schematics

| Name | Alias | Description |
| ------------- | ----- | ------------------------------------------------------------------------------------------------------------ |
| `app` | | Generate a new application within a monorepo (converting to monorepo if it's a standard structure). |
| `library` | `lib` | Generate a new library within a monorepo (converting to monorepo if it's a standard structure). |
| `class` | `cl` | Generate a new class. |
| `controller` | `co` | Generate a controller declaration. |
| `decorator` | `d` | Generate a custom decorator. |
| `filter` | `f` | Generate a filter declaration. |
| `gateway` | `ga` | Generate a gateway declaration. |
| `guard` | `gu` | Generate a guard declaration. |
| `interface` | `itf` | Generate an interface. |
| `interceptor` | `itc` | Generate an interceptor declaration. |
| `middleware` | `mi` | Generate a middleware declaration. |
| `module` | `mo` | Generate a module declaration. |
| `pipe` | `pi` | Generate a pipe declaration. |
| `provider` | `pr` | Generate a provider declaration. |
| `resolver` | `r` | Generate a resolver declaration. |
| `resource` | `res` | Generate a new CRUD resource. See the [CRUD (resource) generator](/recipes/crud-generator) for more details. |
| `service` | `s` | Generate a service declaration. |
| Name | Alias | Description |
| ------------- | ----- | ----------------------------------------------------------------------------------------------------------------------|
| `app` | | Generate a new application within a monorepo (converting to monorepo if it's a standard structure). |
| `library` | `lib` | Generate a new library within a monorepo (converting to monorepo if it's a standard structure). |
| `class` | `cl` | Generate a new class. |
| `controller` | `co` | Generate a controller declaration. |
| `decorator` | `d` | Generate a custom decorator. |
| `filter` | `f` | Generate a filter declaration. |
| `gateway` | `ga` | Generate a gateway declaration. |
| `guard` | `gu` | Generate a guard declaration. |
| `interface` | `itf` | Generate an interface. |
| `interceptor` | `itc` | Generate an interceptor declaration. |
| `middleware` | `mi` | Generate a middleware declaration. |
| `module` | `mo` | Generate a module declaration. |
| `pipe` | `pi` | Generate a pipe declaration. |
| `provider` | `pr` | Generate a provider declaration. |
| `resolver` | `r` | Generate a resolver declaration. |
| `resource` | `res` | Generate a new CRUD resource. See the [CRUD (resource) generator](/recipes/crud-generator) for more details. (TS only)|
| `service` | `s` | Generate a service declaration. |

##### Options

Expand Down
2 changes: 1 addition & 1 deletion content/recipes/crud-generator.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### CRUD generator
### CRUD generator (TypeScript only)

Throughout the life span of a project, when we build new features, we often need to add new resources to our application. These resources typically require multiple, repetitive operations that we have to repeat each time we define a new resource.

Expand Down

0 comments on commit 6ad915c

Please sign in to comment.