@paris-ias/trees 2.0.22 → 2.0.24

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,17 @@ input Entity_smInput {
627
621
  name: String!
628
622
  description: String
629
623
  logo: String
630
- place: PlaceInput
624
+ }
625
+
626
+ input LocationInput {
627
+ name: String!
628
+ details: String
629
+ alt: String
630
+ street: String
631
+ city: String
632
+ country: String
633
+ zip: Int
634
+ geocode: Geocode
631
635
  }
632
636
 
633
637
  type Disciplines {
@@ -638,6 +642,7 @@ type Disciplines {
638
642
  name: String
639
643
  updatedAt: AWSDateTime
640
644
  score: Float
645
+ slug: AWSJSON
641
646
  }
642
647
 
643
648
  type Location {
@@ -649,6 +654,7 @@ type Location {
649
654
  country: String
650
655
  zip: Int
651
656
  geocode: Geocode
657
+ slug: AWSJSON
652
658
  }
653
659
 
654
660
  type Geocode {
@@ -660,7 +666,6 @@ type Entity_sm {
660
666
  name: String!
661
667
  description: String
662
668
  logo: String
663
- place: Place
664
669
  }
665
670
 
666
671
  type Filters {
@@ -684,12 +689,6 @@ type NomenclatureSettings {
684
689
  extended: Boolean
685
690
  }
686
691
 
687
- type Place {
688
- name: String!
689
- address: String
690
- url: AWSURL
691
- }
692
-
693
692
  type Profile {
694
693
  country: Int
695
694
  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,17 @@ input Entity_smInput {
460
454
  name: String!
461
455
  description: String
462
456
  logo: String
463
- place: PlaceInput
457
+ }
458
+
459
+ input LocationInput {
460
+ name: String!
461
+ details: String
462
+ alt: String
463
+ street: String
464
+ city: String
465
+ country: String
466
+ zip: Int
467
+ geocode: Geocode
464
468
  }
465
469
 
466
470
  type Query {
@@ -497,6 +501,7 @@ type Disciplines {
497
501
  name: String
498
502
  updatedAt: AWSDateTime
499
503
  score: Float
504
+ slug: AWSJSON
500
505
  }
501
506
 
502
507
  type Location {
@@ -508,6 +513,7 @@ type Location {
508
513
  country: String
509
514
  zip: Int
510
515
  geocode: Geocode
516
+ slug: AWSJSON
511
517
  }
512
518
 
513
519
  type Geocode {
@@ -519,7 +525,6 @@ type Entity_sm {
519
525
  name: String!
520
526
  description: String
521
527
  logo: String
522
- place: Place
523
528
  }
524
529
 
525
530
  type Filters {
@@ -543,12 +548,6 @@ type NomenclatureSettings {
543
548
  extended: Boolean
544
549
  }
545
550
 
546
- type Place {
547
- name: String!
548
- address: String
549
- url: AWSURL
550
- }
551
-
552
551
  type Profile {
553
552
  country: Int
554
553
  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,
@@ -171,10 +171,15 @@ const data = {
171
171
  }
172
172
  },
173
173
  "filters": {
174
- "year": {
174
+ "category": {
175
175
  "type": "Select",
176
- "items": "",
177
- "value": ""
176
+ "items": {
177
+ "Member": "MEMBER",
178
+ "Sponsor": "SPONSOR",
179
+ "Partner": "PARTNER"
180
+ },
181
+ "value": "",
182
+ "multiple": true
178
183
  }
179
184
  },
180
185
  "limit": 20,
@@ -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 {
@@ -169,10 +169,15 @@ const data = {
169
169
  }
170
170
  },
171
171
  "filters": {
172
- "year": {
172
+ "category": {
173
173
  "type": "Select",
174
- "items": "",
175
- "value": ""
174
+ "items": {
175
+ "Member": "MEMBER",
176
+ "Sponsor": "SPONSOR",
177
+ "Partner": "PARTNER"
178
+ },
179
+ "value": "",
180
+ "multiple": true
176
181
  }
177
182
  },
178
183
  "limit": 20,
@@ -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.22",
3
+ "version": "2.0.24",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",