From b7d26e4d8b6f07d7bce82701713a0df76c717524 Mon Sep 17 00:00:00 2001 From: Tony133 Date: Thu, 2 Jun 2022 09:13:24 +0200 Subject: [PATCH] chore(): update alias for interface and interceptor --- lib/schematics/nest.collection.ts | 4 ++-- test/lib/schematics/nest.collection.spec.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/schematics/nest.collection.ts b/lib/schematics/nest.collection.ts index 791ada439..468346028 100644 --- a/lib/schematics/nest.collection.ts +++ b/lib/schematics/nest.collection.ts @@ -57,12 +57,12 @@ export class NestCollection extends AbstractCollection { }, { name: 'interceptor', - alias: 'in', + alias: 'itc', description: 'Generate an interceptor declaration', }, { name: 'interface', - alias: 'interface', + alias: 'itf', description: 'Generate an interface', }, { diff --git a/test/lib/schematics/nest.collection.spec.ts b/test/lib/schematics/nest.collection.spec.ts index 915b137b3..f9ae714c4 100644 --- a/test/lib/schematics/nest.collection.spec.ts +++ b/test/lib/schematics/nest.collection.spec.ts @@ -49,8 +49,8 @@ describe('Nest Collection', () => { { name: 'filter', alias: 'f' }, { name: 'gateway', alias: 'ga' }, { name: 'guard', alias: 'gu' }, - { name: 'interceptor', alias: 'in' }, - { name: 'interface', alias: 'interface' }, + { name: 'interceptor', alias: 'itc' }, + { name: 'interface', alias: 'itf' }, { name: 'middleware', alias: 'mi' }, { name: 'module', alias: 'mo' }, { name: 'pipe', alias: 'pi' },