@paris-ias/list 1.0.68 → 1.0.69

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paris-ias/list",
3
3
  "configKey": "list",
4
- "version": "1.0.68",
4
+ "version": "1.0.69",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.0",
7
7
  "unbuild": "3.5.0"
@@ -0,0 +1,18 @@
1
+ query getAction($itemId: ID = "", $lang: String = "en", $appId: ID = "iea") {
2
+ getAction(itemId: $itemId, appId: $appId, 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
+ }
18
+ }
@@ -0,0 +1,33 @@
1
+ query getAffiliation(
2
+ $itemId: ID = ""
3
+ $appId: ID = "iea"
4
+ $lang: String = "en"
5
+ ) {
6
+ getAffiliation(itemId: $itemId, appId: $appId, 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
+ }
33
+ }
@@ -0,0 +1,29 @@
1
+ query getApp($appId: ID = "iea", $lang: String = "en") {
2
+ getApp(appId: $appId, 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
+ }
27
+ url
28
+ }
29
+ }
@@ -0,0 +1,13 @@
1
+ query getDiscipline(
2
+ $itemId: ID = ""
3
+ $appId: ID = "iea"
4
+ $lang: String = "en"
5
+ ) {
6
+ getDiscipline(itemId: $itemId, appId: $appId, lang: $lang) {
7
+ createdAt
8
+ description
9
+ icon
10
+ name
11
+ updatedAt
12
+ }
13
+ }
@@ -0,0 +1,24 @@
1
+ query getFile($itemId: ID = "", $appId: ID = "iea", $lang: String = "en") {
2
+ getFile(itemId: $itemId, appId: $appId, 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
+ }
24
+ }
@@ -0,0 +1,9 @@
1
+ query getMailing($itemId: ID = "", $appId: ID = "iea", $lang: String = "en") {
2
+ getMailing(itemId: $itemId, appId: $appId, lang: $lang) {
3
+ createdAt
4
+ date
5
+ description
6
+ name
7
+ updatedAt
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ query getTag($itemId: ID = "", $appId: ID = "iea", $lang: String = "en") {
2
+ getTag(itemId: $itemId, appId: $appId, lang: $lang) {
3
+ createdAt
4
+ description
5
+ icon
6
+ name
7
+ updatedAt
8
+ }
9
+ }
@@ -0,0 +1,31 @@
1
+ query listActions(
2
+ $options: ListInput = {
3
+ skip: 0
4
+ limit: 9
5
+ sortBy: ["start"]
6
+ sortDesc: false
7
+ filters: "{}"
8
+ }
9
+ $appId: ID = "iea"
10
+ $lang: String = "en"
11
+ ) {
12
+ listActions(options: $options, appId: $appId, lang: $lang) {
13
+ items {
14
+ color
15
+ image {
16
+ alt
17
+ backgroundColor
18
+ caption
19
+ copyright
20
+ license
21
+ licenseUrl
22
+ url
23
+ }
24
+ link
25
+ name
26
+ slots
27
+ video
28
+ }
29
+ total
30
+ }
31
+ }
@@ -0,0 +1,42 @@
1
+ query listAffiliations(
2
+ $options: ListInput = {
3
+ skip: 0
4
+ limit: 9
5
+ sortBy: ["start"]
6
+ sortDesc: false
7
+ filters: "{}"
8
+ }
9
+ $lang: String = "en"
10
+ $appId: ID = "iea"
11
+ ) {
12
+ listAffiliations(options: $options, appId: $appId, lang: $lang) {
13
+ items {
14
+ image {
15
+ alt
16
+ backgroundColor
17
+ caption
18
+ copyright
19
+ license
20
+ licenseUrl
21
+ url
22
+ }
23
+ location {
24
+ alt
25
+ city
26
+ country
27
+ details
28
+ geocode {
29
+ lat
30
+ lng
31
+ }
32
+ name
33
+ street
34
+ zip
35
+ }
36
+ name
37
+ ror
38
+ url
39
+ }
40
+ total
41
+ }
42
+ }
@@ -0,0 +1,22 @@
1
+ query listDisciplines(
2
+ $appId: ID = "iea"
3
+ $lang: String = "en"
4
+ $options: ListInput = {
5
+ skip: 0
6
+ limit: 9
7
+ sortBy: ["start"]
8
+ sortDesc: false
9
+ filters: "{}"
10
+ }
11
+ ) {
12
+ listDisciplines(options: $options, appId: $appId, lang: $lang) {
13
+ items {
14
+ createdAt
15
+ description
16
+ icon
17
+ name
18
+ updatedAt
19
+ }
20
+ total
21
+ }
22
+ }
@@ -0,0 +1,37 @@
1
+ query listFiles(
2
+ $appId: ID = "iea"
3
+ $lang: String = "en"
4
+ $options: ListInput = {
5
+ skip: 0
6
+ limit: 9
7
+ sortBy: ["start"]
8
+ sortDesc: false
9
+ filters: "{}"
10
+ }
11
+ ) {
12
+ listFiles(options: $options, appId: $appId, lang: $lang) {
13
+ items {
14
+ createdAt
15
+ file
16
+ fileType
17
+ hash
18
+ id
19
+ image {
20
+ alt
21
+ backgroundColor
22
+ caption
23
+ copyright
24
+ license
25
+ licenseUrl
26
+ url
27
+ }
28
+ name
29
+ path
30
+ size
31
+ thumb
32
+ updatedAt
33
+ url
34
+ }
35
+ total
36
+ }
37
+ }
@@ -0,0 +1,22 @@
1
+ query listMailing(
2
+ $appId: ID = "iea"
3
+ $lang: String = "en"
4
+ $options: ListInput = {
5
+ skip: 0
6
+ limit: 9
7
+ sortBy: ["start"]
8
+ sortDesc: false
9
+ filters: "{}"
10
+ }
11
+ ) {
12
+ listMailing(options: $options, appId: $appId, lang: $lang) {
13
+ items {
14
+ createdAt
15
+ date
16
+ description
17
+ name
18
+ updatedAt
19
+ }
20
+ total
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ query listTags(
2
+ $options: ListInput = {
3
+ skip: 0
4
+ limit: 9
5
+ sortBy: ["start"]
6
+ sortDesc: false
7
+ filters: "{}"
8
+ }
9
+ $appId: ID = "iea"
10
+ $lang: String = "en"
11
+ ) {
12
+ listTags(options: $options, appId: $appId, lang: $lang) {
13
+ items {
14
+ createdAt
15
+ description
16
+ icon
17
+ name
18
+ updatedAt
19
+ }
20
+ total
21
+ }
22
+ }
@@ -45,6 +45,48 @@ export default defineNuxtPlugin(async (nuxtApp) => {
45
45
  list: import("../graphql/list/publications.gql"),
46
46
  get: import("../graphql/item/publications.gql")
47
47
  }
48
+ }),
49
+ actions: () => ({
50
+ model: import("@paris-ias/data/dist/list/action.js"),
51
+ queries: {
52
+ list: import("../graphql/list/action.gql"),
53
+ get: import("../graphql/item/action.gql")
54
+ }
55
+ }),
56
+ affiliations: () => ({
57
+ model: import("@paris-ias/data/dist/list/affiliations.js"),
58
+ queries: {
59
+ list: import("../graphql/list/affiliations.gql"),
60
+ get: import("../graphql/item/affiliations.gql")
61
+ }
62
+ }),
63
+ disciplines: () => ({
64
+ model: import("@paris-ias/data/dist/list/disciplines.js"),
65
+ queries: {
66
+ list: import("../graphql/list/disciplines.gql"),
67
+ get: import("../graphql/item/disciplines.gql")
68
+ }
69
+ }),
70
+ files: () => ({
71
+ model: import("@paris-ias/data/dist/list/files.js"),
72
+ queries: {
73
+ list: import("../graphql/list/files.gql"),
74
+ get: import("../graphql/item/files.gql")
75
+ }
76
+ }),
77
+ mailing: () => ({
78
+ model: import("@paris-ias/data/dist/list/mailing.js"),
79
+ queries: {
80
+ list: import("../graphql/list/mailing.gql"),
81
+ get: import("../graphql/item/mailing.gql")
82
+ }
83
+ }),
84
+ tags: () => ({
85
+ model: import("@paris-ias/data/dist/list/tags.js"),
86
+ queries: {
87
+ list: import("../graphql/list/tags.gql"),
88
+ get: import("../graphql/item/tags.gql")
89
+ }
48
90
  })
49
91
  // Add other modules similarly...
50
92
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "AGPL-3.0-only",
3
3
  "main": "./dist/module.mjs",
4
- "version": "1.0.68",
4
+ "version": "1.0.69",
5
5
  "name": "@paris-ias/list",
6
6
  "repository": {
7
7
  "url": "git+https://github.com/IEA-Paris/list.git",
File without changes