Skip to content

Commit 9b7f203

Browse files
tylerpinaclaude
authored andcommitted
fix: add publish and unpublish MRInternal overloads for Fragment
MRActions already defined publish and unpublish for Fragment, and the plain client wires both via wrap() — but the MRInternal overload block was missing them, leaving the overload resolution incomplete. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c714297 commit 9b7f203

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/common-types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,8 @@ type MRInternal<UA extends boolean> = {
968968
(opts: MROpts<'Fragment', 'create', UA>): MRReturn<'Fragment', 'create'>
969969
(opts: MROpts<'Fragment', 'update', UA>): MRReturn<'Fragment', 'update'>
970970
(opts: MROpts<'Fragment', 'delete', UA>): MRReturn<'Fragment', 'delete'>
971+
(opts: MROpts<'Fragment', 'publish', UA>): MRReturn<'Fragment', 'publish'>
972+
(opts: MROpts<'Fragment', 'unpublish', UA>): MRReturn<'Fragment', 'unpublish'>
971973

972974
(opts: MROpts<'Template', 'getMany', UA>): MRReturn<'Template', 'getMany'>
973975
(opts: MROpts<'Template', 'get', UA>): MRReturn<'Template', 'get'>

0 commit comments

Comments
 (0)