@tailor-platform/sdk 1.67.1 → 1.69.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 +98 -1
- package/dist/application-Br48NXBD.mjs +4 -0
- package/dist/application-Cr-limKC.mjs +6192 -0
- package/dist/application-Cr-limKC.mjs.map +1 -0
- package/dist/cli/index.mjs +147 -34
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +297 -157
- package/dist/cli/lib.mjs +4 -4
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/skills.mjs +1 -1
- package/dist/completion/zsh-worker.zsh +127 -48
- package/dist/configure/index.d.mts +2 -2
- package/dist/configure/index.mjs +4 -0
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{crashreport-u9y2npiy.mjs → crashreport-BqyvFk-_.mjs} +2 -2
- package/dist/{crashreport-u9y2npiy.mjs.map → crashreport-BqyvFk-_.mjs.map} +1 -1
- package/dist/{crashreport-6jpCceOF.mjs → crashreport-BwF8cHF0.mjs} +1 -1
- package/dist/enum-constants-C7DaWeQo.mjs.map +1 -1
- package/dist/field-C4zdJLW5.mjs.map +1 -1
- package/dist/file-utils-BHPxPXmn.mjs.map +1 -1
- package/dist/{idp-BlBPtXJ-.d.mts → idp-BmYwCXnJ.d.mts} +30 -3
- package/dist/{idp-BZPqpcYY.mjs → idp-ynUfzwpz.mjs} +9 -1
- package/dist/idp-ynUfzwpz.mjs.map +1 -0
- package/dist/{index-DvEUb3pX.d.mts → index-B7VbJm0_.d.mts} +25 -16
- package/dist/{index-DRhMpdnA.d.mts → index-dKNk8hjo.d.mts} +2 -2
- package/dist/job-BpsFXPbi.mjs.map +1 -1
- package/dist/{kysely-type-D1e0Vwkd.mjs → kysely-type-CSoZxVKN.mjs} +2 -2
- package/dist/{kysely-type-D1e0Vwkd.mjs.map → kysely-type-CSoZxVKN.mjs.map} +1 -1
- package/dist/{logger-DpJyJvNz.mjs → logger-DKF-JsAK.mjs} +3 -3
- package/dist/{logger-DpJyJvNz.mjs.map → logger-DKF-JsAK.mjs.map} +1 -1
- package/dist/{mock-DMgIygjE.mjs → mock-wf5qeZLi.mjs} +19 -9
- package/dist/mock-wf5qeZLi.mjs.map +1 -0
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/registry-D0uB0OrK.mjs.map +1 -1
- package/dist/{repl-editor-CJG3sz7A.mjs → repl-editor-DD5YP5mt.mjs} +4 -4
- package/dist/{repl-editor-CJG3sz7A.mjs.map → repl-editor-DD5YP5mt.mjs.map} +1 -1
- package/dist/runtime/globals.d.mts +3 -2
- package/dist/runtime/idp.d.mts +2 -2
- package/dist/runtime/idp.mjs +1 -1
- package/dist/runtime/index.d.mts +2 -2
- package/dist/runtime/index.mjs +1 -1
- package/dist/{runtime-BU6KtCvk.mjs → runtime-jowoN6qC.mjs} +803 -226
- package/dist/runtime-jowoN6qC.mjs.map +1 -0
- package/dist/schema-1msIhXwA.mjs.map +1 -1
- package/dist/seed-YAbtMy65.mjs.map +1 -1
- package/dist/{service-wI3Hvrgx.mjs → service-B2Jd9CxS.mjs} +2 -2
- package/dist/service-B2Jd9CxS.mjs.map +1 -0
- package/dist/service-CRaa4Joe.mjs +4 -0
- package/dist/{service-DMohAx8a.mjs → service-DDWgZL_L2.mjs} +2 -2
- package/dist/service-DDWgZL_L2.mjs.map +1 -0
- package/dist/service_pb-DGSmn-aF.mjs +4 -0
- package/dist/{application-WpWwTyk9.mjs → service_pb-DSNjrcbW.mjs} +22 -6176
- package/dist/service_pb-DSNjrcbW.mjs.map +1 -0
- package/dist/telemetry-BQbbVo2t.mjs.map +1 -1
- package/dist/types-CmzfQP_m.mjs.map +1 -1
- package/dist/utils/test/index.d.mts +2 -2
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/vitest/environment.mjs +1 -1
- package/dist/vitest/environment.mjs.map +1 -1
- package/dist/vitest/index.mjs +4 -4
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/setup.mjs +1 -1
- package/dist/{workflow.generated-1S50BhEb.d.mts → workflow.generated-Br9bmLdX.d.mts} +98 -3
- package/docs/cli/application.md +5 -202
- package/docs/cli/auth.md +12 -256
- package/docs/cli/completion.md +0 -24
- package/docs/cli/crashreport.md +0 -58
- package/docs/cli/executor.md +53 -164
- package/docs/cli/function.md +2 -118
- package/docs/cli/organization.md +1 -211
- package/docs/cli/query.md +0 -20
- package/docs/cli/secret.md +70 -250
- package/docs/cli/setup.md +21 -59
- package/docs/cli/skills.md +0 -39
- package/docs/cli/staticwebsite.md +24 -172
- package/docs/cli/tailordb.md +5 -255
- package/docs/cli/upgrade.md +0 -20
- package/docs/cli/user.md +32 -247
- package/docs/cli/workflow.md +139 -161
- package/docs/cli/workspace.md +158 -537
- package/docs/cli-reference.md +59 -40
- package/docs/configuration.md +7 -1
- package/docs/github-actions.md +27 -14
- package/docs/services/idp.md +55 -2
- package/docs/services/staticwebsite.md +7 -1
- package/package.json +23 -18
- package/dist/application-Djeezk3m.mjs +0 -4
- package/dist/application-WpWwTyk9.mjs.map +0 -1
- package/dist/idp-BZPqpcYY.mjs.map +0 -1
- package/dist/mock-DMgIygjE.mjs.map +0 -1
- package/dist/runtime-BU6KtCvk.mjs.map +0 -1
- package/dist/service-BHQIerYh.mjs +0 -4
- package/dist/service-DMohAx8a.mjs.map +0 -1
- package/dist/service-wI3Hvrgx.mjs.map +0 -1
|
@@ -588,6 +588,8 @@ type IdPGqlOperationsInput = "query" | {
|
|
|
588
588
|
delete?: boolean | undefined;
|
|
589
589
|
read?: boolean | undefined;
|
|
590
590
|
sendPasswordResetEmail?: boolean | undefined;
|
|
591
|
+
requestMfaSettingsUrl?: boolean | undefined;
|
|
592
|
+
unenrollMfa?: boolean | undefined;
|
|
591
593
|
};
|
|
592
594
|
type IdPGqlOperations = {
|
|
593
595
|
create?: boolean | undefined;
|
|
@@ -595,6 +597,8 @@ type IdPGqlOperations = {
|
|
|
595
597
|
delete?: boolean | undefined;
|
|
596
598
|
read?: boolean | undefined;
|
|
597
599
|
sendPasswordResetEmail?: boolean | undefined;
|
|
600
|
+
requestMfaSettingsUrl?: boolean | undefined;
|
|
601
|
+
unenrollMfa?: boolean | undefined;
|
|
598
602
|
};
|
|
599
603
|
/**
|
|
600
604
|
* Namespace-level email configuration defaults
|
|
@@ -623,6 +627,10 @@ type IdPInput = {
|
|
|
623
627
|
allowGoogleOauth?: boolean | undefined;
|
|
624
628
|
allowMicrosoftOauth?: boolean | undefined;
|
|
625
629
|
disablePasswordAuth?: boolean | undefined;
|
|
630
|
+
enableMfa?: boolean | undefined;
|
|
631
|
+
requireMfa?: boolean | undefined;
|
|
632
|
+
allowedReturnOrigins?: string[] | undefined;
|
|
633
|
+
mfaIssuer?: string | undefined;
|
|
626
634
|
} | undefined; /** Enable publishing user lifecycle events */
|
|
627
635
|
publishUserEvents?: boolean | undefined; /** Configure which GraphQL operations are enabled */
|
|
628
636
|
gqlOperations?: "query" | {
|
|
@@ -631,6 +639,8 @@ type IdPInput = {
|
|
|
631
639
|
delete?: boolean | undefined;
|
|
632
640
|
read?: boolean | undefined;
|
|
633
641
|
sendPasswordResetEmail?: boolean | undefined;
|
|
642
|
+
requestMfaSettingsUrl?: boolean | undefined;
|
|
643
|
+
unenrollMfa?: boolean | undefined;
|
|
634
644
|
} | undefined; /** Namespace-level email configuration defaults */
|
|
635
645
|
emailConfig?: {
|
|
636
646
|
fromName?: string | undefined;
|
|
@@ -977,7 +987,7 @@ type IdPInput = {
|
|
|
977
987
|
description?: string | undefined;
|
|
978
988
|
permit?: boolean | undefined;
|
|
979
989
|
})[];
|
|
980
|
-
sendPasswordResetEmail
|
|
990
|
+
sendPasswordResetEmail?: readonly (readonly [(string | boolean | readonly string[] | readonly boolean[] | {
|
|
981
991
|
user: string;
|
|
982
992
|
} | {
|
|
983
993
|
idpUser: "name" | "id" | "disabled";
|
|
@@ -1061,7 +1071,92 @@ type IdPInput = {
|
|
|
1061
1071
|
})])[];
|
|
1062
1072
|
description?: string | undefined;
|
|
1063
1073
|
permit?: boolean | undefined;
|
|
1064
|
-
})[];
|
|
1074
|
+
})[] | undefined;
|
|
1075
|
+
unenrollMfa?: readonly (readonly [(string | boolean | readonly string[] | readonly boolean[] | {
|
|
1076
|
+
user: string;
|
|
1077
|
+
} | {
|
|
1078
|
+
idpUser: "name" | "id" | "disabled";
|
|
1079
|
+
} | {
|
|
1080
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1081
|
+
} | {
|
|
1082
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1083
|
+
}), "in" | "=" | "!=" | "not in", (string | boolean | readonly string[] | readonly boolean[] | {
|
|
1084
|
+
user: string;
|
|
1085
|
+
} | {
|
|
1086
|
+
idpUser: "name" | "id" | "disabled";
|
|
1087
|
+
} | {
|
|
1088
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1089
|
+
} | {
|
|
1090
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1091
|
+
})] | readonly [(string | boolean | readonly string[] | readonly boolean[] | {
|
|
1092
|
+
user: string;
|
|
1093
|
+
} | {
|
|
1094
|
+
idpUser: "name" | "id" | "disabled";
|
|
1095
|
+
} | {
|
|
1096
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1097
|
+
} | {
|
|
1098
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1099
|
+
}), "in" | "=" | "!=" | "not in", (string | boolean | readonly string[] | readonly boolean[] | {
|
|
1100
|
+
user: string;
|
|
1101
|
+
} | {
|
|
1102
|
+
idpUser: "name" | "id" | "disabled";
|
|
1103
|
+
} | {
|
|
1104
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1105
|
+
} | {
|
|
1106
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1107
|
+
}), boolean] | readonly (boolean | readonly [(string | boolean | readonly string[] | readonly boolean[] | {
|
|
1108
|
+
user: string;
|
|
1109
|
+
} | {
|
|
1110
|
+
idpUser: "name" | "id" | "disabled";
|
|
1111
|
+
} | {
|
|
1112
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1113
|
+
} | {
|
|
1114
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1115
|
+
}), "in" | "=" | "!=" | "not in", (string | boolean | readonly string[] | readonly boolean[] | {
|
|
1116
|
+
user: string;
|
|
1117
|
+
} | {
|
|
1118
|
+
idpUser: "name" | "id" | "disabled";
|
|
1119
|
+
} | {
|
|
1120
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1121
|
+
} | {
|
|
1122
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1123
|
+
})])[] | {
|
|
1124
|
+
conditions: readonly [(string | boolean | readonly string[] | readonly boolean[] | {
|
|
1125
|
+
user: string;
|
|
1126
|
+
} | {
|
|
1127
|
+
idpUser: "name" | "id" | "disabled";
|
|
1128
|
+
} | {
|
|
1129
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1130
|
+
} | {
|
|
1131
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1132
|
+
}), "in" | "=" | "!=" | "not in", (string | boolean | readonly string[] | readonly boolean[] | {
|
|
1133
|
+
user: string;
|
|
1134
|
+
} | {
|
|
1135
|
+
idpUser: "name" | "id" | "disabled";
|
|
1136
|
+
} | {
|
|
1137
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1138
|
+
} | {
|
|
1139
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1140
|
+
})] | readonly (readonly [(string | boolean | readonly string[] | readonly boolean[] | {
|
|
1141
|
+
user: string;
|
|
1142
|
+
} | {
|
|
1143
|
+
idpUser: "name" | "id" | "disabled";
|
|
1144
|
+
} | {
|
|
1145
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1146
|
+
} | {
|
|
1147
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1148
|
+
}), "in" | "=" | "!=" | "not in", (string | boolean | readonly string[] | readonly boolean[] | {
|
|
1149
|
+
user: string;
|
|
1150
|
+
} | {
|
|
1151
|
+
idpUser: "name" | "id" | "disabled";
|
|
1152
|
+
} | {
|
|
1153
|
+
oldIdpUser: "name" | "id" | "disabled";
|
|
1154
|
+
} | {
|
|
1155
|
+
newIdpUser: "name" | "id" | "disabled";
|
|
1156
|
+
})])[];
|
|
1157
|
+
description?: string | undefined;
|
|
1158
|
+
permit?: boolean | undefined;
|
|
1159
|
+
})[] | undefined;
|
|
1065
1160
|
} | undefined;
|
|
1066
1161
|
};
|
|
1067
1162
|
//#endregion
|
|
@@ -1244,4 +1339,4 @@ type ConcurrencyPolicy = {
|
|
|
1244
1339
|
};
|
|
1245
1340
|
//#endregion
|
|
1246
1341
|
export { TailorDBInstance as A, IdPInput as C, TailorAnyDBField as D, AIGatewayInput as E, TailorTypePermission as F, unsafeAllowAllGqlPermission as I, unsafeAllowAllTypePermission as L, db as M, PermissionCondition as N, TailorAnyDBType as O, TailorTypeGqlPermission as P, AllowedValues as R, IdPGqlOperationsInput as S, AIGatewayDefinitionBrand as T, IdPConfig as _, ExecutorServiceConfig as a, IdPEmailConfig as b, ResolverServiceConfig as c, WorkflowServiceInput as d, StaticWebsiteConfig as f, SecretsDefinitionBrand as g, SecretsConfig as h, AppConfig as i, TailorDBType as j, TailorDBField as k, ResolverServiceInput as l, StaticWebsiteInput as m, RetryPolicy as n, ExecutorServiceInput as o, StaticWebsiteDefinitionBrand as p, HttpAdapterConfigInput as r, ResolverExternalConfig as s, ConcurrencyPolicy as t, WorkflowServiceConfig as u, IdPExternalConfig as v, AIGatewayConfig as w, IdPGqlOperations as x, IdpDefinitionBrand as y, AllowedValuesOutput as z };
|
|
1247
|
-
//# sourceMappingURL=workflow.generated-
|
|
1342
|
+
//# sourceMappingURL=workflow.generated-Br9bmLdX.d.mts.map
|
package/docs/cli/application.md
CHANGED
|
@@ -2,78 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
Commands for managing Tailor Platform applications. These commands work with `tailor.config.ts`.
|
|
4
4
|
|
|
5
|
-
<!-- politty:command:init:heading:start -->
|
|
6
|
-
|
|
7
5
|
## init
|
|
8
6
|
|
|
9
|
-
<!-- politty:command:init:heading:end -->
|
|
10
|
-
|
|
11
|
-
<!-- politty:command:init:description:start -->
|
|
12
|
-
|
|
13
7
|
Initialize a new project using create-sdk.
|
|
14
8
|
|
|
15
|
-
<!-- politty:command:init:description:end -->
|
|
16
|
-
|
|
17
|
-
<!-- politty:command:init:usage:start -->
|
|
18
|
-
|
|
19
9
|
**Usage**
|
|
20
10
|
|
|
21
11
|
```
|
|
22
12
|
tailor-sdk init [options] [name]
|
|
23
13
|
```
|
|
24
14
|
|
|
25
|
-
<!-- politty:command:init:usage:end -->
|
|
26
|
-
|
|
27
|
-
<!-- politty:command:init:arguments:start -->
|
|
28
|
-
|
|
29
15
|
**Arguments**
|
|
30
16
|
|
|
31
17
|
| Argument | Description | Required |
|
|
32
18
|
| -------- | ------------ | -------- |
|
|
33
19
|
| `name` | Project name | No |
|
|
34
20
|
|
|
35
|
-
<!-- politty:command:init:arguments:end -->
|
|
36
|
-
|
|
37
|
-
<!-- politty:command:init:options:start -->
|
|
38
|
-
|
|
39
21
|
**Options**
|
|
40
22
|
|
|
41
23
|
| Option | Alias | Description | Required | Default |
|
|
42
24
|
| ----------------------- | ----- | ------------- | -------- | ------- |
|
|
43
25
|
| `--template <TEMPLATE>` | `-t` | Template name | No | - |
|
|
44
26
|
|
|
45
|
-
<!-- politty:command:init:options:end -->
|
|
46
|
-
|
|
47
|
-
<!-- politty:command:init:global-options-link:start -->
|
|
48
|
-
|
|
49
27
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
50
28
|
|
|
51
|
-
<!-- politty:command:init:global-options-link:end -->
|
|
52
|
-
|
|
53
|
-
<!-- politty:command:generate:heading:start -->
|
|
54
|
-
|
|
55
29
|
## generate
|
|
56
30
|
|
|
57
|
-
<!-- politty:command:generate:heading:end -->
|
|
58
|
-
|
|
59
|
-
<!-- politty:command:generate:description:start -->
|
|
60
|
-
|
|
61
31
|
Generate files using Tailor configuration.
|
|
62
32
|
|
|
63
|
-
<!-- politty:command:generate:description:end -->
|
|
64
|
-
|
|
65
|
-
<!-- politty:command:generate:usage:start -->
|
|
66
|
-
|
|
67
33
|
**Usage**
|
|
68
34
|
|
|
69
35
|
```
|
|
70
36
|
tailor-sdk generate [options]
|
|
71
37
|
```
|
|
72
38
|
|
|
73
|
-
<!-- politty:command:generate:usage:end -->
|
|
74
|
-
|
|
75
|
-
<!-- politty:command:generate:options:start -->
|
|
76
|
-
|
|
77
39
|
**Options**
|
|
78
40
|
|
|
79
41
|
| Option | Alias | Description | Required | Default |
|
|
@@ -81,40 +43,20 @@ tailor-sdk generate [options]
|
|
|
81
43
|
| `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
|
|
82
44
|
| `--watch` | `-W` | Watch for type/resolver changes and regenerate | No | `false` |
|
|
83
45
|
|
|
84
|
-
<!-- politty:command:generate:options:end -->
|
|
85
|
-
|
|
86
|
-
<!-- politty:command:generate:global-options-link:start -->
|
|
87
|
-
|
|
88
46
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
89
47
|
|
|
90
|
-
<!-- politty:command:generate:global-options-link:end -->
|
|
91
|
-
|
|
92
|
-
<!-- politty:command:deploy:heading:start -->
|
|
93
|
-
|
|
94
48
|
## deploy
|
|
95
49
|
|
|
96
|
-
<!-- politty:command:deploy:heading:end -->
|
|
97
|
-
|
|
98
|
-
<!-- politty:command:deploy:description:start -->
|
|
99
|
-
|
|
100
50
|
Deploy your application by applying the Tailor configuration.
|
|
101
51
|
|
|
102
52
|
**Aliases:** `apply`
|
|
103
53
|
|
|
104
|
-
<!-- politty:command:deploy:description:end -->
|
|
105
|
-
|
|
106
|
-
<!-- politty:command:deploy:usage:start -->
|
|
107
|
-
|
|
108
54
|
**Usage**
|
|
109
55
|
|
|
110
56
|
```
|
|
111
57
|
tailor-sdk deploy [options]
|
|
112
58
|
```
|
|
113
59
|
|
|
114
|
-
<!-- politty:command:deploy:usage:end -->
|
|
115
|
-
|
|
116
|
-
<!-- politty:command:deploy:options:start -->
|
|
117
|
-
|
|
118
60
|
**Options**
|
|
119
61
|
|
|
120
62
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -129,14 +71,7 @@ tailor-sdk deploy [options]
|
|
|
129
71
|
| `--no-cache` | - | Disable bundle caching for this run | No | - | - |
|
|
130
72
|
| `--clean-cache` | - | Clean the bundle cache before building | No | - | - |
|
|
131
73
|
|
|
132
|
-
<!-- politty:command:deploy:options:end -->
|
|
133
|
-
|
|
134
|
-
<!-- politty:command:deploy:global-options-link:start -->
|
|
135
|
-
|
|
136
74
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
137
|
-
|
|
138
|
-
<!-- politty:command:deploy:global-options-link:end -->
|
|
139
|
-
|
|
140
75
|
**Config File Modification:**
|
|
141
76
|
|
|
142
77
|
On first run, `deploy` automatically injects a stable `id: "<uuid>"` field into your `defineConfig({...})` call in `tailor.config.ts`. This UUID is used to track your application across renames so the SDK can recognize ownership across renames. Commit the generated id to version control. See [Configuration](../configuration.md#application-settings) for details.
|
|
@@ -180,30 +115,16 @@ Plan: 5 to create, 3 to update, 1 to delete, 25 unchanged
|
|
|
180
115
|
|
|
181
116
|
Use `--dry-run` to preview the plan without applying anything.
|
|
182
117
|
|
|
183
|
-
<!-- politty:command:remove:heading:start -->
|
|
184
|
-
|
|
185
118
|
## remove
|
|
186
119
|
|
|
187
|
-
<!-- politty:command:remove:heading:end -->
|
|
188
|
-
|
|
189
|
-
<!-- politty:command:remove:description:start -->
|
|
190
|
-
|
|
191
120
|
Remove all resources managed by the application from the workspace.
|
|
192
121
|
|
|
193
|
-
<!-- politty:command:remove:description:end -->
|
|
194
|
-
|
|
195
|
-
<!-- politty:command:remove:usage:start -->
|
|
196
|
-
|
|
197
122
|
**Usage**
|
|
198
123
|
|
|
199
124
|
```
|
|
200
125
|
tailor-sdk remove [options]
|
|
201
126
|
```
|
|
202
127
|
|
|
203
|
-
<!-- politty:command:remove:usage:end -->
|
|
204
|
-
|
|
205
|
-
<!-- politty:command:remove:options:start -->
|
|
206
|
-
|
|
207
128
|
**Options**
|
|
208
129
|
|
|
209
130
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -213,38 +134,18 @@ tailor-sdk remove [options]
|
|
|
213
134
|
| `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
|
|
214
135
|
| `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
|
|
215
136
|
|
|
216
|
-
<!-- politty:command:remove:options:end -->
|
|
217
|
-
|
|
218
|
-
<!-- politty:command:remove:global-options-link:start -->
|
|
219
|
-
|
|
220
137
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
221
138
|
|
|
222
|
-
<!-- politty:command:remove:global-options-link:end -->
|
|
223
|
-
|
|
224
|
-
<!-- politty:command:show:heading:start -->
|
|
225
|
-
|
|
226
139
|
## show
|
|
227
140
|
|
|
228
|
-
<!-- politty:command:show:heading:end -->
|
|
229
|
-
|
|
230
|
-
<!-- politty:command:show:description:start -->
|
|
231
|
-
|
|
232
141
|
Show information about the deployed application.
|
|
233
142
|
|
|
234
|
-
<!-- politty:command:show:description:end -->
|
|
235
|
-
|
|
236
|
-
<!-- politty:command:show:usage:start -->
|
|
237
|
-
|
|
238
143
|
**Usage**
|
|
239
144
|
|
|
240
145
|
```
|
|
241
146
|
tailor-sdk show [options]
|
|
242
147
|
```
|
|
243
148
|
|
|
244
|
-
<!-- politty:command:show:usage:end -->
|
|
245
|
-
|
|
246
|
-
<!-- politty:command:show:options:start -->
|
|
247
|
-
|
|
248
149
|
**Options**
|
|
249
150
|
|
|
250
151
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -253,38 +154,18 @@ tailor-sdk show [options]
|
|
|
253
154
|
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
254
155
|
| `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
|
|
255
156
|
|
|
256
|
-
<!-- politty:command:show:options:end -->
|
|
257
|
-
|
|
258
|
-
<!-- politty:command:show:global-options-link:start -->
|
|
259
|
-
|
|
260
157
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
261
158
|
|
|
262
|
-
<!-- politty:command:show:global-options-link:end -->
|
|
263
|
-
|
|
264
|
-
<!-- politty:command:open:heading:start -->
|
|
265
|
-
|
|
266
159
|
## open
|
|
267
160
|
|
|
268
|
-
<!-- politty:command:open:heading:end -->
|
|
269
|
-
|
|
270
|
-
<!-- politty:command:open:description:start -->
|
|
271
|
-
|
|
272
161
|
Open Tailor Platform Console.
|
|
273
162
|
|
|
274
|
-
<!-- politty:command:open:description:end -->
|
|
275
|
-
|
|
276
|
-
<!-- politty:command:open:usage:start -->
|
|
277
|
-
|
|
278
163
|
**Usage**
|
|
279
164
|
|
|
280
165
|
```
|
|
281
166
|
tailor-sdk open [options]
|
|
282
167
|
```
|
|
283
168
|
|
|
284
|
-
<!-- politty:command:open:usage:end -->
|
|
285
|
-
|
|
286
|
-
<!-- politty:command:open:options:start -->
|
|
287
|
-
|
|
288
169
|
**Options**
|
|
289
170
|
|
|
290
171
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -293,48 +174,24 @@ tailor-sdk open [options]
|
|
|
293
174
|
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
294
175
|
| `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
|
|
295
176
|
|
|
296
|
-
<!-- politty:command:open:options:end -->
|
|
297
|
-
|
|
298
|
-
<!-- politty:command:open:global-options-link:start -->
|
|
299
|
-
|
|
300
177
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
301
178
|
|
|
302
|
-
<!-- politty:command:open:global-options-link:end -->
|
|
303
|
-
|
|
304
|
-
<!-- politty:command:api:heading:start -->
|
|
305
|
-
|
|
306
179
|
## api
|
|
307
180
|
|
|
308
|
-
<!-- politty:command:api:heading:end -->
|
|
309
|
-
|
|
310
|
-
<!-- politty:command:api:description:start -->
|
|
311
|
-
|
|
312
181
|
Call Tailor Platform API endpoints directly.
|
|
313
182
|
|
|
314
|
-
<!-- politty:command:api:description:end -->
|
|
315
|
-
|
|
316
|
-
<!-- politty:command:api:usage:start -->
|
|
317
|
-
|
|
318
183
|
**Usage**
|
|
319
184
|
|
|
320
185
|
```
|
|
321
186
|
tailor-sdk api [options] [command] <endpoint>
|
|
322
187
|
```
|
|
323
188
|
|
|
324
|
-
<!-- politty:command:api:usage:end -->
|
|
325
|
-
|
|
326
|
-
<!-- politty:command:api:arguments:start -->
|
|
327
|
-
|
|
328
189
|
**Arguments**
|
|
329
190
|
|
|
330
191
|
| Argument | Description | Required |
|
|
331
192
|
| ---------- | -------------------------------------------------------------------------------------------- | -------- |
|
|
332
193
|
| `endpoint` | API endpoint to call (e.g., 'GetApplication' or 'tailor.v1.OperatorService/GetApplication'). | Yes |
|
|
333
194
|
|
|
334
|
-
<!-- politty:command:api:arguments:end -->
|
|
335
|
-
|
|
336
|
-
<!-- politty:command:api:options:start -->
|
|
337
|
-
|
|
338
195
|
**Options**
|
|
339
196
|
|
|
340
197
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -345,15 +202,14 @@ tailor-sdk api [options] [command] <endpoint>
|
|
|
345
202
|
| `--body <BODY>` | `-b` | Request body as JSON. | No | `"{}"` | - |
|
|
346
203
|
| `--field <FIELD>` | `-f` | Set a body field as `key=value` (repeatable; dotted keys nest). Overrides --body. | No | - | - |
|
|
347
204
|
|
|
348
|
-
<!-- politty:command:api:options:end -->
|
|
349
|
-
|
|
350
|
-
<!-- politty:command:api:global-options-link:start -->
|
|
351
|
-
|
|
352
205
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
353
206
|
|
|
354
|
-
|
|
207
|
+
**Commands**
|
|
355
208
|
|
|
356
|
-
|
|
209
|
+
| Command | Description |
|
|
210
|
+
| ----------------------------- | ------------------------------------------------------------ |
|
|
211
|
+
| [`api list`](#api-list) | List all invocable OperatorService methods. |
|
|
212
|
+
| [`api inspect`](#api-inspect) | Print the input message tree of an OperatorService endpoint. |
|
|
357
213
|
|
|
358
214
|
**Examples**
|
|
359
215
|
|
|
@@ -381,10 +237,6 @@ $ tailor-sdk api list
|
|
|
381
237
|
$ tailor-sdk api inspect GetApplication
|
|
382
238
|
```
|
|
383
239
|
|
|
384
|
-
<!-- politty:command:api:examples:end -->
|
|
385
|
-
|
|
386
|
-
<!-- politty:command:api:notes:start -->
|
|
387
|
-
|
|
388
240
|
**Notes**
|
|
389
241
|
|
|
390
242
|
Use `tailor-sdk api list` to enumerate invocable methods and `tailor-sdk api inspect <endpoint>` to print an endpoint's input message tree (combine with `--json` for machine-readable output).
|
|
@@ -400,47 +252,24 @@ Values already present in `--body` are never overridden. If a value cannot be re
|
|
|
400
252
|
|
|
401
253
|
Use `--field key=value` (repeatable) to set request body fields without writing JSON. Dotted keys (e.g. `application.name=foo`) build nested objects. `--field` overrides matching fields in `--body` and tab-completes from the endpoint's request schema.
|
|
402
254
|
|
|
403
|
-
<!-- politty:command:api:notes:end -->
|
|
404
|
-
<!-- politty:command:api inspect:heading:start -->
|
|
405
|
-
|
|
406
255
|
### api inspect
|
|
407
256
|
|
|
408
|
-
<!-- politty:command:api inspect:heading:end -->
|
|
409
|
-
|
|
410
|
-
<!-- politty:command:api inspect:description:start -->
|
|
411
|
-
|
|
412
257
|
Print the input message tree of an OperatorService endpoint.
|
|
413
258
|
|
|
414
|
-
<!-- politty:command:api inspect:description:end -->
|
|
415
|
-
|
|
416
|
-
<!-- politty:command:api inspect:usage:start -->
|
|
417
|
-
|
|
418
259
|
**Usage**
|
|
419
260
|
|
|
420
261
|
```
|
|
421
262
|
tailor-sdk api inspect <endpoint>
|
|
422
263
|
```
|
|
423
264
|
|
|
424
|
-
<!-- politty:command:api inspect:usage:end -->
|
|
425
|
-
|
|
426
|
-
<!-- politty:command:api inspect:arguments:start -->
|
|
427
|
-
|
|
428
265
|
**Arguments**
|
|
429
266
|
|
|
430
267
|
| Argument | Description | Required |
|
|
431
268
|
| ---------- | ----------------------------------------------------------------------------------------------- | -------- |
|
|
432
269
|
| `endpoint` | API endpoint to inspect (e.g., 'GetApplication' or 'tailor.v1.OperatorService/GetApplication'). | Yes |
|
|
433
270
|
|
|
434
|
-
<!-- politty:command:api inspect:arguments:end -->
|
|
435
|
-
|
|
436
|
-
<!-- politty:command:api inspect:global-options-link:start -->
|
|
437
|
-
|
|
438
271
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
439
272
|
|
|
440
|
-
<!-- politty:command:api inspect:global-options-link:end -->
|
|
441
|
-
|
|
442
|
-
<!-- politty:command:api inspect:examples:start -->
|
|
443
|
-
|
|
444
273
|
**Examples**
|
|
445
274
|
|
|
446
275
|
**Show fields of GetApplicationRequest.**
|
|
@@ -455,48 +284,22 @@ $ tailor-sdk api inspect GetApplication
|
|
|
455
284
|
$ tailor-sdk api inspect CreateExecutorExecutor
|
|
456
285
|
```
|
|
457
286
|
|
|
458
|
-
<!-- politty:command:api inspect:examples:end -->
|
|
459
|
-
|
|
460
|
-
<!-- politty:command:api inspect:notes:start -->
|
|
461
|
-
|
|
462
287
|
**Notes**
|
|
463
288
|
|
|
464
289
|
Combine with the global `--json` flag for a machine-readable descriptor. Recursive type references and `oneof` membership are annotated. Use `tailor-sdk api list` to discover endpoint names.
|
|
465
290
|
|
|
466
|
-
<!-- politty:command:api inspect:notes:end -->
|
|
467
|
-
|
|
468
|
-
<!-- politty:command:api list:heading:start -->
|
|
469
|
-
|
|
470
291
|
### api list
|
|
471
292
|
|
|
472
|
-
<!-- politty:command:api list:heading:end -->
|
|
473
|
-
|
|
474
|
-
<!-- politty:command:api list:description:start -->
|
|
475
|
-
|
|
476
293
|
List all invocable OperatorService methods.
|
|
477
294
|
|
|
478
|
-
<!-- politty:command:api list:description:end -->
|
|
479
|
-
|
|
480
|
-
<!-- politty:command:api list:usage:start -->
|
|
481
|
-
|
|
482
295
|
**Usage**
|
|
483
296
|
|
|
484
297
|
```
|
|
485
298
|
tailor-sdk api list
|
|
486
299
|
```
|
|
487
300
|
|
|
488
|
-
<!-- politty:command:api list:usage:end -->
|
|
489
|
-
|
|
490
|
-
<!-- politty:command:api list:global-options-link:start -->
|
|
491
|
-
|
|
492
301
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
493
302
|
|
|
494
|
-
<!-- politty:command:api list:global-options-link:end -->
|
|
495
|
-
|
|
496
|
-
<!-- politty:command:api list:notes:start -->
|
|
497
|
-
|
|
498
303
|
**Notes**
|
|
499
304
|
|
|
500
305
|
Only single-request (non-streaming) methods are listed, because the CLI issues a single JSON request and reads one JSON response.
|
|
501
|
-
|
|
502
|
-
<!-- politty:command:api list:notes:end -->
|