chore(sample): transform app to complete app dir

This commit is contained in:
Morb0 2021-01-03 16:40:08 +03:00
parent 6ab86f9fad
commit f4ab8125a0
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import { Module } from '@nestjs/common';
import { TelegrafModule } from '../lib';
import { TelegrafModule } from '../../lib';
import { EchoModule } from './echo/echo.module';
import { GreeterModule } from './greeter/greeter.module';
import { sessionMiddleware } from './middleware/session.middleware';

View File

@ -1,5 +1,5 @@
import { Telegraf } from 'telegraf';
import { Command, Help, InjectBot, On, Start, Update } from '../../lib';
import { Command, Help, InjectBot, On, Start, Update } from '../../../lib';
import { EchoService } from './echo.service';
import { HELLO_SCENE_ID } from '../app.constants';
import { Context } from '../interfaces/context.interface';

View File

@ -1,6 +1,6 @@
import { HELLO_SCENE_ID } from '../../app.constants';
import { Context } from '../../interfaces/context.interface';
import { Scene, SceneEnter, SceneLeave, Command } from '../../../lib';
import { Scene, SceneEnter, SceneLeave, Command } from '../../../../lib';
@Scene(HELLO_SCENE_ID)
export class HelloScene {

View File

@ -1,4 +1,4 @@
import { Hears, Start, Update } from '../../lib';
import { Hears, Start, Update } from '../../../lib';
import { Context } from '../interfaces/context.interface';
@Update()