editorFor: (
key: string,
) => {
attributes: (
EditableRow & { editable: boolean; values: string[]; why: string }
)[];
dn: string;
mail: string;
withheld: Withheld[];
} = ...
Type Declaration
-
- (
key: string,
): {
attributes: (
EditableRow & { editable: boolean; values: string[]; why: string }
)[];
dn: string;
mail: string;
withheld: Withheld[];
}
-
Returns {
attributes: (
EditableRow & { editable: boolean; values: string[]; why: string }
)[];
dn: string;
mail: string;
withheld: Withheld[];
}
{ dn, attributes, withheld, mail }, or null where there is no
directory or no such person
Returns one person's editor: every editable attribute with the values the entry holds, and whether this entry lets it be edited (not the attribute the entry is named by).