mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-03-20 16:53:49 +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 { Module } from '@nestjs/common';
|
||||||
import { TelegrafModule } from '../lib';
|
import { TelegrafModule } from '../../lib';
|
||||||
import { EchoModule } from './echo/echo.module';
|
import { EchoModule } from './echo/echo.module';
|
||||||
import { GreeterModule } from './greeter/greeter.module';
|
import { GreeterModule } from './greeter/greeter.module';
|
||||||
import { sessionMiddleware } from './middleware/session.middleware';
|
import { sessionMiddleware } from './middleware/session.middleware';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Telegraf } from 'telegraf';
|
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 { EchoService } from './echo.service';
|
||||||
import { HELLO_SCENE_ID } from '../app.constants';
|
import { HELLO_SCENE_ID } from '../app.constants';
|
||||||
import { Context } from '../interfaces/context.interface';
|
import { Context } from '../interfaces/context.interface';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { HELLO_SCENE_ID } from '../../app.constants';
|
import { HELLO_SCENE_ID } from '../../app.constants';
|
||||||
import { Context } from '../../interfaces/context.interface';
|
import { Context } from '../../interfaces/context.interface';
|
||||||
import { Scene, SceneEnter, SceneLeave, Command } from '../../../lib';
|
import { Scene, SceneEnter, SceneLeave, Command } from '../../../../lib';
|
||||||
|
|
||||||
@Scene(HELLO_SCENE_ID)
|
@Scene(HELLO_SCENE_ID)
|
||||||
export class HelloScene {
|
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';
|
import { Context } from '../interfaces/context.interface';
|
||||||
|
|
||||||
@Update()
|
@Update()
|
||||||
|
Loading…
Reference in New Issue
Block a user