Skip to content

[Changed, Breaking] Refactor device-data-volume to return data volumes rather than categories, and use MB/GB instead of MiB/GiB - #107

Open
eric-murray wants to merge 6 commits into
camaraproject:mainfrom
eric-murray:eric-murray-patch-4
Open

[Changed, Breaking] Refactor device-data-volume to return data volumes rather than categories, and use MB/GB instead of MiB/GiB#107
eric-murray wants to merge 6 commits into
camaraproject:mainfrom
eric-murray:eric-murray-patch-4

Conversation

@eric-murray

@eric-murray eric-murray commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • correction

What this PR does / why we need it:

Refactor device-data-volume following release management comments:

  • Use MB/GB instead of MiB/GiB
  • Return remaining data allowance rather than data allowance category, allowing "Unlimited" as a response option
  • Rename properties for clarity:
    • volumeToCheck becomes dataAllowanceThreshold
    • dataVolumeCategory becomes remainingDataAllowance
  • Update examples

Which issue(s) this PR fixes:

Fixes #101
Fixes #98

Special notes for reviewers:

This PR includes breaking changes

Changelog input

 release-note
 - Refactor device-data-volume to return data volumes rather than categories, and use MB/GB instead of MiB/GiB

Additional documentation

None

Updated data volume definitions to use data allowance units and adjusted related properties.
Removed DataAllowanceUnit schema and updated enum for dataAllowance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is the DataVolumeCategory really needed ? Review use of MiB, GiB

1 participant