ui/client/features/clone/domain/CloneFieldHints
Pure (DOMAIN-001): plain-words hints for the optional fields of the clone form.
Cockpit client (features), v0.9. Source: ui/client/features/clone/domain/CloneFieldHints.ts.
Functions#
branchProblem()#
branchProblem(
branch):string|null
Defined in: ui/client/features/clone/domain/CloneFieldHints.ts:16
Is branch usable as a branch name (mirrors the server's closed set)?
Parameters#
branch
string
Returns#
string | null
folderNameProblem()#
folderNameProblem(
name):string|null
Defined in: ui/client/features/clone/domain/CloneFieldHints.ts:6
Is name usable as a folder name (the server's rule, mirrored for a quick hint)?
Parameters#
name
string
Returns#
string | null
tokenProblem()#
tokenProblem(
token):string|null
Defined in: ui/client/features/clone/domain/CloneFieldHints.ts:23
A token a person can send: one piece of visible text (mirrors the server; the server is the judge).
Parameters#
token
string
Returns#
string | null