twenty-sdk 0.5.2 → 0.6.0-alpha

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 (128) hide show
  1. package/README.md +2 -0
  2. package/dist/{AllIcons-CGPKtPQS-sO2O4z-k.js → AllIcons-CGPKtPQS-BLFCKgx3.js} +3793 -3798
  3. package/dist/{AllIcons-CGPKtPQS-C-ZFgy8B.mjs → AllIcons-CGPKtPQS-Djzg3SXS.mjs} +5806 -5814
  4. package/dist/{isValidCountryCode-ujmwsK7z-DwSvvT1u.js → HtmlTagToRemoteComponent-CSfU1Ai0.js} +12 -12
  5. package/dist/{isValidCountryCode-ujmwsK7z-B8kSH7O8.mjs → HtmlTagToRemoteComponent-_7-Er-Nj.mjs} +1612 -1465
  6. package/dist/cli/commands/app/app-uninstall.d.ts +2 -2
  7. package/dist/cli/commands/app-command.d.ts +1 -1
  8. package/dist/cli/commands/logic-function/logic-function-execute.d.ts +1 -1
  9. package/dist/cli/commands/logic-function/logic-function-logs.d.ts +1 -1
  10. package/dist/cli/utilities/api/api-service.d.ts +6 -6
  11. package/dist/cli/utilities/build/common/esbuild-result-processor.d.ts +2 -2
  12. package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +2 -2
  13. package/dist/cli/utilities/build/common/file-upload-watcher.d.ts +1 -1
  14. package/dist/cli/utilities/build/common/front-component-build/react-globals-plugin.d.ts +1 -1
  15. package/dist/cli/utilities/build/common/front-component-build/twenty-sdk-globals-plugin.d.ts +1 -1
  16. package/dist/cli/utilities/build/common/front-component-build/twenty-sdk-ui-globals-plugin.d.ts +1 -1
  17. package/dist/cli/utilities/build/common/front-component-build/twenty-shared-globals-plugin.d.ts +1 -1
  18. package/dist/cli/utilities/build/common/front-component-build/utils/extract-names-from-import-specifier.d.ts +1 -1
  19. package/dist/cli/utilities/build/common/restartable-watcher-interface.d.ts +2 -2
  20. package/dist/cli/utilities/build/manifest/manifest-build.d.ts +2 -2
  21. package/dist/cli/utilities/build/manifest/manifest-extract-config-from-file.d.ts +1 -1
  22. package/dist/cli/utilities/build/manifest/manifest-update-checksums.d.ts +2 -2
  23. package/dist/cli/utilities/build/manifest/manifest-validate.d.ts +1 -1
  24. package/dist/cli/utilities/build/manifest/manifest-writer.d.ts +1 -1
  25. package/dist/cli/utilities/dev/dev-mode-orchestrator.d.ts +6 -6
  26. package/dist/cli/utilities/dev/dev-ui-state-manager.d.ts +6 -6
  27. package/dist/cli/utilities/dev/dev-ui-state.d.ts +1 -1
  28. package/dist/cli/utilities/dev/dev-ui.d.ts +1 -1
  29. package/dist/cli/utilities/entity/entity-field-template.d.ts +2 -2
  30. package/dist/cli/utilities/entity/entity-front-component-template.d.ts +1 -1
  31. package/dist/cli/utilities/entity/entity-logic-function-template.d.ts +1 -1
  32. package/dist/cli/utilities/entity/entity-role-template.d.ts +1 -1
  33. package/dist/cli/utilities/file/file-jsonc.d.ts +1 -1
  34. package/dist/cli/utilities/file/file-path.d.ts +1 -1
  35. package/dist/cli/utilities/file/file-uploader.d.ts +3 -3
  36. package/dist/cli/utilities/typescript/typescript-diagnostics.d.ts +1 -1
  37. package/dist/cli/utilities/typescript/typescript-program.d.ts +1 -1
  38. package/dist/cli.cjs +29 -29
  39. package/dist/cli.mjs +463 -460
  40. package/dist/front-component-renderer/__stories__/FrontComponentRenderer.stories.d.ts +16 -0
  41. package/dist/front-component-renderer/__stories__/example-sources/chakra-example.front-component.d.ts +8 -0
  42. package/dist/front-component-renderer/__stories__/example-sources/emotion-example.front-component.d.ts +7 -0
  43. package/dist/{front-component/__stories__/mocks → front-component-renderer/__stories__/example-sources}/interactive.front-component.d.ts +1 -1
  44. package/dist/{front-component/__stories__/mocks → front-component-renderer/__stories__/example-sources}/lifecycle.front-component.d.ts +1 -1
  45. package/dist/front-component-renderer/__stories__/example-sources/mui-example.front-component.d.ts +7 -0
  46. package/dist/front-component-renderer/__stories__/example-sources/shadcn-example.front-component.d.ts +7 -0
  47. package/dist/{front-component/__stories__/mocks → front-component-renderer/__stories__/example-sources}/static.front-component.d.ts +1 -1
  48. package/dist/front-component-renderer/__stories__/example-sources/styled-components-example.front-component.d.ts +7 -0
  49. package/dist/front-component-renderer/__stories__/example-sources/tailwind-example.front-component.d.ts +7 -0
  50. package/dist/front-component-renderer/__stories__/example-sources/twenty-ui-example.front-component.d.ts +7 -0
  51. package/dist/front-component-renderer/__stories__/utils/getBuiltStoryComponentPathForRender.d.ts +1 -0
  52. package/dist/front-component-renderer/host/components/FrontComponentRenderer.d.ts +14 -0
  53. package/dist/front-component-renderer/index.cjs +25 -0
  54. package/dist/{front-component → front-component-renderer}/index.d.ts +4 -4
  55. package/dist/front-component-renderer/index.mjs +12026 -0
  56. package/dist/front-component-renderer/remote/components/FrontComponentHostCommunicationApiEffect.d.ts +8 -0
  57. package/dist/front-component-renderer/remote/components/FrontComponentUpdateContextEffect.d.ts +10 -0
  58. package/dist/{front-component → front-component-renderer}/remote/components/FrontComponentWorkerEffect.d.ts +5 -4
  59. package/dist/front-component-renderer/remote/generated/remote-components.d.ts +43 -0
  60. package/dist/front-component-renderer/remote/generated/remote-elements.d.ts +187 -0
  61. package/dist/{front-component → front-component-renderer}/remote/mock/mock-front-component.d.ts +1 -1
  62. package/dist/front-component-renderer/remote/worker/remote-worker.d.ts +3 -0
  63. package/dist/front-component-renderer/remote/worker/utils/setWorkerEnv.d.ts +1 -0
  64. package/dist/{front-component → front-component-renderer}/types/FrontComponentHostCommunicationApi.d.ts +1 -1
  65. package/dist/{front-component → front-component-renderer}/types/HostToWorkerRenderContext.d.ts +2 -1
  66. package/dist/front-component-renderer/types/PropertySchema.d.ts +4 -0
  67. package/dist/{front-component → front-component-renderer}/types/WorkerExports.d.ts +3 -3
  68. package/dist/index-DX23sVyw.js +2415 -0
  69. package/dist/index-JB9QoBK0.mjs +33884 -0
  70. package/dist/index.cjs +2 -2
  71. package/dist/index.mjs +15 -12
  72. package/dist/sdk/application/application-config.d.ts +1 -1
  73. package/dist/sdk/application/define-application.d.ts +2 -2
  74. package/dist/sdk/common/types/define-entity.type.d.ts +4 -4
  75. package/dist/sdk/common/utils/create-validation-result.d.ts +1 -1
  76. package/dist/sdk/define-front-component.d.ts +2 -2
  77. package/dist/sdk/fields/define-field.d.ts +2 -2
  78. package/dist/sdk/fields/validate-fields.d.ts +1 -1
  79. package/dist/sdk/front-component-api/constants/HtmlCommonProperties.d.ts +2 -0
  80. package/dist/sdk/front-component-api/context/frontComponentContext.d.ts +1 -1
  81. package/dist/sdk/front-component-api/functions/navigate.d.ts +1 -1
  82. package/dist/sdk/front-component-api/hooks/useFrontComponentExecutionContext.d.ts +1 -1
  83. package/dist/sdk/front-component-api/index.d.ts +7 -0
  84. package/dist/sdk/front-component-config.d.ts +1 -1
  85. package/dist/sdk/index.d.ts +6 -6
  86. package/dist/sdk/logic-functions/define-logic-function.d.ts +2 -2
  87. package/dist/sdk/logic-functions/logic-function-config.d.ts +1 -1
  88. package/dist/sdk/objects/define-object.d.ts +2 -2
  89. package/dist/sdk/roles/define-role.d.ts +2 -2
  90. package/dist/ui/index.cjs +1 -47
  91. package/dist/ui/index.mjs +682 -2401
  92. package/package.json +34 -12
  93. package/dist/HtmlTagToRemoteComponent-B6lQe_K8.js +0 -1
  94. package/dist/HtmlTagToRemoteComponent-DRdIf3GJ.mjs +0 -151
  95. package/dist/IconWorld-DynX4UYH.mjs +0 -3003
  96. package/dist/IconWorld-JYjJym3l.js +0 -1876
  97. package/dist/_commonjsHelpers-DKOUU3wS.js +0 -1
  98. package/dist/_commonjsHelpers-DaMA6jEr.mjs +0 -8
  99. package/dist/cli/utilities/build/common/front-component-build/utils/create-front-component-build-options.d.ts +0 -13
  100. package/dist/front-component/__stories__/FrontComponentRenderer.stories.d.ts +0 -9
  101. package/dist/front-component/__stories__/utils/buildMockComponents.d.ts +0 -1
  102. package/dist/front-component/__stories__/utils/loadBuiltComponent.d.ts +0 -1
  103. package/dist/front-component/host/components/FrontComponentRenderer.d.ts +0 -13
  104. package/dist/front-component/index.cjs +0 -1
  105. package/dist/front-component/index.mjs +0 -5736
  106. package/dist/front-component/remote/components/FrontComponentHostCommunicationApiEffect.d.ts +0 -8
  107. package/dist/front-component/remote/components/FrontComponentUpdateContextEffect.d.ts +0 -10
  108. package/dist/front-component/remote/generated/remote-components.d.ts +0 -299
  109. package/dist/front-component/remote/generated/remote-elements.d.ts +0 -3335
  110. package/dist/front-component/remote/worker/remote-worker.d.ts +0 -0
  111. package/dist/front-component/types/PropertySchema.d.ts +0 -4
  112. package/dist/index.d.ts +0 -1
  113. package/dist/navigation-_M4-TT0O.js +0 -503
  114. package/dist/navigation-udgao_jA.mjs +0 -30041
  115. package/dist/sdk/front-component-common/HtmlCommonProperties.d.ts +0 -2
  116. package/dist/sdk/front-component-common/index.d.ts +0 -7
  117. /package/dist/{front-component → front-component-renderer}/host/generated/host-component-registry.d.ts +0 -0
  118. /package/dist/{front-component → front-component-renderer}/host/generated/host-index.d.ts +0 -0
  119. /package/dist/{front-component → front-component-renderer}/remote/components/FrontComponentErrorEffect.d.ts +0 -0
  120. /package/dist/{front-component → front-component-renderer}/remote/generated/remote-index.d.ts +0 -0
  121. /package/dist/{front-component → front-component-renderer}/remote/utils/exposeGlobals.d.ts +0 -0
  122. /package/dist/{front-component/remote/worker → front-component-renderer/remote/worker/utils}/createRemoteWorker.d.ts +0 -0
  123. /package/dist/{front-component → front-component-renderer}/types/FrontComponentExecutionContext.d.ts +0 -0
  124. /package/dist/sdk/{front-component-common → front-component-api/constants}/AllowedHtmlElements.d.ts +0 -0
  125. /package/dist/sdk/{front-component-common → front-component-api/constants}/CommonHtmlEvents.d.ts +0 -0
  126. /package/dist/sdk/{front-component-common → front-component-api/constants}/EventToReact.d.ts +0 -0
  127. /package/dist/sdk/{front-component-common → front-component-api/constants}/HtmlTagToRemoteComponent.d.ts +0 -0
  128. /package/dist/sdk/{front-component-common → front-component-api/constants}/SerializedEventData.d.ts +0 -0
