import { DocumentNode } from 'graphql'; /** * Represents an unique ID made of 32 characters */ export declare type Uuid = string; /** * Represents an entity with Uuid */ export interface IdentifiableEntity { id: string | Uuid; } export declare function isIdentifiableEntity(value: any): value is IdentifiableEntity; /** * Represents an entity that must not have id */ export interface UnidentifiableEntity { } export declare type Entity = IdentifiableEntity | UnidentifiableEntity; export interface Translatable { translations: T[]; } export interface Translation { locale: string; [field: string]: string; } export interface Language extends Translatable { code: string; translations: LanguageTranslation[]; } interface LanguageTranslation extends Translation { name: string; } export declare type Query = DocumentNode; export declare type Mutation = DocumentNode; export declare type Fragment = DocumentNode; export {};