mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
Merge pull request #43 from dbeaver/fix-gql-schema
fix(core): gql schema
This commit is contained in:
@@ -27,7 +27,7 @@ type AuthProviderInfo {
|
||||
|
||||
#configurationParameters: [ObjectPropertyInfo]!
|
||||
|
||||
credentialParameters: [AuthCredentialInfo]!
|
||||
credentialParameters: [AuthCredentialInfo!]!
|
||||
}
|
||||
|
||||
type UserAuthInfo {
|
||||
@@ -52,6 +52,6 @@ extend type Query {
|
||||
|
||||
sessionUser: UserAuthInfo
|
||||
|
||||
authProviders: [AuthProviderInfo]!
|
||||
authProviders: [AuthProviderInfo!]!
|
||||
|
||||
}
|
||||
|
||||
@@ -24,7 +24,8 @@ generates:
|
||||
object: false
|
||||
maybeValue: T
|
||||
scalars:
|
||||
Object: "{ [key: string]: any }"
|
||||
Object: any
|
||||
JSON: "{ [key: string]: any }"
|
||||
DateTime: any
|
||||
hooks:
|
||||
afterAllFileWrite:
|
||||
|
||||
@@ -10,7 +10,7 @@ export type Scalars = {
|
||||
Boolean: boolean;
|
||||
Int: number;
|
||||
Float: number;
|
||||
Object: { [key: string]: any };
|
||||
Object: any;
|
||||
DateTime: any;
|
||||
};
|
||||
|
||||
@@ -18,7 +18,7 @@ export type Scalars = {
|
||||
export type Query = {
|
||||
authLogin: UserAuthInfo;
|
||||
authLogout?: Maybe<Scalars['Boolean']>;
|
||||
authProviders: Array<Maybe<AuthProviderInfo>>;
|
||||
authProviders: Array<AuthProviderInfo>;
|
||||
connectionState: ConnectionInfo;
|
||||
dataSourceList: Array<DataSourceInfo>;
|
||||
dataTransferAvailableStreamProcessors: Array<DataTransferProcessorInfo>;
|
||||
@@ -560,7 +560,7 @@ export type AuthProviderInfo = {
|
||||
icon?: Maybe<Scalars['ID']>;
|
||||
description?: Maybe<Scalars['String']>;
|
||||
defaultProvider?: Maybe<Scalars['Boolean']>;
|
||||
credentialParameters: Array<Maybe<AuthCredentialInfo>>;
|
||||
credentialParameters: Array<AuthCredentialInfo>;
|
||||
};
|
||||
|
||||
export type UserAuthInfo = {
|
||||
@@ -741,10 +741,10 @@ export type AuthLogoutQuery = Pick<Query, 'authLogout'>;
|
||||
export type GetAuthProvidersQueryVariables = {};
|
||||
|
||||
|
||||
export type GetAuthProvidersQuery = { providers: Array<Maybe<(
|
||||
export type GetAuthProvidersQuery = { providers: Array<(
|
||||
Pick<AuthProviderInfo, 'id' | 'label' | 'icon' | 'description' | 'defaultProvider'>
|
||||
& { credentialParameters: Array<Maybe<Pick<AuthCredentialInfo, 'id' | 'displayName' | 'description' | 'admin' | 'user' | 'possibleValues' | 'encryption'>>> }
|
||||
)>>; };
|
||||
& { credentialParameters: Array<Pick<AuthCredentialInfo, 'id' | 'displayName' | 'description' | 'admin' | 'user' | 'possibleValues' | 'encryption'>> }
|
||||
)>; };
|
||||
|
||||
export type GetSessionUserQueryVariables = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user