Commit Graph

327 Commits

Author SHA1 Message Date
bdd257545b adding new files in 1.4.6 2022-11-06 11:44:49 +01:00
97a6031d32 updating to version 1.4.6 2022-11-05 22:22:06 +01:00
77630c315b updating to version 1.4.5 2022-11-01 20:55:43 +01:00
Martin Karkowski
881456b2ca # 1.4.4
- Modified:
    - Renamed the decorator `exportFunctionAsNopeService` -> `exportAsNopeService` and the Interface `IexportFunctionAsNopeServiceParameters` -> `IexportAsNopeServiceParameters`
    - `NopeInstanceManager` and `GenericWrapper`: Now receives a factory to generate the a `NopeEventEmitter`:
      - This affects a lot packages.
    - `NopeModule`:
      - renamed `listFunctions` to `listMethods`
      - renamed `functions` is now called `methods`
      - The Description format is being updated (`functions` is now called `methods`)
  - Fixes:
    - `NopeModule`:
      - Now disposes Emitters as Properties as well
      - `getIdentifierOf` checks event emitters as well now.
    - `GenericWrapper`:
      - Now automatically registers emitters as well.
  - Added:
    -  `NopeModule`: Added the method `listEvents` (to show the available Emitters registered as Properties.)
2022-10-29 07:52:14 +02:00
Martin Karkowski
2f6f71eb8f Correcting version in files. And adapting internal name of cli-parameter 2022-10-27 20:13:20 +02:00
a4ed621237 updating to version 1.4.2 2022-10-10 08:17:36 +02:00
Martin Karkowski
90783572b4 # 1.4.1
- Fixes:
    - Fixing time based issue in `ConnectivityManager` (using the now synced time for checkups)
      - `dispatchers.ConnectivityManager.ConnectivityManager`: fixing `_checkDispatcherHealth`
    - Fixing `extractUniqueValues` now it is possible to use different pathes for the `key` and `value`
      - `lib\helpers\mapMethods.ts` has been adapted
    - `lib\pubSub\nopePubSubSystem.ts` contains the following fixes:
      - fixing typo of method `updateMatching`
  - Modified:
    - `lib\pubSub\nopePubSubSystem.ts`:
      - throws error if `register` method doest not contain a topic.
      - Adapted the behavior of `_patternbasedPullData`. If no default default value is present -> the function returns an empty array.
2022-10-08 07:15:33 +02:00
Martin Karkowski
fa234b9a9b # 1.4.1
- Fixes:
    - Fixing time based issue in `ConnectivityManager` (using the now synced time for checkups)
      - `dispatchers.ConnectivityManager.ConnectivityManager`: fixing `_checkDispatcherHealth`
    - Fixing `extractUniqueValues` now it is possible to use different pathes for the `key` and `value`
      - `lib\helpers\mapMethods.ts` has been adapted
2022-10-04 08:06:03 +02:00
Martin Karkowski
02f951aa7d # 1.3.13
- 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.
2022-09-20 20:54:53 +02:00
Martin Karkowski
21688fb1fe # 1.3.10
- Modified:
    - `helpers/limit`: Adding parameter `assignControlFunction` to assing the controll function.
    - `helpers/index`: modified the export of the `limit` stuff.
  - Added:
    - `helpers/functionMethods*`: Added helpers for functions

# 1.3.11
  - Modified:
    - `helpers/functionMethods`: Adding `asnyc` detection

# 1.3.12
  - Modified:
    - `helpers/limit`: added the option `minDelay`. If provided, the calles are ensured to be delayed with this options. If `0` or smaller -> no delay is added.
2022-08-23 22:22:28 +02:00
Martin Karkowski
d2be54d69a # 1.3.8
- Modified:
    - `helpers/limit`: Now providing an logger level in the options, results in creating a logger and logging the desired messages in the provided level.

# 1.3.9
  - Fixing:
    - `helpers/limit`: Now enrows all functions provided.
