feat(shared): credit dimensions and multipliers on rate-card rows - #3216
Draft
charlietlamb wants to merge 2 commits into
Draft
feat(shared): credit dimensions and multipliers on rate-card rows#3216charlietlamb wants to merge 2 commits into
charlietlamb wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
charlietlamb
force-pushed
the
charlie/dim-model
branch
from
September 2, 2026 16:43
70094ca to
f2d76bc
Compare
A rate-card row can now carry named dimensions (property match → its own flat or graduated rate, with optional priority) and multipliers (property match → factor and/or add). Dimension names become usage-attribution keys via buildUsageAttributionKey / parseUsageAttributionKey, so they are bounded and cannot contain the separator.
charlietlamb
force-pushed
the
charlie/dim-model
branch
from
September 3, 2026 09:53
81be33f to
e3b0fa4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A rate-card row can now carry named dimensions (property match → its own
flat or graduated rate, with optional priority) and multipliers (property
match → factor and/or add). Dimension names become usage-attribution keys
via buildUsageAttributionKey / parseUsageAttributionKey, so they are
bounded and cannot contain the separator.
Stack created with GitHub Stacks CLI • Give Feedback 💬
Summary by cubic
Rate-card rows can now carry named dimensions and multipliers alongside their own flat or graduated rate, enabling property-based rates and adjustments without changing plain rows.
::so they can be used in attribution keys.buildUsageAttributionKeyandparseUsageAttributionKeyfor dimensioned attribution keys, and exports the match and dimension-name schemas.Written for commit e3b0fa4. Summary will update on new commits.