Skip to content

Commit

Permalink
Update schema after core changes
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Mar 13, 2024
1 parent 2b84790 commit c6cda28
Showing 1 changed file with 114 additions and 10 deletions.
124 changes: 114 additions & 10 deletions spec/support/graphiti/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,92 @@
]
}
},
{
"name": "Event::DateResource",
"type": "dates",
"graphql_entrypoint": "dates",
"description": null,
"attributes": {
"id": {
"type": "integer_id",
"readable": true,
"writable": true,
"description": null
},
"event_id": {
"type": "integer",
"readable": true,
"writable": false,
"description": null
},
"label": {
"type": "string",
"readable": true,
"writable": false,
"description": null
},
"location": {
"type": "string",
"readable": true,
"writable": false,
"description": null
},
"start_at": {
"type": "datetime",
"readable": true,
"writable": false,
"description": null
},
"finish_at": {
"type": "datetime",
"readable": true,
"writable": false,
"description": null
}
},
"extra_attributes": {
},
"sorts": {
"id": {
}
},
"filters": {
"id": {
"type": "integer_id",
"operators": [
"eq",
"not_eq",
"gt",
"gte",
"lt",
"lte"
]
},
"event_id": {
"type": "integer",
"operators": [
"eq",
"not_eq",
"gt",
"gte",
"lt",
"lte"
]
}
},
"relationships": {
"event": {
"type": "belongs_to",
"description": null,
"resource": "EventResource"
}
},
"stats": {
"total": [
"count"
]
}
},
{
"name": "EventResource",
"type": "events",
Expand Down Expand Up @@ -209,12 +295,6 @@
"writable": false,
"description": null
},
"dates": {
"type": "array_of_event_dates",
"readable": true,
"writable": false,
"description": null
},
"application_opening_at": {
"type": "date",
"readable": true,
Expand Down Expand Up @@ -358,6 +438,11 @@
"type": "belongs_to",
"description": null,
"resource": "PersonResource"
},
"dates": {
"type": "has_many",
"description": null,
"resource": "Event::DateResource"
}
},
"stats": {
Expand Down Expand Up @@ -899,6 +984,12 @@
"readable": "guarded",
"writable": "guarded",
"description": null
},
"language": {
"type": "string",
"readable": true,
"writable": true,
"description": null
}
},
"extra_attributes": {
Expand Down Expand Up @@ -931,6 +1022,8 @@
"gender": {
},
"birthday": {
},
"language": {
}
},
"filters": {
Expand Down Expand Up @@ -1124,6 +1217,21 @@
"lte"
]
},
"language": {
"type": "string",
"operators": [
"eq",
"not_eq",
"eql",
"not_eql",
"prefix",
"not_prefix",
"suffix",
"not_suffix",
"match",
"not_match"
]
},
"updated_at": {
"type": "datetime",
"operators": [
Expand Down Expand Up @@ -1784,10 +1892,6 @@
"array_of_datetimes": {
"kind": "array",
"description": "Base Type."
},
"array_of_event_dates": {
"kind": "array",
"description": "List of Event Dates."
}
}
}

0 comments on commit c6cda28

Please sign in to comment.