2022-08-23 12:34:00 +02:00
Martin Karkowski
d240840d4e # 1.3.5
- reverting 1.3.3
  - Added:
    - `helpers/stringMethods`: Added the function `varifyString`
  - Modified:
    - `dispatcher/instanceManager/InstanceManager`: Adapting the name of the instance to use a valid instance name.
    - `dispatcher/rpcManager/rpcManager`: Adapting the name of the service to use a valid service name.
    - `cli/runNopeBackend`: Adapting the name of the service to use a valid service name.

# 1.3.6
  - Added:
    - `cli/runNopeBackend`: Added the a helper to add varify the `name`. (see modifications in `dispatcher/InstanceManager/InstanceManager`, `dispatcher/RpcManager/NopeRpcManager`)
  - Modified:
    - `helpers/stringMethods`: added function `union` and `difference`.
    - `helpers/setMethods`: added function `varifyString`.
    - `types/nope/nopeDispatcher.interface`: Added option `forceUsingValidVarNames`
  - Fixes:
    - `types/nope/nopeInstanceManager.interface`: Fixed the typing of `getInstancesOfType` and `createInstance`

# 1.3.7
  - Fixes:
    - `helpers/mapMethods`: Fixing `tranformMap`. Now correctly assigning `onlyValidProps`
2022-08-23 09:50:45 +02:00
Martin Karkowski
a5760014a3 Providing update. 2022-08-16 16:45:30 +02:00
Martin Karkowski
8ce9334eab Switching to Version 1.3.1 2022-08-16 10:02:42 +02:00
Martin Karkowski
ae2204d470 Adding comments 2022-08-16 09:46:57 +02:00
462b9f5015 adding comments 2022-08-02 22:56:08 +02:00
388f566eae adding comments 2022-08-02 22:33:38 +02:00
fe66f41ddd auto formating 2022-08-02 22:31:48 +02:00
46b0a49241 fixing switch-cases and arrow-functions, that they can be parsed 2022-07-25 07:36:40 +02:00
Martin Karkowski
4535821e8c Adapting Arrow-Functions 2022-07-23 07:34:38 +02:00
2b9f5d6913 adding commits from main dir 2022-07-17 22:26:33 +02:00
Martin Karkowski
a919968f9c # 1.2.2
- Modified:
  - renaming the following constants in  `lib/types/ui/editor/INodes`:
    - NODE_TYPE_CONSTANT = "node:data:constant";
    - NODE_TYPE_DATA_TO_TOKEN = "node:logic:data-to-token";
    - NODE_TYPE_FLOW_OPERATION = "node:logic:flow";
    - NODE_TYPE_PLACE = "node:logic:place";
    - NODE_TYPE_TOKEN_TO_DATA = "node:logic:token-to-data";
    - NODE_TYPE_TRANSITION = "node:logic:transition";
    - NODE_TYPE_VAR = "node:data:constant";
    - NODE_TYPE_MODULE = "node:module";
  - updating `TServiceGetPortsReturn` (adding `label` and removing `type`)and `IServiceEditPage` (remove `getPorts`) in  `lib/types/ui/editor/IServiceEditPage`
  - relocating `IUiDefinition` to `lib/types/ui/helpers.interface`
    - influences `lib/ui/helpers.browser` and `lib/ui/helpers.nodejs`

