version-upgrade-0.2.18
All checks were successful
deploy / deploy (push) Successful in 1m25s

This commit is contained in:
Untone 2023-12-17 08:08:35 +03:00
parent 4697b44504
commit 81173f989a
5 changed files with 68 additions and 64 deletions

1
.gitignore vendored
View File

@ -149,3 +149,4 @@ dev-server.pid
backups/
poetry.lock
.venv
.ruff_cache

View File

@ -1,3 +1,9 @@
[0.2.18]
- schema: added Shout.seo string field
- resolvers: added /new-author webhook resolver
- services: auth connector upgraded
[0.2.17]
- schema: enum types workaround, ReactionKind, InviteStatus, ShoutVisibility
- schema: Shout.created_by, Shout.updated_by

View File

@ -87,3 +87,5 @@ class Shout(Base):
lang = Column(String, nullable=False, default="ru", comment="Language")
version_of = Column(ForeignKey("shout.id"), nullable=True)
oid = Column(String, nullable=True)
seo = Column(String, nullable=True) # JSON

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "discoursio-core"
version = "0.2.17"
version = "0.2.18"
description = "core module for discours.io"
authors = ["discoursio devteam"]
license = "MIT"

View File

@ -29,7 +29,6 @@ enum ReactionKind {
DISLIKE
}
enum FollowingEntity {
TOPIC
AUTHOR
@ -37,17 +36,14 @@ enum FollowingEntity {
REACTIONS
}
enum InviteStatus {
PENDING
ACCEPTED
REJECTED
}
# Типы
type AuthorFollowings {
unread: Int
topics: [String]
@ -77,6 +73,7 @@ type Author {
last_seen: Int
updated_at: Int
deleted_at: Int
seo: String
# synthetic
stat: AuthorStat # ratings inside
communities: [Community]
@ -292,7 +289,6 @@ type Result {
communities: [Community]
}
# Мутации
type Mutation {
@ -327,7 +323,6 @@ type Mutation {
reject_invite(invite_id: Int!): Result!
}
# Запросы
type Query {