File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -29,21 +29,24 @@ 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 : { createReport : { success : boolean ; id ?: string ; totalRecords ?: number } } ;
4750}
4851
4952export interface CreateEolReportInputSbom {
@@ -59,5 +62,11 @@ export type CreateEolReportInput =
5962 | CreateEolReportInputSbom
6063 | CreateEolReportInputPurls ;
6164
65+ export interface GetEolReportInput {
66+ id : string ;
67+ page ?: number ;
68+ size ?: number ;
69+ } ;
70+
6271export const VALID_STATUSES = [ 'UNKNOWN' , 'OK' , 'EOL' , 'EOL_UPCOMING' ] as const ;
6372export type ComponentStatus = ( typeof VALID_STATUSES ) [ number ] ;
You can’t perform that action at this time.
0 commit comments