From c65d0d9aaced8ba65de9b20ed30a1852e4e606db Mon Sep 17 00:00:00 2001 From: carlobeltrame Date: Tue, 23 Jul 2024 16:16:34 +0200 Subject: [PATCH] Update graphiti schema --- spec/support/graphiti/schema.json | 139 +++++++++++++++++------------- 1 file changed, 79 insertions(+), 60 deletions(-) diff --git a/spec/support/graphiti/schema.json b/spec/support/graphiti/schema.json index d8c4bc7..ac1d2ca 100644 --- a/spec/support/graphiti/schema.json +++ b/spec/support/graphiti/schema.json @@ -2128,46 +2128,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 } }, @@ -2176,19 +2176,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": { @@ -2203,6 +2203,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": [ @@ -2225,7 +2258,7 @@ "lte" ] }, - "label": { + "type": { "type": "string", "operators": [ "eq", @@ -2240,7 +2273,7 @@ "not_match" ] }, - "type": { + "label": { "type": "string", "operators": [ "eq", @@ -2254,39 +2287,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": { @@ -2512,6 +2512,25 @@ "resource": "PersonResource" } } + }, + "/api/roles": { + "actions": { + "index": { + "resource": "RoleResource" + }, + "create": { + "resource": "RoleResource" + }, + "show": { + "resource": "RoleResource" + }, + "update": { + "resource": "RoleResource" + }, + "destroy": { + "resource": "RoleResource" + } + } } }, "types": {