This commit is contained in:
2025-03-18 00:07:57 +01:00
commit f378eeb265
14 changed files with 21209 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
node_modules
+1604
View File
File diff suppressed because it is too large Load Diff
+3428
View File
File diff suppressed because one or more lines are too long
+3428
View File
File diff suppressed because one or more lines are too long
+3428
View File
File diff suppressed because one or more lines are too long
+1490
View File
File diff suppressed because it is too large Load Diff
+7
View File
@@ -0,0 +1,7 @@
import { defineConfig } from '@hey-api/openapi-ts';
export default defineConfig({
input: 'https://run.lauf-fuer-kaya.de/api/docs/openapi.json',
output: 'src',
plugins: ['@hey-api/client-fetch'],
});
+34
View File
@@ -0,0 +1,34 @@
{
"type": "module",
"name": "@odit/lfk-client",
"version": "0.0.1",
"description": "",
"scripts": {
"build": "openapi-ts && unbuild"
},
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"keywords": [],
"files": [
"./package.json",
"./dist"
],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.6.4",
"dependencies": {
"@hey-api/client-fetch": "^0.8.3"
},
"devDependencies": {
"@hey-api/openapi-ts": "^0.64.12",
"unbuild": "^3.5.0"
}
}
+2191
View File
File diff suppressed because it is too large Load Diff
+18
View File
@@ -0,0 +1,18 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { ClientOptions } from './types.gen';
import { type Config, type ClientOptions as DefaultClientOptions, createClient, createConfig } from '@hey-api/client-fetch';
/**
* The `createClientConfig()` function will be called on client initialization
* and the returned object will become the client's initial configuration.
*
* You may want to initialize your client this way instead of calling
* `setConfig()`. This is useful for example if you're using Next.js
* to ensure your client always has the correct values.
*/
export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
export const client = createClient(createConfig<ClientOptions>({
baseUrl: 'https://run.lauf-fuer-kaya.de'
}));
+3
View File
@@ -0,0 +1,3 @@
// This file is auto-generated by @hey-api/openapi-ts
export * from './types.gen';
export * from './sdk.gen';
+2070
View File
File diff suppressed because one or more lines are too long
+3490
View File
File diff suppressed because it is too large Load Diff
+17
View File
@@ -0,0 +1,17 @@
{
"compilerOptions": {
"rootDir": ".",
"target": "es2018",
"module": "esnext",
"lib": [
"esnext"
],
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"skipDefaultLibCheck": true
}
}