@@ -7,6 +7,38 @@ import { SettingsPath } from '@/types/SettingsPath';
7
7
import { FeatureFlagKey } from '~/generated-metadata/graphql' ;
8
8
import { SettingsPermissions } from '~/generated/graphql' ;
9
9
10
+ const SettingsApiKeys = lazy ( ( ) =>
11
+ import ( '~/pages/settings/developers/api-keys/SettingsApiKeys' ) . then (
12
+ ( module ) => ( {
13
+ default : module . SettingsApiKeys ,
14
+ } ) ,
15
+ ) ,
16
+ ) ;
17
+
18
+ const SettingsGraphQLPlayground = lazy ( ( ) =>
19
+ import (
20
+ '~/pages/settings/developers/playground/SettingsGraphQLPlayground'
21
+ ) . then ( ( module ) => ( {
22
+ default : module . SettingsGraphQLPlayground ,
23
+ } ) ) ,
24
+ ) ;
25
+
26
+ const SettingsRestPlayground = lazy ( ( ) =>
27
+ import ( '~/pages/settings/developers/playground/SettingsRestPlayground' ) . then (
28
+ ( module ) => ( {
29
+ default : module . SettingsRestPlayground ,
30
+ } ) ,
31
+ ) ,
32
+ ) ;
33
+
34
+ const SettingsWebhooks = lazy ( ( ) =>
35
+ import (
36
+ '~/pages/settings/developers/webhooks/components/SettingsWebhooks'
37
+ ) . then ( ( module ) => ( {
38
+ default : module . SettingsWebhooks ,
39
+ } ) ) ,
40
+ ) ;
41
+
10
42
const SettingsAccountsCalendars = lazy ( ( ) =>
11
43
import ( '~/pages/settings/accounts/SettingsAccountsCalendars' ) . then (
12
44
( module ) => ( {
@@ -137,12 +169,6 @@ const SettingsBilling = lazy(() =>
137
169
} ) ) ,
138
170
) ;
139
171
140
- const SettingsDevelopers = lazy ( ( ) =>
141
- import ( '~/pages/settings/developers/SettingsDevelopers' ) . then ( ( module ) => ( {
142
- default : module . SettingsDevelopers ,
143
- } ) ) ,
144
- ) ;
145
-
146
172
const SettingsIntegrations = lazy ( ( ) =>
147
173
import ( '~/pages/settings/integrations/SettingsIntegrations' ) . then (
148
174
( module ) => ( {
@@ -376,9 +402,15 @@ export const SettingsRoutes = ({
376
402
/>
377
403
}
378
404
>
405
+ < Route path = { SettingsPath . APIs } element = { < SettingsApiKeys /> } />
406
+ < Route path = { SettingsPath . Webhooks } element = { < SettingsWebhooks /> } />
407
+ < Route
408
+ path = { `${ SettingsPath . GraphQLPlayground } ` }
409
+ element = { < SettingsGraphQLPlayground /> }
410
+ />
379
411
< Route
380
- path = { SettingsPath . Developers }
381
- element = { < SettingsDevelopers /> }
412
+ path = { ` ${ SettingsPath . RestPlayground } /*` }
413
+ element = { < SettingsRestPlayground /> }
382
414
/>
383
415
< Route
384
416
path = { SettingsPath . DevelopersNewApiKey }
0 commit comments