- fixing Link.bat
2022-07-15 15:56:16 +02:00
39d7fe720e Backup 2022-07-07 09:14:22 +02:00
338a488ec7 updating to version 1.2.1 2022-07-05 08:32:11 +02:00
20112adbe5 # 1.2.0
- 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`
2022-07-02 11:30:10 +02:00
ed608e613e adding author 2022-06-28 07:21:05 +02:00
935b6a7abf # 1.1.1
- Added:
  - Added `internalInstances: INopeObservable<string[]>` to `InstanceManager`.:
  - Added dev-depencies for libraries.
- Modified:
  - Modified `addAllBaseServices` now includes some options, which can be used to determine the specific service to load.
2022-06-27 11:46:29 +02:00
d67e1de191 v1.1.0 - adding ui types 2022-06-24 07:45:01 +02:00
ab6085a7e3 small fixes for the imports 2022-06-22 20:10:53 +02:00
02c7ac9e5d Fixing Master interface. 2022-04-20 14:31:31 +02:00
2afbdb5a53 Formatting and adapting version. 2022-04-08 09:35:02 +02:00
f4d0460ec2 # 1.0.34
- Fixes:
  - dispatchers.ConnectivityManager.ConnectivityManager: fixing isMaster- Fixed
- Modified:
  - types.nope.ConnectivityManager.interface:
    - INopeStatusInfo.upTime =renamed=> connectedSince
    - INopeConnectivityManager added => "upTime" and "connectedSince"
  - dispatchers.ConnectivityManager.ConnectivityManager:
    - INopeConnectivityManager added "connectedSince" (which is expressed in the adapted Timestamp.)
- Added:
  - dispatchers.ConnectivityManager.ConnectivityManager.spec: Added Master - Test
2022-04-08 09:33:31 +02:00
4791914998 # 1.0.33
- 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.
2022-04-08 08:10:39 +02:00
ee1d690dc8 # 1.0.32
- Fixes:
  - helpers.singleton: work with `Symbol.for`
  - symbols.symbols: work with `Symbol.for`
2022-04-06 20:58:25 +02:00
daaa0fd51a # 1.0.29
- Added:
  - helpers.limit: limitedCalls -> Functinality to limit parallel calls.

# 1.0.30
- Added:
  - helpers.limit: getLimitedOptions -> Helper to get the correspondings options
  - helpers.limit.spec: Adding test cases

# 1.0.31
- Modified:
  - helpers.singleton: Prevent using symbols, to make global version work with local version.
2022-04-06 20:50:54 +02:00
44dcfee9a5 # 1.0.28
- Fixes:
  - communication.layer.events: -> fixing receivingOwnMessages.
  - runNopeBackend -> if io-server is used, no configuration file is loaded
2022-03-22 21:22:37 +01:00
d911380511 # 1.0.27
- 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.
2022-03-22 10:12:32 +01:00
d81eddd7a6 Adding a Helper to idenfitify valid json-schemas. 2022-03-21 15:56:06 +01:00
39c50061dc # 1.0.26
- Fixes:
  - pub-sub-system: Fixed `_notify` and `_partialMatchingUpdate`
- Added:
  - pub-sub-system: Listeners receive now: topicOfContent (the path of the data that is extracted), topicOfChange (the path of the data that emitted teh update), topicOfSubscription (the subscription.),
  - nope repl: Added the context `nope`
2022-03-21 13:45:08 +01:00
f0032eef63 - Fixes:
- 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.
2022-03-19 07:39:34 +01:00
bb89d6b3b5 Enabling Profiling and small bug-fixes 2022-03-18 09:06:45 +01:00
2cd0ff596f Using deepEqual in observables. 2022-02-01 12:59:27 +01:00
eda224bd55 Fixing Typings 2022-02-01 08:20:16 +01:00
03b38f7f66 fixing docu 2022-01-28 14:38:33 +01:00
dc4cc0ef50 fixing issues 2022-01-26 13:03:03 +01:00
09268ab20a Using Formater to clean code 2022-01-25 20:44:42 +01:00
c42dec645a Fixing Tests.
Fixing mapMethods,
Adding additional Tests
Fixing Testing Location in package.json
2022-01-25 20:43:17 +01:00
35bf6f9e54 fixing minor issues 2022-01-21 16:17:40 +01:00
b99c1edc6c Adding comments and allowing base-services to be skipped 2022-01-20 12:59:32 +01:00
cf5aec61c0 Updating doku 2022-01-20 11:02:38 +01:00