twenty-sdk 2.13.0 → 2.15.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 +17 -0
- package/README.md +4 -0
- package/dist/AllIcons-DEGfvqso-DwtvkCyL.js +1 -0
- package/dist/{AllIcons-BwIoyggb-DpmEuQAR.mjs → AllIcons-DEGfvqso-PUvdkUZm.mjs} +491 -492
- package/dist/catalog-sync-C5Bb1KSh.js +1 -0
- package/dist/{catalog-sync-BfaTQFam.mjs → catalog-sync-DcpUieU5.mjs} +1 -1
- package/dist/cli/commands/dev/dev.d.ts +1 -0
- package/dist/cli/operations/index.d.ts +2 -0
- package/dist/cli/operations/server-start.d.ts +1 -0
- package/dist/cli/utilities/api/api-client.d.ts +3 -1
- package/dist/cli/utilities/api/api-response-type.d.ts +1 -0
- package/dist/cli/utilities/auth/reauth-helper.d.ts +2 -0
- package/dist/cli/utilities/server/docker-container.d.ts +1 -0
- package/dist/cli/utilities/version/get-engine-version-range.d.ts +1 -0
- package/dist/cli/utilities/version/resolve-highest-engine-version.d.ts +1 -0
- package/dist/cli.cjs +34 -34
- package/dist/cli.mjs +1705 -1700
- package/dist/define/index.cjs +11 -11
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +127 -7
- package/dist/define/index.mjs +36081 -36039
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +6 -3
- package/dist/front-component/index.mjs +8 -8
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer.cjs +1 -1
- package/dist/get-function-input-schema-GNk3NRLJ-DMgchWCN.js +1 -0
- package/dist/{get-function-input-schema-NI9y_bIk-LH_O2OgF.mjs → get-function-input-schema-GNk3NRLJ-oMYSgib9.mjs} +31 -21
- package/dist/icon-BSeT8K5G-Cuhg-Bz6.js +1 -0
- package/dist/icon-BSeT8K5G-WVhoiRKN.mjs +10144 -0
- package/dist/logic-function/get-function-input-schema-GNk3NRLJ-D8x7FINz.js +2 -0
- package/dist/logic-function/get-function-input-schema-GNk3NRLJ-D8x7FINz.js.map +1 -0
- package/dist/logic-function/get-function-input-schema-GNk3NRLJ-DSc3lI49.mjs +75 -0
- package/dist/logic-function/get-function-input-schema-GNk3NRLJ-DSc3lI49.mjs.map +1 -0
- package/dist/logic-function/index.cjs +4 -4
- package/dist/logic-function/index.cjs.map +1 -1
- package/dist/logic-function/index.d.ts +18 -3
- package/dist/logic-function/index.mjs +143 -28
- package/dist/logic-function/index.mjs.map +1 -1
- package/dist/logic-function/isDefined-Dtu5EYqP-CMNeFg4z.mjs +7 -0
- package/dist/logic-function/isDefined-Dtu5EYqP-CMNeFg4z.mjs.map +1 -0
- package/dist/logic-function/isDefined-Dtu5EYqP-Dp026Ry1.js +2 -0
- package/dist/logic-function/isDefined-Dtu5EYqP-Dp026Ry1.js.map +1 -0
- package/dist/{login-oauth-BMTHndmD.mjs → login-Cm5IBGFm.mjs} +39521 -39320
- package/dist/login-LjERatsq.js +345 -0
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +4 -4
- package/dist/ui/index.cjs +33 -6
- package/dist/ui/index.d.ts +18 -12
- package/dist/ui/index.mjs +20408 -1123
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +3 -1
- package/dist/utils/index.mjs +9 -8
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +5 -3
- package/dist/AllIcons-BwIoyggb-Ck9DmOFs.js +0 -1
- package/dist/catalog-sync-MvJJHh7v.js +0 -1
- package/dist/display-Co0K-nTB-CPdyKmin.js +0 -83
- package/dist/display-Co0K-nTB-DIalVNdw.mjs +0 -54655
- package/dist/get-function-input-schema-NI9y_bIk-BZ2G7LIj.js +0 -1
- package/dist/login-oauth-DN2eTP67.js +0 -345
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to the [Twenty SDK](https://www.npmjs.com/package/twenty-sdk
|
|
|
4
4
|
|
|
5
5
|
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **`twenty-client-sdk` should now be a dev dependency too.** Although app code imports it (`CoreApiClient`, `MetadataApiClient`, `RestApiClient`), Twenty provides it at runtime — logic functions get it from a generated SDK layer and front components resolve it from server-served modules — so the installed copy is only needed for typechecking and the deploy-time build. Newly scaffolded apps now place it under `devDependencies`. Moving it is recommended (not required: the server already strips it from the deployed runtime), and keeps the installed app leaner:
|
|
12
|
+
|
|
13
|
+
```diff
|
|
14
|
+
"dependencies": {
|
|
15
|
+
- "twenty-client-sdk": "^2.13.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
+ "twenty-client-sdk": "^2.13.0"
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
`twenty build` now also emits a warning when `twenty-client-sdk` is still listed under `dependencies`.
|
|
23
|
+
|
|
7
24
|
## [2.8.0]
|
|
8
25
|
|
|
9
26
|
### Breaking Changes
|
package/README.md
CHANGED
|
@@ -32,6 +32,10 @@ Full documentation is available at **[docs.twenty.com/developers/extend/apps](ht
|
|
|
32
32
|
- [Building Apps](https://docs.twenty.com/developers/extend/apps/building) — entity definitions, API clients, testing, CLI reference
|
|
33
33
|
- [Publishing](https://docs.twenty.com/developers/extend/apps/publishing) — deploy, npm publish, marketplace
|
|
34
34
|
|
|
35
|
+
Guides in this repository:
|
|
36
|
+
|
|
37
|
+
- [Logic function inputs](./docs/logic-function-inputs.md) — input schema inference, record-typed inputs, and the id contract
|
|
38
|
+
|
|
35
39
|
## Manual installation
|
|
36
40
|
|
|
37
41
|
If you are adding `twenty-sdk` to an existing project instead of using `create-twenty-app`:
|