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

teableio / teable / 8421654220

25 Mar 2024 02:22PM CUT coverage: 79.934% (+53.8%) from 26.087%
8421654220

Pull #495

github

web-flow
Merge 4faeebea5 into 1869c986d
Pull Request #495: chore: add licenses for non-NPM packages

3256 of 3853 branches covered (84.51%)

25152 of 31466 relevant lines covered (79.93%)

1188.29 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';
2✔
2
import { MoveWorkflowActionRo } from './move-workflow-action.ro';
2✔
3

2✔
4
export class UpdateWorkflowActionRo extends MoveWorkflowActionRo {
2✔
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