editorFor: (
key: string,
) => {
attributes: (
EditableRow & {
editable: boolean;
required: boolean;
values: string[];
why: string;
}
)[];
dn: string;
mail: any;
pseudonymPending: any;
pseudonyms: any;
withheld: Withheld[];
} = ...
Type Declaration
-
- (
key: string,
): {
attributes: (
EditableRow & {
editable: boolean;
required: boolean;
values: string[];
why: string;
}
)[];
dn: string;
mail: any;
pseudonymPending: any;
pseudonyms: any;
withheld: Withheld[];
}
-
Returns {
attributes: (
EditableRow & {
editable: boolean;
required: boolean;
values: string[];
why: string;
}
)[];
dn: string;
mail: any;
pseudonymPending: any;
pseudonyms: any;
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).