|
1 | 1 | /* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
2 | 2 |
|
3 |
| -const { join } = require('path'); |
| 3 | +const { join } = require('node:path'); |
4 | 4 | const { npm2yarn2pnpm } = require('@sapphire/docusaurus-plugin-npm2yarn2pnpm');
|
5 | 5 | const { ts2esm2cjs } = require('@sapphire/docusaurus-plugin-ts2esm2cjs');
|
6 | 6 | const lightCodeTheme = require('prism-react-renderer/themes/github');
|
@@ -62,22 +62,10 @@ const config = {
|
62 | 62 | {
|
63 | 63 | path: './',
|
64 | 64 | entry: {
|
65 |
| - globals: { path: 'globals.ts', label: 'Global Types' }, |
66 |
| - 'gateway/common': { path: 'gateway/common.ts', label: 'Gateway - Common Types' }, |
67 |
| - 'payloads/common': { path: 'payloads/common.ts', label: 'Payloads - Common Types' }, |
68 |
| - 'rest/common': { path: 'rest/common.ts', label: 'REST - Common Types' }, |
69 |
| - 'rpc/common': { path: 'rpc/common.ts', label: 'RPC - Common Types' }, |
70 |
| - v6: { path: 'v6.ts', label: 'API v6 - Deprecated' }, |
71 |
| - v8: { path: 'v8.ts', label: 'API v8 - Deprecated' }, |
72 |
| - v9: { path: 'v9.ts', label: 'API v9' }, |
73 | 65 | v10: { path: 'v10.ts', label: 'API v10' },
|
74 |
| - 'rpc/v8': { path: 'rpc/v8.ts', label: 'RPC v8' }, |
75 |
| - 'rpc/v9': { path: 'rpc/v9.ts', label: 'RPC v9' }, |
76 |
| - 'rpc/v10': { path: 'rpc/v10.ts', label: 'RPC v10' }, |
| 66 | + v9: { path: 'v9.ts', label: 'API v9' }, |
77 | 67 | 'voice/v4': { path: 'voice/v4.ts', label: 'Voice v4' },
|
78 |
| - 'utils/v8': { path: 'utils/v8.ts', label: 'Utils v8' }, |
79 |
| - 'utils/v9': { path: 'utils/v9.ts', label: 'Utils v9' }, |
80 |
| - 'utils/v10': { path: 'utils/v10.ts', label: 'Utils v10' } |
| 68 | + globals: { path: 'globals.ts', label: 'Global Types' }, |
81 | 69 | },
|
82 | 70 | slug: 'discord-api-types'
|
83 | 71 | }
|
|
0 commit comments