openapi-graph-types
Advanced tools
Comparing version 0.0.1-alpha.2.1.6 to 0.0.1-alpha.2.1.7
@@ -1,6 +0,6 @@ | ||
import { NodeInterface, ArraySchemaNodeInterface } from '.'; | ||
import { NodeInterface, SchemaNodeInterface } from '.'; | ||
export declare type EdgeConstructor = new () => EdgeInterface; | ||
export interface EdgeInterface { | ||
parent: NodeInterface | undefined; | ||
child: ArraySchemaNodeInterface | undefined; | ||
child: SchemaNodeInterface | undefined; | ||
} | ||
@@ -7,0 +7,0 @@ export interface Edges { |
import { RefEdgeInterface } from "."; | ||
export interface Nodes { | ||
schemas: ArraySchemaNodeInterface[]; | ||
schemas: { | ||
[key: string]: SchemaNodeInterface; | ||
}; | ||
} | ||
@@ -9,3 +11,5 @@ export declare type NodeConstructor = new (name: string) => NodeInterface; | ||
} | ||
export declare type SchemaSchemaNodeConstructor = new (name: string) => SchemaNodeInterface; | ||
export interface SchemaNodeInterface extends NodeInterface { | ||
content: NonArraySchemaNodeContent | ArraySchemaNodeContent; | ||
} | ||
@@ -47,10 +51,1 @@ export interface NonArraySchemaNodeContent { | ||
} | ||
export interface ArraySchemaNodeInterface extends SchemaNodeInterface { | ||
content: NonArraySchemaNodeContent | ArraySchemaNodeContent; | ||
} | ||
export declare type ArraySchemaSchemaNodeConstructor = new (name: string) => ArraySchemaNodeInterface; | ||
export interface SchemaNodeInterface extends NodeInterface { | ||
} | ||
export interface ArraySchemaNodeInterface extends SchemaNodeInterface { | ||
items: RefEdgeInterface; | ||
} |
{ | ||
"name": "openapi-graph-types", | ||
"version": "0.0.1-alpha.2.1.6", | ||
"version": "0.0.1-alpha.2.1.7", | ||
"description": "The types of the openapi-graph library.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7145
148