twenty-sdk 0.4.2 → 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/cli/index.cjs +31 -31
- package/dist/cli/index.mjs +293 -288
- 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 -1
- package/dist/front-component/index.mjs +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{types-DqLnNRPE.js → types-BhI-EY61.js} +1 -1
- package/dist/{types-BSOjxfFi.mjs → types-DBujFsE7.mjs} +3 -3
- 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/types/EventLogTable.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/EventLogTable.d.ts.map +1 -0
- 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 +1 -0
- 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 +57 -56
- package/package.json +4 -20
- package/dist/README.md +0 -282
- package/dist/package.json +0 -87
|
@@ -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;
|