@nocobase/plugin-client 2.1.0-alpha.10 → 2.1.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,6 +122,7 @@ declare const _default: {
122
122
  get: {
123
123
  tags: string[];
124
124
  summary: string;
125
+ description: string;
125
126
  parameters: {
126
127
  $ref: string;
127
128
  }[];
@@ -131,24 +132,264 @@ declare const _default: {
131
132
  content: {
132
133
  'application/json': {
133
134
  schema: {
134
- type: string;
135
- properties: {
136
- data: {
137
- type: string;
138
- items: {
139
- $ref: string;
140
- };
141
- };
142
- meta: {
143
- type: string;
144
- additionalProperties: boolean;
145
- };
135
+ $ref: string;
136
+ };
137
+ };
138
+ };
139
+ };
140
+ };
141
+ };
142
+ };
143
+ '/desktopRoutes:getAccessible': {
144
+ get: {
145
+ tags: string[];
146
+ summary: string;
147
+ description: string;
148
+ parameters: {
149
+ $ref: string;
150
+ }[];
151
+ responses: {
152
+ 200: {
153
+ description: string;
154
+ content: {
155
+ 'application/json': {
156
+ schema: {
157
+ $ref: string;
158
+ };
159
+ };
160
+ };
161
+ };
162
+ };
163
+ };
164
+ };
165
+ '/desktopRoutes:create': {
166
+ post: {
167
+ tags: string[];
168
+ summary: string;
169
+ description: string;
170
+ requestBody: {
171
+ required: boolean;
172
+ content: {
173
+ 'application/json': {
174
+ schema: {
175
+ $ref: string;
176
+ };
177
+ };
178
+ };
179
+ };
180
+ responses: {
181
+ 200: {
182
+ description: string;
183
+ content: {
184
+ 'application/json': {
185
+ schema: {
186
+ $ref: string;
187
+ };
188
+ };
189
+ };
190
+ };
191
+ };
192
+ };
193
+ };
194
+ '/desktopRoutes:update': {
195
+ post: {
196
+ tags: string[];
197
+ summary: string;
198
+ description: string;
199
+ parameters: {
200
+ $ref: string;
201
+ }[];
202
+ requestBody: {
203
+ required: boolean;
204
+ content: {
205
+ 'application/json': {
206
+ schema: {
207
+ $ref: string;
208
+ };
209
+ };
210
+ };
211
+ };
212
+ responses: {
213
+ 200: {
214
+ description: string;
215
+ content: {
216
+ 'application/json': {
217
+ schema: {
218
+ $ref: string;
219
+ };
220
+ };
221
+ };
222
+ };
223
+ };
224
+ };
225
+ };
226
+ '/desktopRoutes:updateOrCreate': {
227
+ post: {
228
+ tags: string[];
229
+ summary: string;
230
+ description: string;
231
+ parameters: {
232
+ $ref: string;
233
+ }[];
234
+ requestBody: {
235
+ required: boolean;
236
+ content: {
237
+ 'application/json': {
238
+ schema: {
239
+ $ref: string;
240
+ };
241
+ };
242
+ };
243
+ };
244
+ responses: {
245
+ 200: {
246
+ description: string;
247
+ content: {
248
+ 'application/json': {
249
+ schema: {
250
+ $ref: string;
251
+ };
252
+ };
253
+ };
254
+ };
255
+ };
256
+ };
257
+ };
258
+ '/desktopRoutes:move': {
259
+ post: {
260
+ tags: string[];
261
+ summary: string;
262
+ description: string;
263
+ parameters: {
264
+ $ref: string;
265
+ }[];
266
+ responses: {
267
+ 200: {
268
+ description: string;
269
+ };
270
+ };
271
+ };
272
+ };
273
+ '/desktopRoutes:destroy': {
274
+ post: {
275
+ tags: string[];
276
+ summary: string;
277
+ description: string;
278
+ parameters: {
279
+ $ref: string;
280
+ }[];
281
+ responses: {
282
+ 200: {
283
+ description: string;
284
+ };
285
+ };
286
+ };
287
+ };
288
+ '/desktopRoutes:createV2': {
289
+ post: {
290
+ tags: string[];
291
+ summary: string;
292
+ description: string;
293
+ requestBody: {
294
+ required: boolean;
295
+ content: {
296
+ 'application/json': {
297
+ schema: {
298
+ $ref: string;
299
+ };
300
+ examples: {
301
+ createV2: {
302
+ summary: string;
303
+ value: {
304
+ schemaUid: string;
305
+ parentId: any;
306
+ title: string;
307
+ icon: string;
308
+ };
309
+ };
310
+ };
311
+ };
312
+ };
313
+ };
314
+ responses: {
315
+ 200: {
316
+ description: string;
317
+ content: {
318
+ 'application/json': {
319
+ schema: {
320
+ $ref: string;
321
+ };
322
+ };
323
+ };
324
+ };
325
+ 400: {
326
+ description: string;
327
+ content: {
328
+ 'application/json': {
329
+ schema: {
330
+ $ref: string;
331
+ };
332
+ };
333
+ };
334
+ };
335
+ 409: {
336
+ description: string;
337
+ content: {
338
+ 'application/json': {
339
+ schema: {
340
+ $ref: string;
341
+ };
342
+ };
343
+ };
344
+ };
345
+ };
346
+ };
347
+ };
348
+ '/desktopRoutes:destroyV2': {
349
+ post: {
350
+ tags: string[];
351
+ summary: string;
352
+ description: string;
353
+ requestBody: {
354
+ required: boolean;
355
+ content: {
356
+ 'application/json': {
357
+ schema: {
358
+ $ref: string;
359
+ };
360
+ examples: {
361
+ destroyV2: {
362
+ summary: string;
363
+ value: {
364
+ schemaUid: string;
146
365
  };
147
366
  };
148
367
  };
149
368
  };
150
369
  };
151
370
  };
371
+ responses: {
372
+ 200: {
373
+ description: string;
374
+ content: {
375
+ 'application/json': {
376
+ schema: {
377
+ $ref: string;
378
+ };
379
+ };
380
+ };
381
+ };
382
+ 400: {
383
+ description: string;
384
+ content: {
385
+ 'application/json': {
386
+ schema: {
387
+ $ref: string;
388
+ };
389
+ };
390
+ };
391
+ };
392
+ };
152
393
  };
153
394
  };
