Created
October 10, 2018 01:44
-
-
Save jtreminio/8d5254b8011bdd6c305788656e3431f1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const ServiceCategory = { | |
"Application Engine": 0, | |
"Web Server": 0, | |
"Database Engine": 0, | |
"Other": 0, | |
}; | |
const ServiceCategories = Object.keys(ServiceCategory); | |
interface ServiceType { | |
name: string, | |
slug: string, | |
image: string, | |
organization: string, | |
versions: string[], | |
url: string, | |
logo: string, | |
bgcolor: string, | |
category: keyof typeof ServiceCategory, | |
} | |
const ServiceTypes: ServiceType[] = [ | |
{ | |
name: "PHP", | |
slug: "php", | |
image: "jtreminio/php", | |
organization: "jtreminio", | |
versions: [ | |
"7.2", | |
"7.3", | |
"7.1", | |
"7.0", | |
"5.6", | |
], | |
url: "https://hub.docker.com/r/jtreminio/php/", | |
logo: "/img/service-logos/php.svg", | |
bgcolor: "indigo", | |
category: "Application Engine", | |
}, | |
]; | |
export { | |
Service, | |
ServiceCategories, | |
ServiceType, | |
ServiceTypes, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment