mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-23 22:52:59 +03:00
chore(sample): transform app to complete app dir
This commit is contained in:
parent
6ab86f9fad
commit
f4ab8125a0
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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 {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Hears, Start, Update } from '../../lib';
|
||||
import { Hears, Start, Update } from '../../../lib';
|
||||
import { Context } from '../interfaces/context.interface';
|
||||
|
||||
@Update()
|
||||
|
Loading…
Reference in New Issue
Block a user