@tailor-platform/sdk 1.15.1 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/application-CNpRSiWJ.mjs +4 -0
- package/dist/{application-B0TR65qY.mjs → application-DQ2F9UmJ.mjs} +22 -6
- package/dist/application-DQ2F9UmJ.mjs.map +1 -0
- package/dist/cli/index.mjs +136 -2
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +20 -3
- package/dist/cli/lib.mjs +2 -2
- package/dist/configure/index.d.mts +3 -3
- package/dist/{index-Bs9AsQb2.d.mts → index-1V_2bvT4.d.mts} +11 -11
- package/dist/{index-DomkP6gz.d.mts → index-Ds8lbSJb.d.mts} +2 -2
- package/dist/plugin/index.d.mts +1 -1
- package/dist/schema-DRYB-nzA.mjs.map +1 -1
- package/dist/{types-Db1oxr0U.d.mts → types-_sYDzqHG.d.mts} +96 -52
- package/dist/types-b-ig8nW_.mjs.map +1 -1
- package/dist/{update-CnSKzwg6.mjs → update-C5jgLxpK.mjs} +48 -24
- package/dist/update-C5jgLxpK.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +3 -3
- package/docs/cli/function.md +64 -0
- package/docs/cli-reference.md +8 -0
- package/package.json +1 -1
- package/dist/application-B0TR65qY.mjs.map +0 -1
- package/dist/application-BmaRd-Tl.mjs +0 -4
- package/dist/update-CnSKzwg6.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="./../../user-defined.d.ts" />
|
|
2
|
-
import { M as TailorDBType, st as TailorField } from "../../types-
|
|
3
|
-
import "../../index-
|
|
4
|
-
import { G as WORKFLOW_TEST_ENV_KEY, n as output } from "../../index-
|
|
2
|
+
import { M as TailorDBType, st as TailorField } from "../../types-_sYDzqHG.mjs";
|
|
3
|
+
import "../../index-Ds8lbSJb.mjs";
|
|
4
|
+
import { G as WORKFLOW_TEST_ENV_KEY, n as output } from "../../index-1V_2bvT4.mjs";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
|
|
7
7
|
//#region src/utils/test/index.d.ts
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Function Commands
|
|
2
|
+
|
|
3
|
+
Commands for viewing function execution logs.
|
|
4
|
+
|
|
5
|
+
<!-- politty:command:function:start -->
|
|
6
|
+
|
|
7
|
+
## function
|
|
8
|
+
|
|
9
|
+
Manage functions
|
|
10
|
+
|
|
11
|
+
**Usage**
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
tailor-sdk function [command]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Commands**
|
|
18
|
+
|
|
19
|
+
| Command | Description |
|
|
20
|
+
| --------------------------------- | ------------------------------------ |
|
|
21
|
+
| [`function logs`](#function-logs) | List or get function execution logs. |
|
|
22
|
+
|
|
23
|
+
<!-- politty:command:function:end -->
|
|
24
|
+
<!-- politty:command:function logs:start -->
|
|
25
|
+
|
|
26
|
+
### function logs
|
|
27
|
+
|
|
28
|
+
List or get function execution logs.
|
|
29
|
+
|
|
30
|
+
**Usage**
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
tailor-sdk function logs [options] [executionId]
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**Arguments**
|
|
37
|
+
|
|
38
|
+
| Argument | Description | Required |
|
|
39
|
+
| ------------- | --------------------------------------------------- | -------- |
|
|
40
|
+
| `executionId` | Execution ID (if provided, shows details with logs) | No |
|
|
41
|
+
|
|
42
|
+
**Options**
|
|
43
|
+
|
|
44
|
+
| Option | Alias | Description | Required | Default |
|
|
45
|
+
| ------------------------------- | ----- | ----------------- | -------- | ------- |
|
|
46
|
+
| `--json` | `-j` | Output as JSON | No | `false` |
|
|
47
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
|
|
48
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
|
|
49
|
+
|
|
50
|
+
<!-- politty:command:function logs:end -->
|
|
51
|
+
|
|
52
|
+
**Usage Examples:**
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# List all function execution logs
|
|
56
|
+
tailor-sdk function logs
|
|
57
|
+
|
|
58
|
+
# Get execution details with logs
|
|
59
|
+
tailor-sdk function logs <execution-id>
|
|
60
|
+
|
|
61
|
+
# Output as JSON
|
|
62
|
+
tailor-sdk function logs --json
|
|
63
|
+
tailor-sdk function logs <execution-id> --json
|
|
64
|
+
```
|
package/docs/cli-reference.md
CHANGED
|
@@ -152,6 +152,14 @@ Commands for managing workflows and executions.
|
|
|
152
152
|
| [workflow executions](./cli/workflow.md#workflow-executions) | List or get executions |
|
|
153
153
|
| [workflow resume](./cli/workflow.md#workflow-resume) | Resume a failed execution |
|
|
154
154
|
|
|
155
|
+
### [Function Commands](./cli/function.md)
|
|
156
|
+
|
|
157
|
+
Commands for viewing function execution logs.
|
|
158
|
+
|
|
159
|
+
| Command | Description |
|
|
160
|
+
| ------------------------------------------------ | ----------------------------------- |
|
|
161
|
+
| [function logs](./cli/function.md#function-logs) | List or get function execution logs |
|
|
162
|
+
|
|
155
163
|
### [Executor Commands](./cli/executor.md)
|
|
156
164
|
|
|
157
165
|
Commands for managing executors and executor jobs.
|