feat: Backend implementation for source plugin usage and configuration

This commit is contained in:
Aleksi Lassila
2024-12-05 19:33:18 +02:00
parent ffc4197832
commit 9b6ff3379e
39 changed files with 2244 additions and 1006 deletions

View File

@@ -0,0 +1,13 @@
import { generateApi } from 'swagger-typescript-api';
import * as path from 'path';
console.log(path.join(require.main.path, '..', 'plugins'));
generateApi({
name: 'jellyfin.openapi.ts',
url: 'https://api.jellyfin.org/openapi/jellyfin-openapi-stable.json',
output: __dirname,
// generateClient: true,
// generateRouteTypes: false,
// sortTypes: true,
httpClientType: 'axios',
});