twenty-sdk 2.15.0 → 2.16.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/{AllIcons-DEGfvqso-PUvdkUZm.mjs → AllIcons-CdbaxNyc-CJcUHQBl.mjs} +317 -317
- package/dist/AllIcons-CdbaxNyc-DR-8e_UM.js +1 -0
- 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-DcpUieU5.mjs → catalog-sync-BYM3GqZl.mjs} +1 -1
- package/dist/{catalog-sync-C5Bb1KSh.js → catalog-sync-w6yKppKP.js} +1 -1
- package/dist/cli/utilities/build/common/build-application.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.cjs +31 -31
- package/dist/cli.mjs +831 -831
- package/dist/define/index.cjs +19 -19
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +16 -10
- package/dist/define/index.mjs +2280 -980
- 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 +1 -0
- package/dist/front-component/index.mjs +2 -2
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer.cjs +1 -1
- package/dist/get-function-input-schema-GNk3NRLJ-D8x7FINz.js +1 -0
- package/dist/{get-function-input-schema-GNk3NRLJ-oMYSgib9.mjs → get-function-input-schema-GNk3NRLJ-zQkANyT3.mjs} +1 -1
- package/dist/{icon-BSeT8K5G-WVhoiRKN.mjs → icon-DMT-YeKi-C9-AduNa.mjs} +660 -636
- package/dist/icon-DMT-YeKi-Cz0W5sJA.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-LjERatsq.js → login-D7nyXinY.js} +52 -52
- package/dist/{login-Cm5IBGFm.mjs → login-rU5te3B6.mjs} +6507 -5117
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/dist/ui/index.cjs +8 -16
- package/dist/ui/index.mjs +5533 -10649
- 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 -3
- package/dist/AllIcons-DEGfvqso-DwtvkCyL.js +0 -1
- package/dist/get-function-input-schema-GNk3NRLJ-DMgchWCN.js +0 -1
- package/dist/icon-BSeT8K5G-Cuhg-Bz6.js +0 -1
package/dist/define/index.d.ts
CHANGED
|
@@ -908,12 +908,7 @@ type IndexManifest = SyncableEntityOptions$1 & {
|
|
|
908
908
|
fields: IndexFieldManifest[];
|
|
909
909
|
};
|
|
910
910
|
|
|
911
|
-
type
|
|
912
|
-
type ServerWebhookTriggerSettings = {
|
|
913
|
-
workspaceIdResolver: {
|
|
914
|
-
source: WebhookWorkspaceIdSource;
|
|
915
|
-
path: string;
|
|
916
|
-
};
|
|
911
|
+
type ServerRouteTriggerSettings = {
|
|
917
912
|
forwardedRequestHeaders?: string[];
|
|
918
913
|
};
|
|
919
914
|
|
|
@@ -969,7 +964,7 @@ type LogicFunctionManifest = SyncableEntityOptions$1 & {
|
|
|
969
964
|
cronTriggerSettings?: CronTriggerSettings;
|
|
970
965
|
databaseEventTriggerSettings?: DatabaseEventTriggerSettings;
|
|
971
966
|
httpRouteTriggerSettings?: HttpRouteTriggerSettings;
|
|
972
|
-
|
|
967
|
+
serverRouteTriggerSettings?: ServerRouteTriggerSettings;
|
|
973
968
|
toolTriggerSettings?: ToolTriggerSettings;
|
|
974
969
|
workflowActionTriggerSettings?: WorkflowActionTriggerSettings;
|
|
975
970
|
sourceHandlerPath: string;
|
|
@@ -1175,7 +1170,7 @@ type ViewManifest = SyncableEntityOptions$1 & {
|
|
|
1175
1170
|
sorts?: ViewSortManifest[];
|
|
1176
1171
|
};
|
|
1177
1172
|
|
|
1178
|
-
type ApplicationConfig = Omit<ApplicationManifest, 'packageJsonChecksum' | 'yarnLockChecksum' | 'postInstallLogicFunction' | 'preInstallLogicFunction' | 'defaultRoleUniversalIdentifier'> & {
|
|
1173
|
+
type ApplicationConfig = Omit<ApplicationManifest, 'packageJsonChecksum' | 'yarnLockChecksum' | 'postInstallLogicFunction' | 'preInstallLogicFunction' | 'defaultRoleUniversalIdentifier' | 'aboutDescription'> & {
|
|
1179
1174
|
/**
|
|
1180
1175
|
* @deprecated Use `defineApplicationRole()` in your role file instead.
|
|
1181
1176
|
*/
|
|
@@ -1194,9 +1189,20 @@ type FrontComponentConfig = Omit<FrontComponentManifest, 'sourceComponentPath' |
|
|
|
1194
1189
|
type IndexConfig = IndexManifest;
|
|
1195
1190
|
|
|
1196
1191
|
type LogicFunctionHandler = (...args: any[]) => any | Promise<any>;
|
|
1197
|
-
type
|
|
1198
|
-
|
|
1192
|
+
type ServerRouteResolverResult = {
|
|
1193
|
+
workspaceId: string;
|
|
1194
|
+
targetLogicFunctionUniversalIdentifier: string;
|
|
1195
|
+
payload?: object;
|
|
1199
1196
|
};
|
|
1197
|
+
type ServerRouteResolverHandler = (...args: any[]) => ServerRouteResolverResult | Promise<ServerRouteResolverResult>;
|
|
1198
|
+
type LogicFunctionConfigBase = Omit<LogicFunctionManifest, 'sourceHandlerPath' | 'builtHandlerPath' | 'builtHandlerChecksum' | 'handlerName' | 'serverRouteTriggerSettings'>;
|
|
1199
|
+
type LogicFunctionConfig = LogicFunctionConfigBase & ({
|
|
1200
|
+
serverRouteTriggerSettings?: undefined;
|
|
1201
|
+
handler: LogicFunctionHandler;
|
|
1202
|
+
} | {
|
|
1203
|
+
serverRouteTriggerSettings: ServerRouteTriggerSettings;
|
|
1204
|
+
handler: ServerRouteResolverHandler;
|
|
1205
|
+
});
|
|
1200
1206
|
|
|
1201
1207
|
type ObjectConfig = Omit<ObjectManifest, 'labelIdentifierFieldMetadataUniversalIdentifier'> & {
|
|
1202
1208
|
labelIdentifierFieldMetadataUniversalIdentifier?: string;
|