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
6 changes: 3 additions & 3 deletions website/cue/reference/remap/functions/truncate.cue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ remap: functions: truncate: {
This argument is deprecated. An ellipsis (`...`) is appended if this is set to `true` _and_ the `value` string
ends up being truncated because it's exceeded the `limit`.
"""
required: true
required: false
type: ["boolean"]
},
{
Expand All @@ -34,8 +34,8 @@ remap: functions: truncate: {
A custom suffix (`...`) will be appended to truncated strings.
This is ignored if "ellipsis" is set to true for backwards compatibility.
"""
required: true
type: ["boolean"]
required: false
type: ["string"]
},
]
internal_failure_reasons: []
Expand Down