ts-graphviz
Advanced tools
Comparing version 1.6.2-dev.4ac9642c5 to 1.6.2-dev.634dab30b
@@ -7,14 +7,16 @@ import { | ||
} from '../../common/index.js'; | ||
import { $keywords } from '../../utils/index.js'; | ||
import { $keywords, $keywordsValidation } from '../../utils/index.js'; | ||
type Format = Format.values; | ||
declare namespace Format { | ||
type values = keyof $values; | ||
type values = Exclude<keyof $values, keyof $exclude | symbol | number>; | ||
interface $values extends $keywords<'png' | 'svg' | 'json' | 'jpg' | 'pdf' | 'xdot' | 'dot' | 'plain' | 'dot_json'> {} | ||
interface $exclude extends $keywordsValidation {} | ||
} | ||
type Layout = Layout.values; | ||
declare namespace Layout { | ||
type values = keyof $values; | ||
type values = Exclude<keyof $values, keyof $exclude | symbol | number>; | ||
interface $values | ||
extends $keywords<'dot' | 'neato' | 'fdp' | 'sfdp' | 'circo' | 'twopi' | 'nop' | 'nop2' | 'osage' | 'patchwork'> {} | ||
interface $exclude extends $keywordsValidation {} | ||
} | ||
@@ -21,0 +23,0 @@ /** |
@@ -7,2 +7,7 @@ /** | ||
}; | ||
/** | ||
* @hidden | ||
*/ | ||
interface $keywordsValidation | ||
extends $keywords<`${string} ${string}` | `${string}\n${string}` | `${string}\t${string}`> {} | ||
@@ -30,2 +35,2 @@ type F<A extends any[], O> = (...args: A) => O; | ||
export { $keywords, F, IO, filter, map, pipe }; | ||
export { $keywords, $keywordsValidation, F, IO, filter, map, pipe }; |
{ | ||
"name": "ts-graphviz", | ||
"version": "1.6.2-dev.4ac9642c5", | ||
"version": "1.6.2-dev.634dab30b", | ||
"author": "kamiazya <yuki@kamiazya.tech>", | ||
@@ -5,0 +5,0 @@ "description": "Graphviz library for TypeScript.", |
Sorry, the diff of this file is too big to display
596766
19135