{"id":24760112,"url":"https://github.com/walterwoshid/amplify-typescript-function","last_synced_at":"2025-03-23T10:44:48.645Z","repository":{"id":53932152,"uuid":"520672078","full_name":"WalterWoshid/Amplify-TypeScript-Function","owner":"WalterWoshid","description":"This allows you to use TypeScript in your Amplify Lambda Functions.","archived":false,"fork":false,"pushed_at":"2022-08-07T17:40:57.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T17:18:22.874Z","etag":null,"topics":["amplify","aws","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WalterWoshid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-02T22:58:14.000Z","updated_at":"2022-08-11T06:39:01.000Z","dependencies_parsed_at":"2022-08-13T04:50:30.919Z","dependency_job_id":null,"html_url":"https://github.com/WalterWoshid/Amplify-TypeScript-Function","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalterWoshid%2FAmplify-TypeScript-Function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalterWoshid%2FAmplify-TypeScript-Function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalterWoshid%2FAmplify-TypeScript-Function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WalterWoshid%2FAmplify-TypeScript-Function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WalterWoshid","download_url":"https://codeload.github.com/WalterWoshid/Amplify-TypeScript-Function/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090867,"owners_count":20559296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amplify","aws","typescript"],"created_at":"2025-01-28T17:18:25.849Z","updated_at":"2025-03-23T10:44:48.613Z","avatar_url":"https://github.com/WalterWoshid.png","language":"TypeScript","readme":"# Amplify TypeScript Function Skeleton\n\n---\n\n## Usage:\n\n1. Create a new Amplify function: `amplify function add`\n2. Remove all contents from your new functions `src` folder, but keep the `index.js` file (so it can copy the 'Amplify Params' comment)\n3. Add all files from this project to the `src` folder\n\n\u003cbr\u003e\n\nFrom your Amplify project root, run the mock command:\n\n```\namplify mock function yourFunctionName --event src/event.json\n```\n\nThat's it!\n\n---\n\n## Note:\n\nAuto build:\n- The `postinstall` section in the `package.json` will compile the TypeScript file into `index.js`\n\n\u003cbr\u003e\n\nAmplify Params Comment:\n- Add the `Amplify Params` comment from your original `index.js` or run `amplify function update yourFunctionName` and let Amplify add it again\n  - You can also add the comment to the `index.ts` file and it will include it into your `index.js` file\n  - It will not use the comment from the `index.ts` file if a `index.js` file exists and already has an Amplify comment to ensure that the `build` method always uses the newest comment\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalterwoshid%2Famplify-typescript-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalterwoshid%2Famplify-typescript-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalterwoshid%2Famplify-typescript-function/lists"}