@codemation/host 0.1.3 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/{AppConfigFactory-_fqSok1J.d.ts → AppConfigFactory-BiFHnorf.d.ts} +3 -3
- package/dist/{CodemationConfig-CNfytKR6.d.ts → CodemationConfig-DuGk7uN5.d.ts} +2 -2
- package/dist/{CodemationConfigNormalizer-BuKWVNEq.d.ts → CodemationConfigNormalizer-BP2-0ZDE.d.ts} +2 -2
- package/dist/{CodemationConsumerConfigLoader-Mv4cywWu.d.ts → CodemationConsumerConfigLoader-D5CSz3TQ.d.ts} +2 -2
- package/dist/{CodemationPluginListMerger-BD5mR6gK.d.ts → CodemationPluginListMerger-DFzGgfyI.d.ts} +5 -5
- package/dist/{CredentialServices-BQsEtctT.d.ts → CredentialServices-Bhejvys-.d.ts} +3 -3
- package/dist/{PublicFrontendBootstrapFactory-kTyAJdHI.d.ts → PublicFrontendBootstrapFactory-CSgWyTra.d.ts} +2 -2
- package/dist/consumer.d.ts +4 -4
- package/dist/credentials.d.ts +3 -3
- package/dist/devServerSidecar.d.ts +1 -1
- package/dist/{index-CX752QE9.d.ts → index-BQaZZmOm.d.ts} +62 -12
- package/dist/index.d.ts +13 -13
- package/dist/nextServer.d.ts +7 -7
- package/dist/{persistenceServer-CLY4qtMo.d.ts → persistenceServer-fdldtXJH.d.ts} +2 -2
- package/dist/persistenceServer.d.ts +5 -5
- package/dist/{server-DwpcwzFb.d.ts → server-Cpzpy1Ar.d.ts} +5 -5
- package/dist/server.d.ts +8 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @codemation/host
|
|
2
2
|
|
|
3
|
+
## 0.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`bb2b3b8`](https://github.com/MadeRelevant/codemation/commit/bb2b3b89069697c6aa36aac1de7124c5eea65c3e)]:
|
|
8
|
+
- @codemation/core@0.3.0
|
|
9
|
+
- @codemation/core-nodes@0.0.25
|
|
10
|
+
- @codemation/eventbus-redis@0.0.25
|
|
11
|
+
|
|
12
|
+
## 0.1.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`d3a4321`](https://github.com/MadeRelevant/codemation/commit/d3a4321dc178df51dfd61cc6eb872ccca36bbcdb)]:
|
|
17
|
+
- @codemation/core@0.2.3
|
|
18
|
+
- @codemation/core-nodes@0.0.24
|
|
19
|
+
- @codemation/eventbus-redis@0.0.24
|
|
20
|
+
|
|
21
|
+
## 0.1.4
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`74dc571`](https://github.com/MadeRelevant/codemation/commit/74dc571afb592bd7c05297b25f9f1fb06a46815f), [`74dc571`](https://github.com/MadeRelevant/codemation/commit/74dc571afb592bd7c05297b25f9f1fb06a46815f)]:
|
|
26
|
+
- @codemation/core@0.2.2
|
|
27
|
+
- @codemation/core-nodes@0.0.23
|
|
28
|
+
- @codemation/eventbus-redis@0.0.23
|
|
29
|
+
|
|
3
30
|
## 0.1.3
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as AppPersistenceConfig, g as AppConfig } from "./CodemationConfig-
|
|
2
|
-
import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-
|
|
1
|
+
import { _ as AppPersistenceConfig, g as AppConfig } from "./CodemationConfig-DuGk7uN5.js";
|
|
2
|
+
import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-BP2-0ZDE.js";
|
|
3
3
|
import { AnyNull, AnyNullClass, DbNull, DbNullClass, Decimal, JsonNull, JsonNullClass, NullTypes as NullTypes$1, ObjectEnumValue, PrismaClientInitializationError, PrismaClientKnownRequestError, PrismaClientRustPanicError, PrismaClientUnknownRequestError, PrismaClientValidationError, RawValue, Sql, Value, empty, isAnyNull, isDbNull, isJsonNull, isObjectEnumValue, join, raw, sql as sqltag } from "@prisma/client-runtime-utils";
|
|
4
4
|
|
|
5
5
|
//#region src/infrastructure/persistence/generated/prisma-postgresql-client/runtime/client.d.ts
|
|
@@ -28903,4 +28903,4 @@ declare class AppConfigFactory {
|
|
|
28903
28903
|
}
|
|
28904
28904
|
//#endregion
|
|
28905
28905
|
export { PrismaClient as i, PrismaMigrationDeployer as n, PrismaDatabaseClient as r, AppConfigFactory as t };
|
|
28906
|
-
//# sourceMappingURL=AppConfigFactory-
|
|
28906
|
+
//# sourceMappingURL=AppConfigFactory-BiFHnorf.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CodemationWhitelabelConfig, o as CodemationLogConfig, t as CodemationAuthConfig, u as LoggerFactory } from "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
|
-
import { B as EngineExecutionLimitsPolicyConfig, M as WorkflowDefinition, R as Container, s as AnyCredentialType, z as TypeToken } from "./index-
|
|
2
|
+
import { B as EngineExecutionLimitsPolicyConfig, M as WorkflowDefinition, R as Container, s as AnyCredentialType, z as TypeToken } from "./index-BQaZZmOm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/presentation/config/CodemationClassToken.d.ts
|
|
5
5
|
type CodemationClassToken<TValue> = TypeToken<TValue> & (new (...args: never[]) => TValue);
|
|
@@ -177,4 +177,4 @@ interface CodemationConfig {
|
|
|
177
177
|
}
|
|
178
178
|
//#endregion
|
|
179
179
|
export { CodemationContainerRegistration as C, CodemationPluginPackageMetadata as S, AppPersistenceConfig as _, CodemationConfig as a, CodemationPluginConfig as b, CodemationEngineExecutionLimitsConfig as c, CodemationSchedulerConfig as d, CodemationSchedulerKind as f, AppConfig as g, CodemationRegistrationContextBase as h, CodemationApplicationRuntimeConfig as i, CodemationEventBusConfig as l, CodemationAppContext as m, CodemationAppSchedulerConfig as n, CodemationDatabaseConfig as o, CodemationWorkflowDiscovery as p, CodemationAppSchedulerKind as r, CodemationDatabaseKind as s, CodemationAppDefinition as t, CodemationEventBusKind as u, AppPluginLoadSummary as v, CodemationClassToken as w, CodemationPluginContext as x, CodemationPlugin as y };
|
|
180
|
-
//# sourceMappingURL=CodemationConfig-
|
|
180
|
+
//# sourceMappingURL=CodemationConfig-DuGk7uN5.d.ts.map
|
package/dist/{CodemationConfigNormalizer-BuKWVNEq.d.ts → CodemationConfigNormalizer-BP2-0ZDE.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CodemationContainerRegistration, a as CodemationConfig } from "./CodemationConfig-
|
|
1
|
+
import { C as CodemationContainerRegistration, a as CodemationConfig } from "./CodemationConfig-DuGk7uN5.js";
|
|
2
2
|
|
|
3
3
|
//#region src/presentation/config/CodemationConfigNormalizer.d.ts
|
|
4
4
|
type NormalizedCodemationConfig = CodemationConfig & Readonly<{
|
|
@@ -6,4 +6,4 @@ type NormalizedCodemationConfig = CodemationConfig & Readonly<{
|
|
|
6
6
|
}>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { NormalizedCodemationConfig as t };
|
|
9
|
-
//# sourceMappingURL=CodemationConfigNormalizer-
|
|
9
|
+
//# sourceMappingURL=CodemationConfigNormalizer-BP2-0ZDE.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-
|
|
1
|
+
import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-BP2-0ZDE.js";
|
|
2
2
|
|
|
3
3
|
//#region src/presentation/server/CodemationConsumerAppResolver.d.ts
|
|
4
4
|
type CodemationConsumerApp = Readonly<{
|
|
@@ -62,4 +62,4 @@ declare class CodemationConsumerConfigLoader {
|
|
|
62
62
|
}
|
|
63
63
|
//#endregion
|
|
64
64
|
export { CodemationConsumerAppResolver as i, CodemationConsumerConfigResolution as n, CodemationConsumerApp as r, CodemationConsumerConfigLoader as t };
|
|
65
|
-
//# sourceMappingURL=CodemationConsumerConfigLoader-
|
|
65
|
+
//# sourceMappingURL=CodemationConsumerConfigLoader-D5CSz3TQ.d.ts.map
|
package/dist/{CodemationPluginListMerger-BD5mR6gK.d.ts → CodemationPluginListMerger-DFzGgfyI.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as CodemationWhitelabelConfig, l as Logger, t as CodemationAuthConfig, u as LoggerFactory } from "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
|
-
import { F as NodeExecutionRequestHandler, G as WorkflowActivationPolicy, H as RunEventBus, I as NodeExecutionScheduler, J as PersistedRunState, L as WorkflowRepository, M as WorkflowDefinition, N as WorkflowId, O as RunId, Q as Clock, R as Container, V as RunEvent, X as RunPruneCandidate, Y as RunCurrentState, Z as RunSummary, n as Engine, q as WorkflowRunDetailDto, s as AnyCredentialType, z as TypeToken } from "./index-
|
|
3
|
-
import { C as CodemationContainerRegistration, S as CodemationPluginPackageMetadata, g as AppConfig, y as CodemationPlugin } from "./CodemationConfig-
|
|
4
|
-
import { t as CredentialStore } from "./CredentialServices-
|
|
5
|
-
import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient } from "./AppConfigFactory-
|
|
2
|
+
import { F as NodeExecutionRequestHandler, G as WorkflowActivationPolicy, H as RunEventBus, I as NodeExecutionScheduler, J as PersistedRunState, L as WorkflowRepository, M as WorkflowDefinition, N as WorkflowId, O as RunId, Q as Clock, R as Container, V as RunEvent, X as RunPruneCandidate, Y as RunCurrentState, Z as RunSummary, n as Engine, q as WorkflowRunDetailDto, s as AnyCredentialType, z as TypeToken } from "./index-BQaZZmOm.js";
|
|
3
|
+
import { C as CodemationContainerRegistration, S as CodemationPluginPackageMetadata, g as AppConfig, y as CodemationPlugin } from "./CodemationConfig-DuGk7uN5.js";
|
|
4
|
+
import { t as CredentialStore } from "./CredentialServices-Bhejvys-.js";
|
|
5
|
+
import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient } from "./AppConfigFactory-BiFHnorf.js";
|
|
6
6
|
import "reflect-metadata";
|
|
7
7
|
import { Hono } from "hono";
|
|
8
8
|
|
|
@@ -354,4 +354,4 @@ declare class CodemationPluginListMerger {
|
|
|
354
354
|
}
|
|
355
355
|
//#endregion
|
|
356
356
|
export { Command as _, WorkflowDebuggerOverlayRepository as a, WorkerRuntime as c, AppContainerLifecycle as d, AppContainerFactory as f, CommandBus as g, Query as h, HonoApiRouteRegistrar as i, FrontendRuntime as l, QueryBus as m, CodemationBootstrapRequest as n, WorkflowRunRepository as o, WorkflowWebsocketServer as p, ApplicationTokens as r, SessionVerifier as s, CodemationPluginListMerger as t, DatabaseMigrations as u };
|
|
357
|
-
//# sourceMappingURL=CodemationPluginListMerger-
|
|
357
|
+
//# sourceMappingURL=CodemationPluginListMerger-DFzGgfyI.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CredentialTypeId, L as WorkflowRepository, M as WorkflowDefinition, S as CredentialTypeDefinition, _ as CredentialRequirement, b as CredentialSetupStatus, c as CredentialBinding, d as CredentialHealth, f as CredentialInstanceId, h as CredentialMaterialSourceKind, l as CredentialBindingKey, m as CredentialJsonRecord, p as CredentialInstanceRecord, s as AnyCredentialType, u as CredentialFieldSchema, w as CredentialTypeRegistry, x as CredentialType, y as CredentialSessionService } from "./index-
|
|
2
|
-
import { g as AppConfig } from "./CodemationConfig-
|
|
1
|
+
import { C as CredentialTypeId, L as WorkflowRepository, M as WorkflowDefinition, S as CredentialTypeDefinition, _ as CredentialRequirement, b as CredentialSetupStatus, c as CredentialBinding, d as CredentialHealth, f as CredentialInstanceId, h as CredentialMaterialSourceKind, l as CredentialBindingKey, m as CredentialJsonRecord, p as CredentialInstanceRecord, s as AnyCredentialType, u as CredentialFieldSchema, w as CredentialTypeRegistry, x as CredentialType, y as CredentialSessionService } from "./index-BQaZZmOm.js";
|
|
2
|
+
import { g as AppConfig } from "./CodemationConfig-DuGk7uN5.js";
|
|
3
3
|
|
|
4
4
|
//#region src/domain/credentials/CredentialTypeRegistryImpl.d.ts
|
|
5
5
|
declare class CredentialTypeRegistryImpl implements CredentialTypeRegistry {
|
|
@@ -289,4 +289,4 @@ type MutableCredentialSessionService = CredentialSessionService & Readonly<{
|
|
|
289
289
|
}>;
|
|
290
290
|
//#endregion
|
|
291
291
|
export { CredentialInstanceService as a, CredentialFieldEnvOverlayService as c, CredentialBindingService as i, CredentialTypeRegistryImpl as l, CredentialType$1 as n, CredentialMaterialResolver as o, CredentialRuntimeMaterialService as r, CredentialSecretCipher as s, CredentialStore as t };
|
|
292
|
-
//# sourceMappingURL=CredentialServices-
|
|
292
|
+
//# sourceMappingURL=CredentialServices-Bhejvys-.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as CodemationAuthConfig } from "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
2
|
import { a as CodemationFrontendAuthSnapshot, n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-DCniMBGu.js";
|
|
3
|
-
import { g as AppConfig } from "./CodemationConfig-
|
|
3
|
+
import { g as AppConfig } from "./CodemationConfig-DuGk7uN5.js";
|
|
4
4
|
|
|
5
5
|
//#region src/application/contracts/WorkflowViewContracts.d.ts
|
|
6
6
|
type WorkflowNodeDto = Readonly<{
|
|
@@ -87,4 +87,4 @@ declare class PublicFrontendBootstrapFactory {
|
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
89
|
export { WorkflowDto as a, CodemationFrontendAuthSnapshotFactory as i, InternalAuthBootstrapFactory as n, WorkflowSummary as o, FrontendAppConfigFactory as r, PublicFrontendBootstrapFactory as t };
|
|
90
|
-
//# sourceMappingURL=PublicFrontendBootstrapFactory-
|
|
90
|
+
//# sourceMappingURL=PublicFrontendBootstrapFactory-CSgWyTra.d.ts.map
|
package/dist/consumer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./CodemationConfig-
|
|
4
|
-
import "./CodemationConfigNormalizer-
|
|
5
|
-
import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-
|
|
2
|
+
import "./index-BQaZZmOm.js";
|
|
3
|
+
import "./CodemationConfig-DuGk7uN5.js";
|
|
4
|
+
import "./CodemationConfigNormalizer-BP2-0ZDE.js";
|
|
5
|
+
import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-D5CSz3TQ.js";
|
|
6
6
|
export { type CodemationConsumerApp, CodemationConsumerAppResolver, CodemationConsumerConfigLoader, type CodemationConsumerConfigResolution };
|
package/dist/credentials.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
|
-
import { d as CredentialHealth, s as AnyCredentialType, v as CredentialSessionFactoryArgs } from "./index-
|
|
3
|
-
import "./CodemationConfig-
|
|
4
|
-
import { a as CredentialInstanceService, i as CredentialBindingService, n as CredentialType } from "./CredentialServices-
|
|
2
|
+
import { d as CredentialHealth, s as AnyCredentialType, v as CredentialSessionFactoryArgs } from "./index-BQaZZmOm.js";
|
|
3
|
+
import "./CodemationConfig-DuGk7uN5.js";
|
|
4
|
+
import { a as CredentialInstanceService, i as CredentialBindingService, n as CredentialType } from "./CredentialServices-Bhejvys-.js";
|
|
5
5
|
|
|
6
6
|
//#region src/infrastructure/credentials/OpenAiApiKeyCredentialShapes.types.d.ts
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as WorkflowDefinition, R as Container } from "./index-
|
|
1
|
+
import { M as WorkflowDefinition, R as Container } from "./index-BQaZZmOm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/presentation/server/CodemationTsyringeParamInfoReader.d.ts
|
|
4
4
|
declare class CodemationTsyringeParamInfoReader {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
2
|
import { ReadableStream } from "node:stream/web";
|
|
3
3
|
import { DependencyContainer as Container, InjectionToken as TypeToken } from "tsyringe";
|
|
4
|
-
import { z } from "zod";
|
|
4
|
+
import { ZodType, z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region ../core/src/contracts/Clock.d.ts
|
|
7
7
|
/** Port for time; inject `SystemClock` in production and a fake/test clock in tests. */
|
|
@@ -395,17 +395,17 @@ interface WorkflowActivationPolicy {
|
|
|
395
395
|
}
|
|
396
396
|
//#endregion
|
|
397
397
|
//#region ../core/src/workflow/dsl/workflowBuilderTypes.d.ts
|
|
398
|
-
type AnyRunnableNodeConfig = RunnableNodeConfig<any, any>;
|
|
398
|
+
type AnyRunnableNodeConfig = RunnableNodeConfig<any, any, any>;
|
|
399
399
|
type AnyTriggerNodeConfig = TriggerNodeConfig<any>;
|
|
400
|
-
type ValidStepSequence<TCurrentJson, TSteps extends ReadonlyArray<AnyRunnableNodeConfig>> = TSteps extends readonly [] ? readonly [] : TSteps extends readonly [infer TFirst, ...infer TRest] ? TFirst extends RunnableNodeConfig<
|
|
401
|
-
type StepSequenceOutput<TCurrentJson, TSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined> = TSteps extends ReadonlyArray<AnyRunnableNodeConfig> ? TSteps extends readonly [] ? TCurrentJson : TSteps extends readonly [infer TFirst, ...infer TRest] ? TFirst extends RunnableNodeConfig<
|
|
400
|
+
type ValidStepSequence<TCurrentJson, TSteps extends ReadonlyArray<AnyRunnableNodeConfig>> = TSteps extends readonly [] ? readonly [] : TSteps extends readonly [infer TFirst, ...infer TRest] ? TFirst extends RunnableNodeConfig<infer _TIn, infer TNextJson, TCurrentJson> ? TRest extends ReadonlyArray<AnyRunnableNodeConfig> ? readonly [TFirst, ...ValidStepSequence<TNextJson, TRest>] : never : never : TSteps;
|
|
401
|
+
type StepSequenceOutput<TCurrentJson, TSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined> = TSteps extends ReadonlyArray<AnyRunnableNodeConfig> ? TSteps extends readonly [] ? TCurrentJson : TSteps extends readonly [infer TFirst, ...infer TRest] ? TFirst extends RunnableNodeConfig<infer _TIn, infer TNextJson, TCurrentJson> ? TRest extends ReadonlyArray<AnyRunnableNodeConfig> ? StepSequenceOutput<TNextJson, TRest> : never : never : TCurrentJson : TCurrentJson;
|
|
402
402
|
type TypesMatch<TLeft, TRight> = [TLeft] extends [TRight] ? ([TRight] extends [TLeft] ? true : false) : false;
|
|
403
403
|
type BranchOutputGuard<TCurrentJson, TTrueSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined, TFalseSteps extends ReadonlyArray<AnyRunnableNodeConfig> | undefined> = TypesMatch<StepSequenceOutput<TCurrentJson, TTrueSteps>, StepSequenceOutput<TCurrentJson, TFalseSteps>> extends true ? unknown : never;
|
|
404
404
|
type BranchStepsArg<TCurrentJson, TSteps extends ReadonlyArray<AnyRunnableNodeConfig>> = TSteps & ValidStepSequence<TCurrentJson, TSteps>;
|
|
405
|
-
type BranchMoreArgs<TCurrentJson, TFirstStep extends RunnableNodeConfig<
|
|
405
|
+
type BranchMoreArgs<TCurrentJson, TFirstStep extends RunnableNodeConfig<any, any, TCurrentJson>, TRestSteps extends ReadonlyArray<AnyRunnableNodeConfig>> = TRestSteps & ValidStepSequence<RunnableNodeOutputJson<TFirstStep>, TRestSteps>;
|
|
406
406
|
type BooleanWhenOverloads<TCurrentJson, TReturn> = {
|
|
407
407
|
<TSteps extends ReadonlyArray<AnyRunnableNodeConfig>>(branch: boolean, steps: BranchStepsArg<TCurrentJson, TSteps>): TReturn;
|
|
408
|
-
<TFirstStep extends RunnableNodeConfig<
|
|
408
|
+
<TFirstStep extends RunnableNodeConfig<any, any, TCurrentJson>, TRestSteps extends ReadonlyArray<AnyRunnableNodeConfig>>(branch: boolean, step: TFirstStep, ...more: BranchMoreArgs<TCurrentJson, TFirstStep, TRestSteps>): TReturn;
|
|
409
409
|
};
|
|
410
410
|
//#endregion
|
|
411
411
|
//#region ../core/src/workflow/dsl/WhenBuilder.d.ts
|
|
@@ -431,7 +431,7 @@ declare class ChainCursor<TCurrentJson> {
|
|
|
431
431
|
private readonly cursor;
|
|
432
432
|
private readonly cursorOutput;
|
|
433
433
|
constructor(wf: WorkflowBuilder, cursor: NodeRef, cursorOutput: OutputPortKey);
|
|
434
|
-
then<TConfig$1 extends RunnableNodeConfig<
|
|
434
|
+
then<TInputJson$1, TOutputJson$1, TConfig$1 extends RunnableNodeConfig<TInputJson$1, TOutputJson$1, TCurrentJson>>(config: TConfig$1): ChainCursor<RunnableNodeOutputJson<TConfig$1>>;
|
|
435
435
|
readonly when: ChainCursorWhenOverloads<TCurrentJson>;
|
|
436
436
|
build(): WorkflowDefinition;
|
|
437
437
|
}
|
|
@@ -737,11 +737,61 @@ interface NodeConfigBase {
|
|
|
737
737
|
}
|
|
738
738
|
declare const runnableNodeInputType: unique symbol;
|
|
739
739
|
declare const runnableNodeOutputType: unique symbol;
|
|
740
|
+
/** Phantom: JSON shape on the wire from upstream before {@link RunnableNodeConfig.mapInput}. */
|
|
741
|
+
declare const runnableNodeWireType: unique symbol;
|
|
740
742
|
declare const triggerNodeOutputType: unique symbol;
|
|
741
|
-
|
|
743
|
+
/**
|
|
744
|
+
* Read-only execution slice passed to {@link RunnableNodeConfig.mapInput} (aligned with the engine’s
|
|
745
|
+
* node execution context for `runId`, `data`, etc.). Use **`ctx.data`** to read **any completed** upstream
|
|
746
|
+
* node’s outputs in this run (e.g. `ctx.data.getOutputItems(nodeIdA, "main")` while mapping at D), not only
|
|
747
|
+
* the immediate predecessor’s {@link ItemInputMapperArgs.item}.
|
|
748
|
+
*/
|
|
749
|
+
interface ItemInputMapperContext {
|
|
750
|
+
readonly runId: RunId;
|
|
751
|
+
readonly workflowId: WorkflowId;
|
|
752
|
+
/** Node whose activation is being prepared (the consumer of `mapInput`). */
|
|
753
|
+
readonly nodeId: NodeId;
|
|
754
|
+
readonly activationId: NodeActivationId;
|
|
755
|
+
readonly parent?: ParentExecutionRef;
|
|
756
|
+
readonly data: RunDataSnapshot;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Arguments for optional per-item input mapping applied by the engine before Zod validation.
|
|
760
|
+
*/
|
|
761
|
+
interface ItemInputMapperArgs<TWireJson$1 = unknown> {
|
|
762
|
+
readonly item: Item<TWireJson$1>;
|
|
763
|
+
readonly itemIndex: number;
|
|
764
|
+
readonly items: Items<TWireJson$1>;
|
|
765
|
+
readonly ctx: ItemInputMapperContext;
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* Per-item mapper before Zod validation. Uses a **bivariant** method signature so concrete
|
|
769
|
+
* `ItemInputMapper<SpecificWire, TIn>` remains assignable to `RunnableNodeConfig` fields typed as
|
|
770
|
+
* `ItemInputMapper<unknown, unknown>` (same pattern as React-style callbacks).
|
|
771
|
+
*/
|
|
772
|
+
type ItemInputMapper<TWireJson$1 = unknown, TInputJson$1 = unknown> = {
|
|
773
|
+
bivarianceHack(args: ItemInputMapperArgs<TWireJson$1>): TInputJson$1 | Promise<TInputJson$1>;
|
|
774
|
+
}["bivarianceHack"];
|
|
775
|
+
/**
|
|
776
|
+
* Runnable node: **`TInputJson`** is the payload after `mapInput` (if any) + Zod validation — what {@link ItemNode}
|
|
777
|
+
* `executeOne` receives. **`TOutputJson`** is emitted `item.json` on outputs. **`TWireJson`** is `item.json` from
|
|
778
|
+
* upstream **before** `mapInput`; it defaults to **`TInputJson`** when there is no mapper or wire differs from execute input.
|
|
779
|
+
*/
|
|
780
|
+
interface RunnableNodeConfig<TInputJson$1 = unknown, TOutputJson$1 = unknown, TWireJson$1 = TInputJson$1> extends NodeConfigBase {
|
|
742
781
|
readonly kind: "node";
|
|
743
782
|
readonly [runnableNodeInputType]?: TInputJson$1;
|
|
744
783
|
readonly [runnableNodeOutputType]?: TOutputJson$1;
|
|
784
|
+
readonly [runnableNodeWireType]?: TWireJson$1;
|
|
785
|
+
/**
|
|
786
|
+
* Optional Zod input contract for {@link ItemNode} when not set on the node class.
|
|
787
|
+
* Resolution order: node instance `inputSchema`, then config `inputSchema`, then `z.unknown()`.
|
|
788
|
+
*/
|
|
789
|
+
readonly inputSchema?: ZodType<TInputJson$1>;
|
|
790
|
+
/**
|
|
791
|
+
* Optional per-item mapper: engine applies it before validating against the node’s `inputSchema`.
|
|
792
|
+
* When omitted, the engine validates `item.json` directly.
|
|
793
|
+
*/
|
|
794
|
+
readonly mapInput?: ItemInputMapper<TWireJson$1, TInputJson$1>;
|
|
745
795
|
}
|
|
746
796
|
declare const triggerNodeSetupStateType: unique symbol;
|
|
747
797
|
interface TriggerNodeConfig<TOutputJson$1 = unknown, TSetupState$1 extends JsonValue | undefined = undefined> extends NodeConfigBase {
|
|
@@ -749,7 +799,7 @@ interface TriggerNodeConfig<TOutputJson$1 = unknown, TSetupState$1 extends JsonV
|
|
|
749
799
|
readonly [triggerNodeOutputType]?: TOutputJson$1;
|
|
750
800
|
readonly [triggerNodeSetupStateType]?: TSetupState$1;
|
|
751
801
|
}
|
|
752
|
-
type RunnableNodeOutputJson<TConfig$1 extends RunnableNodeConfig<any, any>> = TConfig$1 extends RunnableNodeConfig<any, infer TOutputJson> ? TOutputJson : never;
|
|
802
|
+
type RunnableNodeOutputJson<TConfig$1 extends RunnableNodeConfig<any, any, any>> = TConfig$1 extends RunnableNodeConfig<any, infer TOutputJson, any> ? TOutputJson : never;
|
|
753
803
|
type TriggerNodeOutputJson<TConfig$1 extends TriggerNodeConfig<any, any>> = TConfig$1 extends TriggerNodeConfig<infer TOutputJson, any> ? TOutputJson : never;
|
|
754
804
|
interface NodeDefinition {
|
|
755
805
|
id: NodeId;
|
|
@@ -1012,12 +1062,12 @@ type DefinedNodeCredentialBinding = ResolvableCredentialType | Readonly<{
|
|
|
1012
1062
|
readonly helpUrl?: string;
|
|
1013
1063
|
}>;
|
|
1014
1064
|
type DefinedNodeCredentialBindings = Readonly<Record<string, DefinedNodeCredentialBinding>>;
|
|
1015
|
-
interface DefinedNode<TKey$1 extends string, TConfig$1 extends CredentialJsonRecord, TInputJson$1, TOutputJson$1, _TBindings extends DefinedNodeCredentialBindings | undefined = undefined> {
|
|
1065
|
+
interface DefinedNode<TKey$1 extends string, TConfig$1 extends CredentialJsonRecord, TInputJson$1, TOutputJson$1, _TBindings extends DefinedNodeCredentialBindings | undefined = undefined, TWireJson$1 = TInputJson$1> {
|
|
1016
1066
|
readonly kind: "defined-node";
|
|
1017
1067
|
readonly key: TKey$1;
|
|
1018
1068
|
readonly title: string;
|
|
1019
1069
|
readonly description?: string;
|
|
1020
|
-
create(config: TConfig$1, name?: string, id?: string): RunnableNodeConfig<TInputJson$1, TOutputJson$1>;
|
|
1070
|
+
create(config: TConfig$1, name?: string, id?: string): RunnableNodeConfig<TInputJson$1, TOutputJson$1, TWireJson$1>;
|
|
1021
1071
|
register(context: {
|
|
1022
1072
|
registerNode<TValue>(token: TypeToken<TValue>, implementation?: TypeToken<TValue>): void;
|
|
1023
1073
|
}): void;
|
|
@@ -1257,4 +1307,4 @@ declare class RunIntentService {
|
|
|
1257
1307
|
}
|
|
1258
1308
|
//#endregion
|
|
1259
1309
|
export { RunnableNodeConfig as A, EngineExecutionLimitsPolicyConfig as B, CredentialTypeId as C, Item as D, BinaryAttachment as E, NodeExecutionRequestHandler as F, WorkflowActivationPolicy as G, RunEventBus as H, NodeExecutionScheduler as I, PersistedRunState as J, WebhookInvocationMatch as K, WorkflowRepository as L, WorkflowDefinition as M, WorkflowId as N, RunId as O, BinaryStorage as P, Clock as Q, Container as R, CredentialTypeDefinition as S, ActivationIdFactory as T, ChainCursor as U, RunEvent as V, AnyRunnableNodeConfig as W, RunPruneCandidate as X, RunCurrentState as Y, RunSummary as Z, CredentialRequirement as _, ToolConfig as a, CredentialSetupStatus as b, CredentialBinding as c, CredentialHealth as d, CredentialInstanceId as f, CredentialOAuth2AuthDefinition as g, CredentialMaterialSourceKind as h, ChatModelConfig as i, RunnableNodeOutputJson as j, RunIdFactory as k, CredentialBindingKey as l, CredentialJsonRecord as m, Engine as n, DefinedNode as o, CredentialInstanceRecord as p, WorkflowRunDetailDto as q, AgentGuardrailConfig as r, AnyCredentialType as s, RunIntentService as t, CredentialFieldSchema as u, CredentialSessionFactoryArgs as v, CredentialTypeRegistry as w, CredentialType as x, CredentialSessionService as y, TypeToken as z };
|
|
1260
|
-
//# sourceMappingURL=index-
|
|
1310
|
+
//# sourceMappingURL=index-BQaZZmOm.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { a as CodemationWhitelabelConfig, c as CodemationLogRule, i as CodemationAuthOidcProviderConfig, n as CodemationAuthKind, o as CodemationLogConfig, r as CodemationAuthOAuthProviderConfig, s as CodemationLogLevelName, t as CodemationAuthConfig } from "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
2
|
import { a as CodemationFrontendAuthSnapshot, i as CodemationFrontendAuthProviderSnapshot, n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-DCniMBGu.js";
|
|
3
3
|
import { i as CodemationFrontendAuthSnapshotJsonCodec, n as InternalAuthBootstrapJsonCodec, r as FrontendAppConfigJsonCodec, t as PublicFrontendBootstrapJsonCodec } from "./PublicFrontendBootstrapJsonCodec-BE0mhe1v.js";
|
|
4
|
-
import { A as RunnableNodeConfig, M as WorkflowDefinition, U as ChainCursor, W as AnyRunnableNodeConfig, a as ToolConfig, i as ChatModelConfig, j as RunnableNodeOutputJson, o as DefinedNode, r as AgentGuardrailConfig, s as AnyCredentialType } from "./index-
|
|
5
|
-
import { S as CodemationPluginPackageMetadata, a as CodemationConfig, b as CodemationPluginConfig, c as CodemationEngineExecutionLimitsConfig, d as CodemationSchedulerConfig, f as CodemationSchedulerKind, g as AppConfig, h as CodemationRegistrationContextBase, i as CodemationApplicationRuntimeConfig, l as CodemationEventBusConfig, m as CodemationAppContext, n as CodemationAppSchedulerConfig, o as CodemationDatabaseConfig, p as CodemationWorkflowDiscovery, r as CodemationAppSchedulerKind, s as CodemationDatabaseKind, t as CodemationAppDefinition, u as CodemationEventBusKind, v as AppPluginLoadSummary, w as CodemationClassToken, x as CodemationPluginContext, y as CodemationPlugin } from "./CodemationConfig-
|
|
6
|
-
import "./CodemationConfigNormalizer-
|
|
7
|
-
import { t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-
|
|
8
|
-
import "./CredentialServices-
|
|
9
|
-
import { _ as Command, c as WorkerRuntime, d as AppContainerLifecycle, f as AppContainerFactory, g as CommandBus, h as Query, l as FrontendRuntime, m as QueryBus, n as CodemationBootstrapRequest, r as ApplicationTokens, t as CodemationPluginListMerger, u as DatabaseMigrations } from "./CodemationPluginListMerger-
|
|
10
|
-
import { r as PrismaDatabaseClient, t as AppConfigFactory } from "./AppConfigFactory-
|
|
11
|
-
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-
|
|
12
|
-
import { c as CodemationServerGateway, l as ApiPaths } from "./server-
|
|
13
|
-
import { i as CodemationFrontendAuthSnapshotFactory, n as InternalAuthBootstrapFactory, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-
|
|
14
|
-
import { z } from "zod";
|
|
4
|
+
import { A as RunnableNodeConfig, M as WorkflowDefinition, U as ChainCursor, W as AnyRunnableNodeConfig, a as ToolConfig, i as ChatModelConfig, j as RunnableNodeOutputJson, o as DefinedNode, r as AgentGuardrailConfig, s as AnyCredentialType } from "./index-BQaZZmOm.js";
|
|
5
|
+
import { S as CodemationPluginPackageMetadata, a as CodemationConfig, b as CodemationPluginConfig, c as CodemationEngineExecutionLimitsConfig, d as CodemationSchedulerConfig, f as CodemationSchedulerKind, g as AppConfig, h as CodemationRegistrationContextBase, i as CodemationApplicationRuntimeConfig, l as CodemationEventBusConfig, m as CodemationAppContext, n as CodemationAppSchedulerConfig, o as CodemationDatabaseConfig, p as CodemationWorkflowDiscovery, r as CodemationAppSchedulerKind, s as CodemationDatabaseKind, t as CodemationAppDefinition, u as CodemationEventBusKind, v as AppPluginLoadSummary, w as CodemationClassToken, x as CodemationPluginContext, y as CodemationPlugin } from "./CodemationConfig-DuGk7uN5.js";
|
|
6
|
+
import "./CodemationConfigNormalizer-BP2-0ZDE.js";
|
|
7
|
+
import { t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-D5CSz3TQ.js";
|
|
8
|
+
import "./CredentialServices-Bhejvys-.js";
|
|
9
|
+
import { _ as Command, c as WorkerRuntime, d as AppContainerLifecycle, f as AppContainerFactory, g as CommandBus, h as Query, l as FrontendRuntime, m as QueryBus, n as CodemationBootstrapRequest, r as ApplicationTokens, t as CodemationPluginListMerger, u as DatabaseMigrations } from "./CodemationPluginListMerger-DFzGgfyI.js";
|
|
10
|
+
import { r as PrismaDatabaseClient, t as AppConfigFactory } from "./AppConfigFactory-BiFHnorf.js";
|
|
11
|
+
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-fdldtXJH.js";
|
|
12
|
+
import { c as CodemationServerGateway, l as ApiPaths } from "./server-Cpzpy1Ar.js";
|
|
13
|
+
import { i as CodemationFrontendAuthSnapshotFactory, n as InternalAuthBootstrapFactory, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-CSgWyTra.js";
|
|
14
|
+
import { ZodType, z } from "zod";
|
|
15
15
|
|
|
16
16
|
//#region src/application/contracts/userDirectoryContracts.types.d.ts
|
|
17
17
|
type UserAccountStatus = "invited" | "active" | "inactive";
|
|
@@ -54,7 +54,7 @@ interface WorkflowAgentOptions<TCurrentJson, TOutputSchema extends z.ZodTypeAny
|
|
|
54
54
|
declare class WorkflowBranchBuilder<TCurrentJson> {
|
|
55
55
|
private readonly steps;
|
|
56
56
|
constructor(steps?: ReadonlyArray<AnyRunnableNodeConfig>);
|
|
57
|
-
then<TConfig extends RunnableNodeConfig<
|
|
57
|
+
then<TInputJson, TOutputJson, TConfig extends RunnableNodeConfig<TInputJson, TOutputJson, TCurrentJson>>(config: TConfig): WorkflowBranchBuilder<RunnableNodeOutputJson<TConfig>>;
|
|
58
58
|
map<TNextJson>(mapper: (item: TCurrentJson) => TNextJson): WorkflowBranchBuilder<TNextJson>;
|
|
59
59
|
map<TNextJson>(name: string, mapper: (item: TCurrentJson) => TNextJson, id?: string): WorkflowBranchBuilder<TNextJson>;
|
|
60
60
|
wait(duration: number | string): WorkflowBranchBuilder<TCurrentJson>;
|
|
@@ -71,7 +71,7 @@ type BranchCallback<TCurrentJson, TNextJson> = (branch: WorkflowBranchBuilder<TC
|
|
|
71
71
|
declare class WorkflowChain<TCurrentJson> {
|
|
72
72
|
private readonly chain;
|
|
73
73
|
constructor(chain: ChainCursor<TCurrentJson>);
|
|
74
|
-
then<TConfig extends RunnableNodeConfig<
|
|
74
|
+
then<TInputJson, TOutputJson, TConfig extends RunnableNodeConfig<TInputJson, TOutputJson, TCurrentJson>>(config: TConfig): WorkflowChain<RunnableNodeOutputJson<TConfig>>;
|
|
75
75
|
map<TNextJson>(mapper: (item: TCurrentJson) => TNextJson): WorkflowChain<TNextJson>;
|
|
76
76
|
map<TNextJson>(name: string, mapper: (item: TCurrentJson) => TNextJson, id?: string): WorkflowChain<TNextJson>;
|
|
77
77
|
wait(duration: number | string): WorkflowChain<TCurrentJson>;
|
package/dist/nextServer.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { l as Logger, u as LoggerFactory } from "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
2
|
import { t as LogLevelPolicy } from "./LogLevelPolicy-9IcPGZFk.js";
|
|
3
3
|
import { a as CodemationFrontendAuthSnapshot, i as CodemationFrontendAuthProviderSnapshot, n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-DCniMBGu.js";
|
|
4
|
-
import { D as Item, E as BinaryAttachment, G as WorkflowActivationPolicy, K as WebhookInvocationMatch, M as WorkflowDefinition$1, P as BinaryStorage, Q as Clock, S as CredentialTypeDefinition, T as ActivationIdFactory, g as CredentialOAuth2AuthDefinition, k as RunIdFactory, t as RunIntentService } from "./index-
|
|
5
|
-
import { g as AppConfig } from "./CodemationConfig-
|
|
6
|
-
import "./CodemationConfigNormalizer-
|
|
7
|
-
import { a as CredentialInstanceService, c as CredentialFieldEnvOverlayService, i as CredentialBindingService, l as CredentialTypeRegistryImpl, o as CredentialMaterialResolver, r as CredentialRuntimeMaterialService, s as CredentialSecretCipher, t as CredentialStore } from "./CredentialServices-
|
|
8
|
-
import { a as WorkflowDebuggerOverlayRepository, c as WorkerRuntime, d as AppContainerLifecycle, f as AppContainerFactory, g as CommandBus, i as HonoApiRouteRegistrar, l as FrontendRuntime, m as QueryBus, n as CodemationBootstrapRequest, o as WorkflowRunRepository, p as WorkflowWebsocketServer, r as ApplicationTokens, s as SessionVerifier, t as CodemationPluginListMerger, u as DatabaseMigrations } from "./CodemationPluginListMerger-
|
|
9
|
-
import { t as AppConfigFactory } from "./AppConfigFactory-
|
|
10
|
-
import { a as WorkflowDto, n as InternalAuthBootstrapFactory, o as WorkflowSummary, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-
|
|
4
|
+
import { D as Item, E as BinaryAttachment, G as WorkflowActivationPolicy, K as WebhookInvocationMatch, M as WorkflowDefinition$1, P as BinaryStorage, Q as Clock, S as CredentialTypeDefinition, T as ActivationIdFactory, g as CredentialOAuth2AuthDefinition, k as RunIdFactory, t as RunIntentService } from "./index-BQaZZmOm.js";
|
|
5
|
+
import { g as AppConfig } from "./CodemationConfig-DuGk7uN5.js";
|
|
6
|
+
import "./CodemationConfigNormalizer-BP2-0ZDE.js";
|
|
7
|
+
import { a as CredentialInstanceService, c as CredentialFieldEnvOverlayService, i as CredentialBindingService, l as CredentialTypeRegistryImpl, o as CredentialMaterialResolver, r as CredentialRuntimeMaterialService, s as CredentialSecretCipher, t as CredentialStore } from "./CredentialServices-Bhejvys-.js";
|
|
8
|
+
import { a as WorkflowDebuggerOverlayRepository, c as WorkerRuntime, d as AppContainerLifecycle, f as AppContainerFactory, g as CommandBus, i as HonoApiRouteRegistrar, l as FrontendRuntime, m as QueryBus, n as CodemationBootstrapRequest, o as WorkflowRunRepository, p as WorkflowWebsocketServer, r as ApplicationTokens, s as SessionVerifier, t as CodemationPluginListMerger, u as DatabaseMigrations } from "./CodemationPluginListMerger-DFzGgfyI.js";
|
|
9
|
+
import { t as AppConfigFactory } from "./AppConfigFactory-BiFHnorf.js";
|
|
10
|
+
import { a as WorkflowDto, n as InternalAuthBootstrapFactory, o as WorkflowSummary, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-CSgWyTra.js";
|
|
11
11
|
import { Hono } from "hono";
|
|
12
12
|
import { NodeDefinition, WorkflowDefinition } from "@codemation/core/browser";
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as PrismaClient } from "./AppConfigFactory-
|
|
1
|
+
import { i as PrismaClient } from "./AppConfigFactory-BiFHnorf.js";
|
|
2
2
|
|
|
3
3
|
//#region src/infrastructure/persistence/CodemationPostgresPrismaClientFactory.d.ts
|
|
4
4
|
declare class CodemationPostgresPrismaClientFactory {
|
|
@@ -6,4 +6,4 @@ declare class CodemationPostgresPrismaClientFactory {
|
|
|
6
6
|
}
|
|
7
7
|
//#endregion
|
|
8
8
|
export { CodemationPostgresPrismaClientFactory as t };
|
|
9
|
-
//# sourceMappingURL=persistenceServer-
|
|
9
|
+
//# sourceMappingURL=persistenceServer-fdldtXJH.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { _ as AppPersistenceConfig } from "./CodemationConfig-
|
|
4
|
-
import "./CodemationConfigNormalizer-
|
|
5
|
-
import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient, t as AppConfigFactory } from "./AppConfigFactory-
|
|
6
|
-
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-
|
|
2
|
+
import "./index-BQaZZmOm.js";
|
|
3
|
+
import { _ as AppPersistenceConfig } from "./CodemationConfig-DuGk7uN5.js";
|
|
4
|
+
import "./CodemationConfigNormalizer-BP2-0ZDE.js";
|
|
5
|
+
import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient, t as AppConfigFactory } from "./AppConfigFactory-BiFHnorf.js";
|
|
6
|
+
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-fdldtXJH.js";
|
|
7
7
|
export { AppConfigFactory, AppPersistenceConfig, CodemationPostgresPrismaClientFactory, PrismaDatabaseClient as PrismaClient, PrismaMigrationDeployer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as CodemationConfig, g as AppConfig, y as CodemationPlugin } from "./CodemationConfig-
|
|
2
|
-
import { t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-
|
|
3
|
-
import { t as AppConfigFactory } from "./AppConfigFactory-
|
|
4
|
-
import { a as WorkflowDto, o as WorkflowSummary } from "./PublicFrontendBootstrapFactory-
|
|
1
|
+
import { a as CodemationConfig, g as AppConfig, y as CodemationPlugin } from "./CodemationConfig-DuGk7uN5.js";
|
|
2
|
+
import { t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-D5CSz3TQ.js";
|
|
3
|
+
import { t as AppConfigFactory } from "./AppConfigFactory-BiFHnorf.js";
|
|
4
|
+
import { a as WorkflowDto, o as WorkflowSummary } from "./PublicFrontendBootstrapFactory-CSgWyTra.js";
|
|
5
5
|
|
|
6
6
|
//#region src/presentation/http/ApiPaths.d.ts
|
|
7
7
|
declare class ApiPaths {
|
|
@@ -150,4 +150,4 @@ declare class WorkflowDiscoveryPathSegmentsComputer {
|
|
|
150
150
|
}
|
|
151
151
|
//#endregion
|
|
152
152
|
export { CodemationResolvedPluginPackage as a, CodemationServerGateway as c, CodemationPluginDiscovery as i, ApiPaths as l, WorkflowModulePathFinder as n, AppConfigLoadResult as o, CodemationDiscoveredPluginPackage as r, AppConfigLoader as s, WorkflowDiscoveryPathSegmentsComputer as t };
|
|
153
|
-
//# sourceMappingURL=server-
|
|
153
|
+
//# sourceMappingURL=server-Cpzpy1Ar.d.ts.map
|
package/dist/server.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./CodemationAuthConfig-7hEfICPf.js";
|
|
2
2
|
import { n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-DCniMBGu.js";
|
|
3
3
|
import { i as CodemationFrontendAuthSnapshotJsonCodec, n as InternalAuthBootstrapJsonCodec, r as FrontendAppConfigJsonCodec, t as PublicFrontendBootstrapJsonCodec } from "./PublicFrontendBootstrapJsonCodec-BE0mhe1v.js";
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./CodemationConfig-
|
|
6
|
-
import "./CodemationConfigNormalizer-
|
|
7
|
-
import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-
|
|
8
|
-
import { r as PrismaDatabaseClient } from "./AppConfigFactory-
|
|
9
|
-
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-
|
|
10
|
-
import { a as CodemationResolvedPluginPackage, c as CodemationServerGateway, i as CodemationPluginDiscovery, l as ApiPaths, n as WorkflowModulePathFinder, o as AppConfigLoadResult, r as CodemationDiscoveredPluginPackage, s as AppConfigLoader, t as WorkflowDiscoveryPathSegmentsComputer } from "./server-
|
|
11
|
-
import { i as CodemationFrontendAuthSnapshotFactory, n as InternalAuthBootstrapFactory, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-
|
|
4
|
+
import "./index-BQaZZmOm.js";
|
|
5
|
+
import "./CodemationConfig-DuGk7uN5.js";
|
|
6
|
+
import "./CodemationConfigNormalizer-BP2-0ZDE.js";
|
|
7
|
+
import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-D5CSz3TQ.js";
|
|
8
|
+
import { r as PrismaDatabaseClient } from "./AppConfigFactory-BiFHnorf.js";
|
|
9
|
+
import { t as CodemationPostgresPrismaClientFactory } from "./persistenceServer-fdldtXJH.js";
|
|
10
|
+
import { a as CodemationResolvedPluginPackage, c as CodemationServerGateway, i as CodemationPluginDiscovery, l as ApiPaths, n as WorkflowModulePathFinder, o as AppConfigLoadResult, r as CodemationDiscoveredPluginPackage, s as AppConfigLoader, t as WorkflowDiscoveryPathSegmentsComputer } from "./server-Cpzpy1Ar.js";
|
|
11
|
+
import { i as CodemationFrontendAuthSnapshotFactory, n as InternalAuthBootstrapFactory, r as FrontendAppConfigFactory, t as PublicFrontendBootstrapFactory } from "./PublicFrontendBootstrapFactory-CSgWyTra.js";
|
|
12
12
|
export { ApiPaths, AppConfigLoadResult, AppConfigLoader, CodemationConsumerApp, CodemationConsumerAppResolver, CodemationConsumerConfigLoader, CodemationConsumerConfigResolution, CodemationDiscoveredPluginPackage, CodemationFrontendAuthSnapshotFactory, CodemationFrontendAuthSnapshotJsonCodec, CodemationPluginDiscovery, CodemationPostgresPrismaClientFactory, CodemationResolvedPluginPackage, CodemationServerGateway, FrontendAppConfig, FrontendAppConfigFactory, FrontendAppConfigJsonCodec, InternalAuthBootstrap, InternalAuthBootstrapFactory, InternalAuthBootstrapJsonCodec, PrismaDatabaseClient as PrismaClient, PublicFrontendBootstrap, PublicFrontendBootstrapFactory, PublicFrontendBootstrapJsonCodec, WorkflowDiscoveryPathSegmentsComputer, WorkflowModulePathFinder };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemation/host",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -112,9 +112,9 @@
|
|
|
112
112
|
"tsx": "^4.21.0",
|
|
113
113
|
"ws": "^8.19.0",
|
|
114
114
|
"zxcvbn": "^4.4.2",
|
|
115
|
-
"@codemation/
|
|
116
|
-
"@codemation/core-nodes": "0.0.
|
|
117
|
-
"@codemation/
|
|
115
|
+
"@codemation/core": "0.3.0",
|
|
116
|
+
"@codemation/core-nodes": "0.0.25",
|
|
117
|
+
"@codemation/eventbus-redis": "0.0.25"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
120
|
"@playwright/test": "^1.58.2",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"tsdown": "^0.15.5",
|
|
140
140
|
"typescript": "^5.9.3",
|
|
141
141
|
"vitest": "^4.0.18",
|
|
142
|
-
"@codemation/core-nodes-gmail": "0.0.
|
|
142
|
+
"@codemation/core-nodes-gmail": "0.0.27"
|
|
143
143
|
},
|
|
144
144
|
"scripts": {
|
|
145
145
|
"prisma:generate": "node ./scripts/generate-prisma-clients.mjs && node ./scripts/ensure-prisma-runtime-sourcemaps.mjs",
|