[PLA-2114] Revert packs for release #117
Merged
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.
PR Type
Enhancement, Tests
Description
BeamPack
functionality across multiple services, models, and GraphQL mutations.BeamService
logic by removingpacks
handling and related methods.CreateBeam
,AddTokens
,RemoveTokens
, etc.) to reflect the removal ofBeamPack
.tokens
input in GraphQL mutations.BeamPack
-related test cases.Changes walkthrough 📝
12 files
BeamService.php
Refactor BeamService to remove BeamPack support and simplify logic.
src/Services/BeamService.php
BeamPack
functionality, including related methodsand attributes.
create
,updateByCode
,addTokens
, andremoveTokens
methodsby removing
packs
handling.operations.
ClaimBeam.php
Simplify ClaimBeam job by removing BeamPack logic.
src/Jobs/ClaimBeam.php
BeamPack
-related logic in the claim handling process.AddTokensMutation.php
Refactor AddTokensMutation to remove BeamPack support.
src/GraphQL/Mutations/AddTokensMutation.php
packs
argument and related logic.tokens
to ensure stricter checks.CreateBeamMutation.php
Refactor CreateBeamMutation to remove BeamPack support.
src/GraphQL/Mutations/CreateBeamMutation.php
packs
argument and related logic.tokens
input.UpdateBeamMutation.php
Refactor UpdateBeamMutation to remove BeamPack support.
src/GraphQL/Mutations/UpdateBeamMutation.php
packs
argument and related logic.tokens
input.BeamClaim.php
Refactor BeamClaim model to remove BeamPack dependency.
src/Models/Laravel/BeamClaim.php
BeamPack
relationship and attributes.MaxTokenCount.php
Simplify MaxTokenCount rule logic.
src/Rules/MaxTokenCount.php
MaxTokenSupply.php
Simplify MaxTokenSupply rule logic.
src/Rules/MaxTokenSupply.php
GetSingleUseCodesQuery.php
Simplify GetSingleUseCodesQuery by removing BeamPack logic.
src/GraphQL/Queries/GetSingleUseCodesQuery.php
BeamPack
-related logic.BeamClaim
entities.SingleUseCodeExist.php
Simplify SingleUseCodeExist rule by removing BeamPack logic.
src/Rules/SingleUseCodeExist.php
BeamPack
-related logic.RemoveTokensMutation.php
Refactor RemoveTokensMutation to remove BeamPack support.
src/GraphQL/Mutations/RemoveTokensMutation.php
packs
argument and related logic.CreateBeam.graphql
Update CreateBeam GraphQL schema to remove packs input.
tests/Feature/GraphQL/Resources/CreateBeam.graphql
packs
input from the mutation.CreateBeam
mutation.3 files
CreateBeamTest.php
Update CreateBeamTest to reflect removal of BeamPack functionality.
tests/Feature/GraphQL/Mutations/CreateBeamTest.php
BeamPack
functionality.BeamService
logic.UpdateBeamTest.php
Update UpdateBeamTest to align with BeamPack removal.
tests/Feature/GraphQL/Mutations/UpdateBeamTest.php
BeamPack
-related tests.BeamService
logic.RemoveTokensTest.php
Update RemoveTokensTest to align with BeamPack removal.
tests/Feature/GraphQL/Mutations/RemoveTokensTest.php
BeamPack
-related tests.removeTokens
logic.