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.
- package/dist/HtmlTagToRemoteComponent-Bd5sgek2.js +1 -0
- package/dist/{HtmlTagToRemoteComponent-_kOtAcK_.mjs → HtmlTagToRemoteComponent-DlsAI7JU.mjs} +4 -9
- package/dist/cli/commands/app/app-dev.d.ts +1 -0
- package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +1 -0
- package/dist/cli/utilities/build/common/front-component-build/react-globals-plugin.d.ts +1 -2
- package/dist/cli/utilities/build/common/front-component-build/strip-comments-plugin.d.ts +2 -0
- package/dist/cli/utilities/build/common/front-component-build/twenty-sdk-globals-plugin.d.ts +1 -0
- package/dist/cli/utilities/build/common/front-component-build/twenty-sdk-ui-globals-plugin.d.ts +1 -0
- package/dist/cli/utilities/build/common/front-component-build/twenty-shared-globals-plugin.d.ts +1 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/collect-named-imports.d.ts +4 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/create-front-component-build-options.d.ts +1 -2
- package/dist/cli/utilities/build/common/front-component-build/utils/create-globals-plugin.d.ts +15 -0
- package/dist/cli/utilities/config/get-config-path.d.ts +1 -0
- package/dist/cli.cjs +64 -237
- package/dist/cli.mjs +3677 -8386
- package/dist/front-component/host/components/FrontComponentRenderer.d.ts +4 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.d.ts +3 -2
- package/dist/front-component/index.mjs +5699 -2008
- package/dist/front-component/remote/components/FrontComponentHostCommunicationApiEffect.d.ts +8 -0
- package/dist/front-component/remote/components/FrontComponentUpdateContextEffect.d.ts +2 -1
- package/dist/front-component/remote/components/FrontComponentWorkerEffect.d.ts +5 -2
- package/dist/front-component/remote/generated/remote-components.d.ts +256 -1
- package/dist/front-component/remote/generated/remote-elements.d.ts +3162 -22
- package/dist/front-component/remote/utils/exposeGlobals.d.ts +1 -0
- package/dist/front-component/types/FrontComponentHostCommunicationApi.d.ts +4 -0
- package/dist/front-component/types/HostToWorkerRenderContext.d.ts +1 -0
- package/dist/front-component/types/PropertySchema.d.ts +1 -1
- package/dist/front-component/types/WorkerExports.d.ts +1 -0
- package/dist/index.cjs +1 -5
- package/dist/index.mjs +94 -2308
- package/dist/sdk/front-component-api/context/frontComponentContext.d.ts +7 -0
- package/dist/sdk/front-component-api/functions/navigate.d.ts +5 -0
- package/dist/sdk/front-component-api/hooks/useFrontComponentExecutionContext.d.ts +1 -1
- package/dist/sdk/front-component-api/hooks/useUserId.d.ts +1 -0
- package/dist/sdk/front-component-api/index.d.ts +3 -1
- package/dist/sdk/front-component-api/types/FrontComponentExecutionContext.d.ts +1 -1
- package/dist/sdk/front-component-common/SerializedEventData.d.ts +26 -0
- package/dist/sdk/front-component-common/index.d.ts +1 -2
- package/dist/sdk/index.d.ts +2 -3
- package/dist/sdk/logic-functions/logic-function-config.d.ts +1 -2
- package/dist/ui/index.cjs +1 -2015
- package/dist/ui/index.mjs +10 -9941
- package/package.json +2 -2
- package/dist/AllIcons-CGPKtPQS-DL2Ipn0N.mjs +0 -30768
- package/dist/AllIcons-CGPKtPQS-cyMLi0D3.js +0 -18986
- package/dist/HtmlTagToRemoteComponent-cjNxtZqX.js +0 -1
- package/dist/RatingValues-CT-y6O0b-CsGZSJKO.mjs +0 -402
- package/dist/RatingValues-CT-y6O0b-D7JSZAMu.js +0 -1
- package/dist/front-component/remote/context/FrontComponentExecutionContextStore.d.ts +0 -11
- package/dist/input-pdm2U5rP.js +0 -402
- package/dist/input-r2MHVbqO.mjs +0 -28019
- package/dist/isValidCountryCode-B7MxBtRC-BNPnBggZ.js +0 -25
- package/dist/isValidCountryCode-B7MxBtRC-BsdyqBLg.mjs +0 -9841
- package/dist/jsx-runtime-BdMIAavf.mjs +0 -639
- package/dist/jsx-runtime-Bglt9wWZ.js +0 -30
- package/dist/sdk/front-component-api/types/FrontComponentExecutionContextStore.d.ts +0 -5
- 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 {};
|