twenty-sdk 2.6.0 → 2.9.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 +2 -2
- package/dist/catalog-sync-CanLpG9v.js +1 -0
- package/dist/catalog-sync-DyCidT5d.mjs +16 -0
- package/dist/cli/commands/{deploy.d.ts → app/deploy.d.ts} +4 -0
- package/dist/cli/commands/app/index.d.ts +2 -0
- package/dist/cli/commands/{uninstall.d.ts → app/uninstall.d.ts} +1 -1
- package/dist/cli/commands/deprecated.d.ts +2 -0
- package/dist/cli/commands/{dev.d.ts → dev/dev.d.ts} +1 -1
- package/dist/cli/commands/dev/function/index.d.ts +2 -0
- package/dist/cli/commands/dev/index.d.ts +2 -0
- package/dist/cli/utilities/api/api-client.d.ts +3 -0
- package/dist/cli/utilities/api/api-service.d.ts +1 -0
- package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +4 -0
- package/dist/cli/utilities/build/manifest/utils/validate-view-filter-operands.d.ts +6 -0
- package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator-state.d.ts +0 -1
- package/dist/cli.cjs +110 -110
- package/dist/cli.mjs +3045 -2931
- package/dist/define/index.cjs +14 -14
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +68 -553
- package/dist/define/index.mjs +1623 -1977
- 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 +10 -2
- package/dist/front-component/index.mjs +1420 -1312
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/get-function-input-schema-BZ7_XyUh-COeGJwHh.js +1 -0
- package/dist/{get-function-input-schema-BZ7_XyUh-dQlwid60.mjs → get-function-input-schema-BZ7_XyUh-Dql7-b-j.mjs} +1 -1
- package/dist/logic-function/index.d.ts +2 -7
- package/dist/login-oauth-BESuSxoP.js +298 -0
- package/dist/{uninstall-D3ZmcXyd.mjs → login-oauth-DSC3zo9c.mjs} +4181 -4391
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +8 -8
- package/dist/ui/index.cjs +20 -20
- package/dist/ui/index.mjs +6277 -6170
- package/package.json +2 -2
- package/dist/get-function-input-schema-BZ7_XyUh-DmvaQHSU.js +0 -1
- package/dist/uninstall-BwJTMGOV.js +0 -287
- /package/dist/cli/commands/{install.d.ts → app/install.d.ts} +0 -0
- /package/dist/cli/commands/{publish.d.ts → app/publish.d.ts} +0 -0
- /package/dist/cli/commands/{add.d.ts → dev/add.d.ts} +0 -0
- /package/dist/cli/commands/{build.d.ts → dev/build.d.ts} +0 -0
- /package/dist/cli/commands/{catalog-sync.d.ts → dev/catalog-sync.d.ts} +0 -0
- /package/dist/cli/commands/{dev-once.d.ts → dev/dev-once.d.ts} +0 -0
- /package/dist/cli/commands/{exec.d.ts → dev/exec.d.ts} +0 -0
- /package/dist/cli/commands/{logs.d.ts → dev/logs.d.ts} +0 -0
- /package/dist/cli/commands/{typecheck.d.ts → dev/typecheck.d.ts} +0 -0
- /package/dist/cli/commands/{server.d.ts → docker/index.d.ts} +0 -0
- /package/dist/cli/commands/{app-command.d.ts → index.d.ts} +0 -0
- /package/dist/cli/commands/{remote.d.ts → remote/index.d.ts} +0 -0
|
@@ -126,6 +126,8 @@ type CommandMenuContextApi = {
|
|
|
126
126
|
permissionFlags: Record<string, boolean>;
|
|
127
127
|
targetObjectReadPermissions: Record<string, boolean>;
|
|
128
128
|
targetObjectWritePermissions: Record<string, boolean>;
|
|
129
|
+
canImpersonate: boolean;
|
|
130
|
+
canAccessFullAdminPanel: boolean;
|
|
129
131
|
objectMetadataItem: Record<string, unknown>;
|
|
130
132
|
objectMetadataLabel: string;
|
|
131
133
|
};
|
|
@@ -189,6 +191,8 @@ declare const selectedRecords: CommandMenuContextApi["selectedRecords"];
|
|
|
189
191
|
declare const featureFlags: CommandMenuContextApi["featureFlags"];
|
|
190
192
|
declare const targetObjectReadPermissions: CommandMenuContextApi["targetObjectReadPermissions"];
|
|
191
193
|
declare const targetObjectWritePermissions: CommandMenuContextApi["targetObjectWritePermissions"];
|
|
194
|
+
declare const canImpersonate: CommandMenuContextApi["canImpersonate"];
|
|
195
|
+
declare const canAccessFullAdminPanel: CommandMenuContextApi["canAccessFullAdminPanel"];
|
|
192
196
|
declare const objectMetadataItem: CommandMenuContextApi["objectMetadataItem"];
|
|
193
197
|
declare const isDefined: (value: unknown) => boolean;
|
|
194
198
|
declare const isNonEmptyString: (value: unknown) => boolean;
|
|
@@ -227,6 +231,7 @@ type EnqueueSnackbarFunction = (params: EnqueueSnackbarParams) => Promise<void>;
|
|
|
227
231
|
type CloseSidePanelFunction = () => Promise<void>;
|
|
228
232
|
type UpdateProgressFunction = (progress: number) => Promise<void>;
|
|
229
233
|
type RequestAccessTokenRefreshFunction = () => Promise<string>;
|
|
234
|
+
type CopyToClipboardFunction = (text: string) => Promise<void>;
|
|
230
235
|
type OpenCommandConfirmationModalHostFunction = (params: Parameters<OpenCommandConfirmationModalFunction>[0]) => Promise<void>;
|
|
231
236
|
type FrontComponentHostCommunicationApiStore = {
|
|
232
237
|
navigate?: NavigateFunction;
|
|
@@ -237,6 +242,7 @@ type FrontComponentHostCommunicationApiStore = {
|
|
|
237
242
|
enqueueSnackbar?: EnqueueSnackbarFunction;
|
|
238
243
|
closeSidePanel?: CloseSidePanelFunction;
|
|
239
244
|
updateProgress?: UpdateProgressFunction;
|
|
245
|
+
copyToClipboard?: CopyToClipboardFunction;
|
|
240
246
|
};
|
|
241
247
|
declare global {
|
|
242
248
|
var frontComponentHostCommunicationApi: FrontComponentHostCommunicationApiStore;
|
|
@@ -244,6 +250,8 @@ declare global {
|
|
|
244
250
|
|
|
245
251
|
declare const closeSidePanel: CloseSidePanelFunction;
|
|
246
252
|
|
|
253
|
+
declare const copyToClipboard: CopyToClipboardFunction;
|
|
254
|
+
|
|
247
255
|
declare const getApplicationVariable: (key: string) => string | undefined;
|
|
248
256
|
|
|
249
257
|
declare const enqueueSnackbar: EnqueueSnackbarFunction;
|
|
@@ -316,5 +324,5 @@ type CommandModalProps = {
|
|
|
316
324
|
};
|
|
317
325
|
declare const CommandModal: ({ title, subtitle, execute, confirmButtonText, confirmButtonAccent, }: CommandModalProps) => null;
|
|
318
326
|
|
|
319
|
-
export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, closeSidePanel, enqueueSnackbar, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getApplicationVariable, 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 };
|
|
320
|
-
export type { CloseSidePanelFunction, CommandConfirmationModalAccent, CommandConfirmationModalResult, CommandLinkProps, CommandModalProps, CommandOpenSidePanelPageProps, CommandProps, EnqueueSnackbarFunction, EnqueueSnackbarParams, FrontComponentExecutionContext, NavigateFunction, OpenCommandConfirmationModalFunction, OpenCommandConfirmationModalHostFunction, OpenSidePanelPageFunction, RequestAccessTokenRefreshFunction, SnackBarVariant, UnmountFrontComponentFunction, UpdateProgressFunction };
|
|
327
|
+
export { AppPath, Command, CommandLink, CommandModal, CommandOpenSidePanelPage, SidePanelPages, canAccessFullAdminPanel, canImpersonate, closeSidePanel, copyToClipboard, enqueueSnackbar, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getApplicationVariable, 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 };
|
|
328
|
+
export type { CloseSidePanelFunction, CommandConfirmationModalAccent, CommandConfirmationModalResult, CommandLinkProps, CommandModalProps, CommandOpenSidePanelPageProps, CommandProps, CopyToClipboardFunction, EnqueueSnackbarFunction, EnqueueSnackbarParams, FrontComponentExecutionContext, NavigateFunction, OpenCommandConfirmationModalFunction, OpenCommandConfirmationModalHostFunction, OpenSidePanelPageFunction, RequestAccessTokenRefreshFunction, SnackBarVariant, UnmountFrontComponentFunction, UpdateProgressFunction };
|