twenty-sdk 2.1.0 → 2.2.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/cli/operations/index.d.ts +3 -0
- package/dist/cli/operations/server-upgrade.d.ts +12 -0
- package/dist/cli/types.d.ts +1 -0
- package/dist/cli/utilities/server/docker-container.d.ts +4 -0
- package/dist/cli.cjs +68 -68
- package/dist/cli.mjs +827 -808
- package/dist/define/index.cjs +16 -16
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +2 -16
- package/dist/define/index.mjs +3367 -6628
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +15 -15
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.mjs +3282 -6544
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/{get-function-input-schema-BZ7_XyUh-D38OurwZ.js → get-function-input-schema-BZ7_XyUh-DI4AlRRA.js} +1 -1
- package/dist/{get-function-input-schema-BZ7_XyUh-CKgoFzji.mjs → get-function-input-schema-BZ7_XyUh-YHOkHl_i.mjs} +1 -1
- package/dist/logic-function/index.d.ts +1 -14
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +24 -18
- package/dist/ui/index.cjs +492 -472
- package/dist/ui/index.mjs +11389 -14607
- package/dist/{uninstall-CYiYoBPe.js → uninstall-D3my_KZK.js} +60 -60
- package/dist/{uninstall-Bw-TK4rL.mjs → uninstall-DXr3k3Da.mjs} +4805 -7964
- package/package.json +6 -2
package/dist/define/index.d.ts
CHANGED
|
@@ -41,7 +41,6 @@ type ApplicationManifest = SyncableEntityOptions$1 & {
|
|
|
41
41
|
defaultRoleUniversalIdentifier: string;
|
|
42
42
|
displayName: string;
|
|
43
43
|
description: string;
|
|
44
|
-
icon?: string;
|
|
45
44
|
applicationVariables?: ApplicationVariables;
|
|
46
45
|
serverVariables?: ServerVariables;
|
|
47
46
|
author?: string;
|
|
@@ -394,29 +393,16 @@ declare enum HTTPMethod {
|
|
|
394
393
|
DELETE = "DELETE"
|
|
395
394
|
}
|
|
396
395
|
|
|
397
|
-
/**
|
|
398
|
-
* AWS HTTP API v2 compatible request format for logic functions
|
|
399
|
-
* @see https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
|
|
400
|
-
*
|
|
401
|
-
* @typeParam TBody - The type of the request body. Defaults to `object` for parsed JSON bodies.
|
|
402
|
-
*/
|
|
403
396
|
type LogicFunctionEvent<TBody = object> = {
|
|
404
|
-
/** HTTP headers (filtered by forwardedRequestHeaders in route trigger) */
|
|
405
397
|
headers: Record<string, string | undefined>;
|
|
406
|
-
/** Query string parameters (multiple values are joined with commas, e.g., "1,2,3") */
|
|
407
398
|
queryStringParameters: Record<string, string | undefined>;
|
|
408
|
-
/** Path parameters extracted from the route pattern (e.g., /users/:id → { id: '123' }). Multiple values are joined with commas. */
|
|
409
399
|
pathParameters: Record<string, string | undefined>;
|
|
410
|
-
/** Request body */
|
|
411
400
|
body: TBody | null;
|
|
412
|
-
|
|
401
|
+
rawBody?: string;
|
|
413
402
|
isBase64Encoded: boolean;
|
|
414
|
-
/** Request context containing HTTP method, path, and other metadata */
|
|
415
403
|
requestContext: {
|
|
416
404
|
http: {
|
|
417
|
-
/** HTTP method (GET, POST, PUT, PATCH, DELETE) */
|
|
418
405
|
method: string;
|
|
419
|
-
/** Raw request path (e.g., /users/123) */
|
|
420
406
|
path: string;
|
|
421
407
|
};
|
|
422
408
|
};
|
|
@@ -4575,5 +4561,5 @@ declare const defineView: DefineEntity<ViewConfig>;
|
|
|
4575
4561
|
|
|
4576
4562
|
declare const getPublicAssetUrl: (path: string) => string;
|
|
4577
4563
|
|
|
4578
|
-
export { AggregateOperations, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, NavigationMenuItemType, NumberDataType, ObjectRecordBaseEvent, ObjectRecordCreateEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordGroupByDateGranularity, ObjectRecordRestoreEvent, ObjectRecordUpdateEvent, ObjectRecordUpsertEvent, RelationOnDeleteAction as OnDeleteAction, PageLayoutTabLayoutMode, PermissionFlagType as PermissionFlag, RelationType, STANDARD_OBJECTS as STANDARD_OBJECT, STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewKey, ViewOpenRecordIn, ViewSortDirection, ViewType, ViewVisibility, createValidationResult, defineAgent, defineApplication, defineField, defineFrontComponent, defineLogicFunction, defineNavigationMenuItem, defineObject, definePageLayout, definePageLayoutTab, definePostInstallLogicFunction, definePreInstallLogicFunction, defineRole, defineSkill, defineView, generateDefaultFieldUniversalIdentifier, getPublicAssetUrl, validateFields };
|
|
4564
|
+
export { AggregateOperations, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, NavigationMenuItemType, NumberDataType, ObjectRecordBaseEvent, ObjectRecordCreateEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordGroupByDateGranularity, ObjectRecordRestoreEvent, ObjectRecordUpdateEvent, ObjectRecordUpsertEvent, RelationOnDeleteAction as OnDeleteAction, PageLayoutTabLayoutMode, PermissionFlagType as PermissionFlag, RelationType, STANDARD_OBJECTS as STANDARD_OBJECT, STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS, ViewCalendarLayout, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewKey, ViewOpenRecordIn, ViewSortDirection, ViewType, ViewVisibility, createValidationResult, defineAgent, defineApplication, defineField, defineFrontComponent, defineLogicFunction, defineNavigationMenuItem, defineObject, definePageLayout, definePageLayoutTab, definePostInstallLogicFunction, definePreInstallLogicFunction, defineRole, defineSkill, defineView, generateDefaultFieldUniversalIdentifier, getPublicAssetUrl, validateFields };
|
|
4579
4565
|
export type { ActorMetadata as ActorField, AddressMetadata as AddressField, ApplicationConfig, CronPayload, CurrencyMetadata as CurrencyField, DatabaseEventPayload, DefinableEntity, DefineEntity, EmailsMetadata as EmailsField, FrontComponentCommandConfig, FrontComponentConfig, FrontComponentType, FullNameMetadata as FullNameField, GridPosition, InputJsonSchema, InstallHandler, InstallPayload, LinksMetadata as LinksField, LogicFunctionConfig, LogicFunctionHandler, ObjectRecordEvent, PageLayoutConfig, PageLayoutManifest, PageLayoutTabConfig, PageLayoutTabManifest, PageLayoutWidgetConditionalDisplay, PageLayoutWidgetManifest, PageLayoutWidgetUniversalConfiguration, PhonesMetadata as PhonesField, RichTextMetadata as RichTextField, LogicFunctionEvent as RoutePayload, SyncableEntityOptions, ValidationResult, ViewConfig, ViewFieldGroupManifest, ViewFieldManifest, ViewFilterGroupManifest, ViewFilterManifest, ViewGroupManifest, ViewManifestFilterValue, ViewSortManifest };
|