@paris-ias/trees 1.8.56 → 2.0.0
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/form/actions.d.ts +130 -0
- package/dist/form/affiliations.d.ts +293 -0
- package/dist/form/apps.d.ts +210 -0
- package/dist/form/disciplines.d.ts +41 -0
- package/dist/form/events.d.ts +1398 -0
- package/dist/form/fellowships.d.ts +2123 -0
- package/dist/form/fellowships.js +4 -4
- package/dist/form/files.d.ts +41 -0
- package/dist/form/mailing.d.ts +63 -0
- package/dist/form/news.d.ts +406 -0
- package/dist/form/people.d.ts +1063 -0
- package/dist/form/people.js +4 -4
- package/dist/form/projects.d.ts +565 -0
- package/dist/form/publications.d.ts +616 -0
- package/dist/form/tags.d.ts +55 -0
- package/dist/form/users.d.ts +947 -0
- package/dist/graphql/client/events/query.list.events.gql +0 -1
- package/dist/graphql/schemas/schema.apex.graphql +37 -9
- package/dist/graphql/schemas/schema.website.graphql +31 -4
- package/dist/graphql/schemas/website-resolvers-list.json +3 -4
- package/dist/list/actions.d.ts +104 -0
- package/dist/list/affiliations.d.ts +104 -0
- package/dist/list/apps.d.ts +104 -0
- package/dist/list/disciplines.d.ts +102 -0
- package/dist/list/events.d.ts +173 -0
- package/dist/list/fellowships.d.ts +124 -0
- package/dist/list/files.d.ts +102 -0
- package/dist/list/mailing.d.ts +102 -0
- package/dist/list/news.d.ts +104 -0
- package/dist/list/people.d.ts +154 -0
- package/dist/list/projects.d.ts +104 -0
- package/dist/list/publications.d.ts +128 -0
- package/dist/list/tags.d.ts +104 -0
- package/dist/list/users.d.ts +154 -0
- package/index.d.ts +31 -0
- package/package.json +173 -14
- package/readme.md +609 -74
- package/index.ts +0 -63
- package/lib/README.md +0 -206
- package/lib/buildClientGraphQL.ts +0 -342
- package/lib/buildDefaults.ts +0 -0
- package/lib/buildSchemas.ts +0 -109
- package/lib/generate.ts +0 -505
- package/lib/generateAll.ts +0 -231
- package/lib/utils.ts +0 -24
- package/src/LICENSE +0 -661
- package/src/action/graphql/client/query.get.action.gql +0 -22
- package/src/action/graphql/client/query.list.action.gql +0 -32
- package/src/action/graphql/server/apex.types.action.graphql +0 -15
- package/src/action/models/action.ts +0 -147
- package/src/affiliation/graphql/client/query.get.affiliations.gql +0 -37
- package/src/affiliation/graphql/client/query.list.affiliations.gql +0 -43
- package/src/affiliation/graphql/server/shared.types.affiliations.graphql +0 -20
- package/src/affiliation/models/affiliation.ts +0 -130
- package/src/affiliation/models/member.ts +0 -11
- package/src/affiliation/models/partner.ts +0 -9
- package/src/apps/graphql/client/query.get.apps.gql +0 -33
- package/src/apps/graphql/client/query.list.apps.gql +0 -43
- package/src/apps/models/apps.ts +0 -195
- package/src/events/graphql/client/query.get.events.gql +0 -119
- package/src/events/graphql/client/query.list.events.gql +0 -40
- package/src/events/graphql/server/shared.inputs.events.graphql +0 -24
- package/src/events/models/eventSlot.ts +0 -73
- package/src/events/models/events.ts +0 -569
- package/src/fellowships/graphql/client/query.get.fellowships.gql +0 -163
- package/src/fellowships/graphql/client/query.list.fellowships.gql +0 -49
- package/src/fellowships/graphql/server/apex.inputs.fellowshipDetails.graphql +0 -13
- package/src/fellowships/graphql/server/shared.types.fellowshipDetails.graphql +0 -13
- package/src/fellowships/graphql/server/shared.types.fellowships.graphql +0 -38
- package/src/fellowships/models/fellowshipDetails.ts +0 -145
- package/src/fellowships/models/fellowships.ts +0 -341
- package/src/files/graphql/client/query.get.files.gql +0 -24
- package/src/files/graphql/client/query.list.files.gql +0 -37
- package/src/files/graphql/server/apex.inputs.files.graphql +0 -7
- package/src/files/graphql/server/apex.inputs.video.graphql +0 -9
- package/src/files/graphql/server/apex.types.files.graphql +0 -4
- package/src/files/graphql/server/shared.inputs.image.graphql +0 -9
- package/src/files/graphql/server/shared.types.files.graphql +0 -15
- package/src/files/graphql/server/shared.types.image.graphql +0 -9
- package/src/files/graphql/server/shared.types.video.graphql +0 -9
- package/src/files/models/files.ts +0 -113
- package/src/files/models/gallery.ts +0 -11
- package/src/files/models/image.ts +0 -159
- package/src/files/models/video.ts +0 -166
- package/src/form.ts +0 -52
- package/src/index.ts +0 -98
- package/src/list.ts +0 -34
- package/src/mailing/graphql/client/query.get.mailing.gql +0 -24
- package/src/mailing/graphql/client/query.list.mailing.gql +0 -23
- package/src/mailing/graphql/server/apex.types.mailing.graphql +0 -13
- package/src/mailing/models/mailing.ts +0 -123
- package/src/misc/graphql/client/apex.mutations.delete.gql +0 -0
- package/src/misc/graphql/client/apex.mutations.upsert.gql +0 -0
- package/src/misc/graphql/client/apex.queries.login.gql +0 -0
- package/src/misc/graphql/client/query.get.disciplines.gql +0 -17
- package/src/misc/graphql/client/query.get.tags.gql +0 -13
- package/src/misc/graphql/client/query.list.disciplines.gql +0 -23
- package/src/misc/graphql/client/query.list.tags.gql +0 -23
- package/src/misc/graphql/server/apex.inputs.misc.graphql +0 -13
- package/src/misc/graphql/server/apex.inputs.socials.graphql +0 -12
- package/src/misc/graphql/server/apex.mutations.graphql +0 -23
- package/src/misc/graphql/server/apex.queries.graphql +0 -36
- package/src/misc/graphql/server/apex.types.disciplines.graphql +0 -4
- package/src/misc/graphql/server/apex.types.tags.graphql +0 -4
- package/src/misc/graphql/server/shared.enums.graphql +0 -112
- package/src/misc/graphql/server/shared.inputs.misc.graphql +0 -101
- package/src/misc/graphql/server/shared.queries.graphql +0 -35
- package/src/misc/graphql/server/shared.types.disciplines.graphql +0 -8
- package/src/misc/graphql/server/shared.types.events.graphql +0 -39
- package/src/misc/graphql/server/shared.types.location.graphql +0 -17
- package/src/misc/graphql/server/shared.types.misc.graphql +0 -120
- package/src/misc/graphql/server/shared.types.related.graphql +0 -10
- package/src/misc/graphql/server/shared.types.relatedAffiliation.graphql +0 -7
- package/src/misc/graphql/server/shared.types.relatedEvent.graphql +0 -7
- package/src/misc/graphql/server/shared.types.relatedFellowships.graphql +0 -7
- package/src/misc/graphql/server/shared.types.relatedNews.graphql +0 -7
- package/src/misc/graphql/server/shared.types.relatedPeople.graphql +0 -6
- package/src/misc/graphql/server/shared.types.relatedProject.graphql +0 -7
- package/src/misc/graphql/server/shared.types.relatedPublications.graphql +0 -6
- package/src/misc/graphql/server/shared.types.socials.graphql +0 -22
- package/src/misc/graphql/server/shared.types.tags.graphql +0 -11
- package/src/misc/graphql/server/website.mutations.graphql +0 -4
- package/src/misc/models/disciplines.ts +0 -116
- package/src/misc/models/location.ts +0 -136
- package/src/misc/models/organizers.ts +0 -13
- package/src/misc/models/related.ts +0 -123
- package/src/misc/models/relatedEvents.ts +0 -16
- package/src/misc/models/relatedFellowships.ts +0 -7
- package/src/misc/models/relatedNews.ts +0 -13
- package/src/misc/models/relatedPeople.ts +0 -8
- package/src/misc/models/relatedProject.ts +0 -14
- package/src/misc/models/relatedPublications.ts +0 -14
- package/src/misc/models/socials.ts +0 -133
- package/src/misc/models/sponsor.ts +0 -13
- package/src/misc/models/tags.ts +0 -116
- package/src/misc/models/taxonomy.ts +0 -1
- package/src/model.ts +0 -7
- package/src/news/graphql/client/query.get.news.gql +0 -128
- package/src/news/graphql/client/query.list.news.gql +0 -35
- package/src/news/graphql/server/share.types.news.graphql +0 -27
- package/src/news/models/news.ts +0 -257
- package/src/people/graphql/client/query.get.people.gql +0 -173
- package/src/people/graphql/client/query.get.users.gql +0 -0
- package/src/people/graphql/client/query.list.people.gql +0 -55
- package/src/people/graphql/client/query.list.users.gql +0 -31
- package/src/people/graphql/server/apex.inputs.consent.graphql +0 -9
- package/src/people/graphql/server/apex.inputs.groups.graphql +0 -8
- package/src/people/graphql/server/apex.inputs.vintage.graphql +0 -6
- package/src/people/graphql/server/shared.types.consent.graphql +0 -9
- package/src/people/graphql/server/shared.types.groups.graphql +0 -8
- package/src/people/graphql/server/shared.types.people.graphql +0 -29
- package/src/people/graphql/server/shared.types.position.graphql +0 -6
- package/src/people/graphql/server/shared.types.users.graphql +0 -17
- package/src/people/graphql/server/shared.types.vintage.graphql +0 -6
- package/src/people/models/consent.ts +0 -82
- package/src/people/models/discussants.ts +0 -9
- package/src/people/models/experiences.ts +0 -38
- package/src/people/models/fellows.ts +0 -12
- package/src/people/models/groups.ts +0 -58
- package/src/people/models/people.ts +0 -244
- package/src/people/models/position.ts +0 -62
- package/src/people/models/speakers.ts +0 -9
- package/src/people/models/users.ts +0 -252
- package/src/people/models/vintage.ts +0 -124
- package/src/projects/graphql/client/query.get.projects.gql +0 -166
- package/src/projects/graphql/client/query.list.projects.gql +0 -33
- package/src/projects/graphql/server/shared.types.projects.graphql +0 -29
- package/src/projects/models/projects.ts +0 -249
- package/src/publications/graphql/client/query.get.publications.gql +0 -169
- package/src/publications/graphql/client/query.list.publications.gql +0 -35
- package/src/publications/graphql/server/shared.types.publications.graphql +0 -34
- package/src/publications/models/article.ts +0 -262
- package/src/publications/models/publications.ts +0 -306
- /package/dist/form/{action.js → actions.js} +0 -0
- /package/dist/form/{affiliation.js → affiliations.js} +0 -0
- /package/dist/graphql/client/{action/query.get.action.gql → actions/query.get.actions.gql} +0 -0
- /package/dist/graphql/client/{action/query.list.action.gql → actions/query.list.actions.gql} +0 -0
- /package/dist/graphql/client/{affiliation → affiliations}/query.get.affiliations.gql +0 -0
- /package/dist/graphql/client/{affiliation → affiliations}/query.list.affiliations.gql +0 -0
- /package/dist/list/{action.js → actions.js} +0 -0
- /package/dist/list/{affiliation.js → affiliations.js} +0 -0
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
query getPeople($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
|
|
2
|
-
getPeople(appId: $appId, itemId: $itemId, lang: $lang) {
|
|
3
|
-
affiliations {
|
|
4
|
-
affiliation {
|
|
5
|
-
image {
|
|
6
|
-
alt
|
|
7
|
-
backgroundColor
|
|
8
|
-
caption
|
|
9
|
-
copyright
|
|
10
|
-
license
|
|
11
|
-
licenseUrl
|
|
12
|
-
url
|
|
13
|
-
}
|
|
14
|
-
location {
|
|
15
|
-
alt
|
|
16
|
-
city
|
|
17
|
-
country
|
|
18
|
-
details
|
|
19
|
-
geocode {
|
|
20
|
-
lat
|
|
21
|
-
lng
|
|
22
|
-
}
|
|
23
|
-
name
|
|
24
|
-
street
|
|
25
|
-
zip
|
|
26
|
-
}
|
|
27
|
-
name
|
|
28
|
-
ror
|
|
29
|
-
url
|
|
30
|
-
}
|
|
31
|
-
positions {
|
|
32
|
-
department
|
|
33
|
-
role
|
|
34
|
-
start
|
|
35
|
-
stop
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
biography
|
|
39
|
-
firstname
|
|
40
|
-
groups {
|
|
41
|
-
board
|
|
42
|
-
fellows
|
|
43
|
-
sab
|
|
44
|
-
sponsor
|
|
45
|
-
team
|
|
46
|
-
vintage {
|
|
47
|
-
name
|
|
48
|
-
theme
|
|
49
|
-
url
|
|
50
|
-
year
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
image {
|
|
54
|
-
url
|
|
55
|
-
license
|
|
56
|
-
copyright
|
|
57
|
-
caption
|
|
58
|
-
backgroundColor
|
|
59
|
-
alt
|
|
60
|
-
licenseUrl
|
|
61
|
-
}
|
|
62
|
-
lastname
|
|
63
|
-
socials {
|
|
64
|
-
idRef
|
|
65
|
-
instagram
|
|
66
|
-
linkedin
|
|
67
|
-
mendeley
|
|
68
|
-
orcid
|
|
69
|
-
researchgate
|
|
70
|
-
scholar
|
|
71
|
-
twitter
|
|
72
|
-
website
|
|
73
|
-
wikipedia
|
|
74
|
-
}
|
|
75
|
-
video {
|
|
76
|
-
url
|
|
77
|
-
alt
|
|
78
|
-
caption
|
|
79
|
-
copyright
|
|
80
|
-
license
|
|
81
|
-
licenseUrl
|
|
82
|
-
backgroundColor
|
|
83
|
-
}
|
|
84
|
-
slug
|
|
85
|
-
appId
|
|
86
|
-
consent {
|
|
87
|
-
data
|
|
88
|
-
diffusion
|
|
89
|
-
email
|
|
90
|
-
fellowshipnewsletter
|
|
91
|
-
newsletter
|
|
92
|
-
publication
|
|
93
|
-
record
|
|
94
|
-
}
|
|
95
|
-
disciplines {
|
|
96
|
-
createdAt
|
|
97
|
-
description
|
|
98
|
-
icon
|
|
99
|
-
name
|
|
100
|
-
updatedAt
|
|
101
|
-
}
|
|
102
|
-
related {
|
|
103
|
-
events {
|
|
104
|
-
description
|
|
105
|
-
image {
|
|
106
|
-
alt
|
|
107
|
-
backgroundColor
|
|
108
|
-
caption
|
|
109
|
-
copyright
|
|
110
|
-
license
|
|
111
|
-
licenseUrl
|
|
112
|
-
url
|
|
113
|
-
}
|
|
114
|
-
name
|
|
115
|
-
url
|
|
116
|
-
slug
|
|
117
|
-
}
|
|
118
|
-
news {
|
|
119
|
-
description
|
|
120
|
-
slug
|
|
121
|
-
id
|
|
122
|
-
image {
|
|
123
|
-
alt
|
|
124
|
-
backgroundColor
|
|
125
|
-
caption
|
|
126
|
-
copyright
|
|
127
|
-
license
|
|
128
|
-
licenseUrl
|
|
129
|
-
url
|
|
130
|
-
}
|
|
131
|
-
name
|
|
132
|
-
url
|
|
133
|
-
}
|
|
134
|
-
people {
|
|
135
|
-
firstname
|
|
136
|
-
slug
|
|
137
|
-
id
|
|
138
|
-
image {
|
|
139
|
-
alt
|
|
140
|
-
backgroundColor
|
|
141
|
-
caption
|
|
142
|
-
copyright
|
|
143
|
-
license
|
|
144
|
-
licenseUrl
|
|
145
|
-
url
|
|
146
|
-
}
|
|
147
|
-
lastname
|
|
148
|
-
}
|
|
149
|
-
projects {
|
|
150
|
-
description
|
|
151
|
-
slug
|
|
152
|
-
id
|
|
153
|
-
image {
|
|
154
|
-
alt
|
|
155
|
-
backgroundColor
|
|
156
|
-
caption
|
|
157
|
-
copyright
|
|
158
|
-
license
|
|
159
|
-
licenseUrl
|
|
160
|
-
url
|
|
161
|
-
}
|
|
162
|
-
name
|
|
163
|
-
url
|
|
164
|
-
}
|
|
165
|
-
publications {
|
|
166
|
-
id
|
|
167
|
-
slug
|
|
168
|
-
name
|
|
169
|
-
url
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
File without changes
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
query listPeople(
|
|
2
|
-
$appId: ID = "iea"
|
|
3
|
-
$lang: String = "en"
|
|
4
|
-
$options: ListInput = {}
|
|
5
|
-
) {
|
|
6
|
-
listPeople(options: $options, appId: $appId, lang: $lang) {
|
|
7
|
-
items {
|
|
8
|
-
slug
|
|
9
|
-
biography
|
|
10
|
-
firstname
|
|
11
|
-
summary
|
|
12
|
-
disciplines {
|
|
13
|
-
name
|
|
14
|
-
}
|
|
15
|
-
tags {
|
|
16
|
-
name
|
|
17
|
-
}
|
|
18
|
-
groups {
|
|
19
|
-
board
|
|
20
|
-
fellows
|
|
21
|
-
sab
|
|
22
|
-
sponsor
|
|
23
|
-
team
|
|
24
|
-
vintage {
|
|
25
|
-
name
|
|
26
|
-
theme
|
|
27
|
-
url
|
|
28
|
-
year
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
image {
|
|
32
|
-
url
|
|
33
|
-
license
|
|
34
|
-
copyright
|
|
35
|
-
caption
|
|
36
|
-
backgroundColor
|
|
37
|
-
alt
|
|
38
|
-
}
|
|
39
|
-
lastname
|
|
40
|
-
socials {
|
|
41
|
-
idRef
|
|
42
|
-
instagram
|
|
43
|
-
linkedin
|
|
44
|
-
mendeley
|
|
45
|
-
orcid
|
|
46
|
-
researchgate
|
|
47
|
-
scholar
|
|
48
|
-
twitter
|
|
49
|
-
website
|
|
50
|
-
wikipedia
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
total
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
query listUsers(
|
|
2
|
-
$appId: ID = "iea"
|
|
3
|
-
$lang: String = "en"
|
|
4
|
-
$options: ListInput = {}
|
|
5
|
-
) {
|
|
6
|
-
listUsers(appId: $appId, lang: $lang, options: $options) {
|
|
7
|
-
items {
|
|
8
|
-
admin
|
|
9
|
-
createdAt
|
|
10
|
-
email
|
|
11
|
-
profile {
|
|
12
|
-
country
|
|
13
|
-
firstname
|
|
14
|
-
image
|
|
15
|
-
lastname
|
|
16
|
-
linkedin
|
|
17
|
-
position
|
|
18
|
-
presentation
|
|
19
|
-
references
|
|
20
|
-
twitter
|
|
21
|
-
wikipedia
|
|
22
|
-
}
|
|
23
|
-
role
|
|
24
|
-
settings {
|
|
25
|
-
lang
|
|
26
|
-
}
|
|
27
|
-
status
|
|
28
|
-
}
|
|
29
|
-
total
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
type People {
|
|
2
|
-
appId: String
|
|
3
|
-
firstname: String!
|
|
4
|
-
lastname: String!
|
|
5
|
-
affiliations: [AffiliationWithPositions]
|
|
6
|
-
image: Image
|
|
7
|
-
socials: Socials
|
|
8
|
-
biography: String
|
|
9
|
-
consent: Consent!
|
|
10
|
-
summary: String
|
|
11
|
-
groups: Groups!
|
|
12
|
-
disciplines: [Disciplines]
|
|
13
|
-
related: Related
|
|
14
|
-
video: [Video]
|
|
15
|
-
slug: AWSJSON
|
|
16
|
-
tags: [Tag]
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
type PeopleFilters {
|
|
20
|
-
disciplines: [String]
|
|
21
|
-
vintage: [String]
|
|
22
|
-
fellowships: [String]
|
|
23
|
-
members: [String]
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
type PeopleList {
|
|
27
|
-
total: Int!
|
|
28
|
-
items: [People]
|
|
29
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
type User {
|
|
2
|
-
admin: Boolean
|
|
3
|
-
apps: [AppRole]
|
|
4
|
-
createdAt: AWSDateTime!
|
|
5
|
-
email: AWSEmail!
|
|
6
|
-
profile: Profile
|
|
7
|
-
settings: Settings
|
|
8
|
-
status: Int
|
|
9
|
-
role: Int
|
|
10
|
-
branch: [String]
|
|
11
|
-
slug: AWSJSON
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
type UserList {
|
|
15
|
-
total: Int!
|
|
16
|
-
items: [User!]!
|
|
17
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { Form, formType } from "../../form"
|
|
2
|
-
|
|
3
|
-
export interface Consent {
|
|
4
|
-
//data consent (display info about me)
|
|
5
|
-
data: boolean
|
|
6
|
-
// record consent (record my activity, droit à l'image)
|
|
7
|
-
record: boolean
|
|
8
|
-
// broadcast consent (broadcast my activity, diffusion de contenus)
|
|
9
|
-
diffusion: boolean
|
|
10
|
-
// publication consent (publish my content, generate DOIs)
|
|
11
|
-
publication: boolean
|
|
12
|
-
// email communications (including newsletter)
|
|
13
|
-
email: boolean
|
|
14
|
-
// IEA newsletter
|
|
15
|
-
newsletter: boolean
|
|
16
|
-
// news about IEA fellowship
|
|
17
|
-
fellowshipnewsletter: boolean
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface ConsentForm {
|
|
21
|
-
form: Record<string, Form>
|
|
22
|
-
}
|
|
23
|
-
const defaultConfig: ConsentForm = {
|
|
24
|
-
form: {
|
|
25
|
-
data: {
|
|
26
|
-
label: "data",
|
|
27
|
-
component: "Checkbox",
|
|
28
|
-
type: formType.Primitive,
|
|
29
|
-
default: false,
|
|
30
|
-
hint: "My profile will be showcased on the Paris IAS websites",
|
|
31
|
-
meta: "data", // item type on schema.org
|
|
32
|
-
},
|
|
33
|
-
record: {
|
|
34
|
-
label: "record",
|
|
35
|
-
component: "Checkbox",
|
|
36
|
-
type: formType.Primitive,
|
|
37
|
-
default: false,
|
|
38
|
-
hint: "Necessary if you appear in a video or audio recording",
|
|
39
|
-
meta: "record", // item type on schema.org
|
|
40
|
-
},
|
|
41
|
-
diffusion: {
|
|
42
|
-
label: "diffusion",
|
|
43
|
-
component: "Checkbox",
|
|
44
|
-
type: formType.Primitive,
|
|
45
|
-
default: false,
|
|
46
|
-
hint: "To make available my video and audio recordings in publicaitons, news, events...",
|
|
47
|
-
meta: "diffusion", // item type on schema.org
|
|
48
|
-
},
|
|
49
|
-
publication: {
|
|
50
|
-
label: "publication",
|
|
51
|
-
component: "Checkbox",
|
|
52
|
-
type: formType.Primitive,
|
|
53
|
-
default: false,
|
|
54
|
-
hint: "To be officially published as an academic author and provide your content with a DOI",
|
|
55
|
-
meta: "publication", // item type on schema.org
|
|
56
|
-
},
|
|
57
|
-
email: {
|
|
58
|
-
label: "email",
|
|
59
|
-
component: "Checkbox",
|
|
60
|
-
type: formType.Primitive,
|
|
61
|
-
default: false,
|
|
62
|
-
hint: "To allow us to send you email communications in general (including newsletter)",
|
|
63
|
-
meta: "email", // item type on schema.org
|
|
64
|
-
},
|
|
65
|
-
newsletter: {
|
|
66
|
-
label: "newsletter",
|
|
67
|
-
component: "Checkbox",
|
|
68
|
-
type: formType.Primitive,
|
|
69
|
-
default: false,
|
|
70
|
-
meta: "newsletter", // item type on schema.org
|
|
71
|
-
},
|
|
72
|
-
fellowshipnewsletter: {
|
|
73
|
-
label: "fellowshipnewsletter",
|
|
74
|
-
component: "Checkbox",
|
|
75
|
-
type: formType.Primitive,
|
|
76
|
-
default: false,
|
|
77
|
-
meta: "fellowshipnewsletter", // item type on schema.org
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export default defaultConfig
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Form, formType } from "../../form"
|
|
2
|
-
|
|
3
|
-
export interface Experiences {
|
|
4
|
-
affiliation: any // Document reference
|
|
5
|
-
positions: any[] // Array of Position templates
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface ExperiencesForm {
|
|
9
|
-
form: Record<string, Form>
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const defaultConfig: ExperiencesForm = {
|
|
13
|
-
form: {
|
|
14
|
-
affiliation: {
|
|
15
|
-
label: "affiliation",
|
|
16
|
-
component: "DocumentPicker",
|
|
17
|
-
type: formType.Document,
|
|
18
|
-
meta: "affiliation",
|
|
19
|
-
rules: {
|
|
20
|
-
required: true,
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
positions: {
|
|
24
|
-
label: "positions",
|
|
25
|
-
component: "CollectionContainerPanel",
|
|
26
|
-
type: formType.Array,
|
|
27
|
-
meta: "positions",
|
|
28
|
-
items: {
|
|
29
|
-
label: "position",
|
|
30
|
-
component: "ObjectContainerPanel",
|
|
31
|
-
type: formType.Template,
|
|
32
|
-
meta: "position",
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export default defaultConfig
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import Model from "../../model"
|
|
2
|
-
import configPeople, { People } from "./people"
|
|
3
|
-
|
|
4
|
-
export interface Fellows extends People {
|
|
5
|
-
vintage: number[]
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const defaultConfig: Model = {
|
|
9
|
-
aliases: ["people"],
|
|
10
|
-
...configPeople,
|
|
11
|
-
}
|
|
12
|
-
export default defaultConfig
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Form, formType } from "../../form"
|
|
2
|
-
import { Vintage } from "./vintage"
|
|
3
|
-
|
|
4
|
-
export interface Groups {
|
|
5
|
-
team?: boolean
|
|
6
|
-
sab?: boolean
|
|
7
|
-
board?: boolean
|
|
8
|
-
fellows?: boolean
|
|
9
|
-
sponsor?: boolean
|
|
10
|
-
vintage?: Vintage[]
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface GroupsForm {
|
|
14
|
-
form: Record<string, Form>
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const defaultConfig: GroupsForm = {
|
|
18
|
-
form: {
|
|
19
|
-
team: {
|
|
20
|
-
label: "team",
|
|
21
|
-
component: "Checkbox",
|
|
22
|
-
type: formType.Primitive,
|
|
23
|
-
meta: "team",
|
|
24
|
-
},
|
|
25
|
-
sab: {
|
|
26
|
-
label: "sab",
|
|
27
|
-
component: "Checkbox",
|
|
28
|
-
type: formType.Primitive,
|
|
29
|
-
meta: "sab",
|
|
30
|
-
},
|
|
31
|
-
board: {
|
|
32
|
-
label: "board",
|
|
33
|
-
component: "Checkbox",
|
|
34
|
-
type: formType.Primitive,
|
|
35
|
-
meta: "board",
|
|
36
|
-
},
|
|
37
|
-
fellows: {
|
|
38
|
-
label: "fellows",
|
|
39
|
-
component: "Checkbox",
|
|
40
|
-
type: formType.Primitive,
|
|
41
|
-
meta: "fellow",
|
|
42
|
-
},
|
|
43
|
-
sponsor: {
|
|
44
|
-
label: "sponsor",
|
|
45
|
-
component: "Checkbox",
|
|
46
|
-
type: formType.Primitive,
|
|
47
|
-
meta: "sponsor",
|
|
48
|
-
},
|
|
49
|
-
vintage: {
|
|
50
|
-
label: "vintage",
|
|
51
|
-
component: "CollectionContainerPanel",
|
|
52
|
-
type: formType.Template,
|
|
53
|
-
meta: "vintage",
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export default defaultConfig
|