@paris-ias/trees 2.0.23 → 2.0.25

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.
@@ -18,7 +18,7 @@ export interface Actions {
18
18
  image: Image
19
19
  name: string
20
20
  video?: URL
21
- slots: string[]
21
+ slots: ActionSlots[]
22
22
  start: Date
23
23
  stop: Date
24
24
  }
@@ -1,12 +1,19 @@
1
1
  import type { Form } from "../../index"
2
2
 
3
3
  // Inline type definitions
4
+ export enum AffiliationCategories {
5
+ Member = "MEMBER",
6
+ Sponsor = "SPONSOR",
7
+ Partner = "PARTNER",
8
+ }
9
+
4
10
  export interface Affiliations {
5
11
  location?: Location
6
12
  image?: Image
7
13
  name: string
8
14
  ror?: string
9
15
  url?: string
16
+ category: AffiliationCategories[]
10
17
  }
11
18
 
12
19
  export interface FormModule {
@@ -109,7 +109,7 @@ const data = {
109
109
  "rules": {
110
110
  "required": true,
111
111
  "min": 5,
112
- "max": 200
112
+ "max": 2000
113
113
  },
114
114
  "meta": "description"
115
115
  },
package/dist/form/apps.js CHANGED
@@ -107,7 +107,7 @@ const data = {
107
107
  "rules": {
108
108
  "required": true,
109
109
  "min": 5,
110
- "max": 200
110
+ "max": 2000
111
111
  },
112
112
  "meta": "description"
113
113
  },
@@ -245,7 +245,7 @@ input EventInput {
245
245
  availableSlots: Int
246
246
  slots: [SlotInput!]
247
247
  delay: AWSDateTime
248
- place: PlaceInput
248
+ location: LocationInput
249
249
  start: AWSDateTime
250
250
  stop: AWSDateTime
251
251
  summary: String
@@ -271,7 +271,7 @@ type Event {
271
271
  availableSlots: Int
272
272
  slots: [Slot]
273
273
  delay: AWSDateTime
274
- place: Place
274
+ location: Location
275
275
  start: AWSDateTime
276
276
  stop: AWSDateTime
277
277
  summary: String
@@ -376,7 +376,7 @@ type File {
376
376
  image: Image
377
377
  thumb: AWSURL!
378
378
  createdAt: AWSDateTime!
379
- updatedAt: AWSDateTime!
379
+ updatedAt: AWSDateTime
380
380
  score: Float
381
381
  slug: String
382
382
  alt: String
@@ -594,12 +594,6 @@ input ProfileInput {
594
594
  wikipedia: String
595
595
  }
596
596
 
597
- input PlaceInput {
598
- name: String!
599
- address: String
600
- url: AWSURL
601
- }
602
-
603
597
  input NomenclatureSettingsInput {
604
598
  lang: [String!]
605
599
  defaultLang: String
@@ -627,7 +621,22 @@ input Entity_smInput {
627
621
  name: String!
628
622
  description: String
629
623
  logo: String
630
- place: PlaceInput
624
+ }
625
+
626
+ input GeocodeInput {
627
+ lat: Float!
628
+ lon: Float!
629
+ }
630
+
631
+ input LocationInput {
632
+ name: String!
633
+ details: String
634
+ alt: String
635
+ street: String
636
+ city: String
637
+ country: String
638
+ zip: Int
639
+ geocode: GeocodeInput
631
640
  }
632
641
 
633
642
  type Disciplines {
@@ -638,6 +647,7 @@ type Disciplines {
638
647
  name: String
639
648
  updatedAt: AWSDateTime
640
649
  score: Float
650
+ slug: AWSJSON
641
651
  }
642
652
 
643
653
  type Location {
@@ -649,6 +659,7 @@ type Location {
649
659
  country: String
650
660
  zip: Int
651
661
  geocode: Geocode
662
+ slug: AWSJSON
652
663
  }
653
664
 
654
665
  type Geocode {
@@ -660,7 +671,6 @@ type Entity_sm {
660
671
  name: String!
661
672
  description: String
662
673
  logo: String
663
- place: Place
664
674
  }
665
675
 
666
676
  type Filters {
@@ -684,12 +694,6 @@ type NomenclatureSettings {
684
694
  extended: Boolean
685
695
  }
686
696
 
687
- type Place {
688
- name: String!
689
- address: String
690
- url: AWSURL
691
- }
692
-
693
697
  type Profile {
694
698
  country: Int
695
699
  firstname: String!
@@ -78,7 +78,7 @@ input EventInput {
78
78
  availableSlots: Int
79
79
  slots: [SlotInput!]
80
80
  delay: AWSDateTime
81
- place: PlaceInput
81
+ location: LocationInput
82
82
  start: AWSDateTime
83
83
  stop: AWSDateTime
84
84
  summary: String
@@ -104,7 +104,7 @@ type Event {
104
104
  availableSlots: Int
105
105
  slots: [Slot]
106
106
  delay: AWSDateTime
107
- place: Place
107
+ location: Location
108
108
  start: AWSDateTime
109
109
  stop: AWSDateTime
110
110
  summary: String
@@ -209,7 +209,7 @@ type File {
209
209
  image: Image
210
210
  thumb: AWSURL!
211
211
  createdAt: AWSDateTime!
212
- updatedAt: AWSDateTime!
212
+ updatedAt: AWSDateTime
213
213
  score: Float
214
214
  slug: String
215
215
  alt: String
@@ -427,12 +427,6 @@ input ProfileInput {
427
427
  wikipedia: String
428
428
  }
429
429
 
430
- input PlaceInput {
431
- name: String!
432
- address: String
433
- url: AWSURL
434
- }
435
-
436
430
  input NomenclatureSettingsInput {
437
431
  lang: [String!]
438
432
  defaultLang: String
@@ -460,7 +454,22 @@ input Entity_smInput {
460
454
  name: String!
461
455
  description: String
462
456
  logo: String
463
- place: PlaceInput
457
+ }
458
+
459
+ input GeocodeInput {
460
+ lat: Float!
461
+ lon: Float!
462
+ }
463
+
464
+ input LocationInput {
465
+ name: String!
466
+ details: String
467
+ alt: String
468
+ street: String
469
+ city: String
470
+ country: String
471
+ zip: Int
472
+ geocode: GeocodeInput
464
473
  }
465
474
 
466
475
  type Query {
@@ -497,6 +506,7 @@ type Disciplines {
497
506
  name: String
498
507
  updatedAt: AWSDateTime
499
508
  score: Float
509
+ slug: AWSJSON
500
510
  }
501
511
 
502
512
  type Location {
@@ -508,6 +518,7 @@ type Location {
508
518
  country: String
509
519
  zip: Int
510
520
  geocode: Geocode
521
+ slug: AWSJSON
511
522
  }
512
523
 
513
524
  type Geocode {
@@ -519,7 +530,6 @@ type Entity_sm {
519
530
  name: String!
520
531
  description: String
521
532
  logo: String
522
- place: Place
523
533
  }
524
534
 
525
535
  type Filters {
@@ -543,12 +553,6 @@ type NomenclatureSettings {
543
553
  extended: Boolean
544
554
  }
545
555
 
546
- type Place {
547
- name: String!
548
- address: String
549
- url: AWSURL
550
- }
551
-
552
556
  type Profile {
553
557
  country: Int
554
558
  firstname: String!
@@ -171,10 +171,20 @@ const data = {
171
171
  }
172
172
  },
173
173
  "filters": {
174
- "year": {
174
+ "slots": {
175
175
  "type": "Select",
176
- "items": "",
177
- "value": ""
176
+ "items": {
177
+ "All": "ALL",
178
+ "Fellowships": "FELLOWSHIPS",
179
+ "Network": "NETWORK",
180
+ "Projects": "PROJECTS",
181
+ "Events": "EVENTS",
182
+ "Publications": "PUBLICATIONS",
183
+ "News": "NEWS",
184
+ "People": "PEOPLE"
185
+ },
186
+ "value": "",
187
+ "multiple": true
178
188
  }
179
189
  },
180
190
  "limit": 20,
@@ -18,7 +18,7 @@ export interface Actions {
18
18
  image: Image
19
19
  name: string
20
20
  video?: URL
21
- slots: string[]
21
+ slots: ActionSlots[]
22
22
  start: Date
23
23
  stop: Date
24
24
  }
@@ -169,10 +169,20 @@ const data = {
169
169
  }
170
170
  },
171
171
  "filters": {
172
- "year": {
172
+ "slots": {
173
173
  "type": "Select",
174
- "items": "",
175
- "value": ""
174
+ "items": {
175
+ "All": "ALL",
176
+ "Fellowships": "FELLOWSHIPS",
177
+ "Network": "NETWORK",
178
+ "Projects": "PROJECTS",
179
+ "Events": "EVENTS",
180
+ "Publications": "PUBLICATIONS",
181
+ "News": "NEWS",
182
+ "People": "PEOPLE"
183
+ },
184
+ "value": "",
185
+ "multiple": true
176
186
  }
177
187
  },
178
188
  "limit": 20,
@@ -170,7 +170,18 @@ const data = {
170
170
  "default": 20
171
171
  }
172
172
  },
173
- "filters": {},
173
+ "filters": {
174
+ "category": {
175
+ "type": "Select",
176
+ "items": {
177
+ "Member": "MEMBER",
178
+ "Sponsor": "SPONSOR",
179
+ "Partner": "PARTNER"
180
+ },
181
+ "value": "",
182
+ "multiple": true
183
+ }
184
+ },
174
185
  "limit": 20,
175
186
  "sortBy": [
176
187
  "date"
@@ -1,12 +1,19 @@
1
1
  import type { Sort, Views } from "../../index"
2
2
 
3
3
  // Inline type definitions
4
+ export enum AffiliationCategories {
5
+ Member = "MEMBER",
6
+ Sponsor = "SPONSOR",
7
+ Partner = "PARTNER",
8
+ }
9
+
4
10
  export interface Affiliations {
5
11
  location?: Location
6
12
  image?: Image
7
13
  name: string
8
14
  ror?: string
9
15
  url?: string
16
+ category: AffiliationCategories[]
10
17
  }
11
18
 
12
19
  export interface ListModule {
@@ -168,7 +168,18 @@ const data = {
168
168
  "default": 20
169
169
  }
170
170
  },
171
- "filters": {},
171
+ "filters": {
172
+ "category": {
173
+ "type": "Select",
174
+ "items": {
175
+ "Member": "MEMBER",
176
+ "Sponsor": "SPONSOR",
177
+ "Partner": "PARTNER"
178
+ },
179
+ "value": "",
180
+ "multiple": true
181
+ }
182
+ },
172
183
  "limit": 20,
173
184
  "sortBy": [
174
185
  "date"
@@ -171,9 +171,13 @@ const data = {
171
171
  }
172
172
  },
173
173
  "filters": {
174
- "year": {
174
+ "state": {
175
175
  "type": "Select",
176
- "items": "",
176
+ "items": {
177
+ "Active": "ACTIVE",
178
+ "Suspended": "SUSPENDED",
179
+ "Inactive": "INACTIVE"
180
+ },
177
181
  "value": ""
178
182
  }
179
183
  },
package/dist/list/apps.js CHANGED
@@ -169,9 +169,13 @@ const data = {
169
169
  }
170
170
  },
171
171
  "filters": {
172
- "year": {
172
+ "state": {
173
173
  "type": "Select",
174
- "items": "",
174
+ "items": {
175
+ "Active": "ACTIVE",
176
+ "Suspended": "SUSPENDED",
177
+ "Inactive": "INACTIVE"
178
+ },
175
179
  "value": ""
176
180
  }
177
181
  },
@@ -170,12 +170,7 @@ const data = {
170
170
  "default": 20
171
171
  }
172
172
  },
173
- "filters": {
174
- "year": {
175
- "type": "Select",
176
- "value": ""
177
- }
178
- },
173
+ "filters": {},
179
174
  "limit": 20,
180
175
  "sortBy": [
181
176
  "date"
@@ -168,12 +168,7 @@ const data = {
168
168
  "default": 20
169
169
  }
170
170
  },
171
- "filters": {
172
- "year": {
173
- "type": "Select",
174
- "value": ""
175
- }
176
- },
171
+ "filters": {},
177
172
  "limit": 20,
178
173
  "sortBy": [
179
174
  "date"
@@ -171,43 +171,19 @@ const data = {
171
171
  }
172
172
  },
173
173
  "filters": {
174
- "year": {
175
- "type": "Select",
176
- "value": ""
177
- },
178
174
  "category": {
179
175
  "type": "Select",
180
- "items": [
181
- {
182
- "text": "Document",
183
- "value": "DOCUMENT"
184
- },
185
- {
186
- "text": "Image",
187
- "value": "IMAGE"
188
- },
189
- {
190
- "text": "Video",
191
- "value": "VIDEO"
192
- },
193
- {
194
- "text": "Audio",
195
- "value": "AUDIO"
196
- },
197
- {
198
- "text": "Dataset",
199
- "value": "DATASET"
200
- },
201
- {
202
- "text": "Software",
203
- "value": "SOFTWARE"
204
- },
205
- {
206
- "text": "Other",
207
- "value": "OTHER"
208
- }
209
- ],
210
- "value": ""
176
+ "items": {
177
+ "Document": "DOCUMENT",
178
+ "Image": "IMAGE",
179
+ "Video": "VIDEO",
180
+ "Audio": "AUDIO",
181
+ "Dataset": "DATASET",
182
+ "Software": "SOFTWARE",
183
+ "Other": "OTHER"
184
+ },
185
+ "value": "",
186
+ "multiple": true
211
187
  }
212
188
  },
213
189
  "limit": 20,
@@ -169,43 +169,19 @@ const data = {
169
169
  }
170
170
  },
171
171
  "filters": {
172
- "year": {
173
- "type": "Select",
174
- "value": ""
175
- },
176
172
  "category": {
177
173
  "type": "Select",
178
- "items": [
179
- {
180
- "text": "Document",
181
- "value": "DOCUMENT"
182
- },
183
- {
184
- "text": "Image",
185
- "value": "IMAGE"
186
- },
187
- {
188
- "text": "Video",
189
- "value": "VIDEO"
190
- },
191
- {
192
- "text": "Audio",
193
- "value": "AUDIO"
194
- },
195
- {
196
- "text": "Dataset",
197
- "value": "DATASET"
198
- },
199
- {
200
- "text": "Software",
201
- "value": "SOFTWARE"
202
- },
203
- {
204
- "text": "Other",
205
- "value": "OTHER"
206
- }
207
- ],
208
- "value": ""
174
+ "items": {
175
+ "Document": "DOCUMENT",
176
+ "Image": "IMAGE",
177
+ "Video": "VIDEO",
178
+ "Audio": "AUDIO",
179
+ "Dataset": "DATASET",
180
+ "Software": "SOFTWARE",
181
+ "Other": "OTHER"
182
+ },
183
+ "value": "",
184
+ "multiple": true
209
185
  }
210
186
  },
211
187
  "limit": 20,
@@ -170,12 +170,7 @@ const data = {
170
170
  "default": 20
171
171
  }
172
172
  },
173
- "filters": {
174
- "year": {
175
- "type": "Select",
176
- "value": ""
177
- }
178
- },
173
+ "filters": {},
179
174
  "limit": 20,
180
175
  "sortBy": [
181
176
  "date"
@@ -168,12 +168,7 @@ const data = {
168
168
  "default": 20
169
169
  }
170
170
  },
171
- "filters": {
172
- "year": {
173
- "type": "Select",
174
- "value": ""
175
- }
176
- },
171
+ "filters": {},
177
172
  "limit": 20,
178
173
  "sortBy": [
179
174
  "date"
@@ -170,13 +170,7 @@ const data = {
170
170
  "default": 20
171
171
  }
172
172
  },
173
- "filters": {
174
- "year": {
175
- "type": "Select",
176
- "items": "",
177
- "value": ""
178
- }
179
- },
173
+ "filters": {},
180
174
  "limit": 20,
181
175
  "sortBy": [
182
176
  "date"
package/dist/list/tags.js CHANGED
@@ -168,13 +168,7 @@ const data = {
168
168
  "default": 20
169
169
  }
170
170
  },
171
- "filters": {
172
- "year": {
173
- "type": "Select",
174
- "items": "",
175
- "value": ""
176
- }
177
- },
171
+ "filters": {},
178
172
  "limit": 20,
179
173
  "sortBy": [
180
174
  "date"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.0.23",
3
+ "version": "2.0.25",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",