@omniviewdev/runtime 0.1.4 → 0.1.5

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.
@@ -4,6 +4,7 @@ export type ShowResourceSidebarParams = {
4
4
  connectionID: string;
5
5
  resourceKey: string;
6
6
  resourceID: string;
7
+ resourceName?: string;
7
8
  namespace?: string;
8
9
  };
9
10
  export interface RightDrawerContextType {
@@ -122,6 +122,10 @@ export type DrawerContext<T = any> = {
122
122
  * The id of the resource in question
123
123
  */
124
124
  id: string;
125
+ /**
126
+ * A human-readable display name for the resource, shown in the drawer header.
127
+ */
128
+ name?: string;
125
129
  /**
126
130
  * The resource key that defines the globally-recognizable key
127
131
  */
@@ -144,7 +148,7 @@ export type BottomDrawerTab = {
144
148
  createdAt: Date;
145
149
  updatedAt: Date;
146
150
  icon?: string | React.ReactNode;
147
- variant: 'terminal' | 'logs' | 'editor' | 'browser' | 'file' | 'devbuild' | 'other';
151
+ variant: 'terminal' | 'logs' | 'editor' | 'browser' | 'file' | 'devbuild' | 'editor-debug' | 'other';
148
152
  properties?: Record<string, unknown>;
149
153
  };
150
154
  export type FindTabOpts = {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Omniview",
3
3
  "license": "AGPL-3.0-only",
4
4
  "name": "@omniviewdev/runtime",
5
- "version": "0.1.4",
5
+ "version": "0.1.5",
6
6
  "description": "Runtime shared library for Omniview",
7
7
  "sideEffects": false,
8
8
  "type": "module",