Skip to content

Commit

Permalink
Add descriptions for 'seconds' and 'end_seconds' in GraphQL schema
Browse files Browse the repository at this point in the history
- 'seconds' is the required start time of a marker (in seconds).
- 'end_seconds' is an optional end time of a marker (in seconds).

Both fields support decimals.
  • Loading branch information
MinasukiHikimuna committed Sep 29, 2024
1 parent 57c2d59 commit 7e10ab8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion graphql/schema/types/scene-marker.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ type SceneMarker {
id: ID!
scene: Scene!
title: String!
"The required start time of the marker (in seconds). Supports decimals."
seconds: Float!
end_seconds: Float!
"The optional end time of the marker (in seconds). Supports decimals."
end_seconds: Float
primary_tag: Tag!
tags: [Tag!]!
created_at: Time!
Expand All @@ -19,7 +21,9 @@ type SceneMarker {

input SceneMarkerCreateInput {
title: String!
"The required start time of the marker (in seconds). Supports decimals."
seconds: Float!
"The optional end time of the marker (in seconds). Supports decimals."
end_seconds: Float
scene_id: ID!
primary_tag_id: ID!
Expand All @@ -29,7 +33,9 @@ input SceneMarkerCreateInput {
input SceneMarkerUpdateInput {
id: ID!
title: String
"The start time of the marker (in seconds). Supports decimals."
seconds: Float
"The end time of the marker (in seconds). Supports decimals."
end_seconds: Float
scene_id: ID
primary_tag_id: ID
Expand Down

0 comments on commit 7e10ab8

Please sign in to comment.