Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
hashIdsFailed?: string[]
responsesFailed?: BroadcastChannelResponsePayload[]
}
-
-export interface TemplateStatistics extends JsonObject {
- configured: number
- added: number
- started: number
- indexes: number[]
-}
}
export const JSONStringify = <
- T extends JsonType | Array<Record<string, unknown>> | Map<string, Record<string, unknown>>
+ T extends
+ | JsonType
+ | Array<Record<string, unknown>>
+ | Set<Record<string, unknown>>
+ | Map<string, Record<string, unknown>>
>(
object: T,
space?: string | number,
const [uuid, responsePayload] = response
- console.log('responsePayload', responsePayload.state?.templateStatistics)
-
if (this.responseHandlers.has(uuid)) {
const { procedureName, resolve, reject } = this.responseHandlers.get(uuid)!
switch (responsePayload.status) {