Skip to content

Commit

Permalink
Update since tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed Jun 20, 2023
1 parent 0e02524 commit 71e4393
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion assets/js/components/KeyMetrics/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const { useSelect } = Data;
/**
* Returns a Higher-Order Component to render wrapped components when the Key Metrics widget is visible.
*
* @since n.e.x.t
* @since 1.103.0
*
* @return {Function} Enhancing function.
*/
Expand Down
14 changes: 7 additions & 7 deletions assets/js/googlesitekit/datastore/user/key-metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const baseActions = {
/**
* Sets key metrics setting.
*
* @since n.e.x.t
* @since 1.103.0
*
* @param {string} settingID Setting key.
* @param {Array.<string>} value Setting value.
Expand All @@ -101,7 +101,7 @@ const baseActions = {
/**
* Saves key metrics settings.
*
* @since n.e.x.t
* @since 1.103.0
*
* @return {Object} Object with `response` and `error`.
*/
Expand Down Expand Up @@ -164,7 +164,7 @@ const baseSelectors = {
/**
* Gets currently selected key metrics based on either the user picked metrics or the answer based metrics.
*
* @since n.e.x.t
* @since 1.103.0
*
* @return {Array<string>|undefined} An array of key metric slugs, or undefined while loading.
*/
Expand All @@ -185,7 +185,7 @@ const baseSelectors = {
/**
* Gets the Key Metric widget slugs based on the user input settings.
*
* @since n.e.x.t
* @since 1.103.0
*
* @return {Array<string>|undefined} An array of Key Metric widget slugs, or undefined if the user input settings are not loaded.
*/
Expand Down Expand Up @@ -244,7 +244,7 @@ const baseSelectors = {
/**
* Gets the Key Metric widget slugs selected by the user.
*
* @since n.e.x.t
* @since 1.103.0
*
* @return {Array<string>|undefined} An array of Key Metric widget slugs, or undefined if the key metrics settings are not loaded.
*/
Expand All @@ -260,7 +260,7 @@ const baseSelectors = {
/**
* Gets whether the key metrics widget is hidden.
*
* @since n.e.x.t
* @since 1.103.0
*
* @return {boolean|undefined} True if the key metrics widget is hidden, false if it is not, or undefined if the key metrics settings are not loaded.
*/
Expand All @@ -277,7 +277,7 @@ const baseSelectors = {
/**
* Gets key metrics settings.
*
* @since n.e.x.t
* @since 1.103.0
*
* @param {Object} state Data store's state.
* @return {(Object|undefined)} Key metrics settings. Returns `undefined` if not loaded.
Expand Down
2 changes: 1 addition & 1 deletion assets/js/util/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const readableLargeNumber = ( number ) => {
/**
* Parses formatting options and returns an object with options for selected formatting.
*
* @since n.e.x.t
* @since 1.103.0
*
* @param {(Intl.NumberFormatOptions|string)} options Formatting options or unit shorthand. Possible shorthand values are '%', 's', or a currency code.
* @return {Object} Formatting options.
Expand Down
2 changes: 1 addition & 1 deletion tests/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ export function provideTracking( registry, enabled = true ) {
/**
* Provides key metrics settings data to the given registry.
*
* @since n.e.x.t
* @since 1.103.0
*
* @param {Object} registry The registry to set up.
* @param {Object} [extraData] Extra data to merge with the default settings.
Expand Down

0 comments on commit 71e4393

Please sign in to comment.