Skip to content

Commit

Permalink
Merge pull request #134 from nginformatica/fix/types-ipe-delivery
Browse files Browse the repository at this point in the history
Fix/types ipe delivery
  • Loading branch information
danielamarioti authored Dec 3, 2024
2 parents 0eb5ff4 + 46d0645 commit 5a40f1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quirons-broker",
"version": "0.0.1-alpha.145",
"version": "0.0.1-alpha.146",
"description": "A small library to expose the broker types",
"typings": "index.d.ts",
"types": "index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/ttalk/schemas/IpeDelivery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const IpeDeliveryInfo = t.intersection([
/** Data de Entrega */
deliveryDate: datetime,
/** Vencimento do CA */
caExpirationDate: datetime,
caExpirationDate: t.union([datetime, t.null]),
/** Quantidade Entregue */
deliveryAmount: t.number,
}),
Expand Down Expand Up @@ -58,6 +58,7 @@ export const IpeDeliveryInfo = t.intersection([
t.literal(7),
t.literal(8),
t.literal(9),
t.null
]),
})
])
Expand Down
4 changes: 2 additions & 2 deletions src/ttalk/schemas/Risk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ export const RiskInfo = t.intersection([
/** Descrição da Fonte Geradora */
generatingSource: t.string,
/** Descrição do Ambiente Físico */
environment: t.string,
/** Centros de Custo */
environment: t.union([t.string, t.null]),
/** Centros de Custo] */
costCenter: t.array(CostCenter),
/** Departamentos */
department: t.array(Department),
Expand Down

0 comments on commit 5a40f1c

Please sign in to comment.