diff --git a/spec/support/graphiti/schema.json b/spec/support/graphiti/schema.json index 125ad437a..762f8ec07 100644 --- a/spec/support/graphiti/schema.json +++ b/spec/support/graphiti/schema.json @@ -2195,46 +2195,46 @@ "writable": true, "description": null }, - "person_id": { - "type": "integer", + "created_at": { + "type": "datetime", "readable": true, "writable": false, "description": null }, - "group_id": { - "type": "integer", + "updated_at": { + "type": "datetime", "readable": true, "writable": false, "description": null }, - "label": { - "type": "string", + "deleted_at": { + "type": "datetime", "readable": true, "writable": false, "description": null }, - "type": { - "type": "string", + "person_id": { + "type": "integer", "readable": true, - "writable": false, + "writable": true, "description": null }, - "created_at": { - "type": "datetime", + "group_id": { + "type": "integer", "readable": true, - "writable": false, + "writable": true, "description": null }, - "updated_at": { - "type": "datetime", + "type": { + "type": "string", "readable": true, - "writable": false, + "writable": true, "description": null }, - "deleted_at": { - "type": "datetime", + "label": { + "type": "string", "readable": true, - "writable": false, + "writable": true, "description": null } }, @@ -2243,19 +2243,19 @@ "sorts": { "id": { }, - "person_id": { + "created_at": { }, - "group_id": { + "updated_at": { }, - "label": { + "deleted_at": { }, - "type": { + "person_id": { }, - "created_at": { + "group_id": { }, - "updated_at": { + "type": { }, - "deleted_at": { + "label": { } }, "filters": { @@ -2270,6 +2270,39 @@ "lte" ] }, + "created_at": { + "type": "datetime", + "operators": [ + "eq", + "not_eq", + "gt", + "gte", + "lt", + "lte" + ] + }, + "updated_at": { + "type": "datetime", + "operators": [ + "eq", + "not_eq", + "gt", + "gte", + "lt", + "lte" + ] + }, + "deleted_at": { + "type": "datetime", + "operators": [ + "eq", + "not_eq", + "gt", + "gte", + "lt", + "lte" + ] + }, "person_id": { "type": "integer", "operators": [ @@ -2292,7 +2325,7 @@ "lte" ] }, - "label": { + "type": { "type": "string", "operators": [ "eq", @@ -2307,7 +2340,7 @@ "not_match" ] }, - "type": { + "label": { "type": "string", "operators": [ "eq", @@ -2321,39 +2354,6 @@ "match", "not_match" ] - }, - "created_at": { - "type": "datetime", - "operators": [ - "eq", - "not_eq", - "gt", - "gte", - "lt", - "lte" - ] - }, - "updated_at": { - "type": "datetime", - "operators": [ - "eq", - "not_eq", - "gt", - "gte", - "lt", - "lte" - ] - }, - "deleted_at": { - "type": "datetime", - "operators": [ - "eq", - "not_eq", - "gt", - "gte", - "lt", - "lte" - ] } }, "relationships": { @@ -2579,6 +2579,25 @@ "resource": "PersonResource" } } + }, + "/api/roles": { + "actions": { + "index": { + "resource": "RoleResource" + }, + "create": { + "resource": "RoleResource" + }, + "show": { + "resource": "RoleResource" + }, + "update": { + "resource": "RoleResource" + }, + "destroy": { + "resource": "RoleResource" + } + } } }, "types": {