-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(server): support appearance in server (#644)
- Loading branch information
Showing
21 changed files
with
1,989 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ scalar Lang | |
scalar FileSize | ||
scalar TranslatedString | ||
scalar Cursor | ||
scalar JSON | ||
|
||
# Meta Type | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
type Style { | ||
id: ID! | ||
name: String! | ||
value: JSON! | ||
} | ||
|
||
# InputType | ||
|
||
input AddStyleInput { | ||
sceneId: ID! | ||
name: String! | ||
value: JSON! | ||
} | ||
|
||
input UpdateStyleInput { | ||
StyleId: ID! | ||
sceneId: ID! | ||
name: String! | ||
value: JSON! | ||
} | ||
|
||
input RemoveStyleInput { | ||
StyleId: ID! | ||
sceneId: ID! | ||
} | ||
|
||
# Payload | ||
|
||
type AddStylePayload { | ||
scene: Scene! | ||
Style: Style! | ||
} | ||
|
||
type UpdateStylePayload { | ||
scene: Scene! | ||
Style: Style! | ||
} | ||
|
||
type RemoveStylePayload { | ||
scene: Scene! | ||
StyleId: ID! | ||
} | ||
|
||
#extend type Query{ } | ||
|
||
extend type Mutation { | ||
addStyle(input: AddStyleInput!): AddStylePayload | ||
updateStyle(input: UpdateStyleInput!): UpdateStylePayload | ||
removeStyle(input: RemoveStyleInput!): RemoveStylePayload | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.