@ocelescope/api-base 0.10.0 → 0.10.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -7
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -357,7 +357,7 @@ export declare const TableColumnDataType: {
357
357
  readonly datetime: "datetime";
358
358
  };
359
359
  /**
360
- * Column definition for a `Table` visualization.
360
+ * Column definition for a `TableViz` visualization.
361
361
  *
362
362
  * Attributes:
363
363
  * id: Column id (used as key in each row dict).
@@ -373,7 +373,7 @@ export interface TableColumn {
373
373
  sortable?: boolean;
374
374
  visible?: boolean;
375
375
  }
376
- export type TableRowsItem = {
376
+ export type TableVizRowsItem = {
377
377
  [key: string]: unknown;
378
378
  };
379
379
  /**
@@ -386,10 +386,10 @@ export type TableRowsItem = {
386
386
  * columns: Column definitions.
387
387
  * rows: List of row dicts.
388
388
  */
389
- export interface Table {
389
+ export interface TableViz {
390
390
  type?: 'table';
391
391
  columns: TableColumn[];
392
- rows: TableRowsItem[];
392
+ rows: TableVizRowsItem[];
393
393
  }
394
394
  /**
395
395
  * SVG visualization.
@@ -494,7 +494,7 @@ export interface OCDirectlyFollowsGraphViz {
494
494
  }
495
495
  export interface GetResourceResponse {
496
496
  resource: ResourceApi;
497
- visualization: Graph | Table | SVGVis | DotVis | Plotly | PetriNetViz | OCPetriNetViz | DirectlyFollowsGraphViz | OCDirectlyFollowsGraphViz | null;
497
+ visualization: Graph | TableViz | SVGVis | DotVis | Plotly | PetriNetViz | OCPetriNetViz | DirectlyFollowsGraphViz | OCDirectlyFollowsGraphViz | null;
498
498
  }
499
499
  export type ValidationErrorCtx = {
500
500
  [key: string]: unknown;
@@ -550,7 +550,7 @@ export interface PluginOutput {
550
550
  result_index: number;
551
551
  default_name: string;
552
552
  type_label: string;
553
- visualization: Graph | Table | SVGVis | DotVis | Plotly | PetriNetViz | OCPetriNetViz | DirectlyFollowsGraphViz | OCDirectlyFollowsGraphViz | null;
553
+ visualization: Graph | TableViz | SVGVis | DotVis | Plotly | PetriNetViz | OCPetriNetViz | DirectlyFollowsGraphViz | OCDirectlyFollowsGraphViz | null;
554
554
  }
555
555
  export interface ResourceInfo {
556
556
  label: string;
@@ -2509,4 +2509,5 @@ export declare function useRunSqlQuery<TData = Awaited<ReturnType<typeof runSqlQ
2509
2509
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2510
2510
  queryKey: DataTag<QueryKey, TData, TError>;
2511
2511
  };
2512
- //#endregion
2512
+ //#endregion
2513
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocelescope/api-base",
3
3
  "type": "module",
4
- "version": "0.10.0",
4
+ "version": "0.10.2",
5
5
  "description": "Generated, type-safe client + hooks for the Ocelescope Base backend.",
6
6
  "author": "Görkem-Emre Öztürk <goerkem.oeztuerk@rwth-aachen.de>",
7
7
  "license": "MIT",
@@ -27,18 +27,18 @@
27
27
  "access": "public"
28
28
  },
29
29
  "peerDependencies": {
30
- "@ocelescope/api-client": "^0.10.0",
31
- "@tanstack/react-query": "^5.90.21",
30
+ "@ocelescope/api-client": "^0.10.2",
31
+ "@tanstack/react-query": "^5.104.2",
32
32
  "axios": "^1.20.0",
33
33
  "react": "^19.3.0",
34
34
  "react-dom": "^19.3.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@ocelescope/api-config": "^0.10.0",
37
+ "@ocelescope/api-config": "^0.10.2",
38
38
  "@types/node": "^26.6.1",
39
39
  "@types/react": "^19.3.0",
40
40
  "@types/react-dom": "^19.3.0",
41
- "tsdown": "^0.23.0",
41
+ "tsdown": "^0.23.1",
42
42
  "typescript": "^6.0.3"
43
43
  },
44
44
  "scripts": {