Skip to content

Commit

Permalink
chore(server): add array and timeline valuetype to property (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx committed Oct 27, 2023
1 parent da57ac4 commit dcbe9d1
Show file tree
Hide file tree
Showing 21 changed files with 709 additions and 470 deletions.
8 changes: 7 additions & 1 deletion server/gql/_shared.graphql
Expand Up @@ -7,7 +7,7 @@ scalar FileSize
scalar TranslatedString
scalar Cursor
scalar JSON
scalar Map
scalar Array

# Meta Type

Expand Down Expand Up @@ -94,6 +94,12 @@ type Typography {
underline: Boolean
}

type Timeline {
currentTime: String
startTime: String
endTime: String
}

enum TextAlign {
LEFT
CENTER
Expand Down
2 changes: 2 additions & 0 deletions server/gql/property.graphql
Expand Up @@ -193,6 +193,8 @@ enum ValueType {
POLYGON
RECT
SPACING
ARRAY
TIMELINE
}

# InputType
Expand Down
2 changes: 2 additions & 0 deletions server/gqlgen.yml
Expand Up @@ -28,6 +28,8 @@ models:
model: github.com/reearth/reearth/server/internal/adapter/gql/gqlmodel.ID
JSON:
model: github.com/reearth/reearth/server/internal/adapter/gql/gqlmodel.JSON
Array:
model: github.com/reearth/reearth/server/internal/adapter/gql/gqlmodel.Array
Asset:
fields:
team:
Expand Down

0 comments on commit dcbe9d1

Please sign in to comment.