This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'source-map-support/register' | |
import { APIGatewayProxyHandler, APIGatewayProxyEvent, APIGatewayProxyResult } from 'aws-lambda' | |
import TodoService from '../../services/todoService' | |
import { TodoItem } from '../../models/TodoItem' | |
export const handler: APIGatewayProxyHandler = async (event: APIGatewayProxyEvent): Promise<APIGatewayProxyResult> => { | |
const id = event.pathParameters.id | |
const todoService = new TodoService() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'source-map-support/register' | |
import { APIGatewayProxyHandler, APIGatewayProxyEvent, APIGatewayProxyResult } from 'aws-lambda' | |
import TodoService from '../../services/todoService' | |
export const handler: APIGatewayProxyHandler = async (_event: APIGatewayProxyEvent): Promise<APIGatewayProxyResult> => { | |
const todoService = new TodoService() | |
const items = await todoService.getAllTodos(); | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'source-map-support/register' | |
import { APIGatewayProxyHandler, APIGatewayProxyEvent, APIGatewayProxyResult } from 'aws-lambda' | |
import TodoService from '../../services/todoService' | |
export const handler: APIGatewayProxyHandler = async (event: APIGatewayProxyEvent): Promise<APIGatewayProxyResult> => { | |
const id = event.pathParameters.id | |
const todoService = new TodoService() | |
await todoService.deleteTodoById(id) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: XcodeGenSample | |
options: | |
bundleIdPrefix: com.frontado | |
deploymentTarget: | |
iOS: 13.0 | |
targets: | |
XcodeGenSample: | |
type: application | |
platform: iOS | |
sources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: XcodeGenSample | |
options: | |
bundleIdPrefix: com.frontado | |
deploymentTarget: | |
iOS: 13.0 | |
targets: | |
XcodeGenSample: | |
type: application | |
platform: iOS | |
sources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: XcodeGenSample | |
options: | |
bundleIdPrefix: com.frontado | |
deploymentTarget: | |
iOS: 13.0 | |
targets: | |
XcodeGenSample: | |
type: application | |
platform: iOS | |
sources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: XcodeGenSample | |
options: | |
bundleIdPrefix: com.frontado | |
deploymentTarget: | |
iOS: 13.0 | |
targets: | |
XcodeGenSample: | |
type: application | |
platform: iOS | |
sources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Authentication | |
options: | |
bundleIdPrefix: com.frontado | |
deploymentTarget: | |
iOS: 13.0 | |
targets: | |
Authentication: | |
type: framework | |
platform: iOS | |
sources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Profile | |
options: | |
bundleIdPrefix: com.frontado | |
deploymentTarget: | |
iOS: 13.0 | |
targets: | |
Profile: | |
type: framework | |
platform: iOS | |
sources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: XcodeGenSample | |
options: | |
bundleIdPrefix: com.frontado | |
deploymentTarget: | |
iOS: 13.0 | |
targets: | |
XcodeGenSample: | |
type: application | |
platform: iOS | |
sources: |