-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
3,361 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {describeEnum} from 'faora-kai'; | ||
import {z} from 'zod'; | ||
|
||
const programmingLanguageKey = ['js', 'ts', 'dart', 'python'] as const; | ||
|
||
const programmingLanguageLabels = { | ||
js: 'Javascript', | ||
ts: 'Typescript', | ||
dart: 'Dart', | ||
python: 'Python', | ||
}; | ||
|
||
const programmingLanguage = z | ||
Check failure on line 13 in src/incy-wincy-model.ts GitHub Actions / Build, lint, and test on Node 18.x and macOS-latest
|
||
.enum(programmingLanguageKey) | ||
.describe(describeEnum('Encryption strength:', programmingLanguageLabels)); |
Oops, something went wrong.