package
0.0.0-20230926104744-988ea4c8a739
Repository: https://github.com/grafana/kindsys.git
Documentation: pkg.go.dev

# Functions

TODO remove this once there's a standard jenny for this...somewhere in core.
ForLatestSchema returns a [SchemaForGen] for the latest schema in the provided [kindsys.Kind]'s lineage.
LatestJenny returns a jenny that runs another jenny for only the latest schema in a DefForGen, and prefixes the resulting file with the provided parentdir (e.g.
LatestMajorsOrXJenny returns a jenny that repeats the input for the latest in each major version.
No description provided by the author
No description provided by the author
PrefixDropper returns a dstutil.ApplyFunc that removes the provided prefix string when it appears as a leading sequence in type names, var names, and comments in a generated Go file.
Prefixer returns a FileMapper that injects the provided path prefix to files passed through it.
PrefixReplacer returns a dstutil.ApplyFunc that removes the provided prefix string when it appears as a leading sequence in type names, var names, and comments in a generated Go file.
SlashHeaderMapper produces a FileMapper that injects a comment header onto a [codejen.File] indicating the main generator that produced it (via the provided maingen, which should be a path) and the jenny or jennies that constructed the file.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
GoTypesJenny is a [OneToOne] that produces Go types for the provided [thema.Schema].
No description provided by the author
SchemaForGen is an intermediate values type for jennies that holds both a thema.Schema, and values relevant to generating the schema that should properly, eventually, be in thema itself.
TSResourceJenny is a [OneToOne] that produces TypeScript types and defaults for a Thema schema.
TSTypesJenny is a [OneToOne] that produces TypeScript types and defaults for a Thema schema.