Skip to content

Commit

Permalink
fix: expose missing handler and types (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
GAlexIHU authored Aug 2, 2024
1 parent 1654411 commit e8f65d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions openmeter/entitlement/httpdriver/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type (
ResetEntitlementUsageHandler = httpdriver.ResetEntitlementUsageHandler
ListEntitlementsHandler = httpdriver.ListEntitlementsHandler
GetEntitlementHandler = httpdriver.GetEntitlementHandler
GetEntitlementByIdHandler = httpdriver.GetEntitlementByIdHandler
DeleteEntitlementHandler = httpdriver.DeleteEntitlementHandler
)

Expand Down
3 changes: 3 additions & 0 deletions openmeter/entitlement/httpdriver/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type (
ResetEntitlementUsageHandlerRequest = httpdriver.ResetEntitlementUsageHandlerRequest
ListEntitlementsHandlerRequest = httpdriver.ListEntitlementsHandlerRequest
GetEntitlementHandlerRequest = httpdriver.GetEntitlementHandlerRequest
GetEntitlementByIdHandlerRequest = httpdriver.GetEntitlementByIdHandlerRequest
DeleteEntitlementHandlerRequest = httpdriver.DeleteEntitlementHandlerRequest
)

Expand All @@ -27,6 +28,7 @@ type (
ResetEntitlementUsageHandlerResponse = httpdriver.ResetEntitlementUsageHandlerResponse
ListEntitlementsHandlerResponse = httpdriver.ListEntitlementsHandlerResponse
GetEntitlementHandlerResponse = httpdriver.GetEntitlementHandlerResponse
GetEntitlementByIdHandlerResponse = httpdriver.GetEntitlementByIdHandlerResponse
DeleteEntitlementHandlerResponse = httpdriver.DeleteEntitlementHandlerResponse
)

Expand All @@ -41,5 +43,6 @@ type (
ResetEntitlementUsageHandlerParams = httpdriver.ResetEntitlementUsageHandlerParams
ListEntitlementsHandlerParams = httpdriver.ListEntitlementsHandlerParams
GetEntitlementHandlerParams = httpdriver.GetEntitlementHandlerParams
GetEntitlementByIdHandlerParams = httpdriver.GetEntitlementByIdHandlerParams
DeleteEntitlementHandlerParams = httpdriver.DeleteEntitlementHandlerParams
)

0 comments on commit e8f65d1

Please sign in to comment.