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

teableio / teable / 8477114564

29 Mar 2024 04:16AM CUT coverage: 82.458% (+60.6%) from 21.83%
8477114564

push

github

web-flow
feat: support increment import (#484)

* fix: should not set content-length in `axios` header

* chore: remove sdk `BaseSelect` customer filter

* feat: support increment import

* test: add inplace import e2e

fix: sqlite conflict error in import e2e

* fix: `BaseSelect` filter ignore case sensitive

* fix: gen uniq name compatible pure number string

* chore: unify import fn name

* feat: add inplace import error tips

* chore: move import types to `@teable/openapi` from `@teable/core`

* feat: reset selected import field when shift sheet when inplace import mul-workbook in excel

* chore: adjust inplace import params description in `@teable/openapi`

* chore: lint error

* feat: inplace import auth validate

* test: compatible import e2e datecompare

3937 of 4142 branches covered (95.05%)

66 of 70 new or added lines in 3 files covered. (94.29%)

26136 of 31696 relevant lines covered (82.46%)

1210.33 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