getRootAppState
client.application.getRootAppState(): Promise<RootAppState>
Retrieves the root application state.
Returns the top-level state object that encompasses all workspace and global application settings.
Parameters
No parameters.
Returns
Promise<RootAppState> — A promise that resolves to the RootAppState object
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.application.getRootAppState();
console.log(result);