@@ -20,6 +20,13 @@ import {
2020 PublicAssignmentToJSON ,
2121 PublicAssignmentToJSONTyped ,
2222} from './PublicAssignment.ts' ;
23+ import type { RpcRelatedDocument } from './RpcRelatedDocument.ts' ;
24+ import {
25+ RpcRelatedDocumentFromJSON ,
26+ RpcRelatedDocumentFromJSONTyped ,
27+ RpcRelatedDocumentToJSON ,
28+ RpcRelatedDocumentToJSONTyped ,
29+ } from './RpcRelatedDocument.ts' ;
2330import type { ActionHolder } from './ActionHolder.ts' ;
2431import {
2532 ActionHolderFromJSON ,
@@ -204,12 +211,36 @@ export interface PublicQueueItem {
204211 * @memberof PublicQueueItem
205212 */
206213 readonly approvalLogMessage ?: Array < ApprovalLogMessage > ;
214+ /**
215+ * Current stream
216+ * @type {string }
217+ * @memberof PublicQueueItem
218+ */
219+ stream : string ;
220+ /**
221+ * Acronym of datatracker group where this document originated, if any
222+ * @type {string }
223+ * @memberof PublicQueueItem
224+ */
225+ group ?: string ;
207226 /**
208227 *
209228 * @type {string }
210229 * @memberof PublicQueueItem
211230 */
212- readonly stream ?: string ;
231+ readonly groupName ?: string | null ;
232+ /**
233+ * Current StdLevel
234+ * @type {string }
235+ * @memberof PublicQueueItem
236+ */
237+ stdLevel : string ;
238+ /**
239+ *
240+ * @type {Array<RpcRelatedDocument> }
241+ * @memberof PublicQueueItem
242+ */
243+ readonly references ?: Array < RpcRelatedDocument > ;
213244}
214245
215246/**
@@ -221,6 +252,8 @@ export function instanceOfPublicQueueItem(value: object): value is PublicQueueIt
221252 if ( ! ( 'disposition' in value ) || value [ 'disposition' ] === undefined ) return false ;
222253 if ( ! ( 'enqueuedAt' in value ) || value [ 'enqueuedAt' ] === undefined ) return false ;
223254 if ( ! ( 'authors' in value ) || value [ 'authors' ] === undefined ) return false ;
255+ if ( ! ( 'stream' in value ) || value [ 'stream' ] === undefined ) return false ;
256+ if ( ! ( 'stdLevel' in value ) || value [ 'stdLevel' ] === undefined ) return false ;
224257 return true ;
225258}
226259
@@ -253,15 +286,19 @@ export function PublicQueueItemFromJSONTyped(json: any, ignoreDiscriminator: boo
253286 'blockingReasons' : json [ 'blocking_reasons' ] == null ? undefined : ( ( json [ 'blocking_reasons' ] as Array < any > ) . map ( RfcToBeBlockingReasonFromJSON ) ) ,
254287 'authors' : ( ( json [ 'authors' ] as Array < any > ) . map ( PublicQueueAuthorFromJSON ) ) ,
255288 'approvalLogMessage' : json [ 'approval_log_message' ] == null ? undefined : ( ( json [ 'approval_log_message' ] as Array < any > ) . map ( ApprovalLogMessageFromJSON ) ) ,
256- 'stream' : json [ 'stream' ] == null ? undefined : json [ 'stream' ] ,
289+ 'stream' : json [ 'stream' ] ,
290+ 'group' : json [ 'group' ] == null ? undefined : json [ 'group' ] ,
291+ 'groupName' : json [ 'group_name' ] == null ? undefined : json [ 'group_name' ] ,
292+ 'stdLevel' : json [ 'std_level' ] ,
293+ 'references' : json [ 'references' ] == null ? undefined : ( ( json [ 'references' ] as Array < any > ) . map ( RpcRelatedDocumentFromJSON ) ) ,
257294 } ;
258295}
259296
260297export function PublicQueueItemToJSON ( json : any ) : PublicQueueItem {
261298 return PublicQueueItemToJSONTyped ( json , false ) ;
262299}
263300
264- export function PublicQueueItemToJSONTyped ( value ?: Omit < PublicQueueItem , 'id' | 'name' | 'labels' | 'cluster' | 'assignment_set' | 'actionholder_set' | 'pending_activities' | 'pages' | 'final_approval' | 'iana_status' | 'blocking_reasons' | 'approval_log_message' | 'stream ' > | null , ignoreDiscriminator : boolean = false ) : any {
301+ export function PublicQueueItemToJSONTyped ( value ?: Omit < PublicQueueItem , 'id' | 'name' | 'labels' | 'cluster' | 'assignment_set' | 'actionholder_set' | 'pending_activities' | 'pages' | 'final_approval' | 'iana_status' | 'blocking_reasons' | 'approval_log_message' | 'group_name' | 'references '> | null , ignoreDiscriminator : boolean = false ) : any {
265302 if ( value == null ) {
266303 return value ;
267304 }
@@ -275,6 +312,9 @@ export function PublicQueueItemToJSONTyped(value?: Omit<PublicQueueItem, 'id'|'n
275312 'rfc_number' : value [ 'rfcNumber' ] ,
276313 'enqueued_at' : value [ 'enqueuedAt' ] . toISOString ( ) ,
277314 'authors' : ( ( value [ 'authors' ] as Array < any > ) . map ( PublicQueueAuthorToJSON ) ) ,
315+ 'stream' : value [ 'stream' ] ,
316+ 'group' : value [ 'group' ] ,
317+ 'std_level' : value [ 'stdLevel' ] ,
278318 } ;
279319}
280320
0 commit comments