70 lines
1.4 KiB
JSON
70 lines
1.4 KiB
JSON
{
|
|
"version": "0.3.14-fixed",
|
|
"steps": [
|
|
{
|
|
"tag": "CreateField",
|
|
"model": "User",
|
|
"field": "wifiDevices",
|
|
"type": "WifiDevice",
|
|
"arity": "List"
|
|
},
|
|
{
|
|
"tag": "CreateDirective",
|
|
"location": {
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "User",
|
|
"field": "wifiDevices"
|
|
},
|
|
"directive": "relation"
|
|
}
|
|
},
|
|
{
|
|
"tag": "CreateArgument",
|
|
"location": {
|
|
"tag": "Directive",
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "User",
|
|
"field": "wifiDevices"
|
|
},
|
|
"directive": "relation"
|
|
},
|
|
"argument": "",
|
|
"value": "\"wifidevice_to_user\""
|
|
},
|
|
{
|
|
"tag": "DeleteField",
|
|
"model": "User",
|
|
"field": "WifiDevice"
|
|
},
|
|
{
|
|
"tag": "UpdateArgument",
|
|
"location": {
|
|
"tag": "Directive",
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "User",
|
|
"field": "createdTokens"
|
|
},
|
|
"directive": "relation"
|
|
},
|
|
"argument": "",
|
|
"newValue": "\"resettoken_to_creator\""
|
|
},
|
|
{
|
|
"tag": "UpdateArgument",
|
|
"location": {
|
|
"tag": "Directive",
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "User",
|
|
"field": "tokens"
|
|
},
|
|
"directive": "relation"
|
|
},
|
|
"argument": "",
|
|
"newValue": "\"resettoken_to_user\""
|
|
}
|
|
]
|
|
} |