Skip to content

Commit ab633c4

Browse files
committed
Update to tucana 0.0.65
1 parent ce1955e commit ab633c4

5 files changed

Lines changed: 8 additions & 12 deletions

File tree

ts/code0-tech-tucana-0.0.0.tgz

-57 KB
Binary file not shown.

ts/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"license": "ISC",
3131
"type": "module",
3232
"dependencies": {
33-
"@code0-tech/tucana": "file:code0-tech-tucana-0.0.0.tgz",
33+
"@code0-tech/tucana": "^0.0.65",
3434
"@grpc/grpc-js": "^1.14.3",
3535
"@protobuf-ts/grpc-backend": "^2.11.1",
3636
"@protobuf-ts/grpc-transport": "^2.11.1",

ts/src/action_sdk.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ const createSdk = (config: ActionSdk["config"], configDefinitions?: HerculesActi
113113
registerFlowTypes: async (...flowTypes) => {
114114
flowTypes.forEach(flowType => {
115115
state.flowTypes.push({
116+
signature: flowType.signature,
116117
identifier: flowType.identifier,
117118
name: flowType.name || [],
118119
alias: flowType.alias || [],
@@ -122,16 +123,13 @@ const createSdk = (config: ActionSdk["config"], configDefinitions?: HerculesActi
122123
documentation: flowType.documentation || [],
123124
definitionSource: "action",
124125
version: flowType.version || config.version,
125-
inputType: flowType.inputType || "",
126-
returnType: flowType.returnType || "",
127126
linkedDataTypeIdentifiers: flowType.linkedDataTypes || [],
128127
settings: (flowType.settings || []).map(setting => ({
129128
name: setting.name || [],
130129
defaultValue: constructValue(setting.defaultValue || null),
131130
identifier: setting.identifier,
132131
description: setting.description || [],
133132
unique: setting.unique || 1,
134-
type: setting.type,
135133
linkedDataTypeIdentifiers: setting.linkedDataTypeIdentifiers || [],
136134
} as FlowTypeSetting)),
137135
editable: flowType.editable || false

ts/src/types.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export interface HerculesDataType {
3535
export interface HerculesFlowTypeSetting {
3636
identifier: string,
3737
unique?: FlowTypeSetting_UniquenessScope,
38-
type: string,
3938
linkedDataTypeIdentifiers?: string[],
4039
defaultValue?: PlainValue,
4140
name?: Translation[],
@@ -44,9 +43,8 @@ export interface HerculesFlowTypeSetting {
4443

4544
export interface HerculesFlowType {
4645
identifier: string,
47-
settings?: HerculesFlowTypeSetting[]
48-
inputType?: string,
49-
returnType?: string,
46+
settings?: HerculesFlowTypeSetting[],
47+
signature: string,
5048
linkedDataTypes?: string[],
5149
editable: boolean,
5250
name?: Translation[],

0 commit comments

Comments
 (0)