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

Commit 15f51a9

Browse files
author
sw-yx
committed
undo some overeagerness
1 parent dc51eb2 commit 15f51a9

File tree

2 files changed

+0
-87
lines changed

2 files changed

+0
-87
lines changed

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

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
// onComplete is optional.
55
// priority is optional - for controlling what shows first in CLI
66
module.exports = [
7-
{
8-
name: 'auth-fetch',
9-
description: 'Authenticated Fetch: uses node-fetch and Netlify Identity to access APIs',
10-
onComplete() {
11-
console.log(`authenticated node-fetch function created from template!`)
12-
console.log(
13-
'REMINDER: Make sure to call this function with the Netlify Identity JWT. See https://netlify-gotrue-in-react.netlify.com/ for demo'
14-
)
15-
}
16-
},
177
{
188
name: 'hello-world',
199
priority: 1,
@@ -25,33 +15,5 @@ module.exports = [
2515
onComplete() {
2616
console.log(`node-fetch function created from template!`)
2717
}
28-
},
29-
{
30-
name: 'serverless-ssr',
31-
description: 'Serverless SSR: dynamic serverside rendering via functions',
32-
onComplete() {
33-
console.log(`serverless-ssr function created from template!`)
34-
}
35-
},
36-
{
37-
name: 'set-cookie',
38-
description: 'Set Cookie: set a cookie alongside your function',
39-
onComplete() {
40-
console.log(`set-cookie function created from template!`)
41-
}
42-
},
43-
{
44-
name: 'protected-function',
45-
description: 'Protected Function: Function behind Netlify Identity',
46-
onComplete() {
47-
console.log(`protected-function function created from template!`)
48-
}
49-
},
50-
{
51-
name: 'fauna-crud',
52-
description: 'CRUD function: using Fauna DB!',
53-
onComplete() {
54-
console.log(`fauna-crud function created from template!`)
55-
}
5618
}
5719
]

src/utils/parseRawFlags.js

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)