Replace Vuetify with Bulma

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Remove vuetify and add Bulma

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-01-21 15:08:22 +01:00
parent 759a740625
commit 90fd0ff6b6
79 changed files with 3482 additions and 3369 deletions

View File

@@ -1,14 +1,9 @@
import gql from 'graphql-tag';
export const FETCH_ACTOR = gql`
export const FETCH_PERSON = gql`
query($name:String!) {
actor(preferredUsername: $name) {
person(preferredUsername: $name) {
url,
outboxUrl,
inboxUrl,
followingUrl,
followersUrl,
sharedInboxUrl,
name,
domain,
summary,
@@ -18,22 +13,36 @@ query($name:String!) {
bannerUrl,
organizedEvents {
uuid,
title,
description,
organizer_actor {
avatarUrl,
preferred_username,
name,
}
title
},
}
}
`;
export const LOGGED_ACTOR = gql`
export const LOGGED_PERSON = gql`
query {
loggedActor {
loggedPerson {
id,
avatarUrl,
preferredUsername,
}
}`;
export const IDENTITIES = gql`
query {
identities {
avatarUrl,
preferredUsername,
name
}
}`;
export const CREATE_PERSON = gql`
mutation CreatePerson($preferredUsername: String!) {
createPerson(preferredUsername: $preferredUsername) {
preferredUsername,
name,
avatarUrl
}
}
`

View File

@@ -3,13 +3,14 @@ import gql from 'graphql-tag';
export const FETCH_EVENT = gql`
query($uuid:UUID!) {
event(uuid: $uuid) {
id,
uuid,
url,
local,
title,
description,
begins_on,
ends_on,
beginsOn,
endsOn,
status,
visibility,
thumbnail,
@@ -22,11 +23,11 @@ export const FETCH_EVENT = gql`
preferredUsername,
name,
},
attributedTo {
avatarUrl,
preferredUsername,
name,
},
# attributedTo {
# # avatarUrl,
# preferredUsername,
# name,
# },
participants {
actor {
avatarUrl,
@@ -45,13 +46,14 @@ export const FETCH_EVENT = gql`
export const FETCH_EVENTS = gql`
query {
events {
id,
uuid,
url,
local,
title,
description,
begins_on,
ends_on,
beginsOn,
endsOn,
status,
visibility,
thumbnail,
@@ -72,16 +74,24 @@ export const FETCH_EVENTS = gql`
category {
title,
},
participants {
role,
actor {
preferredUsername,
avatarUrl,
name
}
}
}
}
`;
export const CREATE_EVENT = gql`
mutation CreateEvent(
$title: String!,
$description: String!,
$organizerActorId: Int!,
$categoryId: Int!,
$organizerActorId: String!,
$category: String!,
$beginsOn: DateTime!
) {
createEvent(
@@ -89,8 +99,12 @@ export const CREATE_EVENT = gql`
description: $description,
beginsOn: $beginsOn,
organizerActorId: $organizerActorId,
categoryId: $categoryId
)
category: $category
) {
id,
uuid,
title
}
}
`;
@@ -106,3 +120,15 @@ export const EDIT_EVENT = gql`
}
}
`;
export const JOIN_EVENT = gql`
mutation JoinEvent(
$uuid: String!,
$username: String!
) {
joinEvent(
uuid: $uuid,
username: $username
)
}
`;