154
395
  };
@@ -191,13 +432,97 @@ declare const _default: {
191
432
  };
192
433
  };
193
434
  FilterQuery: {
435
+ name: string;
436
+ in: string;
437
+ description: string;
438
+ required: boolean;
439
+ content: {
440
+ 'application/json': {
441
+ schema: {
442
+ type: string;
443
+ additionalProperties: boolean;
444
+ };
445
+ };
446
+ };
447
+ };
448
+ FilterByTkQuery: {
449
+ name: string;
450
+ in: string;
451
+ description: string;
452
+ required: boolean;
453
+ schema: {
454
+ type: string;
455
+ };
456
+ };
457
+ FilterKeysQuery: {
458
+ name: string;
459
+ in: string;
460
+ description: string;
461
+ required: boolean;
462
+ schema: {
463
+ type: string;
464
+ items: {
465
+ type: string;
466
+ };
467
+ };
468
+ };
469
+ SourceIdQuery: {
470
+ name: string;
471
+ in: string;
472
+ description: string;
473
+ required: boolean;
474
+ schema: {
475
+ type: string;
476
+ };
477
+ };
478
+ TargetIdQuery: {
479
+ name: string;
480
+ in: string;
481
+ description: string;
482
+ required: boolean;
483
+ schema: {
484
+ type: string;
485
+ };
486
+ };
487
+ MethodQuery: {
488
+ name: string;
489
+ in: string;
490
+ description: string;
491
+ required: boolean;
492
+ schema: {
493
+ type: string;
494
+ };
495
+ };
496
+ SortFieldQuery: {
497
+ name: string;
498
+ in: string;
499
+ description: string;
500
+ required: boolean;
501
+ schema: {
502
+ type: string;
503
+ };
504
+ };
505
+ TargetScopeQuery: {
506
+ name: string;
507
+ in: string;
508
+ description: string;
509
+ required: boolean;
510
+ content: {
511
+ 'application/json': {
512
+ schema: {
513
+ type: string;
514
+ additionalProperties: boolean;
515
+ };
516
+ };
517
+ };
518
+ };
519
+ StickyQuery: {
194
520
  name: string;
195
521
  in: string;
196
522
  description: string;
197
523
  required: boolean;
198
524
  schema: {
199
525
  type: string;
200
- additionalProperties: boolean;
201
526
  };
202
527
  };
203
528
  };
