Skip to content

Add class registering way of registering stuff#21

Merged
nicosammito merged 60 commits into
mainfrom
20-add-new-way-of-registering-functions
Jun 18, 2026
Merged

Add class registering way of registering stuff#21
nicosammito merged 60 commits into
mainfrom
20-add-new-way-of-registering-functions

Conversation

@Knerio

@Knerio Knerio commented Apr 7, 2026

Copy link
Copy Markdown
Member

close #20

@Knerio Knerio requested a review from nicosammito April 7, 2026 20:15
@Knerio Knerio self-assigned this Apr 7, 2026
Comment thread ts/examples/simple-example-ts/index.ts Outdated
Comment thread ts/src/action_sdk.ts Outdated
@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/hercules/-/pipelines/2612334767

Status: Passed
Duration: 2 minutes

Job summaries

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/14927517336/artifacts/out/index.html

@Knerio Knerio force-pushed the 20-add-new-way-of-registering-functions branch from d25c501 to 52d7868 Compare April 9, 2026 19:08
@Knerio Knerio requested a review from nicosammito April 9, 2026 19:32

@nicosammito nicosammito left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sdk is in generally really confusing and it's hard to understand what and when something is happening.

Comment thread ts/examples/simple-example-ts/index.ts Outdated
Comment thread ts/examples/simple-example-ts/index.ts Outdated
@@ -0,0 +1,18 @@
import { defineConfig } from 'vite';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing in package.json

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean?

Comment thread ts/examples/simple-example-ts/vite.config.ts
Comment thread ts/src/types.ts Outdated
Comment thread ts/src/sdk/connection/connection.ts Outdated
Comment thread ts/src/sdk/connection/connection.ts Outdated
Comment thread ts/src/action_sdk.ts Outdated
Comment thread ts/src/action_sdk.ts Outdated
import {registerRuntimeFunctionDefinitionClass} from "./builder/registerRuntimeFunctionDefinitionClass";


const createSdk = (config: ActionSdk["config"], configDefinitions?: HerculesActionConfigurationDefinition[]): ActionSdk => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using EventEmitter in general for js based communication?

Comment thread ts/src/sdk/builder/registerFunctionDefinitionClass.ts Outdated
@Knerio Knerio force-pushed the 20-add-new-way-of-registering-functions branch 2 times, most recently from f2ffbcf to 8719635 Compare April 11, 2026 15:49
@nicosammito nicosammito force-pushed the 20-add-new-way-of-registering-functions branch from 3641622 to 53d90c6 Compare June 18, 2026 16:32
@nicosammito nicosammito merged commit f54cf42 into main Jun 18, 2026
2 checks passed
@nicosammito nicosammito deleted the 20-add-new-way-of-registering-functions branch June 18, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add new way of registering functions

2 participants