twenty-sdk 2.0.0 → 2.1.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 (36) hide show
  1. package/dist/billing/index.cjs +2 -0
  2. package/dist/billing/index.cjs.map +1 -0
  3. package/dist/billing/index.d.ts +10 -0
  4. package/dist/billing/index.mjs +43 -0
  5. package/dist/billing/index.mjs.map +1 -0
  6. package/dist/cli/commands/add.d.ts +3 -1
  7. package/dist/cli/utilities/build/common/plugins/stub-twenty-sdk-define.plugin.d.ts +7 -0
  8. package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +4 -2
  9. package/dist/cli/utilities/entity/entity-page-layout-tab-template.d.ts +3 -0
  10. package/dist/cli/utilities/entity/entity-record-page-layout-template.d.ts +5 -0
  11. package/dist/cli/utilities/entity/entity-view-template.d.ts +9 -3
  12. package/dist/cli.cjs +123 -55
  13. package/dist/cli.mjs +2183 -2020
  14. package/dist/define/index.cjs +13 -13
  15. package/dist/define/index.cjs.map +1 -1
  16. package/dist/define/index.d.ts +29 -4
  17. package/dist/define/index.mjs +995 -978
  18. package/dist/define/index.mjs.map +1 -1
  19. package/dist/front-component/index.cjs +9 -9
  20. package/dist/front-component/index.cjs.map +1 -1
  21. package/dist/front-component/index.d.ts +6 -2
  22. package/dist/front-component/index.mjs +44 -42
  23. package/dist/front-component/index.mjs.map +1 -1
  24. package/dist/{get-function-input-schema-BZ7_XyUh-0e9upvLV.mjs → get-function-input-schema-BZ7_XyUh-CKgoFzji.mjs} +1 -1
  25. package/dist/{get-function-input-schema-BZ7_XyUh-CoN3o7CS.js → get-function-input-schema-BZ7_XyUh-D38OurwZ.js} +1 -1
  26. package/dist/logic-function/index.cjs +2 -0
  27. package/dist/logic-function/index.cjs.map +1 -0
  28. package/dist/logic-function/index.d.ts +215 -0
  29. package/dist/logic-function/index.mjs +2 -0
  30. package/dist/logic-function/index.mjs.map +1 -0
  31. package/dist/operations.cjs +1 -1
  32. package/dist/operations.mjs +2 -2
  33. package/dist/{uninstall-CsGNVq-c.mjs → uninstall-Bw-TK4rL.mjs} +3955 -3701
  34. package/dist/{uninstall-CV3Frzv-.js → uninstall-CYiYoBPe.js} +70 -45
  35. package/package.json +15 -2
  36. package/dist/cli/utilities/build/manifest/utils/generate-default-field-universal-identifier.d.ts +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twenty-sdk",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "sideEffects": false,
5
5
  "bin": {
6
6
  "twenty": "dist/cli.cjs"
@@ -22,6 +22,11 @@
22
22
  "development"
23
23
  ],
24
24
  "exports": {
25
+ "./billing": {
26
+ "types": "./dist/billing/index.d.ts",
27
+ "import": "./dist/billing/index.mjs",
28
+ "require": "./dist/billing/index.cjs"
29
+ },
25
30
  "./define": {
26
31
  "types": "./dist/define/index.d.ts",
27
32
  "import": "./dist/define/index.mjs",
@@ -32,6 +37,11 @@
32
37
  "import": "./dist/front-component/index.mjs",
33
38
  "require": "./dist/front-component/index.cjs"
34
39
  },
40
+ "./logic-function": {
41
+ "types": "./dist/logic-function/index.d.ts",
42
+ "import": "./dist/logic-function/index.mjs",
43
+ "require": "./dist/logic-function/index.cjs"
44
+ },
35
45
  "./ui": {
36
46
  "types": "./dist/ui/index.d.ts",
37
47
  "import": "./dist/ui/index.mjs",
@@ -73,7 +83,7 @@
73
83
  "react": "^19.0.0",
74
84
  "react-dom": "^19.0.0",
75
85
  "tinyglobby": "^0.2.15",
76
- "twenty-client-sdk": "2.0.0",
86
+ "twenty-client-sdk": "2.1.0",
77
87
  "typescript": "^5.9.2",
78
88
  "uuid": "^13.0.0",
79
89
  "vite": "^7.0.0",
@@ -106,6 +116,9 @@
106
116
  "front-component": [
107
117
  "dist/front-component/index.d.ts"
108
118
  ],
119
+ "logic-function": [
120
+ "dist/logic-function/index.d.ts"
121
+ ],
109
122
  "cli": [
110
123
  "dist/cli/operations/index.d.ts"
111
124
  ],
@@ -1,5 +0,0 @@
1
- import type { ObjectConfig } from '../../../../../sdk/define/objects/object-config';
2
- export declare const generateDefaultFieldUniversalIdentifier: ({ objectConfig, fieldName, }: {
3
- objectConfig: ObjectConfig;
4
- fieldName: string;
5
- }) => string;