Fix errors
This commit is contained in:
parent
7d225d7129
commit
a1bf6d883a
2 changed files with 23 additions and 22 deletions
|
@ -21,11 +21,6 @@ interface Project {
|
|||
tools: Tool[]
|
||||
}
|
||||
|
||||
export const PROJECTS: Project[] = [
|
||||
SiteWebLimouzik, LimouzikV2, LimouzikV3, LimouzikV4,
|
||||
Itamelia, NWE, Doorsav, PerAnkh, Ubermed, SJLM, Scopema, StepReadyGo, Machoke
|
||||
]
|
||||
|
||||
// LIMOUZIK
|
||||
|
||||
export const SiteWebLimouzik: Project = {
|
||||
|
@ -145,4 +140,9 @@ export const Machoke: Project = {
|
|||
start_date: new Date('2017-05-01'),
|
||||
end_date: new Date('2019-07-31'),
|
||||
tools: [Rust, Rails, Tailwind, Hotwire]
|
||||
}
|
||||
}
|
||||
|
||||
export const PROJECTS: Project[] = [
|
||||
SiteWebLimouzik, LimouzikV2, LimouzikV3, LimouzikV4,
|
||||
Itamelia, NWE, Doorsav, PerAnkh, Ubermed, SJLM, Scopema, StepReadyGo, Machoke
|
||||
]
|
|
@ -58,22 +58,6 @@ export default Tool
|
|||
|
||||
// RUBY
|
||||
|
||||
export const TOOLS: Tool[] = [
|
||||
Ruby, Rails, Php, Symfony, Sylius, Javascript, Typescript, React, Hotwire, Dart, Flutter, Rust,
|
||||
CSS, SASS, Tailwind, Bootstrap,
|
||||
Webpack, RequireJS, Vite,
|
||||
Java, OpenGL, LWJGL, CSharp, Unity3D, GodotEngine
|
||||
]
|
||||
|
||||
/**
|
||||
* @param types
|
||||
* @example
|
||||
* filterToolByTypes(ToolType.FRAMEWORK | ToolType.LANGUAGE)
|
||||
*/
|
||||
export function filterToolByTypes(types: number) {
|
||||
TOOLS.filter((t) => t.type.valueOf() & types > 0)
|
||||
}
|
||||
|
||||
export const Ruby: Tool = {
|
||||
type: ToolType.LANGUAGE,
|
||||
name: 'Ruby',
|
||||
|
@ -407,4 +391,21 @@ export const Electron: Tool = {
|
|||
url: 'https://www.electronjs.org/',
|
||||
depend_tools: [],
|
||||
developed_platforms: [ToolPlatform.DESKTOP]
|
||||
}
|
||||
|
||||
|
||||
export const TOOLS: Tool[] = [
|
||||
Ruby, Rails, Php, Symfony, Sylius, Javascript, Typescript, React, Hotwire, Dart, Flutter, Rust,
|
||||
CSS, SASS, Tailwind, Bootstrap,
|
||||
Webpack, RequireJS, Vite,
|
||||
Java, OpenGL, LWJGL, CSharp, Unity3D, GodotEngine
|
||||
]
|
||||
|
||||
/**
|
||||
* @param types
|
||||
* @example
|
||||
* filterToolByTypes(ToolType.FRAMEWORK | ToolType.LANGUAGE)
|
||||
*/
|
||||
export function filterToolByTypes(types: number) {
|
||||
TOOLS.filter((t) => (t.type.valueOf() & types) > 0)
|
||||
}
|
Loading…
Reference in a new issue