Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions pkgs/dart_mcp_server/lib/src/mixins/dtd.dart
Original file line number Diff line number Diff line change
Expand Up @@ -766,19 +766,21 @@ base mixin DartToolingDaemonSupport
'Value should be a nested finder for the descendent or ancestor',
additionalProperties: true,
),
'matchRoot': Schema.object(
// This is a boolean but uses the `true` and `false` strings.
'matchRoot': Schema.enumeration(
description:
'Required by the Descendent and Ancestor finders. '
'Whether the widget matching `of` will be considered for a '
'match',
additionalProperties: true,
values: ['true', 'false'],
),
'firstMatchOnly': Schema.object(
// This is a boolean but uses the `true` and `false` strings.
'firstMatchOnly': Schema.enumeration(
description:
'Required by the Descendent and Ancestor finders. '
'If true then only the first ancestor or descendent matching '
'`matching` will be returned.',
additionalProperties: true,
values: ['true', 'false'],
),
'action': Schema.enumeration(
description:
Expand Down