Skip to content

Commit

Permalink
regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
widmogrod committed Jan 4, 2024
1 parent 1136aa8 commit a1b05cd
Show file tree
Hide file tree
Showing 4 changed files with 331 additions and 331 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,39 +32,22 @@ export type ChatResponses = {
Responses?: ChatResult[],
}

export type Command = workflow.Command

export type RefreshStates = {}

export type GenerateImage = {
Width?: number,
Height?: number,
}

export type PageResult = schemaless.PageResult<schemaless.Record<any>>
export type RefreshFlows = {}

export type Service<CMD, State> = {}
export type Reshaper = workflow.Reshaper

export type FunctionOutput = workflow.FunctionOutput

export type State = workflow.State
export type RefreshStates = {}

export type Workflow = workflow.Workflow
export type PageResult = schemaless.PageResult<schemaless.Record<any>>

export type Predicate = workflow.Predicate
export type FindRecords = schemaless.FindingRecords<schemaless.Record<any>>

export type Schema = schema.Schema

export type RefreshFlows = {}

export type Expr = workflow.Expr

export type UpdateRecords = schemaless.UpdateRecords<schemaless.Record<any>>

export type Reshaper = workflow.Reshaper

export type FindRecords = schemaless.FindingRecords<schemaless.Record<any>>

export type FunctionInput = workflow.FunctionInput

export type ListWorkflowsFn = {
Expand All @@ -73,12 +56,29 @@ export type ListWorkflowsFn = {
EnumTest?: string,
}

export type GenerateImage = {
Width?: number,
Height?: number,
}

export type Workflow = workflow.Workflow

export type Predicate = workflow.Predicate

export type Command = workflow.Command

export type Expr = workflow.Expr

export type State = workflow.State

export type Service<CMD, State> = {}


//eslint-disable-next-line
import * as schema from './github_com_widmogrod_mkunion_x_schema'
//eslint-disable-next-line
import * as openai from './github_com_sashabaranov_go-openai'
//eslint-disable-next-line
import * as workflow from './github_com_widmogrod_mkunion_x_workflow'
//eslint-disable-next-line
import * as schemaless from './github_com_widmogrod_mkunion_x_storage_schemaless'
//eslint-disable-next-line
import * as schema from './github_com_widmogrod_mkunion_x_schema'
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
//generated by mkunion
export type Command = {
"$type"?: "workflow.Run",
"workflow.Run": Run
} | {
"$type"?: "workflow.Callback",
"workflow.Callback": Callback
} | {
"$type"?: "workflow.TryRecover",
"workflow.TryRecover": TryRecover
} | {
"$type"?: "workflow.StopSchedule",
"workflow.StopSchedule": StopSchedule
export type Reshaper = {
"$type"?: "workflow.GetValue",
"workflow.GetValue": GetValue
} | {
"$type"?: "workflow.ResumeSchedule",
"workflow.ResumeSchedule": ResumeSchedule
"$type"?: "workflow.SetValue",
"workflow.SetValue": SetValue
}

export type Run = {
Flow?: Workflow,
Input?: schema.Schema,
RunOption?: RunOption,
export type GetValue = {
Path?: string,
}

export type SetValue = {
Value?: schema.Schema,
}

export type FunctionOutput = {
Result?: schema.Schema,
}

export type FunctionInput = {
Name?: string,
CallbackID?: string,
Args?: schema.Schema[],
}

export type Workflow = {
Expand Down Expand Up @@ -55,22 +58,6 @@ export type End = {
Result?: Reshaper,
}

export type Reshaper = {
"$type"?: "workflow.GetValue",
"workflow.GetValue": GetValue
} | {
"$type"?: "workflow.SetValue",
"workflow.SetValue": SetValue
}

export type GetValue = {
Path?: string,
}

export type SetValue = {
Value?: schema.Schema,
}

export type Assign = {
ID?: string,
VarOk?: string,
Expand Down Expand Up @@ -132,6 +119,29 @@ export type FlowRef = {
FlowID?: string,
}

export type Command = {
"$type"?: "workflow.Run",
"workflow.Run": Run
} | {
"$type"?: "workflow.Callback",
"workflow.Callback": Callback
} | {
"$type"?: "workflow.TryRecover",
"workflow.TryRecover": TryRecover
} | {
"$type"?: "workflow.StopSchedule",
"workflow.StopSchedule": StopSchedule
} | {
"$type"?: "workflow.ResumeSchedule",
"workflow.ResumeSchedule": ResumeSchedule
}

export type Run = {
Flow?: Workflow,
Input?: schema.Schema,
RunOption?: RunOption,
}

export type RunOption = {
"$type"?: "workflow.ScheduleRun",
"workflow.ScheduleRun": ScheduleRun
Expand Down Expand Up @@ -166,10 +176,6 @@ export type ResumeSchedule = {
ParentRunID?: string,
}

export type FunctionOutput = {
Result?: schema.Schema,
}

export type State = {
"$type"?: "workflow.NextOperation",
"workflow.NextOperation": NextOperation
Expand Down Expand Up @@ -232,12 +238,6 @@ export type ScheduleStopped = {
BaseState?: BaseState,
}

export type FunctionInput = {
Name?: string,
CallbackID?: string,
Args?: schema.Schema[],
}


//eslint-disable-next-line
import * as schema from './github_com_widmogrod_mkunion_x_schema'
Loading

0 comments on commit a1b05cd

Please sign in to comment.