@@ -209,23 +534,171 @@ declare const _default: {
209
534
  type: string;
210
535
  };
211
536
  };
537
+ ErrorItem: {
538
+ type: string;
539
+ required: string[];
540
+ properties: {
541
+ code: {
542
+ type: string;
543
+ };
544
+ message: {
545
+ type: string;
546
+ };
547
+ details: {
548
+ type: string;
549
+ additionalProperties: boolean;
550
+ };
551
+ opId: {
552
+ type: string;
553
+ };
554
+ opIndex: {
555
+ type: string;
556
+ };
557
+ };
558
+ additionalProperties: boolean;
559
+ };
560
+ ErrorResponse: {
561
+ type: string;
562
+ required: string[];
563
+ properties: {
564
+ errors: {
565
+ type: string;
566
+ items: {
567
+ $ref: string;
568
+ };
569
+ };
570
+ };
571
+ additionalProperties: boolean;
572
+ };
573
+ DataWrappedDesktopRouteListResponse: {
574
+ type: string;
575
+ properties: {
576
+ data: {
577
+ type: string;
578
+ items: {
579
+ $ref: string;
580
+ };
581
+ };
582
+ };
583
+ additionalProperties: boolean;
584
+ };
585
+ DataWrappedNullableDesktopRouteResponse: {
586
+ type: string;
587
+ properties: {
588
+ data: {
589
+ anyOf: ({
590
+ $ref: string;
591
+ type?: undefined;
592
+ } | {
593
+ type: string;
594
+ $ref?: undefined;
595
+ })[];
596
+ };
597
+ };
598
+ additionalProperties: boolean;
599
+ };
600
+ DataWrappedDesktopRouteResponse: {
601
+ type: string;
602
+ properties: {
603
+ data: {
604
+ $ref: string;
605
+ };
606
+ };
607
+ additionalProperties: boolean;
608
+ };
609
+ DataWrappedDesktopRouteOrListResponse: {
610
+ type: string;
611
+ properties: {
612
+ data: {
613
+ anyOf: ({
614
+ $ref: string;
615
+ type?: undefined;
616
+ items?: undefined;
617
+ } | {
618
+ type: string;
619
+ items: {
620
+ $ref: string;
621
+ };
622
+ $ref?: undefined;
623
+ })[];
624
+ };
625
+ };
626
+ additionalProperties: boolean;
627
+ };
628
+ DataWrappedDesktopRouteCreateV2Response: {
629
+ type: string;
630
+ properties: {
631
+ data: {
632
+ $ref: string;
633
+ };
634
+ };
635
+ additionalProperties: boolean;
636
+ };
637
+ DataWrappedOkResponse: {
638
+ type: string;
639
+ properties: {
640
+ data: {
641
+ $ref: string;
642
+ };
643
+ };
644
+ additionalProperties: boolean;
645
+ };
212
646
  DesktopRoute: {
213
647
  type: string;
214
648
  properties: {
215
649
  id: {
216
- type: string;
650
+ oneOf: {
651
+ type: string;
652
+ }[];
217
653
  };
218
654
  title: {
219
655
  type: string;
220
656
  };
657
+ tooltip: {
658
+ type: string;
659
+ nullable: boolean;
660
+ };
221
661
  type: {
222
662
  type: string;
223
663
  };
664
+ icon: {
665
+ type: string;
666
+ nullable: boolean;
667
+ };
224
668
  path: {
225
669
  type: string;
226
670
  nullable: boolean;
227
671
  };
228
672
  parentId: {
673
+ anyOf: {
674
+ type: string;
675
+ }[];
676
+ };
677
+ schemaUid: {
678
+ type: string;
679
+ nullable: boolean;
680
+ };
681
+ menuSchemaUid: {
682
+ type: string;
683
+ nullable: boolean;
684
+ };
685
+ tabSchemaName: {
686
+ type: string;
687
+ nullable: boolean;
688
+ };
689
+ hideInMenu: {
690
+ type: string;
691
+ nullable: boolean;
692
+ };
693
+ enableTabs: {
694
+ type: string;
695
+ nullable: boolean;
696
+ };
697
+ enableHeader: {
698
+ type: string;
699
+ nullable: boolean;
700
+ };
701
+ displayTitle: {
229
702
  type: string;
230
703
  nullable: boolean;
231
704
  };
@@ -233,6 +706,15 @@ declare const _default: {
233
706
  type: string;
234
707
  nullable: boolean;
235
708
  };
709
+ sort: {
710
+ type: string;
711
+ nullable: boolean;
712
+ };
713
+ options: {
714
+ type: string;
715
+ additionalProperties: boolean;
716
+ nullable: boolean;
717
+ };
236
718
  children: {
237
719
  type: string;
238
720
  items: {
@@ -242,6 +724,168 @@ declare const _default: {
242
724
  };
243
725
  additionalProperties: boolean;
244
726
  };
727
+ DesktopRouteCreateValues: {
728
+ type: string;
729
+ properties: {
730
+ type: {
731
+ type: string;
732
+ };
733
+ title: {
734
+ type: string;
735
+ };
736
+ tooltip: {
737
+ type: string;
738
+ };
739
+ icon: {
740
+ type: string;
741
+ };
742
+ parentId: {
743
+ anyOf: {
744
+ type: string;
745
+ }[];
746
+ };
747
+ schemaUid: {
748
+ type: string;
749
+ };
750
+ menuSchemaUid: {
751
+ type: string;
752
+ };
753
+ tabSchemaName: {
754
+ type: string;
755
+ };
756
+ hideInMenu: {
757
+ type: string;
758
+ };
759
+ enableTabs: {
760
+ type: string;
761
+ };
762
+ enableHeader: {
763
+ type: string;
764
+ };
765
+ displayTitle: {
766
+ type: string;
767
+ };
768
+ hidden: {
769
+ type: string;
770
+ };
771
+ sort: {
772
+ type: string;
773
+ };
774
+ options: {
775
+ type: string;
776
+ additionalProperties: boolean;
777
+ };
778
+ children: {
779
+ type: string;
780
+ items: {
781
+ type: string;
782
+ additionalProperties: boolean;
783
+ };
784
+ };
785
+ };
786
+ additionalProperties: boolean;
787
+ };
788
+ DesktopRouteUpdateValues: {
789
+ type: string;
790
+ additionalProperties: boolean;
791
+ };
792
+ DesktopRouteCreateV2Request: {
793
+ type: string;
794
+ required: string[];
795
+ properties: {
796
+ schemaUid: {
797
+ type: string;
798
+ };
799
+ parentId: {
800
+ anyOf: {
801
+ type: string;
802
+ }[];
803
+ };
804
+ title: {
805
+ type: string;
806
+ };
807
+ icon: {
808
+ type: string;
809
+ };
810
+ };
811
+ additionalProperties: boolean;
812
+ };
813
+ DesktopRouteCreateV2Response: {
814
+ type: string;
815
+ required: string[];
816
+ properties: {
817
+ page: {
818
+ type: string;
819
+ properties: {
820
+ id: {
821
+ oneOf: {
822
+ type: string;
823
+ }[];
824
+ };
825
+ schemaUid: {
826
+ type: string;
827
+ };
828
+ title: {
829
+ type: string;
830
+ };
831
+ icon: {
832
+ type: string;
833
+ nullable: boolean;
834
+ };
835
+ parentId: {
836
+ anyOf: {
837
+ type: string;
838
+ }[];
839
+ };
840
+ menuSchemaUid: {
841
+ type: string;
842
+ nullable: boolean;
843
+ };
844
+ };
845
+ additionalProperties: boolean;
846
+ };
847
+ defaultTab: {
848
+ type: string;
849
+ nullable: boolean;
850
+ properties: {
851
+ id: {
852
+ oneOf: {
853
+ type: string;
854
+ }[];
855
+ };
856
+ schemaUid: {
857
+ type: string;
858
+ };
859
+ tabSchemaName: {
860
+ type: string;
861
+ nullable: boolean;
862
+ };
863
+ };
864
+ additionalProperties: boolean;
865
+ };
866
+ };
867
+ additionalProperties: boolean;
868
+ };
869
+ DesktopRouteDestroyV2Request: {
870
+ type: string;
871
+ required: string[];
872
+ properties: {
873
+ schemaUid: {
874
+ type: string;
875
+ };
876
+ };
877
+ additionalProperties: boolean;
878
+ };
879
+ OkResponse: {
880
+ type: string;
881
+ required: string[];
882
+ properties: {
883
+ ok: {
884
+ type: string;
885
+ };
886
+ };
887
+ additionalProperties: boolean;
888
+ };
245
889
  };
246
890
  };
247
891
  };