@absolutejs/voice 0.0.22-beta.430 → 0.0.22-beta.432

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,87 @@
1
+ import { Elysia } from 'elysia';
2
+ import { type VoiceDeliveryRuntime, type VoiceDeliveryRuntimeReport } from './deliveryRuntime';
3
+ import { type VoiceProductionReadinessReport, type VoiceProductionReadinessStatus } from './productionReadiness';
4
+ import type { VoiceProofPackRefreshStatus } from './proofPack';
5
+ export type VoiceOperationalStatus = VoiceProductionReadinessStatus;
6
+ export type VoiceOperationalStatusCheck = {
7
+ detail?: string;
8
+ href?: string;
9
+ label: string;
10
+ status: VoiceOperationalStatus;
11
+ value?: number | string;
12
+ };
13
+ export type VoiceOperationalStatusReport = {
14
+ checkedAt: number;
15
+ checks: VoiceOperationalStatusCheck[];
16
+ links: {
17
+ deliveryRuntime?: string;
18
+ productionReadiness?: string;
19
+ proofPack?: string;
20
+ };
21
+ status: VoiceOperationalStatus;
22
+ summary: {
23
+ fail: number;
24
+ pass: number;
25
+ total: number;
26
+ warn: number;
27
+ };
28
+ };
29
+ export type VoiceOperationalStatusValue<TValue> = TValue | (() => Promise<TValue> | TValue);
30
+ export type VoiceOperationalStatusOptions = {
31
+ deliveryRuntime?: VoiceDeliveryRuntime | VoiceOperationalStatusValue<VoiceDeliveryRuntimeReport>;
32
+ links?: VoiceOperationalStatusReport['links'];
33
+ productionReadiness?: VoiceOperationalStatusValue<VoiceProductionReadinessReport>;
34
+ proofPack?: VoiceOperationalStatusValue<VoiceProofPackRefreshStatus>;
35
+ };
36
+ export type VoiceOperationalStatusRoutesOptions = VoiceOperationalStatusOptions & {
37
+ headers?: HeadersInit;
38
+ htmlPath?: false | string;
39
+ name?: string;
40
+ path?: string;
41
+ render?: (report: VoiceOperationalStatusReport) => string | Promise<string>;
42
+ title?: string;
43
+ };
44
+ export declare const buildVoiceOperationalStatusReport: (options: VoiceOperationalStatusOptions) => Promise<VoiceOperationalStatusReport>;
45
+ export declare const renderVoiceOperationalStatusHTML: (report: VoiceOperationalStatusReport, options?: {
46
+ title?: string;
47
+ }) => string;
48
+ export declare const createVoiceOperationalStatusRoutes: (options: VoiceOperationalStatusRoutesOptions) => Elysia<"", {
49
+ decorator: {};
50
+ store: {};
51
+ derive: {};
52
+ resolve: {};
53
+ }, {
54
+ typebox: {};
55
+ error: {};
56
+ }, {
57
+ schema: {};
58
+ standaloneSchema: {};
59
+ macro: {};
60
+ macroFn: {};
61
+ parser: {};
62
+ response: {};
63
+ }, {
64
+ [x: string]: {
65
+ get: {
66
+ body: unknown;
67
+ params: {};
68
+ query: unknown;
69
+ headers: unknown;
70
+ response: {
71
+ 200: Response;
72
+ };
73
+ };
74
+ };
75
+ }, {
76
+ derive: {};
77
+ resolve: {};
78
+ schema: {};
79
+ standaloneSchema: {};
80
+ response: {};
81
+ }, {
82
+ derive: {};
83
+ resolve: {};
84
+ schema: {};
85
+ standaloneSchema: {};
86
+ response: {};
87
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/voice",
3
- "version": "0.0.22-beta.430",
3
+ "version": "0.0.22-beta.432",
4
4
  "description": "Voice primitives and Elysia plugin for AbsoluteJS",
5
5
  "repository": {
6
6
  "type": "git",