@@ -3269,6 +3269,80 @@ export const $ExternalLogUrlResponse = {
3269
3269
description : 'Response for the external log URL endpoint.'
3270
3270
} as const ;
3271
3271
3272
+ export const $ExternalViewResponse = {
3273
+ properties : {
3274
+ name : {
3275
+ type : 'string' ,
3276
+ title : 'Name'
3277
+ } ,
3278
+ href : {
3279
+ type : 'string' ,
3280
+ title : 'Href'
3281
+ } ,
3282
+ icon : {
3283
+ anyOf : [
3284
+ {
3285
+ type : 'string'
3286
+ } ,
3287
+ {
3288
+ type : 'null'
3289
+ }
3290
+ ] ,
3291
+ title : 'Icon'
3292
+ } ,
3293
+ dark_mode_icon : {
3294
+ anyOf : [
3295
+ {
3296
+ type : 'string'
3297
+ } ,
3298
+ {
3299
+ type : 'null'
3300
+ }
3301
+ ] ,
3302
+ title : 'Dark Mode Icon'
3303
+ } ,
3304
+ url_route : {
3305
+ anyOf : [
3306
+ {
3307
+ type : 'string'
3308
+ } ,
3309
+ {
3310
+ type : 'null'
3311
+ }
3312
+ ] ,
3313
+ title : 'Url Route'
3314
+ } ,
3315
+ category : {
3316
+ anyOf : [
3317
+ {
3318
+ type : 'string'
3319
+ } ,
3320
+ {
3321
+ type : 'null'
3322
+ }
3323
+ ] ,
3324
+ title : 'Category'
3325
+ } ,
3326
+ destination : {
3327
+ anyOf : [
3328
+ {
3329
+ type : 'string' ,
3330
+ enum : [ 'nav' , 'dag' , 'dag_run' , 'task' , 'task_instance' ]
3331
+ } ,
3332
+ {
3333
+ type : 'null'
3334
+ }
3335
+ ] ,
3336
+ title : 'Destination'
3337
+ }
3338
+ } ,
3339
+ additionalProperties : true ,
3340
+ type : 'object' ,
3341
+ required : [ 'name' , 'href' ] ,
3342
+ title : 'ExternalViewResponse' ,
3343
+ description : 'Serializer for IFrame Plugin responses.'
3344
+ } as const ;
3345
+
3272
3346
export const $ExtraLinkCollectionResponse = {
3273
3347
properties : {
3274
3348
extra_links : {
@@ -3399,58 +3473,6 @@ export const $HealthInfoResponse = {
3399
3473
description : 'Health serializer for responses.'
3400
3474
} as const ;
3401
3475
3402
- export const $IFrameViewsResponse = {
3403
- properties : {
3404
- name : {
3405
- type : 'string' ,
3406
- title : 'Name'
3407
- } ,
3408
- src : {
3409
- type : 'string' ,
3410
- title : 'Src'
3411
- } ,
3412
- icon : {
3413
- anyOf : [
3414
- {
3415
- type : 'string'
3416
- } ,
3417
- {
3418
- type : 'null'
3419
- }
3420
- ] ,
3421
- title : 'Icon'
3422
- } ,
3423
- url_route : {
3424
- anyOf : [
3425
- {
3426
- type : 'string'
3427
- } ,
3428
- {
3429
- type : 'null'
3430
- }
3431
- ] ,
3432
- title : 'Url Route'
3433
- } ,
3434
- destination : {
3435
- anyOf : [
3436
- {
3437
- type : 'string' ,
3438
- enum : [ 'nav' , 'dag' , 'dag_run' , 'task' , 'task_instance' ]
3439
- } ,
3440
- {
3441
- type : 'null'
3442
- }
3443
- ] ,
3444
- title : 'Destination'
3445
- }
3446
- } ,
3447
- additionalProperties : true ,
3448
- type : 'object' ,
3449
- required : [ 'name' , 'src' ] ,
3450
- title : 'IFrameViewsResponse' ,
3451
- description : 'Serializer for IFrame Plugin responses.'
3452
- } as const ;
3453
-
3454
3476
export const $ImportErrorCollectionResponse = {
3455
3477
properties : {
3456
3478
import_errors : {
@@ -3830,12 +3852,13 @@ export const $PluginResponse = {
3830
3852
type : 'array' ,
3831
3853
title : 'Fastapi Root Middlewares'
3832
3854
} ,
3833
- iframe_views : {
3855
+ external_views : {
3834
3856
items : {
3835
- '$ref' : '#/components/schemas/IFrameViewsResponse '
3857
+ '$ref' : '#/components/schemas/ExternalViewResponse '
3836
3858
} ,
3837
3859
type : 'array' ,
3838
- title : 'Iframe Views'
3860
+ title : 'External Views' ,
3861
+ description : "Aggregate all external views. Both 'external_views' and 'appbuilder_menu_items' are included here."
3839
3862
} ,
3840
3863
appbuilder_views : {
3841
3864
items : {
@@ -3849,7 +3872,8 @@ export const $PluginResponse = {
3849
3872
'$ref' : '#/components/schemas/AppBuilderMenuItemResponse'
3850
3873
} ,
3851
3874
type : 'array' ,
3852
- title : 'Appbuilder Menu Items'
3875
+ title : 'Appbuilder Menu Items' ,
3876
+ deprecated : true
3853
3877
} ,
3854
3878
global_operator_extra_links : {
3855
3879
items : {
@@ -3885,7 +3909,7 @@ export const $PluginResponse = {
3885
3909
}
3886
3910
} ,
3887
3911
type : 'object' ,
3888
- required : [ 'name' , 'macros' , 'flask_blueprints' , 'fastapi_apps' , 'fastapi_root_middlewares' , 'iframe_views ' , 'appbuilder_views' , 'appbuilder_menu_items' , 'global_operator_extra_links' , 'operator_extra_links' , 'source' , 'listeners' , 'timetables' ] ,
3912
+ required : [ 'name' , 'macros' , 'flask_blueprints' , 'fastapi_apps' , 'fastapi_root_middlewares' , 'external_views ' , 'appbuilder_views' , 'appbuilder_menu_items' , 'global_operator_extra_links' , 'operator_extra_links' , 'source' , 'listeners' , 'timetables' ] ,
3889
3913
title : 'PluginResponse' ,
3890
3914
description : 'Plugin serializer.'
3891
3915
} as const ;
0 commit comments