Skip to content

Commit

Permalink
Make types stricter (#58)
Browse files Browse the repository at this point in the history
* feat: make types stricter

* fix: fix property name
  • Loading branch information
anxolin authored Feb 22, 2024
1 parent d8c5458 commit 3d6e274
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/generatedTypes/v0.11.0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,4 @@ export interface CoWHook {
export interface Widget {
appCode: AppCode1;
environment?: Environment1;
[k: string]: unknown;
}
2 changes: 0 additions & 2 deletions src/generatedTypes/v1.0.0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,8 @@ export interface CoWHook {
export interface Widget {
appCode: AppCode1;
environment?: Environment1;
[k: string]: unknown;
}
export interface PartnerFee {
bps: BasisPointBPS;
recipient: PartnerAccount;
[k: string]: unknown;
}
1 change: 1 addition & 0 deletions src/schemas/partnerFee/v0.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"required": ["bps", "recipient"],
"title": "Partner fee",
"type": "object",
"additionalProperties": false,
"properties": {
"bps": {
"title": "Basis Point (BPS)",
Expand Down
1 change: 1 addition & 0 deletions src/schemas/widget/v0.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"required": ["appCode"],
"title": "Widget",
"type": "object",
"additionalProperties": false,
"properties": {
"appCode": {
"$id": "#/properties/appCodeWidget",
Expand Down

0 comments on commit 3d6e274

Please sign in to comment.