Skip to content

Commit

Permalink
Adds block kind
Browse files Browse the repository at this point in the history
  • Loading branch information
olih committed Jan 7, 2025
1 parent 783e565 commit 330d457
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion src/incy-wincy-model.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {describeEnum} from 'faora-kai';
import {z} from 'zod';
import { z } from 'zod';

const programmingLanguageKey = ['js', 'ts', 'dart', 'python'] as const;

Expand All @@ -13,3 +13,25 @@ const programmingLanguageLabels = {
const programmingLanguage = z

Check failure on line 13 in src/incy-wincy-model.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.x and macOS-latest

'programmingLanguage' is declared but its value is never read.

Check failure on line 13 in src/incy-wincy-model.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.x and ubuntu-latest

'programmingLanguage' is declared but its value is never read.
.enum(programmingLanguageKey)
.describe(describeEnum('Encryption strength:', programmingLanguageLabels));

const blockKindKey = [
'class',
'interface',
'const',
'function',
'test',
'other',
] as const;

const blockKindlabels = {
class: 'Class',
interface: 'Interface',
const: 'Constant',
function: 'Function',
test: 'Test',
other: 'Other',
};

const blockKind = z

Check failure on line 35 in src/incy-wincy-model.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.x and macOS-latest

'blockKind' is declared but its value is never read.

Check failure on line 35 in src/incy-wincy-model.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.x and ubuntu-latest

'blockKind' is declared but its value is never read.
.enum(blockKindKey)
.describe(describeEnum('Encryption strength:', blockKindlabels));

0 comments on commit 330d457

Please sign in to comment.