@@ -1,7 +1,7 @@
1
- import { ApiResponse } from '../../utilities/api/api-response-type';
1
+ import { type ApiResponse } from '../../../cli/utilities/api/api-response-type';
2
2
  export declare class AppUninstallCommand {
3
3
  private apiService;
4
- execute({ appPath, askForConfirmation, }: {
4
+ execute({ appPath, askForConfirmation }: {
5
5
  appPath?: string;
6
6
  askForConfirmation: boolean;
7
7
  }): Promise<ApiResponse<any>>;
@@ -1,2 +1,2 @@
1
- import { Command } from 'commander';
1
+ import type { Command } from 'commander';
2
2
  export declare const registerCommands: (program: Command) => void;
@@ -1,6 +1,6 @@
1
1
  export declare class LogicFunctionExecuteCommand {
2
2
  private apiService;
3
- execute({ appPath, functionUniversalIdentifier, functionName, payload, }: {
3
+ execute({ appPath, functionUniversalIdentifier, functionName, payload }: {
4
4
  appPath?: string;
5
5
  functionUniversalIdentifier?: string;
6
6
  functionName?: string;
@@ -1,6 +1,6 @@
1
1
  export declare class LogicFunctionLogsCommand {
2
2
  private apiService;
3
- execute({ appPath, functionUniversalIdentifier, functionName, }: {
3
+ execute({ appPath, functionUniversalIdentifier, functionName }: {
4
4
  appPath?: string;
5
5
  functionUniversalIdentifier?: string;
6
6
  functionName?: string;
@@ -1,6 +1,6 @@
1
- import { ApplicationManifest, Manifest } from 'twenty-shared/application';
2
- import { FileFolder } from 'twenty-shared/types';
3
- import { ApiResponse } from './api-response-type';
1
+ import { type ApplicationManifest, type Manifest } from 'twenty-shared/application';
2
+ import { type FileFolder } from 'twenty-shared/types';
3
+ import { type ApiResponse } from '../../../cli/utilities/api/api-response-type';
4
4
  export declare class ApiService {
5
5
  private client;
6
6
  private configService;
@@ -22,7 +22,7 @@ export declare class ApiService {
22
22
  universalIdentifier: string;
23
23
  applicationId: string | null;
24
24
  }>>>;
25
- executeLogicFunction({ functionId, payload, }: {
25
+ executeLogicFunction({ functionId, payload }: {
26
26
  functionId: string;
27
27
  payload: Record<string, unknown>;
28
28
  }): Promise<ApiResponse<{
@@ -36,12 +36,12 @@ export declare class ApiService {
36
36
  stackTrace: string;
37
37
  };
38
38
  }>>;
39
- subscribeToLogs({ applicationUniversalIdentifier, functionUniversalIdentifier, functionName, }: {
39
+ subscribeToLogs({ applicationUniversalIdentifier, functionUniversalIdentifier, functionName }: {
40
40
  applicationUniversalIdentifier: string;
41
41
  functionUniversalIdentifier?: string;
42
42
  functionName?: string;
43
43
  }): Promise<void>;
44
- uploadFile({ filePath, builtHandlerPath, fileFolder, applicationUniversalIdentifier, }: {
44
+ uploadFile({ filePath, builtHandlerPath, fileFolder, applicationUniversalIdentifier }: {
45
45
  filePath: string;
46
46
  builtHandlerPath: string;
47
47
  fileFolder: FileFolder;
@@ -1,6 +1,6 @@
1
- import { OnFileBuiltCallback } from './restartable-watcher-interface';
2
- import { FileFolder } from 'twenty-shared/types';
3
1
  import type * as esbuild from 'esbuild';
2
+ import { type OnFileBuiltCallback } from '../../../../cli/utilities/build/common/restartable-watcher-interface';
3
+ import { type FileFolder } from 'twenty-shared/types';
4
4
  export type ProcessEsbuildResultParams = {
5
5
  result: esbuild.BuildResult;
6
6
  appPath: string;
@@ -1,6 +1,6 @@
1
- import { RestartableWatcher, RestartableWatcherOptions } from './restartable-watcher-interface';
2
- import { FileFolder } from 'twenty-shared/types';
1
+ import { type RestartableWatcher, type RestartableWatcherOptions } from '../../../../cli/utilities/build/common/restartable-watcher-interface';
3
2
  import * as esbuild from 'esbuild';
3
+ import { FileFolder } from 'twenty-shared/types';
4
4
  export declare const LOGIC_FUNCTION_EXTERNAL_MODULES: string[];
5
5
  export type EsbuildWatcherConfig = {
6
6
  externalModules: string[];
@@ -1,4 +1,4 @@
1
- import { FileFolder } from 'twenty-shared/types';
1
+ import { type FileFolder } from 'twenty-shared/types';
2
2
  export type AssetWatcherOptions = {
3
3
  appPath: string;
4
4
  fileFolder: FileFolder;
@@ -1 +1 @@
1
- export declare const reactGlobalsPlugin: import('esbuild').Plugin;
1
+ export declare const reactGlobalsPlugin: import("esbuild").Plugin;
@@ -1 +1 @@
1
- export declare const twentySdkGlobalsPlugin: import('esbuild').Plugin;
1
+ export declare const twentySdkGlobalsPlugin: import("esbuild").Plugin;
@@ -1 +1 @@
1
- export declare const twentySdkUiGlobalsPlugin: import('esbuild').Plugin;
1
+ export declare const twentySdkUiGlobalsPlugin: import("esbuild").Plugin;
@@ -1 +1 @@
1
- export declare const twentySharedGlobalsPlugin: import('esbuild').Plugin;
1
+ export declare const twentySharedGlobalsPlugin: import("esbuild").Plugin;
@@ -1,2 +1,2 @@
1
- import { ParsedImportSpecifier } from '../types/ParsedImportSpecifier';
1
+ import { type ParsedImportSpecifier } from '../types/ParsedImportSpecifier';
2
2
  export declare const extractNamesFromImportSpecifier: (importSpecifier: string) => ParsedImportSpecifier;
@@ -1,5 +1,5 @@
1
- import { FileFolder } from 'twenty-shared/types';
2
- import { Location } from 'esbuild';
1
+ import { type FileFolder } from 'twenty-shared/types';
2
+ import { type Location } from 'esbuild';
3
3
  export interface RestartableWatcher {
4
4
  restart(sourcePaths: string[]): Promise<void>;
5
5
  start(): Promise<void>;
@@ -1,5 +1,5 @@
1
- import { EntityFilePaths } from './manifest-extract-config';
2
- import { Manifest } from 'twenty-shared/application';
1
+ import { type EntityFilePaths } from '../../../../cli/utilities/build/manifest/manifest-extract-config';
2
+ import { type Manifest } from 'twenty-shared/application';
3
3
  export declare const buildManifest: (appPath: string) => Promise<{
4
4
  manifest: Manifest | null;
5
5
  filePaths: EntityFilePaths;
@@ -1,4 +1,4 @@
1
- import { ValidationResult } from '../../../../sdk';
1
+ import { type ValidationResult } from '../../../../sdk';
2
2
  export declare const extractManifestFromFile: <T>({ filePath, appPath, }: {
3
3
  filePath: string;
4
4
  appPath: string;
@@ -1,6 +1,6 @@
1
- import { Manifest } from 'twenty-shared/application';
1
+ import { type Manifest } from 'twenty-shared/application';
2
2
  import { FileFolder } from 'twenty-shared/types';
3
- import { EntityFilePaths } from './manifest-extract-config';
3
+ import type { EntityFilePaths } from '../../../../cli/utilities/build/manifest/manifest-extract-config';
4
4
  export type ManifestBuildResult = {
5
5
  manifest: Manifest | null;
6
6
  filePaths: EntityFilePaths;
@@ -1,4 +1,4 @@
1
- import { Manifest } from 'twenty-shared/application';
1
+ import { type Manifest } from 'twenty-shared/application';
2
2
  export declare const manifestValidate: (manifest: Manifest) => {
3
3
  errors: string[];
4
4
  warnings: string[];
@@ -1,2 +1,2 @@
1
- import { Manifest } from 'twenty-shared/application';
1
+ import { type Manifest } from 'twenty-shared/application';
2
2
  export declare const writeManifestToOutput: (appPath: string, manifest: Manifest) => Promise<string>;
@@ -1,8 +1,8 @@
1
- import { ManifestBuildResult } from '../build/manifest/manifest-update-checksums';
2
- import { FileFolder } from 'twenty-shared/types';
3
- import { Location } from 'esbuild';
4
- import { DevUiStateManager } from './dev-ui-state-manager';
5
- import { EventName } from 'chokidar/handler.js';
1
+ import { type ManifestBuildResult } from '../../../cli/utilities/build/manifest/manifest-update-checksums';
2
+ import { type FileFolder } from 'twenty-shared/types';
3
+ import type { Location } from 'esbuild';
4
+ import { type DevUiStateManager } from '../../../cli/utilities/dev/dev-ui-state-manager';
5
+ import { type EventName } from 'chokidar/handler.js';
6
6
  export type DevModeOrchestratorOptions = {
7
7
  appPath: string;
8
8
  debounceMs?: number;
@@ -29,7 +29,7 @@ export declare class DevModeOrchestrator {
29
29
  error: string;
30
30
  location: Location | null;
31
31
  }[]): void;
32
- handleFileBuilt({ fileFolder, builtPath, sourcePath, checksum, }: {
32
+ handleFileBuilt({ fileFolder, builtPath, sourcePath, checksum }: {
33
33
  fileFolder: FileFolder;
34
34
  builtPath: string;
35
35
  sourcePath: string;
@@ -1,28 +1,28 @@
1
1
  import { SyncableEntity } from 'twenty-shared/application';
2
- import { FileStatus, Listener, ManifestStatus, UiEvent, DevUiState } from './dev-ui-state';
3
- import { EntityFilePaths } from '../build/manifest/manifest-extract-config';
2
+ import { type FileStatus, type Listener, type ManifestStatus, type UiEvent, type DevUiState } from '../../../cli/utilities/dev/dev-ui-state';
3
+ import type { EntityFilePaths } from '../../../cli/utilities/build/manifest/manifest-extract-config';
4
4
  export declare class DevUiStateManager {
5
5
  private state;
6
6
  private eventIdCounter;
7
7
  private listeners;
8
- constructor({ appPath, frontendUrl, }: {
8
+ constructor({ appPath, frontendUrl }: {
9
9
  appPath: string;
10
10
  frontendUrl?: string;
11
11
  });
12
12
  getSnapshot(): DevUiState;
13
13
  subscribe(listener: Listener): () => void;
14
14
  private notify;
15
- addEvent({ message, status, }: {
15
+ addEvent({ message, status }: {
16
16
  message: string;
17
17
  status: UiEvent['status'];
18
18
  }): void;
19
- updateManifestState({ manifestStatus, appName, error, }: {
19
+ updateManifestState({ manifestStatus, appName, error }: {
20
20
  manifestStatus?: ManifestStatus;
21
21
  appName?: string;
22
22
  error?: string;
23
23
  }): void;
24
24
  convertEntityTypeToSyncableEntity(entityType: string): SyncableEntity | undefined;
25
- updateAllFilesTypes({ manifestFilePaths, }: {
25
+ updateAllFilesTypes({ manifestFilePaths }: {
26
26
  manifestFilePaths: EntityFilePaths;
27
27
  }): void;
28
28
  updateAllFilesStatus(status: FileStatus): void;
@@ -1,4 +1,4 @@
1
- import { SyncableEntity } from 'twenty-shared/application';
1
+ import { type SyncableEntity } from 'twenty-shared/application';
2
2
  export type UiEvent = {
3
3
  id: number;
4
4
  timestamp: Date;
@@ -1,4 +1,4 @@
1
- import { DevUiStateManager } from './dev-ui-state-manager';
1
+ import { type DevUiStateManager } from '../../../cli/utilities/dev/dev-ui-state-manager';
2
2
  export declare const renderDevUI: (uiStateManager: DevUiStateManager) => Promise<{
3
3
  unmount: () => void;
4
4
  }>;
@@ -1,11 +1,11 @@
1
- import { FieldMetadataType } from 'twenty-shared/types';
1
+ import { type FieldMetadataType } from 'twenty-shared/types';
2
2
  export declare const getFieldBaseFile: ({ data, }: {
3
3
  data: {
4
4
  name: string;
5
5
  label: string;
6
6
  type: FieldMetadataType;
7
7
  objectUniversalIdentifier: string;
8
- description?: string;
8
+ description?: string | undefined;
9
9
  };
10
10
  name: string;
11
11
  }) => string;
@@ -1,4 +1,4 @@
1
1
  export declare const getFrontComponentBaseFile: ({ name, universalIdentifier, }: {
2
2
  name: string;
3
- universalIdentifier?: string;
3
+ universalIdentifier?: string | undefined;
4
4
  }) => string;
@@ -1,4 +1,4 @@
1
1
  export declare const getLogicFunctionBaseFile: ({ name, universalIdentifier, }: {
2
2
  name: string;
3
- universalIdentifier?: string;
3
+ universalIdentifier?: string | undefined;
4
4
  }) => string;
@@ -1,4 +1,4 @@
1
1
  export declare const getRoleBaseFile: ({ name, universalIdentifier, }: {
2
2
  name: string;
3
- universalIdentifier?: string;
3
+ universalIdentifier?: string | undefined;
4
4
  }) => string;
@@ -1,4 +1,4 @@
1
- import { ParseError } from 'jsonc-parser';
1
+ import { type ParseError } from 'jsonc-parser';
2
2
  export interface JsoncParseOptions {
3
3
  allowTrailingComma?: boolean;
4
4
  disallowComments?: boolean;
@@ -1 +1 @@
1
- export declare const formatPath: (appPath?: string) => string | undefined;
1
+ export declare const formatPath: (appPath?: string | undefined) => string | undefined;
@@ -1,4 +1,4 @@
1
- import { FileFolder } from 'twenty-shared/types';
1
+ import { type FileFolder } from 'twenty-shared/types';
2
2
  export declare class FileUploader {
3
3
  private apiService;
4
4
  private applicationUniversalIdentifier;
@@ -7,8 +7,8 @@ export declare class FileUploader {
7
7
  applicationUniversalIdentifier: string;
8
8
  appPath: string;
9
9
  });
10
- uploadFile({ builtPath, fileFolder, }: {
10
+ uploadFile({ builtPath, fileFolder }: {
11
11
  builtPath: string;
12
12
  fileFolder: FileFolder;
13
- }): Promise<import('../api/api-response-type').ApiResponse<boolean>>;
13
+ }): Promise<import("../api/api-response-type").ApiResponse<boolean>>;
14
14
  }
@@ -1,4 +1,4 @@
1
- import { Diagnostic } from 'typescript';
1
+ import { type Diagnostic } from 'typescript';
2
2
  export declare const formatAndWarnTsDiagnostics: ({ diagnostics, }: {
3
3
  diagnostics: Diagnostic[];
4
4
  }) => void;
@@ -1,4 +1,4 @@
1
- import { Diagnostic, Program } from 'typescript';
1
+ import { type Diagnostic, type Program } from 'typescript';
2
2
  export declare const getTsProgramAndDiagnostics: ({ appPath, }: {
3
3
  appPath: string;
4
4
  }) => Promise<{