- Added typedRequestInterfaces import to plugins.ts for better type handling. - Updated CLI client to utilize environment variables for Cloudly API credentials and improved authentication flow. - Refactored appstate.ts to use a shared API client instance, reducing redundancy in API calls for various actions. - Simplified external registry actions in appstate.ts by leveraging the shared API client. - Updated CloudlyDashboard and CloudlyViewSettings components to utilize the shared API client for fetching settings and managing connections. - Removed redundant TypedRequest instances in favor of direct API client calls for improved performance and maintainability. - Exposed the API client in plugins.ts for easier access in UI components.
26 lines
620 B
TypeScript
26 lines
620 B
TypeScript
import * as interfaces from '@serve.zone/interfaces';
|
|
|
|
export {
|
|
interfaces
|
|
}
|
|
|
|
// @design.estate scope
|
|
import * as deesDomtools from '@design.estate/dees-domtools';
|
|
import * as deesElement from '@design.estate/dees-element';
|
|
import * as deesCatalog from '@design.estate/dees-catalog';
|
|
|
|
export { deesDomtools, deesElement, deesCatalog };
|
|
|
|
// @push.rocks scope
|
|
import * as webjwt from '@push.rocks/webjwt';
|
|
import * as smartstate from '@push.rocks/smartstate';
|
|
|
|
export {
|
|
webjwt,
|
|
smartstate,
|
|
}
|
|
|
|
// Expose API client so UI can share it with CLI
|
|
import * as servezoneApi from '@serve.zone/api';
|
|
export { servezoneApi };
|