diff --git a/content/cli/usages.md b/content/cli/usages.md index d46934444d..439a8d0b11 100644 --- a/content/cli/usages.md +++ b/content/cli/usages.md @@ -54,25 +54,25 @@ $ nest g [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 diff --git a/content/recipes/crud-generator.md b/content/recipes/crud-generator.md index 1888e58e3d..7125122bac 100644 --- a/content/recipes/crud-generator.md +++ b/content/recipes/crud-generator.md @@ -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.