Files
twenty/packages/twenty-sdk/src/sdk/index.ts
T
martmull f46da3eefd Update manifest structure (#17547)
Move all sync entities in an `entities` key. Rename functions to
logicFunctions

```json
{
  application: {
    ...
  },
  entities: {
    objects: [],
    logicFunctions: [],
    ...
  }
}
```
2026-01-30 16:26:45 +01:00

60 lines
2.2 KiB
TypeScript

/*
* _____ _
*|_ _|_ _____ _ __ | |_ _ _
* | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
* | | \ V V / __/ | | | |_| |_| | Any edits to this will be overridden
* |_| \_/\_/ \___|_| |_|\__|\__, |
* |___/
*/
export { defineApplication } from './application/define-application';
export type {
ValidationResult,
DefinableEntity,
DefineEntity,
} from './common/types/define-entity.type';
export type { SyncableEntityOptions } from './common/types/syncable-entity-options.type';
export { createValidationResult } from './common/utils/create-validation-result';
export type {
ActorField,
AddressField,
CurrencyField,
EmailsField,
FullNameField,
LinksField,
PhonesField,
RichTextField,
} from './fields/composite-fields';
export { defineField } from './fields/define-field';
export { FieldType } from './fields/field-type';
export { OnDeleteAction } from './fields/on-delete-action';
export { RelationType } from './fields/relation-type';
export { validateFields } from './fields/validate-fields';
export { defineFrontComponent } from './front-components/define-front-component';
export type {
FrontComponentType,
FrontComponentConfig,
} from './front-components/front-component-config';
export { defineLogicFunction } from './logic-functions/define-logic-function';
export type {
LogicFunctionHandler,
LogicFunctionConfig,
} from './logic-functions/logic-function-config';
export type { CronPayload } from './logic-functions/triggers/cron-payload-type';
export type {
DatabaseEventPayload,
ObjectRecordCreateEvent,
ObjectRecordUpdateEvent,
ObjectRecordEvent,
ObjectRecordDeleteEvent,
ObjectRecordDestroyEvent,
ObjectRecordBaseEvent,
ObjectRecordRestoreEvent,
ObjectRecordUpsertEvent,
} from './logic-functions/triggers/database-event-payload-type';
export type { RoutePayload } from './logic-functions/triggers/route-payload-type';
export { defineObject } from './objects/define-object';
export { STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from './objects/standard-object-ids';
export { defineRole } from './roles/define-role';
export { PermissionFlag } from './roles/permission-flag-type';