Skip to content

Commit

Permalink
README fix
Browse files Browse the repository at this point in the history
- replaced 'ServerlessWorkflow' by 'Specification'

Signed-off-by: JBBianchi <[email protected]>
  • Loading branch information
JBBianchi committed May 12, 2021
1 parent 296865f commit 32d3e57
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ It will create a symbolic link from globally-installed `sdk-typescript` to `node
#### Create Workflow using builder API

```typescript
const workflow: ServerlessWorkflow.Workflow = workflowBuilder()

const workflow: Specification.Workflow = workflowBuilder()
.id("helloworld")
.version("1.0")
.name("Hello World Workflow")
Expand All @@ -73,7 +74,7 @@ const workflow: ServerlessWorkflow.Workflow = workflowBuilder()
#### Create Workflow using object literals

```typescript
const workflow: ServerlessWorkflow.Workflow = {
const workflow: Specification.Workflow = {
id: 'helloworld',
version: '1.0',
name: 'Hello World Workflow',
Expand All @@ -87,7 +88,7 @@ const workflow: ServerlessWorkflow.Workflow = {
data: {
result: "Hello World!"
}
} as ServerlessWorkflow.Injectstate
} as Specification.Injectstate
]
};
```
Expand Down

0 comments on commit 32d3e57

Please sign in to comment.