feat: update ingest, registry, and UI flows
This commit is contained in:
@@ -37,6 +37,7 @@ func NewServer(addr string, readTimeout, writeTimeout time.Duration, db *sql.DB)
|
||||
RegisterRegistryRoutes(mux, RegistryDependencies{
|
||||
Customers: registry.NewCustomerRepository(db),
|
||||
Projects: registry.NewProjectRepository(db),
|
||||
Locations: registry.NewLocationRepository(db),
|
||||
Assets: assetRepo,
|
||||
Components: componentRepo,
|
||||
Lots: lotRepo,
|
||||
@@ -67,6 +68,7 @@ func NewServer(addr string, readTimeout, writeTimeout time.Duration, db *sql.DB)
|
||||
RegisterUIRoutes(mux, UIDependencies{
|
||||
Customers: registry.NewCustomerRepository(db),
|
||||
Projects: registry.NewProjectRepository(db),
|
||||
Locations: registry.NewLocationRepository(db),
|
||||
Assets: assetRepo,
|
||||
Components: componentRepo,
|
||||
Lots: lotRepo,
|
||||
|
||||
Reference in New Issue
Block a user