{ "version": "0.3.14-fixed", "steps": [ { "tag": "CreateSource", "source": "db" }, { "tag": "CreateArgument", "location": { "tag": "Source", "source": "db" }, "argument": "provider", "value": "\"sqlite\"" }, { "tag": "CreateArgument", "location": { "tag": "Source", "source": "db" }, "argument": "url", "value": "\"***\"" }, { "tag": "CreateModel", "model": "User" }, { "tag": "CreateField", "model": "User", "field": "id", "type": "Int", "arity": "Required" }, { "tag": "CreateDirective", "location": { "path": { "tag": "Field", "model": "User", "field": "id" }, "directive": "id" } }, { "tag": "CreateDirective", "location": { "path": { "tag": "Field", "model": "User", "field": "id" }, "directive": "default" } }, { "tag": "CreateArgument", "location": { "tag": "Directive", "path": { "tag": "Field", "model": "User", "field": "id" }, "directive": "default" }, "argument": "", "value": "autoincrement()" }, { "tag": "CreateField", "model": "User", "field": "email", "type": "String", "arity": "Required" }, { "tag": "CreateDirective", "location": { "path": { "tag": "Field", "model": "User", "field": "email" }, "directive": "unique" } }, { "tag": "CreateField", "model": "User", "field": "password", "type": "String", "arity": "Required" }, { "tag": "CreateField", "model": "User", "field": "tasks", "type": "Task", "arity": "List" }, { "tag": "CreateModel", "model": "Task" }, { "tag": "CreateField", "model": "Task", "field": "id", "type": "Int", "arity": "Required" }, { "tag": "CreateDirective", "location": { "path": { "tag": "Field", "model": "Task", "field": "id" }, "directive": "id" } }, { "tag": "CreateDirective", "location": { "path": { "tag": "Field", "model": "Task", "field": "id" }, "directive": "default" } }, { "tag": "CreateArgument", "location": { "tag": "Directive", "path": { "tag": "Field", "model": "Task", "field": "id" }, "directive": "default" }, "argument": "", "value": "autoincrement()" }, { "tag": "CreateField", "model": "Task", "field": "description", "type": "String", "arity": "Required" }, { "tag": "CreateField", "model": "Task", "field": "isDone", "type": "Boolean", "arity": "Required" }, { "tag": "CreateDirective", "location": { "path": { "tag": "Field", "model": "Task", "field": "isDone" }, "directive": "default" } }, { "tag": "CreateArgument", "location": { "tag": "Directive", "path": { "tag": "Field", "model": "Task", "field": "isDone" }, "directive": "default" }, "argument": "", "value": "false" }, { "tag": "CreateField", "model": "Task", "field": "user", "type": "User", "arity": "Required" }, { "tag": "CreateDirective", "location": { "path": { "tag": "Field", "model": "Task", "field": "user" }, "directive": "relation" } }, { "tag": "CreateArgument", "location": { "tag": "Directive", "path": { "tag": "Field", "model": "Task", "field": "user" }, "directive": "relation" }, "argument": "fields", "value": "[userId]" }, { "tag": "CreateArgument", "location": { "tag": "Directive", "path": { "tag": "Field", "model": "Task", "field": "user" }, "directive": "relation" }, "argument": "references", "value": "[id]" }, { "tag": "CreateField", "model": "Task", "field": "userId", "type": "Int", "arity": "Required" } ] }