Feautre: Recipe export to xlsx Chore: Python 11 style type annotations Chore: Moved to sqlalchemy 2.0 Chore: Minimum python is 3.11 Fix: Fix nullability of a lot of fields in the database.
17 lines
375 B
TypeScript
17 lines
375 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { Observable } from 'rxjs/internal/Observable';
|
|
|
|
import { Client } from './client';
|
|
import { ClientService } from './client.service';
|
|
|
|
@Injectable({
|
|
providedIn: 'root',
|
|
})
|
|
export class ClientListResolver {
|
|
constructor(private ser: ClientService) {}
|
|
|
|
resolve(): Observable<Client[]> {
|
|
return this.ser.list();
|
|
}
|
|
}
|