twenty-sdk 0.4.1 → 0.4.3

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 (113) hide show
  1. package/dist/AllIcons-CGPKtPQS-DNCqqVPl.js +18986 -0
  2. package/dist/AllIcons-CGPKtPQS-pnhRwY6h.mjs +30768 -0
  3. package/dist/{cli.cjs → cli/index.cjs} +22 -22
  4. package/dist/{cli.mjs → cli/index.mjs} +304 -302
  5. package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +0 -1
  6. package/dist/cli/utilities/build/common/front-component-build/constants/front-component-external-modules.d.ts +1 -0
  7. package/dist/cli/utilities/build/common/front-component-build/utils/create-front-component-build-options.d.ts +14 -0
  8. package/dist/cli/utilities/build/common/front-component-build/utils/get-front-component-build-plugins.d.ts +2 -0
  9. package/dist/front-component/__stories__/FrontComponentRenderer.stories.d.ts +9 -0
  10. package/dist/front-component/__stories__/mocks/interactive.front-component.d.ts +7 -0
  11. package/dist/front-component/__stories__/mocks/lifecycle.front-component.d.ts +7 -0
  12. package/dist/front-component/__stories__/mocks/static.front-component.d.ts +7 -0
  13. package/dist/front-component/__stories__/utils/buildMockComponents.d.ts +1 -0
  14. package/dist/front-component/__stories__/utils/loadBuiltComponent.d.ts +1 -0
  15. package/dist/front-component/index.cjs +1 -0
  16. package/dist/front-component/index.mjs +2668 -0
  17. package/dist/front-component-constants/index.cjs +1 -0
  18. package/dist/{front-component-constants.mjs → front-component-constants/index.mjs} +1 -1
  19. package/dist/index.cjs +2 -2
  20. package/dist/index.mjs +1 -1
  21. package/dist/input-CCBkYU6b.mjs +28020 -0
  22. package/dist/input-QArI9uHN.js +402 -0
  23. package/dist/isValidCountryCode-B7MxBtRC-BNPnBggZ.js +25 -0
  24. package/dist/{jsx-runtime-C9ldtZbm.mjs → isValidCountryCode-B7MxBtRC-BsdyqBLg.mjs} +4054 -4685
  25. package/dist/jsx-runtime-BdMIAavf.mjs +639 -0
  26. package/dist/jsx-runtime-Bglt9wWZ.js +30 -0
  27. package/dist/{types-DqLnNRPE.js → types-BhI-EY61.js} +1 -1
  28. package/dist/{types-BSOjxfFi.mjs → types-DBujFsE7.mjs} +3 -3
  29. package/dist/ui/index.cjs +2015 -0
  30. package/dist/ui/index.d.ts +11 -0
  31. package/dist/ui/index.mjs +9941 -0
  32. package/dist/vendor/twenty-shared/database-events/object-record.base.event.d.ts +1 -0
  33. package/dist/vendor/twenty-shared/database-events/object-record.base.event.d.ts.map +1 -1
  34. package/dist/vendor/twenty-shared/{isValidCountryCode-Dyji5s5r.mjs → isValidCountryCode-B7MxBtRC.mjs} +963 -939
  35. package/dist/vendor/twenty-shared/{isValidCountryCode-D-UqlXRW.js → isValidCountryCode-BXhYkDye.js} +3 -3
  36. package/dist/vendor/twenty-shared/types/EventLogTable.d.ts +6 -0
  37. package/dist/vendor/twenty-shared/types/EventLogTable.d.ts.map +1 -0
  38. package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts +1 -1
  39. package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts.map +1 -1
  40. package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts +5 -1
  41. package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts.map +1 -1
  42. package/dist/vendor/twenty-shared/types/SettingsPath.d.ts +1 -0
  43. package/dist/vendor/twenty-shared/types/SettingsPath.d.ts.map +1 -1
  44. package/dist/vendor/twenty-shared/types/index.d.ts +2 -1
  45. package/dist/vendor/twenty-shared/types/index.d.ts.map +1 -1
  46. package/dist/vendor/twenty-shared/types.cjs +1 -1
  47. package/dist/vendor/twenty-shared/types.mjs +58 -56
  48. package/dist/vendor/twenty-shared/utils/filter/index.d.ts +1 -0
  49. package/dist/vendor/twenty-shared/utils/filter/index.d.ts.map +1 -1
  50. package/dist/vendor/twenty-shared/utils/filter/turnRecordFilterIntoGqlOperationFilter.d.ts.map +1 -1
  51. package/dist/vendor/twenty-shared/utils/filter/utils/getEmptyRecordGqlOperationFilter.d.ts.map +1 -1
  52. package/dist/vendor/twenty-shared/utils/filter/utils/getFilterTypeFromFieldType.d.ts.map +1 -1
  53. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFilesFilter.d.ts +7 -0
  54. package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFilesFilter.d.ts.map +1 -0
  55. package/dist/vendor/twenty-shared/utils/index.d.ts +1 -0
  56. package/dist/vendor/twenty-shared/utils/index.d.ts.map +1 -1
  57. package/dist/vendor/twenty-shared/utils.cjs +2 -2
  58. package/dist/vendor/twenty-shared/utils.mjs +171 -151
  59. package/dist/vendor/twenty-shared/workflow.cjs +1 -1
  60. package/dist/vendor/twenty-shared/workflow.mjs +1 -1
  61. package/dist/vendor/twenty-ui/{Avatar-zyamQwOj.cjs → Avatar-CRldFv_0.cjs} +1 -1
  62. package/dist/vendor/twenty-ui/{Avatar-Cg4dvBA_.js → Avatar-q9sRncB5.js} +2 -2
  63. package/dist/vendor/twenty-ui/{Button-BChGSHVB.js → Button-C4mFr9D-.js} +2 -2
  64. package/dist/vendor/twenty-ui/{Button-PLd38fEI.cjs → Button-DglXLX4t.cjs} +2 -2
  65. package/dist/vendor/twenty-ui/{ColorSample-BEUix7Ah.cjs → ColorSample-D9DM-_ee.cjs} +1 -1
  66. package/dist/vendor/twenty-ui/{ColorSample-Bp-he5lO.js → ColorSample-IEHpxKsX.js} +1 -1
  67. package/dist/vendor/twenty-ui/MainColorNames-C1tU0n7M.cjs +1 -0
  68. package/dist/vendor/twenty-ui/MainColorNames-CH_C4JeD.js +5 -0
  69. package/dist/vendor/twenty-ui/{MainColorsLight-x_vjLhiq.js → MainColorsLight--0X05KcO.js} +1 -1
  70. package/dist/vendor/twenty-ui/{MainColorsLight-GOpmobTe.cjs → MainColorsLight-CpgC1-1i.cjs} +1 -1
  71. package/dist/vendor/twenty-ui/{OverflowingTextWithTooltip-1P96Lw-o.cjs → OverflowingTextWithTooltip-C4x0j2AD.cjs} +1 -1
  72. package/dist/vendor/twenty-ui/{OverflowingTextWithTooltip-F-KEqUMB.js → OverflowingTextWithTooltip-FRJL71ks.js} +2 -2
  73. package/dist/vendor/twenty-ui/{Tag-CfX8tARK.js → Tag-C0nqcoLd.js} +3 -3
  74. package/dist/vendor/twenty-ui/{Tag-DIE1bmT7.cjs → Tag-C6YGTe8G.cjs} +1 -1
  75. package/dist/vendor/twenty-ui/{ThemeCommon-BiQXECTo.cjs → ThemeCommon-DMvprlEs.cjs} +1 -1
  76. package/dist/vendor/twenty-ui/{ThemeCommon-CUpBXrDJ.js → ThemeCommon-RVLgB4Pa.js} +1 -1
  77. package/dist/vendor/twenty-ui/components.cjs +1 -1
  78. package/dist/vendor/twenty-ui/components.mjs +5 -5
  79. package/dist/vendor/twenty-ui/{config-D3RPmuwk.cjs → config-2EfZqKOo.cjs} +1 -1
  80. package/dist/vendor/twenty-ui/{config-D9UgCg2c.js → config-wKIVPAkA.js} +1 -1
  81. package/dist/vendor/twenty-ui/display.cjs +1 -1
  82. package/dist/vendor/twenty-ui/display.mjs +9 -9
  83. package/dist/vendor/twenty-ui/feedback.cjs +1 -1
  84. package/dist/vendor/twenty-ui/feedback.mjs +1 -1
  85. package/dist/vendor/twenty-ui/{getDisplayValueByUrlType-BMzTxZmB.cjs → getDisplayValueByUrlType-DwG-FZ1p.cjs} +1 -1
  86. package/dist/vendor/twenty-ui/{getDisplayValueByUrlType-BqPVhhu2.js → getDisplayValueByUrlType-DxqXD84p.js} +1 -1
  87. package/dist/vendor/twenty-ui/input.cjs +4 -4
  88. package/dist/vendor/twenty-ui/input.mjs +6 -6
  89. package/dist/vendor/twenty-ui/{isValidCountryCode-Dyji5s5r-MH68p3NE.cjs → isValidCountryCode-B7MxBtRC-BroSlnrA.cjs} +6 -6
  90. package/dist/vendor/twenty-ui/{isValidCountryCode-Dyji5s5r-B7O5eJvP.js → isValidCountryCode-B7MxBtRC-DyiZn2sl.js} +647 -647
  91. package/dist/vendor/twenty-ui/json-visualizer.cjs +2 -2
  92. package/dist/vendor/twenty-ui/json-visualizer.mjs +1 -1
  93. package/dist/vendor/twenty-ui/layout.cjs +2 -2
  94. package/dist/vendor/twenty-ui/layout.mjs +1 -1
  95. package/dist/vendor/twenty-ui/navigation.cjs +5 -5
  96. package/dist/vendor/twenty-ui/navigation.mjs +6 -6
  97. package/dist/vendor/twenty-ui/testing.cjs +2 -2
  98. package/dist/vendor/twenty-ui/testing.mjs +2 -2
  99. package/dist/vendor/twenty-ui/theme.cjs +1 -1
  100. package/dist/vendor/twenty-ui/theme.mjs +6 -6
  101. package/dist/vendor/twenty-ui/{themeColorSchema-CgAr-Bzv.js → themeColorSchema-DVfjPoxx.js} +1 -1
  102. package/dist/vendor/twenty-ui/{themeColorSchema-DSPsU2O5.cjs → themeColorSchema-DfeeV1pm.cjs} +1 -1
  103. package/dist/vendor/twenty-ui/{useMouseDownNavigation-C_8Q5KFZ.cjs → useMouseDownNavigation-Dr9ganU0.cjs} +1 -1
  104. package/dist/vendor/twenty-ui/{useMouseDownNavigation-qpLZC7wJ.js → useMouseDownNavigation-QLT907PP.js} +1 -1
  105. package/dist/vendor/twenty-ui/utilities.cjs +1 -1
  106. package/dist/vendor/twenty-ui/utilities.mjs +3 -3
  107. package/package.json +20 -25
  108. package/dist/front-component-constants.cjs +0 -1
  109. package/dist/front-component.cjs +0 -155
  110. package/dist/front-component.mjs +0 -23453
  111. package/dist/jsx-runtime-CfccAQK_.js +0 -54
  112. package/dist/vendor/twenty-ui/MainColorNames-DNUaoKmR.cjs +0 -1
  113. package/dist/vendor/twenty-ui/MainColorNames-O_b9E7H3.js +0 -5
