Operations
TYPE
@skmtc/core 0.63.4OasOperationProjectionBaseClass
The class that toOasOperationProjectionBase returns: its statics, and a constructor that gives an OasOperationProjectionInstance.
Signature
import type { OasOperationProjectionBaseClass } from '@skmtc/core'
interface OasOperationProjectionBaseClass<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined> extends OasOperationBaseStatics<EnrichmentType, IdType, ProjectionOptions>Properties
new, (args: OasOperationProjectionConstructorArgs<EnrichmentType, ProjectionOptions>) => OasOperationProjectionInstance<EnrichmentType, ProjectionOptions> required
toEnrichmentDefaults, (args: ToOasOperationEnrichmentsArgs) => EnrichmentType | undefined required
Calls the config's toEnrichmentDefaults; returns undefined when it has none.
The language of the base class. See LangSnippetConstructor.
id, string required
The generator's id.
type, 'oasOperation' required
toIdentifierName, (args: ToOasOperationIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string required
The config's toIdentifierName.
The config's toIdentifierType.
toExportPath, (args: ToOasOperationExportPathArgs<EnrichmentType, ProjectionOptions>) => string required
The export path of the config's Index, or else the config's toExportPath.
toIndex, ((args: ToOasOperationIndexArgs<EnrichmentType>) => OasOperationIndexProjection) | undefined required
The config's toIndex; undefined when it has none.
The key of the definition. An operation projection's key holds the generator and the subject. An Index's key holds the generator, the file and the path of the Index, and never the subject.