From c357aed7bb823e0fdb738edb2737f80c56c2a5e6 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Sat, 20 Aug 2022 16:36:48 -0700 Subject: [PATCH] schema updates --- README.md | 4 ++-- src/extensions/rcsb/graphql/types.ts | 5 +---- src/mol-io/reader/cif/schema/bird.ts | 2 +- src/mol-io/reader/cif/schema/ccd.ts | 2 +- src/mol-io/reader/cif/schema/mmcif.ts | 2 +- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 10e926c50..9125bac89 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ and navigate to `build/viewer` **GraphQL schemas** - node node_modules//@graphql-codegen/cli/bin -c src/extensions/rcsb/graphql/codegen.yml + node node_modules/@graphql-codegen/cli/cjs/bin -c src/extensions/rcsb/graphql/codegen.yml ### Other scripts **Create chem comp bond table** @@ -152,7 +152,7 @@ Or node lib/commonjs/cli/cif2bcif E.g. - + node lib/commonjs/cli/cif2bcif src.cif out.bcif.gz node lib/commonjs/cli/cif2bcif src.bcif.gz out.cif diff --git a/src/extensions/rcsb/graphql/types.ts b/src/extensions/rcsb/graphql/types.ts index a113cbbe2..58fc86f4e 100644 --- a/src/extensions/rcsb/graphql/types.ts +++ b/src/extensions/rcsb/graphql/types.ts @@ -4,7 +4,7 @@ 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]> }; -// Generated on 2022-06-26T14:02:35-07:00 +// Generated on 2022-08-20T16:36:05-07:00 /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { @@ -13,11 +13,8 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; - /** Built-in scalar representing an instant in time */ Date: any; - /** Built-in scalar for dynamic values */ ObjectScalar: any; - /** Use SPQR's SchemaPrinter to remove this from SDL */ UNREPRESENTABLE: any; }; diff --git a/src/mol-io/reader/cif/schema/bird.ts b/src/mol-io/reader/cif/schema/bird.ts index 5d88c181a..801063c85 100644 --- a/src/mol-io/reader/cif/schema/bird.ts +++ b/src/mol-io/reader/cif/schema/bird.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * - * Code-generated 'BIRD' schema file. Dictionary versions: mmCIF 5.359, IHM 1.17, MA 1.4.1. + * Code-generated 'BIRD' schema file. Dictionary versions: mmCIF 5.360, IHM 1.17, MA 1.4.2. * * @author molstar/ciftools package */ diff --git a/src/mol-io/reader/cif/schema/ccd.ts b/src/mol-io/reader/cif/schema/ccd.ts index 86ea24606..bffecfa23 100644 --- a/src/mol-io/reader/cif/schema/ccd.ts +++ b/src/mol-io/reader/cif/schema/ccd.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * - * Code-generated 'CCD' schema file. Dictionary versions: mmCIF 5.359, IHM 1.17, MA 1.4.1. + * Code-generated 'CCD' schema file. Dictionary versions: mmCIF 5.360, IHM 1.17, MA 1.4.2. * * @author molstar/ciftools package */ diff --git a/src/mol-io/reader/cif/schema/mmcif.ts b/src/mol-io/reader/cif/schema/mmcif.ts index 51d060ddc..f8a84b566 100644 --- a/src/mol-io/reader/cif/schema/mmcif.ts +++ b/src/mol-io/reader/cif/schema/mmcif.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * - * Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.359, IHM 1.17, MA 1.4.1. + * Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.360, IHM 1.17, MA 1.4.2. * * @author molstar/ciftools package */ -- GitLab