@corva/ui 3.76.0-10 → 3.76.0-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.
- package/mcp-server/server.mjs +2 -2
- package/package.json +1 -1
package/mcp-server/server.mjs
CHANGED
|
@@ -248,7 +248,7 @@ const validateDsn = dsn => {
|
|
|
248
248
|
|
|
249
249
|
const MCP_SERVER_VERSION = '1.5.0';
|
|
250
250
|
|
|
251
|
-
var version = "3.76.0-
|
|
251
|
+
var version = "3.76.0-11";
|
|
252
252
|
|
|
253
253
|
const CORVA_UI_VERSION = version;
|
|
254
254
|
|
|
@@ -17122,7 +17122,7 @@ var componentsV1Data = [{
|
|
|
17122
17122
|
code: "<div style={{ height: '300px', position: 'relative' }}>\n <DevCenterAppContainer\n {...appContainerProps}\n dashboardMeta={{ isMultiAsset: false, isMultiWell: false }}\n />\n </div>"
|
|
17123
17123
|
}, {
|
|
17124
17124
|
name: "AppCommonsContext",
|
|
17125
|
-
description: "App container provides an app context with general info about app, its maximized state, etc.\n\nYou can use it with `useAppCommons` hook from `/effects`.\n\nContext's type is:\n\n```tsx\nexport type AppCommonsContextType = {\n maximized: boolean;\n appId: number;\n app: App;\n appKey: string;\n appSettings: AppSettings;\n onSettingChange: (key: string, value: unknown) => void;\n\n well?: Well;\n rig?: Asset;\n fracFleet?: FracFleet;\n wells?: Well[];\n\n dashboardMeta?: {\n isMultiAsset?: boolean;\n isMultiWell?: boolean;\n };};\n```",
|
|
17125
|
+
description: "App container provides an app context with general info about app, its maximized state, etc.\n\nYou can use it with `useAppCommons` hook from `/effects`.\n\nContext's type is:\n\n```tsx\nexport type AppCommonsContextType = {\n maximized: boolean;\n appId: number;\n app: App;\n appKey: string;\n appSettings: AppSettings;\n onSettingChange: (key: string, value: unknown) => void;\n\n well?: Well;\n rig?: Asset;\n fracFleet?: FracFleet;\n wells?: Well[];\n\n dashboardMeta?: {\n isEmbedded?: boolean; // Host owns app identity and maximization controls\n isMultiAsset?: boolean;\n isMultiWell?: boolean;\n wellPlanning?: { assetId: number | null; dashboardId: string; defaultDashboardKind?: string; segment: string | null };\n };};\n```",
|
|
17126
17126
|
code: "{\n const CliApp = () => {\n const commons = useAppCommons();\n return (\n <div style={{ height: '100%', overflow: 'auto' }}>\n <Text>App Commons: {JSON.stringify(commons)}</Text>\n </div>\n );\n };\n\n return (\n <div style={{ height: '200px', position: 'relative' }}>\n <DevCenterAppContainer\n {...appContainerProps}\n CLIAppComponent={CliApp}\n dashboardMeta={{ isMultiAsset: false, isMultiWell: false }}\n />\n </div>\n );\n}"
|
|
17127
17127
|
}, {
|
|
17128
17128
|
name: "UsageWithAppContainer",
|