Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add private tag to INSERTER_UTILITY_* constants #15423

Merged
merged 2 commits into from
May 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions packages/block-editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,28 @@ import {
hasChildBlocksWithInserterSupport,
} from '@wordpress/blocks';

/***
* Module constants
// Module constants

/**
* @private
*/
export const INSERTER_UTILITY_HIGH = 3;

/**
oandregal marked this conversation as resolved.
Show resolved Hide resolved
* @private
*/
export const INSERTER_UTILITY_MEDIUM = 2;

/**
* @private
*/
export const INSERTER_UTILITY_LOW = 1;

/**
* @private
*/
export const INSERTER_UTILITY_NONE = 0;

const MILLISECONDS_PER_HOUR = 3600 * 1000;
const MILLISECONDS_PER_DAY = 24 * 3600 * 1000;
const MILLISECONDS_PER_WEEK = 7 * 24 * 3600 * 1000;
Expand Down