Add annotations to shot gql

This commit is contained in:
2024-07-15 15:32:21 -06:00
parent d669dba320
commit dc214e878f
2 changed files with 21 additions and 0 deletions

View File

@@ -160,6 +160,7 @@ type ShotGQL {
bankFeatures: BankFeaturesGQL
serializedShotPaths: SerializedShotPathsGQL
user: UserGQL
annotations: [ShotAnnotationGQL!]!
}
"""
@@ -207,6 +208,15 @@ type UserGQL {
updatedAt: DateTime
}
type ShotAnnotationGQL {
shotId: Int!
type: ShotAnnotationTypeGQL!
creator: UserGQL!
notes: String!
createdAt: DateTime
updatedAt: DateTime
}
type ShotAnnotationTypeGQL {
id: Int!
name: String!