@paris-ias/trees 2.0.1 → 2.0.2
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 +1 -129
- package/dist/form/actions.js +17 -2
- package/dist/form/affiliations.d.ts +1 -292
- package/dist/form/affiliations.js +17 -2
- package/dist/form/apps.d.ts +1 -209
- package/dist/form/apps.js +17 -2
- package/dist/form/disciplines.d.ts +1 -40
- package/dist/form/disciplines.js +17 -2
- package/dist/form/events.d.ts +1 -1397
- package/dist/form/events.js +17 -2
- package/dist/form/fellowships.d.ts +1 -2122
- package/dist/form/fellowships.js +17 -2
- package/dist/form/files.d.ts +1 -40
- package/dist/form/files.js +17 -2
- package/dist/form/mailing.d.ts +1 -62
- package/dist/form/mailing.js +17 -2
- package/dist/form/news.d.ts +1 -405
- package/dist/form/news.js +17 -2
- package/dist/form/people.d.ts +1 -1062
- package/dist/form/people.js +17 -2
- package/dist/form/projects.d.ts +1 -564
- package/dist/form/projects.js +17 -2
- package/dist/form/publications.d.ts +1 -615
- package/dist/form/publications.js +17 -2
- package/dist/form/tags.d.ts +1 -54
- package/dist/form/tags.js +17 -2
- package/dist/form/users.d.ts +1 -946
- package/dist/form/users.js +17 -2
- package/dist/list/actions.d.ts +1 -103
- package/dist/list/actions.js +17 -2
- package/dist/list/affiliations.d.ts +1 -103
- package/dist/list/affiliations.js +17 -2
- package/dist/list/apps.d.ts +1 -103
- package/dist/list/apps.js +17 -2
- package/dist/list/disciplines.d.ts +1 -101
- package/dist/list/disciplines.js +17 -2
- package/dist/list/events.d.ts +1 -172
- package/dist/list/events.js +17 -2
- package/dist/list/fellowships.d.ts +1 -123
- package/dist/list/fellowships.js +17 -2
- package/dist/list/files.d.ts +1 -101
- package/dist/list/files.js +17 -2
- package/dist/list/mailing.d.ts +1 -101
- package/dist/list/mailing.js +17 -2
- package/dist/list/news.d.ts +1 -103
- package/dist/list/news.js +17 -2
- package/dist/list/people.d.ts +1 -153
- package/dist/list/people.js +17 -2
- package/dist/list/projects.d.ts +1 -103
- package/dist/list/projects.js +17 -2
- package/dist/list/publications.d.ts +1 -127
- package/dist/list/publications.js +17 -2
- package/dist/list/tags.d.ts +1 -103
- package/dist/list/tags.js +17 -2
- package/dist/list/users.d.ts +1 -153
- package/dist/list/users.js +17 -2
- package/package.json +1 -1
- package/readme.md +94 -17
package/dist/form/fellowships.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
// Deep freeze utility to make exports immutable
|
|
2
|
+
const deepFreeze = (obj) => {
|
|
3
|
+
Object.freeze(obj);
|
|
4
|
+
Object.getOwnPropertyNames(obj).forEach(prop => {
|
|
5
|
+
if (obj[prop] !== null
|
|
6
|
+
&& (typeof obj[prop] === "object" || typeof obj[prop] === "function")
|
|
7
|
+
&& !Object.isFrozen(obj[prop])) {
|
|
8
|
+
deepFreeze(obj[prop]);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return obj;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const data = {
|
|
2
15
|
"_defaults": {
|
|
3
16
|
"name": {
|
|
4
17
|
"en": "",
|
|
@@ -1304,4 +1317,6 @@ export default {
|
|
|
1304
1317
|
}
|
|
1305
1318
|
}
|
|
1306
1319
|
}
|
|
1307
|
-
}
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
export default deepFreeze(data);
|
package/dist/form/files.d.ts
CHANGED
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
declare
|
|
2
|
-
namespace _defaults {
|
|
3
|
-
let name: string;
|
|
4
|
-
let file: string;
|
|
5
|
-
}
|
|
6
|
-
namespace schema {
|
|
7
|
-
export namespace name_1 {
|
|
8
|
-
let label: string;
|
|
9
|
-
let component: string;
|
|
10
|
-
let type: string;
|
|
11
|
-
namespace rules {
|
|
12
|
-
let required: boolean;
|
|
13
|
-
let min: number;
|
|
14
|
-
let max: number;
|
|
15
|
-
}
|
|
16
|
-
let meta: string;
|
|
17
|
-
}
|
|
18
|
-
export { name_1 as name };
|
|
19
|
-
export namespace file_1 {
|
|
20
|
-
let label_1: string;
|
|
21
|
-
export { label_1 as label };
|
|
22
|
-
let component_1: string;
|
|
23
|
-
export { component_1 as component };
|
|
24
|
-
let type_1: string;
|
|
25
|
-
export { type_1 as type };
|
|
26
|
-
export namespace rules_1 {
|
|
27
|
-
let required_1: boolean;
|
|
28
|
-
export { required_1 as required };
|
|
29
|
-
let min_1: number;
|
|
30
|
-
export { min_1 as min };
|
|
31
|
-
let max_1: number;
|
|
32
|
-
export { max_1 as max };
|
|
33
|
-
}
|
|
34
|
-
export { rules_1 as rules };
|
|
35
|
-
let meta_1: string;
|
|
36
|
-
export { meta_1 as meta };
|
|
37
|
-
}
|
|
38
|
-
export { file_1 as file };
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
declare const _default: any;
|
|
41
2
|
export default _default;
|
package/dist/form/files.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
// Deep freeze utility to make exports immutable
|
|
2
|
+
const deepFreeze = (obj) => {
|
|
3
|
+
Object.freeze(obj);
|
|
4
|
+
Object.getOwnPropertyNames(obj).forEach(prop => {
|
|
5
|
+
if (obj[prop] !== null
|
|
6
|
+
&& (typeof obj[prop] === "object" || typeof obj[prop] === "function")
|
|
7
|
+
&& !Object.isFrozen(obj[prop])) {
|
|
8
|
+
deepFreeze(obj[prop]);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return obj;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const data = {
|
|
2
15
|
"_defaults": {
|
|
3
16
|
"name": "",
|
|
4
17
|
"file": ""
|
|
@@ -27,4 +40,6 @@ export default {
|
|
|
27
40
|
"meta": "file"
|
|
28
41
|
}
|
|
29
42
|
}
|
|
30
|
-
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export default deepFreeze(data);
|
package/dist/form/mailing.d.ts
CHANGED
|
@@ -1,63 +1,2 @@
|
|
|
1
|
-
declare
|
|
2
|
-
namespace _defaults {
|
|
3
|
-
let name: string;
|
|
4
|
-
let content: string;
|
|
5
|
-
let date: string;
|
|
6
|
-
}
|
|
7
|
-
namespace schema {
|
|
8
|
-
export namespace name_1 {
|
|
9
|
-
let label: string;
|
|
10
|
-
let component: string;
|
|
11
|
-
let type: string;
|
|
12
|
-
namespace rules {
|
|
13
|
-
let required: boolean;
|
|
14
|
-
let min: number;
|
|
15
|
-
let max: number;
|
|
16
|
-
}
|
|
17
|
-
let meta: string;
|
|
18
|
-
}
|
|
19
|
-
export { name_1 as name };
|
|
20
|
-
export namespace content_1 {
|
|
21
|
-
let label_1: string;
|
|
22
|
-
export { label_1 as label };
|
|
23
|
-
let component_1: string;
|
|
24
|
-
export { component_1 as component };
|
|
25
|
-
let type_1: string;
|
|
26
|
-
export { type_1 as type };
|
|
27
|
-
export namespace rules_1 {
|
|
28
|
-
let required_1: boolean;
|
|
29
|
-
export { required_1 as required };
|
|
30
|
-
let min_1: number;
|
|
31
|
-
export { min_1 as min };
|
|
32
|
-
let max_1: number;
|
|
33
|
-
export { max_1 as max };
|
|
34
|
-
}
|
|
35
|
-
export { rules_1 as rules };
|
|
36
|
-
let meta_1: string;
|
|
37
|
-
export { meta_1 as meta };
|
|
38
|
-
}
|
|
39
|
-
export { content_1 as content };
|
|
40
|
-
export namespace date_1 {
|
|
41
|
-
let label_2: string;
|
|
42
|
-
export { label_2 as label };
|
|
43
|
-
let component_2: string;
|
|
44
|
-
export { component_2 as component };
|
|
45
|
-
export let description: string;
|
|
46
|
-
let type_2: string;
|
|
47
|
-
export { type_2 as type };
|
|
48
|
-
export namespace rules_2 {
|
|
49
|
-
let required_2: boolean;
|
|
50
|
-
export { required_2 as required };
|
|
51
|
-
let min_2: number;
|
|
52
|
-
export { min_2 as min };
|
|
53
|
-
let max_2: number;
|
|
54
|
-
export { max_2 as max };
|
|
55
|
-
}
|
|
56
|
-
export { rules_2 as rules };
|
|
57
|
-
let meta_2: string;
|
|
58
|
-
export { meta_2 as meta };
|
|
59
|
-
}
|
|
60
|
-
export { date_1 as date };
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
declare const _default: any;
|
|
63
2
|
export default _default;
|
package/dist/form/mailing.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
// Deep freeze utility to make exports immutable
|
|
2
|
+
const deepFreeze = (obj) => {
|
|
3
|
+
Object.freeze(obj);
|
|
4
|
+
Object.getOwnPropertyNames(obj).forEach(prop => {
|
|
5
|
+
if (obj[prop] !== null
|
|
6
|
+
&& (typeof obj[prop] === "object" || typeof obj[prop] === "function")
|
|
7
|
+
&& !Object.isFrozen(obj[prop])) {
|
|
8
|
+
deepFreeze(obj[prop]);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return obj;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const data = {
|
|
2
15
|
"_defaults": {
|
|
3
16
|
"name": "",
|
|
4
17
|
"content": "",
|
|
@@ -40,4 +53,6 @@ export default {
|
|
|
40
53
|
"meta": "date"
|
|
41
54
|
}
|
|
42
55
|
}
|
|
43
|
-
}
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export default deepFreeze(data);
|
package/dist/form/news.d.ts
CHANGED
|
@@ -1,406 +1,2 @@
|
|
|
1
|
-
declare
|
|
2
|
-
namespace _defaults {
|
|
3
|
-
namespace name {
|
|
4
|
-
let en: string;
|
|
5
|
-
let fr: string;
|
|
6
|
-
}
|
|
7
|
-
namespace summary {
|
|
8
|
-
let en_1: string;
|
|
9
|
-
export { en_1 as en };
|
|
10
|
-
let fr_1: string;
|
|
11
|
-
export { fr_1 as fr };
|
|
12
|
-
}
|
|
13
|
-
namespace subtitle {
|
|
14
|
-
let en_2: string;
|
|
15
|
-
export { en_2 as en };
|
|
16
|
-
let fr_2: string;
|
|
17
|
-
export { fr_2 as fr };
|
|
18
|
-
}
|
|
19
|
-
namespace description {
|
|
20
|
-
let en_3: string;
|
|
21
|
-
export { en_3 as en };
|
|
22
|
-
let fr_3: string;
|
|
23
|
-
export { fr_3 as fr };
|
|
24
|
-
}
|
|
25
|
-
let image: string;
|
|
26
|
-
let color: string;
|
|
27
|
-
let url: string;
|
|
28
|
-
let files: string;
|
|
29
|
-
let gallery: string;
|
|
30
|
-
let date: string;
|
|
31
|
-
let featured: string;
|
|
32
|
-
let tags: string;
|
|
33
|
-
namespace related {
|
|
34
|
-
let events: string;
|
|
35
|
-
let news: string;
|
|
36
|
-
let people: string;
|
|
37
|
-
let publications: string;
|
|
38
|
-
let projects: string;
|
|
39
|
-
let fellowships: string;
|
|
40
|
-
}
|
|
41
|
-
let category: string;
|
|
42
|
-
}
|
|
43
|
-
namespace schema {
|
|
44
|
-
export namespace name_1 {
|
|
45
|
-
let label: string;
|
|
46
|
-
let component: string;
|
|
47
|
-
let type: string;
|
|
48
|
-
let i18n: boolean;
|
|
49
|
-
namespace rules {
|
|
50
|
-
let required: boolean;
|
|
51
|
-
let min: number;
|
|
52
|
-
let max: number;
|
|
53
|
-
}
|
|
54
|
-
let meta: string;
|
|
55
|
-
}
|
|
56
|
-
export { name_1 as name };
|
|
57
|
-
export namespace summary_1 {
|
|
58
|
-
let label_1: string;
|
|
59
|
-
export { label_1 as label };
|
|
60
|
-
let component_1: string;
|
|
61
|
-
export { component_1 as component };
|
|
62
|
-
let type_1: string;
|
|
63
|
-
export { type_1 as type };
|
|
64
|
-
let i18n_1: boolean;
|
|
65
|
-
export { i18n_1 as i18n };
|
|
66
|
-
export namespace rules_1 {
|
|
67
|
-
let required_1: boolean;
|
|
68
|
-
export { required_1 as required };
|
|
69
|
-
let min_1: number;
|
|
70
|
-
export { min_1 as min };
|
|
71
|
-
let max_1: number;
|
|
72
|
-
export { max_1 as max };
|
|
73
|
-
}
|
|
74
|
-
export { rules_1 as rules };
|
|
75
|
-
let meta_1: string;
|
|
76
|
-
export { meta_1 as meta };
|
|
77
|
-
}
|
|
78
|
-
export { summary_1 as summary };
|
|
79
|
-
export namespace subtitle_1 {
|
|
80
|
-
let label_2: string;
|
|
81
|
-
export { label_2 as label };
|
|
82
|
-
let component_2: string;
|
|
83
|
-
export { component_2 as component };
|
|
84
|
-
let type_2: string;
|
|
85
|
-
export { type_2 as type };
|
|
86
|
-
let i18n_2: boolean;
|
|
87
|
-
export { i18n_2 as i18n };
|
|
88
|
-
export namespace rules_2 {
|
|
89
|
-
let required_2: boolean;
|
|
90
|
-
export { required_2 as required };
|
|
91
|
-
let min_2: number;
|
|
92
|
-
export { min_2 as min };
|
|
93
|
-
let max_2: number;
|
|
94
|
-
export { max_2 as max };
|
|
95
|
-
}
|
|
96
|
-
export { rules_2 as rules };
|
|
97
|
-
let meta_2: string;
|
|
98
|
-
export { meta_2 as meta };
|
|
99
|
-
}
|
|
100
|
-
export { subtitle_1 as subtitle };
|
|
101
|
-
export namespace description_1 {
|
|
102
|
-
let label_3: string;
|
|
103
|
-
export { label_3 as label };
|
|
104
|
-
let component_3: string;
|
|
105
|
-
export { component_3 as component };
|
|
106
|
-
let i18n_3: boolean;
|
|
107
|
-
export { i18n_3 as i18n };
|
|
108
|
-
let type_3: string;
|
|
109
|
-
export { type_3 as type };
|
|
110
|
-
export namespace rules_3 {
|
|
111
|
-
let required_3: boolean;
|
|
112
|
-
export { required_3 as required };
|
|
113
|
-
let min_3: number;
|
|
114
|
-
export { min_3 as min };
|
|
115
|
-
let max_3: number;
|
|
116
|
-
export { max_3 as max };
|
|
117
|
-
}
|
|
118
|
-
export { rules_3 as rules };
|
|
119
|
-
let meta_3: string;
|
|
120
|
-
export { meta_3 as meta };
|
|
121
|
-
}
|
|
122
|
-
export { description_1 as description };
|
|
123
|
-
export namespace image_1 {
|
|
124
|
-
let label_4: string;
|
|
125
|
-
export { label_4 as label };
|
|
126
|
-
let component_4: string;
|
|
127
|
-
export { component_4 as component };
|
|
128
|
-
let type_4: string;
|
|
129
|
-
export { type_4 as type };
|
|
130
|
-
export namespace rules_4 {
|
|
131
|
-
let required_4: boolean;
|
|
132
|
-
export { required_4 as required };
|
|
133
|
-
}
|
|
134
|
-
export { rules_4 as rules };
|
|
135
|
-
let meta_4: string;
|
|
136
|
-
export { meta_4 as meta };
|
|
137
|
-
let _default: string;
|
|
138
|
-
export { _default as default };
|
|
139
|
-
}
|
|
140
|
-
export { image_1 as image };
|
|
141
|
-
export namespace color_1 {
|
|
142
|
-
let label_5: string;
|
|
143
|
-
export { label_5 as label };
|
|
144
|
-
let component_5: string;
|
|
145
|
-
export { component_5 as component };
|
|
146
|
-
let type_5: string;
|
|
147
|
-
export { type_5 as type };
|
|
148
|
-
export namespace rules_5 {
|
|
149
|
-
let required_5: boolean;
|
|
150
|
-
export { required_5 as required };
|
|
151
|
-
let color_2: boolean;
|
|
152
|
-
export { color_2 as color };
|
|
153
|
-
}
|
|
154
|
-
export { rules_5 as rules };
|
|
155
|
-
let meta_5: string;
|
|
156
|
-
export { meta_5 as meta };
|
|
157
|
-
}
|
|
158
|
-
export { color_1 as color };
|
|
159
|
-
export namespace url_1 {
|
|
160
|
-
let label_6: string;
|
|
161
|
-
export { label_6 as label };
|
|
162
|
-
let component_6: string;
|
|
163
|
-
export { component_6 as component };
|
|
164
|
-
let type_6: string;
|
|
165
|
-
export { type_6 as type };
|
|
166
|
-
export namespace rules_6 {
|
|
167
|
-
let required_6: boolean;
|
|
168
|
-
export { required_6 as required };
|
|
169
|
-
let url_2: boolean;
|
|
170
|
-
export { url_2 as url };
|
|
171
|
-
}
|
|
172
|
-
export { rules_6 as rules };
|
|
173
|
-
let meta_6: string;
|
|
174
|
-
export { meta_6 as meta };
|
|
175
|
-
}
|
|
176
|
-
export { url_1 as url };
|
|
177
|
-
export namespace files_1 {
|
|
178
|
-
let label_7: string;
|
|
179
|
-
export { label_7 as label };
|
|
180
|
-
let component_7: string;
|
|
181
|
-
export { component_7 as component };
|
|
182
|
-
let type_7: string;
|
|
183
|
-
export { type_7 as type };
|
|
184
|
-
export namespace rules_7 {
|
|
185
|
-
let required_7: boolean;
|
|
186
|
-
export { required_7 as required };
|
|
187
|
-
}
|
|
188
|
-
export { rules_7 as rules };
|
|
189
|
-
let meta_7: string;
|
|
190
|
-
export { meta_7 as meta };
|
|
191
|
-
let _default_1: string;
|
|
192
|
-
export { _default_1 as default };
|
|
193
|
-
}
|
|
194
|
-
export { files_1 as files };
|
|
195
|
-
export namespace gallery_1 {
|
|
196
|
-
let label_8: string;
|
|
197
|
-
export { label_8 as label };
|
|
198
|
-
let component_8: string;
|
|
199
|
-
export { component_8 as component };
|
|
200
|
-
let type_8: string;
|
|
201
|
-
export { type_8 as type };
|
|
202
|
-
export let multiple: boolean;
|
|
203
|
-
let meta_8: string;
|
|
204
|
-
export { meta_8 as meta };
|
|
205
|
-
let _default_2: string;
|
|
206
|
-
export { _default_2 as default };
|
|
207
|
-
}
|
|
208
|
-
export { gallery_1 as gallery };
|
|
209
|
-
export namespace date_1 {
|
|
210
|
-
let label_9: string;
|
|
211
|
-
export { label_9 as label };
|
|
212
|
-
let component_9: string;
|
|
213
|
-
export { component_9 as component };
|
|
214
|
-
let type_9: string;
|
|
215
|
-
export { type_9 as type };
|
|
216
|
-
export namespace rules_8 {
|
|
217
|
-
let required_8: boolean;
|
|
218
|
-
export { required_8 as required };
|
|
219
|
-
let date_2: boolean;
|
|
220
|
-
export { date_2 as date };
|
|
221
|
-
}
|
|
222
|
-
export { rules_8 as rules };
|
|
223
|
-
let meta_9: string;
|
|
224
|
-
export { meta_9 as meta };
|
|
225
|
-
}
|
|
226
|
-
export { date_1 as date };
|
|
227
|
-
export namespace featured_1 {
|
|
228
|
-
let label_10: string;
|
|
229
|
-
export { label_10 as label };
|
|
230
|
-
let component_10: string;
|
|
231
|
-
export { component_10 as component };
|
|
232
|
-
let type_10: string;
|
|
233
|
-
export { type_10 as type };
|
|
234
|
-
export namespace rules_9 {
|
|
235
|
-
let required_9: boolean;
|
|
236
|
-
export { required_9 as required };
|
|
237
|
-
let date_3: boolean;
|
|
238
|
-
export { date_3 as date };
|
|
239
|
-
}
|
|
240
|
-
export { rules_9 as rules };
|
|
241
|
-
let meta_10: string;
|
|
242
|
-
export { meta_10 as meta };
|
|
243
|
-
}
|
|
244
|
-
export { featured_1 as featured };
|
|
245
|
-
export namespace tags_1 {
|
|
246
|
-
let label_11: string;
|
|
247
|
-
export { label_11 as label };
|
|
248
|
-
let component_11: string;
|
|
249
|
-
export { component_11 as component };
|
|
250
|
-
let type_11: string;
|
|
251
|
-
export { type_11 as type };
|
|
252
|
-
export namespace rules_10 {
|
|
253
|
-
let required_10: boolean;
|
|
254
|
-
export { required_10 as required };
|
|
255
|
-
let min_4: number;
|
|
256
|
-
export { min_4 as min };
|
|
257
|
-
}
|
|
258
|
-
export { rules_10 as rules };
|
|
259
|
-
let meta_11: string;
|
|
260
|
-
export { meta_11 as meta };
|
|
261
|
-
let _default_3: string;
|
|
262
|
-
export { _default_3 as default };
|
|
263
|
-
}
|
|
264
|
-
export { tags_1 as tags };
|
|
265
|
-
export namespace related_1 {
|
|
266
|
-
let label_12: string;
|
|
267
|
-
export { label_12 as label };
|
|
268
|
-
let component_12: string;
|
|
269
|
-
export { component_12 as component };
|
|
270
|
-
let type_12: string;
|
|
271
|
-
export { type_12 as type };
|
|
272
|
-
export namespace rules_11 {
|
|
273
|
-
let required_11: boolean;
|
|
274
|
-
export { required_11 as required };
|
|
275
|
-
let min_5: number;
|
|
276
|
-
export { min_5 as min };
|
|
277
|
-
let max_4: number;
|
|
278
|
-
export { max_4 as max };
|
|
279
|
-
}
|
|
280
|
-
export { rules_11 as rules };
|
|
281
|
-
let meta_12: string;
|
|
282
|
-
export { meta_12 as meta };
|
|
283
|
-
export namespace items {
|
|
284
|
-
export namespace events_1 {
|
|
285
|
-
let label_13: string;
|
|
286
|
-
export { label_13 as label };
|
|
287
|
-
let component_13: string;
|
|
288
|
-
export { component_13 as component };
|
|
289
|
-
let type_13: string;
|
|
290
|
-
export { type_13 as type };
|
|
291
|
-
let meta_13: string;
|
|
292
|
-
export { meta_13 as meta };
|
|
293
|
-
let _default_4: string;
|
|
294
|
-
export { _default_4 as default };
|
|
295
|
-
}
|
|
296
|
-
export { events_1 as events };
|
|
297
|
-
export namespace news_1 {
|
|
298
|
-
let label_14: string;
|
|
299
|
-
export { label_14 as label };
|
|
300
|
-
let component_14: string;
|
|
301
|
-
export { component_14 as component };
|
|
302
|
-
let type_14: string;
|
|
303
|
-
export { type_14 as type };
|
|
304
|
-
let meta_14: string;
|
|
305
|
-
export { meta_14 as meta };
|
|
306
|
-
let _default_5: string;
|
|
307
|
-
export { _default_5 as default };
|
|
308
|
-
}
|
|
309
|
-
export { news_1 as news };
|
|
310
|
-
export namespace people_1 {
|
|
311
|
-
let label_15: string;
|
|
312
|
-
export { label_15 as label };
|
|
313
|
-
let component_15: string;
|
|
314
|
-
export { component_15 as component };
|
|
315
|
-
let type_15: string;
|
|
316
|
-
export { type_15 as type };
|
|
317
|
-
let meta_15: string;
|
|
318
|
-
export { meta_15 as meta };
|
|
319
|
-
let _default_6: string;
|
|
320
|
-
export { _default_6 as default };
|
|
321
|
-
}
|
|
322
|
-
export { people_1 as people };
|
|
323
|
-
export namespace publications_1 {
|
|
324
|
-
let label_16: string;
|
|
325
|
-
export { label_16 as label };
|
|
326
|
-
let component_16: string;
|
|
327
|
-
export { component_16 as component };
|
|
328
|
-
let type_16: string;
|
|
329
|
-
export { type_16 as type };
|
|
330
|
-
let meta_16: string;
|
|
331
|
-
export { meta_16 as meta };
|
|
332
|
-
let _default_7: string;
|
|
333
|
-
export { _default_7 as default };
|
|
334
|
-
}
|
|
335
|
-
export { publications_1 as publications };
|
|
336
|
-
export namespace projects_1 {
|
|
337
|
-
let label_17: string;
|
|
338
|
-
export { label_17 as label };
|
|
339
|
-
let component_17: string;
|
|
340
|
-
export { component_17 as component };
|
|
341
|
-
let type_17: string;
|
|
342
|
-
export { type_17 as type };
|
|
343
|
-
let meta_17: string;
|
|
344
|
-
export { meta_17 as meta };
|
|
345
|
-
let _default_8: string;
|
|
346
|
-
export { _default_8 as default };
|
|
347
|
-
}
|
|
348
|
-
export { projects_1 as projects };
|
|
349
|
-
export namespace fellowships_1 {
|
|
350
|
-
let label_18: string;
|
|
351
|
-
export { label_18 as label };
|
|
352
|
-
let component_18: string;
|
|
353
|
-
export { component_18 as component };
|
|
354
|
-
let type_18: string;
|
|
355
|
-
export { type_18 as type };
|
|
356
|
-
let meta_18: string;
|
|
357
|
-
export { meta_18 as meta };
|
|
358
|
-
let _default_9: string;
|
|
359
|
-
export { _default_9 as default };
|
|
360
|
-
}
|
|
361
|
-
export { fellowships_1 as fellowships };
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
export { related_1 as related };
|
|
365
|
-
export namespace category_1 {
|
|
366
|
-
let label_19: string;
|
|
367
|
-
export { label_19 as label };
|
|
368
|
-
let component_19: string;
|
|
369
|
-
export { component_19 as component };
|
|
370
|
-
let type_19: string;
|
|
371
|
-
export { type_19 as type };
|
|
372
|
-
export namespace rules_12 {
|
|
373
|
-
let required_12: boolean;
|
|
374
|
-
export { required_12 as required };
|
|
375
|
-
}
|
|
376
|
-
export { rules_12 as rules };
|
|
377
|
-
export namespace items_1 {
|
|
378
|
-
let PressRelease: string;
|
|
379
|
-
let Interview: string;
|
|
380
|
-
let Article: string;
|
|
381
|
-
let Opinion: string;
|
|
382
|
-
let Report: string;
|
|
383
|
-
let Blog: string;
|
|
384
|
-
let LifeAtTheInstitute: string;
|
|
385
|
-
let Event: string;
|
|
386
|
-
let Announcement: string;
|
|
387
|
-
let Job: string;
|
|
388
|
-
let Fellowship: string;
|
|
389
|
-
let Grant: string;
|
|
390
|
-
let Award: string;
|
|
391
|
-
let Project: string;
|
|
392
|
-
let Tool: string;
|
|
393
|
-
let Software: string;
|
|
394
|
-
let Data: string;
|
|
395
|
-
let Publication: string;
|
|
396
|
-
let Video: string;
|
|
397
|
-
let Audio: string;
|
|
398
|
-
}
|
|
399
|
-
export { items_1 as items };
|
|
400
|
-
let meta_19: string;
|
|
401
|
-
export { meta_19 as meta };
|
|
402
|
-
}
|
|
403
|
-
export { category_1 as category };
|
|
404
|
-
}
|
|
405
|
-
}
|
|
1
|
+
declare const _default: any;
|
|
406
2
|
export default _default;
|
package/dist/form/news.js
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
// Deep freeze utility to make exports immutable
|
|
2
|
+
const deepFreeze = (obj) => {
|
|
3
|
+
Object.freeze(obj);
|
|
4
|
+
Object.getOwnPropertyNames(obj).forEach(prop => {
|
|
5
|
+
if (obj[prop] !== null
|
|
6
|
+
&& (typeof obj[prop] === "object" || typeof obj[prop] === "function")
|
|
7
|
+
&& !Object.isFrozen(obj[prop])) {
|
|
8
|
+
deepFreeze(obj[prop]);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return obj;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const data = {
|
|
2
15
|
"_defaults": {
|
|
3
16
|
"name": {
|
|
4
17
|
"en": "",
|
|
@@ -249,4 +262,6 @@ export default {
|
|
|
249
262
|
"meta": "category"
|
|
250
263
|
}
|
|
251
264
|
}
|
|
252
|
-
}
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
export default deepFreeze(data);
|