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.
- package/dist/AllIcons-CGPKtPQS-DNCqqVPl.js +18986 -0
- package/dist/AllIcons-CGPKtPQS-pnhRwY6h.mjs +30768 -0
- package/dist/{cli.cjs → cli/index.cjs} +22 -22
- package/dist/{cli.mjs → cli/index.mjs} +304 -302
- package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +0 -1
- package/dist/cli/utilities/build/common/front-component-build/constants/front-component-external-modules.d.ts +1 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/create-front-component-build-options.d.ts +14 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/get-front-component-build-plugins.d.ts +2 -0
- package/dist/front-component/__stories__/FrontComponentRenderer.stories.d.ts +9 -0
- package/dist/front-component/__stories__/mocks/interactive.front-component.d.ts +7 -0
- package/dist/front-component/__stories__/mocks/lifecycle.front-component.d.ts +7 -0
- package/dist/front-component/__stories__/mocks/static.front-component.d.ts +7 -0
- package/dist/front-component/__stories__/utils/buildMockComponents.d.ts +1 -0
- package/dist/front-component/__stories__/utils/loadBuiltComponent.d.ts +1 -0
- package/dist/front-component/index.cjs +1 -0
- package/dist/front-component/index.mjs +2668 -0
- package/dist/front-component-constants/index.cjs +1 -0
- package/dist/{front-component-constants.mjs → front-component-constants/index.mjs} +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +1 -1
- package/dist/input-CCBkYU6b.mjs +28020 -0
- package/dist/input-QArI9uHN.js +402 -0
- package/dist/isValidCountryCode-B7MxBtRC-BNPnBggZ.js +25 -0
- package/dist/{jsx-runtime-C9ldtZbm.mjs → isValidCountryCode-B7MxBtRC-BsdyqBLg.mjs} +4054 -4685
- package/dist/jsx-runtime-BdMIAavf.mjs +639 -0
- package/dist/jsx-runtime-Bglt9wWZ.js +30 -0
- package/dist/{types-DqLnNRPE.js → types-BhI-EY61.js} +1 -1
- package/dist/{types-BSOjxfFi.mjs → types-DBujFsE7.mjs} +3 -3
- package/dist/ui/index.cjs +2015 -0
- package/dist/ui/index.d.ts +11 -0
- package/dist/ui/index.mjs +9941 -0
- package/dist/vendor/twenty-shared/database-events/object-record.base.event.d.ts +1 -0
- package/dist/vendor/twenty-shared/database-events/object-record.base.event.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/{isValidCountryCode-Dyji5s5r.mjs → isValidCountryCode-B7MxBtRC.mjs} +963 -939
- package/dist/vendor/twenty-shared/{isValidCountryCode-D-UqlXRW.js → isValidCountryCode-BXhYkDye.js} +3 -3
- package/dist/vendor/twenty-shared/types/EventLogTable.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/EventLogTable.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts +1 -1
- package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts +5 -1
- package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/SettingsPath.d.ts +1 -0
- package/dist/vendor/twenty-shared/types/SettingsPath.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/index.d.ts +2 -1
- package/dist/vendor/twenty-shared/types/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types.cjs +1 -1
- package/dist/vendor/twenty-shared/types.mjs +58 -56
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts +1 -0
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/turnRecordFilterIntoGqlOperationFilter.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/utils/getEmptyRecordGqlOperationFilter.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/utils/getFilterTypeFromFieldType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFilesFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFilesFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts +1 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils.cjs +2 -2
- package/dist/vendor/twenty-shared/utils.mjs +171 -151
- package/dist/vendor/twenty-shared/workflow.cjs +1 -1
- package/dist/vendor/twenty-shared/workflow.mjs +1 -1
- package/dist/vendor/twenty-ui/{Avatar-zyamQwOj.cjs → Avatar-CRldFv_0.cjs} +1 -1
- package/dist/vendor/twenty-ui/{Avatar-Cg4dvBA_.js → Avatar-q9sRncB5.js} +2 -2
- package/dist/vendor/twenty-ui/{Button-BChGSHVB.js → Button-C4mFr9D-.js} +2 -2
- package/dist/vendor/twenty-ui/{Button-PLd38fEI.cjs → Button-DglXLX4t.cjs} +2 -2
- package/dist/vendor/twenty-ui/{ColorSample-BEUix7Ah.cjs → ColorSample-D9DM-_ee.cjs} +1 -1
- package/dist/vendor/twenty-ui/{ColorSample-Bp-he5lO.js → ColorSample-IEHpxKsX.js} +1 -1
- package/dist/vendor/twenty-ui/MainColorNames-C1tU0n7M.cjs +1 -0
- package/dist/vendor/twenty-ui/MainColorNames-CH_C4JeD.js +5 -0
- package/dist/vendor/twenty-ui/{MainColorsLight-x_vjLhiq.js → MainColorsLight--0X05KcO.js} +1 -1
- package/dist/vendor/twenty-ui/{MainColorsLight-GOpmobTe.cjs → MainColorsLight-CpgC1-1i.cjs} +1 -1
- package/dist/vendor/twenty-ui/{OverflowingTextWithTooltip-1P96Lw-o.cjs → OverflowingTextWithTooltip-C4x0j2AD.cjs} +1 -1
- package/dist/vendor/twenty-ui/{OverflowingTextWithTooltip-F-KEqUMB.js → OverflowingTextWithTooltip-FRJL71ks.js} +2 -2
- package/dist/vendor/twenty-ui/{Tag-CfX8tARK.js → Tag-C0nqcoLd.js} +3 -3
- package/dist/vendor/twenty-ui/{Tag-DIE1bmT7.cjs → Tag-C6YGTe8G.cjs} +1 -1
- package/dist/vendor/twenty-ui/{ThemeCommon-BiQXECTo.cjs → ThemeCommon-DMvprlEs.cjs} +1 -1
- package/dist/vendor/twenty-ui/{ThemeCommon-CUpBXrDJ.js → ThemeCommon-RVLgB4Pa.js} +1 -1
- package/dist/vendor/twenty-ui/components.cjs +1 -1
- package/dist/vendor/twenty-ui/components.mjs +5 -5
- package/dist/vendor/twenty-ui/{config-D3RPmuwk.cjs → config-2EfZqKOo.cjs} +1 -1
- package/dist/vendor/twenty-ui/{config-D9UgCg2c.js → config-wKIVPAkA.js} +1 -1
- package/dist/vendor/twenty-ui/display.cjs +1 -1
- package/dist/vendor/twenty-ui/display.mjs +9 -9
- package/dist/vendor/twenty-ui/feedback.cjs +1 -1
- package/dist/vendor/twenty-ui/feedback.mjs +1 -1
- package/dist/vendor/twenty-ui/{getDisplayValueByUrlType-BMzTxZmB.cjs → getDisplayValueByUrlType-DwG-FZ1p.cjs} +1 -1
- package/dist/vendor/twenty-ui/{getDisplayValueByUrlType-BqPVhhu2.js → getDisplayValueByUrlType-DxqXD84p.js} +1 -1
- package/dist/vendor/twenty-ui/input.cjs +4 -4
- package/dist/vendor/twenty-ui/input.mjs +6 -6
- package/dist/vendor/twenty-ui/{isValidCountryCode-Dyji5s5r-MH68p3NE.cjs → isValidCountryCode-B7MxBtRC-BroSlnrA.cjs} +6 -6
- package/dist/vendor/twenty-ui/{isValidCountryCode-Dyji5s5r-B7O5eJvP.js → isValidCountryCode-B7MxBtRC-DyiZn2sl.js} +647 -647
- package/dist/vendor/twenty-ui/json-visualizer.cjs +2 -2
- package/dist/vendor/twenty-ui/json-visualizer.mjs +1 -1
- package/dist/vendor/twenty-ui/layout.cjs +2 -2
- package/dist/vendor/twenty-ui/layout.mjs +1 -1
- package/dist/vendor/twenty-ui/navigation.cjs +5 -5
- package/dist/vendor/twenty-ui/navigation.mjs +6 -6
- package/dist/vendor/twenty-ui/testing.cjs +2 -2
- package/dist/vendor/twenty-ui/testing.mjs +2 -2
- package/dist/vendor/twenty-ui/theme.cjs +1 -1
- package/dist/vendor/twenty-ui/theme.mjs +6 -6
- package/dist/vendor/twenty-ui/{themeColorSchema-CgAr-Bzv.js → themeColorSchema-DVfjPoxx.js} +1 -1
- package/dist/vendor/twenty-ui/{themeColorSchema-DSPsU2O5.cjs → themeColorSchema-DfeeV1pm.cjs} +1 -1
- package/dist/vendor/twenty-ui/{useMouseDownNavigation-C_8Q5KFZ.cjs → useMouseDownNavigation-Dr9ganU0.cjs} +1 -1
- package/dist/vendor/twenty-ui/{useMouseDownNavigation-qpLZC7wJ.js → useMouseDownNavigation-QLT907PP.js} +1 -1
- package/dist/vendor/twenty-ui/utilities.cjs +1 -1
- package/dist/vendor/twenty-ui/utilities.mjs +3 -3
- package/package.json +20 -25
- package/dist/front-component-constants.cjs +0 -1
- package/dist/front-component.cjs +0 -155
- package/dist/front-component.mjs +0 -23453
- package/dist/jsx-runtime-CfccAQK_.js +0 -54
- package/dist/vendor/twenty-ui/MainColorNames-DNUaoKmR.cjs +0 -1
- 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,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 @@
|
|
|
1
|
+
export declare const buildMockComponents: () => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getBuiltComponentPath: (componentName: string) => string;
|