Add Protobuf with Testing + Codegen #7

Merged
colonelpanic merged 12 commits from mk/add-protobuf into master 2024-05-22 11:27:55 -06:00
2 changed files with 11 additions and 0 deletions
Showing only changes of commit dd0792ad07 - Show all commits

View File

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

View File

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