Create save dashboard record action (#14665)
Closes https://github.com/twentyhq/core-team-issues/issues/1502 - Created the save action - Removed the temporary data attribute from the page layout widget since we will connect widgets to real data soon https://github.com/user-attachments/assets/2b46b511-f2c2-4e11-873c-a76fd31704e5
This commit is contained in:
+3
-1
@@ -6,6 +6,7 @@ import {
|
||||
IsArray,
|
||||
IsEnum,
|
||||
IsNotEmpty,
|
||||
IsOptional,
|
||||
IsString,
|
||||
IsUUID,
|
||||
ValidateNested,
|
||||
@@ -27,8 +28,9 @@ export class UpdatePageLayoutWithTabsInput {
|
||||
@IsNotEmpty()
|
||||
type: PageLayoutType;
|
||||
|
||||
@Field(() => UUIDScalarType)
|
||||
@Field(() => UUIDScalarType, { nullable: true })
|
||||
@IsUUID()
|
||||
@IsOptional()
|
||||
objectMetadataId: string | null;
|
||||
|
||||
@Field(() => [UpdatePageLayoutTabWithWidgetsInput])
|
||||
|
||||
Reference in New Issue
Block a user