File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -29,21 +29,26 @@ export interface EolScanComponent {
2929export interface EolReportMetadata {
3030 totalComponentsCount : number ;
3131 unknownComponentsCount : number ;
32+ totalUniqueComponentsCount : number ;
3233}
3334
3435export interface EolReport {
3536 id ?: string ;
3637 createdOn : string ;
3738 components : EolScanComponent [ ] ;
3839 metadata : EolReportMetadata ;
40+ page ?: number ;
41+ totalRecords ?: number ;
3942}
4043
4144export interface EolReportQueryResponse {
42- eol : { report : { report : EolReport | null } } ;
45+ eol : { report : EolReport | null } ;
4346}
4447
4548export interface EolReportMutationResponse {
46- eol : { createReport : { success : boolean ; report : EolReport | null } } ;
49+ eol : {
50+ createReport : { success : boolean ; id ?: string ; totalRecords ?: number } ;
51+ } ;
4752}
4853
4954export interface CreateEolReportInputSbom {
@@ -59,5 +64,11 @@ export type CreateEolReportInput =
5964 | CreateEolReportInputSbom
6065 | CreateEolReportInputPurls ;
6166
67+ export interface GetEolReportInput {
68+ id : string ;
69+ page ?: number ;
70+ size ?: number ;
71+ }
72+
6273export const VALID_STATUSES = [ 'UNKNOWN' , 'OK' , 'EOL' , 'EOL_UPCOMING' ] as const ;
6374export type ComponentStatus = ( typeof VALID_STATUSES ) [ number ] ;
You can’t perform that action at this time.
0 commit comments