Skip to content

Commit

Permalink
chore(server): add min/max to spacing fields (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
yk-eukarya authored Aug 29, 2023
1 parent c832483 commit 8619e79
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
17 changes: 17 additions & 0 deletions server/e2e/gql_property_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ func updatePropertyValue(e *httpexpect.Expect, propertyID, schemaGroupID, itemID
updatePropertyValue( input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, itemId: $itemId, fieldId: $fieldId, value: $value, type: $type } ) {
property {
id
schema{
id
groups{
fields{
fieldId
type
title
description
prefix
suffix
defaultValue
ui
min
max
}
}
}
}
propertyField {
id
Expand Down
16 changes: 16 additions & 0 deletions server/pkg/builtin/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2031,6 +2031,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: gap
title: Gap
type: number
Expand Down Expand Up @@ -2093,6 +2095,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Text
fields:
Expand All @@ -2113,6 +2117,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: MD Text
fields:
Expand All @@ -2133,6 +2139,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Image
fields:
Expand All @@ -2153,6 +2161,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Video
fields:
Expand All @@ -2173,6 +2183,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Camera Button
list: true
Expand Down Expand Up @@ -2204,6 +2216,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Link Button
list: true
Expand Down Expand Up @@ -2235,6 +2249,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Timeline
fields:
Expand Down

0 comments on commit 8619e79

Please sign in to comment.