Skip to content

Commit

Permalink
pre-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abrantesarthur committed Jan 22, 2025
1 parent 2b313c6 commit 9522e0a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
28 changes: 15 additions & 13 deletions src/oneTrust/endpoints/getRisk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const OneTrustRiskReference = t.type({
/** The reference type of the risk reference */
referenceType: OneTrustEntityType,
/** The name of the risk reference */
name: t.union([t.string, t.null,]),
name: t.union([t.string, t.null]),
/** The additional attributes of the risk reference */
additionalAttributes: t.object,
});
Expand All @@ -90,7 +90,6 @@ export const OneTrustRiskTemplate = t.type({
/** Type override */
export type OneTrustRiskTemplate = t.TypeOf<typeof OneTrustRiskTemplate>;


export const OneTrustGetRiskResponse = t.type({
/** The risk references */
references: OneTrustRiskReferences,
Expand Down Expand Up @@ -335,17 +334,20 @@ export const OneTrustGetRiskResponse = t.type({
t.null,
]),
/** The risk workflow */
workflow: t.intersection([t.type({
/** ID of an entity. */
id: t.string,
/** Name of an entity. */
name: t.string,
}), t.partial({
/** The nameKeu */
nameKey: t.array(t.string),
/** The badgeColor */
badgeColor: t.union([t.string, t.null]),
}),]),
workflow: t.intersection([
t.type({
/** ID of an entity. */
id: t.string,
/** Name of an entity. */
name: t.string,
}),
t.partial({
/** The nameKeu */
nameKey: t.array(t.string),
/** The badgeColor */
badgeColor: t.union([t.string, t.null]),
}),
]),
});

/** Type override */
Expand Down
1 change: 0 additions & 1 deletion src/oneTrust/enrichedCodecs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export type OneTrustEnrichedAssessment = t.TypeOf<
typeof OneTrustEnrichedAssessment
>;


export const OneTrustEnrichedAssessments = t.array(OneTrustEnrichedAssessment);

/** Type override */
Expand Down

0 comments on commit 9522e0a

Please sign in to comment.