• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / codegate-ui / 12805902815

16 Jan 2025 09:28AM CUT coverage: 68.977% (-0.6%) from 69.536%
12805902815

Pull #80

github

web-flow
Merge 94615af54 into ef1b65ca4
Pull Request #80: feat: use @stacklok/ui-kit

208 of 379 branches covered (54.88%)

Branch coverage included in aggregate %.

20 of 26 new or added lines in 8 files covered. (76.92%)

1 existing line in 1 file now uncovered.

399 of 501 relevant lines covered (79.64%)

25.96 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

76.92
/src/api/generated/sdk.gen.ts
1
// This file is auto-generated by @hey-api/openapi-ts
2

3
import {
4
  createClient,
5
  createConfig,
6
  type OptionsLegacyParser,
7
} from "@hey-api/client-fetch";
8
import type {
9
  GetMessagesDashboardMessagesGetError,
10
  GetMessagesDashboardMessagesGetResponse,
11
  GetAlertsDashboardAlertsGetError,
12
  GetAlertsDashboardAlertsGetResponse,
13
  StreamSseDashboardAlertsNotificationGetError,
14
  StreamSseDashboardAlertsNotificationGetResponse,
15
} from "./types.gen";
16

17
export const client = createClient(createConfig());
11✔
18

19
/**
20
 * Get Messages
21
 * Get all the messages from the database and return them as a list of conversations.
22
 */
23
export const getMessagesDashboardMessagesGet = <
11✔
24
  ThrowOnError extends boolean = false,
25
>(
26
  options?: OptionsLegacyParser<unknown, ThrowOnError>,
27
) => {
28
  return (options?.client ?? client).get<
2✔
29
    GetMessagesDashboardMessagesGetResponse,
30
    GetMessagesDashboardMessagesGetError,
31
    ThrowOnError
32
  >({
33
    ...options,
34
    url: "/dashboard/messages",
35
  });
36
};
37

38
/**
39
 * Get Alerts
40
 * Get all the messages from the database and return them as a list of conversations.
41
 */
42
export const getAlertsDashboardAlertsGet = <
11✔
43
  ThrowOnError extends boolean = false,
44
>(
45
  options?: OptionsLegacyParser<unknown, ThrowOnError>,
46
) => {
47
  return (options?.client ?? client).get<
7✔
48
    GetAlertsDashboardAlertsGetResponse,
49
    GetAlertsDashboardAlertsGetError,
50
    ThrowOnError
51
  >({
52
    ...options,
53
    url: "/dashboard/alerts",
54
  });
55
};
56

57
/**
58
 * Stream Sse
59
 * Send alerts event
60
 */
61
export const streamSseDashboardAlertsNotificationGet = <
11✔
62
  ThrowOnError extends boolean = false,
63
>(
64
  options?: OptionsLegacyParser<unknown, ThrowOnError>,
65
) => {
NEW
66
  return (options?.client ?? client).get<
×
67
    StreamSseDashboardAlertsNotificationGetResponse,
68
    StreamSseDashboardAlertsNotificationGetError,
69
    ThrowOnError
70
  >({
71
    ...options,
72
    url: "/dashboard/alerts_notification",
73
  });
74
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc