@@ -7,7 +7,7 @@ export interface ActionBase {
77}
88
99export declare class ActionList implements Iterable < Action > {
10- readonly length : number ;
10+ get length ( ) : number ;
1111 [ Symbol . iterator ] ( ) : IterableIterator < Action > ;
1212 protected _action ( action : Partial < Action > ) : void ;
1313 create ( path : Path , content : Buffer ) : void ;
@@ -46,12 +46,12 @@ export declare abstract class BaseWorkflow implements Workflow {
4646 protected _lifeCycle : Subject < LifeCycleEvent > ;
4747 protected _registry : schema . CoreSchemaRegistry ;
4848 protected _reporter : Subject < DryRunEvent > ;
49- readonly context : Readonly < WorkflowExecutionContext > ;
50- readonly engine : Engine < { } , { } > ;
51- readonly engineHost : EngineHost < { } , { } > ;
52- readonly lifeCycle : Observable < LifeCycleEvent > ;
53- readonly registry : schema . SchemaRegistry ;
54- readonly reporter : Observable < DryRunEvent > ;
49+ get context ( ) : Readonly < WorkflowExecutionContext > ;
50+ get engine ( ) : Engine < { } , { } > ;
51+ get engineHost ( ) : EngineHost < { } , { } > ;
52+ get lifeCycle ( ) : Observable < LifeCycleEvent > ;
53+ get registry ( ) : schema . SchemaRegistry ;
54+ get reporter ( ) : Observable < DryRunEvent > ;
5555 constructor ( options : BaseWorkflowOptions ) ;
5656 protected _createSinks ( ) : Sink [ ] ;
5757 execute ( options : Partial < WorkflowExecutionContext > & RequiredWorkflowExecutionContext ) : Observable < void > ;
@@ -91,8 +91,8 @@ export declare type CollectionDescription<CollectionMetadataT extends object> =
9191
9292export declare class CollectionImpl < CollectionT extends object , SchematicT extends object > implements Collection < CollectionT , SchematicT > {
9393 readonly baseDescriptions ?: CollectionDescription < CollectionT > [ ] | undefined ;
94- readonly description : CollectionDescription < CollectionT > ;
95- readonly name : string ;
94+ get description ( ) : CollectionDescription < CollectionT > ;
95+ get name ( ) : string ;
9696 constructor ( _description : CollectionDescription < CollectionT > , _engine : SchematicEngine < CollectionT , SchematicT > , baseDescriptions ?: CollectionDescription < CollectionT > [ ] | undefined ) ;
9797 createSchematic ( name : string , allowPrivate ?: boolean ) : Schematic < CollectionT , SchematicT > ;
9898 listSchematicNames ( ) : string [ ] ;
@@ -113,8 +113,8 @@ export interface CreateFileAction extends ActionBase {
113113
114114export declare class DelegateTree implements Tree {
115115 protected _other : Tree ;
116- readonly actions : Action [ ] ;
117- readonly root : DirEntry ;
116+ get actions ( ) : Action [ ] ;
117+ get root ( ) : DirEntry ;
118118 constructor ( _other : Tree ) ;
119119 apply ( action : Action , strategy ?: MergeStrategy ) : void ;
120120 beginUpdate ( path : string ) : UpdateRecorder ;
@@ -265,8 +265,8 @@ export declare class HostDirEntry implements DirEntry {
265265 protected _tree : Tree ;
266266 readonly parent : DirEntry | null ;
267267 readonly path : Path ;
268- readonly subdirs : PathFragment [ ] ;
269- readonly subfiles : PathFragment [ ] ;
268+ get subdirs ( ) : PathFragment [ ] ;
269+ get subfiles ( ) : PathFragment [ ] ;
270270 constructor ( parent : DirEntry | null , path : Path , _host : virtualFs . SyncDelegateHost , _tree : Tree ) ;
271271 dir ( name : PathFragment ) : DirEntry ;
272272 file ( name : PathFragment ) : FileEntry | null ;
@@ -292,8 +292,8 @@ export declare class HostSink extends SimpleSinkBase {
292292
293293export declare class HostTree implements Tree {
294294 protected _backend : virtualFs . ReadonlyHost < { } > ;
295- readonly actions : Action [ ] ;
296- readonly root : DirEntry ;
295+ get actions ( ) : Action [ ] ;
296+ get root ( ) : DirEntry ;
297297 constructor ( _backend ?: virtualFs . ReadonlyHost < { } > ) ;
298298 protected _normalizePath ( path : string ) : Path ;
299299 protected _willCreate ( path : Path ) : boolean ;
@@ -442,8 +442,8 @@ export declare type SchematicDescription<CollectionMetadataT extends object, Sch
442442
443443export declare class SchematicEngine < CollectionT extends object , SchematicT extends object > implements Engine < CollectionT , SchematicT > {
444444 protected _workflow ?: Workflow | undefined ;
445- readonly defaultMergeStrategy : MergeStrategy ;
446- readonly workflow : Workflow | null ;
445+ get defaultMergeStrategy ( ) : MergeStrategy ;
446+ get workflow ( ) : Workflow | null ;
447447 constructor ( _host : EngineHost < CollectionT , SchematicT > , _workflow ?: Workflow | undefined ) ;
448448 createCollection ( name : string ) : Collection < CollectionT , SchematicT > ;
449449 createContext ( schematic : Schematic < CollectionT , SchematicT > , parent ?: Partial < TypedSchematicContext < CollectionT , SchematicT > > , executionOptions ?: Partial < ExecutionOptions > ) : TypedSchematicContext < CollectionT , SchematicT > ;
@@ -459,8 +459,8 @@ export declare class SchematicEngineConflictingException extends BaseException {
459459}
460460
461461export declare class SchematicImpl < CollectionT extends object , SchematicT extends object > implements Schematic < CollectionT , SchematicT > {
462- readonly collection : Collection < CollectionT , SchematicT > ;
463- readonly description : SchematicDescription < CollectionT , SchematicT > ;
462+ get collection ( ) : Collection < CollectionT , SchematicT > ;
463+ get description ( ) : SchematicDescription < CollectionT , SchematicT > ;
464464 constructor ( _description : SchematicDescription < CollectionT , SchematicT > , _factory : RuleFactory < { } > , _collection : Collection < CollectionT , SchematicT > , _engine : Engine < CollectionT , SchematicT > ) ;
465465 call < OptionT extends object > ( options : OptionT , host : Observable < Tree > , parentContext ?: Partial < TypedSchematicContext < CollectionT , SchematicT > > , executionOptions ?: Partial < ExecutionOptions > ) : Observable < Tree > ;
466466}
0 commit comments