Skip to content

Commit

Permalink
Merge branch 'master' of github.com:efstajas/tela
Browse files Browse the repository at this point in the history
  • Loading branch information
efstajas committed Apr 26, 2020
2 parents 306ca22 + fbf3358 commit c5d0df9
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/call-app-method.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Request, Response, NextFunction } from 'express'
import buildCanvas from './methods/buildCanvas'
import buildCanvas from './methods/build-canvas'
import constructHandlerContext from './methods/construct-handler-context'
import { CanvasHandler, App } from './app.types'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { App } from '../../app.types'
import missingMethodTemplate from './errorTemplates/missingMethod'
import hooksNotObjectTemplate from './errorTemplates/hooksNotObject'
import handlerNotFunctionTemplate from './errorTemplates/handlerNotFunction'
import hookNotFunctionTemplate from './errorTemplates/hookNotFunction'
import missingMethodTemplate from './error-templates/missing-method'
import hooksNotObjectTemplate from './error-templates/hooks-not-object'
import handlerNotFunctionTemplate from './error-templates/handler-not-function'
import hookNotFunctionTemplate from './error-templates/hook-not-function'

export default (appName: string, app: App) => {
const requiredMembers = ['initialize']
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/tela.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as bodyParser from 'body-parser'
import { App } from './app.types'
import constructHandlerContext from './methods/construct-handler-context'
import constructRouter from './methods/construct-router'
import validateApp from './methods/appValidator/validateApp'
import validateApp from './methods/app-validator/validate-app'

export default class Tela {
private server = express().use(bodyParser.json());
Expand Down

0 comments on commit c5d0df9

Please sign in to comment.