@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
package/package.json
CHANGED
|
@@ -1,34 +1,193 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paris-ias/trees",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"description": "Type definitions and schema generator for Paris IAS data management system",
|
|
8
|
+
"author": "Antoine Cordelois, Paris Institute for Advanced Study",
|
|
9
|
+
"license": "AGPL-3.0",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"graphql",
|
|
12
|
+
"types",
|
|
13
|
+
"schema",
|
|
14
|
+
"paris-ias"
|
|
15
|
+
],
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/IEA-Paris/trees.git"
|
|
19
|
+
},
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=18.0.0"
|
|
22
|
+
},
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"import": "./index.js"
|
|
27
|
+
},
|
|
28
|
+
"./form/actions": {
|
|
29
|
+
"types": "./dist/form/actions.d.ts",
|
|
30
|
+
"import": "./dist/form/actions.js"
|
|
31
|
+
},
|
|
32
|
+
"./form/affiliations": {
|
|
33
|
+
"types": "./dist/form/affiliations.d.ts",
|
|
34
|
+
"import": "./dist/form/affiliations.js"
|
|
35
|
+
},
|
|
36
|
+
"./form/apps": {
|
|
37
|
+
"types": "./dist/form/apps.d.ts",
|
|
38
|
+
"import": "./dist/form/apps.js"
|
|
39
|
+
},
|
|
40
|
+
"./form/disciplines": {
|
|
41
|
+
"types": "./dist/form/disciplines.d.ts",
|
|
42
|
+
"import": "./dist/form/disciplines.js"
|
|
43
|
+
},
|
|
44
|
+
"./form/events": {
|
|
45
|
+
"types": "./dist/form/events.d.ts",
|
|
46
|
+
"import": "./dist/form/events.js"
|
|
47
|
+
},
|
|
48
|
+
"./form/fellowships": {
|
|
49
|
+
"types": "./dist/form/fellowships.d.ts",
|
|
50
|
+
"import": "./dist/form/fellowships.js"
|
|
51
|
+
},
|
|
52
|
+
"./form/files": {
|
|
53
|
+
"types": "./dist/form/files.d.ts",
|
|
54
|
+
"import": "./dist/form/files.js"
|
|
55
|
+
},
|
|
56
|
+
"./form/mailing": {
|
|
57
|
+
"types": "./dist/form/mailing.d.ts",
|
|
58
|
+
"import": "./dist/form/mailing.js"
|
|
59
|
+
},
|
|
60
|
+
"./form/news": {
|
|
61
|
+
"types": "./dist/form/news.d.ts",
|
|
62
|
+
"import": "./dist/form/news.js"
|
|
63
|
+
},
|
|
64
|
+
"./form/people": {
|
|
65
|
+
"types": "./dist/form/people.d.ts",
|
|
66
|
+
"import": "./dist/form/people.js"
|
|
67
|
+
},
|
|
68
|
+
"./form/projects": {
|
|
69
|
+
"types": "./dist/form/projects.d.ts",
|
|
70
|
+
"import": "./dist/form/projects.js"
|
|
71
|
+
},
|
|
72
|
+
"./form/publications": {
|
|
73
|
+
"types": "./dist/form/publications.d.ts",
|
|
74
|
+
"import": "./dist/form/publications.js"
|
|
75
|
+
},
|
|
76
|
+
"./form/tags": {
|
|
77
|
+
"types": "./dist/form/tags.d.ts",
|
|
78
|
+
"import": "./dist/form/tags.js"
|
|
79
|
+
},
|
|
80
|
+
"./form/users": {
|
|
81
|
+
"types": "./dist/form/users.d.ts",
|
|
82
|
+
"import": "./dist/form/users.js"
|
|
83
|
+
},
|
|
84
|
+
"./list/actions": {
|
|
85
|
+
"types": "./dist/list/actions.d.ts",
|
|
86
|
+
"import": "./dist/list/actions.js"
|
|
87
|
+
},
|
|
88
|
+
"./list/affiliations": {
|
|
89
|
+
"types": "./dist/list/affiliations.d.ts",
|
|
90
|
+
"import": "./dist/list/affiliations.js"
|
|
91
|
+
},
|
|
92
|
+
"./list/apps": {
|
|
93
|
+
"types": "./dist/list/apps.d.ts",
|
|
94
|
+
"import": "./dist/list/apps.js"
|
|
95
|
+
},
|
|
96
|
+
"./list/disciplines": {
|
|
97
|
+
"types": "./dist/list/disciplines.d.ts",
|
|
98
|
+
"import": "./dist/list/disciplines.js"
|
|
99
|
+
},
|
|
100
|
+
"./list/events": {
|
|
101
|
+
"types": "./dist/list/events.d.ts",
|
|
102
|
+
"import": "./dist/list/events.js"
|
|
103
|
+
},
|
|
104
|
+
"./list/fellowships": {
|
|
105
|
+
"types": "./dist/list/fellowships.d.ts",
|
|
106
|
+
"import": "./dist/list/fellowships.js"
|
|
107
|
+
},
|
|
108
|
+
"./list/files": {
|
|
109
|
+
"types": "./dist/list/files.d.ts",
|
|
110
|
+
"import": "./dist/list/files.js"
|
|
111
|
+
},
|
|
112
|
+
"./list/mailing": {
|
|
113
|
+
"types": "./dist/list/mailing.d.ts",
|
|
114
|
+
"import": "./dist/list/mailing.js"
|
|
115
|
+
},
|
|
116
|
+
"./list/news": {
|
|
117
|
+
"types": "./dist/list/news.d.ts",
|
|
118
|
+
"import": "./dist/list/news.js"
|
|
119
|
+
},
|
|
120
|
+
"./list/people": {
|
|
121
|
+
"types": "./dist/list/people.d.ts",
|
|
122
|
+
"import": "./dist/list/people.js"
|
|
123
|
+
},
|
|
124
|
+
"./list/projects": {
|
|
125
|
+
"types": "./dist/list/projects.d.ts",
|
|
126
|
+
"import": "./dist/list/projects.js"
|
|
127
|
+
},
|
|
128
|
+
"./list/publications": {
|
|
129
|
+
"types": "./dist/list/publications.d.ts",
|
|
130
|
+
"import": "./dist/list/publications.js"
|
|
131
|
+
},
|
|
132
|
+
"./list/tags": {
|
|
133
|
+
"types": "./dist/list/tags.d.ts",
|
|
134
|
+
"import": "./dist/list/tags.js"
|
|
135
|
+
},
|
|
136
|
+
"./list/users": {
|
|
137
|
+
"types": "./dist/list/users.d.ts",
|
|
138
|
+
"import": "./dist/list/users.js"
|
|
139
|
+
},
|
|
140
|
+
"./graphql/client/actions": "./dist/graphql/client/actions/*.gql",
|
|
141
|
+
"./graphql/client/affiliations": "./dist/graphql/client/affiliations/*.gql",
|
|
142
|
+
"./graphql/client/apps": "./dist/graphql/client/apps/*.gql",
|
|
143
|
+
"./graphql/client/events": "./dist/graphql/client/events/*.gql",
|
|
144
|
+
"./graphql/client/fellowships": "./dist/graphql/client/fellowships/*.gql",
|
|
145
|
+
"./graphql/client/files": "./dist/graphql/client/files/*.gql",
|
|
146
|
+
"./graphql/client/mailing": "./dist/graphql/client/mailing/*.gql",
|
|
147
|
+
"./graphql/client/misc": "./dist/graphql/client/misc/*.gql",
|
|
148
|
+
"./graphql/client/news": "./dist/graphql/client/news/*.gql",
|
|
149
|
+
"./graphql/client/people": "./dist/graphql/client/people/*.gql",
|
|
150
|
+
"./graphql/client/projects": "./dist/graphql/client/projects/*.gql",
|
|
151
|
+
"./graphql/client/publications": "./dist/graphql/client/publications/*.gql",
|
|
152
|
+
"./graphql/schemas/apex": "./dist/graphql/schemas/schema.apex.graphql",
|
|
153
|
+
"./graphql/schemas/apex-resolvers": "./dist/graphql/schemas/apex-resolvers-list.json",
|
|
154
|
+
"./graphql/schemas/website": "./dist/graphql/schemas/schema.website.graphql",
|
|
155
|
+
"./graphql/schemas/website-resolvers": "./dist/graphql/schemas/website-resolvers-list.json",
|
|
156
|
+
"./package.json": "./package.json"
|
|
157
|
+
},
|
|
158
|
+
"files": [
|
|
159
|
+
"index.js",
|
|
160
|
+
"index.d.ts",
|
|
161
|
+
"dist/**/*.js",
|
|
162
|
+
"dist/**/*.d.ts",
|
|
163
|
+
"dist/**/*.gql",
|
|
164
|
+
"dist/**/*.graphql",
|
|
165
|
+
"dist/**/*.json",
|
|
166
|
+
"README.md",
|
|
167
|
+
"LICENSE"
|
|
168
|
+
],
|
|
6
169
|
"scripts": {
|
|
7
170
|
"dev": "tsx index.ts",
|
|
8
|
-
"
|
|
171
|
+
"build": "npx tsx lib/generateAll.ts",
|
|
172
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
9
173
|
"generate:modules": "npx tsx lib/generate.ts",
|
|
10
174
|
"generate:schemas": "npx tsx lib/buildSchemas.ts",
|
|
11
175
|
"generate:client": "npx tsx lib/buildClientGraphQL.ts",
|
|
12
176
|
"draw": "npx depcruise src --include-only \"^src\" --output-type dot | dot -T svg > dependency-graph.svg",
|
|
13
177
|
"clean": "rm -rf dist/",
|
|
14
|
-
"prebuild": "npm run clean"
|
|
178
|
+
"prebuild": "npm run clean",
|
|
179
|
+
"prepublishOnly": "npm run build"
|
|
15
180
|
},
|
|
16
|
-
"files": [
|
|
17
|
-
"index.ts",
|
|
18
|
-
"src/**",
|
|
19
|
-
"lib/**",
|
|
20
|
-
"dist/**"
|
|
21
|
-
],
|
|
22
|
-
"author": "Antoine Cordelois, Paris Institute for Advanced Study",
|
|
23
|
-
"license": "ISC",
|
|
24
|
-
"description": "Type definitions and schema generator for Paris IAS data management system",
|
|
25
181
|
"dependencies": {
|
|
26
|
-
"ts-node": "^10.9.2",
|
|
27
182
|
"@graphql-tools/load-files": "^7",
|
|
28
183
|
"@graphql-tools/merge": "^8",
|
|
29
184
|
"graphql": "^16"
|
|
30
185
|
},
|
|
31
186
|
"devDependencies": {
|
|
32
|
-
"
|
|
187
|
+
"@types/node": "^24.7.2",
|
|
188
|
+
"dependency-cruiser": "^16.10.0",
|
|
189
|
+
"ts-node": "^10.9.2",
|
|
190
|
+
"tsx": "^4.0.0",
|
|
191
|
+
"typescript": "^5.0.0"
|
|
33
192
|
}
|
|
34
193
|
}
|