UNPKG

yoastseo

Version:

Yoast client-side content analysis

77 lines (71 loc) 2.69 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.constructTaxonomyAssessments = exports.constructSEOAssessments = exports.constructRelatedKeyphraseTaxonomyAssessments = exports.constructRelatedKeyphraseAssessments = exports.constructReadabilityAssessments = void 0; /** * Factory functions for creating lists of assessments. * * To be used in creating the different kinds of assessors. */ /** * Creates a new list of SEO assessments. * * @returns {module:parsedPaper/assess.Assessment[]} The list of SEO assessments. * * @private * @memberOf module:parsedPaper/assess */ const constructSEOAssessments = () => [ // Needs to be populated by fancy new assessments that work on the tree representation of the text. ]; /** * Creates a new list of readability assessments. * * @returns {module:parsedPaper/assess.Assessment[]} The list of readability assessments. * * @private * @memberOf module:parsedPaper/assess */ exports.constructSEOAssessments = constructSEOAssessments; const constructReadabilityAssessments = () => [ // Needs to be populated by fancy new assessments that work on the tree representation of the text. ]; /** * Creates a new list of SEO assessments for taxonomy pages. * * @returns {module:parsedPaper/assess.Assessment[]} The list of SEO assessments. * * @private * @memberOf module:parsedPaper/assess */ exports.constructReadabilityAssessments = constructReadabilityAssessments; const constructTaxonomyAssessments = () => [ // Needs to be populated by fancy new assessments that work on the tree representation of the text. ]; /** * Creates a new list of SEO assessments for related keyphrases. * * @returns {module:parsedPaper/assess.Assessment[]} The list of SEO assessments. * * @private * @memberOf module:parsedPaper/assess */ exports.constructTaxonomyAssessments = constructTaxonomyAssessments; const constructRelatedKeyphraseAssessments = () => [ // Needs to be populated by fancy new assessments that work on the tree representation of the text. ]; /** * Creates a new list of SEO assessments for related keyphrases on taxonomy pages. * * @returns {module:parsedPaper/assess.Assessment[]} The list of SEO assessments. * * @private * @memberOf module:parsedPaper/assess */ exports.constructRelatedKeyphraseAssessments = constructRelatedKeyphraseAssessments; const constructRelatedKeyphraseTaxonomyAssessments = () => [ // Needs to be populated by fancy new assessments that work on the tree representation of the text. ]; exports.constructRelatedKeyphraseTaxonomyAssessments = constructRelatedKeyphraseTaxonomyAssessments; //# sourceMappingURL=assessmentListFactories.js.map