twenty-sdk 2.33.0 → 2.35.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/CHANGELOG.md +17 -0
- package/dist/billing/index.cjs.map +1 -1
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{catalog-sync-DUp5hpKi.mjs → catalog-sync-C0Td21sN.mjs} +1 -1
- package/dist/{catalog-sync-DoEI8JO8.js → catalog-sync-Cn-gDxAz.js} +1 -1
- package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +4 -2
- package/dist/cli/utilities/build/manifest/utils/manifest-validation-helpers.d.ts +10 -0
- package/dist/cli/utilities/build/manifest/utils/validate-timeline-activity-types.d.ts +2 -0
- package/dist/cli/utilities/entity/entity-timeline-activity-type-template.d.ts +3 -0
- package/dist/cli.cjs +27 -20
- package/dist/cli.mjs +302 -285
- package/dist/define/index.cjs +2 -2
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +31 -2
- package/dist/define/index.mjs +152 -129
- 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 +6 -1
- package/dist/front-component/index.mjs +7 -7
- 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/{get-front-component-build-plugins-Cn-MWltl.mjs → get-front-component-build-plugins-BZ1HBS5Y.mjs} +2 -2
- package/dist/{get-front-component-build-plugins-DsfkhD6M.js → get-front-component-build-plugins-CcV3Cown.js} +1 -1
- package/dist/{get-function-input-schema-GNk3NRLJ-CwF3VRY5.mjs → get-function-input-schema-GNk3NRLJ-BimwLfRN.mjs} +1 -1
- package/dist/{get-function-input-schema-GNk3NRLJ-B8zXGirB.js → get-function-input-schema-GNk3NRLJ-Byssjp8I.js} +1 -1
- package/dist/logic-function/index.cjs +9 -9
- package/dist/logic-function/index.cjs.map +1 -1
- package/dist/logic-function/index.d.ts +52 -2
- package/dist/logic-function/index.mjs +622 -582
- package/dist/logic-function/index.mjs.map +1 -1
- package/dist/{login-Cl5xmujh.js → login-Cl-mw1L0.js} +44 -44
- package/dist/{login-153niBFr.mjs → login-CuJiHYwZ.mjs} +954 -890
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -127,6 +127,8 @@ declare enum SidePanelPages {
|
|
|
127
127
|
CommandMenuEdit = "command-menu-edit",
|
|
128
128
|
PageLayoutRecordPageWidgetTypeSelect = "page-layout-record-page-widget-type-select",
|
|
129
129
|
ComposeEmail = "compose-email",
|
|
130
|
+
ComposeCalendarEvent = "compose-calendar-event",
|
|
131
|
+
CreateRelatedRecord = "create-related-record",
|
|
130
132
|
SendCampaignTest = "send-campaign-test",
|
|
131
133
|
EmailBlockSettings = "email-block-settings",
|
|
132
134
|
SettingsMetadataTranslations = "settings-metadata-translations"
|
|
@@ -279,6 +281,7 @@ type FrontComponentExecutionContext = {
|
|
|
279
281
|
recordId: string | null;
|
|
280
282
|
/** All selected record IDs */
|
|
281
283
|
selectedRecordIds: string[];
|
|
284
|
+
timelineActivityId: string | null;
|
|
282
285
|
/** Resolved color scheme of the host UI ('System' is already resolved) */
|
|
283
286
|
colorScheme: 'light' | 'dark';
|
|
284
287
|
locale?: AppLocale;
|
|
@@ -304,6 +307,8 @@ declare const useRecordId: () => string | null;
|
|
|
304
307
|
|
|
305
308
|
declare const useSelectedRecordIds: () => string[];
|
|
306
309
|
|
|
310
|
+
declare const useTimelineActivityId: () => string | null;
|
|
311
|
+
|
|
307
312
|
declare const useUserId: () => string | null;
|
|
308
313
|
|
|
309
314
|
declare const msg: (descriptor: string | MessageDescriptor) => MessageDescriptor;
|
|
@@ -337,5 +342,5 @@ type CommandModalProps = {
|
|
|
337
342
|
};
|
|
338
343
|
declare const CommandModal: ({ title, subtitle, execute, confirmButtonText, confirmButtonAccent, }: CommandModalProps) => null;
|
|
339
344
|
|
|
340
|
-
export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, Trans, closeSidePanel, copyToClipboard, enqueueSnackbar, getApplicationVariable, getFrontComponentCommandErrorDedupeKey, msg, navigate, openCommandConfirmationModal, openSidePanelPage, t, unmountFrontComponent, updateProgress, uploadFile, useColorScheme, useFrontComponentExecutionContext, useFrontComponentId, useLocale, useRecordId, useSelectedRecordIds, useTranslate, useUserId };
|
|
345
|
+
export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, Trans, closeSidePanel, copyToClipboard, enqueueSnackbar, getApplicationVariable, getFrontComponentCommandErrorDedupeKey, msg, navigate, openCommandConfirmationModal, openSidePanelPage, t, unmountFrontComponent, updateProgress, uploadFile, useColorScheme, useFrontComponentExecutionContext, useFrontComponentId, useLocale, useRecordId, useSelectedRecordIds, useTimelineActivityId, useTranslate, useUserId };
|
|
341
346
|
export type { CloseSidePanelFunction, CommandConfirmationModalAccent, CommandConfirmationModalResult, CommandLinkProps, CommandModalProps, CommandOpenSidePanelPageProps, CommandProps, CopyToClipboardFunction, EnqueueSnackbarFunction, EnqueueSnackbarParams, FrontComponentExecutionContext, FrontComponentStorageType, MessageDescriptor, NavigateFunction, OpenCommandConfirmationModalFunction, OpenCommandConfirmationModalHostFunction, OpenSidePanelPageFunction, OpenSidePanelPageParams, RequestAccessTokenRefreshFunction, SnackBarVariant, StorageClearFunction, StorageDeleteFunction, StorageSetFunction, TransProps, TranslationValues, UnmountFrontComponentFunction, UpdateProgressFunction, UploadFileFailureReason, UploadFileFunction, UploadFileParams, UploadFileResult, UploadedFrontComponentFile, UseTranslateResult };
|
|
@@ -3765,9 +3765,9 @@ Ka({
|
|
|
3765
3765
|
[X.RICH_TEXT, zo]
|
|
3766
3766
|
]), X.RELATION, X.MORPH_RELATION, X.FILES, X.TS_VECTOR;
|
|
3767
3767
|
//#endregion
|
|
3768
|
-
//#region ../twenty-shared/dist/types-
|
|
3768
|
+
//#region ../twenty-shared/dist/types-DczxyoWI.mjs
|
|
3769
3769
|
var Bo = /* @__PURE__ */ function(e) {
|
|
3770
|
-
return e.CommandMenuDisplay = "command-menu-display", e.ViewRecord = "view-record", e.ViewRecords = "view-records", e.MergeRecords = "merge-records", e.UpdateRecords = "update-records", e.EditRichText = "edit-rich-text", e.Copilot = "copilot", e.WorkflowTriggerSelectType = "workflow-trigger-select-type", e.WorkflowStepCreate = "workflow-step-create", e.WorkflowStepEditType = "workflow-step-edit-type", e.WorkflowStepView = "workflow-step-view", e.WorkflowStepEdit = "workflow-step-edit", e.WorkflowRunStepView = "workflow-run-step-view", e.SearchRecords = "search-records", e.AskAI = "ask-ai", e.PageLayoutDashboardWidgetTypeSelect = "page-layout-dashboard-widget-type-select", e.PageLayoutTabSettings = "page-layout-tab-settings", e.DashboardChartSettings = "dashboard-chart-settings", e.DashboardIframeSettings = "dashboard-iframe-settings", e.DashboardRecordTableSettings = "dashboard-record-table-settings", e.RecordPageFieldsSettings = "record-page-fields-settings", e.RecordPageFieldSettings = "record-page-field-settings", e.ViewFrontComponent = "view-front-component", e.NavigationMenuItemEdit = "navigation-menu-item-edit", e.NavigationMenuAddItem = "navigation-menu-add-item", e.CommandMenuEdit = "command-menu-edit", e.PageLayoutRecordPageWidgetTypeSelect = "page-layout-record-page-widget-type-select", e.ComposeEmail = "compose-email", e.SendCampaignTest = "send-campaign-test", e.EmailBlockSettings = "email-block-settings", e.SettingsMetadataTranslations = "settings-metadata-translations", e;
|
|
3770
|
+
return e.CommandMenuDisplay = "command-menu-display", e.ViewRecord = "view-record", e.ViewRecords = "view-records", e.MergeRecords = "merge-records", e.UpdateRecords = "update-records", e.EditRichText = "edit-rich-text", e.Copilot = "copilot", e.WorkflowTriggerSelectType = "workflow-trigger-select-type", e.WorkflowStepCreate = "workflow-step-create", e.WorkflowStepEditType = "workflow-step-edit-type", e.WorkflowStepView = "workflow-step-view", e.WorkflowStepEdit = "workflow-step-edit", e.WorkflowRunStepView = "workflow-run-step-view", e.SearchRecords = "search-records", e.AskAI = "ask-ai", e.PageLayoutDashboardWidgetTypeSelect = "page-layout-dashboard-widget-type-select", e.PageLayoutTabSettings = "page-layout-tab-settings", e.DashboardChartSettings = "dashboard-chart-settings", e.DashboardIframeSettings = "dashboard-iframe-settings", e.DashboardRecordTableSettings = "dashboard-record-table-settings", e.RecordPageFieldsSettings = "record-page-fields-settings", e.RecordPageFieldSettings = "record-page-field-settings", e.ViewFrontComponent = "view-front-component", e.NavigationMenuItemEdit = "navigation-menu-item-edit", e.NavigationMenuAddItem = "navigation-menu-add-item", e.CommandMenuEdit = "command-menu-edit", e.PageLayoutRecordPageWidgetTypeSelect = "page-layout-record-page-widget-type-select", e.ComposeEmail = "compose-email", e.ComposeCalendarEvent = "compose-calendar-event", e.CreateRelatedRecord = "create-related-record", e.SendCampaignTest = "send-campaign-test", e.EmailBlockSettings = "email-block-settings", e.SettingsMetadataTranslations = "settings-metadata-translations", e;
|
|
3771
3771
|
}({}), Vo = "frontComponentHostCommunicationApi";
|
|
3772
3772
|
//#endregion
|
|
3773
3773
|
//#region src/sdk/front-component/globals/frontComponentHostCommunicationApi.ts
|
|
@@ -3817,7 +3817,7 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
|
|
|
3817
3817
|
locale: t,
|
|
3818
3818
|
t: e((e, n) => ht(e, n, t), [t])
|
|
3819
3819
|
};
|
|
3820
|
-
}, ts = (e) => e.selectedRecordIds.length === 1 ? e.selectedRecordIds[0] : null, ns = () => p(ts), rs = (e) => e.selectedRecordIds, is = () => p(rs), as = (e) => e.
|
|
3820
|
+
}, ts = (e) => e.selectedRecordIds.length === 1 ? e.selectedRecordIds[0] : null, ns = () => p(ts), rs = (e) => e.selectedRecordIds, is = () => p(rs), as = () => p((e) => e.timelineActivityId), os = (e) => e.userId, ss = () => p(os), cs = (e) => g(e), ls = () => u()?.locale ?? "en", us = (e, t) => ht(e, t, ls()), ds = (e) => `${e}-command-error`, fs = ({ execute: e }) => {
|
|
3821
3821
|
let [n, i] = r(!1);
|
|
3822
3822
|
return t(() => {
|
|
3823
3823
|
n || (i(!0), (async () => {
|
|
@@ -3828,7 +3828,7 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
|
|
|
3828
3828
|
n,
|
|
3829
3829
|
$()
|
|
3830
3830
|
]), null;
|
|
3831
|
-
},
|
|
3831
|
+
}, ps = ({ to: e, params: n, queryParams: i, options: a }) => {
|
|
3832
3832
|
let [o, s] = r(!1);
|
|
3833
3833
|
return t(() => {
|
|
3834
3834
|
o || (s(!0), (async () => {
|
|
@@ -3842,7 +3842,7 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
|
|
|
3842
3842
|
o,
|
|
3843
3843
|
$()
|
|
3844
3844
|
]), null;
|
|
3845
|
-
},
|
|
3845
|
+
}, ms = (e) => {
|
|
3846
3846
|
let [n, i] = r(!1);
|
|
3847
3847
|
return t(() => {
|
|
3848
3848
|
n || (i(!0), (async () => {
|
|
@@ -3853,7 +3853,7 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
|
|
|
3853
3853
|
n,
|
|
3854
3854
|
$()
|
|
3855
3855
|
]), null;
|
|
3856
|
-
},
|
|
3856
|
+
}, hs = ({ title: e, subtitle: n, execute: i, confirmButtonText: a, confirmButtonAccent: o }) => {
|
|
3857
3857
|
let [s, c] = r(!1);
|
|
3858
3858
|
return t(() => {
|
|
3859
3859
|
s || (c(!0), (async () => {
|
|
@@ -3875,6 +3875,6 @@ var Z = globalThis.frontComponentHostCommunicationApi, Ho = () => {
|
|
|
3875
3875
|
]), null;
|
|
3876
3876
|
};
|
|
3877
3877
|
//#endregion
|
|
3878
|
-
export { Ao as AppPath,
|
|
3878
|
+
export { Ao as AppPath, fs as Command, ps as CommandLink, hs as CommandModal, ms as CommandOpenSidePanelPage, Bo as SidePanelPages, _t as Trans, Ho as closeSidePanel, Uo as copyToClipboard, Go as enqueueSnackbar, Wo as getApplicationVariable, ds as getFrontComponentCommandErrorDedupeKey, cs as msg, Ko as navigate, qo as openCommandConfirmationModal, Jo as openSidePanelPage, us as t, Q as unmountFrontComponent, Yo as updateProgress, Xo as uploadFile, Qo as useColorScheme, p as useFrontComponentExecutionContext, $ as useFrontComponentId, h as useLocale, ns as useRecordId, is as useSelectedRecordIds, as as useTimelineActivityId, es as useTranslate, ss as useUserId };
|
|
3879
3879
|
|
|
3880
3880
|
//# sourceMappingURL=index.mjs.map
|