Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions codegen/lib/layouts/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ export const getResourceLayoutContexts = (
}))
}

// Expand an action attempt into one union member per status from its status
// enum. In each member, the status property is rendered as the status literal,
// and any property annotated with actionAttemptStatuses is rendered as null
// for the statuses it does not list.
const expandActionAttemptByStatus = (resource: Resource): Resource[] => {
const statusProperty = resource.properties.find(
(property): property is EnumProperty =>
Expand Down
Loading