mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-27 01:19:00 +02:00
feat: handle nullable sdk type (#9872)
This commit is contained in:
parent
691a9e6e57
commit
3ef32dca93
@ -303,6 +303,7 @@ describe('bulk metrics', () => {
|
||||
instanceId: 'instance5678',
|
||||
environment: 'development',
|
||||
sdkVersion: 'unleash-client-java',
|
||||
sdkType: null,
|
||||
started: '1952-03-11T12:00:00.000Z',
|
||||
interval: 15000,
|
||||
};
|
||||
|
@ -74,7 +74,8 @@ export const bulkRegistrationSchema = {
|
||||
description: 'The sdk type',
|
||||
example: 'backend',
|
||||
type: 'string',
|
||||
enum: ['frontend', 'backend'],
|
||||
enum: ['frontend', 'backend', null],
|
||||
nullable: true,
|
||||
},
|
||||
},
|
||||
components: {
|
||||
|
@ -488,7 +488,7 @@ export interface IClientApp {
|
||||
platformVersion?: string;
|
||||
yggdrasilVersion?: string;
|
||||
specVersion?: string;
|
||||
sdkType?: 'frontend' | 'backend';
|
||||
sdkType?: 'frontend' | 'backend' | null;
|
||||
}
|
||||
|
||||
export interface IAppFeature {
|
||||
|
Loading…
Reference in New Issue
Block a user