mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-20 01:33:05 +00:00
Lista publicados-only com capas 9:16, detalhe com player 9:16 e painel de downloads (vídeo sem áudio primário; com áudio, mp3 e .srt quando existem; transcrição em texto) e kill switch reversível: despublicar tira da lista e bloqueia a mídia (C193 decision B), republicar reativa e re-carimba publishedAt. Fiação: gate communicationCatalog (rename do speechCatalog), 3º sub-item da vertical no nav, rule da lista no chrome, paths e loader próprios; sem migration, sem Consent, sem tocar Media.read ou a rota de mídia do C193. Design tier: DEGRADED — crítica final do designer indisponível no tier primário (limite de uso); requer sign-off humano antes de push/PR.
21 lines
857 B
TypeScript
21 lines
857 B
TypeScript
import { z } from 'zod'
|
|
|
|
import { positiveRelationshipId } from '@/lib/schemas/primitives'
|
|
|
|
/** The communication vertical refused the actor — the reel library's own literal. */
|
|
export const REEL_FORBIDDEN_MESSAGE = 'Você não tem acesso à biblioteca de reels.'
|
|
|
|
/** The reel does not exist (or the actor cannot read it). */
|
|
export const REEL_NOT_FOUND_MESSAGE = 'Reel não encontrado.'
|
|
|
|
/** Transport/storage failure (or anything unmapped). */
|
|
export const REEL_GENERIC_ERROR_MESSAGE =
|
|
'Não foi possível atualizar a publicação. Verifique seu acesso e tente novamente.'
|
|
|
|
/** C194 — the kill switch body: which reel and where it should land. */
|
|
export const reelPublicationRequestSchema = z.object({
|
|
reelId: positiveRelationshipId,
|
|
published: z.boolean(),
|
|
})
|
|
|
|
export type ReelPublicationRequest = z.infer<typeof reelPublicationRequestSchema>
|