Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 8e366cc

Browse files
author
sw-yx
committed
clean up descriptions
1 parent 69bf5f4 commit 8e366cc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/functions-templates/js/template-registry.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
module.exports = [
77
{
88
name: 'auth-fetch',
9-
description: 'Authenticated Fetch: uses node-fetch and Netlify Identity to access APIs',
9+
description: 'Use `node-fetch` library and Netlify Identity to access APIs',
1010
onComplete() {
11-
console.log(`authenticated node-fetch function created from template!`)
11+
console.log(`auth-fetch function created from template!`)
1212
console.log(
1313
'REMINDER: Make sure to call this function with the Netlify Identity JWT. See https://netlify-gotrue-in-react.netlify.com/ for demo'
1414
)
@@ -17,7 +17,7 @@ module.exports = [
1717
{
1818
name: 'hello-world',
1919
priority: 1,
20-
description: 'Basic Hello World function: shows async/await usage, and response formatting'
20+
description: 'Basic function that shows async/await usage, and response formatting'
2121
},
2222
{
2323
name: 'node-fetch',
@@ -28,43 +28,43 @@ module.exports = [
2828
},
2929
{
3030
name: 'serverless-ssr',
31-
description: 'Serverless SSR: dynamic serverside rendering via functions',
31+
description: 'Dynamic serverside rendering via functions',
3232
onComplete() {
3333
console.log(`serverless-ssr function created from template!`)
3434
}
3535
},
3636
{
3737
name: 'set-cookie',
38-
description: 'Set Cookie: set a cookie alongside your function',
38+
description: 'Set a cookie alongside your function',
3939
onComplete() {
4040
console.log(`set-cookie function created from template!`)
4141
}
4242
},
4343
{
4444
name: 'protected-function',
45-
description: 'Protected Function: Function behind Netlify Identity',
45+
description: 'Function protected Netlify Identity authentication',
4646
onComplete() {
4747
console.log(`protected-function function created from template!`)
4848
}
4949
},
5050
{
5151
name: 'using-middleware',
52-
description: 'Using Middleware: with middy',
52+
description: 'Using Middleware with middy',
5353
onComplete() {
5454
console.log(`using-middleware function created from template!`)
5555
}
5656
},
5757
{
5858
name: 'fauna-crud',
59-
description: 'CRUD function: using Fauna DB!',
59+
description: 'CRUD function using Fauna DB',
6060
addons: ['fauna'], // in future we'll want to pass/prompt args to addons
6161
onComplete() {
6262
console.log(`fauna-crud function created from template!`)
6363
}
6464
},
6565
{
6666
name: 'apollo-graphql',
67-
description: 'GraphQL function: using Apollo-Server-Lambda!',
67+
description: 'GraphQL function using Apollo-Server-Lambda!',
6868
onComplete() {
6969
console.log(`apollo-graphql function created from template!`)
7070
}

0 commit comments

Comments
 (0)