Add ensureStripeCustomerExists to schema #188

Merged
colonelpanic merged 2 commits from loewy/get-stripe-customer-mutation into master 2025-07-04 12:06:48 -06:00
2 changed files with 8 additions and 0 deletions

View File

@ -2281,6 +2281,7 @@ export type Mutation = {
editShot: EditShotReturn;
editUploadStream: Scalars["Boolean"]["output"];
editUser: UserGql;
ensureStripeCustomerExists: UserGql;
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
followUser: UserGql;
getHlsInitUploadLink: GetUploadLinkReturn;
@ -2352,6 +2353,10 @@ export type MutationEditUserArgs = {
input: EditUserInputGql;
};
export type MutationEnsureStripeCustomerExistsArgs = {
email: Scalars["String"]["input"];
};
export type MutationFindPrerecordTableLayoutArgs = {
b64Image: Scalars["String"]["input"];
videoId: Scalars["Int"]["input"];
@ -3041,6 +3046,7 @@ export type UserGql = {
id: Scalars["Int"]["output"];
isAdmin?: Maybe<Scalars["Boolean"]["output"]>;
profileImageUri?: Maybe<Scalars["String"]["output"]>;
stripeCustomerId?: Maybe<Scalars["String"]["output"]>;
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
username: Scalars["String"]["output"];
videosPrivateByDefault?: Maybe<Scalars["Boolean"]["output"]>;

View File

@ -356,6 +356,7 @@ type UserGQL {
isAdmin: Boolean
fargoRating: Int
activeVideoId: Int
stripeCustomerId: String
profileImageUri: String
createdAt: DateTime
updatedAt: DateTime
@ -878,6 +879,7 @@ type Mutation {
followUser(followedUserId: Int!): UserGQL!
unfollowUser(followedUserId: Int!): UserGQL!
retireTags(tagIds: [Int!]!): Boolean!
ensureStripeCustomerExists(email: String!): UserGQL!
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
createUploadStream(
videoMetadata: VideoMetadataInput!