get stripe customer mutation, add stripe_customer_id to user gql type
All checks were successful
Tests / Tests (pull_request) Successful in 11s

This commit is contained in:
Loewy 2025-07-03 15:26:44 -07:00
parent 492178455c
commit 7302d6b8b6
2 changed files with 8 additions and 0 deletions

View File

@ -2285,6 +2285,7 @@ export type Mutation = {
followUser: UserGql; followUser: UserGql;
getHlsInitUploadLink: GetUploadLinkReturn; getHlsInitUploadLink: GetUploadLinkReturn;
getProfileImageUploadLink: GetProfileUploadLinkReturn; getProfileImageUploadLink: GetProfileUploadLinkReturn;
getStripeCustomer: UserGql;
getUploadLink: GetUploadLinkReturn; getUploadLink: GetUploadLinkReturn;
reactToVideo: Scalars["Boolean"]["output"]; reactToVideo: Scalars["Boolean"]["output"];
retireTags: Scalars["Boolean"]["output"]; retireTags: Scalars["Boolean"]["output"];
@ -2369,6 +2370,10 @@ export type MutationGetProfileImageUploadLinkArgs = {
fileExt?: InputMaybe<Scalars["String"]["input"]>; fileExt?: InputMaybe<Scalars["String"]["input"]>;
}; };
export type MutationGetStripeCustomerArgs = {
email: Scalars["String"]["input"];
};
export type MutationGetUploadLinkArgs = { export type MutationGetUploadLinkArgs = {
segmentIndex: Scalars["Int"]["input"]; segmentIndex: Scalars["Int"]["input"];
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
@ -3041,6 +3046,7 @@ export type UserGql = {
id: Scalars["Int"]["output"]; id: Scalars["Int"]["output"];
isAdmin?: Maybe<Scalars["Boolean"]["output"]>; isAdmin?: Maybe<Scalars["Boolean"]["output"]>;
profileImageUri?: Maybe<Scalars["String"]["output"]>; profileImageUri?: Maybe<Scalars["String"]["output"]>;
stripeCustomerId?: Maybe<Scalars["String"]["output"]>;
updatedAt?: Maybe<Scalars["DateTime"]["output"]>; updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
username: Scalars["String"]["output"]; username: Scalars["String"]["output"];
videosPrivateByDefault?: Maybe<Scalars["Boolean"]["output"]>; videosPrivateByDefault?: Maybe<Scalars["Boolean"]["output"]>;

View File

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