@paris-ias/trees 2.0.6 → 2.0.7

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.
@@ -1,2 +1,21 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Actions {
5
+ color?: string
6
+ link: string
7
+ image: Image
8
+ name: string
9
+ video?: URL
10
+ slots: string[]
11
+ start: Date
12
+ stop: Date
13
+ }
14
+
15
+ export interface FormModule {
16
+ _defaults: Record<string, any>
17
+ schema: Record<string, Form>
18
+ }
19
+
20
+ declare const data: FormModule
21
+ export default data
@@ -1,2 +1,18 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Affiliations {
5
+ location?: Location
6
+ image?: Image
7
+ name: string
8
+ ror?: string
9
+ url?: string
10
+ }
11
+
12
+ export interface FormModule {
13
+ _defaults: Record<string, any>
14
+ schema: Record<string, Form>
15
+ }
16
+
17
+ declare const data: FormModule
18
+ export default data
@@ -1,2 +1,30 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Apps {
5
+ appId: string
6
+ name: string
7
+ image?: Image
8
+ description?: string
9
+ summary?: string
10
+ url?: URL
11
+ tags?: Tag[]
12
+ subtitle?: string
13
+ color?: string
14
+ date?: Date
15
+ state?: appState
16
+ }
17
+
18
+ export enum appState {
19
+ Active = "ACTIVE",
20
+ Suspended = "SUSPENDED",
21
+ Inactive = "INACTIVE",
22
+ }
23
+
24
+ export interface FormModule {
25
+ _defaults: Record<string, any>
26
+ schema: Record<string, Form>
27
+ }
28
+
29
+ declare const data: FormModule
30
+ export default data
@@ -1,2 +1,12 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ // Type definitions not found
5
+
6
+ export interface FormModule {
7
+ _defaults: Record<string, any>
8
+ schema: Record<string, Form>
9
+ }
10
+
11
+ declare const data: FormModule
12
+ export default data
@@ -1,2 +1,96 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Events {
5
+ affiliations?: Affiliations[] // 3 - Server & Client - //Bottom left Document
6
+ appId: string // 0 - Server & Client -
7
+ availableSlots: number // 0 - Server & Client - ? => Claire
8
+ bookingState: bookingState // 0 - Server & Client -
9
+ category: eventCategories // 0 - Server & Client -
10
+ createdAt?: Date // 0 - Server & Client -
11
+ dateText: string // 0 - Server & Client -
12
+ delay?: number // 0 - Server & Client -
13
+ description: string // 0 - Server & Client -
14
+ details: String // 0 - Server & Client -
15
+ disciplines?: Disciplines[] // 3 - Server & Client //Inside=> Presentation
16
+ discussants?: People[] // 0 - Server & Client -
17
+ files?: Files[] // 3 - Server & Client -
18
+ lang: string[]
19
+ image?: Image // 3 - Server & Client -
20
+ gallery?: Image[]
21
+ name: string // 0 - Server & Client -
22
+ eventSlot?: EventSlot[] //// 3 - Server -
23
+ organizers: People[] | Affiliations[] // 3 - Server & Client -
24
+ outside: boolean // 0 - Server & Client - // Near inscription
25
+ location: Location // 0 - Server & Client -
26
+ organiserType: organiserType // server & client - 0 = IAS, 1 = member, 2 = fellow, 3 = external
27
+ program: String // 0 - Server & Client -
28
+ related: Related
29
+ // slots?: EventSlot[]; //// 3 - Server
30
+ speakers?: People[] // 3 - Server & Client -
31
+ start: string // 0 - Server & Client - A verifier string ? string[]
32
+ state: eventState // 0 - Server & Client -
33
+ stop: string // 0 - Server & Client - A verifier string ? string[]
34
+ stream?: string // 0 - Server & Client -
35
+ subtitle?: string // 0 - Server &
36
+ summary?: string // 0 - Server & Client -
37
+ tags?: Tag[] // 3 - Server & Client - Inside=> Presentation
38
+ totalSlots: number // 0 - Server & Client
39
+ eventType: eventType // 0 : online, 1: physical, 2: hybrid// 0 - Server & Client -
40
+ updatedAt: Date // 0 - Server & Client -
41
+ url?: URL // 0 - Server & Client -
42
+ }
43
+
44
+ export enum eventState {
45
+ Draft = "DRAFT",
46
+ Published = "PUBLISHED",
47
+ Removed = "REMOVED",
48
+ Finished = "FINISHED",
49
+ Cancelled = "CANCELLED",
50
+ Postponed = "POSTPONED",
51
+ Rescheduled = "RESCHEDULED",
52
+ }
53
+
54
+ export enum bookingState {
55
+ Open = "OPEN",
56
+ Full = "FULL",
57
+ Closed = "CLOSED",
58
+ }
59
+
60
+ export enum eventType {
61
+ Online = "ONLINE",
62
+ Physical = "PHYSICAL",
63
+ Hybrid = "HYBRID",
64
+ }
65
+
66
+ export enum organiserType {
67
+ Ias = "IAS",
68
+ Member = "MEMBER",
69
+ Fellow = "FELLOW",
70
+ External = "EXTERNAL",
71
+ }
72
+
73
+ export enum eventCategories {
74
+ Seminar = "SEMINAR",
75
+ Workshop = "WORKSHOP",
76
+ Conference = "CONFERENCE",
77
+ ConferenceCycle = "CONFERENCE_CYCLE",
78
+ Lecture = "LECTURE",
79
+ Symposium = "SYMPOSIUM",
80
+ Meeting = "MEETING",
81
+ Colloquium = "COLLOQUIUM",
82
+ Forum = "FORUM",
83
+ RoundTable = "ROUND_TABLE",
84
+ Panel = "PANEL",
85
+ Webinar = "WEBINAR",
86
+ FellowPresentation = "FELLOW_PRESENTATION",
87
+ Other = "OTHER",
88
+ }
89
+
90
+ export interface FormModule {
91
+ _defaults: Record<string, any>
92
+ schema: Record<string, Form>
93
+ }
94
+
95
+ declare const data: FormModule
96
+ export default data
@@ -1,2 +1,48 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Fellowships {
5
+ action?: string
6
+ affiliations?: Affiliations[] // AKA members behind the fellowships
7
+ applicationStart?: Date
8
+ disciplines?: Disciplines[] // 3 - Server & Client //Inside=> Presentation
9
+ fellowshipStart?: Date
10
+ contact?: string
11
+ description: string
12
+ subtitle: string
13
+ fellowshipDetails: FellowshipDetails
14
+ fellows?: RelatedPeople[]
15
+ url?: URL
16
+ applicationStop?: Date
17
+ fellowshipStop?: Date
18
+ image?: Image
19
+ publicationDate?: Date
20
+ summary?: string
21
+ files?: Files[]
22
+ fellowshipType: [FellowshipType]
23
+ gallery?: Image[]
24
+ name: string
25
+ video?: Video[]
26
+ status: FellowshipStatus
27
+ }
28
+
29
+ export enum FellowshipType {
30
+ ShortStay = "SHORT_STAY",
31
+ LongStay = "LONG_STAY",
32
+ InGroup = "IN_GROUP",
33
+ }
34
+
35
+ export enum FellowshipStatus {
36
+ Planned = "PLANNED",
37
+ Ongoing = "ONGOING",
38
+ Finished = "FINISHED",
39
+ Cancelled = "CANCELLED",
40
+ }
41
+
42
+ export interface FormModule {
43
+ _defaults: Record<string, any>
44
+ schema: Record<string, Form>
45
+ }
46
+
47
+ declare const data: FormModule
48
+ export default data
@@ -1,2 +1,25 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Files {
5
+ name: string
6
+ url: URL
7
+ size: number
8
+ fileType: string
9
+ hash: string
10
+ path: string
11
+ file: string
12
+ image?: Image
13
+ thumb: URL
14
+ createdAt: Date
15
+ updatedAt: Date
16
+ id: string
17
+ }
18
+
19
+ export interface FormModule {
20
+ _defaults: Record<string, any>
21
+ schema: Record<string, Form>
22
+ }
23
+
24
+ declare const data: FormModule
25
+ export default data
@@ -1,2 +1,18 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Mailing {
5
+ name: string
6
+ content?: string
7
+ createdAt: string
8
+ updatedAt: string
9
+ date: Date
10
+ }
11
+
12
+ export interface FormModule {
13
+ _defaults: Record<string, any>
14
+ schema: Record<string, Form>
15
+ }
16
+
17
+ declare const data: FormModule
18
+ export default data
@@ -1,2 +1,51 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface News {
5
+ name: string
6
+ authors: [RelatedPeople]
7
+ category?: newsCategories
8
+ description?: string
9
+ summary?: string
10
+ subtitle?: string
11
+ tags?: Tag[]
12
+ image?: Image
13
+ gallery?: Image[]
14
+ color?: string
15
+ url?: URL
16
+ date?: Date
17
+ featured?: Date
18
+ related?: Related[]
19
+ files?: Files
20
+ }
21
+
22
+ export enum newsCategories {
23
+ PressRelease = "PRESS_RELEASE",
24
+ Interview = "INTERVIEW",
25
+ Article = "ARTICLE",
26
+ Opinion = "OPINION",
27
+ Report = "REPORT",
28
+ Blog = "BLOG",
29
+ LifeAtTheInstitute = "LIFE_AT_THE_INSTITUTE",
30
+ Event = "EVENT",
31
+ Announcement = "ANNOUNCEMENT",
32
+ Job = "JOB",
33
+ Fellowship = "FELLOWSHIP",
34
+ Grant = "GRANT",
35
+ Award = "AWARD",
36
+ Project = "PROJECT",
37
+ Tool = "TOOL",
38
+ Software = "SOFTWARE",
39
+ Data = "DATA",
40
+ Publication = "PUBLICATION",
41
+ Video = "VIDEO",
42
+ Audio = "AUDIO",
43
+ }
44
+
45
+ export interface FormModule {
46
+ _defaults: Record<string, any>
47
+ schema: Record<string, Form>
48
+ }
49
+
50
+ declare const data: FormModule
51
+ export default data
@@ -1,2 +1,26 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface People {
5
+ name: string
6
+ firstname: string
7
+ lastname: string
8
+ affiliations?: [{ affiliation: Affiliations; positions: [Position] }]
9
+ image?: Image
10
+ socials?: Socials
11
+ biography?: string
12
+ consent: Consent
13
+ groups: Groups
14
+ lang: string
15
+ disciplines?: Disciplines[]
16
+ related?: Related[]
17
+ video?: Video[]
18
+ }
19
+
20
+ export interface FormModule {
21
+ _defaults: Record<string, any>
22
+ schema: Record<string, Form>
23
+ }
24
+
25
+ declare const data: FormModule
26
+ export default data
@@ -1,2 +1,36 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Projects {
5
+ name: string
6
+ subtitle?: string
7
+ description?: string
8
+ summary?: string
9
+ url?: URL
10
+ affiliations?: Affiliations[]
11
+ related?: Related[]
12
+ gallery?: Image[]
13
+ image?: Image
14
+ video?: Video
15
+ tags?: Tag[]
16
+ files?: Files[]
17
+ color?: string
18
+ date?: Date
19
+ featured?: Date
20
+ status: projectStatus
21
+ }
22
+
23
+ export enum projectStatus {
24
+ Planned = "PLANNED",
25
+ InProgress = "IN_PROGRESS",
26
+ Finished = "FINISHED",
27
+ Canceled = "CANCELED",
28
+ }
29
+
30
+ export interface FormModule {
31
+ _defaults: Record<string, any>
32
+ schema: Record<string, Form>
33
+ }
34
+
35
+ declare const data: FormModule
36
+ export default data
@@ -1,2 +1,44 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Publications {
5
+ name: string
6
+ subtitle?: string
7
+ description?: string
8
+ summary?: string
9
+ url?: URL
10
+ affiliations?: Affiliations[]
11
+ related?: Related[]
12
+ gallery?: Image[]
13
+ image?: Image
14
+ video?: Video
15
+ tags?: Tag[]
16
+ disciplines?: Disciplines[]
17
+ files?: Files[]
18
+ color?: string
19
+ date?: Date
20
+ type: publicationType
21
+ eventCategories: eventCategories
22
+ }
23
+
24
+ export enum publicationType {
25
+ Article = "ARTICLE",
26
+ ConferencePaper = "CONFERENCE_PAPER",
27
+ Book = "BOOK",
28
+ BookChapter = "BOOK_CHAPTER",
29
+ Thesis = "THESIS",
30
+ Report = "REPORT",
31
+ Software = "SOFTWARE",
32
+ Data = "DATA",
33
+ Video = "VIDEO",
34
+ Audio = "AUDIO",
35
+ Podcast = "PODCAST",
36
+ }
37
+
38
+ export interface FormModule {
39
+ _defaults: Record<string, any>
40
+ schema: Record<string, Form>
41
+ }
42
+
43
+ declare const data: FormModule
44
+ export default data
@@ -1,2 +1,12 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ // Type definitions not found
5
+
6
+ export interface FormModule {
7
+ _defaults: Record<string, any>
8
+ schema: Record<string, Form>
9
+ }
10
+
11
+ declare const data: FormModule
12
+ export default data
@@ -1,2 +1,12 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Form } from "../../index"
2
+
3
+ // Inline type definitions
4
+ // Type definitions not found
5
+
6
+ export interface FormModule {
7
+ _defaults: Record<string, any>
8
+ schema: Record<string, Form>
9
+ }
10
+
11
+ declare const data: FormModule
12
+ export default data
@@ -1,2 +1,30 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Actions {
5
+ color?: string
6
+ link: string
7
+ image: Image
8
+ name: string
9
+ video?: URL
10
+ slots: string[]
11
+ start: Date
12
+ stop: Date
13
+ }
14
+
15
+ export interface ListModule {
16
+ items: Actions[]
17
+ itemsPerPage?: number
18
+ itemsPerPageArray?: number[]
19
+ filtersCount: number
20
+ views?: Record<string, Views>
21
+ sort: Record<string, Sort>
22
+ view?: Views | string
23
+ filters: Record<string, any>
24
+ limit?: number
25
+ sortBy?: string[]
26
+ sortDesc?: number[]
27
+ }
28
+
29
+ declare const data: ListModule
30
+ export default data
@@ -1,2 +1,27 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Affiliations {
5
+ location?: Location
6
+ image?: Image
7
+ name: string
8
+ ror?: string
9
+ url?: string
10
+ }
11
+
12
+ export interface ListModule {
13
+ items: Affiliations[]
14
+ itemsPerPage?: number
15
+ itemsPerPageArray?: number[]
16
+ filtersCount: number
17
+ views?: Record<string, Views>
18
+ sort: Record<string, Sort>
19
+ view?: Views | string
20
+ filters: Record<string, any>
21
+ limit?: number
22
+ sortBy?: string[]
23
+ sortDesc?: number[]
24
+ }
25
+
26
+ declare const data: ListModule
27
+ export default data
@@ -1,2 +1,39 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Apps {
5
+ appId: string
6
+ name: string
7
+ image?: Image
8
+ description?: string
9
+ summary?: string
10
+ url?: URL
11
+ tags?: Tag[]
12
+ subtitle?: string
13
+ color?: string
14
+ date?: Date
15
+ state?: appState
16
+ }
17
+
18
+ export enum appState {
19
+ Active = "ACTIVE",
20
+ Suspended = "SUSPENDED",
21
+ Inactive = "INACTIVE",
22
+ }
23
+
24
+ export interface ListModule {
25
+ items: Apps[]
26
+ itemsPerPage?: number
27
+ itemsPerPageArray?: number[]
28
+ filtersCount: number
29
+ views?: Record<string, Views>
30
+ sort: Record<string, Sort>
31
+ view?: Views | string
32
+ filters: Record<string, any>
33
+ limit?: number
34
+ sortBy?: string[]
35
+ sortDesc?: number[]
36
+ }
37
+
38
+ declare const data: ListModule
39
+ export default data
@@ -1,2 +1,21 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ // Type definitions not found
5
+
6
+ export interface ListModule {
7
+ items: Disciplines[]
8
+ itemsPerPage?: number
9
+ itemsPerPageArray?: number[]
10
+ filtersCount: number
11
+ views?: Record<string, Views>
12
+ sort: Record<string, Sort>
13
+ view?: Views | string
14
+ filters: Record<string, any>
15
+ limit?: number
16
+ sortBy?: string[]
17
+ sortDesc?: number[]
18
+ }
19
+
20
+ declare const data: ListModule
21
+ export default data
@@ -1,2 +1,105 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Events {
5
+ affiliations?: Affiliations[] // 3 - Server & Client - //Bottom left Document
6
+ appId: string // 0 - Server & Client -
7
+ availableSlots: number // 0 - Server & Client - ? => Claire
8
+ bookingState: bookingState // 0 - Server & Client -
9
+ category: eventCategories // 0 - Server & Client -
10
+ createdAt?: Date // 0 - Server & Client -
11
+ dateText: string // 0 - Server & Client -
12
+ delay?: number // 0 - Server & Client -
13
+ description: string // 0 - Server & Client -
14
+ details: String // 0 - Server & Client -
15
+ disciplines?: Disciplines[] // 3 - Server & Client //Inside=> Presentation
16
+ discussants?: People[] // 0 - Server & Client -
17
+ files?: Files[] // 3 - Server & Client -
18
+ lang: string[]
19
+ image?: Image // 3 - Server & Client -
20
+ gallery?: Image[]
21
+ name: string // 0 - Server & Client -
22
+ eventSlot?: EventSlot[] //// 3 - Server -
23
+ organizers: People[] | Affiliations[] // 3 - Server & Client -
24
+ outside: boolean // 0 - Server & Client - // Near inscription
25
+ location: Location // 0 - Server & Client -
26
+ organiserType: organiserType // server & client - 0 = IAS, 1 = member, 2 = fellow, 3 = external
27
+ program: String // 0 - Server & Client -
28
+ related: Related
29
+ // slots?: EventSlot[]; //// 3 - Server
30
+ speakers?: People[] // 3 - Server & Client -
31
+ start: string // 0 - Server & Client - A verifier string ? string[]
32
+ state: eventState // 0 - Server & Client -
33
+ stop: string // 0 - Server & Client - A verifier string ? string[]
34
+ stream?: string // 0 - Server & Client -
35
+ subtitle?: string // 0 - Server &
36
+ summary?: string // 0 - Server & Client -
37
+ tags?: Tag[] // 3 - Server & Client - Inside=> Presentation
38
+ totalSlots: number // 0 - Server & Client
39
+ eventType: eventType // 0 : online, 1: physical, 2: hybrid// 0 - Server & Client -
40
+ updatedAt: Date // 0 - Server & Client -
41
+ url?: URL // 0 - Server & Client -
42
+ }
43
+
44
+ export enum eventState {
45
+ Draft = "DRAFT",
46
+ Published = "PUBLISHED",
47
+ Removed = "REMOVED",
48
+ Finished = "FINISHED",
49
+ Cancelled = "CANCELLED",
50
+ Postponed = "POSTPONED",
51
+ Rescheduled = "RESCHEDULED",
52
+ }
53
+
54
+ export enum bookingState {
55
+ Open = "OPEN",
56
+ Full = "FULL",
57
+ Closed = "CLOSED",
58
+ }
59
+
60
+ export enum eventType {
61
+ Online = "ONLINE",
62
+ Physical = "PHYSICAL",
63
+ Hybrid = "HYBRID",
64
+ }
65
+
66
+ export enum organiserType {
67
+ Ias = "IAS",
68
+ Member = "MEMBER",
69
+ Fellow = "FELLOW",
70
+ External = "EXTERNAL",
71
+ }
72
+
73
+ export enum eventCategories {
74
+ Seminar = "SEMINAR",
75
+ Workshop = "WORKSHOP",
76
+ Conference = "CONFERENCE",
77
+ ConferenceCycle = "CONFERENCE_CYCLE",
78
+ Lecture = "LECTURE",
79
+ Symposium = "SYMPOSIUM",
80
+ Meeting = "MEETING",
81
+ Colloquium = "COLLOQUIUM",
82
+ Forum = "FORUM",
83
+ RoundTable = "ROUND_TABLE",
84
+ Panel = "PANEL",
85
+ Webinar = "WEBINAR",
86
+ FellowPresentation = "FELLOW_PRESENTATION",
87
+ Other = "OTHER",
88
+ }
89
+
90
+ export interface ListModule {
91
+ items: Events[]
92
+ itemsPerPage?: number
93
+ itemsPerPageArray?: number[]
94
+ filtersCount: number
95
+ views?: Record<string, Views>
96
+ sort: Record<string, Sort>
97
+ view?: Views | string
98
+ filters: Record<string, any>
99
+ limit?: number
100
+ sortBy?: string[]
101
+ sortDesc?: number[]
102
+ }
103
+
104
+ declare const data: ListModule
105
+ export default data
@@ -1,2 +1,57 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Fellowships {
5
+ action?: string
6
+ affiliations?: Affiliations[] // AKA members behind the fellowships
7
+ applicationStart?: Date
8
+ disciplines?: Disciplines[] // 3 - Server & Client //Inside=> Presentation
9
+ fellowshipStart?: Date
10
+ contact?: string
11
+ description: string
12
+ subtitle: string
13
+ fellowshipDetails: FellowshipDetails
14
+ fellows?: RelatedPeople[]
15
+ url?: URL
16
+ applicationStop?: Date
17
+ fellowshipStop?: Date
18
+ image?: Image
19
+ publicationDate?: Date
20
+ summary?: string
21
+ files?: Files[]
22
+ fellowshipType: [FellowshipType]
23
+ gallery?: Image[]
24
+ name: string
25
+ video?: Video[]
26
+ status: FellowshipStatus
27
+ }
28
+
29
+ export enum FellowshipType {
30
+ ShortStay = "SHORT_STAY",
31
+ LongStay = "LONG_STAY",
32
+ InGroup = "IN_GROUP",
33
+ }
34
+
35
+ export enum FellowshipStatus {
36
+ Planned = "PLANNED",
37
+ Ongoing = "ONGOING",
38
+ Finished = "FINISHED",
39
+ Cancelled = "CANCELLED",
40
+ }
41
+
42
+ export interface ListModule {
43
+ items: Fellowships[]
44
+ itemsPerPage?: number
45
+ itemsPerPageArray?: number[]
46
+ filtersCount: number
47
+ views?: Record<string, Views>
48
+ sort: Record<string, Sort>
49
+ view?: Views | string
50
+ filters: Record<string, any>
51
+ limit?: number
52
+ sortBy?: string[]
53
+ sortDesc?: number[]
54
+ }
55
+
56
+ declare const data: ListModule
57
+ export default data
@@ -1,2 +1,34 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Files {
5
+ name: string
6
+ url: URL
7
+ size: number
8
+ fileType: string
9
+ hash: string
10
+ path: string
11
+ file: string
12
+ image?: Image
13
+ thumb: URL
14
+ createdAt: Date
15
+ updatedAt: Date
16
+ id: string
17
+ }
18
+
19
+ export interface ListModule {
20
+ items: Files[]
21
+ itemsPerPage?: number
22
+ itemsPerPageArray?: number[]
23
+ filtersCount: number
24
+ views?: Record<string, Views>
25
+ sort: Record<string, Sort>
26
+ view?: Views | string
27
+ filters: Record<string, any>
28
+ limit?: number
29
+ sortBy?: string[]
30
+ sortDesc?: number[]
31
+ }
32
+
33
+ declare const data: ListModule
34
+ export default data
@@ -1,2 +1,27 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Mailing {
5
+ name: string
6
+ content?: string
7
+ createdAt: string
8
+ updatedAt: string
9
+ date: Date
10
+ }
11
+
12
+ export interface ListModule {
13
+ items: Mailing[]
14
+ itemsPerPage?: number
15
+ itemsPerPageArray?: number[]
16
+ filtersCount: number
17
+ views?: Record<string, Views>
18
+ sort: Record<string, Sort>
19
+ view?: Views | string
20
+ filters: Record<string, any>
21
+ limit?: number
22
+ sortBy?: string[]
23
+ sortDesc?: number[]
24
+ }
25
+
26
+ declare const data: ListModule
27
+ export default data
@@ -1,2 +1,60 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface News {
5
+ name: string
6
+ authors: [RelatedPeople]
7
+ category?: newsCategories
8
+ description?: string
9
+ summary?: string
10
+ subtitle?: string
11
+ tags?: Tag[]
12
+ image?: Image
13
+ gallery?: Image[]
14
+ color?: string
15
+ url?: URL
16
+ date?: Date
17
+ featured?: Date
18
+ related?: Related[]
19
+ files?: Files
20
+ }
21
+
22
+ export enum newsCategories {
23
+ PressRelease = "PRESS_RELEASE",
24
+ Interview = "INTERVIEW",
25
+ Article = "ARTICLE",
26
+ Opinion = "OPINION",
27
+ Report = "REPORT",
28
+ Blog = "BLOG",
29
+ LifeAtTheInstitute = "LIFE_AT_THE_INSTITUTE",
30
+ Event = "EVENT",
31
+ Announcement = "ANNOUNCEMENT",
32
+ Job = "JOB",
33
+ Fellowship = "FELLOWSHIP",
34
+ Grant = "GRANT",
35
+ Award = "AWARD",
36
+ Project = "PROJECT",
37
+ Tool = "TOOL",
38
+ Software = "SOFTWARE",
39
+ Data = "DATA",
40
+ Publication = "PUBLICATION",
41
+ Video = "VIDEO",
42
+ Audio = "AUDIO",
43
+ }
44
+
45
+ export interface ListModule {
46
+ items: News[]
47
+ itemsPerPage?: number
48
+ itemsPerPageArray?: number[]
49
+ filtersCount: number
50
+ views?: Record<string, Views>
51
+ sort: Record<string, Sort>
52
+ view?: Views | string
53
+ filters: Record<string, any>
54
+ limit?: number
55
+ sortBy?: string[]
56
+ sortDesc?: number[]
57
+ }
58
+
59
+ declare const data: ListModule
60
+ export default data
@@ -1,2 +1,35 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface People {
5
+ name: string
6
+ firstname: string
7
+ lastname: string
8
+ affiliations?: [{ affiliation: Affiliations; positions: [Position] }]
9
+ image?: Image
10
+ socials?: Socials
11
+ biography?: string
12
+ consent: Consent
13
+ groups: Groups
14
+ lang: string
15
+ disciplines?: Disciplines[]
16
+ related?: Related[]
17
+ video?: Video[]
18
+ }
19
+
20
+ export interface ListModule {
21
+ items: People[]
22
+ itemsPerPage?: number
23
+ itemsPerPageArray?: number[]
24
+ filtersCount: number
25
+ views?: Record<string, Views>
26
+ sort: Record<string, Sort>
27
+ view?: Views | string
28
+ filters: Record<string, any>
29
+ limit?: number
30
+ sortBy?: string[]
31
+ sortDesc?: number[]
32
+ }
33
+
34
+ declare const data: ListModule
35
+ export default data
@@ -1,2 +1,45 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Projects {
5
+ name: string
6
+ subtitle?: string
7
+ description?: string
8
+ summary?: string
9
+ url?: URL
10
+ affiliations?: Affiliations[]
11
+ related?: Related[]
12
+ gallery?: Image[]
13
+ image?: Image
14
+ video?: Video
15
+ tags?: Tag[]
16
+ files?: Files[]
17
+ color?: string
18
+ date?: Date
19
+ featured?: Date
20
+ status: projectStatus
21
+ }
22
+
23
+ export enum projectStatus {
24
+ Planned = "PLANNED",
25
+ InProgress = "IN_PROGRESS",
26
+ Finished = "FINISHED",
27
+ Canceled = "CANCELED",
28
+ }
29
+
30
+ export interface ListModule {
31
+ items: Projects[]
32
+ itemsPerPage?: number
33
+ itemsPerPageArray?: number[]
34
+ filtersCount: number
35
+ views?: Record<string, Views>
36
+ sort: Record<string, Sort>
37
+ view?: Views | string
38
+ filters: Record<string, any>
39
+ limit?: number
40
+ sortBy?: string[]
41
+ sortDesc?: number[]
42
+ }
43
+
44
+ declare const data: ListModule
45
+ export default data
@@ -1,2 +1,53 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ export interface Publications {
5
+ name: string
6
+ subtitle?: string
7
+ description?: string
8
+ summary?: string
9
+ url?: URL
10
+ affiliations?: Affiliations[]
11
+ related?: Related[]
12
+ gallery?: Image[]
13
+ image?: Image
14
+ video?: Video
15
+ tags?: Tag[]
16
+ disciplines?: Disciplines[]
17
+ files?: Files[]
18
+ color?: string
19
+ date?: Date
20
+ type: publicationType
21
+ eventCategories: eventCategories
22
+ }
23
+
24
+ export enum publicationType {
25
+ Article = "ARTICLE",
26
+ ConferencePaper = "CONFERENCE_PAPER",
27
+ Book = "BOOK",
28
+ BookChapter = "BOOK_CHAPTER",
29
+ Thesis = "THESIS",
30
+ Report = "REPORT",
31
+ Software = "SOFTWARE",
32
+ Data = "DATA",
33
+ Video = "VIDEO",
34
+ Audio = "AUDIO",
35
+ Podcast = "PODCAST",
36
+ }
37
+
38
+ export interface ListModule {
39
+ items: Publications[]
40
+ itemsPerPage?: number
41
+ itemsPerPageArray?: number[]
42
+ filtersCount: number
43
+ views?: Record<string, Views>
44
+ sort: Record<string, Sort>
45
+ view?: Views | string
46
+ filters: Record<string, any>
47
+ limit?: number
48
+ sortBy?: string[]
49
+ sortDesc?: number[]
50
+ }
51
+
52
+ declare const data: ListModule
53
+ export default data
@@ -1,2 +1,21 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ // Type definitions not found
5
+
6
+ export interface ListModule {
7
+ items: Tags[]
8
+ itemsPerPage?: number
9
+ itemsPerPageArray?: number[]
10
+ filtersCount: number
11
+ views?: Record<string, Views>
12
+ sort: Record<string, Sort>
13
+ view?: Views | string
14
+ filters: Record<string, any>
15
+ limit?: number
16
+ sortBy?: string[]
17
+ sortDesc?: number[]
18
+ }
19
+
20
+ declare const data: ListModule
21
+ export default data
@@ -1,2 +1,21 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Sort, Views } from "../../index"
2
+
3
+ // Inline type definitions
4
+ // Type definitions not found
5
+
6
+ export interface ListModule {
7
+ items: Users[]
8
+ itemsPerPage?: number
9
+ itemsPerPageArray?: number[]
10
+ filtersCount: number
11
+ views?: Record<string, Views>
12
+ sort: Record<string, Sort>
13
+ view?: Views | string
14
+ filters: Record<string, any>
15
+ limit?: number
16
+ sortBy?: string[]
17
+ sortDesc?: number[]
18
+ }
19
+
20
+ declare const data: ListModule
21
+ export default data
package/index.js ADDED
@@ -0,0 +1,30 @@
1
+ import listActions from "./dist/list/actions";
2
+ import listAffiliations from "./dist/list/affiliations";
3
+ import listApps from "./dist/list/apps";
4
+ import listDisciplines from "./dist/list/disciplines";
5
+ import listEvents from "./dist/list/events";
6
+ import listFellowships from "./dist/list/fellowships";
7
+ import listFiles from "./dist/list/files";
8
+ import listMailing from "./dist/list/mailing";
9
+ import listNews from "./dist/list/news";
10
+ import listPeople from "./dist/list/people";
11
+ import listProjects from "./dist/list/projects";
12
+ import listPublications from "./dist/list/publications";
13
+ import listTags from "./dist/list/tags";
14
+ import listUsers from "./dist/list/users";
15
+ import formActions from "./dist/form/actions";
16
+ import formAffiliations from "./dist/form/affiliations";
17
+ import formApps from "./dist/form/apps";
18
+ import formDisciplines from "./dist/form/disciplines";
19
+ import formEvents from "./dist/form/events";
20
+ import formFellowships from "./dist/form/fellowships";
21
+ import formFiles from "./dist/form/files";
22
+ import formMailing from "./dist/form/mailing";
23
+ import formNews from "./dist/form/news";
24
+ import formPeople from "./dist/form/people";
25
+ import formProjects from "./dist/form/projects";
26
+ import formPublications from "./dist/form/publications";
27
+ import formTags from "./dist/form/tags";
28
+ import formUsers from "./dist/form/users";
29
+ import { templates, } from "./src";
30
+ export { templates, listActions, listAffiliations, listApps, listDisciplines, listEvents, listFellowships, listFiles, listMailing, listNews, listPeople, listProjects, listPublications, listTags, listUsers, formActions, formAffiliations, formApps, formDisciplines, formEvents, formFellowships, formFiles, formMailing, formNews, formPeople, formProjects, formPublications, formTags, formUsers, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -173,7 +173,8 @@
173
173
  "scripts": {
174
174
  "dev": "tsx index.ts",
175
175
  "build": "npx tsx lib/generateAll.ts",
176
- "build:types": "tsc --emitDeclarationOnly",
176
+ "postbuild": "find src -name '*.d.ts' -type f -delete",
177
+ "build:types": "tsc -p tsconfig.index.json",
177
178
  "generate:modules": "npx tsx lib/generate.ts",
178
179
  "generate:schemas": "npx tsx lib/buildSchemas.ts",
179
180
  "generate:client": "npx tsx lib/buildClientGraphQL.ts",