@tailor-platform/sdk 1.17.0 → 1.18.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.
Files changed (76) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/application-Csj7Ow5Q.mjs +8 -0
  3. package/dist/{application-DYfVZVPT.mjs → application-gWUyKuzv.mjs} +211 -1653
  4. package/dist/{application-DYfVZVPT.mjs.map → application-gWUyKuzv.mjs.map} +1 -1
  5. package/dist/brand-BZJCv6UY.mjs +28 -0
  6. package/dist/brand-BZJCv6UY.mjs.map +1 -0
  7. package/dist/cli/index.mjs +38 -20
  8. package/dist/cli/index.mjs.map +1 -1
  9. package/dist/cli/lib.d.mts +20 -33
  10. package/dist/cli/lib.mjs +10 -5
  11. package/dist/cli/lib.mjs.map +1 -1
  12. package/dist/configure/index.d.mts +4 -4
  13. package/dist/configure/index.mjs +10 -19
  14. package/dist/configure/index.mjs.map +1 -1
  15. package/dist/enum-constants-Cwd4qdpa.mjs +115 -0
  16. package/dist/enum-constants-Cwd4qdpa.mjs.map +1 -0
  17. package/dist/file-utils-cqcpFk87.mjs +139 -0
  18. package/dist/file-utils-cqcpFk87.mjs.map +1 -0
  19. package/dist/index-BKXch-td.d.mts +18 -0
  20. package/dist/index-C3Ib7pFc.d.mts +18 -0
  21. package/dist/{index-qQXpN674.d.mts → index-DP8EB9FK.d.mts} +13 -5
  22. package/dist/index-SqWgrTnF.d.mts +20 -0
  23. package/dist/index-sSDpuVQY.d.mts +18 -0
  24. package/dist/{jiti-BrELlEYT.mjs → jiti-DHlauMCo.mjs} +2 -2
  25. package/dist/{jiti-BrELlEYT.mjs.map → jiti-DHlauMCo.mjs.map} +1 -1
  26. package/dist/{job-CULA2Pvf.mjs → job-2Q82qQ6N.mjs} +27 -5
  27. package/dist/job-2Q82qQ6N.mjs.map +1 -0
  28. package/dist/kysely-type-DtUUoAi3.mjs +259 -0
  29. package/dist/kysely-type-DtUUoAi3.mjs.map +1 -0
  30. package/dist/plugin/builtin/enum-constants/index.d.mts +4 -0
  31. package/dist/plugin/builtin/enum-constants/index.mjs +3 -0
  32. package/dist/plugin/builtin/file-utils/index.d.mts +4 -0
  33. package/dist/plugin/builtin/file-utils/index.mjs +3 -0
  34. package/dist/plugin/builtin/kysely-type/index.d.mts +4 -0
  35. package/dist/plugin/builtin/kysely-type/index.mjs +3 -0
  36. package/dist/plugin/builtin/seed/index.d.mts +4 -0
  37. package/dist/plugin/builtin/seed/index.mjs +3 -0
  38. package/dist/plugin/index.d.mts +3 -3
  39. package/dist/plugin/index.mjs +11 -11
  40. package/dist/plugin/index.mjs.map +1 -1
  41. package/dist/{schema-R5TxC5Pn.mjs → schema-WDvc7Zel.mjs} +4 -3
  42. package/dist/schema-WDvc7Zel.mjs.map +1 -0
  43. package/dist/seed-Dm7lrGZ3.mjs +1050 -0
  44. package/dist/seed-Dm7lrGZ3.mjs.map +1 -0
  45. package/dist/{src-DMROgdcL.mjs → src-i4uqS1G4.mjs} +2 -2
  46. package/dist/{src-DMROgdcL.mjs.map → src-i4uqS1G4.mjs.map} +1 -1
  47. package/dist/types-Bhl_wAM2.d.mts +151 -0
  48. package/dist/{types-b-ig8nW_.mjs → types-ClK_HJ0G.mjs} +1 -1
  49. package/dist/{types-b-ig8nW_.mjs.map → types-ClK_HJ0G.mjs.map} +1 -1
  50. package/dist/{types-DzvazVmg.d.mts → types-DdvTxFiD.d.mts} +1380 -1044
  51. package/dist/{update-DQKCUNmr.mjs → update-BoNKMti-.mjs} +285 -112
  52. package/dist/update-BoNKMti-.mjs.map +1 -0
  53. package/dist/utils/test/index.d.mts +4 -4
  54. package/dist/utils/test/index.mjs +3 -2
  55. package/dist/utils/test/index.mjs.map +1 -1
  56. package/docs/cli/application.md +106 -14
  57. package/docs/cli/auth.md +92 -12
  58. package/docs/cli/completion.md +18 -2
  59. package/docs/cli/executor.md +122 -14
  60. package/docs/cli/function.md +32 -4
  61. package/docs/cli/secret.md +134 -18
  62. package/docs/cli/staticwebsite.md +60 -8
  63. package/docs/cli/tailordb.md +148 -20
  64. package/docs/cli/user.md +154 -22
  65. package/docs/cli/workflow.md +100 -12
  66. package/docs/cli/workspace.md +274 -38
  67. package/docs/generator/custom.md +2 -2
  68. package/docs/plugin/custom.md +270 -163
  69. package/docs/plugin/index.md +48 -2
  70. package/package.json +22 -2
  71. package/dist/application-D5ZEr4zk.mjs +0 -4
  72. package/dist/job-CULA2Pvf.mjs.map +0 -1
  73. package/dist/schema-R5TxC5Pn.mjs.map +0 -1
  74. package/dist/types-BeNtD-fA.d.mts +0 -369
  75. package/dist/update-DQKCUNmr.mjs.map +0 -1
  76. /package/dist/{chunk-GMkBE123.mjs → chunk-CqAI0b6X.mjs} +0 -0
