src/app/features/skill/external-profile-link-config.ts

Description

Config object for the EditExternalProfileLink fields.

Index

Properties

Properties

applyData
applyData: { from: string; to: string; transformation?: escoSkill }[]
Type : { from: string; to: string; transformation?: escoSkill }[]

Mapping of data fields "from" the external profile "to" an entity field what data should be imported and set on the entity.

searchFields
searchFields: { fullName?: string[]; email?: string[]; phone?: string[] }
Type : { fullName?: string[]; email?: string[]; phone?: string[] }
Properties :
  • fullName?: string[]
  • email?: string[]
  • phone?: string[]

The entity fields to use as default search values for the external profile lookup.

export interface ExternalProfileLinkConfig {
  /**
   * The entity fields to use as default search values for the external profile lookup.
   */
  searchFields: {
    fullName?: string[];
    email?: string[];
    phone?: string[];
  };

  /**
   * Mapping of data fields "from" the external profile "to" an entity field
   * what data should be imported and set on the entity.
   */
  applyData: {
    from: string;
    to: string;

    /** an (option) key for a map function to be executed on each source value*/
    transformation?: "escoSkill";
  }[];
}

results matching ""

    No results matching ""