Skip to content

Commit

Permalink
chore: make name and type required in dashboard flags
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Sep 26, 2024
1 parent 161ed7e commit 53f7407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type PersonalDashboardSchemaFlagsItem = {
/** The name of the flag */
name: string;
/** The id of the feature project */
project?: string;
project: string;
/** The type of the feature flag */
type?: string;
type: string;
};
2 changes: 1 addition & 1 deletion src/lib/openapi/spec/personal-dashboard-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const personalDashboardSchema = {
items: {
type: 'object',
additionalProperties: false,
required: ['name'],
required: ['name', 'project', 'type'],
properties: {
name: {
type: 'string',
Expand Down

0 comments on commit 53f7407

Please sign in to comment.