-> timeseries
This commit is contained in:
1 parent
5c14c68899
commit
e090d3cfd3
91 files changed
+941
-987
No files matched your search
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,9 @@
|
||||
import type { Monitor } from "@/types/index.js";
|
||||
export interface IMonitorsRepository {
|
||||
// create
|
||||
// single fetch
|
||||
// collection fetch
|
||||
findAll(): Promise<Monitor[] | null>;
|
||||
// update
|
||||
// delete
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class MongoMonitorsRepository implements IMonitorsRepository {
|
||||
findAll = async () => {
|
||||
return null;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user