@pstdio/workbench 0.3.0 → 0.4.0
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.
- package/dist/extensions.d.ts +31 -2
- package/dist/extensions.js +87 -73
- package/dist/extensions.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js.map +1 -1
- package/dist/react.d.ts +10 -0
- package/dist/react.js +1210 -1187
- package/dist/react.js.map +1 -1
- package/dist/testing.d.ts +10 -0
- package/package.json +2 -2
package/dist/react.d.ts
CHANGED
|
@@ -434,6 +434,8 @@ declare interface DataTableRendererContribution {
|
|
|
434
434
|
title: string;
|
|
435
435
|
resourceKind?: string;
|
|
436
436
|
columns?: DataTableRendererColumn[];
|
|
437
|
+
selectionMode?: "none" | "multiple";
|
|
438
|
+
selectionActions?: DataTableRendererSelectionAction[];
|
|
437
439
|
rowActions?: DataTableRendererRowAction[];
|
|
438
440
|
initialPageSize?: number;
|
|
439
441
|
pageSizeOptions?: number[];
|
|
@@ -486,6 +488,14 @@ declare interface DataTableRendererRowAction {
|
|
|
486
488
|
run(row: DataTableRendererRow): Promise<void> | void;
|
|
487
489
|
}
|
|
488
490
|
|
|
491
|
+
declare interface DataTableRendererSelectionAction {
|
|
492
|
+
id: string;
|
|
493
|
+
label: string;
|
|
494
|
+
icon?: unknown;
|
|
495
|
+
destructive?: boolean;
|
|
496
|
+
run(rows: DataTableRendererRow[]): Promise<void> | void;
|
|
497
|
+
}
|
|
498
|
+
|
|
489
499
|
declare interface DataTableRendererStoreState {
|
|
490
500
|
renderers: Record<string, RegisteredDataTableRendererContribution>;
|
|
491
501
|
}
|