Skip to content

Commit

Permalink
Merge pull request #238 from cultuurnet/feature/III-3974-get-by-creator
Browse files Browse the repository at this point in the history
III-3974 Get events, places and organizers by creator
  • Loading branch information
simon-debruijn committed May 5, 2021
2 parents 1725d60 + fab9b2d commit c61e75f
Show file tree
Hide file tree
Showing 14 changed files with 610 additions and 212 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Expand Up @@ -18,6 +18,7 @@
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/return-await": "off",
"@typescript-eslint/consistent-type-imports": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -73,6 +73,7 @@
"@testing-library/react-hooks": "^5.0.3",
"@testing-library/user-event": "^12.8.0",
"@types/lodash": "^4.14.168",
"@types/react-query": "^1.1.2",
"@types/styled-components": "^5.1.9",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"babel-jest": "^26.6.1",
Expand Down
Expand Up @@ -2,6 +2,6 @@ const OfferStatus = {
AVAILABLE: 'Available',
TEMPORARILY_UNAVAILABLE: 'TemporarilyUnavailable',
UNAVAILABLE: 'Unavailable',
};
} as const;

export { OfferStatus };
5 changes: 1 addition & 4 deletions src/hooks/api/authenticated-query.js
Expand Up @@ -108,10 +108,7 @@ const prefetchAuthenticatedQuery = async ({ req, queryClient, ...options }) => {

/// /////////////////////////////////////////////////////////////////////////////////////////////

const useAuthenticatedMutation = ({
mutationFn = () => {},
...configuration
} = {}) => {
const useAuthenticatedMutation = ({ mutationFn, ...configuration }) => {
const router = useRouter();
const headers = useHeaders();

Expand Down
159 changes: 0 additions & 159 deletions src/hooks/api/events.js

This file was deleted.

0 comments on commit c61e75f

Please sign in to comment.