@prismshadow/penguin-library-setting · library/setting/src/plugin-module-preinstalls.ts:11

PluginModulePreinstalls

interface

PluginModulePreinstalls: the mechanism PluginModulePreinstallsRepo implements.

API

@Interface()
export abstract class PluginModulePreinstalls {
  abstract projectsOf(pkg: string): string[];
  abstract record(pkg: string, projectIds: readonly string[], at: string): void;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Provideprovided by
@Useconsumed by (1)

Members (2)

projectsOf

projectsOf(pkg: string): string[]

The Projects already handled for pkg.

@parampkgstring
@returnsstring[]

record

record(pkg: string, projectIds: readonly string[], at: string): void

Records projectIds as handled for pkg; a pair already recorded keeps its time.

@parampkgstring
@paramprojectIdsreadonly string[]
@paramatstring
@returnsvoid