chore: lint (#3437)

This commit is contained in:
Maxwell
2025-07-17 16:40:34 -07:00
committed by GitHub
parent d73e7b8527
commit 322906802f
+14 -7
View File
@@ -207,7 +207,8 @@ export const stripe = <O extends StripeOptions>(options: O) => {
* Return URL
*/
returnUrl: z
.string().meta({
.string()
.meta({
description:
'Return URL to redirect back after successful subscription. Eg: "https://example.com/success"',
})
@@ -216,7 +217,8 @@ export const stripe = <O extends StripeOptions>(options: O) => {
* Disable Redirect
*/
disableRedirect: z
.boolean().meta({
.boolean()
.meta({
description:
"Disable redirect after successful subscription. Eg: true",
})
@@ -601,13 +603,15 @@ export const stripe = <O extends StripeOptions>(options: O) => {
method: "POST",
body: z.object({
referenceId: z
.string().meta({
.string()
.meta({
description:
"Reference id of the subscription to cancel. Eg: '123'",
})
.optional(),
subscriptionId: z
.string().meta({
.string()
.meta({
description:
"The id of the subscription to cancel. Eg: 'sub_123'",
})
@@ -743,13 +747,15 @@ export const stripe = <O extends StripeOptions>(options: O) => {
method: "POST",
body: z.object({
referenceId: z
.string().meta({
.string()
.meta({
description:
"Reference id of the subscription to restore. Eg: '123'",
})
.optional(),
subscriptionId: z
.string().meta({
.string()
.meta({
description:
"The id of the subscription to restore. Eg: 'sub_123'",
})
@@ -875,7 +881,8 @@ export const stripe = <O extends StripeOptions>(options: O) => {
query: z.optional(
z.object({
referenceId: z
.string().meta({
.string()
.meta({
description:
"Reference id of the subscription to list. Eg: '123'",
})