allKeysInApp() {
          if (ctx.store.state.app.modelKeys.length > 0) return ctx.store.state.app.modelKeys;

          let modelKeys = [];
          let applets = ctx.store.state.app.applets;

          _(applets).forEach(applet => {
            let modelKey = applet.primaryModel;
            if (modelKey) modelKeys.push(modelKey);
          });
          let uniqModelKeys = _.uniq(modelKeys);

          ctx.store.commit('storeAllModelKeys', uniqModelKeys);
          return uniqModelKeys;
        }
/**
         * Return an array of all distinct primary model keys across all applets in this app, or an empty array on error or if no model keys were found
         */
Return an array of all distinct primary model keys across all applets in this app, or an empty array on error or if no model keys were found
Return an array of all distinct primary model keys across all applets in this app or an empty array on error or if no model keys were found
allKeysInApp() {
          if (ctx.store.state.app.modelKeys.length > 0) return ctx.store.state.app.modelKeys;
          let modelKeys = [];
          let applets = ctx.store.state.app.applets;
          _(applets).forEach(applet => {
            let modelKey = applet.primaryModel;
            if (modelKey) modelKeys.push(modelKey);
          });
          let uniqModelKeys = _.uniq(modelKeys);
          ctx.store.commit('storeAllModelKeys', uniqModelKeys);
          return uniqModelKeys;
        }
allKeysInApp ( ) { if ( ctx . store . state . app . modelKeys . length > 0 ) return ctx . store . state . app . modelKeys ; let modelKeys = [ ] ; let applets = ctx . store . state . app . applets ; _ ( applets ) . forEach ( applet => { let modelKey = applet . primaryModel ; if ( modelKey ) modelKeys . push ( modelKey ) ; } ) ; let uniqModelKeys = _ . uniq ( modelKeys ) ; ctx . store . commit ( 'storeAllModelKeys' , uniqModelKeys ) ; return uniqModelKeys ; }
Return an array of all distinct primary model keys across all applets in this app, or an empty array on error or if no model keys were found
Return an array of all distinct primary model keys across all applets in this app or an empty array on error or if no model keys were found