Skip to content

Commit

Permalink
chore(server): add missing fields for story settings (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
yk-eukarya authored Aug 12, 2023
1 parent 8a6ad6a commit 75d5223
Show file tree
Hide file tree
Showing 15 changed files with 1,499 additions and 303 deletions.
26 changes: 26 additions & 0 deletions server/gql/storytelling.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ type Story implements Node {
publishedAt: DateTime
sceneId: ID!
scene: Scene
panelPosition: Position!

isBasicAuthActive: Boolean!
basicAuthUsername: String!
basicAuthPassword: String!
publicTitle: String!
publicDescription: String!
publicImage: String!
publicNoIndex: Boolean!
}

type StoryPage implements Node {
Expand Down Expand Up @@ -40,6 +49,11 @@ type StoryBlock implements Node {
linkedDatasetId: ID
}

enum Position {
LEFT
RIGHT
}

# InputType

input CreateStoryInput {
Expand All @@ -53,6 +67,18 @@ input UpdateStoryInput {
storyId: ID!
title: String
index: Int
panelPosition: Position

# publishment
isBasicAuthActive: Boolean
basicAuthUsername: String
basicAuthPassword: String
alias: String
publicTitle: String
publicDescription: String
publicImage: String
publicNoIndex: Boolean
deletePublicImage: Boolean
}

input MoveStoryInput {
Expand Down
Loading

0 comments on commit 75d5223

Please sign in to comment.