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 missing fields for story settings #628

Merged
merged 3 commits into from
Aug 12, 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
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
Loading