@tailor-platform/sdk 1.33.0 → 1.33.1
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 +58 -0
- package/dist/{application-CfAom-vi.mjs → application-CYPU-WIc.mjs} +30 -23
- package/dist/application-CYPU-WIc.mjs.map +1 -0
- package/dist/application-dnB8CQiT.mjs +4 -0
- package/dist/cli/index.d.mts +2 -2
- package/dist/cli/index.mjs +25 -32
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +101 -12
- package/dist/cli/lib.mjs +7 -13
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/skills.mjs +0 -1
- package/dist/cli/skills.mjs.map +1 -1
- package/dist/{client-D5P1myz0.mjs → client-CYGsf3Zl.mjs} +91 -27
- package/dist/client-CYGsf3Zl.mjs.map +1 -0
- package/dist/{client-gpRgZl1b.mjs → client-ea1w8SmG.mjs} +1 -4
- package/dist/configure/index.d.mts +5 -5
- package/dist/configure/index.mjs +0 -1
- package/dist/configure/index.mjs.map +1 -1
- package/dist/crash-report-CbueUPaP.mjs +4 -0
- package/dist/{crash-report-DnwITWeV.mjs → crash-report-OXafT1iS.mjs} +3 -3
- package/dist/{crash-report-DnwITWeV.mjs.map → crash-report-OXafT1iS.mjs.map} +1 -1
- package/dist/{enum-constants-Piv_E-2M.mjs → enum-constants-DI85-fPE.mjs} +1 -1
- package/dist/{enum-constants-Piv_E-2M.mjs.map → enum-constants-DI85-fPE.mjs.map} +1 -1
- package/dist/{env-CSZ9CKg7.d.mts → env-BvIWsJxg.d.mts} +2 -2
- package/dist/{file-utils-B7xME5IK.mjs → file-utils-C4rXlOVt.mjs} +1 -1
- package/dist/{file-utils-B7xME5IK.mjs.map → file-utils-C4rXlOVt.mjs.map} +1 -1
- package/dist/{index-dg3Sf-No.d.mts → index-0H-YH8Ya.d.mts} +2 -2
- package/dist/{index-IHl7P_9I.d.mts → index-BM2SqNfO.d.mts} +2 -2
- package/dist/{index-uNv9YJgx.d.mts → index-BU6fmwJC.d.mts} +2 -2
- package/dist/{index-BdlrrjvD.d.mts → index-DlivLpTN.d.mts} +16 -12
- package/dist/{index-Dlpe_4Nd.d.mts → index-mAV9kYJA.d.mts} +2 -2
- package/dist/{interceptor-1LL1gBsF.mjs → interceptor-f7slMkCC.mjs} +1 -2
- package/dist/{interceptor-1LL1gBsF.mjs.map → interceptor-f7slMkCC.mjs.map} +1 -1
- package/dist/kysely/index.d.mts +5 -1
- package/dist/kysely/index.mjs +0 -1
- package/dist/kysely/index.mjs.map +1 -1
- package/dist/{kysely-type-t5MbP7iJ.mjs → kysely-type-BwMqaL3z.mjs} +17 -7
- package/dist/kysely-type-BwMqaL3z.mjs.map +1 -0
- package/dist/{package-json-VqyFvGiP.mjs → package-json-CfUqjJaQ.mjs} +1 -1
- package/dist/{package-json-VqyFvGiP.mjs.map → package-json-CfUqjJaQ.mjs.map} +1 -1
- package/dist/package-json-D5Km1jjt.mjs +4 -0
- package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
- package/dist/plugin/builtin/enum-constants/index.mjs +1 -2
- package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
- package/dist/plugin/builtin/file-utils/index.mjs +1 -2
- package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -2
- package/dist/plugin/builtin/seed/index.d.mts +1 -1
- package/dist/plugin/builtin/seed/index.mjs +1 -2
- package/dist/plugin/index.d.mts +2 -2
- package/dist/plugin/index.mjs +0 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/{plugin-BC7WQrjm.d.mts → plugin-DQqzlulP.d.mts} +23 -21
- package/dist/{runtime-3P9JFpe9.mjs → runtime-CDvdBV66.mjs} +21 -10
- package/dist/runtime-CDvdBV66.mjs.map +1 -0
- package/dist/schema-D27cW0Ca.mjs.map +1 -1
- package/dist/seed/index.mjs +0 -1
- package/dist/seed/index.mjs.map +1 -1
- package/dist/{seed-DtYgudLq.mjs → seed-BZIFDG27.mjs} +1 -1
- package/dist/{seed-DtYgudLq.mjs.map → seed-BZIFDG27.mjs.map} +1 -1
- package/dist/telemetry-C508zIi1.mjs +4 -0
- package/dist/{telemetry-B4sp-dD2.mjs → telemetry-CREcGK8y.mjs} +2 -2
- package/dist/{telemetry-B4sp-dD2.mjs.map → telemetry-CREcGK8y.mjs.map} +1 -1
- package/dist/utils/test/index.d.mts +2 -2
- package/dist/utils/test/index.mjs +0 -2
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/{workflow.generated-Cd5dsFnf.d.mts → workflow.generated-u9MgzqbM.d.mts} +14 -3
- package/docs/cli/auth.md +1 -1
- package/docs/cli/crash-report.md +1 -1
- package/docs/cli/executor.md +2 -2
- package/docs/cli/secret.md +3 -3
- package/docs/cli/staticwebsite.md +1 -1
- package/docs/cli/tailordb.md +4 -2
- package/docs/cli/user.md +2 -2
- package/docs/cli-reference.md +116 -100
- package/docs/generator/builtin.md +1 -1
- package/docs/services/idp.md +22 -0
- package/package.json +17 -17
- package/dist/application-CfAom-vi.mjs.map +0 -1
- package/dist/application-ChVyhwe-.mjs +0 -12
- package/dist/chunk-COzJYswC.mjs +0 -9
- package/dist/client-D5P1myz0.mjs.map +0 -1
- package/dist/crash-report-Cm9vFmTN.mjs +0 -7
- package/dist/kysely-type-t5MbP7iJ.mjs.map +0 -1
- package/dist/package-json-88x7bPKC.mjs +0 -5
- package/dist/runtime-3P9JFpe9.mjs.map +0 -1
- package/dist/telemetry-DXIGGa6A.mjs +0 -5
package/docs/cli-reference.md
CHANGED
|
@@ -87,160 +87,174 @@ Workspace ID resolution follows this priority order:
|
|
|
87
87
|
|
|
88
88
|
## Commands
|
|
89
89
|
|
|
90
|
+
<!-- politty:index:docs/cli-reference.md:start -->
|
|
91
|
+
|
|
90
92
|
### [Application Commands](./cli/application.md)
|
|
91
93
|
|
|
92
94
|
Commands for managing Tailor Platform applications (work with `tailor.config.ts`).
|
|
93
95
|
|
|
94
|
-
| Command | Description
|
|
95
|
-
| ----------------------------------------- |
|
|
96
|
-
| [init](./cli/application.md#init) | Initialize a new project
|
|
97
|
-
| [generate](./cli/application.md#generate) | Generate files
|
|
98
|
-
| [apply](./cli/application.md#apply) |
|
|
99
|
-
| [remove](./cli/application.md#remove) | Remove application from workspace |
|
|
100
|
-
| [show](./cli/application.md#show) | Show deployed application
|
|
96
|
+
| Command | Description |
|
|
97
|
+
| ----------------------------------------- | ------------------------------------------------------------------- |
|
|
98
|
+
| [init](./cli/application.md#init) | Initialize a new project using create-sdk. |
|
|
99
|
+
| [generate](./cli/application.md#generate) | Generate files using Tailor configuration. |
|
|
100
|
+
| [apply](./cli/application.md#apply) | Apply Tailor configuration to deploy your application. |
|
|
101
|
+
| [remove](./cli/application.md#remove) | Remove all resources managed by the application from the workspace. |
|
|
102
|
+
| [show](./cli/application.md#show) | Show information about the deployed application. |
|
|
103
|
+
| [open](./cli/application.md#open) | Open Tailor Platform Console. |
|
|
104
|
+
| [api](./cli/application.md#api) | Call Tailor Platform API endpoints directly. |
|
|
101
105
|
|
|
102
106
|
### [TailorDB Commands](./cli/tailordb.md)
|
|
103
107
|
|
|
104
108
|
Commands for managing TailorDB tables, data, and schema migrations.
|
|
105
109
|
|
|
106
|
-
| Command | Description
|
|
107
|
-
| ---------------------------------------------------------------------------- |
|
|
108
|
-
| [tailordb truncate](./cli/tailordb.md#tailordb-truncate) | Truncate TailorDB tables
|
|
109
|
-
| [tailordb migration generate](./cli/tailordb.md#tailordb-migration-generate) | Generate migration files
|
|
110
|
-
| [tailordb migration set](./cli/tailordb.md#tailordb-migration-set) | Set migration checkpoint
|
|
111
|
-
| [tailordb migration status](./cli/tailordb.md#tailordb-migration-status) | Show migration status
|
|
112
|
-
| [tailordb erd export](./cli/tailordb.md#tailordb-erd-export) | Export ERD
|
|
113
|
-
| [tailordb erd serve](./cli/tailordb.md#tailordb-erd-serve) |
|
|
114
|
-
| [tailordb erd deploy](./cli/tailordb.md#tailordb-erd-deploy) | Deploy ERD static website (
|
|
115
|
-
|
|
116
|
-
Note: Migration scripts are automatically executed during `tailor-sdk apply`. See [Automatic Migration Execution](./cli/tailordb.md#automatic-migration-execution) for details.
|
|
110
|
+
| Command | Description |
|
|
111
|
+
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
|
|
112
|
+
| [tailordb truncate](./cli/tailordb.md#tailordb-truncate) | Truncate (delete all records from) TailorDB tables. |
|
|
113
|
+
| [tailordb migration generate](./cli/tailordb.md#tailordb-migration-generate) | Generate migration files by detecting schema differences between current local types and the previous migration snapshot. |
|
|
114
|
+
| [tailordb migration set](./cli/tailordb.md#tailordb-migration-set) | Set migration checkpoint to a specific number. |
|
|
115
|
+
| [tailordb migration status](./cli/tailordb.md#tailordb-migration-status) | Show the current migration status for TailorDB namespaces, including applied and pending migrations. |
|
|
116
|
+
| [tailordb erd export](./cli/tailordb.md#tailordb-erd-export) | Export Liam ERD dist from applied TailorDB schema. |
|
|
117
|
+
| [tailordb erd serve](./cli/tailordb.md#tailordb-erd-serve) | Generate and serve ERD locally (liam build + serve dist). (beta) |
|
|
118
|
+
| [tailordb erd deploy](./cli/tailordb.md#tailordb-erd-deploy) | Deploy ERD static website for TailorDB namespace(s). |
|
|
117
119
|
|
|
118
120
|
### [User & Auth Commands](./cli/user.md)
|
|
119
121
|
|
|
120
122
|
Commands for authentication and user management.
|
|
121
123
|
|
|
122
|
-
| Command | Description
|
|
123
|
-
| ------------------------------------------------ |
|
|
124
|
-
| [login](./cli/user.md#login) | Login to Tailor Platform
|
|
125
|
-
| [logout](./cli/user.md#logout) | Logout from Tailor Platform
|
|
126
|
-
| [user current](./cli/user.md#user-current) | Show current user
|
|
127
|
-
| [user list](./cli/user.md#user-list) | List all users
|
|
128
|
-
| [user switch](./cli/user.md#user-switch) | Set current user
|
|
129
|
-
| [user pat list](./cli/user.md#user-pat-list) | List personal access tokens
|
|
130
|
-
| [user pat create](./cli/user.md#user-pat-create) | Create a personal access token
|
|
131
|
-
| [user pat delete](./cli/user.md#user-pat-delete) | Delete a personal access token
|
|
132
|
-
| [user pat update](./cli/user.md#user-pat-update) | Update a personal access token |
|
|
133
|
-
|
|
134
|
-
###
|
|
135
|
-
|
|
136
|
-
Commands for managing
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
| [organization
|
|
143
|
-
| [organization
|
|
144
|
-
| [organization update](./cli/organization.md#organization-update)
|
|
145
|
-
| [organization
|
|
146
|
-
| [organization
|
|
147
|
-
| [organization
|
|
148
|
-
| [organization
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
| Command
|
|
155
|
-
|
|
|
156
|
-
| [workspace
|
|
157
|
-
| [workspace list](./cli/workspace.md#workspace-list)
|
|
158
|
-
| [workspace
|
|
159
|
-
| [
|
|
160
|
-
| [
|
|
161
|
-
| [
|
|
162
|
-
| [
|
|
124
|
+
| Command | Description |
|
|
125
|
+
| ------------------------------------------------ | ----------------------------------------------------- |
|
|
126
|
+
| [login](./cli/user.md#login) | Login to Tailor Platform. |
|
|
127
|
+
| [logout](./cli/user.md#logout) | Logout from Tailor Platform. |
|
|
128
|
+
| [user current](./cli/user.md#user-current) | Show current user. |
|
|
129
|
+
| [user list](./cli/user.md#user-list) | List all users. |
|
|
130
|
+
| [user switch](./cli/user.md#user-switch) | Set current user. |
|
|
131
|
+
| [user pat list](./cli/user.md#user-pat-list) | List all personal access tokens. |
|
|
132
|
+
| [user pat create](./cli/user.md#user-pat-create) | Create a new personal access token. |
|
|
133
|
+
| [user pat delete](./cli/user.md#user-pat-delete) | Delete a personal access token. |
|
|
134
|
+
| [user pat update](./cli/user.md#user-pat-update) | Update a personal access token (delete and recreate). |
|
|
135
|
+
|
|
136
|
+
### [Organization Commands](./cli/organization.md)
|
|
137
|
+
|
|
138
|
+
Commands for managing organizations and folders.
|
|
139
|
+
|
|
140
|
+
| Command | Description |
|
|
141
|
+
| ------------------------------------------------------------------------------ | ------------------------------------------------ |
|
|
142
|
+
| [organization folder create](./cli/organization.md#organization-folder-create) | Create a new folder in an organization. |
|
|
143
|
+
| [organization folder delete](./cli/organization.md#organization-folder-delete) | Delete a folder from an organization. |
|
|
144
|
+
| [organization folder get](./cli/organization.md#organization-folder-get) | Show detailed information about a folder. |
|
|
145
|
+
| [organization folder list](./cli/organization.md#organization-folder-list) | List folders in an organization. |
|
|
146
|
+
| [organization folder update](./cli/organization.md#organization-folder-update) | Update a folder's name. |
|
|
147
|
+
| [organization get](./cli/organization.md#organization-get) | Show detailed information about an organization. |
|
|
148
|
+
| [organization list](./cli/organization.md#organization-list) | List organizations you belong to. |
|
|
149
|
+
| [organization tree](./cli/organization.md#organization-tree) | Display organization folder hierarchy as a tree. |
|
|
150
|
+
| [organization update](./cli/organization.md#organization-update) | Update an organization's name. |
|
|
151
|
+
|
|
152
|
+
### [Workspace Commands](./cli/workspace.md)
|
|
153
|
+
|
|
154
|
+
Commands for managing workspaces and profiles.
|
|
155
|
+
|
|
156
|
+
| Command | Description |
|
|
157
|
+
| ----------------------------------------------------------------- | ------------------------------------------- |
|
|
158
|
+
| [workspace app health](./cli/workspace.md#workspace-app-health) | Check application schema health |
|
|
159
|
+
| [workspace app list](./cli/workspace.md#workspace-app-list) | List applications in a workspace |
|
|
160
|
+
| [workspace create](./cli/workspace.md#workspace-create) | Create a new Tailor Platform workspace. |
|
|
161
|
+
| [workspace delete](./cli/workspace.md#workspace-delete) | Delete a Tailor Platform workspace. |
|
|
162
|
+
| [workspace get](./cli/workspace.md#workspace-get) | Show detailed information about a workspace |
|
|
163
|
+
| [workspace list](./cli/workspace.md#workspace-list) | List all Tailor Platform workspaces. |
|
|
164
|
+
| [workspace restore](./cli/workspace.md#workspace-restore) | Restore a deleted workspace |
|
|
165
|
+
| [workspace user invite](./cli/workspace.md#workspace-user-invite) | Invite a user to a workspace |
|
|
166
|
+
| [workspace user list](./cli/workspace.md#workspace-user-list) | List users in a workspace |
|
|
167
|
+
| [workspace user remove](./cli/workspace.md#workspace-user-remove) | Remove a user from a workspace |
|
|
168
|
+
| [workspace user update](./cli/workspace.md#workspace-user-update) | Update a user's role in a workspace |
|
|
169
|
+
| [profile create](./cli/workspace.md#profile-create) | Create a new profile. |
|
|
170
|
+
| [profile delete](./cli/workspace.md#profile-delete) | Delete a profile. |
|
|
171
|
+
| [profile list](./cli/workspace.md#profile-list) | List all profiles. |
|
|
172
|
+
| [profile update](./cli/workspace.md#profile-update) | Update profile properties. |
|
|
163
173
|
|
|
164
174
|
### [Auth Resource Commands](./cli/auth.md)
|
|
165
175
|
|
|
166
176
|
Commands for managing Auth service resources.
|
|
167
177
|
|
|
168
|
-
| Command | Description
|
|
169
|
-
| ---------------------------------------------------- |
|
|
170
|
-
| [machineuser list](./cli/auth.md#machineuser-list) | List machine users
|
|
171
|
-
| [machineuser token](./cli/auth.md#machineuser-token) | Get
|
|
172
|
-
| [oauth2client list](./cli/auth.md#oauth2client-list) | List OAuth2 clients
|
|
173
|
-
| [oauth2client get](./cli/auth.md#oauth2client-get) | Get OAuth2 client credentials |
|
|
178
|
+
| Command | Description |
|
|
179
|
+
| ---------------------------------------------------- | -------------------------------------------------------- |
|
|
180
|
+
| [machineuser list](./cli/auth.md#machineuser-list) | List all machine users in the application. |
|
|
181
|
+
| [machineuser token](./cli/auth.md#machineuser-token) | Get an access token for a machine user. |
|
|
182
|
+
| [oauth2client list](./cli/auth.md#oauth2client-list) | List all OAuth2 clients in the application. |
|
|
183
|
+
| [oauth2client get](./cli/auth.md#oauth2client-get) | Get OAuth2 client credentials (including client secret). |
|
|
174
184
|
|
|
175
185
|
### [Workflow Commands](./cli/workflow.md)
|
|
176
186
|
|
|
177
187
|
Commands for managing workflows and executions.
|
|
178
188
|
|
|
179
|
-
| Command | Description
|
|
180
|
-
| ------------------------------------------------------------ |
|
|
181
|
-
| [workflow list](./cli/workflow.md#workflow-list) | List all workflows
|
|
182
|
-
| [workflow get](./cli/workflow.md#workflow-get) | Get workflow details
|
|
183
|
-
| [workflow start](./cli/workflow.md#workflow-start) | Start a workflow execution
|
|
184
|
-
| [workflow executions](./cli/workflow.md#workflow-executions) | List or get executions
|
|
185
|
-
| [workflow resume](./cli/workflow.md#workflow-resume) | Resume a failed execution
|
|
189
|
+
| Command | Description |
|
|
190
|
+
| ------------------------------------------------------------ | ---------------------------------------------- |
|
|
191
|
+
| [workflow list](./cli/workflow.md#workflow-list) | List all workflows in the workspace. |
|
|
192
|
+
| [workflow get](./cli/workflow.md#workflow-get) | Get workflow details. |
|
|
193
|
+
| [workflow start](./cli/workflow.md#workflow-start) | Start a workflow execution. |
|
|
194
|
+
| [workflow executions](./cli/workflow.md#workflow-executions) | List or get workflow executions. |
|
|
195
|
+
| [workflow resume](./cli/workflow.md#workflow-resume) | Resume a failed or pending workflow execution. |
|
|
186
196
|
|
|
187
197
|
### [Function Commands](./cli/function.md)
|
|
188
198
|
|
|
189
199
|
Commands for viewing function execution logs.
|
|
190
200
|
|
|
191
|
-
| Command
|
|
192
|
-
|
|
|
193
|
-
| [function logs](./cli/function.md#function-logs)
|
|
201
|
+
| Command | Description |
|
|
202
|
+
| -------------------------------------------------------- | --------------------------------------------------------------- |
|
|
203
|
+
| [function logs](./cli/function.md#function-logs) | List or get function execution logs. |
|
|
204
|
+
| [function test-run](./cli/function.md#function-test-run) | Run a function on the Tailor Platform server without deploying. |
|
|
194
205
|
|
|
195
206
|
### [Executor Commands](./cli/executor.md)
|
|
196
207
|
|
|
197
208
|
Commands for managing executors and executor jobs.
|
|
198
209
|
|
|
199
|
-
| Command
|
|
200
|
-
|
|
|
201
|
-
| [executor trigger](./cli/executor.md#executor-trigger)
|
|
202
|
-
| [executor jobs](./cli/executor.md#executor-jobs)
|
|
210
|
+
| Command | Description |
|
|
211
|
+
| ---------------------------------------------------------------- | --------------------------------------------- |
|
|
212
|
+
| [executor trigger](./cli/executor.md#executor-trigger) | Trigger an executor manually. |
|
|
213
|
+
| [executor jobs](./cli/executor.md#executor-jobs) | List or get executor jobs. |
|
|
214
|
+
| [executor list](./cli/executor.md#executor-list) | List all executors |
|
|
215
|
+
| [executor get](./cli/executor.md#executor-get) | Get executor details |
|
|
216
|
+
| [executor webhook list](./cli/executor.md#executor-webhook-list) | List executors with incoming webhook triggers |
|
|
203
217
|
|
|
204
218
|
### [Secret Commands](./cli/secret.md)
|
|
205
219
|
|
|
206
220
|
Commands for managing secrets and vaults.
|
|
207
221
|
|
|
208
|
-
| Command | Description
|
|
209
|
-
| ---------------------------------------------------------- |
|
|
210
|
-
| [secret vault create](./cli/secret.md#secret-vault-create) | Create a vault
|
|
211
|
-
| [secret vault delete](./cli/secret.md#secret-vault-delete) | Delete a vault
|
|
212
|
-
| [secret vault list](./cli/secret.md#secret-vault-list) | List all vaults
|
|
213
|
-
| [secret create](./cli/secret.md#secret-create) | Create a secret
|
|
214
|
-
| [secret update](./cli/secret.md#secret-update) | Update a secret
|
|
215
|
-
| [secret list](./cli/secret.md#secret-list) | List secrets in a vault
|
|
216
|
-
| [secret delete](./cli/secret.md#secret-delete) | Delete a secret
|
|
222
|
+
| Command | Description |
|
|
223
|
+
| ---------------------------------------------------------- | ------------------------------------------------ |
|
|
224
|
+
| [secret vault create](./cli/secret.md#secret-vault-create) | Create a new Secret Manager vault. |
|
|
225
|
+
| [secret vault delete](./cli/secret.md#secret-vault-delete) | Delete a Secret Manager vault. |
|
|
226
|
+
| [secret vault list](./cli/secret.md#secret-vault-list) | List all Secret Manager vaults in the workspace. |
|
|
227
|
+
| [secret create](./cli/secret.md#secret-create) | Create a secret in a vault. |
|
|
228
|
+
| [secret update](./cli/secret.md#secret-update) | Update a secret in a vault. |
|
|
229
|
+
| [secret list](./cli/secret.md#secret-list) | List all secrets in a vault. |
|
|
230
|
+
| [secret delete](./cli/secret.md#secret-delete) | Delete a secret in a vault. |
|
|
217
231
|
|
|
218
232
|
### [Static Website Commands](./cli/staticwebsite.md)
|
|
219
233
|
|
|
220
234
|
Commands for managing and deploying static websites.
|
|
221
235
|
|
|
222
|
-
| Command | Description
|
|
223
|
-
| ------------------------------------------------------------------- |
|
|
224
|
-
| [staticwebsite deploy](./cli/staticwebsite.md#staticwebsite-deploy) | Deploy a static website from a local build directory |
|
|
225
|
-
| [staticwebsite list](./cli/staticwebsite.md#staticwebsite-list) | List static websites in a workspace
|
|
226
|
-
| [staticwebsite get](./cli/staticwebsite.md#staticwebsite-get) | Get details of a static website
|
|
236
|
+
| Command | Description |
|
|
237
|
+
| ------------------------------------------------------------------- | ----------------------------------------------------- |
|
|
238
|
+
| [staticwebsite deploy](./cli/staticwebsite.md#staticwebsite-deploy) | Deploy a static website from a local build directory. |
|
|
239
|
+
| [staticwebsite list](./cli/staticwebsite.md#staticwebsite-list) | List all static websites in a workspace. |
|
|
240
|
+
| [staticwebsite get](./cli/staticwebsite.md#staticwebsite-get) | Get details of a specific static website. |
|
|
227
241
|
|
|
228
242
|
### [Crash Report Commands](./cli/crash-report.md)
|
|
229
243
|
|
|
230
244
|
Commands for managing crash reports.
|
|
231
245
|
|
|
232
|
-
| Command | Description
|
|
233
|
-
| ------------------------------------------------------------ |
|
|
234
|
-
| [crash-report list](./cli/crash-report.md#crash-report-list) | List local crash report files |
|
|
235
|
-
| [crash-report send](./cli/crash-report.md#crash-report-send) | Submit a crash report to help improve the SDK |
|
|
246
|
+
| Command | Description |
|
|
247
|
+
| ------------------------------------------------------------ | ---------------------------------------------- |
|
|
248
|
+
| [crash-report list](./cli/crash-report.md#crash-report-list) | List local crash report files. |
|
|
249
|
+
| [crash-report send](./cli/crash-report.md#crash-report-send) | Submit a crash report to help improve the SDK. |
|
|
236
250
|
|
|
237
251
|
### [Setup Commands](./cli/setup.md)
|
|
238
252
|
|
|
239
253
|
Commands for setting up project infrastructure.
|
|
240
254
|
|
|
241
|
-
| Command | Description
|
|
242
|
-
| ------------------------------------------- |
|
|
243
|
-
| [setup github](./cli/setup.md#setup-github) | Generate GitHub Actions workflow for deployment |
|
|
255
|
+
| Command | Description |
|
|
256
|
+
| ------------------------------------------- | ------------------------------------------------------- |
|
|
257
|
+
| [setup github](./cli/setup.md#setup-github) | Generate GitHub Actions workflow for deployment. (beta) |
|
|
244
258
|
|
|
245
259
|
### [Completion](./cli/completion.md)
|
|
246
260
|
|
|
@@ -249,3 +263,5 @@ Generate shell completion scripts for bash, zsh, and fish.
|
|
|
249
263
|
| Command | Description |
|
|
250
264
|
| -------------------------------------------- | -------------------------------- |
|
|
251
265
|
| [completion](./cli/completion.md#completion) | Generate shell completion script |
|
|
266
|
+
|
|
267
|
+
<!-- politty:index:docs/cli-reference.md:end -->
|
|
@@ -22,7 +22,7 @@ Generates a TypeScript file containing:
|
|
|
22
22
|
|
|
23
23
|
- Type definitions for all TailorDB types
|
|
24
24
|
- `getDB(namespace)` function to create Kysely instances
|
|
25
|
-
- Utility types for Timestamp and
|
|
25
|
+
- Utility types for `Timestamp`, `Serial`, and `ObjectColumnType` (wraps nested objects containing date/datetime fields to provide correct insert vs select types)
|
|
26
26
|
|
|
27
27
|
### Usage
|
|
28
28
|
|
package/docs/services/idp.md
CHANGED
|
@@ -77,6 +77,28 @@ defineIdp("my-idp", {
|
|
|
77
77
|
});
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
+
### emailConfig
|
|
81
|
+
|
|
82
|
+
Namespace-level email configuration defaults. Per-request values take priority over these defaults.
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
defineIdp("my-idp", {
|
|
86
|
+
authorization: "loggedIn",
|
|
87
|
+
clients: ["my-client"],
|
|
88
|
+
emailConfig: {
|
|
89
|
+
fromName: "My App",
|
|
90
|
+
passwordResetSubject: "Reset your password",
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**Fields:**
|
|
96
|
+
|
|
97
|
+
- `fromName` - Default sender display name for emails. Empty means use mailer default.
|
|
98
|
+
- `passwordResetSubject` - Default subject for password reset emails. Empty means use localized default.
|
|
99
|
+
|
|
100
|
+
**Validation:** Each field must be 200 characters or less and must not contain newline characters.
|
|
101
|
+
|
|
80
102
|
## Using idp.provider()
|
|
81
103
|
|
|
82
104
|
The `idp.provider()` method creates a type-safe reference to the IdP for use in Auth configuration. The client name is validated at compile time against the clients defined in the IdP.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/sdk",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.1",
|
|
4
4
|
"description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
"@inquirer/prompts": "8.3.2",
|
|
86
86
|
"@liam-hq/cli": "0.7.24",
|
|
87
87
|
"@napi-rs/keyring": "1.2.0",
|
|
88
|
-
"@opentelemetry/api": "1.9.
|
|
89
|
-
"@opentelemetry/exporter-trace-otlp-proto": "0.
|
|
90
|
-
"@opentelemetry/resources": "2.6.
|
|
91
|
-
"@opentelemetry/sdk-trace-node": "2.6.
|
|
88
|
+
"@opentelemetry/api": "1.9.1",
|
|
89
|
+
"@opentelemetry/exporter-trace-otlp-proto": "0.214.0",
|
|
90
|
+
"@opentelemetry/resources": "2.6.1",
|
|
91
|
+
"@opentelemetry/sdk-trace-node": "2.6.1",
|
|
92
92
|
"@opentelemetry/semantic-conventions": "1.40.0",
|
|
93
|
-
"@oxc-project/types": "0.
|
|
93
|
+
"@oxc-project/types": "0.122.0",
|
|
94
94
|
"@standard-schema/spec": "1.1.0",
|
|
95
95
|
"@tailor-platform/function-kysely-tailordb": "0.1.3",
|
|
96
96
|
"@tailor-platform/function-types": "0.8.3",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"pathe": "2.0.3",
|
|
116
116
|
"pgsql-ast-parser": "12.0.2",
|
|
117
117
|
"pkg-types": "2.3.0",
|
|
118
|
-
"politty": "0.4.
|
|
118
|
+
"politty": "0.4.13",
|
|
119
119
|
"rolldown": "1.0.0-rc.12",
|
|
120
120
|
"semver": "7.7.4",
|
|
121
121
|
"serve": "14.2.6",
|
|
@@ -129,24 +129,24 @@
|
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
131
|
"@eslint/js": "10.0.1",
|
|
132
|
-
"@opentelemetry/sdk-trace-base": "2.6.
|
|
132
|
+
"@opentelemetry/sdk-trace-base": "2.6.1",
|
|
133
133
|
"@types/madge": "5.0.3",
|
|
134
134
|
"@types/mime-types": "3.0.1",
|
|
135
135
|
"@types/node": "24.12.0",
|
|
136
136
|
"@types/semver": "7.7.1",
|
|
137
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
138
|
-
"@vitest/coverage-v8": "4.1.
|
|
137
|
+
"@typescript/native-preview": "7.0.0-dev.20260329.1",
|
|
138
|
+
"@vitest/coverage-v8": "4.1.2",
|
|
139
139
|
"eslint": "10.1.0",
|
|
140
|
-
"eslint-plugin-jsdoc": "62.8.
|
|
141
|
-
"eslint-plugin-oxlint": "1.
|
|
142
|
-
"oxfmt": "0.
|
|
143
|
-
"oxlint": "1.
|
|
144
|
-
"oxlint-tsgolint": "0.
|
|
140
|
+
"eslint-plugin-jsdoc": "62.8.1",
|
|
141
|
+
"eslint-plugin-oxlint": "1.57.0",
|
|
142
|
+
"oxfmt": "0.42.0",
|
|
143
|
+
"oxlint": "1.57.0",
|
|
144
|
+
"oxlint-tsgolint": "0.18.1",
|
|
145
145
|
"sonda": "0.11.1",
|
|
146
|
-
"tsdown": "0.21.
|
|
146
|
+
"tsdown": "0.21.7",
|
|
147
147
|
"typescript": "5.9.3",
|
|
148
148
|
"typescript-eslint": "8.57.2",
|
|
149
|
-
"vitest": "4.1.
|
|
149
|
+
"vitest": "4.1.2",
|
|
150
150
|
"zinfer": "0.1.7"
|
|
151
151
|
},
|
|
152
152
|
"scripts": {
|