feat(chat): render role-bound payment guidance
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
stringOrEmpty,
|
||||
stringOrNull,
|
||||
} from "../nullable-defaults";
|
||||
import { PaymentGuidanceSchema } from "../chat";
|
||||
|
||||
export const PrivateZoneVideoPostSchema = z
|
||||
.object({
|
||||
@@ -63,6 +64,7 @@ export const PrivateZonePostUnlockResponseSchema = z
|
||||
shortfallCredits: numberOrZero,
|
||||
creditBalance: numberOrZero,
|
||||
post: schemaOrNull(PrivateZoneVideoPostSchema),
|
||||
paymentGuidance: PaymentGuidanceSchema.nullish(),
|
||||
})
|
||||
.readonly();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user