Skip to content

Commit babbf9a

Browse files
author
Ifeora Okechukwu
committed
signed-off: added strict scalar types based on openapi schema object for input type
Signed-off-by: Ifeora Okechukwu <[email protected]>
1 parent 9d19d03 commit babbf9a

40 files changed

+1628
-139
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { GraphQLScalarType } from 'graphql';
2+
import { StrictScalarNumberConfig } from '../types/strict_scalars';
3+
export declare const createFloatScalar: <TInternal = string, TExternal = string>(config: StrictScalarNumberConfig) => GraphQLScalarType;

packages/openapi-to-graphql/lib/scalar_validators/StrictFloat.js

+89
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openapi-to-graphql/lib/scalar_validators/StrictFloat.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { GraphQLScalarType } from 'graphql';
2+
import { StrictScalarNumberConfig } from '../types/strict_scalars';
3+
export declare const createIntScalar: <TInternal = string, TExternal = string>(config: StrictScalarNumberConfig) => GraphQLScalarType;

packages/openapi-to-graphql/lib/scalar_validators/StrictInt.js

+88
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openapi-to-graphql/lib/scalar_validators/StrictInt.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { GraphQLScalarType } from 'graphql';
2+
import { StrictScalarStringConfig } from '../types/strict_scalars';
3+
export declare const createStringScalar: <TInternal = string, TExternal = string>(config: StrictScalarStringConfig) => GraphQLScalarType;

packages/openapi-to-graphql/lib/scalar_validators/StrictString.js

+177
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)