This repository was archived by the owner on Sep 12, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-87
lines changed Expand file tree Collapse file tree 2 files changed +0
-87
lines changed Original file line number Diff line number Diff line change 4
4
// onComplete is optional.
5
5
// priority is optional - for controlling what shows first in CLI
6
6
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
- } ,
17
7
{
18
8
name : 'hello-world' ,
19
9
priority : 1 ,
@@ -25,33 +15,5 @@ module.exports = [
25
15
onComplete ( ) {
26
16
console . log ( `node-fetch function created from template!` )
27
17
}
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
- }
56
18
}
57
19
]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments