Skip to content

Commit

Permalink
[SQDEV-3594] Feature enforcement backend (#87)
Browse files Browse the repository at this point in the history
* Update ProgramTransaction.schema.json

* Update CHANGELOG.md

* 1.28.7-0

* Update CHANGELOG.md

* Update CHANGELOG.md

* 1.28.7
  • Loading branch information
slisaasquatch authored Jul 3, 2024
1 parent da59377 commit d069991
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.28.7] - 2024-07-03

### Added

- Added the new `RETRACT_REFERRAL_CONVERSION` mutation for program transactions

## [1.28.6] - 2024-04-10

### Added
Expand Down Expand Up @@ -167,6 +173,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Removed "pinterestShareBody" as a required field for the "PINTEREST" share medium
- Removed "pinterestImageURL" as a required field for the "PINTEREST" share medium

[1.28.7]: https://github.com/saasquatch/schema/releases/tag/v1.28.7
[1.28.6]: https://github.com/saasquatch/schema/releases/tag/v1.28.6
[1.28.5]: https://github.com/saasquatch/schema/releases/tag/v1.28.5
[1.28.4]: https://github.com/saasquatch/schema/releases/tag/v1.28.4
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@saasquatch/schema",
"version": "1.28.6",
"version": "1.28.7",
"main": "types/index.js",
"types": "index.d.ts",
"repository": "[email protected]:saasquatch/schema.git",
Expand Down
18 changes: 18 additions & 0 deletions src/json/ProgramTransaction.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
},
{
"$ref": "#/definitions/exchangeReward"
},
{
"$ref": "#/definitions/retractReferralConversion"
}
]
}
Expand Down Expand Up @@ -374,6 +377,21 @@
"required": ["user", "redeemCreditInput"]
}
}
},
"retractReferralConversion": {
"type": "object",
"properties": {
"type": { "enum": ["RETRACT_REFERRAL_CONVERSION"] },
"data": {
"type": "object",
"title": "Retract Referral Conversion Data",
"properties": {
"referralId": { "type": "string", "title": "Referral ID" }
},
"additionalProperties": false,
"required": ["referralId"]
}
}
}
}
}

0 comments on commit d069991

Please sign in to comment.