feat: add services package

This commit is contained in:
Karol Sójko
2022-07-05 20:51:42 +02:00
parent b614c71e79
commit fbfed0a05c
85 changed files with 2418 additions and 28 deletions

View File

@@ -0,0 +1,17 @@
type DiagnosticValue =
| string
| number
| Date
| boolean
| null
| undefined
| DiagnosticValue[]
| { [key: string]: DiagnosticValue }
export type DiagnosticInfo = {
[key: string]: Record<string, DiagnosticValue>
}
export interface ServiceDiagnostics {
getDiagnostics(): Promise<DiagnosticInfo | undefined>
}