From 72330f6d7d79039b419f64fc84bc1bc8c385042f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 18:49:01 +0000 Subject: [PATCH 1/9] Bump devtypes from 1.0.2 to 2.0.0 in the prod-deps group Bumps the prod-deps group with 1 update: [devtypes](https://github.com/komed3/devtypes). Updates `devtypes` from 1.0.2 to 2.0.0 - [Release notes](https://github.com/komed3/devtypes/releases) - [Commits](https://github.com/komed3/devtypes/compare/v1.0.2...v2.0.0) --- updated-dependencies: - dependency-name: devtypes dependency-version: 2.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: prod-deps ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c87c819..6b7429c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,13 +9,13 @@ "version": "0.1.1", "license": "MIT", "dependencies": { - "devtypes": "^1.0.1" + "devtypes": "^2.0.0" } }, "node_modules/devtypes": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/devtypes/-/devtypes-1.0.2.tgz", - "integrity": "sha512-KHQ3wquyfcYAntOuLJmGO5IBdto029IP4EMKuWgD1wI6M+3s3ic5jOxemZCtu3vmYEDKzvDYvkRwlTgokcgOfg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/devtypes/-/devtypes-2.0.0.tgz", + "integrity": "sha512-gAB7qGCwFNDsFbWMtXZSYd884Kvv7o7l/XK6MbvQi3IsoqI/6I+neV8PmJIStFUVn3MF7bnw1oKBMB6tfqCYTg==", "license": "MIT", "engines": { "node": ">=18.0.0" diff --git a/package.json b/package.json index 9be23d1..b714e0e 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "LICENSE" ], "dependencies": { - "devtypes": "^1.0.1" + "devtypes": "^2.0.0" }, "scripts": { "lint": "tsc" From c99ab293e6e2808a9c67f1b99c175e7fbc1e76df Mon Sep 17 00:00:00 2001 From: komed3 Date: Mon, 9 Feb 2026 23:24:15 +0100 Subject: [PATCH 2/9] fix LiteralUnion import path --- types/abstract/collection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/abstract/collection.ts b/types/abstract/collection.ts index 738a94b..fd0d21f 100644 --- a/types/abstract/collection.ts +++ b/types/abstract/collection.ts @@ -3,7 +3,7 @@ * Utility types for defining collections of properties with various structures. */ -import { LiteralUnion } from 'devtypes/types/primitives'; +import { LiteralUnion } from 'devtypes/types/primitive'; import { Property } from './property'; /** Utility types */ From 748d1367a6266e68da465df8c5a5f5658058d62c Mon Sep 17 00:00:00 2001 From: komed3 Date: Mon, 9 Feb 2026 23:24:31 +0100 Subject: [PATCH 3/9] Update condition.ts --- types/abstract/condition.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/abstract/condition.ts b/types/abstract/condition.ts index a29d21f..6fd394d 100644 --- a/types/abstract/condition.ts +++ b/types/abstract/condition.ts @@ -3,7 +3,7 @@ * Defines a mapping of physical quantities as conditions for properties. */ -import { Primitive } from 'devtypes/types/primitives'; +import { Primitive } from 'devtypes/types/primitive'; import { PhysicalQuantity } from './unit'; import { Value } from './value'; From 7a48546b4450ab134b14d0d65af4b06eb366811f Mon Sep 17 00:00:00 2001 From: komed3 Date: Mon, 9 Feb 2026 23:25:32 +0100 Subject: [PATCH 4/9] Update form.ts --- types/abstract/form.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/types/abstract/form.ts b/types/abstract/form.ts index e5c7efd..6dc11d7 100644 --- a/types/abstract/form.ts +++ b/types/abstract/form.ts @@ -3,9 +3,10 @@ * Defines the structure for various form types of substances. */ -import { Brand } from 'devtypes/types/base'; -import { DeepPartial } from 'devtypes/types/collections'; -import { RequireFrom, StrictSubset } from 'devtypes/types/constraints'; +import { RequireFrom, StrictSubset } from 'devtypes/types/constraint'; +import { DeepPartial } from 'devtypes/types/transform'; +import { Brand } from 'devtypes/types/util'; + import { CrystalStructure, Phase } from '../utils/const'; import { Collection, Distinct } from './collection'; From 858edbbc082afb0a1628ea8cfaf2055665110dae Mon Sep 17 00:00:00 2001 From: komed3 Date: Mon, 9 Feb 2026 23:25:45 +0100 Subject: [PATCH 5/9] min fix --- types/abstract/collection.ts | 1 + types/abstract/condition.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/types/abstract/collection.ts b/types/abstract/collection.ts index fd0d21f..5b253c9 100644 --- a/types/abstract/collection.ts +++ b/types/abstract/collection.ts @@ -4,6 +4,7 @@ */ import { LiteralUnion } from 'devtypes/types/primitive'; + import { Property } from './property'; /** Utility types */ diff --git a/types/abstract/condition.ts b/types/abstract/condition.ts index 6fd394d..5aaa259 100644 --- a/types/abstract/condition.ts +++ b/types/abstract/condition.ts @@ -4,6 +4,7 @@ */ import { Primitive } from 'devtypes/types/primitive'; + import { PhysicalQuantity } from './unit'; import { Value } from './value'; From f894aa84a02e99140b1d52ea9ecf764b04ea0882 Mon Sep 17 00:00:00 2001 From: komed3 Date: Mon, 9 Feb 2026 23:26:26 +0100 Subject: [PATCH 6/9] fix import paths --- types/abstract/property.ts | 3 ++- types/abstract/reference.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/types/abstract/property.ts b/types/abstract/property.ts index 4940479..e49a490 100644 --- a/types/abstract/property.ts +++ b/types/abstract/property.ts @@ -3,7 +3,8 @@ * Definitions for various property types used in the database schema. */ -import { Primitive } from 'devtypes/types/primitives'; +import { Primitive } from 'devtypes/types/primitive'; + import { Conditions } from './condition'; import { RefId } from './reference'; import { PhysicalQuantity } from './unit'; diff --git a/types/abstract/reference.ts b/types/abstract/reference.ts index e83f941..249dcc6 100644 --- a/types/abstract/reference.ts +++ b/types/abstract/reference.ts @@ -3,8 +3,8 @@ * Types and structures for bibliographic references based on BibTeX. */ -import { Brand } from 'devtypes/types/base'; -import { ExtractFrom, RequireAtLeastOne, RequireExactlyOne, StrictSubset } from 'devtypes/types/constraints'; +import { ExtractFrom, RequireAtLeastOne, RequireExactlyOne, StrictSubset } from 'devtypes/types/constraint'; +import { Brand } from 'devtypes/types/util'; /** Reference types based on BibTeX */ export const ReferenceType = [ From dd0e476ae1b8968ffa55a3ecb223eebe1bf0ea06 Mon Sep 17 00:00:00 2001 From: komed3 Date: Mon, 9 Feb 2026 23:26:49 +0100 Subject: [PATCH 7/9] Update uncertainty.ts --- types/abstract/uncertainty.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/abstract/uncertainty.ts b/types/abstract/uncertainty.ts index 82c328f..bb23c2b 100644 --- a/types/abstract/uncertainty.ts +++ b/types/abstract/uncertainty.ts @@ -3,8 +3,8 @@ * Physical and measurement uncertainty representations. */ -import { Brand } from 'devtypes/types/base'; -import { RequireFrom } from 'devtypes/types/constraints'; +import { RequireFrom } from 'devtypes/types/constraint'; +import { Brand } from 'devtypes/types/util'; /** Uncertainty types */ export const UncertaintyType = [ 'absolute', 'relative', 'asymmetrical' ] as const; From d3bc89f1f7f5955c627f2b397c1fee5a2faa5f64 Mon Sep 17 00:00:00 2001 From: komed3 Date: Mon, 9 Feb 2026 23:27:18 +0100 Subject: [PATCH 8/9] update import paths --- types/abstract/unit.ts | 2 +- types/abstract/value.ts | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/types/abstract/unit.ts b/types/abstract/unit.ts index f9ab1f4..142e8df 100644 --- a/types/abstract/unit.ts +++ b/types/abstract/unit.ts @@ -3,7 +3,7 @@ * Type system for physical units. */ -import { Brand } from 'devtypes/types/base'; +import { Brand } from 'devtypes/types/util'; /** Metric systems */ export const MetricSystem = [ 'metric', 'imperial', 'us', 'custom', 'unknown' ] as const; diff --git a/types/abstract/value.ts b/types/abstract/value.ts index 6bac3b9..7ecc4da 100644 --- a/types/abstract/value.ts +++ b/types/abstract/value.ts @@ -3,9 +3,10 @@ * Definitions for various types of values used in the schema. */ -import { Brand } from 'devtypes/types/base'; -import { RequireAtLeastOne, RequireExactlyOne, StrictSubset } from 'devtypes/types/constraints'; -import { Primitive } from 'devtypes/types/primitives'; +import { RequireAtLeastOne, RequireExactlyOne, StrictSubset } from 'devtypes/types/constraint'; +import { Primitive } from 'devtypes/types/primitive'; +import { Brand } from 'devtypes/types/util'; + import { Uncertainty } from './uncertainty'; import { PhysicalQuantity, UnitId } from './unit'; From 7ce8395d67cc670af744bd3965d03138a19e1617 Mon Sep 17 00:00:00 2001 From: komed3 Date: Mon, 9 Feb 2026 23:28:21 +0100 Subject: [PATCH 9/9] 0.1.2 --- package-lock.json | 4 ++-- package.json | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b7429c..6f43664 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@pseinfo/database-schema", - "version": "0.1.1", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@pseinfo/database-schema", - "version": "0.1.1", + "version": "0.1.2", "license": "MIT", "dependencies": { "devtypes": "^2.0.0" diff --git a/package.json b/package.json index b714e0e..1a124fb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@pseinfo/database-schema", "description": "TypeScript type declarations for the @pseinfo database", - "version": "0.1.1", + "version": "0.1.2", "license": "MIT", "author": { "name": "Paul Köhler", @@ -17,8 +17,14 @@ "url": "https://github.com/pseinfo/database-schema/issues" }, "keywords": [ - "database", "schema", "chemistry", "types", "typescript", - "periodic-table", "type-definitions", "pseinfo" + "database", + "schema", + "chemistry", + "types", + "typescript", + "periodic-table", + "type-definitions", + "pseinfo" ], "type": "module", "types": "types/index.ts",