twenty-sdk 2.2.0 → 2.3.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/README.md +3 -3
- package/dist/billing/index.cjs.map +1 -1
- package/dist/billing/index.mjs +9 -9
- package/dist/billing/index.mjs.map +1 -1
- package/dist/cli/commands/add.d.ts +1 -0
- package/dist/cli/operations/deploy.d.ts +2 -0
- package/dist/cli/types.d.ts +1 -0
- package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +6 -2
- package/dist/cli/utilities/entity/entity-command-menu-item-template.d.ts +3 -0
- package/dist/cli/utilities/entity/entity-connection-provider-template.d.ts +4 -0
- package/dist/cli/utilities/file/append-server-variables.util.d.ts +22 -0
- package/dist/cli/utilities/server/docker-container.d.ts +1 -0
- package/dist/cli.cjs +125 -83
- package/dist/cli.mjs +3150 -2979
- package/dist/define/index.cjs +12 -12
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +72 -20
- package/dist/define/index.mjs +889 -888
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +13 -13
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +12 -1
- package/dist/front-component/index.mjs +866 -896
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/{get-function-input-schema-BZ7_XyUh-DI4AlRRA.js → get-function-input-schema-BZ7_XyUh-BXB2AcBE.js} +1 -1
- package/dist/{get-function-input-schema-BZ7_XyUh-YHOkHl_i.mjs → get-function-input-schema-BZ7_XyUh-PnCntsct.mjs} +1 -1
- package/dist/logic-function/index.cjs +1 -1
- package/dist/logic-function/index.cjs.map +1 -1
- package/dist/logic-function/index.d.ts +90 -6
- package/dist/logic-function/index.mjs +52 -1
- package/dist/logic-function/index.mjs.map +1 -1
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +2 -2
- package/dist/ui/index.cjs +15 -2233
- package/dist/ui/index.mjs +246 -3350
- package/dist/uninstall-BiLmSWhb.js +253 -0
- package/dist/{uninstall-DXr3k3Da.mjs → uninstall-DAf2XiS3.mjs} +1825 -1715
- package/package.json +2 -2
- package/dist/uninstall-D3my_KZK.js +0 -250
|
@@ -259,15 +259,26 @@ declare const updateProgress: UpdateProgressFunction;
|
|
|
259
259
|
type FrontComponentExecutionContext = {
|
|
260
260
|
frontComponentId: string;
|
|
261
261
|
userId: string | null;
|
|
262
|
+
/**
|
|
263
|
+
* @deprecated Use `selectedRecordIds` instead. Derive single record as `selectedRecordIds.length === 1 ? selectedRecordIds[0] : null`.
|
|
264
|
+
*/
|
|
262
265
|
recordId: string | null;
|
|
266
|
+
/** All selected record IDs */
|
|
267
|
+
selectedRecordIds: string[];
|
|
263
268
|
};
|
|
264
269
|
|
|
265
270
|
declare const useFrontComponentExecutionContext: <T>(selector: (context: FrontComponentExecutionContext) => T) => T;
|
|
266
271
|
|
|
267
272
|
declare const useFrontComponentId: () => string;
|
|
268
273
|
|
|
274
|
+
/**
|
|
275
|
+
* @deprecated Use `useSelectedRecordIds()` instead. For single-record operations,
|
|
276
|
+
* use `selectedRecordIds.length === 1 ? selectedRecordIds[0] : null`.
|
|
277
|
+
*/
|
|
269
278
|
declare const useRecordId: () => string | null;
|
|
270
279
|
|
|
280
|
+
declare const useSelectedRecordIds: () => string[];
|
|
281
|
+
|
|
271
282
|
declare const useUserId: () => string | null;
|
|
272
283
|
|
|
273
284
|
declare const getFrontComponentCommandErrorDedupeKey: (frontComponentId: string) => string;
|
|
@@ -303,5 +314,5 @@ type CommandModalProps = {
|
|
|
303
314
|
};
|
|
304
315
|
declare const CommandModal: ({ title, subtitle, execute, confirmButtonText, confirmButtonAccent, }: CommandModalProps) => null;
|
|
305
316
|
|
|
306
|
-
export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, closeSidePanel, enqueueSnackbar, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getFrontComponentCommandErrorDedupeKey, hasAnySoftDeleteFilterOnView, includes, includesEvery, isDashboardPageLayoutInEditMode, isDefined, isInSidePanel, isLayoutCustomizationModeEnabled, isNonEmptyString, isSelectAll, navigate, none, noneDefined, noneEquals, numberOfSelectedRecords, objectMetadataItem, objectPermissions, openCommandConfirmationModal, openSidePanelPage, pageType, selectedRecords, some, someDefined, someEquals, someNonEmptyString, targetObjectReadPermissions, targetObjectWritePermissions, unmountFrontComponent, updateProgress, useFrontComponentExecutionContext, useFrontComponentId, useRecordId, useUserId };
|
|
317
|
+
export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, closeSidePanel, enqueueSnackbar, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getFrontComponentCommandErrorDedupeKey, hasAnySoftDeleteFilterOnView, includes, includesEvery, isDashboardPageLayoutInEditMode, isDefined, isInSidePanel, isLayoutCustomizationModeEnabled, isNonEmptyString, isSelectAll, navigate, none, noneDefined, noneEquals, numberOfSelectedRecords, objectMetadataItem, objectPermissions, openCommandConfirmationModal, openSidePanelPage, pageType, selectedRecords, some, someDefined, someEquals, someNonEmptyString, targetObjectReadPermissions, targetObjectWritePermissions, unmountFrontComponent, updateProgress, useFrontComponentExecutionContext, useFrontComponentId, useRecordId, useSelectedRecordIds, useUserId };
|
|
307
318
|
export type { CloseSidePanelFunction, CommandConfirmationModalAccent, CommandConfirmationModalResult, CommandLinkProps, CommandModalProps, CommandOpenSidePanelPageProps, CommandProps, EnqueueSnackbarFunction, EnqueueSnackbarParams, FrontComponentExecutionContext, NavigateFunction, OpenCommandConfirmationModalFunction, OpenCommandConfirmationModalHostFunction, OpenSidePanelPageFunction, RequestAccessTokenRefreshFunction, SnackBarVariant, UnmountFrontComponentFunction, UpdateProgressFunction };
|