docs: function modelQuery(options) {
              return models.Base.Model.generateSlug(allowedTypes[options.type], options.data.name, {status: 'all'})
                  .then((slug) => {
                      if (!slug) {
                          return Promise.reject(new common.errors.GhostError({
                              message: common.i18n.t('errors.api.slugs.couldNotGenerateSlug')
                          }));
                      }
  
                      return {
                          slugs: [{slug: slug}]
                      };
                  });
          }