mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-31 01:16:01 +02:00
chore: generate orval types (#6336)
This commit is contained in:
parent
3b7b816b44
commit
12a085f5a0
@ -26,6 +26,7 @@ test('Display application overview with environments', async () => {
|
||||
sdks: ['unleash-client-node:5.5.0-beta.0'],
|
||||
},
|
||||
],
|
||||
issues: [],
|
||||
featureCount: 1,
|
||||
projects: ['default'],
|
||||
});
|
||||
@ -53,6 +54,7 @@ test('Display application overview without environments', async () => {
|
||||
setupApi({
|
||||
environments: [],
|
||||
featureCount: 0,
|
||||
issues: [],
|
||||
projects: ['default'],
|
||||
});
|
||||
render(
|
||||
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ApplicationOverviewIssuesSchemaType } from './applicationOverviewIssuesSchemaType';
|
||||
|
||||
/**
|
||||
* This list of issues that might be wrong with the application
|
||||
*/
|
||||
export interface ApplicationOverviewIssuesSchema {
|
||||
/** The list of issues that might be wrong with the application */
|
||||
items: string[];
|
||||
/** The name of this action. */
|
||||
type: ApplicationOverviewIssuesSchemaType;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The name of this action.
|
||||
*/
|
||||
export type ApplicationOverviewIssuesSchemaType =
|
||||
(typeof ApplicationOverviewIssuesSchemaType)[keyof typeof ApplicationOverviewIssuesSchemaType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ApplicationOverviewIssuesSchemaType = {
|
||||
missingFeatures: 'missingFeatures',
|
||||
missingStrategies: 'missingStrategies',
|
||||
} as const;
|
@ -4,6 +4,7 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ApplicationOverviewEnvironmentSchema } from './applicationOverviewEnvironmentSchema';
|
||||
import type { ApplicationOverviewIssuesSchema } from './applicationOverviewIssuesSchema';
|
||||
|
||||
/**
|
||||
* Data about an application that's connected to Unleash via an SDK.
|
||||
@ -13,6 +14,8 @@ export interface ApplicationOverviewSchema {
|
||||
environments: ApplicationOverviewEnvironmentSchema[];
|
||||
/** The number of features the application has been using. */
|
||||
featureCount: number;
|
||||
/** This list of issues that might be wrong with the application */
|
||||
issues: ApplicationOverviewIssuesSchema[];
|
||||
/** The list of projects the application has been using. */
|
||||
projects: string[];
|
||||
}
|
||||
|
@ -91,6 +91,8 @@ export * from './apiTokenSchema';
|
||||
export * from './apiTokenSchemaType';
|
||||
export * from './apiTokensSchema';
|
||||
export * from './applicationOverviewEnvironmentSchema';
|
||||
export * from './applicationOverviewIssuesSchema';
|
||||
export * from './applicationOverviewIssuesSchemaType';
|
||||
export * from './applicationOverviewSchema';
|
||||
export * from './applicationSchema';
|
||||
export * from './applicationUsageSchema';
|
||||
|
Loading…
Reference in New Issue
Block a user