diff --git a/serverless.ts b/serverless.ts index b3f32ca..592e8a5 100644 --- a/serverless.ts +++ b/serverless.ts @@ -19,7 +19,7 @@ const serverlessConfig: Serverless = { functions: { createList: { - handler: "src/functions/list.create", + handler: "src/functions/list/create.handler", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -33,7 +33,7 @@ const serverlessConfig: Serverless = { ], }, getList: { - handler: "src/functions/list.get", + handler: "src/functions/list/get.handler", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -47,7 +47,7 @@ const serverlessConfig: Serverless = { ], }, updateList: { - handler: "src/functions/list.update", + handler: "src/functions/list/update.handler", environment: { ddb_table: { Ref: "DdbTable" }, }, @@ -61,7 +61,7 @@ const serverlessConfig: Serverless = { ], }, removeList: { - handler: "src/functions/list.remove", + handler: "src/functions/list/remove.handler", environment: { ddb_table: { Ref: "DdbTable" }, }, diff --git a/src/functions/list/get.ts b/src/functions/list/get.ts new file mode 100644 index 0000000..ad5a6a9 --- /dev/null +++ b/src/functions/list/get.ts @@ -0,0 +1 @@ +export const handler = () => {}; diff --git a/src/functions/list/remove.ts b/src/functions/list/remove.ts new file mode 100644 index 0000000..ad5a6a9 --- /dev/null +++ b/src/functions/list/remove.ts @@ -0,0 +1 @@ +export const handler = () => {}; diff --git a/src/functions/list/update.ts b/src/functions/list/update.ts new file mode 100644 index 0000000..ad5a6a9 --- /dev/null +++ b/src/functions/list/update.ts @@ -0,0 +1 @@ +export const handler = () => {};