Rename isUIReadOnly to isUIEditable, add isUICreatable, expose both to app developers (#21504)
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
# UI capability flags: `isUIEditable` + `isUICreatable`
## Per-verb capability model
This PR replaces the negative `isUIReadOnly` metadata flag with
positive, per-verb capability flags (à la Salesforce
`createable`/`updateable`):
- **`isUIEditable: boolean`, default `true`** — rename of `isUIReadOnly`
with inverted polarity, on **both** `objectMetadata` and
`fieldMetadata`. It is one concept ("can the user edit this through the
generic UI?") at two altitudes, so it carries one name at both levels.
- **`isUICreatable: boolean`, default `true`** — new, **object-level
only** (fields have no create verb). When `false`, no generic UI
affordance to create a record of this object appears anywhere (table "+"
buttons, board column add, calendar add, relation-section "Add new",
record picker "Add new", command-menu create action and its keyboard
shortcut).
Both flags are **UI-affordance flags only**: the server does not block
create/edit mutations based on them, so the system, API, and workflows
continue to mutate these records freely. They are orthogonal statements
about the object's nature with no implication rule in the data model.
Because today's inline creation UX creates a blank record the user must
then edit, the frontend create predicate currently requires both
`isUICreatable` and effective editability.
There is no CREATE permission in `ObjectPermissions`; the frontend keeps
gating creation on `canUpdateObjectRecords` as a proxy, ANDed with the
new flags.
## Unified create predicate
All generic creation entry points now flow through one predicate,
`canCreateRecordsForObjectMetadataItem` (`isUICreatable` && not
`isSystem` && not effectively read-only, where effective read-only
covers `isUIEditable`, `isRemote`, and the `canUpdateObjectRecords`
proxy via `isObjectMetadataReadOnly`). This deletes the previously
hardcoded suppression lists:
- `isRecordTableCreateDisabled.ts` and its hardcoded
`WorkflowRun`/`WorkflowVersion` list — deleted; those objects (plus
`workspaceMember`) now declare `isUICreatable: false` in the standard
application instead.
- The hardcoded `workspaceMember` guard inside
`useAddNewRecordAndOpenSidePanel.ts` — deleted.
- The `CREATE_NEW_RECORD` command menu item's availability expression
now checks `objectMetadataItem.isUICreatable`, `isUIEditable`,
`isSystem`, and `isRemote`; a workspace upgrade command re-syncs the
expression in existing workspaces.
Component-local conditions (soft-delete filter active, layout
customization mode) stay in their components.
## GraphQL compatibility and removal plan
The schema delta versus main is **purely additive plus deprecations —
zero breaking changes**:
- `isUIReadOnly` remains on both the ObjectMetadata and FieldMetadata
GraphQL output types for **one release** as a deprecated field computed
as `!isUIEditable` (`deprecationReason: 'Use isUIEditable'`). The Twenty
frontend no longer queries it.
- `isUIReadOnly` also remains on the **input side** for one release
(`CreateFieldInput`, `UpdateFieldInput`, `FieldFilter`, `ObjectFilter`),
keeping the schema shape identical to main for those members. On create
it acts as a legacy alias mapped to `!isUIReadOnly` (`isUIEditable` wins
when both are provided); on update it is ignored, exactly as on main (it
was never an editable property). Filtering on the deprecated member
keeps working until the column is dropped at upgrade time; after that it
is a deprecated no-op surface kept only for schema compatibility.
**Removal plan for next release: drop `isUIReadOnly` from the output
DTOs (and resolvers' `@ResolveField`s), from the input/filter types,
from the create-input mapping, and the `@WasRemovedInUpgrade`-retained
entity columns and decorators.**
## ⚠️ Webhook / database-event payload shape change
The `database-event-payload` type in `twenty-shared` got a clean rename
(no alias): metadata snapshots in webhook and database-event payloads
now carry `isUIEditable` (and `isUICreatable` at object level) **instead
of** `isUIReadOnly`, with inverted polarity. Consumers of these payloads
that read `isUIReadOnly` must switch to `isUIEditable`.
## New manifest properties (app-developer DX)
Application developers can now set these flags in their app manifests
(purely additive — existing manifests and older `twenty-sdk` versions
are unaffected, defaults apply when omitted):
- `objects[].isUICreatable?: boolean` (default `true`)
- `objects[].isUIEditable?: boolean` (default `true`)
- `fields[].isUIEditable?: boolean` (default `true`)
The manifest converters previously hardcoded `isUIReadOnly: false`; they
now read the manifest values with `?? true` defaults. The types are
re-exported through `twenty-sdk` from `twenty-shared`.
## Migration & backfill
- One fast instance command: adds `isUIEditable` (NOT NULL default
`true`) on `core."objectMetadata"` and `core."fieldMetadata"`, backfills
`isUIEditable = false` exactly where `isUIReadOnly = true`, drops
`isUIReadOnly`, and adds `isUICreatable` (default `true`) on
`objectMetadata`. The `down` is the exact inverse. Uses `ADD/DROP COLUMN
IF (NOT) EXISTS`, matching the 2-12 drop-`isCustom` precedent. Verified
up and down in separate transactions against a dev database with exact
backfill counts.
- **Cross-version upgrade safety (multi-version self-hosted jumps):**
the upgrade sequence interleaves per version (instance → workspace
commands), so pre-2.13 workspace commands run **before** the 2.13 rename
when an old instance jumps several versions. Following the `isCustom`
precedent: `isUIEditable`/`isUICreatable` are marked
`@WasIntroducedInUpgrade` and `isUIReadOnly` stays on both entities as
`@WasRemovedInUpgrade`, so the upgrade-aware entity metadata adapter
hides the not-yet-existing columns (and keeps the legacy column live) at
pre-2.13 cursors. **No committed upgrade command outside the 2-13
directory is modified**: the old 1-21/2-8/2-9 commands keep their
original `isUIReadOnly: true` inputs, which still compile (entity
property retained, deprecated create-input alias mapped) and still
produce the correct legacy column writes pre-rename.
- A 2-13 workspace command (`sync-standard-ui-capability-flags`)
re-syncs `isUICreatable` **and** `isUIEditable` on standard objects and
`isUIEditable` on standard fields from the standard-application
definitions. This backfills `isUICreatable: false` on
`workflowRun`/`workflowVersion`/`workspaceMember` and heals fields
created mid-cross-upgrade by pre-2.13 commands (whose hidden
`isUIEditable` value cannot reach the insert). Both 2-13 sync commands
pass `isSystemBuild: true` — the flat metadata validator otherwise
rejects direct updates to system objects (verified against a
deliberately drifted dev database; the run is idempotent).
- A second 2-13 workspace command re-syncs the create-record command
availability expression.
## Testing
- Unit tests for `canCreateRecordsForObjectMetadataItem`
(flag/permission/system combinations) and for the manifest converters
(flags set / omitted → defaults).
- Full `upgrade --dry-run` boots the sequence (107 steps) and validates
the upgrade-aware decorator references; both 2-13 sync commands verified
end to end against real drift and re-run idempotently.
- Schema verified by live introspection after the input-alias restore:
all four input/filter members match main, output deprecations intact;
frontend metadata types and `twenty-client-sdk` schema regenerated from
the running server.
- Read-only-related and touched jest suites pass on both packages;
typecheck and lint pass on `twenty-server` and `twenty-front`.
<!-- CURSOR_AGENT_PR_BODY_END -->
<div><a
href="https://cursor.com/agents/bc-0f3e04cb-b04a-40be-8330-5609c4538e8a"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a
href="https://cursor.com/background-agent?bcId=bc-0f3e04cb-b04a-40be-8330-5609c4538e8a"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>
<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/twentyhq/twenty/pull/21504?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ export const STANDARD_COMMAND_MENU_ITEMS = {
|
||||
shortLabel: 'New ${capitalize(objectMetadataItem.labelSingular)}',
|
||||
availabilityType: CommandMenuItemAvailabilityType.GLOBAL_OBJECT_CONTEXT,
|
||||
conditionalAvailabilityExpression:
|
||||
'pageType == "INDEX_PAGE" and objectPermissions.canUpdateObjectRecords and not hasAnySoftDeleteFilterOnView',
|
||||
'pageType == "INDEX_PAGE" and objectPermissions.canUpdateObjectRecords and not hasAnySoftDeleteFilterOnView and objectMetadataItem.isUICreatable and objectMetadataItem.isUIEditable and not objectMetadataItem.isSystem and not objectMetadataItem.isRemote',
|
||||
availabilityObjectMetadataUniversalIdentifier: null,
|
||||
frontComponentUniversalIdentifier: null,
|
||||
engineComponentKey: EngineComponentKey.CREATE_NEW_RECORD,
|
||||
|
||||
+17
-17
@@ -41,7 +41,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -60,7 +60,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -82,7 +82,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -104,7 +104,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -126,7 +126,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment name`),
|
||||
icon: 'IconFileUpload',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -143,7 +143,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment file`),
|
||||
icon: 'IconFileUpload',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
maxNumberOfValues: 1,
|
||||
},
|
||||
@@ -165,7 +165,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconLink',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -184,7 +184,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconList',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'OTHER'",
|
||||
options: [
|
||||
{
|
||||
@@ -260,7 +260,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -285,7 +285,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -352,7 +352,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'task',
|
||||
targetFieldName: 'attachments',
|
||||
settings: {
|
||||
@@ -377,7 +377,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'note',
|
||||
targetFieldName: 'attachments',
|
||||
settings: {
|
||||
@@ -402,7 +402,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'person',
|
||||
targetFieldName: 'attachments',
|
||||
settings: {
|
||||
@@ -427,7 +427,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'company',
|
||||
targetFieldName: 'attachments',
|
||||
settings: {
|
||||
@@ -452,7 +452,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'opportunity',
|
||||
targetFieldName: 'attachments',
|
||||
settings: {
|
||||
@@ -477,7 +477,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'dashboard',
|
||||
targetFieldName: 'attachments',
|
||||
settings: {
|
||||
@@ -502,7 +502,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Attachment target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflow',
|
||||
targetFieldName: 'attachments',
|
||||
settings: {
|
||||
|
||||
+8
-8
@@ -40,7 +40,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -59,7 +59,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -81,7 +81,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -103,7 +103,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -123,7 +123,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -148,7 +148,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -214,7 +214,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Handle`),
|
||||
icon: 'IconAt',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -234,7 +234,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`WorkspaceMember`),
|
||||
icon: 'IconCircleUser',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workspaceMember',
|
||||
targetFieldName: 'blocklist',
|
||||
settings: {
|
||||
|
||||
+10
-10
@@ -42,7 +42,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -61,7 +61,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -81,7 +81,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -101,7 +101,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -119,7 +119,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -144,7 +144,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -210,7 +210,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event external ID`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -227,7 +227,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Recurring Event ID`),
|
||||
icon: 'IconHistory',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -244,7 +244,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Channel ID`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -262,7 +262,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event ID`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'calendarEvent',
|
||||
targetFieldName: 'calendarChannelEventAssociations',
|
||||
settings: {
|
||||
|
||||
+13
-13
@@ -42,7 +42,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -61,7 +61,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -81,7 +81,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -101,7 +101,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -119,7 +119,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -144,7 +144,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -208,7 +208,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Handle`),
|
||||
icon: 'IconMail',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -225,7 +225,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Display Name`),
|
||||
icon: 'IconUser',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -242,7 +242,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Is Organizer`),
|
||||
icon: 'IconUser',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -260,7 +260,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Response Status`),
|
||||
icon: 'IconUser',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'NEEDS_ACTION'",
|
||||
options: [
|
||||
{
|
||||
@@ -309,7 +309,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event ID`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'calendarEvent',
|
||||
targetFieldName: 'calendarEventParticipants',
|
||||
settings: {
|
||||
@@ -334,7 +334,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Person`),
|
||||
icon: 'IconUser',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'person',
|
||||
targetFieldName: 'calendarEventParticipants',
|
||||
settings: {
|
||||
@@ -359,7 +359,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workspace Member`),
|
||||
icon: 'IconUser',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workspaceMember',
|
||||
targetFieldName: 'calendarEventParticipants',
|
||||
settings: {
|
||||
|
||||
+21
-21
@@ -38,7 +38,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -57,7 +57,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -77,7 +77,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -97,7 +97,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -115,7 +115,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -140,7 +140,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -204,7 +204,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Title`),
|
||||
icon: 'IconH1',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -221,7 +221,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Is canceled`),
|
||||
icon: 'IconCalendarCancel',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -239,7 +239,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Is Full Day`),
|
||||
icon: 'IconHours24',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -257,7 +257,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Start Date`),
|
||||
icon: 'IconCalendarClock',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -274,7 +274,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`End Date`),
|
||||
icon: 'IconCalendarClock',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -291,7 +291,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Creation DateTime`),
|
||||
icon: 'IconCalendarPlus',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -308,7 +308,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Update DateTime`),
|
||||
icon: 'IconCalendarCog',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -325,7 +325,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Description`),
|
||||
icon: 'IconFileDescription',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayedMaxRows: 99 },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -343,7 +343,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Location`),
|
||||
icon: 'IconMapPin',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -360,7 +360,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`iCal UID`),
|
||||
icon: 'IconKey',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -377,7 +377,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Conference Solution`),
|
||||
icon: 'IconScreenShare',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -394,7 +394,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Meet Link`),
|
||||
icon: 'IconLink',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -454,7 +454,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Calendar Channel Event Associations`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'calendarChannelEventAssociation',
|
||||
targetFieldName: 'calendarEvent',
|
||||
settings: {
|
||||
@@ -477,7 +477,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event Participants`),
|
||||
icon: 'IconUserCircle',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'calendarEventParticipant',
|
||||
targetFieldName: 'calendarEvent',
|
||||
settings: {
|
||||
@@ -500,7 +500,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Call Recordings`),
|
||||
icon: 'IconPhone',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'callRecording',
|
||||
targetFieldName: 'calendarEvent',
|
||||
settings: {
|
||||
|
||||
+18
-18
@@ -38,7 +38,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -57,7 +57,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -77,7 +77,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -97,7 +97,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -115,7 +115,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Meeting title from the calendar event`),
|
||||
icon: 'IconNotes',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -132,7 +132,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Recording lifecycle status`),
|
||||
icon: 'IconProgress',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'SCHEDULED'",
|
||||
options: [
|
||||
{
|
||||
@@ -196,7 +196,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconApps',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -215,7 +215,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconRobot',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -232,7 +232,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Source app recording id, when present`),
|
||||
icon: 'IconId',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -249,7 +249,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Actual recording start`),
|
||||
icon: 'IconCalendarClock',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -266,7 +266,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Actual recording end`),
|
||||
icon: 'IconCalendarClock',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -283,7 +283,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Video recording`),
|
||||
icon: 'IconVideo',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
maxNumberOfValues: 1,
|
||||
},
|
||||
@@ -303,7 +303,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Audio-only recording`),
|
||||
icon: 'IconHeadphones',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
maxNumberOfValues: 1,
|
||||
},
|
||||
@@ -323,7 +323,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Normalized diarized transcript`),
|
||||
icon: 'IconFileText',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -340,7 +340,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Recording summary`),
|
||||
icon: 'IconFileText',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -358,7 +358,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Calendar Event`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'calendarEvent',
|
||||
targetFieldName: 'callRecordings',
|
||||
settings: {
|
||||
@@ -382,7 +382,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -407,7 +407,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
|
||||
+8
-8
@@ -40,7 +40,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -59,7 +59,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -81,7 +81,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -103,7 +103,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -229,7 +229,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -254,7 +254,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -350,7 +350,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
|
||||
label: i18nLabel(msg`Tasks`),
|
||||
description: i18nLabel(msg`Tasks tied to the company`),
|
||||
icon: 'IconCheckbox',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: true,
|
||||
targetObjectName: 'taskTarget',
|
||||
targetFieldName: 'targetCompany',
|
||||
@@ -373,7 +373,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
|
||||
label: i18nLabel(msg`Notes`),
|
||||
description: i18nLabel(msg`Notes tied to the company`),
|
||||
icon: 'IconNotes',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: true,
|
||||
targetObjectName: 'noteTarget',
|
||||
targetFieldName: 'targetCompany',
|
||||
|
||||
+7
-7
@@ -39,7 +39,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -58,7 +58,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -78,7 +78,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -98,7 +98,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -152,7 +152,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Dashboard page layout`),
|
||||
icon: 'IconLayout',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -169,7 +169,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -194,7 +194,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
|
||||
+8
-8
@@ -46,7 +46,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -65,7 +65,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -85,7 +85,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -105,7 +105,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -123,7 +123,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -148,7 +148,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -215,7 +215,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
|
||||
description: i18nLabel(msg`Message Channel Message Association`),
|
||||
icon: 'IconMessage',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'messageChannelMessageAssociation',
|
||||
targetFieldName: 'messageFolders',
|
||||
settings: {
|
||||
@@ -239,7 +239,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
|
||||
description: i18nLabel(msg`Message Folder`),
|
||||
icon: 'IconFolder',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
|
||||
+13
-13
@@ -47,7 +47,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -66,7 +66,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -86,7 +86,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -106,7 +106,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -124,7 +124,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -149,7 +149,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -215,7 +215,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
description: i18nLabel(msg`Message id from the messaging provider`),
|
||||
icon: 'IconHash',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -232,7 +232,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
description: i18nLabel(msg`Thread id from the messaging provider`),
|
||||
icon: 'IconHash',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -249,7 +249,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
description: i18nLabel(msg`Message Direction`),
|
||||
icon: 'IconDirection',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: `'${MessageDirection.INCOMING}'`,
|
||||
options: [
|
||||
{
|
||||
@@ -283,7 +283,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
description: i18nLabel(msg`Message Channel Id`),
|
||||
icon: 'IconHash',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -301,7 +301,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
description: i18nLabel(msg`Message Thread Id`),
|
||||
icon: 'IconHash',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'messageThread',
|
||||
targetFieldName: 'messageChannelMessageAssociations',
|
||||
settings: {
|
||||
@@ -326,7 +326,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
description: i18nLabel(msg`Message Id`),
|
||||
icon: 'IconHash',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'message',
|
||||
targetFieldName: 'messageChannelMessageAssociations',
|
||||
settings: {
|
||||
@@ -353,7 +353,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
|
||||
),
|
||||
icon: 'IconFolders',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'messageChannelMessageAssociationMessageFolder',
|
||||
targetFieldName: 'messageChannelMessageAssociation',
|
||||
settings: {
|
||||
|
||||
+12
-12
@@ -43,7 +43,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -62,7 +62,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -82,7 +82,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -102,7 +102,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -120,7 +120,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -145,7 +145,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -209,7 +209,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Role`),
|
||||
icon: 'IconAt',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: `'${MessageParticipantRole.FROM}'`,
|
||||
options: [
|
||||
{
|
||||
@@ -257,7 +257,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Handle`),
|
||||
icon: 'IconAt',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -274,7 +274,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Display Name`),
|
||||
icon: 'IconUser',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -292,7 +292,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Message`),
|
||||
icon: 'IconMessage',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'message',
|
||||
targetFieldName: 'messageParticipants',
|
||||
settings: {
|
||||
@@ -317,7 +317,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Person`),
|
||||
icon: 'IconUser',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'person',
|
||||
targetFieldName: 'messageParticipants',
|
||||
settings: {
|
||||
@@ -342,7 +342,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workspace member`),
|
||||
icon: 'IconCircleUser',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workspaceMember',
|
||||
targetFieldName: 'messageParticipants',
|
||||
settings: {
|
||||
|
||||
+13
-13
@@ -39,7 +39,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -58,7 +58,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -78,7 +78,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -98,7 +98,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -116,7 +116,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -141,7 +141,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -205,7 +205,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Message id from the message header`),
|
||||
icon: 'IconHash',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -222,7 +222,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Subject`),
|
||||
icon: 'IconMessage',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -239,7 +239,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Text`),
|
||||
icon: 'IconMessage',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -256,7 +256,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The date the message was received`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -274,7 +274,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Message Thread Id`),
|
||||
icon: 'IconHash',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'messageThread',
|
||||
targetFieldName: 'messages',
|
||||
settings: {
|
||||
@@ -299,7 +299,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Message Participants`),
|
||||
icon: 'IconUserCircle',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'messageParticipant',
|
||||
targetFieldName: 'message',
|
||||
settings: {
|
||||
@@ -322,7 +322,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Messages from the channel.`),
|
||||
icon: 'IconMessage',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'messageChannelMessageAssociation',
|
||||
targetFieldName: 'message',
|
||||
settings: {
|
||||
|
||||
+9
-9
@@ -38,7 +38,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -57,7 +57,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -77,7 +77,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -97,7 +97,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -115,7 +115,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -140,7 +140,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -204,7 +204,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Subject`),
|
||||
icon: 'IconMessage',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -222,7 +222,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Messages from the thread.`),
|
||||
icon: 'IconMessage',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'message',
|
||||
targetFieldName: 'messageThread',
|
||||
settings: {
|
||||
@@ -245,7 +245,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Messages from the channel.`),
|
||||
icon: 'IconMessage',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'messageChannelMessageAssociation',
|
||||
targetFieldName: 'messageThread',
|
||||
settings: {
|
||||
|
||||
+6
-6
@@ -39,7 +39,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -58,7 +58,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -80,7 +80,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -102,7 +102,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -174,7 +174,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -199,7 +199,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
|
||||
+10
-10
@@ -40,7 +40,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -59,7 +59,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -81,7 +81,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -103,7 +103,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -123,7 +123,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -148,7 +148,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -215,7 +215,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`NoteTarget note`),
|
||||
icon: 'IconNotes',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'note',
|
||||
targetFieldName: 'noteTargets',
|
||||
settings: {
|
||||
@@ -240,7 +240,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`NoteTarget target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'person',
|
||||
targetFieldName: 'noteTargets',
|
||||
settings: {
|
||||
@@ -265,7 +265,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`NoteTarget target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'company',
|
||||
targetFieldName: 'noteTargets',
|
||||
settings: {
|
||||
@@ -290,7 +290,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`NoteTarget target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'opportunity',
|
||||
targetFieldName: 'noteTargets',
|
||||
settings: {
|
||||
|
||||
+8
-8
@@ -40,7 +40,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -59,7 +59,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -81,7 +81,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -103,7 +103,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -245,7 +245,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -270,7 +270,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -366,7 +366,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
|
||||
label: i18nLabel(msg`Tasks`),
|
||||
description: i18nLabel(msg`Tasks tied to the opportunity`),
|
||||
icon: 'IconCheckbox',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: true,
|
||||
targetObjectName: 'taskTarget',
|
||||
targetFieldName: 'targetOpportunity',
|
||||
@@ -389,7 +389,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
|
||||
label: i18nLabel(msg`Notes`),
|
||||
description: i18nLabel(msg`Notes tied to the opportunity`),
|
||||
icon: 'IconNotes',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: true,
|
||||
targetObjectName: 'noteTarget',
|
||||
targetFieldName: 'targetOpportunity',
|
||||
|
||||
+8
-8
@@ -40,7 +40,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -59,7 +59,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -81,7 +81,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -103,7 +103,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -268,7 +268,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -293,7 +293,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -366,7 +366,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
|
||||
label: i18nLabel(msg`Tasks`),
|
||||
description: i18nLabel(msg`Tasks tied to the contact`),
|
||||
icon: 'IconCheckbox',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: true,
|
||||
targetObjectName: 'taskTarget',
|
||||
targetFieldName: 'targetPerson',
|
||||
@@ -389,7 +389,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
|
||||
label: i18nLabel(msg`Notes`),
|
||||
description: i18nLabel(msg`Notes tied to the contact`),
|
||||
icon: 'IconNotes',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: true,
|
||||
targetObjectName: 'noteTarget',
|
||||
targetFieldName: 'targetPerson',
|
||||
|
||||
+6
-6
@@ -40,7 +40,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -59,7 +59,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -81,7 +81,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -103,7 +103,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -231,7 +231,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -256,7 +256,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
|
||||
+10
-10
@@ -40,7 +40,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -59,7 +59,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -81,7 +81,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
@@ -103,7 +103,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
displayFormat: DateDisplayFormat.RELATIVE,
|
||||
},
|
||||
@@ -123,7 +123,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -148,7 +148,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -215,7 +215,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`TaskTarget task`),
|
||||
icon: 'IconCheckbox',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'task',
|
||||
targetFieldName: 'taskTargets',
|
||||
settings: {
|
||||
@@ -240,7 +240,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`TaskTarget target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'person',
|
||||
targetFieldName: 'taskTargets',
|
||||
settings: {
|
||||
@@ -265,7 +265,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`TaskTarget target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'company',
|
||||
targetFieldName: 'taskTargets',
|
||||
settings: {
|
||||
@@ -290,7 +290,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`TaskTarget target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'opportunity',
|
||||
targetFieldName: 'taskTargets',
|
||||
settings: {
|
||||
|
||||
+22
-22
@@ -44,7 +44,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -63,7 +63,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -83,7 +83,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -103,7 +103,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -121,7 +121,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -146,7 +146,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -188,7 +188,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Creation date`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -206,7 +206,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event name`),
|
||||
icon: 'IconAbc',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -223,7 +223,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Json value for event details`),
|
||||
icon: 'IconListDetails',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -241,7 +241,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconAbc',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -259,7 +259,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconAbc',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -277,7 +277,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconAbc',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -297,7 +297,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event workspace member`),
|
||||
icon: 'IconCircleUser',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workspaceMember',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -322,7 +322,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'person',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -347,7 +347,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'company',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -372,7 +372,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'opportunity',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -397,7 +397,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'note',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -422,7 +422,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'task',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -447,7 +447,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflow',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -472,7 +472,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflowVersion',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -497,7 +497,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflowRun',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
@@ -522,7 +522,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Event target`),
|
||||
icon: 'IconArrowUpRight',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'dashboard',
|
||||
targetFieldName: 'timelineActivities',
|
||||
settings: {
|
||||
|
||||
+9
-9
@@ -41,7 +41,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -60,7 +60,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -80,7 +80,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -100,7 +100,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -118,7 +118,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -143,7 +143,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -207,7 +207,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The workflow automated trigger type`),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'DATABASE_EVENT'",
|
||||
options: [
|
||||
{
|
||||
@@ -241,7 +241,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The workflow automated trigger settings`),
|
||||
icon: 'IconSettings',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -259,7 +259,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`WorkflowAutomatedTrigger workflow`),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflow',
|
||||
targetFieldName: 'automatedTriggers',
|
||||
settings: {
|
||||
|
||||
+18
-18
@@ -39,7 +39,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -58,7 +58,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -78,7 +78,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -98,7 +98,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -116,7 +116,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Name of the workflow run`),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -133,7 +133,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workflow run enqueued at`),
|
||||
icon: 'IconHistory',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -150,7 +150,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workflow run started at`),
|
||||
icon: 'IconHistory',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -167,7 +167,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workflow run ended at`),
|
||||
icon: 'IconHistory',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -184,7 +184,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workflow run status`),
|
||||
icon: 'IconStatusChange',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'NOT_STARTED'",
|
||||
options: [
|
||||
{
|
||||
@@ -254,7 +254,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
name: "'System'",
|
||||
@@ -278,7 +278,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -301,7 +301,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`State of the workflow run`),
|
||||
icon: 'IconHierarchy2',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -321,7 +321,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconTerminal2',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -339,7 +339,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconHierarchy2',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 0,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -358,7 +358,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconUser',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
generatedType: 'STORED',
|
||||
asExpression: getTsVectorColumnExpressionFromFields(
|
||||
@@ -382,7 +382,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workflow version linked to the run.`),
|
||||
icon: 'IconVersions',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflowVersion',
|
||||
targetFieldName: 'runs',
|
||||
settings: {
|
||||
@@ -407,7 +407,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workflow linked to the run.`),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflow',
|
||||
targetFieldName: 'runs',
|
||||
settings: {
|
||||
@@ -432,7 +432,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Timeline activities linked to the run`),
|
||||
icon: 'IconTimelineEvent',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'timelineActivity',
|
||||
targetFieldName: 'targetWorkflowRun',
|
||||
settings: {
|
||||
|
||||
+11
-11
@@ -38,7 +38,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -57,7 +57,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -77,7 +77,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -97,7 +97,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -131,7 +131,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The workflow last published version id`),
|
||||
icon: 'IconVersions',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -150,7 +150,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconStatusChange',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
options: [
|
||||
{
|
||||
id: '20202020-e9d8-41df-8262-31bb04948366',
|
||||
@@ -208,7 +208,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -233,7 +233,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -279,7 +279,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
label: i18nLabel(msg`Versions`),
|
||||
description: i18nLabel(msg`Workflow versions linked to the workflow.`),
|
||||
icon: 'IconVersions',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
targetObjectName: 'workflowVersion',
|
||||
targetFieldName: 'workflow',
|
||||
@@ -302,7 +302,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
label: i18nLabel(msg`Runs`),
|
||||
description: i18nLabel(msg`Workflow runs linked to the workflow.`),
|
||||
icon: 'IconRun',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
targetObjectName: 'workflowRun',
|
||||
targetFieldName: 'workflow',
|
||||
@@ -327,7 +327,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
|
||||
msg`Workflow automated triggers linked to the workflow.`,
|
||||
),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
targetObjectName: 'workflowAutomatedTrigger',
|
||||
targetFieldName: 'workflow',
|
||||
|
||||
+15
-15
@@ -42,7 +42,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -61,7 +61,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -81,7 +81,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -101,7 +101,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -119,7 +119,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -144,7 +144,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -167,7 +167,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The workflow version name`),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -184,7 +184,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Json object to provide trigger`),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -201,7 +201,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Json object to provide steps`),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -218,7 +218,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The workflow version status`),
|
||||
icon: 'IconStatusChange',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'DRAFT'",
|
||||
options: [
|
||||
{
|
||||
@@ -267,7 +267,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconHierarchy2',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 0,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -286,7 +286,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconUser',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
generatedType: 'STORED',
|
||||
asExpression: getTsVectorColumnExpressionFromFields(
|
||||
@@ -310,7 +310,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`WorkflowVersion workflow`),
|
||||
icon: 'IconSettingsAutomation',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflow',
|
||||
targetFieldName: 'versions',
|
||||
settings: {
|
||||
@@ -335,7 +335,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workflow runs linked to the version.`),
|
||||
icon: 'IconRun',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'workflowRun',
|
||||
targetFieldName: 'workflowVersion',
|
||||
settings: {
|
||||
@@ -358,7 +358,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Timeline activities linked to the version`),
|
||||
icon: 'IconTimelineEvent',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'timelineActivity',
|
||||
targetFieldName: 'targetWorkflowVersion',
|
||||
settings: {
|
||||
|
||||
+26
-26
@@ -45,7 +45,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'Icon123',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'uuid',
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -64,7 +64,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -84,7 +84,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarClock',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 'now',
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
@@ -104,7 +104,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarMinus',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: { displayFormat: DateDisplayFormat.RELATIVE },
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -123,7 +123,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconHierarchy2',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 0,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -141,7 +141,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Workspace member name`),
|
||||
icon: 'IconCircleUser',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -159,7 +159,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconColorSwatch',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'System'",
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -178,7 +178,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconLanguage',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'en'",
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -197,7 +197,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconFileUpload',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -215,7 +215,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconMail',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isUnique: true,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -234,7 +234,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendar',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: 7,
|
||||
settings: {
|
||||
dataType: NumberDataType.INT,
|
||||
@@ -256,7 +256,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCircleUsers',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
dependencyFlatEntityMaps,
|
||||
@@ -274,7 +274,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconTimezone',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'system'",
|
||||
},
|
||||
standardObjectMetadataRelatedEntityIds,
|
||||
@@ -293,7 +293,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconCalendarEvent',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'SYSTEM'",
|
||||
options: [
|
||||
{
|
||||
@@ -342,7 +342,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconClock2',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: "'SYSTEM'",
|
||||
options: [
|
||||
{
|
||||
@@ -384,7 +384,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconNumbers',
|
||||
isSystem: true,
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
defaultValue: `'${WorkspaceMemberNumberFormatEnum.SYSTEM}'`,
|
||||
options: [
|
||||
{
|
||||
@@ -440,7 +440,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
icon: 'IconUser',
|
||||
isSystem: true,
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
settings: {
|
||||
generatedType: 'STORED',
|
||||
asExpression: getTsVectorColumnExpressionFromFields(
|
||||
@@ -464,7 +464,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Tasks assigned to the workspace member`),
|
||||
icon: 'IconCheckbox',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'task',
|
||||
targetFieldName: 'assignee',
|
||||
settings: {
|
||||
@@ -487,7 +487,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Account owner for companies`),
|
||||
icon: 'IconBriefcase',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'company',
|
||||
targetFieldName: 'accountOwner',
|
||||
settings: {
|
||||
@@ -510,7 +510,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Message Participants`),
|
||||
icon: 'IconUserCircle',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'messageParticipant',
|
||||
targetFieldName: 'workspaceMember',
|
||||
settings: {
|
||||
@@ -533,7 +533,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Blocklisted handles`),
|
||||
icon: 'IconForbid2',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'blocklist',
|
||||
targetFieldName: 'workspaceMember',
|
||||
settings: {
|
||||
@@ -556,7 +556,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Calendar Event Participants`),
|
||||
icon: 'IconCalendar',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'calendarEventParticipant',
|
||||
targetFieldName: 'workspaceMember',
|
||||
settings: {
|
||||
@@ -579,7 +579,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Events linked to the workspace member`),
|
||||
icon: 'IconTimelineEvent',
|
||||
isNullable: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'timelineActivity',
|
||||
targetFieldName: 'workspaceMember',
|
||||
settings: {
|
||||
@@ -602,7 +602,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`Opportunities owned by the workspace member`),
|
||||
icon: 'IconTargetArrow',
|
||||
isNullable: false,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
targetObjectName: 'opportunity',
|
||||
targetFieldName: 'owner',
|
||||
settings: {
|
||||
@@ -624,7 +624,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
description: i18nLabel(msg`The creator of the record`),
|
||||
icon: 'IconCreativeCommonsSa',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
@@ -649,7 +649,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
|
||||
),
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isUIReadOnly: true,
|
||||
isUIEditable: false,
|
||||
isNullable: false,
|
||||
defaultValue: {
|
||||
source: "'MANUAL'",
|
||||
|
||||
+3
-3
@@ -29,7 +29,7 @@ export type CreateStandardFieldArgs<
|
||||
isSystem?: boolean;
|
||||
isNullable?: boolean;
|
||||
isUnique?: boolean;
|
||||
isUIReadOnly?: boolean;
|
||||
isUIEditable?: boolean;
|
||||
defaultValue?: FieldMetadataDefaultValue<T>;
|
||||
settings?: FieldMetadataSettings<T>;
|
||||
options?:
|
||||
@@ -54,7 +54,7 @@ export const createStandardFieldFlatMetadata = <
|
||||
isSystem = false,
|
||||
isNullable = true,
|
||||
isUnique = false,
|
||||
isUIReadOnly = false,
|
||||
isUIEditable = true,
|
||||
defaultValue,
|
||||
settings,
|
||||
options: fieldOptions = null,
|
||||
@@ -84,7 +84,7 @@ export const createStandardFieldFlatMetadata = <
|
||||
isSystem,
|
||||
isNullable,
|
||||
isUnique,
|
||||
isUIReadOnly,
|
||||
isUIEditable,
|
||||
isLabelSyncedWithName: false,
|
||||
standardOverrides: null,
|
||||
defaultValue: defaultValue ?? null,
|
||||
|
||||
+3
-3
@@ -35,7 +35,7 @@ export type CreateStandardMorphOrRelationFieldContext<
|
||||
targetObjectName: T;
|
||||
targetFieldName: AllStandardObjectFieldName<T>;
|
||||
isNullable?: boolean;
|
||||
isUIReadOnly?: boolean;
|
||||
isUIEditable?: boolean;
|
||||
defaultValue?: FieldMetadataDefaultValueForAnyType;
|
||||
settings: FieldMetadataSettings<F>;
|
||||
options?: FieldMetadataDefaultOption[] | FieldMetadataComplexOption[] | null;
|
||||
@@ -64,7 +64,7 @@ export const createStandardRelationFieldFlatMetadata = <
|
||||
targetObjectName,
|
||||
targetFieldName,
|
||||
isNullable = true,
|
||||
isUIReadOnly = false,
|
||||
isUIEditable = true,
|
||||
defaultValue = null,
|
||||
settings,
|
||||
options: fieldOptions = null,
|
||||
@@ -101,7 +101,7 @@ export const createStandardRelationFieldFlatMetadata = <
|
||||
isSystem: false,
|
||||
isNullable,
|
||||
isUnique: false,
|
||||
isUIReadOnly,
|
||||
isUIEditable,
|
||||
isLabelSyncedWithName: false,
|
||||
standardOverrides: null,
|
||||
defaultValue,
|
||||
|
||||
+3
@@ -672,6 +672,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {
|
||||
icon: 'IconHistoryToggle',
|
||||
isSystem: true,
|
||||
isAuditLogged: false,
|
||||
isUICreatable: false,
|
||||
labelIdentifierFieldMetadataName: 'name',
|
||||
},
|
||||
workspaceId,
|
||||
@@ -702,6 +703,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {
|
||||
description: i18nLabel(msg`A workflow version`),
|
||||
icon: 'IconVersions',
|
||||
isSystem: true,
|
||||
isUICreatable: false,
|
||||
labelIdentifierFieldMetadataName: 'name',
|
||||
},
|
||||
workspaceId,
|
||||
@@ -733,6 +735,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {
|
||||
icon: 'IconUserCircle',
|
||||
isSystem: true,
|
||||
isSearchable: true,
|
||||
isUICreatable: false,
|
||||
labelIdentifierFieldMetadataName: 'name',
|
||||
imageIdentifierFieldMetadataName: 'avatarUrl',
|
||||
},
|
||||
|
||||
+6
-3
@@ -17,7 +17,8 @@ export type CreateStandardObjectContext<O extends AllStandardObjectName> = {
|
||||
isSystem?: boolean;
|
||||
isSearchable?: boolean;
|
||||
isAuditLogged?: boolean;
|
||||
isUIReadOnly?: boolean;
|
||||
isUIEditable?: boolean;
|
||||
isUICreatable?: boolean;
|
||||
shortcut?: string | null;
|
||||
duplicateCriteria?: string[][] | null;
|
||||
labelIdentifierFieldMetadataName: AllStandardObjectFieldName<O>;
|
||||
@@ -45,7 +46,8 @@ export const createStandardObjectFlatMetadata = <
|
||||
isSystem = false,
|
||||
isSearchable = false,
|
||||
isAuditLogged = true,
|
||||
isUIReadOnly = false,
|
||||
isUIEditable = true,
|
||||
isUICreatable = true,
|
||||
shortcut = null,
|
||||
duplicateCriteria = null,
|
||||
labelIdentifierFieldMetadataName,
|
||||
@@ -86,7 +88,8 @@ export const createStandardObjectFlatMetadata = <
|
||||
isSystem,
|
||||
isSearchable,
|
||||
isAuditLogged,
|
||||
isUIReadOnly,
|
||||
isUIEditable,
|
||||
isUICreatable,
|
||||
isLabelSyncedWithName: false,
|
||||
standardOverrides: null,
|
||||
duplicateCriteria,
|
||||
|
||||
+3
@@ -17,6 +17,7 @@ type Assertions = [
|
||||
| 'options'
|
||||
| 'isUnique'
|
||||
| 'isLabelSyncedWithName'
|
||||
| 'isUIEditable'
|
||||
| 'universalSettings'
|
||||
>
|
||||
>,
|
||||
@@ -37,6 +38,8 @@ type Assertions = [
|
||||
| 'labelIdentifierFieldMetadataUniversalIdentifier'
|
||||
| 'imageIdentifierFieldMetadataUniversalIdentifier'
|
||||
| 'isSearchable'
|
||||
| 'isUIEditable'
|
||||
| 'isUICreatable'
|
||||
>
|
||||
>,
|
||||
];
|
||||
|
||||
+1
@@ -40,6 +40,7 @@ type Assertions = [
|
||||
| 'options'
|
||||
| 'isUnique'
|
||||
| 'isLabelSyncedWithName'
|
||||
| 'isUIEditable'
|
||||
| 'universalSettings'
|
||||
>
|
||||
>,
|
||||
|
||||
+4
-4
@@ -20,7 +20,7 @@ exports[`flatEntityDeletedCreatedUpdatedMatrixDispatcher It should detect a crea
|
||||
"isLabelSyncedWithName": false,
|
||||
"isNullable": true,
|
||||
"isSystem": false,
|
||||
"isUIReadOnly": false,
|
||||
"isUIEditable": true,
|
||||
"isUnique": false,
|
||||
"kanbanAggregateOperationViewIds": [],
|
||||
"kanbanAggregateOperationViewUniversalIdentifiers": [],
|
||||
@@ -84,7 +84,7 @@ exports[`flatEntityDeletedCreatedUpdatedMatrixDispatcher It should detect a dele
|
||||
"isLabelSyncedWithName": false,
|
||||
"isNullable": true,
|
||||
"isSystem": false,
|
||||
"isUIReadOnly": false,
|
||||
"isUIEditable": true,
|
||||
"isUnique": false,
|
||||
"kanbanAggregateOperationViewIds": [],
|
||||
"kanbanAggregateOperationViewUniversalIdentifiers": [],
|
||||
@@ -162,7 +162,7 @@ exports[`flatEntityDeletedCreatedUpdatedMatrixDispatcher It should detect create
|
||||
"isLabelSyncedWithName": false,
|
||||
"isNullable": true,
|
||||
"isSystem": false,
|
||||
"isUIReadOnly": false,
|
||||
"isUIEditable": true,
|
||||
"isUnique": false,
|
||||
"kanbanAggregateOperationViewIds": [],
|
||||
"kanbanAggregateOperationViewUniversalIdentifiers": [],
|
||||
@@ -212,7 +212,7 @@ exports[`flatEntityDeletedCreatedUpdatedMatrixDispatcher It should detect create
|
||||
"isLabelSyncedWithName": false,
|
||||
"isNullable": true,
|
||||
"isSystem": false,
|
||||
"isUIReadOnly": false,
|
||||
"isUIEditable": true,
|
||||
"isUnique": false,
|
||||
"kanbanAggregateOperationViewIds": [],
|
||||
"kanbanAggregateOperationViewUniversalIdentifiers": [],
|
||||
|
||||
+2
-2
@@ -41,7 +41,7 @@ describe('addUniversalFlatEntityToUniversalFlatEntityAndRelatedEntityMapsThrough
|
||||
isRemote: false,
|
||||
isSearchable: true,
|
||||
isSystem: false,
|
||||
isUIReadOnly: false,
|
||||
isUIEditable: true,
|
||||
labelPlural: 'default flat object metadata label plural',
|
||||
labelSingular: 'default flat object metadata label singular',
|
||||
namePlural: 'defaultflatObjectMetadataNamePlural',
|
||||
@@ -83,7 +83,7 @@ describe('addUniversalFlatEntityToUniversalFlatEntityAndRelatedEntityMapsThrough
|
||||
label: 'flat field metadata label',
|
||||
isNullable: true,
|
||||
isUnique: false,
|
||||
isUIReadOnly: false,
|
||||
isUIEditable: true,
|
||||
isLabelSyncedWithName: false,
|
||||
isSystem: false,
|
||||
standardOverrides: null,
|
||||
|
||||
+2
-2
@@ -37,7 +37,7 @@ describe('deleteUniversalFlatEntityFromUniversalFlatEntityAndRelatedEntityMapsTh
|
||||
isRemote: false,
|
||||
isSearchable: true,
|
||||
isSystem: false,
|
||||
isUIReadOnly: false,
|
||||
isUIEditable: true,
|
||||
labelPlural: 'default flat object metadata label plural',
|
||||
labelSingular: 'default flat object metadata label singular',
|
||||
namePlural: 'defaultflatObjectMetadataNamePlural',
|
||||
@@ -79,7 +79,7 @@ describe('deleteUniversalFlatEntityFromUniversalFlatEntityAndRelatedEntityMapsTh
|
||||
label: 'flat field metadata label',
|
||||
isNullable: true,
|
||||
isUnique: false,
|
||||
isUIReadOnly: false,
|
||||
isUIEditable: true,
|
||||
isLabelSyncedWithName: false,
|
||||
isSystem: false,
|
||||
standardOverrides: null,
|
||||
|
||||
+2
-2
@@ -28,7 +28,7 @@ describe('flatEntityToScalarFlatEntity', () => {
|
||||
settings: null,
|
||||
universalSettings: null,
|
||||
isSystem: false,
|
||||
isUIReadOnly: false,
|
||||
isUIEditable: true,
|
||||
isNullable: true,
|
||||
relationTargetFieldMetadataId: 'relation-target-field-id',
|
||||
relationTargetFieldMetadataUniversalIdentifier:
|
||||
@@ -58,7 +58,7 @@ describe('flatEntityToScalarFlatEntity', () => {
|
||||
"isLabelSyncedWithName": false,
|
||||
"isNullable": true,
|
||||
"isSystem": false,
|
||||
"isUIReadOnly": false,
|
||||
"isUIEditable": true,
|
||||
"isUnique": false,
|
||||
"label": "Test Label",
|
||||
"morphId": null,
|
||||
|
||||
Reference in New Issue
Block a user