All checks were successful
Build Docker Image / build (push) Successful in 5m8s
- Remove all Storybook files and configuration - Add type declarations for @vueuse/core, @formkit/core, vue3-apexcharts - Fix TypeScript configuration (typeRoots, include paths) - Fix Sentry config - move settings to plugin - Fix nullable prop assignments with ?? operator - Fix type narrowing issues with explicit type assertions - Fix Card component linkable computed properties - Update codegen with operationResultSuffix - Fix GraphQL operation type definitions
87 lines
6.3 KiB
TypeScript
87 lines
6.3 KiB
TypeScript
import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
||
export type Maybe<T> = T | null;
|
||
export type InputMaybe<T> = Maybe<T>;
|
||
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
||
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
||
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
||
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
|
||
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
||
/** All built-in and custom scalars, mapped to their actual values */
|
||
export type Scalars = {
|
||
ID: { input: string; output: string; }
|
||
String: { input: string; output: string; }
|
||
Boolean: { input: boolean; output: boolean; }
|
||
Int: { input: number; output: number; }
|
||
Float: { input: number; output: number; }
|
||
DateTime: { input: string; output: string; }
|
||
};
|
||
|
||
/** Full company data (requires auth). */
|
||
export type CompanyFullType = {
|
||
__typename?: 'CompanyFullType';
|
||
activities?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
||
address?: Maybe<Scalars['String']['output']>;
|
||
capital?: Maybe<Scalars['String']['output']>;
|
||
companyType?: Maybe<Scalars['String']['output']>;
|
||
director?: Maybe<Scalars['String']['output']>;
|
||
inn?: Maybe<Scalars['String']['output']>;
|
||
isActive?: Maybe<Scalars['Boolean']['output']>;
|
||
lastUpdated?: Maybe<Scalars['DateTime']['output']>;
|
||
name?: Maybe<Scalars['String']['output']>;
|
||
ogrn?: Maybe<Scalars['String']['output']>;
|
||
registrationYear?: Maybe<Scalars['Int']['output']>;
|
||
sources?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
||
};
|
||
|
||
/** Public company data (teaser). */
|
||
export type CompanyTeaserType = {
|
||
__typename?: 'CompanyTeaserType';
|
||
/** Company type: ООО, АО, ИП, etc. */
|
||
companyType?: Maybe<Scalars['String']['output']>;
|
||
/** Is company active */
|
||
isActive?: Maybe<Scalars['Boolean']['output']>;
|
||
/** Year of registration */
|
||
registrationYear?: Maybe<Scalars['Int']['output']>;
|
||
/** Number of data sources */
|
||
sourcesCount?: Maybe<Scalars['Int']['output']>;
|
||
};
|
||
|
||
/** Public queries - no authentication required. */
|
||
export type PublicQuery = {
|
||
__typename?: 'PublicQuery';
|
||
health?: Maybe<Scalars['String']['output']>;
|
||
/** Get full KYC profile data by UUID (requires auth) */
|
||
kycProfileFull?: Maybe<CompanyFullType>;
|
||
/** Get public KYC profile teaser data by UUID */
|
||
kycProfileTeaser?: Maybe<CompanyTeaserType>;
|
||
};
|
||
|
||
|
||
/** Public queries - no authentication required. */
|
||
export type PublicQueryKycProfileFullArgs = {
|
||
profileUuid: Scalars['String']['input'];
|
||
};
|
||
|
||
|
||
/** Public queries - no authentication required. */
|
||
export type PublicQueryKycProfileTeaserArgs = {
|
||
profileUuid: Scalars['String']['input'];
|
||
};
|
||
|
||
export type GetKycProfileFullQueryVariables = Exact<{
|
||
profileUuid: Scalars['String']['input'];
|
||
}>;
|
||
|
||
|
||
export type GetKycProfileFullQueryResult = { __typename?: 'PublicQuery', kycProfileFull?: { __typename?: 'CompanyFullType', inn?: string | null, ogrn?: string | null, name?: string | null, companyType?: string | null, registrationYear?: number | null, isActive?: boolean | null, address?: string | null, director?: string | null, capital?: string | null, activities?: Array<string | null> | null, sources?: Array<string | null> | null, lastUpdated?: string | null } | null };
|
||
|
||
export type GetKycProfileTeaserQueryVariables = Exact<{
|
||
profileUuid: Scalars['String']['input'];
|
||
}>;
|
||
|
||
|
||
export type GetKycProfileTeaserQueryResult = { __typename?: 'PublicQuery', kycProfileTeaser?: { __typename?: 'CompanyTeaserType', companyType?: string | null, registrationYear?: number | null, isActive?: boolean | null, sourcesCount?: number | null } | null };
|
||
|
||
|
||
export const GetKycProfileFullDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetKycProfileFull"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"profileUuid"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kycProfileFull"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"profileUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"profileUuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inn"}},{"kind":"Field","name":{"kind":"Name","value":"ogrn"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"companyType"}},{"kind":"Field","name":{"kind":"Name","value":"registrationYear"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"director"}},{"kind":"Field","name":{"kind":"Name","value":"capital"}},{"kind":"Field","name":{"kind":"Name","value":"activities"}},{"kind":"Field","name":{"kind":"Name","value":"sources"}},{"kind":"Field","name":{"kind":"Name","value":"lastUpdated"}}]}}]}}]} as unknown as DocumentNode<GetKycProfileFullQueryResult, GetKycProfileFullQueryVariables>;
|
||
export const GetKycProfileTeaserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetKycProfileTeaser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"profileUuid"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kycProfileTeaser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"profileUuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"profileUuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"companyType"}},{"kind":"Field","name":{"kind":"Name","value":"registrationYear"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"sourcesCount"}}]}}]}}]} as unknown as DocumentNode<GetKycProfileTeaserQueryResult, GetKycProfileTeaserQueryVariables>; |