Skip to content

Commit

Permalink
API Remove GraphQL
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jul 30, 2024
1 parent 0b20ec7 commit 08efa29
Show file tree
Hide file tree
Showing 54 changed files with 1,197 additions and 1,726 deletions.
10 changes: 0 additions & 10 deletions _config/graphql.yml

This file was deleted.

7 changes: 0 additions & 7 deletions _graphql/config.yml

This file was deleted.

23 changes: 0 additions & 23 deletions _graphql/interfaces.yml

This file was deleted.

39 changes: 0 additions & 39 deletions _graphql/mutations.yml

This file was deleted.

4 changes: 0 additions & 4 deletions _graphql/queries.yml

This file was deleted.

5 changes: 0 additions & 5 deletions _graphql/types/DescendantFileCount.yml

This file was deleted.

37 changes: 0 additions & 37 deletions _graphql/types/File.yml

This file was deleted.

24 changes: 0 additions & 24 deletions _graphql/types/FileFilterInput.yml

This file was deleted.

7 changes: 0 additions & 7 deletions _graphql/types/FileInput.yml

This file was deleted.

5 changes: 0 additions & 5 deletions _graphql/types/FileUsage.yml

This file was deleted.

40 changes: 0 additions & 40 deletions _graphql/types/Folder.yml

This file was deleted.

7 changes: 0 additions & 7 deletions _graphql/types/FolderInput.yml

This file was deleted.

12 changes: 0 additions & 12 deletions _graphql/types/PublicationNotice.yml

This file was deleted.

11 changes: 0 additions & 11 deletions _graphql/unions.yml

This file was deleted.

31 changes: 1 addition & 30 deletions client/dist/js/TinyMCE_sslink-file.js

Large diffs are not rendered by default.

31 changes: 1 addition & 30 deletions client/dist/js/TinyMCE_ssmedia.js

Large diffs are not rendered by default.

31 changes: 1 addition & 30 deletions client/dist/js/bundle.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions client/src/boot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import AssetAdminRouter from 'containers/AssetAdmin/AssetAdminRouter';
import applyTransform from 'boot/applyTransform';
import registerReducers from 'boot/registerReducers';
import registerComponents from 'boot/registerComponents';
import registerQueries from 'boot/registerQueries';
import { joinUrlPaths } from 'lib/urls';

document.addEventListener('DOMContentLoaded', () => {
Expand Down Expand Up @@ -37,7 +36,5 @@ document.addEventListener('DOMContentLoaded', () => {
],
});

registerQueries();

registerReducers();
});
16 changes: 0 additions & 16 deletions client/src/boot/registerQueries.js

This file was deleted.

10 changes: 8 additions & 2 deletions client/src/components/BulkActions/tests/BulkActions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ test('BulkActions canApply() shows an action button when canApply returns true',
callback: () => true,
},
],
items: [{ applies: true }]
items: [{ applies: true }],
onClearSelection: () => {},
onSelectAll: () => {},
}}
/>
);
Expand All @@ -59,7 +61,9 @@ test('BulkActions canApply() shows an action button when canApply returns false'
callback: () => true,
},
],
items: [{ applies: false }]
items: [{ applies: false }],
onClearSelection: () => {},
onSelectAll: () => {},
}}
/>
);
Expand All @@ -83,6 +87,8 @@ test('BulkActions getOptionsByValue() should return the option which matches the
},
],
items: [{ applies: true }],
onClearSelection: () => {},
onSelectAll: () => {},
}}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ test('GalleryItem getThumbnailStyles() should return backgroundImage with the co
expect(thumbnail.classList).toContain('gallery-item__thumbnail--small');
});

test('GalleryItem getThumbnailStyles() should return backgroundImage with the correct data-url when thumbnail is included in graphql body', () => {
test('GalleryItem getThumbnailStyles() should return backgroundImage with the correct data-url when thumbnail is included in json response', () => {
const { container } = render(
<GalleryItem {...makeProps({
item: {
Expand Down
Loading

0 comments on commit 08efa29

Please sign in to comment.