From 9e4841050cb98f4a2efe4736a508e5355a4d42c0 Mon Sep 17 00:00:00 2001 From: Enric Bisbe Gil Date: Sat, 6 Jul 2024 22:47:15 +0200 Subject: [PATCH] move to src folder --- serverless.ts | 8 ++++---- {functions => src/functions}/list.ts | 0 {models => src/models}/table.ts | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename {functions => src/functions}/list.ts (100%) rename {models => src/models}/table.ts (100%) diff --git a/serverless.ts b/serverless.ts index ab9ee89..b3f32ca 100644 --- a/serverless.ts +++ b/serverless.ts @@ -19,7 +19,7 @@ const serverlessConfig: Serverless = { functions: { createList: { - handler: "functions/list.create", + handler: "src/functions/list.create", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -33,7 +33,7 @@ const serverlessConfig: Serverless = { ], }, getList: { - handler: "functions/list.get", + handler: "src/functions/list.get", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -47,7 +47,7 @@ const serverlessConfig: Serverless = { ], }, updateList: { - handler: "functions/list.update", + handler: "src/functions/list.update", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -61,7 +61,7 @@ const serverlessConfig: Serverless = { ], }, removeList: { - handler: "functions/list.remove", + handler: "src/functions/list.remove", environment: { ddb_table: { Ref: "DdbTable" }, }, diff --git a/functions/list.ts b/src/functions/list.ts similarity index 100% rename from functions/list.ts rename to src/functions/list.ts diff --git a/models/table.ts b/src/models/table.ts similarity index 100% rename from models/table.ts rename to src/models/table.ts