@@ -6,6 +6,8 @@ import type {
66 Project ,
77 ProjectManager ,
88 ProjectEvent ,
9+ ProjectResource ,
10+ ProjectResourceConfig ,
911} from "../../handlers/project/types" ;
1012import type { Logger } from "../../logging" ;
1113import {
@@ -19,7 +21,12 @@ import { defaultSource, type AssetSource } from "./source";
1921import { createProjectTreeFromTemplate , TEMPLATES } from "./templates" ;
2022import { ProjectSpecSchema } from "../../projectSchemas/project" ;
2123import { enclosingProjectRoot } from "./fsUtils" ;
22- import { DeserializationError , InputValidationError , ProjectStateError } from "../../errors/errors" ;
24+ import {
25+ DeserializationError ,
26+ InputValidationError ,
27+ NotImplementedError ,
28+ ProjectStateError ,
29+ } from "../../errors/errors" ;
2330
2431type ProjectManagerConfig = {
2532 logger : Logger ;
@@ -123,6 +130,15 @@ export class FsProjectManager implements ProjectManager {
123130 return project ;
124131 }
125132
133+ // eslint-disable-next-line require-yield
134+ public async * addResource < TResource extends ProjectResource > (
135+ _project : Project ,
136+ _resourceType : TResource ,
137+ _resourceConfig : ProjectResourceConfig < TResource > ,
138+ ) : AsyncGenerator < ProjectEvent , Project > {
139+ throw new NotImplementedError ( "FsProjectManager.addResource is not yet implemented" ) ;
140+ }
141+
126142 public async * build ( project : Project ) : AsyncGenerator < ProjectEvent , void > {
127143 // agentcore.json records which backend owns the project's artifacts. CDK is the
128144 // only one today; a terraform or no-IaC backend adds an arm here rather than
0 commit comments