Add Protobuf with Testing + Codegen (#7)

Reviewed-on: #7
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
Co-authored-by: Mike Kalange <countablecloud@gmail.com>
Co-committed-by: Mike Kalange <countablecloud@gmail.com>
This commit is contained in:
2024-05-22 11:27:54 -06:00
committed by Ivan Malison
parent 36712557cb
commit 30e356e3e0
15 changed files with 1064 additions and 2 deletions

View File

@@ -329,6 +329,11 @@ export type RangeFilter = {
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
};
export type SerializedShotPathsGql = {
__typename?: "SerializedShotPathsGQL";
b64EncodedBuffer?: Maybe<Scalars["String"]["output"]>;
};
export enum ShotDirectionEnum {
Left = "LEFT",
Right = "RIGHT",
@@ -343,6 +348,7 @@ export type ShotGql = {
endFrame: Scalars["Int"]["output"];
id: Scalars["Int"]["output"];
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
startFrame: Scalars["Int"]["output"];
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
user?: Maybe<UserGql>;

View File

@@ -144,6 +144,7 @@ type ShotGQL {
cueObjectFeatures: CueObjectFeaturesGQL
pocketingIntentionFeatures: PocketingIntentionFeaturesGQL
bankFeatures: BankFeaturesGQL
serializedShotPaths: SerializedShotPathsGQL
user: UserGQL
}
@@ -177,6 +178,10 @@ enum WallTypeEnum {
SHORT
}
type SerializedShotPathsGQL {
b64EncodedBuffer: String
}
type UserGQL {
id: Int!
firebaseUid: String!