chore: fix prettier configuration and run it
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
105d3b5814
commit
c255ceacbb
@ -1,44 +1,46 @@
|
|||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/elixir-phoenix-postgres
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/elixir-phoenix-postgres
|
||||||
{
|
{
|
||||||
"name": "Elixir, Phoenix, Node.js & PostgresSQL (Community)",
|
"name": "Elixir, Phoenix, Node.js & PostgresSQL (Community)",
|
||||||
"dockerComposeFile": "docker-compose.yml",
|
"dockerComposeFile": "docker-compose.yml",
|
||||||
"service": "elixir",
|
"service": "elixir",
|
||||||
"workspaceFolder": "/workspace",
|
"workspaceFolder": "/workspace",
|
||||||
|
|
||||||
// Set *default* container specific settings.json values on container create.
|
// Set *default* container specific settings.json values on container create.
|
||||||
"settings": {
|
"settings": {
|
||||||
"sqltools.connections": [{
|
"sqltools.connections": [
|
||||||
"name": "Container database",
|
{
|
||||||
"driver": "PostgreSQL",
|
"name": "Container database",
|
||||||
"previewLimit": 50,
|
"driver": "PostgreSQL",
|
||||||
"server": "localhost",
|
"previewLimit": 50,
|
||||||
"port": 5432,
|
"server": "localhost",
|
||||||
"database": "postgres",
|
"port": 5432,
|
||||||
"username": "postgres",
|
"database": "postgres",
|
||||||
"password": "postgres"
|
"username": "postgres",
|
||||||
}]
|
"password": "postgres"
|
||||||
},
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"jakebecker.elixir-ls",
|
"jakebecker.elixir-ls",
|
||||||
"mtxr.sqltools",
|
"mtxr.sqltools",
|
||||||
"mtxr.sqltools-driver-pg"
|
"mtxr.sqltools-driver-pg"
|
||||||
],
|
],
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
"forwardPorts": [4000, 4001, 5432],
|
"forwardPorts": [4000, 4001, 5432],
|
||||||
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
// "postCreateCommand": "mix deps.get",
|
// "postCreateCommand": "mix deps.get",
|
||||||
// "runArgs": ["--userns=keep-id", "--privileged"],
|
// "runArgs": ["--userns=keep-id", "--privileged"],
|
||||||
// "containerUser": "vscode",
|
// "containerUser": "vscode",
|
||||||
// "containerEnv": {
|
// "containerEnv": {
|
||||||
// "HOME": "/home/vscode",
|
// "HOME": "/home/vscode",
|
||||||
// },
|
// },
|
||||||
// "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,Z",
|
// "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,Z",
|
||||||
|
|
||||||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
||||||
"remoteUser": "vscode"
|
"remoteUser": "vscode"
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,6 @@ lint-elixir:
|
|||||||
reports:
|
reports:
|
||||||
codequality: codeclimate.json
|
codequality: codeclimate.json
|
||||||
|
|
||||||
|
|
||||||
lint-front:
|
lint-front:
|
||||||
image: node:20
|
image: node:20
|
||||||
stage: check
|
stage: check
|
||||||
@ -182,7 +181,7 @@ e2e:
|
|||||||
- npx playwright test --project $BROWSER
|
- npx playwright test --project $BROWSER
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- BROWSER: ['firefox', 'chromium']
|
- BROWSER: ["firefox", "chromium"]
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 2 days
|
expire_in: 2 days
|
||||||
paths:
|
paths:
|
||||||
@ -268,7 +267,6 @@ build-and-push-to-latest-docker-tag:
|
|||||||
- ARCH: ["arm64"]
|
- ARCH: ["arm64"]
|
||||||
ERL_FLAGS: ["ERL_FLAGS=+JMsingle true"]
|
ERL_FLAGS: ["ERL_FLAGS=+JMsingle true"]
|
||||||
|
|
||||||
|
|
||||||
# Don't push to latest when building beta/rc tags
|
# Don't push to latest when building beta/rc tags
|
||||||
build-and-push-docker-tag:
|
build-and-push-docker-tag:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
src/i18n/*.json
|
src/i18n/*.json
|
||||||
coverage/
|
coverage/
|
||||||
|
**/*.md
|
||||||
|
test/fixtures
|
221
schema.graphql
221
schema.graphql
@ -661,10 +661,7 @@ type Todo {
|
|||||||
"Root subscription"
|
"Root subscription"
|
||||||
type RootSubscriptionType {
|
type RootSubscriptionType {
|
||||||
"Notify when a person's participation's status changed for an event"
|
"Notify when a person's participation's status changed for an event"
|
||||||
eventPersonParticipationChanged(
|
eventPersonParticipationChanged("The person's ID" personId: ID!): Person
|
||||||
"The person's ID"
|
|
||||||
personId: ID!
|
|
||||||
): Person
|
|
||||||
|
|
||||||
"Notify when a person's membership's status changed for a group"
|
"Notify when a person's membership's status changed for a group"
|
||||||
groupMembershipChanged(
|
groupMembershipChanged(
|
||||||
@ -676,10 +673,7 @@ type RootSubscriptionType {
|
|||||||
): Person
|
): Person
|
||||||
|
|
||||||
"Notify when a discussion changed"
|
"Notify when a discussion changed"
|
||||||
discussionCommentChanged(
|
discussionCommentChanged("The discussion's slug" slug: String!): Discussion
|
||||||
"The discussion's slug"
|
|
||||||
slug: String!
|
|
||||||
): Discussion
|
|
||||||
}
|
}
|
||||||
|
|
||||||
"Event categories list configuration"
|
"Event categories list configuration"
|
||||||
@ -1298,10 +1292,7 @@ type RootMutationType {
|
|||||||
): Login
|
): Login
|
||||||
|
|
||||||
"Refresh a token"
|
"Refresh a token"
|
||||||
refreshToken(
|
refreshToken("A refresh token" refreshToken: String!): RefreshedToken
|
||||||
"A refresh token"
|
|
||||||
refreshToken: String!
|
|
||||||
): RefreshedToken
|
|
||||||
|
|
||||||
"Logout an user, deleting a refresh token"
|
"Logout an user, deleting a refresh token"
|
||||||
logout(refreshToken: String!): String
|
logout(refreshToken: String!): String
|
||||||
@ -1373,10 +1364,7 @@ type RootMutationType {
|
|||||||
): UserSettings
|
): UserSettings
|
||||||
|
|
||||||
"Update the user's locale"
|
"Update the user's locale"
|
||||||
updateLocale(
|
updateLocale("The user's new locale" locale: String): User
|
||||||
"The user's new locale"
|
|
||||||
locale: String
|
|
||||||
): User
|
|
||||||
|
|
||||||
"Create a new person for user"
|
"Create a new person for user"
|
||||||
createPerson(
|
createPerson(
|
||||||
@ -1415,10 +1403,7 @@ type RootMutationType {
|
|||||||
): Person
|
): Person
|
||||||
|
|
||||||
"Delete an identity"
|
"Delete an identity"
|
||||||
deletePerson(
|
deletePerson("The person's ID" id: ID!): Person
|
||||||
"The person's ID"
|
|
||||||
id: ID!
|
|
||||||
): Person
|
|
||||||
|
|
||||||
"Register a first profile on registration"
|
"Register a first profile on registration"
|
||||||
registerPerson(
|
registerPerson(
|
||||||
@ -1499,10 +1484,7 @@ type RootMutationType {
|
|||||||
): Group
|
): Group
|
||||||
|
|
||||||
"Delete a group"
|
"Delete a group"
|
||||||
deleteGroup(
|
deleteGroup("The group ID" groupId: ID!): DeletedObject
|
||||||
"The group ID"
|
|
||||||
groupId: ID!
|
|
||||||
): DeletedObject
|
|
||||||
|
|
||||||
"Follow a group"
|
"Follow a group"
|
||||||
followGroup(
|
followGroup(
|
||||||
@ -1523,10 +1505,7 @@ type RootMutationType {
|
|||||||
): Follower
|
): Follower
|
||||||
|
|
||||||
"Unfollow a group"
|
"Unfollow a group"
|
||||||
unfollowGroup(
|
unfollowGroup("The group ID" groupId: ID!): Follower
|
||||||
"The group ID"
|
|
||||||
groupId: ID!
|
|
||||||
): Follower
|
|
||||||
|
|
||||||
"Create an event"
|
"Create an event"
|
||||||
createEvent(
|
createEvent(
|
||||||
@ -1667,10 +1646,7 @@ type RootMutationType {
|
|||||||
): Event
|
): Event
|
||||||
|
|
||||||
"Delete an event"
|
"Delete an event"
|
||||||
deleteEvent(
|
deleteEvent("The event ID to delete" eventId: ID!): DeletedObject
|
||||||
"The event ID to delete"
|
|
||||||
eventId: ID!
|
|
||||||
): DeletedObject
|
|
||||||
|
|
||||||
"Create a comment"
|
"Create a comment"
|
||||||
createComment(
|
createComment(
|
||||||
@ -1706,10 +1682,7 @@ type RootMutationType {
|
|||||||
): Comment
|
): Comment
|
||||||
|
|
||||||
"Delete a single comment"
|
"Delete a single comment"
|
||||||
deleteComment(
|
deleteComment("The comment ID" commentId: ID!): Comment
|
||||||
"The comment ID"
|
|
||||||
commentId: ID!
|
|
||||||
): Comment
|
|
||||||
|
|
||||||
"Join an event"
|
"Join an event"
|
||||||
joinEvent(
|
joinEvent(
|
||||||
@ -1772,16 +1745,10 @@ type RootMutationType {
|
|||||||
): String
|
): String
|
||||||
|
|
||||||
"Join a group"
|
"Join a group"
|
||||||
joinGroup(
|
joinGroup("The group ID" groupId: ID!): Member
|
||||||
"The group ID"
|
|
||||||
groupId: ID!
|
|
||||||
): Member
|
|
||||||
|
|
||||||
"Leave a group"
|
"Leave a group"
|
||||||
leaveGroup(
|
leaveGroup("The group ID" groupId: ID!): DeletedObject
|
||||||
"The group ID"
|
|
||||||
groupId: ID!
|
|
||||||
): DeletedObject
|
|
||||||
|
|
||||||
"Invite an actor to join the group"
|
"Invite an actor to join the group"
|
||||||
inviteMember(
|
inviteMember(
|
||||||
@ -1793,28 +1760,16 @@ type RootMutationType {
|
|||||||
): Member
|
): Member
|
||||||
|
|
||||||
"Accept an invitation to a group"
|
"Accept an invitation to a group"
|
||||||
acceptInvitation(
|
acceptInvitation("The member ID" id: ID!): Member
|
||||||
"The member ID"
|
|
||||||
id: ID!
|
|
||||||
): Member
|
|
||||||
|
|
||||||
"Reject an invitation to a group"
|
"Reject an invitation to a group"
|
||||||
rejectInvitation(
|
rejectInvitation("The member ID" id: ID!): Member
|
||||||
"The member ID"
|
|
||||||
id: ID!
|
|
||||||
): Member
|
|
||||||
|
|
||||||
"Approve a membership request"
|
"Approve a membership request"
|
||||||
approveMember(
|
approveMember("The member ID" memberId: ID!): Member
|
||||||
"The member ID"
|
|
||||||
memberId: ID!
|
|
||||||
): Member
|
|
||||||
|
|
||||||
"Reject a membership request"
|
"Reject a membership request"
|
||||||
rejectMember(
|
rejectMember("The member ID" memberId: ID!): Member
|
||||||
"The member ID"
|
|
||||||
memberId: ID!
|
|
||||||
): Member
|
|
||||||
|
|
||||||
"Update a member's role"
|
"Update a member's role"
|
||||||
updateMember(
|
updateMember(
|
||||||
@ -1835,16 +1790,10 @@ type RootMutationType {
|
|||||||
): Member
|
): Member
|
||||||
|
|
||||||
"Create a Feed Token"
|
"Create a Feed Token"
|
||||||
createFeedToken(
|
createFeedToken("The actor ID for the feed token" actorId: ID): FeedToken
|
||||||
"The actor ID for the feed token"
|
|
||||||
actorId: ID
|
|
||||||
): FeedToken
|
|
||||||
|
|
||||||
"Delete a feed token"
|
"Delete a feed token"
|
||||||
deleteFeedToken(
|
deleteFeedToken("The token to delete" token: String!): DeletedFeedToken
|
||||||
"The token to delete"
|
|
||||||
token: String!
|
|
||||||
): DeletedFeedToken
|
|
||||||
|
|
||||||
"Upload a media"
|
"Upload a media"
|
||||||
uploadMedia(
|
uploadMedia(
|
||||||
@ -1859,10 +1808,7 @@ type RootMutationType {
|
|||||||
): Media
|
): Media
|
||||||
|
|
||||||
"Remove a media"
|
"Remove a media"
|
||||||
removeMedia(
|
removeMedia("The media's ID" id: ID!): DeletedObject
|
||||||
"The media's ID"
|
|
||||||
id: ID!
|
|
||||||
): DeletedObject
|
|
||||||
|
|
||||||
"Create a report"
|
"Create a report"
|
||||||
createReport(
|
createReport(
|
||||||
@ -1901,34 +1847,19 @@ type RootMutationType {
|
|||||||
): ReportNote
|
): ReportNote
|
||||||
|
|
||||||
"Delete a note on a report"
|
"Delete a note on a report"
|
||||||
deleteReportNote(
|
deleteReportNote("The note's ID" noteId: ID!): DeletedObject
|
||||||
"The note's ID"
|
|
||||||
noteId: ID!
|
|
||||||
): DeletedObject
|
|
||||||
|
|
||||||
"Add an instance subscription"
|
"Add an instance subscription"
|
||||||
addInstance(
|
addInstance("The instance domain to add" domain: String!): Instance
|
||||||
"The instance domain to add"
|
|
||||||
domain: String!
|
|
||||||
): Instance
|
|
||||||
|
|
||||||
"Delete a relay subscription"
|
"Delete a relay subscription"
|
||||||
removeRelay(
|
removeRelay("The relay hostname to delete" address: String!): Follower
|
||||||
"The relay hostname to delete"
|
|
||||||
address: String!
|
|
||||||
): Follower
|
|
||||||
|
|
||||||
"Accept a relay subscription"
|
"Accept a relay subscription"
|
||||||
acceptRelay(
|
acceptRelay("The accepted relay hostname" address: String!): Follower
|
||||||
"The accepted relay hostname"
|
|
||||||
address: String!
|
|
||||||
): Follower
|
|
||||||
|
|
||||||
"Reject a relay subscription"
|
"Reject a relay subscription"
|
||||||
rejectRelay(
|
rejectRelay("The rejected relay hostname" address: String!): Follower
|
||||||
"The rejected relay hostname"
|
|
||||||
address: String!
|
|
||||||
): Follower
|
|
||||||
|
|
||||||
"Save admin settings"
|
"Save admin settings"
|
||||||
saveAdminSettings(
|
saveAdminSettings(
|
||||||
@ -2072,10 +2003,7 @@ type RootMutationType {
|
|||||||
): Discussion
|
): Discussion
|
||||||
|
|
||||||
"Delete a discussion"
|
"Delete a discussion"
|
||||||
deleteDiscussion(
|
deleteDiscussion("The discussion's ID" discussionId: ID!): Discussion
|
||||||
"The discussion's ID"
|
|
||||||
discussionId: ID!
|
|
||||||
): Discussion
|
|
||||||
|
|
||||||
"Create a resource"
|
"Create a resource"
|
||||||
createResource(
|
createResource(
|
||||||
@ -2117,10 +2045,7 @@ type RootMutationType {
|
|||||||
): Resource
|
): Resource
|
||||||
|
|
||||||
"Delete a resource"
|
"Delete a resource"
|
||||||
deleteResource(
|
deleteResource("The resource ID" id: ID!): DeletedObject
|
||||||
"The resource ID"
|
|
||||||
id: ID!
|
|
||||||
): DeletedObject
|
|
||||||
|
|
||||||
"Get a preview for a resource link"
|
"Get a preview for a resource link"
|
||||||
previewResourceLink(
|
previewResourceLink(
|
||||||
@ -2192,28 +2117,16 @@ type RootMutationType {
|
|||||||
): Post
|
): Post
|
||||||
|
|
||||||
"Delete a post"
|
"Delete a post"
|
||||||
deletePost(
|
deletePost("The post's ID" id: ID!): DeletedObject
|
||||||
"The post's ID"
|
|
||||||
id: ID!
|
|
||||||
): DeletedObject
|
|
||||||
|
|
||||||
"Suspend an actor"
|
"Suspend an actor"
|
||||||
suspendProfile(
|
suspendProfile("The remote profile ID to suspend" id: ID!): DeletedObject
|
||||||
"The remote profile ID to suspend"
|
|
||||||
id: ID!
|
|
||||||
): DeletedObject
|
|
||||||
|
|
||||||
"Unsuspend an actor"
|
"Unsuspend an actor"
|
||||||
unsuspendProfile(
|
unsuspendProfile("The remote profile ID to unsuspend" id: ID!): Actor
|
||||||
"The remote profile ID to unsuspend"
|
|
||||||
id: ID!
|
|
||||||
): Actor
|
|
||||||
|
|
||||||
"Refresh a profile"
|
"Refresh a profile"
|
||||||
refreshProfile(
|
refreshProfile("The remote profile ID to refresh" id: ID!): Actor
|
||||||
"The remote profile ID to refresh"
|
|
||||||
id: ID!
|
|
||||||
): Actor
|
|
||||||
|
|
||||||
"Update follower"
|
"Update follower"
|
||||||
updateFollower(
|
updateFollower(
|
||||||
@ -2228,7 +2141,11 @@ type RootMutationType {
|
|||||||
|
|
||||||
unregisterPush(endpoint: String!): String
|
unregisterPush(endpoint: String!): String
|
||||||
|
|
||||||
updateActivitySetting(key: String!, method: String!, enabled: Boolean!): ActivitySetting
|
updateActivitySetting(
|
||||||
|
key: String!
|
||||||
|
method: String!
|
||||||
|
enabled: Boolean!
|
||||||
|
): ActivitySetting
|
||||||
}
|
}
|
||||||
|
|
||||||
type ActivityParamItem {
|
type ActivityParamItem {
|
||||||
@ -2328,10 +2245,7 @@ type RootQueryType {
|
|||||||
): Events
|
): Events
|
||||||
|
|
||||||
"Interact with an URI"
|
"Interact with an URI"
|
||||||
interact(
|
interact("The URI for to interact with" uri: String!): Interactable
|
||||||
"The URI for to interact with"
|
|
||||||
uri: String!
|
|
||||||
): Interactable
|
|
||||||
|
|
||||||
"Get an user"
|
"Get an user"
|
||||||
user(id: ID!): User
|
user(id: ID!): User
|
||||||
@ -2370,10 +2284,7 @@ type RootQueryType {
|
|||||||
): Person
|
): Person
|
||||||
|
|
||||||
"Get a person by its ID"
|
"Get a person by its ID"
|
||||||
person(
|
person("The person ID" id: ID!): Person
|
||||||
"The person ID"
|
|
||||||
id: ID!
|
|
||||||
): Person
|
|
||||||
|
|
||||||
"Get the persons for an user"
|
"Get the persons for an user"
|
||||||
identities: [Person]
|
identities: [Person]
|
||||||
@ -2427,10 +2338,7 @@ type RootQueryType {
|
|||||||
): PaginatedGroupList
|
): PaginatedGroupList
|
||||||
|
|
||||||
"Get a group by its ID"
|
"Get a group by its ID"
|
||||||
getGroup(
|
getGroup("The group ID" id: ID!): Group
|
||||||
"The group ID"
|
|
||||||
id: ID!
|
|
||||||
): Group
|
|
||||||
|
|
||||||
"Get a group by its preferred username"
|
"Get a group by its preferred username"
|
||||||
group(
|
group(
|
||||||
@ -2439,10 +2347,7 @@ type RootQueryType {
|
|||||||
): Group
|
): Group
|
||||||
|
|
||||||
"Get a group by its preferred username"
|
"Get a group by its preferred username"
|
||||||
groupById(
|
groupById("The group local ID" id: ID!): Group
|
||||||
"The group local ID"
|
|
||||||
id: ID!
|
|
||||||
): Group
|
|
||||||
|
|
||||||
"Get all events"
|
"Get all events"
|
||||||
events(
|
events(
|
||||||
@ -2460,16 +2365,10 @@ type RootQueryType {
|
|||||||
): PaginatedEventList
|
): PaginatedEventList
|
||||||
|
|
||||||
"Get an event by uuid"
|
"Get an event by uuid"
|
||||||
event(
|
event("The event's UUID" uuid: UUID!): Event
|
||||||
"The event's UUID"
|
|
||||||
uuid: UUID!
|
|
||||||
): Event
|
|
||||||
|
|
||||||
"Get replies for thread"
|
"Get replies for thread"
|
||||||
thread(
|
thread("The comment ID" id: ID!): [Comment]
|
||||||
"The comment ID"
|
|
||||||
id: ID!
|
|
||||||
): [Comment]
|
|
||||||
|
|
||||||
"Get the list of tags"
|
"Get the list of tags"
|
||||||
tags(
|
tags(
|
||||||
@ -2519,10 +2418,7 @@ type RootQueryType {
|
|||||||
config: Config
|
config: Config
|
||||||
|
|
||||||
"Get a media"
|
"Get a media"
|
||||||
media(
|
media("The media ID" id: ID!): Media
|
||||||
"The media ID"
|
|
||||||
id: ID!
|
|
||||||
): Media
|
|
||||||
|
|
||||||
"Get all reports"
|
"Get all reports"
|
||||||
reports(
|
reports(
|
||||||
@ -2540,10 +2436,7 @@ type RootQueryType {
|
|||||||
): PaginatedReportList
|
): PaginatedReportList
|
||||||
|
|
||||||
"Get a report by id"
|
"Get a report by id"
|
||||||
report(
|
report("The report ID" id: ID!): Report
|
||||||
"The report ID"
|
|
||||||
id: ID!
|
|
||||||
): Report
|
|
||||||
|
|
||||||
"Get the list of action logs"
|
"Get the list of action logs"
|
||||||
actionLogs(page: Int, limit: Int): PaginatedActionLogList
|
actionLogs(page: Int, limit: Int): PaginatedActionLogList
|
||||||
@ -2609,22 +2502,13 @@ type RootQueryType {
|
|||||||
): PaginatedInstanceList
|
): PaginatedInstanceList
|
||||||
|
|
||||||
"Get an instance's details"
|
"Get an instance's details"
|
||||||
instance(
|
instance("The instance domain" domain: ID!): Instance
|
||||||
"The instance domain"
|
|
||||||
domain: ID!
|
|
||||||
): Instance
|
|
||||||
|
|
||||||
"Get a todo list"
|
"Get a todo list"
|
||||||
todoList(
|
todoList("The todo-list ID" id: ID!): TodoList
|
||||||
"The todo-list ID"
|
|
||||||
id: ID!
|
|
||||||
): TodoList
|
|
||||||
|
|
||||||
"Get a todo"
|
"Get a todo"
|
||||||
todo(
|
todo("The todo ID" id: ID!): Todo
|
||||||
"The todo ID"
|
|
||||||
id: ID!
|
|
||||||
): Todo
|
|
||||||
|
|
||||||
"Get a discussion"
|
"Get a discussion"
|
||||||
discussion(
|
discussion(
|
||||||
@ -2645,10 +2529,7 @@ type RootQueryType {
|
|||||||
): Resource
|
): Resource
|
||||||
|
|
||||||
"Get a post"
|
"Get a post"
|
||||||
post(
|
post("The post's slug" slug: String!): Post
|
||||||
"The post's slug"
|
|
||||||
slug: String!
|
|
||||||
): Post
|
|
||||||
|
|
||||||
"Get the instance statistics"
|
"Get the instance statistics"
|
||||||
statistics: Statistics
|
statistics: Statistics
|
||||||
@ -3249,7 +3130,7 @@ type Follower {
|
|||||||
"Whether the follow has been approved by the target actor"
|
"Whether the follow has been approved by the target actor"
|
||||||
approved: Boolean
|
approved: Boolean
|
||||||
|
|
||||||
"Whether the follower will be notified by the target actor's activity or not (applicable for profile\/group follows)"
|
"Whether the follower will be notified by the target actor's activity or not (applicable for profile/group follows)"
|
||||||
notify: Boolean
|
notify: Boolean
|
||||||
|
|
||||||
"When the follow was created"
|
"When the follow was created"
|
||||||
@ -3924,13 +3805,13 @@ type User implements ActionLogObject {
|
|||||||
"The user's default actor"
|
"The user's default actor"
|
||||||
defaultActor: Person
|
defaultActor: Person
|
||||||
|
|
||||||
"The datetime when the user was confirmed\/activated"
|
"The datetime when the user was confirmed/activated"
|
||||||
confirmedAt: DateTime
|
confirmedAt: DateTime
|
||||||
|
|
||||||
"The datetime the last activation\/confirmation token was sent"
|
"The datetime the last activation/confirmation token was sent"
|
||||||
confirmationSentAt: DateTime
|
confirmationSentAt: DateTime
|
||||||
|
|
||||||
"The account activation\/confirmation token"
|
"The account activation/confirmation token"
|
||||||
confirmationToken: String
|
confirmationToken: String
|
||||||
|
|
||||||
"The datetime last reset password email was sent"
|
"The datetime last reset password email was sent"
|
||||||
@ -4062,7 +3943,7 @@ type Group implements ActionLogObject & ActivityObject & Interactable & Actor {
|
|||||||
"Whether the actors manually approves followers"
|
"Whether the actors manually approves followers"
|
||||||
manuallyApprovesFollowers: Boolean
|
manuallyApprovesFollowers: Boolean
|
||||||
|
|
||||||
"Whether the group can be found and\/or promoted"
|
"Whether the group can be found and/or promoted"
|
||||||
visibility: GroupVisibility
|
visibility: GroupVisibility
|
||||||
|
|
||||||
"If the actor is suspended"
|
"If the actor is suspended"
|
||||||
|
Loading…
Reference in New Issue
Block a user