Skip to content

Commit

Permalink
refactor(json-patch): align type names
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Nov 22, 2023
1 parent d1af154 commit 5e2574a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/dataElements/edit/createJsonPatchOperations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import get from 'lodash/fp/get'
import { JsonPatchOperation } from '../../../types'
import { Attribute, AttributeValue } from './../../../types/generated/models'

type PatchAttributeFields = {
type PatchAttribute = {
id: Attribute['id']
}

type PatchAttributeValue = {
attribute: PatchAttributeFields
attribute: PatchAttribute
value: AttributeValue['value']
}

Expand Down

0 comments on commit 5e2574a

Please sign in to comment.