-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
375 additions
and
445 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
4 changes: 2 additions & 2 deletions
4
...odels/api/accounts/congestion-response.ts → ...s/nodejs/lib/types/models/api/accounts.ts
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
33 changes: 0 additions & 33 deletions
33
bindings/nodejs/lib/types/models/api/blocks/block-response.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
.../api/commitments/utxo-changes-response.ts → ...odejs/lib/types/models/api/commitments.ts
This file contains 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
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...odels/api/committee/committee-response.ts → .../nodejs/lib/types/models/api/committee.ts
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
bindings/nodejs/lib/types/models/api/node/network-metrics-response.ts
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
bindings/nodejs/lib/types/models/api/node/routes-response.ts
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
// Copyright 2023 IOTA Stiftung | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
/** | ||
* Base response data. | ||
*/ | ||
export interface Response { | ||
/** | ||
* Optional error in the response. | ||
*/ | ||
error?: { | ||
/** | ||
* The code for the error response. | ||
*/ | ||
code: string; | ||
/** | ||
* A more descriptive version of the error. | ||
*/ | ||
message: string; | ||
}; | ||
} | ||
// TODO: can this be removed? Nothing seems to require it :thinking: | ||
// /** | ||
// * Base response data. | ||
// */ | ||
// export interface Response { | ||
// /** | ||
// * Optional error in the response. | ||
// */ | ||
// error?: { | ||
// /** | ||
// * The code for the error response. | ||
// */ | ||
// code: string; | ||
// /** | ||
// * A more descriptive version of the error. | ||
// */ | ||
// message: string; | ||
// }; | ||
// } |
4 changes: 2 additions & 2 deletions
4
...dels/api/rewards/mana-rewards-response.ts → ...gs/nodejs/lib/types/models/api/rewards.ts
This file contains 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.