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
Showing only changes of commit 7302d6b8b6 - Show all commits

View File

@ -2285,6 +2285,7 @@ export type Mutation = {
followUser: UserGql;
getHlsInitUploadLink: GetUploadLinkReturn;
getProfileImageUploadLink: GetProfileUploadLinkReturn;
getStripeCustomer: UserGql;
getUploadLink: GetUploadLinkReturn;
reactToVideo: Scalars["Boolean"]["output"];
retireTags: Scalars["Boolean"]["output"];
@ -2369,6 +2370,10 @@ export type MutationGetProfileImageUploadLinkArgs = {
fileExt?: InputMaybe<Scalars["String"]["input"]>;
};
export type MutationGetStripeCustomerArgs = {
email: Scalars["String"]["input"];
};
export type MutationGetUploadLinkArgs = {
segmentIndex: Scalars["Int"]["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!
getStripeCustomer(email: String!): UserGQL!
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
createUploadStream(
videoMetadata: VideoMetadataInput!