@venizia/ardor-kernel
v0.1.1
Published
ARDOR kernel - the isomorphic core of the ARDOR frontend framework: application base on IGNIS inversion, service and CRUD bases, request/auth constants, binding keys, logger, network fetchers and socket client. No React and no react-admin.
Readme
@venizia/ardor-kernel
The isomorphic core of ARDOR. No React, no react-admin - the layer a browser data client and a plain TypeScript consumer can both use.
bun add @venizia/ardor-kernel @venizia/ignis-inversion @venizia/ignis-filter reflect-metadataMost applications install @venizia/ardor instead,
which re-exports this package.
What is in it
| Area | Exports |
|---|---|
| Application | AbstractArdorApplication, BaseArdorApplication - an IGNIS inversion Container with injectable() and service() helpers |
| Services | BaseService, DefaultAuthService, DefaultNetworkRequestService |
| Providers | BaseProvider |
| Decorators | api() - logs and rethrows a failing API method |
| Bindings | CoreBindings, LocalStorageKeys |
| Constants | RequestMethods, RequestTypes, RequestBodyTypes, RequestCountData, HeaderConsts, Environments, App |
| Network | AxiosNetworkRequest, NodeFetchNetworkRequest, AxiosFetcher, NodeFetcher |
| Helpers | Logger, BaseHelper, SocketIOClientHelper |
| Utilities | isDefined, isString, isNumber, isBrowser, isValidDate, isEditableTarget, int, float, toBoolean, toStringDecimal, getUID, keysToCamel, blobToBase64, stringify, parse |
| Types | IdType, AnyType, AnyObject, ValueOrPromise, ValueOf, TConstValue, TPaths, TFullPaths, ISendParams, IRestDataProviderOptions, IApplicationInfo, ICrudService, ... |
License
MIT - see LICENSE.md.
