Skip to content
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
7 changes: 7 additions & 0 deletions clients/LedgerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ export type LedgerReconciliationComponent = LedgerReconciliation['components'][n
export type Report = NonNullable<GetLedgerReportQuery['report']>
export type ReportPackage = NonNullable<GetLedgerReportPackageQuery['reportPackage']>
export type ReportPackageItem = ReportPackage['items'][number]
// A report's block renders through the same viewers as a read block, so its
// selection must keep pace with the information-block documents.
type AssertTrue<T extends true> = T
// eslint-disable-next-line @typescript-eslint/no-unused-vars
type ReportBlockIsInformationBlock = AssertTrue<
ReportPackageItem['block'] extends InformationBlock ? true : false
>
export type ReportListItem = NonNullable<ListLedgerReportsQuery['reports']>['reports'][number]
export type StatementData = NonNullable<GetLedgerStatementQuery['statement']>
export type StatementPeriod = StatementData['periods'][number]
Expand Down
2 changes: 2 additions & 0 deletions clients/graphql/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1545,6 +1545,7 @@ export type GetLedgerReportPackageQuery = {
category: string
taxonomyId: string | null
taxonomyName: string | null
entityId: string | null
informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
artifact: {
topic: string | null
Expand Down Expand Up @@ -6480,6 +6481,7 @@ export const GetLedgerReportPackageDocument = {
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
{
kind: 'Field',
name: { kind: 'Name', value: 'informationModel' },
Expand Down
1 change: 1 addition & 0 deletions clients/graphql/queries/ledger/reportPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const GET_REPORT_PACKAGE = gql`
category
taxonomyId
taxonomyName
entityId
informationModel {
conceptArrangement
memberArrangement
Expand Down
Loading