pinnedItemTitleKey(key) {
          let model = key && this.byKey(key);
          if (!model) return this.primaryKeyPropertyKey;

          // Key was explicitly defined in applet config? Use it
          let applet = ctx.app.$applet.fromModelKey(key);
          if (applet.pinnedItemTitleKey) return applet.pinnedItemTitleKey;

          // Otherwise, try getting the first searchable string property key
          const excludedProps = [this.recycledFlagPropertyKey, ...ctx.store.state.app.modelPropKeys.defaultNonSearchable];
          const searchableModelPropKeys = this.requiredStringPropertyKeys(model, excludedProps);

          if (searchableModelPropKeys && searchableModelPropKeys[0]) return searchableModelPropKeys[0];

          // If all else fails we need to provide a valid property key, so use PK
          return this.primaryKeyPropertyKey;
        }
/**
         * Given a model key return the property key for the "title" to use for a pinned instance of the model (an "item"), or the
         * primary key property key on error
         * @param {string} key Model key
         */
Given a model key return the property key for the "title" to use for a pinned instance of the model (an "item"), or the
primary key property key on error
@param {string} key Model key
Given a model key return the property key for the " title " to use for a pinned instance of the model ( an " item " ) or the primary key property key on error @param { string } key Model key
pinnedItemTitleKey(key) {
          let model = key && this.byKey(key);
          if (!model) return this.primaryKeyPropertyKey;
          let applet = ctx.app.$applet.fromModelKey(key);
          if (applet.pinnedItemTitleKey) return applet.pinnedItemTitleKey;
          const excludedProps = [this.recycledFlagPropertyKey, ...ctx.store.state.app.modelPropKeys.defaultNonSearchable];
          const searchableModelPropKeys = this.requiredStringPropertyKeys(model, excludedProps);
          if (searchableModelPropKeys && searchableModelPropKeys[0]) return searchableModelPropKeys[0];
          return this.primaryKeyPropertyKey;
        }
pinnedItemTitleKey ( key ) { let model = key && this . byKey ( key ) ; if ( ! model ) return this . primaryKeyPropertyKey ; let applet = ctx . app . $applet . fromModelKey ( key ) ; if ( applet . pinnedItemTitleKey ) return applet . pinnedItemTitleKey ; const excludedProps = [ this . recycledFlagPropertyKey , ... ctx . store . state . app . modelPropKeys . defaultNonSearchable ] ; const searchableModelPropKeys = this . requiredStringPropertyKeys ( model , excludedProps ) ; if ( searchableModelPropKeys && searchableModelPropKeys [ 0 ] ) return searchableModelPropKeys [ 0 ] ; return this . primaryKeyPropertyKey ; }
Given a model key return the property key for the "title" to use for a pinned instance of the model (an "item"), or the
 primary key property key on error
 @param {string} key Model key
Given a model key return the property key for the " title " to use for a pinned instance of the model ( an " item " ) or the primary key property key on error @param { string } key Model key
// Key was explicitly defined in applet config? Use it // Otherwise, try getting the first searchable string property key // If all else fails we need to provide a valid property key, so use PK