Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes an issue and removes some old files #3518

Merged
merged 2 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 0 additions & 113 deletions docs/BRANCHING.md

This file was deleted.

63 changes: 0 additions & 63 deletions docs/FAQ.md

This file was deleted.

163 changes: 0 additions & 163 deletions docs/README.adoc

This file was deleted.

6 changes: 2 additions & 4 deletions docs/content/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1262,12 +1262,10 @@ paths:
schema:
properties:
data:
description: Produces <a href="/data-model/accounts/#statement">Statement</a>, and/or <a href="/data-model/chaindata/#transaction">Transaction</a> data. Corresponds to the <a href="/chifra/chaindata/#chifra-transactions">chifra transactions</a> command line.
description: Transaction data as returned from the RPC (with slight enhancements). Produces <a href="/data-model/chaindata/#transaction">Transaction</a> data. Corresponds to the <a href="/chifra/chaindata/#chifra-transactions">chifra transactions</a> command line.
type: array
items:
oneOf:
- $ref: "#/components/schemas/statement"
- $ref: "#/components/schemas/transaction"
$ref: "#/components/schemas/transaction"
"400":
description: bad input parameter
/receipts:
Expand Down
1 change: 0 additions & 1 deletion docs/content/chifra/chaindata.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ Notes:

Data models produced by this tool:

- [statement](/data-model/accounts/#statement)
- [transaction](/data-model/chaindata/#transaction)

Links:
Expand Down
2 changes: 0 additions & 2 deletions docs/content/data-model/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ is always present as the `assetAddress` in the first reconciliation of the state
The following commands produce and manage Statements:

- [chifra export](/chifra/accounts/#chifra-export)
- [chifra transactions](/chifra/chaindata/#chifra-transactions)

Statements consist of the following fields:

Expand Down Expand Up @@ -256,4 +255,3 @@ This documentation mentions the following basic data types.
| string | a normal character string | |
| timestamp | a 64-bit unsigned integer | Unix timestamp |
| uint64 | a 64-bit unsigned integer | |

18 changes: 0 additions & 18 deletions docs/future-work/thoughts.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/readmes/chaindata-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Notes:

Data models produced by this tool:

- [statement](/data-model/accounts/#statement)
- [transaction](/data-model/chaindata/#transaction)

Links:
Expand Down
4 changes: 2 additions & 2 deletions sdk/typescript/src/paths/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This file was generated with makeClass --sdk. Do not edit it.
*/
import * as ApiCallers from '../lib/api_callers';
import { address, Statement, topic, Transaction, txId } from '../types';
import { address, topic, Transaction, txId } from '../types';

export function getTransactions(
parameters?: {
Expand All @@ -26,7 +26,7 @@ export function getTransactions(
},
options?: RequestInit,
) {
return ApiCallers.fetch<Statement[] | Transaction[]>(
return ApiCallers.fetch<Transaction[]>(
{ endpoint: '/transactions', method: 'get', parameters, options },
);
}
Expand Down
1 change: 0 additions & 1 deletion src/apps/chifra/internal/transactions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Notes:

Data models produced by this tool:

- [statement](/data-model/accounts/#statement)
- [transaction](/data-model/chaindata/#transaction)

### Other Options
Expand Down
2 changes: 1 addition & 1 deletion src/other/data-models/classDefinitions/statement.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ contained_by = Transaction
doc_group = 01-Accounts
doc_descr = a statement, including all inflows and outflows, for a single transfer of an asset (including ETH) to or from a given address
doc_route = 108-statement
doc_producer = export, transactions
doc_producer = export
go_output = src/apps/chifra/pkg/types
cache_type = cacheable
cache_by = address,tx
Expand Down
Loading