twenty-sdk 2.15.0 → 2.18.0
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/assets/halftone-backdrop.png +0 -0
- package/dist/billing/index.cjs +1 -1
- package/dist/billing/index.cjs.map +1 -1
- package/dist/billing/index.mjs +2 -1
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{catalog-sync-C5Bb1KSh.js → catalog-sync-CgKswjsE.js} +1 -1
- package/dist/{catalog-sync-DcpUieU5.mjs → catalog-sync-YxvEEHz5.mjs} +1 -1
- package/dist/cli/commands/dev/i18n-extract.d.ts +7 -0
- package/dist/cli/utilities/build/common/build-application.d.ts +2 -0
- package/dist/cli/utilities/build/common/front-component-build/css-injection-plugin.d.ts +2 -0
- package/dist/cli/utilities/build/cover/apply-generated-cover.d.ts +9 -0
- package/dist/cli/utilities/build/cover/assets/twenty-logo-mark-path.d.ts +1 -0
- package/dist/cli/utilities/build/cover/generate-cover-image.d.ts +5 -0
- package/dist/cli/utilities/build/cover/generated-asset.type.d.ts +4 -0
- package/dist/cli/utilities/build/cover/generated-cover-path.d.ts +1 -0
- package/dist/cli/utilities/i18n/collect-translatable-strings.d.ts +2 -0
- package/dist/cli/utilities/i18n/compile-application-translations.d.ts +1 -0
- package/dist/cli/utilities/i18n/constants.d.ts +1 -0
- package/dist/cli/utilities/i18n/extract-application-translations.d.ts +10 -0
- package/dist/cli/utilities/i18n/generate-message-id.d.ts +1 -0
- package/dist/cli.cjs +35 -33
- package/dist/cli.mjs +896 -836
- package/dist/define/index.cjs +19 -19
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +30 -15
- package/dist/define/index.mjs +2293 -1036
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +43 -12
- package/dist/front-component/index.mjs +134 -143
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer/build.cjs +1 -1
- package/dist/front-component-renderer/build.mjs +1 -1
- package/dist/front-component-renderer.cjs +1 -1
- package/dist/{get-front-component-build-plugins-DBupR4cF.js → get-front-component-build-plugins-Dqpyup2W.js} +9 -5
- package/dist/get-front-component-build-plugins-taotEFOp.mjs +126 -0
- package/dist/{get-function-input-schema-GNk3NRLJ-oMYSgib9.mjs → get-function-input-schema-GNk3NRLJ-CfeAvjEl.mjs} +1 -1
- package/dist/get-function-input-schema-GNk3NRLJ-D8x7FINz.js +1 -0
- package/dist/isDefined-Dtu5EYqP-Dp026Ry1.js +1 -0
- package/dist/logic-function/index.cjs +1 -1
- package/dist/logic-function/index.cjs.map +1 -1
- package/dist/logic-function/index.d.ts +15 -9
- package/dist/logic-function/index.mjs +1 -0
- package/dist/logic-function/index.mjs.map +1 -1
- package/dist/login-BOrzi4Z0.js +345 -0
- package/dist/{login-Cm5IBGFm.mjs → login-Dg4Ap-uo.mjs} +6932 -5552
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +4 -12
- package/dist/AllIcons-DEGfvqso-DwtvkCyL.js +0 -1
- package/dist/AllIcons-DEGfvqso-PUvdkUZm.mjs +0 -66238
- package/dist/get-front-component-build-plugins-BuE2QdIr.mjs +0 -113
- package/dist/get-function-input-schema-GNk3NRLJ-DMgchWCN.js +0 -1
- package/dist/icon-BSeT8K5G-Cuhg-Bz6.js +0 -1
- package/dist/icon-BSeT8K5G-WVhoiRKN.mjs +0 -10144
- package/dist/login-LjERatsq.js +0 -345
- package/dist/ui/index.cjs +0 -34
- package/dist/ui/index.d.ts +0 -18
- package/dist/ui/index.mjs +0 -20678
package/dist/define/index.d.ts
CHANGED
|
@@ -80,6 +80,11 @@ type ApplicationManifest = SyncableEntityOptions$1 & {
|
|
|
80
80
|
issueReportUrl?: string;
|
|
81
81
|
postInstallLogicFunction?: PostInstallLogicFunctionApplicationManifest;
|
|
82
82
|
preInstallLogicFunction?: PreInstallLogicFunctionApplicationManifest;
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated Custom settings tabs are no longer supported. This property is
|
|
85
|
+
* kept for backward compatibility with older manifests but is now ignored.
|
|
86
|
+
* Use typed `applicationVariables` / `serverVariables` instead.
|
|
87
|
+
*/
|
|
83
88
|
settingsCustomTabFrontComponentUniversalIdentifier?: string;
|
|
84
89
|
packageJsonChecksum: string | null;
|
|
85
90
|
yarnLockChecksum: string | null;
|
|
@@ -509,10 +514,6 @@ type FieldMetadataAddressSettings = {
|
|
|
509
514
|
type FieldMetadataFilesSettings = {
|
|
510
515
|
maxNumberOfValues: number;
|
|
511
516
|
};
|
|
512
|
-
type FieldMetadataTsVectorSettings = {
|
|
513
|
-
asExpression?: string;
|
|
514
|
-
generatedType?: 'STORED' | 'VIRTUAL';
|
|
515
|
-
};
|
|
516
517
|
type FieldMetadataSettingsMapping = {
|
|
517
518
|
[FieldMetadataType.NUMBER]: FieldMetadataNumberSettings | null;
|
|
518
519
|
[FieldMetadataType.CURRENCY]: FieldMetadataCurrencySettings | null;
|
|
@@ -522,7 +523,7 @@ type FieldMetadataSettingsMapping = {
|
|
|
522
523
|
[FieldMetadataType.RELATION]: FieldMetadataRelationSettings;
|
|
523
524
|
[FieldMetadataType.ADDRESS]: FieldMetadataAddressSettings | null;
|
|
524
525
|
[FieldMetadataType.MORPH_RELATION]: FieldMetadataRelationSettings;
|
|
525
|
-
[FieldMetadataType.TS_VECTOR]:
|
|
526
|
+
[FieldMetadataType.TS_VECTOR]: null;
|
|
526
527
|
[FieldMetadataType.PHONES]: FieldMetadataMultiItemSettings | null;
|
|
527
528
|
[FieldMetadataType.EMAILS]: FieldMetadataMultiItemSettings | null;
|
|
528
529
|
[FieldMetadataType.LINKS]: FieldMetadataMultiItemSettings | null;
|
|
@@ -908,12 +909,7 @@ type IndexManifest = SyncableEntityOptions$1 & {
|
|
|
908
909
|
fields: IndexFieldManifest[];
|
|
909
910
|
};
|
|
910
911
|
|
|
911
|
-
type
|
|
912
|
-
type ServerWebhookTriggerSettings = {
|
|
913
|
-
workspaceIdResolver: {
|
|
914
|
-
source: WebhookWorkspaceIdSource;
|
|
915
|
-
path: string;
|
|
916
|
-
};
|
|
912
|
+
type ServerRouteTriggerSettings = {
|
|
917
913
|
forwardedRequestHeaders?: string[];
|
|
918
914
|
};
|
|
919
915
|
|
|
@@ -969,7 +965,7 @@ type LogicFunctionManifest = SyncableEntityOptions$1 & {
|
|
|
969
965
|
cronTriggerSettings?: CronTriggerSettings;
|
|
970
966
|
databaseEventTriggerSettings?: DatabaseEventTriggerSettings;
|
|
971
967
|
httpRouteTriggerSettings?: HttpRouteTriggerSettings;
|
|
972
|
-
|
|
968
|
+
serverRouteTriggerSettings?: ServerRouteTriggerSettings;
|
|
973
969
|
toolTriggerSettings?: ToolTriggerSettings;
|
|
974
970
|
workflowActionTriggerSettings?: WorkflowActionTriggerSettings;
|
|
975
971
|
sourceHandlerPath: string;
|
|
@@ -1162,6 +1158,7 @@ type ViewManifest = SyncableEntityOptions$1 & {
|
|
|
1162
1158
|
openRecordIn?: ViewOpenRecordIn;
|
|
1163
1159
|
mainGroupByFieldMetadataUniversalIdentifier?: string;
|
|
1164
1160
|
shouldHideEmptyGroups?: boolean;
|
|
1161
|
+
anyFieldFilterValue?: string | null;
|
|
1165
1162
|
kanbanColumnWidth?: number | null;
|
|
1166
1163
|
kanbanAggregateOperation?: AggregateOperations;
|
|
1167
1164
|
kanbanAggregateOperationFieldMetadataUniversalIdentifier?: string;
|
|
@@ -1175,7 +1172,7 @@ type ViewManifest = SyncableEntityOptions$1 & {
|
|
|
1175
1172
|
sorts?: ViewSortManifest[];
|
|
1176
1173
|
};
|
|
1177
1174
|
|
|
1178
|
-
type ApplicationConfig = Omit<ApplicationManifest, 'packageJsonChecksum' | 'yarnLockChecksum' | 'postInstallLogicFunction' | 'preInstallLogicFunction' | 'defaultRoleUniversalIdentifier'> & {
|
|
1175
|
+
type ApplicationConfig = Omit<ApplicationManifest, 'packageJsonChecksum' | 'yarnLockChecksum' | 'postInstallLogicFunction' | 'preInstallLogicFunction' | 'defaultRoleUniversalIdentifier' | 'aboutDescription'> & {
|
|
1179
1176
|
/**
|
|
1180
1177
|
* @deprecated Use `defineApplicationRole()` in your role file instead.
|
|
1181
1178
|
*/
|
|
@@ -1194,9 +1191,20 @@ type FrontComponentConfig = Omit<FrontComponentManifest, 'sourceComponentPath' |
|
|
|
1194
1191
|
type IndexConfig = IndexManifest;
|
|
1195
1192
|
|
|
1196
1193
|
type LogicFunctionHandler = (...args: any[]) => any | Promise<any>;
|
|
1197
|
-
type
|
|
1198
|
-
|
|
1194
|
+
type ServerRouteResolverResult = {
|
|
1195
|
+
workspaceId: string;
|
|
1196
|
+
targetLogicFunctionUniversalIdentifier: string;
|
|
1197
|
+
payload?: object;
|
|
1199
1198
|
};
|
|
1199
|
+
type ServerRouteResolverHandler = (...args: any[]) => ServerRouteResolverResult | Promise<ServerRouteResolverResult>;
|
|
1200
|
+
type LogicFunctionConfigBase = Omit<LogicFunctionManifest, 'sourceHandlerPath' | 'builtHandlerPath' | 'builtHandlerChecksum' | 'handlerName' | 'serverRouteTriggerSettings'>;
|
|
1201
|
+
type LogicFunctionConfig = LogicFunctionConfigBase & ({
|
|
1202
|
+
serverRouteTriggerSettings?: undefined;
|
|
1203
|
+
handler: LogicFunctionHandler;
|
|
1204
|
+
} | {
|
|
1205
|
+
serverRouteTriggerSettings: ServerRouteTriggerSettings;
|
|
1206
|
+
handler: ServerRouteResolverHandler;
|
|
1207
|
+
});
|
|
1200
1208
|
|
|
1201
1209
|
type ObjectConfig = Omit<ObjectManifest, 'labelIdentifierFieldMetadataUniversalIdentifier'> & {
|
|
1202
1210
|
labelIdentifierFieldMetadataUniversalIdentifier?: string;
|
|
@@ -2976,6 +2984,9 @@ declare const STANDARD_OBJECTS: {
|
|
|
2976
2984
|
readonly deliveryStatus: {
|
|
2977
2985
|
readonly universalIdentifier: "209254fa-2b89-429d-a72a-c401c4bd5a78";
|
|
2978
2986
|
};
|
|
2987
|
+
readonly isDraft: {
|
|
2988
|
+
readonly universalIdentifier: "20202020-4d3a-4b6e-9c1f-2a5e7b9d0c34";
|
|
2989
|
+
};
|
|
2979
2990
|
readonly createdBy: {
|
|
2980
2991
|
readonly universalIdentifier: "6e52bde4-ed41-4462-aa70-121e496270b4";
|
|
2981
2992
|
};
|
|
@@ -4539,6 +4550,9 @@ declare const STANDARD_OBJECTS: {
|
|
|
4539
4550
|
readonly userEmail: {
|
|
4540
4551
|
readonly universalIdentifier: "20202020-4c5f-4e09-bebc-9e624e21ecf4";
|
|
4541
4552
|
};
|
|
4553
|
+
readonly jobTitle: {
|
|
4554
|
+
readonly universalIdentifier: "20202020-4dd4-4619-826e-08f6c06b374d";
|
|
4555
|
+
};
|
|
4542
4556
|
readonly userId: {
|
|
4543
4557
|
readonly universalIdentifier: "20202020-75a9-4dfc-bf25-2e4b43e89820";
|
|
4544
4558
|
};
|
|
@@ -5304,6 +5318,7 @@ declare const SystemPermissionFlag: {
|
|
|
5304
5318
|
readonly UPLOAD_FILE: "dc6931a9-44bd-5164-a983-3db5db837f54";
|
|
5305
5319
|
readonly DOWNLOAD_FILE: "6edf252f-228e-5e2f-9706-7bab7a796fd3";
|
|
5306
5320
|
readonly SEND_EMAIL_TOOL: "19f382a8-689d-5792-a18c-737f0ce9025f";
|
|
5321
|
+
readonly CREATE_CALENDAR_EVENT_TOOL: "5b8c104e-24d3-4e89-986b-1d9208df6cf4";
|
|
5307
5322
|
readonly HTTP_REQUEST_TOOL: "1bf49cf1-bb8f-5eb9-809a-5f34ea79fc6a";
|
|
5308
5323
|
readonly CODE_INTERPRETER_TOOL: "11f31c3a-7042-54b7-a2dd-ae31dd9e9fa2";
|
|
5309
5324
|
readonly IMPORT_CSV: "c4912536-a4db-5af9-85ac-be2919c24c5e";
|