Skip to content

Commit

Permalink
Fixed Zitadel config (#127)
Browse files Browse the repository at this point in the history
* Fixed Zitadel config

* Fixed Zitadel config

---------

Co-authored-by: Stanislav Kiselev <“[email protected]”>
  • Loading branch information
stankis and Stanislav Kiselev authored Jun 11, 2024
1 parent edf307d commit d28d25a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
1 change: 1 addition & 0 deletions api/typings.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {SharedAppConfig} from '../typings/nodekit';
32 changes: 17 additions & 15 deletions typings/nodekit.d.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
import {CtxInfo} from '../src/types/ctx';
import {FeaturesConfig} from '../src/components/features/types';
declare module '@gravity-ui/nodekit' {
interface AppConfig {
features: FeaturesConfig;
dynamicFeaturesEndpoint?: string;

multitenant: boolean;
dlsEnabled: boolean;
tenantIdOverride?: string;
export interface SharedAppConfig {
features: FeaturesConfig;
dynamicFeaturesEndpoint?: string;

accessServiceEnabled: boolean;
accessBindingsServiceEnabled: boolean;
multitenant: boolean;
dlsEnabled: boolean;
tenantIdOverride?: string;

masterToken: string[];
accessServiceEnabled: boolean;
accessBindingsServiceEnabled: boolean;

zitadelEnabled: boolean;
zitadelUri: string;
clientId: string;
clientSecret: string;
}
masterToken: string[];

zitadelEnabled?: boolean;
zitadelUri?: string;
clientId?: string;
clientSecret?: string;
}
declare module '@gravity-ui/nodekit' {
export interface AppConfig extends SharedAppConfig {}

interface AppDynamicConfig {
features?: FeaturesConfig;
Expand Down

0 comments on commit d28d25a

Please sign in to comment.