vcJson: (
previewUser: any,
) => {
attributes: {
claim: string;
label: string;
ldap: string;
ldpTerm: string;
schema: string;
selected: boolean;
}[];
defaults: string[];
ldpOmitted: string[];
preview: {
claims: { claims: {}; entryFound: boolean; report: any[] };
user: any;
};
selected: string[];
} = ...
Type Declaration
-
- (
previewUser: any,
): {
attributes: {
claim: string;
label: string;
ldap: string;
ldpTerm: string;
schema: string;
selected: boolean;
}[];
defaults: string[];
ldpOmitted: string[];
preview: {
claims: { claims: {}; entryFound: boolean; report: any[] };
user: any;
};
selected: string[];
}
-
Returns {
attributes: {
claim: string;
label: string;
ldap: string;
ldpTerm: string;
schema: string;
selected: boolean;
}[];
defaults: string[];
ldpOmitted: string[];
preview: {
claims: { claims: {}; entryFound: boolean; report: any[] };
user: any;
};
selected: string[];
}
the JSON
Builds
/admin/vc's JSON: the catalogue, the selection, and one person's claims as they would be minted now.