it_solutions_test/schema.gql
Илья Братских bd22447bd3 Add a GraphQL digital card that migrates and seeds itself on startup.
The NestJS API serves the public profile through Apollo Sandbox and loads only the relations selected by the query.
2026-11-02 05:30:54 +03:00

125 lines
2.5 KiB
GraphQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
"""Достижение на месте работы"""
type Achievement {
description: String!
id: ID!
}
"""Конкурс или чемпионат"""
type Award {
result: String!
title: String!
url: String
year: Int
}
"""Высшее образование"""
type Education {
graduatedYear: Int!
institution: String!
specialty: String!
specialtyCode: String!
}
"""Место работы"""
type Experience {
achievements: [Achievement!]!
company: String!
endYear: Int
id: ID!
"""Место считается текущим, если год окончания не указан"""
isCurrent: Boolean!
"""Период, вычисленный из годов. Открытый период заканчивается «н.в.»"""
period: String!
position: String!
startYear: Int!
summary: String!
}
"""Ссылка на профессиональный ресурс"""
type Link {
id: ID!
kind: LinkKind!
label: String!
url: String!
}
"""Тип профессиональной ссылки"""
enum LinkKind {
EMAIL
GITHUB
PHONE
TELEGRAM
WEBSITE
}
"""Публичная визитка"""
type Profile {
availability: String!
awards: [Award!]!
description: String!
education: Education
experience: [Experience!]!
id: ID!
links: [Link!]!
location: String!
name: String!
projects: [Project!]!
skills: [Skill!]!
slug: String!
title: String!
}
"""Проект"""
type Project {
description: String!
endYear: Int
highlights: [String!]!
id: ID!
name: String!
period: String
role: String
skills: [Skill!]!
startYear: Int
status: ProjectStatus
url: String
}
"""Статус проекта, если он указан в резюме"""
enum ProjectStatus {
ACTIVE
COMPLETED
PROTOTYPE
}
type Query {
"""
Публичная визитка. Вложенные связи загружаются вместе с профилем и только если они есть в запросе.
"""
profile(
"""Стабильный идентификатор. По умолчанию визитка Ильи Братских."""
slug: String
): Profile!
}
"""Навык"""
type Skill {
group: SkillGroup!
id: ID!
name: String!
}
"""Группа навыка"""
enum SkillGroup {
BACKEND
DATA
FRONTEND
LANGUAGE
MOBILE
SYSTEMS
}