/
45case
/
ptable
Обзор
Документация
Войти
/
45case
/
ptable
Код
Запросы
3
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
dev
src/entities/element/model/elements.ts
37 строк
889 B
Olya
Страница Электроны + сайдбар с характеритстиками (Степень окисления, Конфигурация, Развёрнутая, Уровни энергии, ВЗМО)
24 июл 2026, 11:54
24 июл 2026, 11:54
3cf1d48
Код
Авторство
О чём код?
import type { ElementCategory } from "./category"; export type ElementSeries = | "actinide" | "alkali-metal" | "alkaline-earth-metal" | "lanthanide" | "metalloid" | "noble-gas" | "nonmetal" | "post-transition-metal" | "transition-metal" | "unknown"; export type ElementPhaseAtStp = "gas" | "liquid" | "solid" | "unknown"; export interface PeriodicElement { atomicMass: number | null; /** Raw ptable `weight` string used for mass display abridgment. */ atomicMassWeight?: string | null; atomicNumber: number; boilingPointKelvin: number | null; category: ElementCategory; column: number; group: number | null; meltingPointKelvin: number | null; name: string; nameEn: string; period: number; phaseAtStp: ElementPhaseAtStp; row: number; series: ElementSeries; slug: string; state: string; summary: string | null; symbol: string; };