@@ -2,7 +2,6 @@ import { RestartableWatcher, RestartableWatcherOptions } from './restartable-wat
2
2
  import { FileFolder } from '../../../../vendor/twenty-shared/types';
3
3
  import * as esbuild from 'esbuild';
4
4
  export declare const LOGIC_FUNCTION_EXTERNAL_MODULES: string[];
5
- export declare const FRONT_COMPONENT_EXTERNAL_MODULES: string[];
6
5
  export type EsbuildWatcherConfig = {
7
6
  externalModules: string[];
8
7
  fileFolder: FileFolder;
@@ -0,0 +1 @@
1
+ export declare const FRONT_COMPONENT_EXTERNAL_MODULES: string[];
@@ -0,0 +1,14 @@
1
+ import type * as esbuild from 'esbuild';
2
+ type FrontComponentBuildOptions = {
3
+ entryPoints: esbuild.BuildOptions['entryPoints'];
4
+ outdir: string;
5
+ tsconfigPath?: string;
6
+ externalModules?: string[];
7
+ logLevel?: esbuild.LogLevel;
8
+ platform?: esbuild.Platform;
9
+ minify?: boolean;
10
+ metafile?: boolean;
11
+ sourcemap?: boolean;
12
+ };
13
+ export declare const createFrontComponentBuildOptions: ({ entryPoints, outdir, tsconfigPath, externalModules, logLevel, platform, minify, metafile, sourcemap, }: FrontComponentBuildOptions) => esbuild.BuildOptions;
14
+ export {};
@@ -0,0 +1,2 @@
1
+ import type * as esbuild from 'esbuild';
2
+ export declare const getFrontComponentBuildPlugins: () => esbuild.Plugin[];
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { FrontComponentRenderer } from '../host/components/FrontComponentRenderer';
3
+ declare const meta: Meta<typeof FrontComponentRenderer>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof FrontComponentRenderer>;
6
+ export declare const Static: Story;
7
+ export declare const Interactive: Story;
8
+ export declare const Lifecycle: Story;
9
+ export declare const ErrorHandling: Story;
@@ -0,0 +1,7 @@
1
+ declare const _default: import('../../../sdk').ValidationResult<{
2
+ universalIdentifier: string;
3
+ name: string;
4
+ description: string;
5
+ component: () => import("react/jsx-runtime").JSX.Element;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: import('../../../sdk').ValidationResult<{
2
+ universalIdentifier: string;
3
+ name: string;
4
+ description: string;
5
+ component: () => import("react/jsx-runtime").JSX.Element;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: import('../../../sdk').ValidationResult<{
2
+ universalIdentifier: string;
3
+ name: string;
4
+ description: string;
5
+ component: () => import("react/jsx-runtime").JSX.Element;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const buildMockComponents: () => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const getBuiltComponentPath: (componentName: string) => string;