Skip to content

Commit

Permalink
ENHANCEMENT: Extensible readFiles query (#847)
Browse files Browse the repository at this point in the history
* POC for injectable asset-admin

* Use new API for injectable queries

* Build

* Fix tests

* Rebase against 1

* Make gallery item queries injecatable

* Build

* Update doc block type

* Fix nested form error. Use div in place of form tag
  • Loading branch information
Aaron Carlino authored Oct 17, 2018
1 parent b6dc292 commit 902fec0
Show file tree
Hide file tree
Showing 11 changed files with 97 additions and 60 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/TinyMCE_ssembed.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/js/TinyMCE_sslink-file.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/dist/js/TinyMCE_ssmedia.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion client/src/boot/registerQueries.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import Injector from 'lib/Injector';
import { fileInterface, file, folder } from 'lib/fileFragments';
import readFilesQuery from 'state/files/readFilesQuery';

const registerQueries = () => {
Injector.query.registerFragment('FileInterfaceFields', fileInterface);
Injector.query.registerFragment('FileFields', file);
Injector.query.registerFragment('FolderFields', folder);
Injector.query.register('ReadFilesQuery', readFilesQuery);
};

export default registerQueries;
Loading

0 comments on commit 902fec0

Please sign in to comment.