This repository has been archived by the owner on Oct 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
feathers-gen-specs.json
executable file
·103 lines (103 loc) · 2.13 KB
/
feathers-gen-specs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"options": {
"ver": "1.0.0",
"inspectConflicts": false,
"semicolons": true,
"freeze": [],
"ts": false
},
"app": {
"name": "GraphQL-test",
"description": "Test Feathers GraphQL adapter.",
"src": "src",
"packager": "npm@>= 3.0.0",
"providers": [
"rest",
"socketio"
]
},
"services": {
"users": {
"name": "users",
"nameSingular": "user",
"fileName": "users",
"adapter": "sequelize",
"path": "/users",
"isAuthEntity": true,
"requiresAuth": true,
"graphql": true
},
"comments": {
"name": "comments",
"nameSingular": "comment",
"fileName": "comments",
"adapter": "sequelize",
"path": "/comments",
"isAuthEntity": false,
"requiresAuth": false,
"graphql": true
},
"likes": {
"name": "likes",
"nameSingular": "like",
"fileName": "likes",
"adapter": "sequelize",
"path": "/likes",
"isAuthEntity": false,
"requiresAuth": false,
"graphql": true
},
"posts": {
"name": "posts",
"nameSingular": "post",
"fileName": "posts",
"adapter": "sequelize",
"path": "/posts",
"isAuthEntity": false,
"requiresAuth": false,
"graphql": true
},
"relationships": {
"name": "relationships",
"nameSingular": "relationship",
"fileName": "relationships",
"adapter": "sequelize",
"path": "/relationships",
"isAuthEntity": false,
"requiresAuth": false,
"graphql": true
}
},
"authentication": {
"strategies": [
"local"
],
"entity": "users"
},
"connections": {
"sequelize": {
"database": "sqlite",
"adapter": "sequelize",
"connectionString": "sqlite://data/db.sqlite"
}
},
"middlewares": {
"mw1": {
"path": "*",
"camel": "mw1",
"kebab": "mw-1"
},
"mw2": {
"path": "mw2",
"camel": "mw2",
"kebab": "mw-2"
}
},
"graphql": {
"name": "graphql",
"path": "/graphql",
"strategy": "batchloaders",
"sqlInterface": null,
"requiresAuth": true
}
}