Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(server): add array and timeline valuetype to property #770

Merged
merged 9 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion server/gql/_shared.graphql
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading
Loading