- 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.
38 lines
798 B
TypeScript
38 lines
798 B
TypeScript
// @serve.zone scope
|
|
import * as servezoneInterfaces from '@serve.zone/interfaces';
|
|
|
|
export {
|
|
servezoneInterfaces
|
|
}
|
|
|
|
// @push.rocks scope
|
|
import * as smartexpect from '@push.rocks/smartexpect';
|
|
import * as smartpromise from '@push.rocks/smartpromise';
|
|
import * as smartrx from '@push.rocks/smartrx';
|
|
import * as webstream from '@push.rocks/smartstream/web';
|
|
|
|
export {
|
|
smartexpect,
|
|
smartpromise,
|
|
smartrx,
|
|
webstream,
|
|
}
|
|
|
|
// @api.global scope
|
|
import * as typedrequest from '@api.global/typedrequest';
|
|
import * as typedsocket from '@api.global/typedsocket';
|
|
import * as typedRequestInterfaces from '@api.global/typedrequest-interfaces';
|
|
|
|
export {
|
|
typedrequest,
|
|
typedsocket,
|
|
typedRequestInterfaces,
|
|
}
|
|
|
|
// @tsclass scope
|
|
import * as tsclass from '@tsclass/tsclass';
|
|
|
|
export {
|
|
tsclass,
|
|
}
|