Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d5842f0
Generate types from (locally fixed openapi spec as the current spec i…
correct-horse-battery-bench Mar 19, 2026
bfe3c66
Update generated schemas and types and use them in responses (tempora…
correct-horse-battery-bench Mar 23, 2026
c1248d2
Add custom stricter CrackerBinaryType as JCrackerBinaryType as cracke…
correct-horse-battery-bench Mar 23, 2026
d8c9529
Regenerate types with correct global permissions responses
correct-horse-battery-bench Mar 23, 2026
7bdfb02
Add some custom types to circumvent bad zod inference due to strict m…
correct-horse-battery-bench Mar 23, 2026
aabbf1c
Fix type errors due to strict mode being off
correct-horse-battery-bench Mar 24, 2026
3dde376
Adjust hand written schema and regenerate openapi spec
correct-horse-battery-bench Mar 24, 2026
f799a91
Remove type assertions, fix two endpoint usages that pull the wrong a…
correct-horse-battery-bench Mar 24, 2026
8407dba
Remvoe handwritten zod schemas by changing json-api types
correct-horse-battery-bench Mar 24, 2026
7c64a6e
Remove remaining type assertions
correct-horse-battery-bench Mar 24, 2026
9e5f8e8
Merge branch 'master' into 2001-task-generate-validation-schemas-agai…
correct-horse-battery-bench Mar 24, 2026
eab1ca4
Run prettier and linter
correct-horse-battery-bench Mar 24, 2026
22b00e8
Run prettier and linter
correct-horse-battery-bench Mar 24, 2026
34b3bb0
Fix tests
correct-horse-battery-bench Mar 24, 2026
bc22825
Fix tests
correct-horse-battery-bench Mar 24, 2026
05612c8
Merge branch 'master' into 2001-task-generate-validation-schemas-agai…
correct-horse-battery-bench Apr 7, 2026
d6a6c47
Rerun generation with updated dev branch
correct-horse-battery-bench Apr 7, 2026
ef12ff8
Fix typescript typechking having heap overflow with large generated z…
correct-horse-battery-bench Apr 7, 2026
1f5b142
Fix pagination error due to old types being out of sync when introduc…
correct-horse-battery-bench Apr 7, 2026
9bfa4aa
Do not throw in production and alert in dev environment if injected
correct-horse-battery-bench Apr 7, 2026
f4b73eb
Regenerate schemas after backen fix
correct-horse-battery-bench Apr 7, 2026
bed45dc
Recreate package lock file
correct-horse-battery-bench Apr 7, 2026
9219355
Rerun linter and prettier
correct-horse-battery-bench Apr 7, 2026
d610564
Fix remaining linter errors
correct-horse-battery-bench Apr 7, 2026
ce35c83
Rerun prettier
correct-horse-battery-bench Apr 7, 2026
73a0309
Fix tests
correct-horse-battery-bench Apr 7, 2026
e31e77f
Split schemas and types into files
correct-horse-battery-bench Apr 8, 2026
abdf6b1
Split schemas and types into files
correct-horse-battery-bench Apr 8, 2026
e5b346b
Split schemas and types into files
correct-horse-battery-bench Apr 8, 2026
e65f59a
Fix linting errors
correct-horse-battery-bench Apr 8, 2026
ad9f2e0
Include cracker version in mask load data as otherwise the specified …
correct-horse-battery-bench Apr 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .spectral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends:
- https://raw.githubusercontent.com/jmlue42/spectral-jsonapi-ruleset/main/.spectral.yml
26 changes: 13 additions & 13 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { defineConfig, globalIgnores } from "eslint/config";
import _import from "eslint-plugin-import";
import { fixupPluginRules } from "@eslint/compat";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";
import { defineConfig, globalIgnores } from 'eslint/config';
import _import from 'eslint-plugin-import';
import { fixupPluginRules } from '@eslint/compat';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import js from '@eslint/js';
import { FlatCompat } from '@eslint/eslintrc';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default defineConfig([
globalIgnores(['projects/**/*']),
globalIgnores(['projects/**/*', 'src/generated/**/*']),
{
files: ['**/*.ts'],

Expand Down Expand Up @@ -88,7 +88,7 @@ export default defineConfig([
'error',
{
selector: "MemberExpression[object.property.name='location'][property.name='reload']",
message: "Use ReloadService.reloadPage() instead of window.location.reload()."
message: 'Use ReloadService.reloadPage() instead of window.location.reload().'
}
],

Expand Down Expand Up @@ -165,5 +165,5 @@ export default defineConfig([
rules: {
'no-restricted-syntax': 'off'
}
},
}
]);
9 changes: 9 additions & 0 deletions openapi-ts.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from '@hey-api/openapi-ts';

export default defineConfig({
input: './openapi.json',
output: {
path: './src/generated/api'
},
plugins: ['@hey-api/typescript', 'zod']
});
Loading
Loading