@paris-ias/trees 2.1.0 → 2.1.1
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/affiliations.cjs.js +135 -6
- package/dist/form/affiliations.js +135 -6
- package/dist/form/projects.d.ts +6 -6
- package/dist/graphql/schemas/schema.apex.graphql +1 -0
- package/dist/graphql/schemas/schema.website.graphql +1 -0
- package/dist/list/projects.cjs.js +8 -0
- package/dist/list/projects.d.ts +6 -6
- package/dist/list/projects.js +8 -0
- package/package.json +3 -3
|
@@ -58,11 +58,28 @@ const data = {
|
|
|
58
58
|
"fr": ""
|
|
59
59
|
},
|
|
60
60
|
"image": "",
|
|
61
|
-
"
|
|
61
|
+
"location": [
|
|
62
62
|
{
|
|
63
|
-
"
|
|
63
|
+
"location": {
|
|
64
|
+
"name": "",
|
|
65
|
+
"acronym": "",
|
|
66
|
+
"image": "",
|
|
67
|
+
"details": {
|
|
68
|
+
"en": "",
|
|
69
|
+
"fr": ""
|
|
70
|
+
},
|
|
71
|
+
"street": "",
|
|
72
|
+
"city": "",
|
|
73
|
+
"country": "",
|
|
74
|
+
"zip": "",
|
|
75
|
+
"geocode": {
|
|
76
|
+
"lat": "",
|
|
77
|
+
"lng": ""
|
|
78
|
+
}
|
|
79
|
+
}
|
|
64
80
|
}
|
|
65
81
|
],
|
|
82
|
+
"category": "",
|
|
66
83
|
"ror": "",
|
|
67
84
|
"url": ""
|
|
68
85
|
},
|
|
@@ -86,21 +103,133 @@ const data = {
|
|
|
86
103
|
"meta": "image",
|
|
87
104
|
"default": ""
|
|
88
105
|
},
|
|
89
|
-
"
|
|
106
|
+
"location": {
|
|
90
107
|
"label": "locations",
|
|
91
108
|
"component": "CollectionContainerPanel",
|
|
92
109
|
"type": "ARRAY",
|
|
93
110
|
"items": {
|
|
94
|
-
"
|
|
111
|
+
"location": {
|
|
95
112
|
"label": "location",
|
|
96
113
|
"component": "ObjectContainerPanel",
|
|
97
|
-
"type": "
|
|
114
|
+
"type": "OBJECT",
|
|
98
115
|
"meta": "location",
|
|
99
|
-
"items": {
|
|
116
|
+
"items": {
|
|
117
|
+
"name": {
|
|
118
|
+
"label": "name",
|
|
119
|
+
"component": "TextField",
|
|
120
|
+
"type": "PRIMITIVE",
|
|
121
|
+
"rules": {
|
|
122
|
+
"required": true,
|
|
123
|
+
"min": 5,
|
|
124
|
+
"max": 200
|
|
125
|
+
},
|
|
126
|
+
"meta": "name"
|
|
127
|
+
},
|
|
128
|
+
"acronym": {
|
|
129
|
+
"label": "acronym",
|
|
130
|
+
"component": "TextField",
|
|
131
|
+
"type": "PRIMITIVE",
|
|
132
|
+
"rules": {
|
|
133
|
+
"max": 20
|
|
134
|
+
},
|
|
135
|
+
"meta": "acronym"
|
|
136
|
+
},
|
|
137
|
+
"image": {
|
|
138
|
+
"label": "image",
|
|
139
|
+
"component": "ImagePicker",
|
|
140
|
+
"type": "DOCUMENT",
|
|
141
|
+
"rules": {},
|
|
142
|
+
"meta": "image",
|
|
143
|
+
"default": ""
|
|
144
|
+
},
|
|
145
|
+
"details": {
|
|
146
|
+
"label": "details",
|
|
147
|
+
"component": "TextArea",
|
|
148
|
+
"type": "PRIMITIVE",
|
|
149
|
+
"i18n": true,
|
|
150
|
+
"rules": {
|
|
151
|
+
"min": 5,
|
|
152
|
+
"max": 2000
|
|
153
|
+
},
|
|
154
|
+
"meta": "details"
|
|
155
|
+
},
|
|
156
|
+
"street": {
|
|
157
|
+
"label": "street",
|
|
158
|
+
"component": "TextField",
|
|
159
|
+
"type": "PRIMITIVE",
|
|
160
|
+
"rules": {
|
|
161
|
+
"required": true,
|
|
162
|
+
"max": 2000
|
|
163
|
+
},
|
|
164
|
+
"meta": "street"
|
|
165
|
+
},
|
|
166
|
+
"city": {
|
|
167
|
+
"label": "city",
|
|
168
|
+
"component": "TextField",
|
|
169
|
+
"type": "PRIMITIVE",
|
|
170
|
+
"rules": {
|
|
171
|
+
"required": true,
|
|
172
|
+
"max": 200
|
|
173
|
+
},
|
|
174
|
+
"meta": "city"
|
|
175
|
+
},
|
|
176
|
+
"country": {
|
|
177
|
+
"label": "country",
|
|
178
|
+
"component": "AutoComplete",
|
|
179
|
+
"type": "PRIMITIVE",
|
|
180
|
+
"meta": "country"
|
|
181
|
+
},
|
|
182
|
+
"zip": {
|
|
183
|
+
"label": "zip",
|
|
184
|
+
"component": "TextField",
|
|
185
|
+
"type": "PRIMITIVE",
|
|
186
|
+
"rules": {
|
|
187
|
+
"required": true,
|
|
188
|
+
"numerical": true
|
|
189
|
+
},
|
|
190
|
+
"meta": "zip"
|
|
191
|
+
},
|
|
192
|
+
"geocode": {
|
|
193
|
+
"label": "geocode",
|
|
194
|
+
"component": "GeocodePicker",
|
|
195
|
+
"type": "OBJECT",
|
|
196
|
+
"rules": {},
|
|
197
|
+
"items": {
|
|
198
|
+
"lat": {
|
|
199
|
+
"label": "latitude",
|
|
200
|
+
"component": false,
|
|
201
|
+
"type": "PRIMITIVE",
|
|
202
|
+
"meta": "latitude"
|
|
203
|
+
},
|
|
204
|
+
"lng": {
|
|
205
|
+
"label": "longitude",
|
|
206
|
+
"component": false,
|
|
207
|
+
"type": "PRIMITIVE",
|
|
208
|
+
"meta": "longitude"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"meta": "geocode"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
100
214
|
}
|
|
101
215
|
},
|
|
102
216
|
"meta": "locations"
|
|
103
217
|
},
|
|
218
|
+
"category": {
|
|
219
|
+
"label": "category",
|
|
220
|
+
"component": "Select",
|
|
221
|
+
"type": "PRIMITIVE",
|
|
222
|
+
"items": {
|
|
223
|
+
"Member": "MEMBER",
|
|
224
|
+
"Support": "SUPPORT",
|
|
225
|
+
"Partner": "PARTNER",
|
|
226
|
+
"Other": "OTHER",
|
|
227
|
+
"Network": "NETWORK"
|
|
228
|
+
},
|
|
229
|
+
"multiple": true,
|
|
230
|
+
"value": "",
|
|
231
|
+
"meta": "category"
|
|
232
|
+
},
|
|
104
233
|
"ror": {
|
|
105
234
|
"label": "ror",
|
|
106
235
|
"component": "TextField",
|
|
@@ -56,11 +56,28 @@ const data = {
|
|
|
56
56
|
"fr": ""
|
|
57
57
|
},
|
|
58
58
|
"image": "",
|
|
59
|
-
"
|
|
59
|
+
"location": [
|
|
60
60
|
{
|
|
61
|
-
"
|
|
61
|
+
"location": {
|
|
62
|
+
"name": "",
|
|
63
|
+
"acronym": "",
|
|
64
|
+
"image": "",
|
|
65
|
+
"details": {
|
|
66
|
+
"en": "",
|
|
67
|
+
"fr": ""
|
|
68
|
+
},
|
|
69
|
+
"street": "",
|
|
70
|
+
"city": "",
|
|
71
|
+
"country": "",
|
|
72
|
+
"zip": "",
|
|
73
|
+
"geocode": {
|
|
74
|
+
"lat": "",
|
|
75
|
+
"lng": ""
|
|
76
|
+
}
|
|
77
|
+
}
|
|
62
78
|
}
|
|
63
79
|
],
|
|
80
|
+
"category": "",
|
|
64
81
|
"ror": "",
|
|
65
82
|
"url": ""
|
|
66
83
|
},
|
|
@@ -84,21 +101,133 @@ const data = {
|
|
|
84
101
|
"meta": "image",
|
|
85
102
|
"default": ""
|
|
86
103
|
},
|
|
87
|
-
"
|
|
104
|
+
"location": {
|
|
88
105
|
"label": "locations",
|
|
89
106
|
"component": "CollectionContainerPanel",
|
|
90
107
|
"type": "ARRAY",
|
|
91
108
|
"items": {
|
|
92
|
-
"
|
|
109
|
+
"location": {
|
|
93
110
|
"label": "location",
|
|
94
111
|
"component": "ObjectContainerPanel",
|
|
95
|
-
"type": "
|
|
112
|
+
"type": "OBJECT",
|
|
96
113
|
"meta": "location",
|
|
97
|
-
"items": {
|
|
114
|
+
"items": {
|
|
115
|
+
"name": {
|
|
116
|
+
"label": "name",
|
|
117
|
+
"component": "TextField",
|
|
118
|
+
"type": "PRIMITIVE",
|
|
119
|
+
"rules": {
|
|
120
|
+
"required": true,
|
|
121
|
+
"min": 5,
|
|
122
|
+
"max": 200
|
|
123
|
+
},
|
|
124
|
+
"meta": "name"
|
|
125
|
+
},
|
|
126
|
+
"acronym": {
|
|
127
|
+
"label": "acronym",
|
|
128
|
+
"component": "TextField",
|
|
129
|
+
"type": "PRIMITIVE",
|
|
130
|
+
"rules": {
|
|
131
|
+
"max": 20
|
|
132
|
+
},
|
|
133
|
+
"meta": "acronym"
|
|
134
|
+
},
|
|
135
|
+
"image": {
|
|
136
|
+
"label": "image",
|
|
137
|
+
"component": "ImagePicker",
|
|
138
|
+
"type": "DOCUMENT",
|
|
139
|
+
"rules": {},
|
|
140
|
+
"meta": "image",
|
|
141
|
+
"default": ""
|
|
142
|
+
},
|
|
143
|
+
"details": {
|
|
144
|
+
"label": "details",
|
|
145
|
+
"component": "TextArea",
|
|
146
|
+
"type": "PRIMITIVE",
|
|
147
|
+
"i18n": true,
|
|
148
|
+
"rules": {
|
|
149
|
+
"min": 5,
|
|
150
|
+
"max": 2000
|
|
151
|
+
},
|
|
152
|
+
"meta": "details"
|
|
153
|
+
},
|
|
154
|
+
"street": {
|
|
155
|
+
"label": "street",
|
|
156
|
+
"component": "TextField",
|
|
157
|
+
"type": "PRIMITIVE",
|
|
158
|
+
"rules": {
|
|
159
|
+
"required": true,
|
|
160
|
+
"max": 2000
|
|
161
|
+
},
|
|
162
|
+
"meta": "street"
|
|
163
|
+
},
|
|
164
|
+
"city": {
|
|
165
|
+
"label": "city",
|
|
166
|
+
"component": "TextField",
|
|
167
|
+
"type": "PRIMITIVE",
|
|
168
|
+
"rules": {
|
|
169
|
+
"required": true,
|
|
170
|
+
"max": 200
|
|
171
|
+
},
|
|
172
|
+
"meta": "city"
|
|
173
|
+
},
|
|
174
|
+
"country": {
|
|
175
|
+
"label": "country",
|
|
176
|
+
"component": "AutoComplete",
|
|
177
|
+
"type": "PRIMITIVE",
|
|
178
|
+
"meta": "country"
|
|
179
|
+
},
|
|
180
|
+
"zip": {
|
|
181
|
+
"label": "zip",
|
|
182
|
+
"component": "TextField",
|
|
183
|
+
"type": "PRIMITIVE",
|
|
184
|
+
"rules": {
|
|
185
|
+
"required": true,
|
|
186
|
+
"numerical": true
|
|
187
|
+
},
|
|
188
|
+
"meta": "zip"
|
|
189
|
+
},
|
|
190
|
+
"geocode": {
|
|
191
|
+
"label": "geocode",
|
|
192
|
+
"component": "GeocodePicker",
|
|
193
|
+
"type": "OBJECT",
|
|
194
|
+
"rules": {},
|
|
195
|
+
"items": {
|
|
196
|
+
"lat": {
|
|
197
|
+
"label": "latitude",
|
|
198
|
+
"component": false,
|
|
199
|
+
"type": "PRIMITIVE",
|
|
200
|
+
"meta": "latitude"
|
|
201
|
+
},
|
|
202
|
+
"lng": {
|
|
203
|
+
"label": "longitude",
|
|
204
|
+
"component": false,
|
|
205
|
+
"type": "PRIMITIVE",
|
|
206
|
+
"meta": "longitude"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"meta": "geocode"
|
|
210
|
+
}
|
|
211
|
+
}
|
|
98
212
|
}
|
|
99
213
|
},
|
|
100
214
|
"meta": "locations"
|
|
101
215
|
},
|
|
216
|
+
"category": {
|
|
217
|
+
"label": "category",
|
|
218
|
+
"component": "Select",
|
|
219
|
+
"type": "PRIMITIVE",
|
|
220
|
+
"items": {
|
|
221
|
+
"Member": "MEMBER",
|
|
222
|
+
"Support": "SUPPORT",
|
|
223
|
+
"Partner": "PARTNER",
|
|
224
|
+
"Other": "OTHER",
|
|
225
|
+
"Network": "NETWORK"
|
|
226
|
+
},
|
|
227
|
+
"multiple": true,
|
|
228
|
+
"value": "",
|
|
229
|
+
"meta": "category"
|
|
230
|
+
},
|
|
102
231
|
"ror": {
|
|
103
232
|
"label": "ror",
|
|
104
233
|
"component": "TextField",
|
package/dist/form/projects.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import type { Form } from "../../index"
|
|
2
2
|
|
|
3
3
|
// Inline type definitions
|
|
4
|
+
export enum projectTypes {
|
|
5
|
+
Initiative = "INITIATIVE",
|
|
6
|
+
Platform = "PLATFORM",
|
|
7
|
+
Research = "RESEARCH",
|
|
8
|
+
}
|
|
9
|
+
|
|
4
10
|
export interface Projects {
|
|
5
11
|
name: string
|
|
6
12
|
subtitle?: string
|
|
@@ -21,12 +27,6 @@ export interface Projects {
|
|
|
21
27
|
type: projectTypes
|
|
22
28
|
}
|
|
23
29
|
|
|
24
|
-
export enum projectTypes {
|
|
25
|
-
Initiative = "INITIATIVE",
|
|
26
|
-
Platform = "PLATFORM",
|
|
27
|
-
Research = "RESEARCH",
|
|
28
|
-
}
|
|
29
|
-
|
|
30
30
|
export enum projectStatus {
|
|
31
31
|
Planned = "PLANNED",
|
|
32
32
|
InProgress = "IN_PROGRESS",
|
|
@@ -188,6 +188,14 @@ const data = {
|
|
|
188
188
|
"items": [],
|
|
189
189
|
"multiple": true,
|
|
190
190
|
"value": ""
|
|
191
|
+
},
|
|
192
|
+
"type": {
|
|
193
|
+
"type": "Select",
|
|
194
|
+
"items": {
|
|
195
|
+
"Initiative": "INITIATIVE",
|
|
196
|
+
"Platform": "PLATFORM",
|
|
197
|
+
"Research": "RESEARCH"
|
|
198
|
+
}
|
|
191
199
|
}
|
|
192
200
|
},
|
|
193
201
|
"limit": 20
|
package/dist/list/projects.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import type { Sort, Views } from "../../index"
|
|
2
2
|
|
|
3
3
|
// Inline type definitions
|
|
4
|
+
export enum projectTypes {
|
|
5
|
+
Initiative = "INITIATIVE",
|
|
6
|
+
Platform = "PLATFORM",
|
|
7
|
+
Research = "RESEARCH",
|
|
8
|
+
}
|
|
9
|
+
|
|
4
10
|
export interface Projects {
|
|
5
11
|
name: string
|
|
6
12
|
subtitle?: string
|
|
@@ -21,12 +27,6 @@ export interface Projects {
|
|
|
21
27
|
type: projectTypes
|
|
22
28
|
}
|
|
23
29
|
|
|
24
|
-
export enum projectTypes {
|
|
25
|
-
Initiative = "INITIATIVE",
|
|
26
|
-
Platform = "PLATFORM",
|
|
27
|
-
Research = "RESEARCH",
|
|
28
|
-
}
|
|
29
|
-
|
|
30
30
|
export enum projectStatus {
|
|
31
31
|
Planned = "PLANNED",
|
|
32
32
|
InProgress = "IN_PROGRESS",
|
package/dist/list/projects.js
CHANGED
|
@@ -186,6 +186,14 @@ const data = {
|
|
|
186
186
|
"items": [],
|
|
187
187
|
"multiple": true,
|
|
188
188
|
"value": ""
|
|
189
|
+
},
|
|
190
|
+
"type": {
|
|
191
|
+
"type": "Select",
|
|
192
|
+
"items": {
|
|
193
|
+
"Initiative": "INITIATIVE",
|
|
194
|
+
"Platform": "PLATFORM",
|
|
195
|
+
"Research": "RESEARCH"
|
|
196
|
+
}
|
|
189
197
|
}
|
|
190
198
|
},
|
|
191
199
|
"limit": 20
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paris-ias/trees",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -201,14 +201,14 @@
|
|
|
201
201
|
],
|
|
202
202
|
"scripts": {
|
|
203
203
|
"dev": "tsx index.ts",
|
|
204
|
-
"build": "npx tsx lib/generateAll.ts && rollup -c",
|
|
204
|
+
"build": "unset npm_config_version_commit_hooks npm_config_version_tag_prefix npm_config_version_git_message npm_config_version_git_tag npm_config_version_git_sign npm_config_argv && npx tsx lib/generateAll.ts && rollup -c",
|
|
205
205
|
"postbuild": "find src -name '*.d.ts' -type f -delete",
|
|
206
206
|
"build:types": "tsc -p tsconfig.index.json",
|
|
207
207
|
"generate:modules": "npx tsx lib/generate.ts",
|
|
208
208
|
"generate:schemas": "npx tsx lib/buildSchemas.ts",
|
|
209
209
|
"generate:client": "npx tsx lib/buildClientGraphQL.ts",
|
|
210
210
|
"draw": "npx depcruise src --include-only \"^src\" --output-type dot | dot -T svg > dependency-graph.svg",
|
|
211
|
-
"clean": "rm -rf dist/",
|
|
211
|
+
"clean": "unset npm_config_version_commit_hooks npm_config_version_tag_prefix npm_config_version_git_message npm_config_version_git_tag npm_config_version_git_sign npm_config_argv && rm -rf dist/",
|
|
212
212
|
"prebuild": "npm run clean",
|
|
213
213
|
"prepublishOnly": "npm run build"
|
|
214
214
|
},
|