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

stacklok / codegate-ui / 12787260724

15 Jan 2025 11:22AM UTC coverage: 69.469%. Remained the same
12787260724

Pull #74

github

web-flow
Merge 7e1003d90 into f2673bcf7
Pull Request #74: chore(api): update generated types

207 of 378 branches covered (54.76%)

Branch coverage included in aggregate %.

5 of 6 new or added lines in 1 file covered. (83.33%)

421 of 526 relevant lines covered (80.04%)

30.82 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 { createClient, createConfig, type OptionsLegacyParser } from '@hey-api/client-fetch';
4
import type { GetMessagesDashboardMessagesGetError, GetMessagesDashboardMessagesGetResponse, GetAlertsDashboardAlertsGetError, GetAlertsDashboardAlertsGetResponse, StreamSseDashboardAlertsNotificationGetError, StreamSseDashboardAlertsNotificationGetResponse } from './types.gen';
5

6
export const client = createClient(createConfig());
11✔
7

8
/**
9
 * Get Messages
10
 * Get all the messages from the database and return them as a list of conversations.
11
 */
12
export const getMessagesDashboardMessagesGet = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
11✔
13
    return (options?.client ?? client).get<GetMessagesDashboardMessagesGetResponse, GetMessagesDashboardMessagesGetError, ThrowOnError>({
2✔
14
        ...options,
15
        url: '/dashboard/messages'
16
    });
17
};
18

19
/**
20
 * Get Alerts
21
 * Get all the messages from the database and return them as a list of conversations.
22
 */
23
export const getAlertsDashboardAlertsGet = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
11✔
24
    return (options?.client ?? client).get<GetAlertsDashboardAlertsGetResponse, GetAlertsDashboardAlertsGetError, ThrowOnError>({
6✔
25
        ...options,
26
        url: '/dashboard/alerts'
27
    });
28
};
29

30
/**
31
 * Stream Sse
32
 * Send alerts event
33
 */
34
export const streamSseDashboardAlertsNotificationGet = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
11✔
NEW
35
    return (options?.client ?? client).get<StreamSseDashboardAlertsNotificationGetResponse, StreamSseDashboardAlertsNotificationGetError, ThrowOnError>({
×
36
        ...options,
37
        url: '/dashboard/alerts_notification'
38
    });
39
};
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