Skip to content

Commit

Permalink
chore(release): 1.14.7 [skip ci]
Browse files Browse the repository at this point in the history
## [1.14.7](1.14.6...1.14.7) (2024-05-07)

### Bug Fixes

* bump node and transpiler ([1899504](1899504))
  • Loading branch information
openrpc-bastion authored and semantic-release-bot committed May 7, 2024
1 parent fc0d85e commit 048dc0d
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 48 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.14.7](https://github.com/open-rpc/meta-schema/compare/1.14.6...1.14.7) (2024-05-07)


### Bug Fixes

* bump node and transpiler ([1899504](https://github.com/open-rpc/meta-schema/commit/18995040bb80c7b045b347af26465f827bf19ef3))

## [1.14.6](https://github.com/open-rpc/meta-schema/compare/1.14.5...1.14.6) (2023-07-04)


Expand Down
24 changes: 12 additions & 12 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ export type ExclusiveMinimum = number;
export type NonNegativeInteger = number;
export type NonNegativeIntegerDefaultZero = number;
export type Pattern = string;
export type SchemaArray = Undefined[];
export type SchemaArray = JSONSchema[];
/**
*
* @default true
*
*/
export type Items = Undefined | SchemaArray;
export type Items = JSONSchema | SchemaArray;
export type UniqueItems = boolean;
export type StringDoaGddGA = string;
/**
Expand All @@ -158,7 +158,7 @@ export interface Properties { [key: string]: any; }
*
*/
export interface PatternProperties { [key: string]: any; }
export type DependenciesSet = Undefined | StringArray;
export type DependenciesSet = JSONSchema | StringArray;
export interface Dependencies { [key: string]: any; }
export type Enum = AlwaysTrue[];
export type SimpleTypes = any;
Expand All @@ -185,34 +185,34 @@ export interface JSONSchemaObject {
maxLength?: NonNegativeInteger;
minLength?: NonNegativeIntegerDefaultZero;
pattern?: Pattern;
additionalItems?: Undefined;
additionalItems?: JSONSchema;
items?: Items;
maxItems?: NonNegativeInteger;
minItems?: NonNegativeIntegerDefaultZero;
uniqueItems?: UniqueItems;
contains?: Undefined;
contains?: JSONSchema;
maxProperties?: NonNegativeInteger;
minProperties?: NonNegativeIntegerDefaultZero;
required?: StringArray;
additionalProperties?: Undefined;
additionalProperties?: JSONSchema;
definitions?: Definitions;
properties?: Properties;
patternProperties?: PatternProperties;
dependencies?: Dependencies;
propertyNames?: Undefined;
propertyNames?: JSONSchema;
const?: AlwaysTrue;
enum?: Enum;
type?: Type;
format?: Format;
contentMediaType?: ContentMediaType;
contentEncoding?: ContentEncoding;
if?: Undefined;
then?: Undefined;
else?: Undefined;
if?: JSONSchema;
then?: JSONSchema;
else?: JSONSchema;
allOf?: SchemaArray;
anyOf?: SchemaArray;
oneOf?: SchemaArray;
not?: Undefined;
not?: JSONSchema;
[k: string]: any;
}
/**
Expand All @@ -233,7 +233,7 @@ export interface ContentDescriptorObject {
name: ContentDescriptorObjectName;
description?: ContentDescriptorObjectDescription;
summary?: ContentDescriptorObjectSummary;
schema: Undefined;
schema: JSONSchema;
required?: ContentDescriptorObjectRequired;
deprecated?: ContentDescriptorObjectDeprecated;
[regex: string]: SpecificationExtension | any;
Expand Down
2 changes: 1 addition & 1 deletion index.js

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions index.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ class MethodObjectParamStructure(Enum):

Pattern = NewType("Pattern", str)

SchemaArray = NewType("SchemaArray", List[Undefined])
SchemaArray = NewType("SchemaArray", List[JSONSchema])

Items = NewType("Items", Union[Undefined, SchemaArray])
Items = NewType("Items", Union[JSONSchema, SchemaArray])

UniqueItems = NewType("UniqueItems", bool)

Expand All @@ -200,7 +200,7 @@ class MethodObjectParamStructure(Enum):

PatternProperties = NewType("PatternProperties", Mapping[Any, Any])

DependenciesSet = NewType("DependenciesSet", Union[Undefined, StringArray])
DependenciesSet = NewType("DependenciesSet", Union[JSONSchema, StringArray])

Dependencies = NewType("Dependencies", Mapping[Any, Any])

Expand Down Expand Up @@ -236,34 +236,34 @@ class JSONSchemaObject(TypedDict):
maxLength: Optional[NonNegativeInteger]
minLength: Optional[NonNegativeIntegerDefaultZero]
pattern: Optional[Pattern]
additionalItems: Optional[Undefined]
additionalItems: Optional[JSONSchema]
items: Optional[Items]
maxItems: Optional[NonNegativeInteger]
minItems: Optional[NonNegativeIntegerDefaultZero]
uniqueItems: Optional[UniqueItems]
contains: Optional[Undefined]
contains: Optional[JSONSchema]
maxProperties: Optional[NonNegativeInteger]
minProperties: Optional[NonNegativeIntegerDefaultZero]
required: Optional[StringArray]
additionalProperties: Optional[Undefined]
additionalProperties: Optional[JSONSchema]
definitions: Optional[Definitions]
properties: Optional[Properties]
patternProperties: Optional[PatternProperties]
dependencies: Optional[Dependencies]
propertyNames: Optional[Undefined]
propertyNames: Optional[JSONSchema]
const: Optional[AlwaysTrue]
enum: Optional[Enum]
type: Optional[Type]
format: Optional[Format]
contentMediaType: Optional[ContentMediaType]
contentEncoding: Optional[ContentEncoding]
if: Optional[Undefined]
then: Optional[Undefined]
else: Optional[Undefined]
if: Optional[JSONSchema]
then: Optional[JSONSchema]
else: Optional[JSONSchema]
allOf: Optional[SchemaArray]
anyOf: Optional[SchemaArray]
oneOf: Optional[SchemaArray]
not: Optional[Undefined]
not: Optional[JSONSchema]
"""Always valid if true. Never valid if false. Is constant.
"""
JSONSchemaBoolean = NewType("JSONSchemaBoolean", bool)
Expand All @@ -278,7 +278,7 @@ class ContentDescriptorObject(TypedDict):
name: Optional[ContentDescriptorObjectName]
description: Optional[ContentDescriptorObjectDescription]
summary: Optional[ContentDescriptorObjectSummary]
schema: Optional[Undefined]
schema: Optional[JSONSchema]
required: Optional[ContentDescriptorObjectRequired]
deprecated: Optional[ContentDescriptorObjectDeprecated]

Expand Down
46 changes: 23 additions & 23 deletions openrpc_document.go

Large diffs are not rendered by default.

0 comments on commit 048dc0d

Please sign in to comment.