• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

teableio / teable / 8468158184

28 Mar 2024 01:35PM CUT coverage: 82.464% (+60.6%) from 21.828%
8468158184

Pull #484

github

web-flow
Merge c20c5dad5 into 53432a5aa
Pull Request #484: feat: support increment import

3938 of 4143 branches covered (95.05%)

65 of 69 new or added lines in 3 files covered. (94.2%)

26137 of 31695 relevant lines covered (82.46%)

1210.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

8.33
/apps/nestjs-backend/src/features/automation/model/update-workflow-action.ro.ts
1
import { ApiPropertyOptional } from '@nestjs/swagger';
4✔
2
import { MoveWorkflowActionRo } from './move-workflow-action.ro';
4✔
3

4✔
4
export class UpdateWorkflowActionRo extends MoveWorkflowActionRo {
4!
5
  @ApiPropertyOptional({
×
6
    description: 'description of the action',
×
7
    example: 'action description',
×
8
  })
×
9
  description?: string;
×
10

×
11
  @ApiPropertyOptional({
×
12
    description: `  
×
13
Use the object to create each action step used to start the workflow.
×
14

×
15
inputExpressions, type: object, example: "{url:'https://teable.io/api/table/tblwEp45tdvwTxiUl/record',...}"
×
16
inputExpressions.url, type: stringArray, example: "https://teable.io/api/table/tblwEp45tdvwTxiUl/record"
×
17
inputExpressions.body, type: stringArray, example: "['{', '"records":[', ']', '}']", rule: "Stored as an array result, each special character adds an array element, Default is Null"
×
18
inputExpressions.method, type: string, example: "POST", rule: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE']
×
19
inputExpressions.headers, type: objectArray, example: "[{key:'Content-Type', value: ['application/json']}]", rule: "key: string, value: array type that requires a reference to a context variable in the form '$. *' expression to insert a new element, Default is Null"
×
20
inputExpressions.responseParams, type: objectArray, example: "[{name: 'data', path: 'data.records[0].fields.singleLineText'}]", rule: "Customize the action execution result structure to attach to the engine context for subsequent action references, Default is Null"
×
21
inputExpressions.responseParams.name, type: string, example: "data"
×
22
inputExpressions.responseParams.path, type: string, example: "data.records[0].fields.singleLineText"
×
23
`,
×
24
    example: {
×
25
      url: ['https://teable.io/api/table/tblwEp45tdvwTxiUl/record'],
×
26
      body: [
×
27
        '{\n',
×
28
        '  "records": [\n',
×
29
        '  {\n',
×
30
        '    "fields": {\n',
×
31
        '      "singleLineText": "New Record"\n',
×
32
        '    }\n',
×
33
        '  }\n',
×
34
        ']\n',
×
35
        '}',
×
36
      ],
×
37
      method: 'POST',
×
38
      headers: [
×
39
        {
×
40
          key: 'Content-Type',
×
41
          value: ['application/json'],
×
42
        },
×
43
      ],
×
44
      responseParams: [],
×
45
    },
×
46
  })
×
47
  inputExpressions?: { [key: string]: unknown };
×
48
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc