- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for objects (0.17 sec)
-
.cm/plugins/filters/readField/index.js
/** * @module readField * @description Returns one field for a particular named object in a list of objects. * @param {[Object]} objects - The objects to search * @param {String} objectName - The name of the particular object to find * @param {String} fieldName - The name of the field for the group to return * @returns String - The specified value * @example {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField('jvm', 'name') }} */
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1K bytes - Viewed (0) -
.cm/plugins/filters/categorize/index.js
* @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path * @returns {[Object]} Returns a list of objects for each platform containing info about the changes to files in that platform * @example {{ owners | categorize(branch.diff.files_metadata) }} */ function categorize(fileOwners, fileMetadatas) {
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.2K bytes - Viewed (0) -
.cm/plugins/filters/byCodeowner/ignore/index.js
/* istanbul ignore else */ if (typeof Symbol !== 'undefined') { TMP_KEY_IGNORE = Symbol.for('node-ignore') } const KEY_IGNORE = TMP_KEY_IGNORE const define = (object, key, value) => Object.defineProperty(object, key, {value}) const REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g const RETURN_FALSE = () => false // Sanitize the range of a regular expression
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 17.5K bytes - Viewed (0) -
.cm/plugins/filters/byCodeowner/index.js
/** * @module byCodeowner * @description Groups the PR's files' by owner based on the CODEOWNERs file. * @param {string[]} files - the gitStream's files context variable * @param {Object} pr - the gitStream's pr context variable * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file * @returns {Map} - Map from owner name to list of files they own
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 19:12:32 GMT 2024 - 2.8K bytes - Viewed (0) -
.cm/plugins/filters/computeStatistics/index.js
* @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path * @returns {[Object]} Returns list of computed summary statistic objects for each platform in the input groupedFiles * @example {{ fileOwners | categorize(branch.diff.files_metadata) | changeStatistics(branch.diff.files_metadata) }} */
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.8K bytes - Viewed (0) -
.cm/plugins/filters/summaryTable/index.js
* * The table should be in descending order of the number of lines changed, and should only include platforms with non-0 changes. * * @param {[Object]} statistics - list of summary data objects from computeStatistics * @param {String} title - description of how data is grouped * @returns {String} Returns the formatted HTMl table string.
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 3.2K bytes - Viewed (0) -
docs_src/generate_clients/tutorial004.js
try { const data = await fs.promises.readFile(filePath) const openapiContent = JSON.parse(data) const paths = openapiContent.paths for (const pathKey of Object.keys(paths)) { const pathData = paths[pathKey] for (const method of Object.keys(pathData)) { const operation = pathData[method] if (operation.tags && operation.tags.length > 0) { const tag = operation.tags[0]
JavaScript - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 14 11:40:05 GMT 2024 - 1K bytes - Viewed (0) -
.cm/plugins/filters/isEnabledAutomation/index.js
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 3.1K bytes - Viewed (0)