-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MMT-3552: Adds additional types, fixes prop type errors in tests, fix…
…es auth redirect
- Loading branch information
1 parent
43989f0
commit 9629d61
Showing
20 changed files
with
508 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ const CustomModal = ({ | |
} | ||
} | ||
Icon={FaTimes} | ||
iconTitle="Close" | ||
iconTitle="X icon" | ||
iconOnly | ||
> | ||
Close | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
import { GET_COLLECTION } from '../operations/queries/getCollection' | ||
import { GET_COLLECTIONS } from '../operations/queries/getCollections' | ||
import { GET_SERVICE } from '../operations/queries/getService' | ||
import { GET_SERVICES } from '../operations/queries/getServices' | ||
import { GET_TOOL } from '../operations/queries/getTool' | ||
import { GET_TOOLS } from '../operations/queries/getTools' | ||
import { GET_VARIABLE } from '../operations/queries/getVariable' | ||
import { GET_VARIABLES } from '../operations/queries/getVariables' | ||
|
||
const conceptTypeQueries = { | ||
Collection: GET_COLLECTION, | ||
Collections: GET_COLLECTIONS, | ||
Service: GET_SERVICE, | ||
Services: GET_SERVICES, | ||
Tool: GET_TOOL, | ||
Variable: GET_VARIABLE | ||
Tools: GET_TOOLS, | ||
Variable: GET_VARIABLE, | ||
Variables: GET_VARIABLES | ||
} | ||
|
||
export default conceptTypeQueries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Mapping of concept id types | ||
*/ | ||
const conceptTypes = { | ||
Collection: 'Collection', | ||
Collections: 'Collections', | ||
Service: 'Service', | ||
Services: 'Services', | ||
Tool: 'Tool', | ||
Tools: 'Tools', | ||
Variable: 'Variable', | ||
Variables: 'Variables' | ||
} | ||
|
||
export default conceptTypes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { gql } from '@apollo/client' | ||
|
||
export const GET_SERVICES = gql` | ||
query GetServices($params: ServicesInput) { | ||
services(params: $params) { | ||
count | ||
items { | ||
conceptId | ||
name | ||
longName | ||
providerId | ||
revisionDate | ||
} | ||
} | ||
} | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { gql } from '@apollo/client' | ||
|
||
export const GET_TOOLS = gql` | ||
query GetTools($params: ToolsInput) { | ||
tools(params: $params) { | ||
count | ||
items { | ||
conceptId | ||
name | ||
longName | ||
providerId | ||
revisionDate | ||
} | ||
} | ||
} | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { gql } from '@apollo/client' | ||
|
||
export const GET_VARIABLES = gql` | ||
query GetVariables($params: VariablesInput) { | ||
variables(params: $params) { | ||
count | ||
items { | ||
conceptId | ||
name | ||
longName | ||
providerId | ||
revisionDate | ||
} | ||
} | ||
} | ||
` |
Oops, something went wrong.