@paris-ias/list 1.0.112 → 1.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/runtime/components/list/molecules/Pagination.vue +2 -0
- package/dist/runtime/components/list/organisms/List.vue +11 -1
- package/dist/runtime/runtime/components/actions/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/actions/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/actions/View.vue +20 -0
- package/dist/runtime/runtime/components/affiliations/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/affiliations/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/affiliations/View.vue +20 -0
- package/dist/runtime/runtime/components/apps/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/apps/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/apps/View.vue +20 -0
- package/dist/runtime/runtime/components/disciplines/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/disciplines/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/disciplines/View.vue +20 -0
- package/dist/runtime/runtime/components/events/Badges.vue +73 -0
- package/dist/runtime/runtime/components/events/DateTimePlace.vue +77 -0
- package/dist/runtime/runtime/components/events/DenseItem.vue +60 -0
- package/dist/runtime/runtime/components/events/ExpandedItem.vue +9 -0
- package/dist/runtime/runtime/components/events/RegisterModal.vue +50 -0
- package/dist/runtime/runtime/components/events/RelatedItem.vue +44 -0
- package/dist/runtime/runtime/components/events/RowsItem.vue +118 -0
- package/dist/runtime/runtime/components/events/SlidingItem.vue +63 -0
- package/dist/runtime/runtime/components/events/View.vue +333 -0
- package/dist/runtime/runtime/components/fellowships/Badges.vue +47 -0
- package/dist/runtime/runtime/components/fellowships/DenseItem.vue +42 -0
- package/dist/runtime/runtime/components/fellowships/ExpandedItem.vue +7 -0
- package/dist/runtime/runtime/components/fellowships/RegisterModal.vue +41 -0
- package/dist/runtime/runtime/components/fellowships/RowsItem.vue +58 -0
- package/dist/runtime/runtime/components/fellowships/View.vue +203 -0
- package/dist/runtime/runtime/components/files/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/files/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/files/View.vue +20 -0
- package/dist/runtime/runtime/components/list/atoms/FiltersMenu.vue +44 -0
- package/dist/runtime/runtime/components/list/atoms/ResetButton.vue +33 -0
- package/dist/runtime/runtime/components/list/atoms/ResultsList.vue +27 -0
- package/dist/runtime/runtime/components/list/atoms/SearchInput.vue +59 -0
- package/dist/runtime/runtime/components/list/atoms/SearchItem.vue +65 -0
- package/dist/runtime/runtime/components/list/atoms/SearchString.vue +160 -0
- package/dist/runtime/runtime/components/list/atoms/SortMenu.vue +80 -0
- package/dist/runtime/runtime/components/list/atoms/ViewMenu.vue +63 -0
- package/dist/runtime/runtime/components/list/atoms/itemsPerPage.vue +33 -0
- package/dist/runtime/runtime/components/list/inputs/AutoComplete.vue +24 -0
- package/dist/runtime/runtime/components/list/inputs/BooleanSwitch.vue +20 -0
- package/dist/runtime/runtime/components/list/inputs/Checkbox.vue +20 -0
- package/dist/runtime/runtime/components/list/inputs/Select.vue +28 -0
- package/dist/runtime/runtime/components/list/molecules/Filters.vue +98 -0
- package/dist/runtime/runtime/components/list/molecules/GlobalSearchInput.vue +131 -0
- package/dist/runtime/runtime/components/list/molecules/Header.vue +51 -0
- package/dist/runtime/runtime/components/list/molecules/Pagination.vue +194 -0
- package/dist/runtime/runtime/components/list/molecules/ResultsContainer.vue +78 -0
- package/dist/runtime/runtime/components/list/organisms/List.vue +110 -0
- package/dist/runtime/runtime/components/list/organisms/Results.vue +72 -0
- package/dist/runtime/runtime/components/list/organisms/Slider.vue +180 -0
- package/dist/runtime/runtime/components/list/views/Dense.vue +12 -0
- package/dist/runtime/runtime/components/list/views/Expanded.vue +10 -0
- package/dist/runtime/runtime/components/list/views/Grid.vue +13 -0
- package/dist/runtime/runtime/components/list/views/Rows.vue +12 -0
- package/dist/runtime/runtime/components/list/views/Slider.vue +147 -0
- package/dist/runtime/runtime/components/list/views/Table.vue +13 -0
- package/dist/runtime/runtime/components/mailing/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/mailing/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/mailing/View.vue +20 -0
- package/dist/runtime/runtime/components/misc/atoms/DateStamp.vue +101 -0
- package/dist/runtime/runtime/components/misc/atoms/ImageContainer.vue +127 -0
- package/dist/runtime/runtime/components/misc/atoms/ShareMenu.vue +61 -0
- package/dist/runtime/runtime/components/misc/atoms/Socials.vue +120 -0
- package/dist/runtime/runtime/components/misc/molecules/ChipContainer.vue +31 -0
- package/dist/runtime/runtime/components/misc/molecules/Related.vue +28 -0
- package/dist/runtime/runtime/components/misc/molecules/RelatedItems.vue +27 -0
- package/dist/runtime/runtime/components/misc/molecules/SearchItem.vue +26 -0
- package/dist/runtime/runtime/components/news/DenseItem.vue +73 -0
- package/dist/runtime/runtime/components/news/ExpandedItem.vue +145 -0
- package/dist/runtime/runtime/components/news/Header.vue +7 -0
- package/dist/runtime/runtime/components/news/RelatedItem.vue +44 -0
- package/dist/runtime/runtime/components/news/RowsItem.vue +182 -0
- package/dist/runtime/runtime/components/news/View.vue +174 -0
- package/dist/runtime/runtime/components/people/DenseItem.vue +60 -0
- package/dist/runtime/runtime/components/people/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/people/GroupBadges.vue +54 -0
- package/dist/runtime/runtime/components/people/RelatedItem.vue +41 -0
- package/dist/runtime/runtime/components/people/RowsItem.vue +93 -0
- package/dist/runtime/runtime/components/people/View.vue +172 -0
- package/dist/runtime/runtime/components/projects/DenseItem.vue +77 -0
- package/dist/runtime/runtime/components/projects/ExpandedItem.vue +12 -0
- package/dist/runtime/runtime/components/projects/RelatedItem.vue +44 -0
- package/dist/runtime/runtime/components/projects/RowsItem.vue +103 -0
- package/dist/runtime/runtime/components/projects/View.vue +130 -0
- package/dist/runtime/runtime/components/publications/DenseItem.vue +89 -0
- package/dist/runtime/runtime/components/publications/RelatedItem.vue +44 -0
- package/dist/runtime/runtime/components/publications/RowsItem.vue +105 -0
- package/dist/runtime/runtime/components/publications/View.vue +132 -0
- package/dist/runtime/runtime/components/tags/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/tags/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/tags/View.vue +20 -0
- package/dist/runtime/runtime/components/users/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/users/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/users/View.vue +20 -0
- package/dist/runtime/runtime/composables/useFetchItem.d.ts +6 -0
- package/dist/runtime/runtime/composables/useFetchItem.js +49 -0
- package/dist/runtime/runtime/composables/useIcons.d.ts +1 -0
- package/dist/runtime/runtime/composables/useIcons.js +30 -0
- package/dist/runtime/runtime/composables/useUtils.d.ts +12 -0
- package/dist/runtime/runtime/composables/useUtils.js +48 -0
- package/dist/runtime/runtime/graphql/buildFiltersValues.gql +35 -0
- package/dist/runtime/runtime/graphql/item/action.gql +22 -0
- package/dist/runtime/runtime/graphql/item/affiliations.gql +37 -0
- package/dist/runtime/runtime/graphql/item/apps.gql +34 -0
- package/dist/runtime/runtime/graphql/item/disciplines.gql +17 -0
- package/dist/runtime/runtime/graphql/item/events.gql +120 -0
- package/dist/runtime/runtime/graphql/item/fellowships.gql +164 -0
- package/dist/runtime/runtime/graphql/item/files.gql +25 -0
- package/dist/runtime/runtime/graphql/item/mailing.gql +10 -0
- package/dist/runtime/runtime/graphql/item/news.gql +129 -0
- package/dist/runtime/runtime/graphql/item/people.gql +174 -0
- package/dist/runtime/runtime/graphql/item/projects.gql +171 -0
- package/dist/runtime/runtime/graphql/item/publications.gql +169 -0
- package/dist/runtime/runtime/graphql/item/tags.gql +13 -0
- package/dist/runtime/runtime/graphql/item/users.gql +14 -0
- package/dist/runtime/runtime/graphql/list/action.gql +31 -0
- package/dist/runtime/runtime/graphql/list/affiliations.gql +42 -0
- package/dist/runtime/runtime/graphql/list/apps.gql +42 -0
- package/dist/runtime/runtime/graphql/list/disciplines.gql +22 -0
- package/dist/runtime/runtime/graphql/list/events.gql +44 -0
- package/dist/runtime/runtime/graphql/list/fellowships.gql +53 -0
- package/dist/runtime/runtime/graphql/list/files.gql +37 -0
- package/dist/runtime/runtime/graphql/list/mailing.gql +22 -0
- package/dist/runtime/runtime/graphql/list/news.gql +40 -0
- package/dist/runtime/runtime/graphql/list/people.gql +50 -0
- package/dist/runtime/runtime/graphql/list/projects.gql +37 -0
- package/dist/runtime/runtime/graphql/list/publications.gql +38 -0
- package/dist/runtime/runtime/graphql/list/search.gql +161 -0
- package/dist/runtime/runtime/graphql/list/tags.gql +22 -0
- package/dist/runtime/runtime/graphql/list/users.gql +38 -0
- package/dist/runtime/runtime/graphql/login.gql +0 -0
- package/dist/runtime/runtime/plugins/pinia.d.ts +2 -0
- package/dist/runtime/runtime/plugins/pinia.js +134 -0
- package/dist/runtime/runtime/plugins/vuetify.d.ts +2 -0
- package/dist/runtime/runtime/plugins/vuetify.js +21 -0
- package/dist/runtime/runtime/public/default.png +0 -0
- package/dist/runtime/runtime/public/filters.json +72 -0
- package/dist/runtime/runtime/server/tsconfig.json +3 -0
- package/dist/runtime/runtime/stores/factory.d.ts +25 -0
- package/dist/runtime/runtime/stores/factory.js +19 -0
- package/dist/runtime/runtime/stores/root.d.ts +60 -0
- package/dist/runtime/runtime/stores/root.js +315 -0
- package/dist/runtime/runtime/translations/en.json +350 -0
- package/dist/runtime/runtime/translations/fr.json +349 -0
- package/dist/runtime/runtime/types/imports.d.ts +13 -0
- package/dist/runtime/runtime/types/stores.d.ts +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
{{ item }}
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { useNuxtApp } from "#imports";
|
|
7
|
+
const { $stores } = useNuxtApp();
|
|
8
|
+
defineProps({
|
|
9
|
+
item: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
loading: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
required: false,
|
|
16
|
+
default: false
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
$stores.tags.loading = false;
|
|
20
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
{{ item }}
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { useNuxtApp } from "#imports";
|
|
7
|
+
const { $stores } = useNuxtApp();
|
|
8
|
+
defineProps({
|
|
9
|
+
item: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
loading: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
required: false,
|
|
16
|
+
default: false
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
$stores.users.loading = false;
|
|
20
|
+
</script>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { useRoute, useAsyncQuery, useI18n, useSetI18nParams } from "#imports";
|
|
2
|
+
export const useFetchItem = () => {
|
|
3
|
+
const fetchItem = async (payload) => {
|
|
4
|
+
try {
|
|
5
|
+
const { locale } = useI18n();
|
|
6
|
+
const route = useRoute();
|
|
7
|
+
const variables = {
|
|
8
|
+
itemId: route.params.slug?.toString().trim(),
|
|
9
|
+
appId: "iea",
|
|
10
|
+
lang: locale.value
|
|
11
|
+
};
|
|
12
|
+
const { data, error } = await useAsyncQuery(payload.query, variables);
|
|
13
|
+
if (error.value) {
|
|
14
|
+
console.error("GraphQL error:", error.value);
|
|
15
|
+
throw error.value;
|
|
16
|
+
}
|
|
17
|
+
const item = data?.value[payload.key];
|
|
18
|
+
if (!item) {
|
|
19
|
+
throw createError({
|
|
20
|
+
statusCode: 404,
|
|
21
|
+
message: "Item not found in response"
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
const setI18nParams = useSetI18nParams();
|
|
25
|
+
if (!route.name.includes("people")) {
|
|
26
|
+
setI18nParams({
|
|
27
|
+
en: { slug: item.slug.en },
|
|
28
|
+
fr: { slug: item.slug.fr }
|
|
29
|
+
});
|
|
30
|
+
} else {
|
|
31
|
+
setI18nParams({
|
|
32
|
+
en: { slug: item.slug },
|
|
33
|
+
fr: { slug: item.slug }
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return item;
|
|
37
|
+
} catch (error) {
|
|
38
|
+
console.error("Error fetching item:", error);
|
|
39
|
+
throw createError({
|
|
40
|
+
statusCode: 404,
|
|
41
|
+
message: "Item not found",
|
|
42
|
+
cause: error
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
return {
|
|
47
|
+
fetchItem
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function getFileIcon(fileName: string): string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export default function getFileIcon(fileName) {
|
|
2
|
+
console.log("fileName: ", fileName);
|
|
3
|
+
const fileExtension = fileName.split(".").pop();
|
|
4
|
+
console.log("fileExtension: ", fileExtension);
|
|
5
|
+
switch (fileExtension) {
|
|
6
|
+
case "pdf":
|
|
7
|
+
return "mdi-file-pdf-box";
|
|
8
|
+
case "doc":
|
|
9
|
+
case "docx":
|
|
10
|
+
return "mdi-file-word";
|
|
11
|
+
case "xls":
|
|
12
|
+
case "xlsx":
|
|
13
|
+
return "mdi-file-excel";
|
|
14
|
+
case "ppt":
|
|
15
|
+
case "pptx":
|
|
16
|
+
return "mdi-file-powerpoint";
|
|
17
|
+
case "jpg":
|
|
18
|
+
case "jpeg":
|
|
19
|
+
case "png":
|
|
20
|
+
case "gif":
|
|
21
|
+
return "mdi-file-image";
|
|
22
|
+
case "zip":
|
|
23
|
+
case "rar":
|
|
24
|
+
return "mdi-folder-zip";
|
|
25
|
+
case "txt":
|
|
26
|
+
return "mdi-file-document";
|
|
27
|
+
default:
|
|
28
|
+
return "mdi-file";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const formatDate: (dateStr: string, locale: string) => string;
|
|
2
|
+
export declare const getLocalizedDate: (dateIso: string) => string;
|
|
3
|
+
export declare const getDetailedFormatedDate: (dateStr: string, locale: string) => {
|
|
4
|
+
day: number;
|
|
5
|
+
month: string;
|
|
6
|
+
year: number;
|
|
7
|
+
hours: number;
|
|
8
|
+
minutes: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const capitalize: (value: string, multiple?: boolean) => string;
|
|
11
|
+
export declare const slugify: (str: string) => string;
|
|
12
|
+
export declare const formatDateValue: (date: string | Date, locale: string) => string;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { useNuxtApp } from "#imports";
|
|
2
|
+
export const formatDate = (dateStr, locale) => {
|
|
3
|
+
const date = new Date(dateStr);
|
|
4
|
+
return date.toLocaleDateString(locale, {
|
|
5
|
+
weekday: "long",
|
|
6
|
+
year: "numeric",
|
|
7
|
+
month: "long",
|
|
8
|
+
day: "numeric"
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
export const getLocalizedDate = (dateIso) => {
|
|
12
|
+
const { $i18n } = useNuxtApp();
|
|
13
|
+
return new Date(dateIso).toLocaleDateString(
|
|
14
|
+
$i18n.localeProperties.value.language,
|
|
15
|
+
{
|
|
16
|
+
weekday: "long",
|
|
17
|
+
year: "numeric",
|
|
18
|
+
month: "long",
|
|
19
|
+
day: "numeric"
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
};
|
|
23
|
+
export const getDetailedFormatedDate = (dateStr, locale) => {
|
|
24
|
+
const date = new Date(dateStr);
|
|
25
|
+
return {
|
|
26
|
+
day: date.getDate(),
|
|
27
|
+
month: date.toLocaleString(locale, { month: "long" }),
|
|
28
|
+
year: date.getFullYear(),
|
|
29
|
+
hours: date.getUTCHours(),
|
|
30
|
+
minutes: date.getMinutes()
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export const capitalize = (value, multiple) => multiple ? value.replace(/(?:^|[\s'-])\S/g, (a) => a.toUpperCase()) : value && value.charAt(0).toUpperCase() + value.slice(1);
|
|
34
|
+
export const slugify = (str) => {
|
|
35
|
+
str = str.replace(/^\s+|\s+$/g, "").trim();
|
|
36
|
+
str = str.toLowerCase();
|
|
37
|
+
const from = "\xE0\xE1\xE4\xE2\xE8\xE9\xEB\xEA\xEC\xED\xEF\xEE\xF2\xF3\xF6\xF4\xF9\xFA\xFC\xFB\xF1\xE7\xB7/_,:;";
|
|
38
|
+
const to = "aaaaeeeeiiiioooouuuunc------";
|
|
39
|
+
for (let i = 0, l = from.length; i < l; i++) {
|
|
40
|
+
str = str.replace(new RegExp(from.charAt(i), "g"), to.charAt(i));
|
|
41
|
+
}
|
|
42
|
+
str = str.replace(/[^a-z0-9 -]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-");
|
|
43
|
+
return str;
|
|
44
|
+
};
|
|
45
|
+
export const formatDateValue = (date, locale) => {
|
|
46
|
+
const formattedDate = new Date(date);
|
|
47
|
+
return formattedDate.toLocaleDateString(locale);
|
|
48
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
query buildFiltersValues {
|
|
2
|
+
buildFiltersValues {
|
|
3
|
+
events {
|
|
4
|
+
disciplines
|
|
5
|
+
fellowships
|
|
6
|
+
tags
|
|
7
|
+
category
|
|
8
|
+
}
|
|
9
|
+
fellowships {
|
|
10
|
+
affiliations
|
|
11
|
+
disciplines
|
|
12
|
+
tags
|
|
13
|
+
}
|
|
14
|
+
news {
|
|
15
|
+
category
|
|
16
|
+
tags
|
|
17
|
+
}
|
|
18
|
+
people {
|
|
19
|
+
disciplines
|
|
20
|
+
fellowships
|
|
21
|
+
members
|
|
22
|
+
vintage
|
|
23
|
+
}
|
|
24
|
+
projects {
|
|
25
|
+
tags
|
|
26
|
+
}
|
|
27
|
+
publications {
|
|
28
|
+
affiliations
|
|
29
|
+
disciplines
|
|
30
|
+
eventCategory
|
|
31
|
+
tags
|
|
32
|
+
type
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
query getAction($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
|
|
2
|
+
getAction(appId: $appId, itemId: $itemId, lang: $lang) {
|
|
3
|
+
color
|
|
4
|
+
image {
|
|
5
|
+
alt
|
|
6
|
+
backgroundColor
|
|
7
|
+
caption
|
|
8
|
+
copyright
|
|
9
|
+
license
|
|
10
|
+
licenseUrl
|
|
11
|
+
url
|
|
12
|
+
}
|
|
13
|
+
link
|
|
14
|
+
name
|
|
15
|
+
slots
|
|
16
|
+
video
|
|
17
|
+
slug {
|
|
18
|
+
fr
|
|
19
|
+
en
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
query getAffiliation(
|
|
2
|
+
$appId: ID = "iea"
|
|
3
|
+
$itemId: ID = ""
|
|
4
|
+
$lang: String = "en"
|
|
5
|
+
) {
|
|
6
|
+
getAffiliation(appId: $appId, itemId: $itemId, lang: $lang) {
|
|
7
|
+
image {
|
|
8
|
+
alt
|
|
9
|
+
backgroundColor
|
|
10
|
+
caption
|
|
11
|
+
copyright
|
|
12
|
+
license
|
|
13
|
+
licenseUrl
|
|
14
|
+
url
|
|
15
|
+
}
|
|
16
|
+
location {
|
|
17
|
+
alt
|
|
18
|
+
city
|
|
19
|
+
country
|
|
20
|
+
details
|
|
21
|
+
geocode {
|
|
22
|
+
lat
|
|
23
|
+
lng
|
|
24
|
+
}
|
|
25
|
+
name
|
|
26
|
+
street
|
|
27
|
+
zip
|
|
28
|
+
}
|
|
29
|
+
name
|
|
30
|
+
ror
|
|
31
|
+
url
|
|
32
|
+
slug {
|
|
33
|
+
fr
|
|
34
|
+
en
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
query getApp($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
|
|
2
|
+
getApp(appId: $appId, itemId: $itemId, lang: $lang) {
|
|
3
|
+
appId
|
|
4
|
+
color
|
|
5
|
+
date
|
|
6
|
+
description
|
|
7
|
+
logo {
|
|
8
|
+
alt
|
|
9
|
+
backgroundColor
|
|
10
|
+
caption
|
|
11
|
+
copyright
|
|
12
|
+
license
|
|
13
|
+
licenseUrl
|
|
14
|
+
url
|
|
15
|
+
}
|
|
16
|
+
name
|
|
17
|
+
state
|
|
18
|
+
subtitle
|
|
19
|
+
summary
|
|
20
|
+
tags {
|
|
21
|
+
createdAt
|
|
22
|
+
description
|
|
23
|
+
icon
|
|
24
|
+
name
|
|
25
|
+
updatedAt
|
|
26
|
+
slug {
|
|
27
|
+
en
|
|
28
|
+
fr
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
url
|
|
32
|
+
slug
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
query getEvent($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
|
|
2
|
+
getEvent(appId: $appId, itemId: $itemId, lang: $lang) {
|
|
3
|
+
appId
|
|
4
|
+
availableSlots
|
|
5
|
+
bookingState
|
|
6
|
+
category
|
|
7
|
+
createdBy
|
|
8
|
+
dateText
|
|
9
|
+
description
|
|
10
|
+
details
|
|
11
|
+
id
|
|
12
|
+
image {
|
|
13
|
+
alt
|
|
14
|
+
caption
|
|
15
|
+
backgroundColor
|
|
16
|
+
copyright
|
|
17
|
+
license
|
|
18
|
+
licenseUrl
|
|
19
|
+
url
|
|
20
|
+
}
|
|
21
|
+
name
|
|
22
|
+
place {
|
|
23
|
+
address
|
|
24
|
+
id
|
|
25
|
+
name
|
|
26
|
+
url
|
|
27
|
+
}
|
|
28
|
+
start
|
|
29
|
+
slug {
|
|
30
|
+
fr
|
|
31
|
+
en
|
|
32
|
+
}
|
|
33
|
+
slots {
|
|
34
|
+
email
|
|
35
|
+
firstname
|
|
36
|
+
institution
|
|
37
|
+
lang
|
|
38
|
+
lastname
|
|
39
|
+
}
|
|
40
|
+
state
|
|
41
|
+
stop
|
|
42
|
+
subtitle
|
|
43
|
+
summary
|
|
44
|
+
program
|
|
45
|
+
totalSlots
|
|
46
|
+
eventType
|
|
47
|
+
outside
|
|
48
|
+
url
|
|
49
|
+
related {
|
|
50
|
+
events {
|
|
51
|
+
description
|
|
52
|
+
slug
|
|
53
|
+
image {
|
|
54
|
+
alt
|
|
55
|
+
backgroundColor
|
|
56
|
+
caption
|
|
57
|
+
copyright
|
|
58
|
+
license
|
|
59
|
+
licenseUrl
|
|
60
|
+
url
|
|
61
|
+
}
|
|
62
|
+
name
|
|
63
|
+
url
|
|
64
|
+
}
|
|
65
|
+
news {
|
|
66
|
+
description
|
|
67
|
+
id
|
|
68
|
+
slug
|
|
69
|
+
image {
|
|
70
|
+
alt
|
|
71
|
+
backgroundColor
|
|
72
|
+
caption
|
|
73
|
+
copyright
|
|
74
|
+
license
|
|
75
|
+
licenseUrl
|
|
76
|
+
url
|
|
77
|
+
}
|
|
78
|
+
name
|
|
79
|
+
url
|
|
80
|
+
}
|
|
81
|
+
people {
|
|
82
|
+
firstname
|
|
83
|
+
id
|
|
84
|
+
slug
|
|
85
|
+
image {
|
|
86
|
+
alt
|
|
87
|
+
backgroundColor
|
|
88
|
+
caption
|
|
89
|
+
license
|
|
90
|
+
copyright
|
|
91
|
+
licenseUrl
|
|
92
|
+
url
|
|
93
|
+
}
|
|
94
|
+
lastname
|
|
95
|
+
}
|
|
96
|
+
projects {
|
|
97
|
+
description
|
|
98
|
+
id
|
|
99
|
+
slug
|
|
100
|
+
image {
|
|
101
|
+
alt
|
|
102
|
+
backgroundColor
|
|
103
|
+
caption
|
|
104
|
+
copyright
|
|
105
|
+
license
|
|
106
|
+
licenseUrl
|
|
107
|
+
url
|
|
108
|
+
}
|
|
109
|
+
name
|
|
110
|
+
url
|
|
111
|
+
}
|
|
112
|
+
publications {
|
|
113
|
+
id
|
|
114
|
+
slug
|
|
115
|
+
name
|
|
116
|
+
url
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
query getFellowship(
|
|
2
|
+
$appId: ID = "iea"
|
|
3
|
+
$itemId: ID = ""
|
|
4
|
+
$lang: String = "en"
|
|
5
|
+
) {
|
|
6
|
+
getFellowship(appId: $appId, itemId: $itemId, lang: $lang) {
|
|
7
|
+
id
|
|
8
|
+
action
|
|
9
|
+
applicationStart
|
|
10
|
+
fellowshipStart
|
|
11
|
+
contact
|
|
12
|
+
url
|
|
13
|
+
slug {
|
|
14
|
+
fr
|
|
15
|
+
en
|
|
16
|
+
}
|
|
17
|
+
applicationStop
|
|
18
|
+
fellowshipStop
|
|
19
|
+
publicationDate
|
|
20
|
+
summary
|
|
21
|
+
description
|
|
22
|
+
fellows {
|
|
23
|
+
id
|
|
24
|
+
firstname
|
|
25
|
+
lastname
|
|
26
|
+
image {
|
|
27
|
+
alt
|
|
28
|
+
caption
|
|
29
|
+
backgroundColor
|
|
30
|
+
copyright
|
|
31
|
+
license
|
|
32
|
+
licenseUrl
|
|
33
|
+
url
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
fellowshipType
|
|
37
|
+
files {
|
|
38
|
+
createdAt
|
|
39
|
+
file
|
|
40
|
+
fileType
|
|
41
|
+
hash
|
|
42
|
+
id
|
|
43
|
+
image {
|
|
44
|
+
alt
|
|
45
|
+
caption
|
|
46
|
+
backgroundColor
|
|
47
|
+
copyright
|
|
48
|
+
license
|
|
49
|
+
licenseUrl
|
|
50
|
+
url
|
|
51
|
+
}
|
|
52
|
+
name
|
|
53
|
+
path
|
|
54
|
+
size
|
|
55
|
+
thumb
|
|
56
|
+
updatedAt
|
|
57
|
+
url
|
|
58
|
+
}
|
|
59
|
+
gallery {
|
|
60
|
+
alt
|
|
61
|
+
backgroundColor
|
|
62
|
+
caption
|
|
63
|
+
license
|
|
64
|
+
copyright
|
|
65
|
+
licenseUrl
|
|
66
|
+
url
|
|
67
|
+
}
|
|
68
|
+
image {
|
|
69
|
+
url
|
|
70
|
+
licenseUrl
|
|
71
|
+
license
|
|
72
|
+
copyright
|
|
73
|
+
caption
|
|
74
|
+
backgroundColor
|
|
75
|
+
alt
|
|
76
|
+
}
|
|
77
|
+
member {
|
|
78
|
+
name
|
|
79
|
+
ror
|
|
80
|
+
url
|
|
81
|
+
image {
|
|
82
|
+
alt
|
|
83
|
+
backgroundColor
|
|
84
|
+
caption
|
|
85
|
+
copyright
|
|
86
|
+
license
|
|
87
|
+
licenseUrl
|
|
88
|
+
url
|
|
89
|
+
}
|
|
90
|
+
location {
|
|
91
|
+
alt
|
|
92
|
+
city
|
|
93
|
+
country
|
|
94
|
+
details
|
|
95
|
+
geocode {
|
|
96
|
+
lat
|
|
97
|
+
lng
|
|
98
|
+
}
|
|
99
|
+
name
|
|
100
|
+
street
|
|
101
|
+
zip
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
name
|
|
105
|
+
video {
|
|
106
|
+
alt
|
|
107
|
+
backgroundColor
|
|
108
|
+
caption
|
|
109
|
+
copyright
|
|
110
|
+
license
|
|
111
|
+
licenseUrl
|
|
112
|
+
url
|
|
113
|
+
}
|
|
114
|
+
disciplines {
|
|
115
|
+
description
|
|
116
|
+
createdAt
|
|
117
|
+
icon
|
|
118
|
+
name
|
|
119
|
+
updatedAt
|
|
120
|
+
}
|
|
121
|
+
appId
|
|
122
|
+
affiliations {
|
|
123
|
+
image {
|
|
124
|
+
alt
|
|
125
|
+
backgroundColor
|
|
126
|
+
caption
|
|
127
|
+
copyright
|
|
128
|
+
license
|
|
129
|
+
licenseUrl
|
|
130
|
+
url
|
|
131
|
+
}
|
|
132
|
+
location {
|
|
133
|
+
alt
|
|
134
|
+
city
|
|
135
|
+
country
|
|
136
|
+
details
|
|
137
|
+
geocode {
|
|
138
|
+
lat
|
|
139
|
+
lng
|
|
140
|
+
}
|
|
141
|
+
name
|
|
142
|
+
street
|
|
143
|
+
zip
|
|
144
|
+
}
|
|
145
|
+
name
|
|
146
|
+
ror
|
|
147
|
+
url
|
|
148
|
+
}
|
|
149
|
+
fellowshipDetails {
|
|
150
|
+
applicationMaterials
|
|
151
|
+
funding
|
|
152
|
+
fundingPeriod
|
|
153
|
+
housing
|
|
154
|
+
location
|
|
155
|
+
meals
|
|
156
|
+
profile
|
|
157
|
+
researchSupport
|
|
158
|
+
selectionProcess
|
|
159
|
+
tasks
|
|
160
|
+
type
|
|
161
|
+
}
|
|
162
|
+
status
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
query getFile($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
|
|
2
|
+
getFile(appId: $appId, itemId: $itemId, lang: $lang) {
|
|
3
|
+
createdAt
|
|
4
|
+
file
|
|
5
|
+
fileType
|
|
6
|
+
hash
|
|
7
|
+
id
|
|
8
|
+
image {
|
|
9
|
+
alt
|
|
10
|
+
backgroundColor
|
|
11
|
+
caption
|
|
12
|
+
copyright
|
|
13
|
+
license
|
|
14
|
+
licenseUrl
|
|
15
|
+
url
|
|
16
|
+
}
|
|
17
|
+
name
|
|
18
|
+
path
|
|
19
|
+
size
|
|
20
|
+
thumb
|
|
21
|
+
updatedAt
|
|
22
|
+
url
|
|
23
|
+
slug
|
|
24
|
+
}
|
|
25
|
+
}
|