@@ -2,18 +2,30 @@
2
2
 
3
3
  Commands for managing workspaces and profiles.
4
4
 
5
- <!-- politty:command:workspace:start -->
5
+ <!-- politty:command:workspace:heading:start -->
6
6
 
7
7
  ## workspace
8
8
 
9
+ <!-- politty:command:workspace:heading:end -->
10
+
11
+ <!-- politty:command:workspace:description:start -->
12
+
9
13
  Manage Tailor Platform workspaces.
10
14
 
15
+ <!-- politty:command:workspace:description:end -->
16
+
17
+ <!-- politty:command:workspace:usage:start -->
18
+
11
19
  **Usage**
12
20
 
13
21
  ```
14
22
  tailor-sdk workspace [command]
15
23
  ```
16
24
 
25
+ <!-- politty:command:workspace:usage:end -->
26
+
27
+ <!-- politty:command:workspace:subcommands:start -->
28
+
17
29
  **Commands**
18
30
 
19
31
  | Command | Description |
@@ -26,19 +38,31 @@ tailor-sdk workspace [command]
26
38
  | [`workspace restore`](#workspace-restore) | Restore a deleted workspace |
27
39
  | [`workspace user`](#workspace-user) | Manage workspace users |
28
40
 
29
- <!-- politty:command:workspace:end -->
30
- <!-- politty:command:workspace create:start -->
41
+ <!-- politty:command:workspace:subcommands:end -->
42
+ <!-- politty:command:workspace create:heading:start -->
31
43
 
32
44
  ### workspace create
33
45
 
46
+ <!-- politty:command:workspace create:heading:end -->
47
+
48
+ <!-- politty:command:workspace create:description:start -->
49
+
34
50
  Create a new Tailor Platform workspace.
35
51
 
52
+ <!-- politty:command:workspace create:description:end -->
53
+
54
+ <!-- politty:command:workspace create:usage:start -->
55
+
36
56
  **Usage**
37
57
 
38
58
  ```
39
59
  tailor-sdk workspace create [options]
40
60
  ```
41
61
 
62
+ <!-- politty:command:workspace create:usage:end -->
63
+
64
+ <!-- politty:command:workspace create:options:start -->
65
+
42
66
  **Options**
43
67
 
44
68
  | Option | Alias | Description | Required | Default |
@@ -52,19 +76,31 @@ tailor-sdk workspace create [options]
52
76
  | `--profile-name <PROFILE_NAME>` | `-p` | Profile name to create | No | - |
53
77
  | `--profile-user <PROFILE_USER>` | - | User email for the profile (defaults to current user) | No | - |
54
78
 
55
- <!-- politty:command:workspace create:end -->
56
- <!-- politty:command:workspace list:start -->
79
+ <!-- politty:command:workspace create:options:end -->
80
+ <!-- politty:command:workspace list:heading:start -->
57
81
 
58
82
  ### workspace list
59
83
 
84
+ <!-- politty:command:workspace list:heading:end -->
85
+
86
+ <!-- politty:command:workspace list:description:start -->
87
+
60
88
  List all Tailor Platform workspaces.
61
89
 
90
+ <!-- politty:command:workspace list:description:end -->
91
+
92
+ <!-- politty:command:workspace list:usage:start -->
93
+
62
94
  **Usage**
63
95
 
64
96
  ```
65
97
  tailor-sdk workspace list [options]
66
98
  ```
67
99
 
100
+ <!-- politty:command:workspace list:usage:end -->
101
+
102
+ <!-- politty:command:workspace list:options:start -->
103
+
68
104
  **Options**
69
105
 
70
106
  | Option | Alias | Description | Required | Default |
@@ -72,19 +108,31 @@ tailor-sdk workspace list [options]
72
108
  | `--json` | `-j` | Output as JSON | No | `false` |
73
109
  | `--limit <LIMIT>` | `-l` | Maximum number of workspaces to list | No | - |
74
110
 
75
- <!-- politty:command:workspace list:end -->
76
- <!-- politty:command:workspace delete:start -->
111
+ <!-- politty:command:workspace list:options:end -->
112
+ <!-- politty:command:workspace delete:heading:start -->
77
113
 
78
114
  ### workspace delete
79
115
 
116
+ <!-- politty:command:workspace delete:heading:end -->
117
+
118
+ <!-- politty:command:workspace delete:description:start -->
119
+
80
120
  Delete a Tailor Platform workspace.
81
121
 
122
+ <!-- politty:command:workspace delete:description:end -->
123
+
124
+ <!-- politty:command:workspace delete:usage:start -->
125
+
82
126
  **Usage**
83
127
 
84
128
  ```
85
129
  tailor-sdk workspace delete [options]
86
130
  ```
87
131
 
132
+ <!-- politty:command:workspace delete:usage:end -->
133
+
134
+ <!-- politty:command:workspace delete:options:start -->
135
+
88
136
  **Options**
89
137
 
90
138
  | Option | Alias | Description | Required | Default |
@@ -92,19 +140,31 @@ tailor-sdk workspace delete [options]
92
140
  | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
93
141
  | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
94
142
 
95
- <!-- politty:command:workspace delete:end -->
96
- <!-- politty:command:profile:start -->
143
+ <!-- politty:command:workspace delete:options:end -->
144
+ <!-- politty:command:profile:heading:start -->
97
145
 
98
146
  ## profile
99
147
 
148
+ <!-- politty:command:profile:heading:end -->
149
+
150
+ <!-- politty:command:profile:description:start -->
151
+
100
152
  Manage workspace profiles (user + workspace combinations).
101
153
 
154
+ <!-- politty:command:profile:description:end -->
155
+
156
+ <!-- politty:command:profile:usage:start -->
157
+
102
158
  **Usage**
103
159
 
104
160
  ```
105
161
  tailor-sdk profile [command]
106
162
  ```
107
163
 
164
+ <!-- politty:command:profile:usage:end -->
165
+
166
+ <!-- politty:command:profile:subcommands:start -->
167
+
108
168
  **Commands**
109
169
 
110
170
  | Command | Description |
@@ -114,25 +174,41 @@ tailor-sdk profile [command]
114
174
  | [`profile list`](#profile-list) | List all profiles. |
115
175
  | [`profile update`](#profile-update) | Update profile properties. |
116
176
 
117
- <!-- politty:command:profile:end -->
118
- <!-- politty:command:profile create:start -->
177
+ <!-- politty:command:profile:subcommands:end -->
178
+ <!-- politty:command:profile create:heading:start -->
119
179
 
120
180
  ### profile create
121
181
 
182
+ <!-- politty:command:profile create:heading:end -->
183
+
184
+ <!-- politty:command:profile create:description:start -->
185
+
122
186
  Create a new profile.
123
187
 
188
+ <!-- politty:command:profile create:description:end -->
189
+
190
+ <!-- politty:command:profile create:usage:start -->
191
+
124
192
  **Usage**
125
193
 
126
194
  ```
127
195
  tailor-sdk profile create [options] <name>
128
196
  ```
129
197
 
198
+ <!-- politty:command:profile create:usage:end -->
199
+
200
+ <!-- politty:command:profile create:arguments:start -->
201
+
130
202
  **Arguments**
131
203
 
132
204
  | Argument | Description | Required |
133
205
  | -------- | ------------ | -------- |
134
206
  | `name` | Profile name | Yes |
135
207
 
208
+ <!-- politty:command:profile create:arguments:end -->
209
+
210
+ <!-- politty:command:profile create:options:start -->
211
+
136
212
  **Options**
137
213
 
138
214
  | Option | Alias | Description | Required | Default |
@@ -141,44 +217,72 @@ tailor-sdk profile create [options] <name>
141
217
  | `--user <USER>` | `-u` | User email | Yes | - |
142
218
  | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
143
219
 
144
- <!-- politty:command:profile create:end -->
145
- <!-- politty:command:profile list:start -->
220
+ <!-- politty:command:profile create:options:end -->
221
+ <!-- politty:command:profile list:heading:start -->
146
222
 
147
223
  ### profile list
148
224
 
225
+ <!-- politty:command:profile list:heading:end -->
226
+
227
+ <!-- politty:command:profile list:description:start -->
228
+
149
229
  List all profiles.
150
230
 
231
+ <!-- politty:command:profile list:description:end -->
232
+
233
+ <!-- politty:command:profile list:usage:start -->
234
+
151
235
  **Usage**
152
236
 
153
237
  ```
154
238
  tailor-sdk profile list [options]
155
239
  ```
156
240
 
241
+ <!-- politty:command:profile list:usage:end -->
242
+
243
+ <!-- politty:command:profile list:options:start -->
244
+
157
245
  **Options**
158
246
 
159
247
  | Option | Alias | Description | Required | Default |
160
248
  | -------- | ----- | -------------- | -------- | ------- |
161
249
  | `--json` | `-j` | Output as JSON | No | `false` |
162
250
 
163
- <!-- politty:command:profile list:end -->
164
- <!-- politty:command:profile update:start -->
251
+ <!-- politty:command:profile list:options:end -->
252
+ <!-- politty:command:profile update:heading:start -->
165
253
 
166
254
  ### profile update
167
255
 
256
+ <!-- politty:command:profile update:heading:end -->
257
+
258
+ <!-- politty:command:profile update:description:start -->
259
+
168
260
  Update profile properties.
169
261
 
262
+ <!-- politty:command:profile update:description:end -->
263
+
264
+ <!-- politty:command:profile update:usage:start -->
265
+
170
266
  **Usage**
171
267
 
172
268
  ```
173
269
  tailor-sdk profile update [options] <name>
174
270
  ```
175
271
 
272
+ <!-- politty:command:profile update:usage:end -->
273
+
274
+ <!-- politty:command:profile update:arguments:start -->
275
+
176
276
  **Arguments**
177
277
 
178
278
  | Argument | Description | Required |
179
279
  | -------- | ------------ | -------- |
180
280
  | `name` | Profile name | Yes |
181
281
 
282
+ <!-- politty:command:profile update:arguments:end -->
283
+
284
+ <!-- politty:command:profile update:options:start -->
285
+
182
286
  **Options**
183
287
 
184
288
  | Option | Alias | Description | Required | Default |
@@ -187,39 +291,63 @@ tailor-sdk profile update [options] <name>
187
291
  | `--user <USER>` | `-u` | New user email | No | - |
188
292
  | `--workspace-id <WORKSPACE_ID>` | `-w` | New workspace ID | No | - |
189
293
 
190
- <!-- politty:command:profile update:end -->
191
- <!-- politty:command:profile delete:start -->
294
+ <!-- politty:command:profile update:options:end -->
295
+ <!-- politty:command:profile delete:heading:start -->
192
296
 
193
297
  ### profile delete
194
298
 
299
+ <!-- politty:command:profile delete:heading:end -->
300
+
301
+ <!-- politty:command:profile delete:description:start -->
302
+
195
303
  Delete a profile.
196
304
 
305
+ <!-- politty:command:profile delete:description:end -->
306
+
307
+ <!-- politty:command:profile delete:usage:start -->
308
+
197
309
  **Usage**
198
310
 
199
311
  ```
200
312
  tailor-sdk profile delete [options] <name>
201
313
  ```
202
314
 
315
+ <!-- politty:command:profile delete:usage:end -->
316
+
317
+ <!-- politty:command:profile delete:arguments:start -->
318
+
203
319
  **Arguments**
204
320
 
205
321
  | Argument | Description | Required |
206
322
  | -------- | ------------ | -------- |
207
323
  | `name` | Profile name | Yes |
208
324
 
209
- <!-- politty:command:profile delete:end -->
325
+ <!-- politty:command:profile delete:arguments:end -->
210
326
 
211
- <!-- politty:command:workspace app:start -->
327
+ <!-- politty:command:workspace app:heading:start -->
212
328
 
213
329
  ### workspace app
214
330
 
331
+ <!-- politty:command:workspace app:heading:end -->
332
+
333
+ <!-- politty:command:workspace app:description:start -->
334
+
215
335
  Manage workspace applications
216
336
 
337
+ <!-- politty:command:workspace app:description:end -->
338
+
339
+ <!-- politty:command:workspace app:usage:start -->
340
+
217
341
  **Usage**
218
342
 
219
343
  ```
220
344
  tailor-sdk workspace app [command]
221
345
  ```
222
346
 
347
+ <!-- politty:command:workspace app:usage:end -->
348
+
349
+ <!-- politty:command:workspace app:subcommands:start -->
350
+
223
351
  **Commands**
224
352
 
225
353
  | Command | Description |
@@ -227,20 +355,32 @@ tailor-sdk workspace app [command]
227
355
  | [`workspace app health`](#workspace-app-health) | Check application schema health |
228
356
  | [`workspace app list`](#workspace-app-list) | List applications in a workspace |
229
357
 
230
- <!-- politty:command:workspace app:end -->
358
+ <!-- politty:command:workspace app:subcommands:end -->
231
359
 
232
- <!-- politty:command:workspace app health:start -->
360
+ <!-- politty:command:workspace app health:heading:start -->
233
361
 
234
362
  #### workspace app health
235
363
 
364
+ <!-- politty:command:workspace app health:heading:end -->
365
+
366
+ <!-- politty:command:workspace app health:description:start -->
367
+
236
368
  Check application schema health
237
369
 
370
+ <!-- politty:command:workspace app health:description:end -->
371
+
372
+ <!-- politty:command:workspace app health:usage:start -->
373
+
238
374
  **Usage**
239
375
 
240
376
  ```
241
377
  tailor-sdk workspace app health [options]
242
378
  ```
243
379
 
380
+ <!-- politty:command:workspace app health:usage:end -->
381
+
382
+ <!-- politty:command:workspace app health:options:start -->
383
+
244
384
  **Options**
245
385
 
246
386
  | Option | Alias | Description | Required | Default |
@@ -250,20 +390,32 @@ tailor-sdk workspace app health [options]
250
390
  | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
251
391
  | `--name <NAME>` | `-n` | Application name | Yes | - |
252
392
 
253
- <!-- politty:command:workspace app health:end -->
393
+ <!-- politty:command:workspace app health:options:end -->
254
394
 
255
- <!-- politty:command:workspace app list:start -->
395
+ <!-- politty:command:workspace app list:heading:start -->
256
396
 
257
397
  #### workspace app list
258
398
 
399
+ <!-- politty:command:workspace app list:heading:end -->
400
+
401
+ <!-- politty:command:workspace app list:description:start -->
402
+
259
403
  List applications in a workspace
260
404
 
405
+ <!-- politty:command:workspace app list:description:end -->
406
+
407
+ <!-- politty:command:workspace app list:usage:start -->
408
+
261
409
  **Usage**
262
410
 
263
411
  ```
264
412
  tailor-sdk workspace app list [options]
265
413
  ```
266
414
 
415
+ <!-- politty:command:workspace app list:usage:end -->
416
+
417
+ <!-- politty:command:workspace app list:options:start -->
418
+
267
419
  **Options**
268
420
 
269
421
  | Option | Alias | Description | Required | Default |
@@ -273,20 +425,32 @@ tailor-sdk workspace app list [options]
273
425
  | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
274
426
  | `--limit <LIMIT>` | `-l` | Maximum number of applications to list | No | - |
275
427
 
276
- <!-- politty:command:workspace app list:end -->
428
+ <!-- politty:command:workspace app list:options:end -->
277
429
 
278
- <!-- politty:command:workspace get:start -->
430
+ <!-- politty:command:workspace get:heading:start -->
279
431
 
280
432
  ### workspace get
281
433
 
434
+ <!-- politty:command:workspace get:heading:end -->
435
+
436
+ <!-- politty:command:workspace get:description:start -->
437
+
282
438
  Show detailed information about a workspace
283
439
 
440
+ <!-- politty:command:workspace get:description:end -->
441
+
442
+ <!-- politty:command:workspace get:usage:start -->
443
+
284
444
  **Usage**
285
445
 
286
446
  ```
287
447
  tailor-sdk workspace get [options]
288
448
  ```
289
449
 
450
+ <!-- politty:command:workspace get:usage:end -->
451
+
452
+ <!-- politty:command:workspace get:options:start -->
453
+
290
454
  **Options**
291
455
 
292
456
  | Option | Alias | Description | Required | Default |
@@ -295,20 +459,32 @@ tailor-sdk workspace get [options]
295
459
  | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
296
460
  | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
297
461
 
298
- <!-- politty:command:workspace get:end -->
462
+ <!-- politty:command:workspace get:options:end -->
299
463
 
300
- <!-- politty:command:workspace restore:start -->
464
+ <!-- politty:command:workspace restore:heading:start -->
301
465
 
302
466
  ### workspace restore
303
467
 
468
+ <!-- politty:command:workspace restore:heading:end -->
469
+
470
+ <!-- politty:command:workspace restore:description:start -->
471
+
304
472
  Restore a deleted workspace
305
473
 
474
+ <!-- politty:command:workspace restore:description:end -->
475
+
476
+ <!-- politty:command:workspace restore:usage:start -->
477
+
306
478
  **Usage**
307
479
 
308
480
  ```
309
481
  tailor-sdk workspace restore [options]
310
482
  ```
311
483
 
484
+ <!-- politty:command:workspace restore:usage:end -->
485
+
486
+ <!-- politty:command:workspace restore:options:start -->
487
+
312
488
  **Options**
313
489
 
314
490
  | Option | Alias | Description | Required | Default |
@@ -316,20 +492,32 @@ tailor-sdk workspace restore [options]
316
492
  | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
317
493
  | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
318
494
 
319
- <!-- politty:command:workspace restore:end -->
495
+ <!-- politty:command:workspace restore:options:end -->
320
496
 
321
- <!-- politty:command:workspace user:start -->
497
+ <!-- politty:command:workspace user:heading:start -->
322
498
 
323
499
  ### workspace user
324
500
 
501
+ <!-- politty:command:workspace user:heading:end -->
502
+
503
+ <!-- politty:command:workspace user:description:start -->
504
+
325
505
  Manage workspace users
326
506
 
507
+ <!-- politty:command:workspace user:description:end -->
508
+
509
+ <!-- politty:command:workspace user:usage:start -->
510
+
327
511
  **Usage**
328
512
 
329
513
  ```
330
514
  tailor-sdk workspace user [command]
331
515
  ```
332
516
 
517
+ <!-- politty:command:workspace user:usage:end -->
518
+
519
+ <!-- politty:command:workspace user:subcommands:start -->
520
+
333
521
  **Commands**
334
522
 
335
523
  | Command | Description |
@@ -339,20 +527,32 @@ tailor-sdk workspace user [command]
339
527
  | [`workspace user remove`](#workspace-user-remove) | Remove a user from a workspace |
340
528
  | [`workspace user update`](#workspace-user-update) | Update a user's role in a workspace |
341
529
 
342
- <!-- politty:command:workspace user:end -->
530
+ <!-- politty:command:workspace user:subcommands:end -->
343
531
 
344
- <!-- politty:command:workspace user invite:start -->
532
+ <!-- politty:command:workspace user invite:heading:start -->
345
533
 
346
534
  #### workspace user invite
347
535
 
536
+ <!-- politty:command:workspace user invite:heading:end -->
537
+
538
+ <!-- politty:command:workspace user invite:description:start -->
539
+
348
540
  Invite a user to a workspace
349
541
 
542
+ <!-- politty:command:workspace user invite:description:end -->
543
+
544
+ <!-- politty:command:workspace user invite:usage:start -->
545
+
350
546
  **Usage**
351
547
 
352
548
  ```
353
549
  tailor-sdk workspace user invite [options]
354
550
  ```
355
551
 
552
+ <!-- politty:command:workspace user invite:usage:end -->
553
+
554
+ <!-- politty:command:workspace user invite:options:start -->
555
+
356
556
  **Options**
357
557
 
358
558
  | Option | Alias | Description | Required | Default |
@@ -362,20 +562,32 @@ tailor-sdk workspace user invite [options]
362
562
  | `--email <EMAIL>` | - | Email address of the user to invite | Yes | - |
363
563
  | `--role <ROLE>` | `-r` | Role to assign (admin, editor, viewer) | Yes | - |
364
564
 
365
- <!-- politty:command:workspace user invite:end -->
565
+ <!-- politty:command:workspace user invite:options:end -->
366
566
 
367
- <!-- politty:command:workspace user list:start -->
567
+ <!-- politty:command:workspace user list:heading:start -->
368
568
 
369
569
  #### workspace user list
370
570
 
571
+ <!-- politty:command:workspace user list:heading:end -->
572
+
573
+ <!-- politty:command:workspace user list:description:start -->
574
+
371
575
  List users in a workspace
372
576
 
577
+ <!-- politty:command:workspace user list:description:end -->
578
+
579
+ <!-- politty:command:workspace user list:usage:start -->
580
+
373
581
  **Usage**
374
582
 
375
583
  ```
376
584
  tailor-sdk workspace user list [options]
377
585
  ```
378
586
 
587
+ <!-- politty:command:workspace user list:usage:end -->
588
+
589
+ <!-- politty:command:workspace user list:options:start -->
590
+
379
591
  **Options**
380
592
 
381
593
  | Option | Alias | Description | Required | Default |
@@ -385,20 +597,32 @@ tailor-sdk workspace user list [options]
385
597
  | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
386
598
  | `--limit <LIMIT>` | `-l` | Maximum number of users to list | No | - |
387
599
 
388
- <!-- politty:command:workspace user list:end -->
600
+ <!-- politty:command:workspace user list:options:end -->
389
601
 
390
- <!-- politty:command:workspace user remove:start -->
602
+ <!-- politty:command:workspace user remove:heading:start -->
391
603
 
392
604
  #### workspace user remove
393
605
 
606
+ <!-- politty:command:workspace user remove:heading:end -->
607
+
608
+ <!-- politty:command:workspace user remove:description:start -->
609
+
394
610
  Remove a user from a workspace
395
611
 
612
+ <!-- politty:command:workspace user remove:description:end -->
613
+
614
+ <!-- politty:command:workspace user remove:usage:start -->
615
+
396
616
  **Usage**
397
617
 
398
618
  ```
399
619
  tailor-sdk workspace user remove [options]
400
620
  ```
401
621
 
622
+ <!-- politty:command:workspace user remove:usage:end -->
623
+
624
+ <!-- politty:command:workspace user remove:options:start -->
625
+
402
626
  **Options**
403
627
 
404
628
  | Option | Alias | Description | Required | Default |
@@ -408,20 +632,32 @@ tailor-sdk workspace user remove [options]
408
632
  | `--email <EMAIL>` | - | Email address of the user to remove | Yes | - |
409
633
  | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
410
634
 
411
- <!-- politty:command:workspace user remove:end -->
635
+ <!-- politty:command:workspace user remove:options:end -->
412
636
 
413
- <!-- politty:command:workspace user update:start -->
637
+ <!-- politty:command:workspace user update:heading:start -->
414
638
 
415
639
  #### workspace user update
416
640
 
641
+ <!-- politty:command:workspace user update:heading:end -->
642
+
643
+ <!-- politty:command:workspace user update:description:start -->
644
+
417
645
  Update a user's role in a workspace
418
646
 
647
+ <!-- politty:command:workspace user update:description:end -->
648
+
649
+ <!-- politty:command:workspace user update:usage:start -->
650
+
419
651
  **Usage**
420
652
 
421
653
  ```
422
654
  tailor-sdk workspace user update [options]
423
655
  ```
424
656
 
657
+ <!-- politty:command:workspace user update:usage:end -->
658
+
659
+ <!-- politty:command:workspace user update:options:start -->
660
+
425
661
  **Options**
426
662
 
427
663
  | Option | Alias | Description | Required | Default |
@@ -431,4 +667,4 @@ tailor-sdk workspace user update [options]
431
667
  | `--email <EMAIL>` | - | Email address of the user to update | Yes | - |
432
668
  | `--role <ROLE>` | `-r` | New role to assign (admin, editor, viewer) | Yes | - |
433
669
 
434
- <!-- politty:command:workspace user update:end -->
670
+ <!-- politty:command:workspace user update:options:end -->
@@ -1,6 +1,6 @@
1
- # Custom Generators (Preview)
1
+ # Custom Generators (Deprecated)
2
2
 
3
- > **Preview Feature**: The custom generator API is in preview and may change in future releases.
3
+ > **Deprecated**: Use `definePlugins()` with generation-time hooks (`onTypeLoaded`, `generate`, etc.) instead. See [Custom Plugins](../plugin/custom.md) for the recommended approach.
4
4
 
5
5
  Create your own generators by implementing the `CodeGenerator` interface.
6
6