@kano/kbc-utils
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "@kano/kbc-utils", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Utilities functionality for boilerplate mini apps", | ||
@@ -27,3 +27,3 @@ "author": "Kano Computing", | ||
}, | ||
"gitHead": "9b2b779a6b4846488907feb7a4b8dbcf0954e63e" | ||
"gitHead": "a907ad41f6b74504a9949b34ba8b34ba83d3deb6" | ||
} |
@@ -1,3 +0,3 @@ | ||
export type AllAppNames = 'kano-world' | 'make-art' | 'kano-code' | 'make-apps' | 'kano-draw' | 'pixel-motion' | 'kano-create' | 'kano-world-studio' | 'make-art-studio' | 'kano-code-studio' | 'pixel-motion-studio' | 'kano-create-studio' | 'guardian' | 'artopia' | 'how-computers-work'; | ||
export type SafeAppNames = 'kano-world' | 'kano-code' | 'make-art' | 'pixel-motion' | 'kano-create' | 'guardian' | 'artopia' | 'how-computers-work'; | ||
export type AllAppNames = 'kano-world' | 'make-art' | 'kano-code' | 'make-apps' | 'kano-draw' | 'pixel-motion' | 'kano-create' | 'kano-world-studio' | 'make-art-studio' | 'kano-code-studio' | 'pixel-motion-studio' | 'kano-create-studio' | 'guardian'; | ||
export type SafeAppNames = 'kano-world' | 'kano-code' | 'make-art' | 'pixel-motion' | 'kano-create' | 'guardian'; | ||
@@ -10,3 +10,2 @@ export const APP_LABELS: { [name: string]: string } = { | ||
'guardian': 'Guardian Site', | ||
'how-computers-work': 'How Computers Work' | ||
}; | ||
@@ -17,3 +16,2 @@ | ||
case 'guardian': | ||
case 'how-computers-work': | ||
case 'kano-world': | ||
@@ -65,5 +63,1 @@ case 'kano-world-studio': | ||
}; | ||
export const isHowComputersWork = (KB_APP_NAME: AllAppNames | string) => { | ||
return sanitizeAppName(KB_APP_NAME as AllAppNames) === 'how-computers-work'; | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25102
608