We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 206a7fa commit cb7ac25Copy full SHA for cb7ac25
packages/schema/asset/logo-dark.png
27.2 KB
packages/schema/asset/logo-light.png
20.9 KB
packages/schema/package.json
@@ -20,7 +20,11 @@
20
"extensions": [
21
".zmodel"
22
],
23
- "configuration": "./language-configuration.json"
+ "configuration": "./language-configuration.json",
24
+ "icon": {
25
+ "light": "./asset/logo-light.png",
26
+ "dark": "./asset/logo-dark.png"
27
+ }
28
}
29
30
"grammars": [
samples/todo/schema.zmodel
@@ -2,7 +2,6 @@
2
* A sample model for a collaborative Todo app
3
*/
4
5
-// Datasource
6
datasource db {
7
provider = 'postgresql'
8
url = env('DATABASE_URL')
@@ -22,7 +21,8 @@ model Space {
members SpaceUser[]
// require login
- @@deny('all', auth() == null)
+ @@deny('all', auth() == null)
+
// everyone can create a space
@@allow('create', true)
0 commit comments