@t4h.framework/dev 0.13.0 → 0.13.2
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
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# @t4h.framework/dev
|
|
2
|
+
|
|
3
|
+
## 0.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#135](https://github.com/tech4humans-brasil/framework/pull/135) [`c238dbe`](https://github.com/tech4humans-brasil/framework/commit/c238dbea4199169c935c714442d9e316abd74e20) Thanks [@gusteycamargo](https://github.com/gusteycamargo)! - Fix start workflow activity
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`c238dbe`](https://github.com/tech4humans-brasil/framework/commit/c238dbea4199169c935c714442d9e316abd74e20)]:
|
|
10
|
+
- @t4h.framework/core@0.9.1
|
|
11
|
+
|
|
12
|
+
## 0.13.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [`095c3a9`](https://github.com/tech4humans-brasil/framework/commit/095c3a91191b9f541519447f212a8e9509065569) Thanks [@gusteycamargo](https://github.com/gusteycamargo)! - Republish with resolved dependency versions. The previous release leaked the `workspace:^` protocol into the published manifests, breaking installs outside the monorepo.
|
|
17
|
+
|
|
18
|
+
## 0.13.0
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- [`9171168`](https://github.com/tech4humans-brasil/framework/commit/917116807182d28de7b368e8648560efca9e5559) Thanks [@gusteycamargo](https://github.com/gusteycamargo)! - Adds framework.config option
|
|
23
|
+
|
|
24
|
+
- [`9171168`](https://github.com/tech4humans-brasil/framework/commit/917116807182d28de7b368e8648560efca9e5559) Thanks [@gusteycamargo](https://github.com/gusteycamargo)! - Remove support to private key in SFTP connection string
|
|
25
|
+
|
|
26
|
+
## 0.12.0
|
|
27
|
+
|
|
28
|
+
### Minor Changes
|
|
29
|
+
|
|
30
|
+
- Adds support to ilike and like operation in in memory database ([#111](https://github.com/tech4humans-brasil/framework/pull/111))
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Slice file binary ([#112](https://github.com/tech4humans-brasil/framework/pull/112))
|
|
35
|
+
|
|
36
|
+
## 0.10.0
|
|
37
|
+
|
|
38
|
+
### Minor Changes
|
|
39
|
+
|
|
40
|
+
- Adds startMany on WorkflowClaim ([#108](https://github.com/tech4humans-brasil/framework/pull/108))
|
|
41
|
+
- Adds activity to split and join binary ([#100](https://github.com/tech4humans-brasil/framework/pull/100))
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- Forward parallel flag through startWorkflow to the reconciler ([#105](https://github.com/tech4humans-brasil/framework/pull/105))
|
|
46
|
+
|
|
47
|
+
## 0.9.0
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Create path if not exists in fs claim write ([`9a38b24`](https://github.com/tech4humans-brasil/framework/commit/9a38b24c94dd791f9d7e9a5fb645bb46ed86c6a0))
|
|
52
|
+
- Update skills ([`6d7e7bc`](https://github.com/tech4humans-brasil/framework/commit/6d7e7bca0c780a9c53a0c9e5aa0a865c5af67959))
|
|
53
|
+
|
|
54
|
+
## 0.3.1
|
|
55
|
+
|
|
56
|
+
### Minor Changes
|
|
57
|
+
|
|
58
|
+
- Update history to satisfies core contract ([`30b3d38`](https://github.com/tech4humans-brasil/framework/commit/30b3d38bfd631990e4c4f740344910d5958ddfb9))
|
|
59
|
+
|
|
60
|
+
## 0.3.0
|
|
61
|
+
|
|
62
|
+
### Minor Changes
|
|
63
|
+
|
|
64
|
+
- Use sftp binary on claim ([#95](https://github.com/tech4humans-brasil/framework/pull/95))
|
|
65
|
+
|
|
66
|
+
## 0.2.1
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- Get environment variables ([`f47a1e9`](https://github.com/tech4humans-brasil/framework/commit/f47a1e9cc41c7da06d788be6498dc5a992ac18e4))
|
|
71
|
+
- Resolve start workflow result ([`b698cd9`](https://github.com/tech4humans-brasil/framework/commit/b698cd93af7f8194064c284dba3475d33fa10dda))
|
|
72
|
+
|
|
73
|
+
## 0.2.0
|
|
74
|
+
|
|
75
|
+
### Patch Changes
|
|
76
|
+
|
|
77
|
+
- Internal dependency updates
|
|
78
|
+
|
|
79
|
+
## 0.1.1
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- Adds env run context in up app process ([#86](https://github.com/tech4humans-brasil/framework/pull/86))
|
|
84
|
+
|
|
85
|
+
## 0.1.0
|
|
86
|
+
|
|
87
|
+
### Minor Changes
|
|
88
|
+
|
|
89
|
+
- Adds .ai/skills in packages ([#88](https://github.com/tech4humans-brasil/framework/pull/88))
|
|
90
|
+
|
|
91
|
+
### Patch Changes
|
|
92
|
+
|
|
93
|
+
- Move dev server to its own package ([#83](https://github.com/tech4humans-brasil/framework/pull/83))
|
|
94
|
+
- Update dependencies ([`b19fa15`](https://github.com/tech4humans-brasil/framework/commit/b19fa15ae8578a6f646d46d15eeff5315ffc9281))
|
|
@@ -3,6 +3,6 @@ import { RuntimeContextService } from '../../services/RuntimeContext.service.js'
|
|
|
3
3
|
export declare class DevWorkflowClaim extends WorkflowClaim {
|
|
4
4
|
private readonly context;
|
|
5
5
|
constructor(context: RuntimeContextService);
|
|
6
|
-
start<TWorkflow extends Workflow<any, any>>(workflow: TWorkflow,
|
|
6
|
+
start<TWorkflow extends Workflow<any, any>>(workflow: TWorkflow | string, input?: WorkflowInput<TWorkflow>): Serializable;
|
|
7
7
|
startMany<TWorkflow extends Workflow<any, any>>(workflow: TWorkflow | string, inputs: WorkflowInput<TWorkflow>[] | Binary[]): Promise<WorkflowBatchRef>;
|
|
8
8
|
}
|
|
@@ -17,13 +17,10 @@ let DevWorkflowClaim = class DevWorkflowClaim extends WorkflowClaim {
|
|
|
17
17
|
super();
|
|
18
18
|
this.context = context;
|
|
19
19
|
}
|
|
20
|
-
start(workflow,
|
|
21
|
-
|
|
22
|
-
_parallel) {
|
|
23
|
-
const workflowId = workflow.id;
|
|
20
|
+
start(workflow, input) {
|
|
21
|
+
const workflowId = typeof workflow === 'string' ? workflow : workflow.id;
|
|
24
22
|
if (!workflowId)
|
|
25
23
|
throw new TypeError('Could not start workflow without an id');
|
|
26
|
-
const input = (workflow.schema !== null ? inputOrParallel : undefined);
|
|
27
24
|
const parentContext = this.context.getContext();
|
|
28
25
|
const workflowRun = container.resolve(WorkflowRunFacade);
|
|
29
26
|
const run = workflowRun.create(workflowId, input, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevWorkflowClaim.js","sourceRoot":"","sources":["../../../src/models/claims/DevWorkflowClaim.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,gBAAgB,EAChB,aAAa,GAKd,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAA;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AAGxE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,aAAa;IAG9B;IAFnB,YAEmB,OAA8B;QAE/C,KAAK,EAAE,CAAA;QAFU,YAAO,GAAP,OAAO,CAAuB;IAGjD,CAAC;IAEM,KAAK,CACV,
|
|
1
|
+
{"version":3,"file":"DevWorkflowClaim.js","sourceRoot":"","sources":["../../../src/models/claims/DevWorkflowClaim.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,gBAAgB,EAChB,aAAa,GAKd,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM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G,SAAS,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAA;QAExD,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAA;QAE/B,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE;YACnC,WAAW,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,EAAE;gBACpC,mBAAmB,EAAE,aAAa,CAAC,KAAK;gBACxC,2BAA2B,EAAE,aAAa,CAAC,UAAU;gBACrD,UAAU;gBACV,SAAS;aACV,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;QAEF,OAAO,IAAI,gBAAgB,CAAC,aAAa,CAAC,UAAU,EAAE,SAAS,CAAC,CAAA;IAClE,CAAC;CACF,CAAA;AA1DY,gBAAgB;IAD5B,UAAU,EAAE;IAGR,WAAA,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAA;GAF3B,gBAAgB,CA0D5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t4h.framework/dev",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "Dev server for the T4H Framework",
|
|
5
5
|
"homepage": "https://github.com/tech4humans-brasil/framework/tree/main/packages/dev",
|
|
6
6
|
"bugs": "https://github.com/tech4humans-brasil/framework/issues",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"prepublishOnly": "yarn build"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@t4h.framework/cache": "
|
|
46
|
-
"@t4h.framework/fs": "
|
|
47
|
-
"@t4h.framework/http": "
|
|
48
|
-
"@t4h.framework/orm": "
|
|
45
|
+
"@t4h.framework/cache": "^0.5.0",
|
|
46
|
+
"@t4h.framework/fs": "^0.7.0",
|
|
47
|
+
"@t4h.framework/http": "^0.4.2",
|
|
48
|
+
"@t4h.framework/orm": "^0.6.1",
|
|
49
49
|
"@t4h.framework/runtime-claims": "^0.1.0",
|
|
50
|
-
"@t4h.framework/sftp": "
|
|
51
|
-
"@t4h.framework/smtp": "
|
|
50
|
+
"@t4h.framework/sftp": "^0.6.0",
|
|
51
|
+
"@t4h.framework/smtp": "^0.5.0",
|
|
52
52
|
"mime-types": "^3.0.2",
|
|
53
53
|
"nodemailer": "^8.0.1",
|
|
54
54
|
"pleroma": "^1.0.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"undici": "^7.22.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@t4h.framework/core": "
|
|
61
|
+
"@t4h.framework/core": "^0.9.1",
|
|
62
62
|
"@types/json-schema": "^7.0.15",
|
|
63
63
|
"@types/mime-types": "^3",
|
|
64
64
|
"@types/node": "^25.3.5",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"vitest": "^4.0.18"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@t4h.framework/core": "
|
|
71
|
+
"@t4h.framework/core": "^0.9.1"
|
|
72
72
|
},
|
|
73
73
|
"packageManager": "yarn@4.12.0",
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=22"
|
|
76
76
|
}
|
|
77
|
-
}
|
|
77
|
+
}
|