Skip to content

Commit

Permalink
Move block store into nested API directory
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Apr 11, 2017
1 parent d0e3389 commit 376d25d
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 18 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions blocks/api/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* External dependencies
*/
import * as query from 'hpq';

export { query };
export { default as Editable } from './components/editable';
export { default as parse } from './parser';
export { default as serialize } from './serializer';
export { getCategories } from './categories';
export {
registerBlock,
unregisterBlock,
setUnknownTypeHandler,
getUnknownTypeHandler,
getBlockSettings,
getBlocks
} from './registration';
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 1 addition & 18 deletions blocks/index.js
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
/**
* External dependencies
*/
import * as query from 'hpq';

export { query };
export { default as Editable } from './components/editable';
export { default as parse } from './parser';
export { default as serialize } from './serializer';
export { getCategories } from './categories';
export {
registerBlock,
unregisterBlock,
setUnknownTypeHandler,
getUnknownTypeHandler,
getBlockSettings,
getBlocks
} from './registration';
export * from './api';

0 comments on commit 376d25d

Please sign in to comment.