-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: This PR removes all submodules, and instead exports everything only from the main index.ts entry point BREAKING CHANGE: This PR replaces any functions that have multiple optional parameters with an optional options object instead, to avoid needing to pass undefined for unused function arguments BREAKING CHANGE: This PR renames all constant module functions and exports by adding the word Constant to their names
- Loading branch information
Showing
45 changed files
with
913 additions
and
663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,94 @@ | ||
export { parse, iterparse, parseTriples } from './lib/_parse'; | ||
export { format, formatTriples } from './lib/_format'; | ||
export { interpret, configure } from './lib/layout'; | ||
export { Tree } from './lib/tree'; | ||
export { Graph, Triple } from './lib/graph'; | ||
export { parse, iterparse, parseTriples } from './lib/parse'; | ||
export { format, formatTriples } from './lib/format'; | ||
export { | ||
LayoutMarker, | ||
Push, | ||
Pop, | ||
POP, | ||
interpret, | ||
InterpretOptions, | ||
rearrange, | ||
RearrangeOptions, | ||
configure, | ||
ConfigureOptions, | ||
reconfigure, | ||
ReconfigureOptions, | ||
getPushedVariable, | ||
appearsInverted, | ||
nodeContexts, | ||
} from './lib/layout'; | ||
export { Tree, isAtomic, TreeOptions } from './lib/tree'; | ||
export { | ||
Graph, | ||
GraphAttributesOptions, | ||
GraphEdgesOptions, | ||
GraphOptions, | ||
} from './lib/graph'; | ||
export { | ||
Triple, | ||
Instance, | ||
Edge, | ||
Attribute, | ||
Branch, | ||
Node, | ||
Constant, | ||
Variable, | ||
Role, | ||
} from './lib/types'; | ||
export { | ||
PENMANCodec, | ||
CodecEncodeOptions, | ||
CodecFormatOptions, | ||
CodecFormatTriplesOptions, | ||
decode, | ||
DecodeOptions, | ||
dump, | ||
DumpOptions, | ||
dumps, | ||
DumpsOptions, | ||
encode, | ||
EncodeOptions, | ||
iterdecode, | ||
load, | ||
LoadOptions, | ||
loads, | ||
LoadsOptions, | ||
} from './lib/codec'; | ||
export { DecodeError, PenmanError } from './lib/exceptions'; | ||
export { | ||
canonicalizeRoles, | ||
CanonicalizeRolesOptions, | ||
reifyEdges, | ||
ReifyEdgesOptions, | ||
dereifyEdges, | ||
DereifyEdgesOptions, | ||
reifyAttributes, | ||
indicateBranches, | ||
} from './lib/transform'; | ||
export { | ||
AlignmentMarker, | ||
AlignmentMarkerOptions, | ||
Alignment, | ||
RoleAlignment, | ||
alignments, | ||
roleAlignments, | ||
} from './lib/surface'; | ||
export { Model, ModelOptions, ModelReifyOptions } from './lib/model'; | ||
export { amrModel } from './lib/models/amr'; | ||
export { noopModel } from './lib/models/noop'; | ||
export { | ||
PenmanError, | ||
ConstantError, | ||
GraphError, | ||
LayoutError, | ||
DecodeError, | ||
SurfaceError, | ||
ModelError, | ||
} from './lib/exceptions'; | ||
export { Epidatum } from './lib/epigraph'; | ||
export { | ||
ConstantType, | ||
constantType, | ||
evaluateConstant, | ||
quoteConstant, | ||
} from './lib/constant'; | ||
export { ArrayKeysMap } from './lib/utils'; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.