Skip to content

Commit

Permalink
FIX #776
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinovega authored Dec 3, 2024
1 parent bb77c40 commit 6721f43
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion daikoku/app/domain/SchemaDefinition.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3251,6 +3251,22 @@ object SchemaDefinition {
)
)
)
lazy val ApiSubscriptionTransferSuccessType = new PossibleObject(
ObjectType(
"ApiSubscriptionTransferSuccess",
"A notification triggered when a checkout session is available",
interfaces[
(DataStore, DaikokuActionContext[JsValue]),
ApiSubscriptionTransferSuccess
](NotificationActionType),
fields[
(DataStore, DaikokuActionContext[JsValue]),
ApiSubscriptionTransferSuccess
](
Field("subscription", StringType, resolve = _.value.subscription.value)
)
)
)

lazy val NotificationInterfaceType: ObjectType[
(DataStore, DaikokuActionContext[JsValue]),
Expand Down Expand Up @@ -3361,7 +3377,8 @@ object SchemaDefinition {
TransferApiOwnershipType,
ApiSubscriptionRejectType,
ApiSubscriptionAcceptType,
CheckoutForSubscriptionType
CheckoutForSubscriptionType,
ApiSubscriptionTransferSuccessType
)
)
)
Expand Down

0 comments on commit 6721f43

Please sign in to comment.