Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
module.exports = {
name: 'MenusCard',
publisher: 'Robert J Dorn',
cards: [{
type: 'MenusGraphQLCard',
source: './src/cards/MenusGraphQLCard',
title: 'Menus GraphQL Card',
displayCardType: 'Menus GraphQL Card',
description: 'This is a test card that will display a simplified view of the dining court locations',
pageRoute: {
route: '/',
excludeClickSelectors: ['a', '#content', '.MuiCardContent-root', 'button']
}
},
{
type: 'RJDPersonsGraphQLCard',
source: './src/cards/PersonsGraphQL',
title: 'RJD - Persons GraphQL Card',
miniCardIcon: 'user',
category: 'work',
displayCardType: 'RJD Persons GraphQL Card',
description: 'This is an example persons graphql card.',
queries: {
'get-persons': [
{
resourceVersions: {
persons: { min: 12 },
},
query:
`query getPerson ($personId: ID) {
persons: {persons} (
sort: { names: { lastName: ASC }}
filter: { id: {EQ: $personId }}
)
{
edges {
node {
id
names {
firstName
lastName
}
}
}
}
}`
}
]
}
}, {
type: 'IT Service Status Widget',
source: './src/cards/PurdueITStatus',
title: 'IT Service Status',
miniCardIcon: 'configuration',
category: 'work',
displayCardType: 'IT Service Status',
description: 'This card displays the current status of IT services.',
pageRoute: {
route: '/',
excludeClickSelectors: ['a', 'button', '#it-status']
}
}
],
page: {
source: './src/page/router.jsx'
}
};