diff --git a/src/services/JsonPlaceholderService.ts b/src/services/JsonPlaceholderService.ts index 32aba32..d4a19ec 100644 --- a/src/services/JsonPlaceholderService.ts +++ b/src/services/JsonPlaceholderService.ts @@ -83,7 +83,12 @@ async function getUsers( const users: UserT[] = await fetchUsers(); + printer.writeColumns([ + { + code: "id", + text: "Id", + }, { code: "name", text: "Nome", @@ -106,6 +111,16 @@ async function getUsers( printer.writeRow({ fields: { + id: { + name: "id", + tooltip: false, + smeupObject: { + tipo: "", + parametro: "", + codice: user.id.toString(), + testo: user.id.toString(), + }, + }, name: { name: "name", tooltip: false,