📝 Migrate from Docusaurus to Mintlify (#1115)

Closes #868
This commit is contained in:
Baptiste Arnaud
2023-12-22 09:13:53 +01:00
committed by GitHub
parent 512bb09282
commit 1e5fa5a575
450 changed files with 49522 additions and 104787 deletions

View File

@@ -24,7 +24,7 @@ export const getSubscription = authenticatedProcedure
)
.output(
z.object({
subscription: subscriptionSchema.or(z.null()),
subscription: subscriptionSchema.or(z.null().openapi({ type: 'string' })),
})
)
.query(async ({ input: { workspaceId }, ctx: { user } }) => {

View File

@@ -18,7 +18,11 @@ export const getUsage = authenticatedProcedure
})
.input(
z.object({
workspaceId: z.string(),
workspaceId: z
.string()
.describe(
'[Where to find my workspace ID?](../how-to#how-to-find-my-workspaceid)'
),
})
)
.output(z.object({ totalChatsUsed: z.number(), resetsAt: z.date() }))

View File

@@ -20,7 +20,11 @@ export const listInvoices = authenticatedProcedure
})
.input(
z.object({
workspaceId: z.string(),
workspaceId: z
.string()
.describe(
'[Where to find my workspace ID?](../how-to#how-to-find-my-workspaceid)'
),
})
)
.output(