twenty-sdk 0.4.8 → 0.5.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.
Files changed (58) hide show
  1. package/dist/HtmlTagToRemoteComponent-Bd5sgek2.js +1 -0
  2. package/dist/{HtmlTagToRemoteComponent-_kOtAcK_.mjs → HtmlTagToRemoteComponent-DlsAI7JU.mjs} +4 -9
  3. package/dist/cli/commands/app/app-dev.d.ts +1 -0
  4. package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +1 -0
  5. package/dist/cli/utilities/build/common/front-component-build/react-globals-plugin.d.ts +1 -2
  6. package/dist/cli/utilities/build/common/front-component-build/strip-comments-plugin.d.ts +2 -0
  7. package/dist/cli/utilities/build/common/front-component-build/twenty-sdk-globals-plugin.d.ts +1 -0
  8. package/dist/cli/utilities/build/common/front-component-build/twenty-sdk-ui-globals-plugin.d.ts +1 -0
  9. package/dist/cli/utilities/build/common/front-component-build/twenty-shared-globals-plugin.d.ts +1 -0
  10. package/dist/cli/utilities/build/common/front-component-build/utils/collect-named-imports.d.ts +4 -0
  11. package/dist/cli/utilities/build/common/front-component-build/utils/create-front-component-build-options.d.ts +1 -2
  12. package/dist/cli/utilities/build/common/front-component-build/utils/create-globals-plugin.d.ts +15 -0
  13. package/dist/cli/utilities/config/get-config-path.d.ts +1 -0
  14. package/dist/cli.cjs +64 -237
  15. package/dist/cli.mjs +3677 -8386
  16. package/dist/front-component/host/components/FrontComponentRenderer.d.ts +4 -1
  17. package/dist/front-component/index.cjs +1 -1
  18. package/dist/front-component/index.d.ts +3 -2
  19. package/dist/front-component/index.mjs +5699 -2008
  20. package/dist/front-component/remote/components/FrontComponentHostCommunicationApiEffect.d.ts +8 -0
  21. package/dist/front-component/remote/components/FrontComponentUpdateContextEffect.d.ts +2 -1
  22. package/dist/front-component/remote/components/FrontComponentWorkerEffect.d.ts +5 -2
  23. package/dist/front-component/remote/generated/remote-components.d.ts +256 -1
  24. package/dist/front-component/remote/generated/remote-elements.d.ts +3162 -22
  25. package/dist/front-component/remote/utils/exposeGlobals.d.ts +1 -0
  26. package/dist/front-component/types/FrontComponentHostCommunicationApi.d.ts +4 -0
  27. package/dist/front-component/types/HostToWorkerRenderContext.d.ts +1 -0
  28. package/dist/front-component/types/PropertySchema.d.ts +1 -1
  29. package/dist/front-component/types/WorkerExports.d.ts +1 -0
  30. package/dist/index.cjs +1 -5
  31. package/dist/index.mjs +94 -2308
  32. package/dist/sdk/front-component-api/context/frontComponentContext.d.ts +7 -0
  33. package/dist/sdk/front-component-api/functions/navigate.d.ts +5 -0
  34. package/dist/sdk/front-component-api/hooks/useFrontComponentExecutionContext.d.ts +1 -1
  35. package/dist/sdk/front-component-api/hooks/useUserId.d.ts +1 -0
  36. package/dist/sdk/front-component-api/index.d.ts +3 -1
  37. package/dist/sdk/front-component-api/types/FrontComponentExecutionContext.d.ts +1 -1
  38. package/dist/sdk/front-component-common/SerializedEventData.d.ts +26 -0
  39. package/dist/sdk/front-component-common/index.d.ts +1 -2
  40. package/dist/sdk/index.d.ts +2 -3
  41. package/dist/sdk/logic-functions/logic-function-config.d.ts +1 -2
  42. package/dist/ui/index.cjs +1 -2015
  43. package/dist/ui/index.mjs +10 -9941
  44. package/package.json +2 -2
  45. package/dist/AllIcons-CGPKtPQS-DL2Ipn0N.mjs +0 -30768
  46. package/dist/AllIcons-CGPKtPQS-cyMLi0D3.js +0 -18986
  47. package/dist/HtmlTagToRemoteComponent-cjNxtZqX.js +0 -1
  48. package/dist/RatingValues-CT-y6O0b-CsGZSJKO.mjs +0 -402
  49. package/dist/RatingValues-CT-y6O0b-D7JSZAMu.js +0 -1
  50. package/dist/front-component/remote/context/FrontComponentExecutionContextStore.d.ts +0 -11
  51. package/dist/input-pdm2U5rP.js +0 -402
  52. package/dist/input-r2MHVbqO.mjs +0 -28019
  53. package/dist/isValidCountryCode-B7MxBtRC-BNPnBggZ.js +0 -25
  54. package/dist/isValidCountryCode-B7MxBtRC-BsdyqBLg.mjs +0 -9841
  55. package/dist/jsx-runtime-BdMIAavf.mjs +0 -639
  56. package/dist/jsx-runtime-Bglt9wWZ.js +0 -30
  57. package/dist/sdk/front-component-api/types/FrontComponentExecutionContextStore.d.ts +0 -5
  58. package/dist/sdk/front-component-common/AllowedUiComponents.d.ts +0 -9
@@ -1,10 +1,13 @@
1
1
  import { FrontComponentExecutionContext } from '../../types/FrontComponentExecutionContext';
2
+ import { FrontComponentHostCommunicationApi } from '../../types/FrontComponentHostCommunicationApi';
2
3
  import { ThemeType } from 'twenty-ui/theme';
3
4
  type FrontComponentContentProps = {
4
5
  componentUrl: string;
6
+ authToken: string;
5
7
  executionContext: FrontComponentExecutionContext;
8
+ frontComponentHostCommunicationApi: FrontComponentHostCommunicationApi;
6
9
  onError: (error?: Error) => void;
7
10
  theme: ThemeType;
8
11
  };
9
- export declare const FrontComponentRenderer: ({ componentUrl, executionContext, onError, theme, }: FrontComponentContentProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const FrontComponentRenderer: ({ componentUrl, authToken, executionContext, frontComponentHostCommunicationApi, onError, theme, }: FrontComponentContentProps) => import("react/jsx-runtime").JSX.Element;
10
13
  export {};