mirror of
https://github.com/Unleash/unleash.git
synced 2026-01-05 20:06:22 +01:00
feat: export project specific context fields
This commit is contained in:
parent
7a25d724be
commit
09d1374db3
@ -8,7 +8,7 @@ export interface IContextFieldDto {
|
||||
usedInProjects?: number | null;
|
||||
usedInFeatures?: number | null;
|
||||
legalValues?: ILegalValue[];
|
||||
project?: string;
|
||||
project?: string | null;
|
||||
}
|
||||
|
||||
export interface ILegalValue {
|
||||
|
||||
@ -35,6 +35,12 @@ export const updateContextFieldSchema = {
|
||||
$ref: '#/components/schemas/legalValueSchema',
|
||||
},
|
||||
},
|
||||
project: {
|
||||
description:
|
||||
'The project this context field belongs to (if it is project-specific)',
|
||||
type: 'string',
|
||||
example: 'my-project',
|
||||
},
|
||||
},
|
||||
components: {
|
||||
schemas: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user