- Fixes:
- `cli/runNopeBackend`: Fixing parameter `preventVarifiedNames` no works correctly.
# 1.3.14
- Fixes:
- `helpers/ui/helpers.nodejs`: Adding the option `upload-ui`
- `helpers/ui/helpers.nodejs`: Adding the option `upload-ui`
# 1.4.0
- Modified:
- asyncified all ui-related services.
- Adapted ui-defintion of functions:
- `autoGenBySchema` Helper to enable auto generating a configuration
- `requiresProviderForRendering` Flag to indicate, that rendering the service configuration requires a provider itself. This for instance is the case, if some needs to be called.
- `types/ui/editor/IServiceEditPage.ts`: Asnycify the Calls
- `types/ui/editor/render.callbacks.ts`: Asnycify the Calls
# 1.4.1
- Modified:
- loading all files related to `*.functions.js`
- Adapted the following files to implement that behavior:
- `getCentralDecoratedContainer` in `lib\decorators\container.ts` -> now provides services as Map
- `exportFunctionAsNopeService` in `lib\decorators\functionDecorators.ts` to work with the map.
- `loadFunctions` in `lib\loader\loadPackages.ts` to match the interface of `loadPackages` and add the functions to the package-loader.
- added the function `addDecoratedElements` in the package-loader and the interface.
- Added:
- `lib/cli/nope` adding scan for ui service
- `lib/decorators/container`: Main Container, holding all `methods` and `classes`. Use `getCentralDecoratedContainer()` to get this decorator.
- `types/nope/nopePackage.interface` added `IClassDescription` which contains the class description used in the Package Description.
- `logger/nopeLogger`: added methods: `enabledFor`, `enableFor`, `shouldLog`
- `package.json`: installed types of `ace` text editor.
- `ui/helpers.browser`: Created `convertInstanceRenderPage` and `IUiDefinition`
- `ui/helpers.nodejs`: Added a Helper to write the Ui-File (`writeUiFile`) and parse its arguments (`readInwriteUiFileArgs`)
- `ui/index.*`: Crated the corresponding exports.
- Modified:
- `lib/decorators/*` Adding the main `container` where every function, service method etc is added. All decorators now safe the decorated elements in the container.
- `helpers/json`: Adding `BEGIN_STR` and `END_STR` for parsing functions as constants.
- `logger/eventLogging`: simplify `useEventLogger`
- `logger/index.browser`: Adating exports.
- `loader/loadPackages`: Modifing `IPackageConfig` now extends Partial the `IPackageDescription`
- `types/ui/editor/IEditPage`: adapting Type of `getData` to `T`->`any`. Adapting the return of `getPorts` (The Ports will be generated in the ui then)
- `types/ui/editor/helpers.interface`: Adapting the `w2ui` and added `w2uiHelpers` and added `ace`. Rearanging `IRenderData` element. to compact the data.
- `types/ui/editor/render.callbacks`: Rearange the Generic Type of `TRenderInstancePage` and Renaming `TCreatorPage` to `TInstanceManagerPage`. Adapting the `option` of `TInstanceManagerPage` regarding the `createInstance` and `instances`
- `types/ui/editor/index`: Adapting the Exports.
- `lib/index.browser`: Exporting `ui` elements
- `lib/index.nodejs`: Exporting `ui` elements
- `lib/types/index`: Exporting `ui` elements
- Fixes:
- `types/nope/nopeInstanceManager.interface`: Fixing Type of createInstance. Now the Type `I` extends `INopeModule` instead of being set to `IGenericNopeModule`
- Modified:
- cli.runNopeBackend: added the flag "noBaseServices" to prevent providing the base-services
- communication.getLayer.nodejs/browser: adding default value for logger
- dispatcher.getDispatcher: changed option "constructorClass" to "dispatcherConstructorClass"
- helpers.limit.spec: Adapted Timings
- loader.getPackageLoader.nodejs/browser: Changed the options.
- Fixes:
- helpers.jsonSchemaMethods: -> renamed flatten to nested.
- Added:
- helpers.descriptors: -> parseFunctionToJsonSchema
- helpers.jsonSchemaMethods: -> added `flattenSchema` and `reduceSchema`. This Function will create a nested JSON-Schema.
- log-to-file: is now storing the last logs as well
- nope-package-loader: is transmitting the correct parameters.
- Optimazations:
- nope-package-loader: now storing elements with stringifyWithFunctions and is capable to read functions.
- pub-sub-system: Adding partial changes of the topic structure. This speeds up the entire system.