@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.
|
@@ -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 = {
|