Skip to content

Commit eb9a909

Browse files
Merge branch 'NoMongo-Post' of github.com:NishantSinghhhhh/talawa-admin into NoMongo-Post
2 parents 50258b0 + 55cdf39 commit eb9a909

File tree

259 files changed

+8278
-8198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+8278
-8198
lines changed

.github/workflows/pull-request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ jobs:
252252
if: steps.changed-files.outputs.any_changed == 'true'
253253
env:
254254
NODE_V8_COVERAGE: './coverage/vitest'
255+
NODE_OPTIONS: "--max-old-space-size=6144"
255256
run: |
256257
npm run test:coverage
257258
@@ -275,7 +276,7 @@ jobs:
275276
uses: VeryGoodOpenSource/very_good_coverage@v3
276277
with:
277278
path: "./coverage/vitest/lcov.info"
278-
min_coverage: 88.0
279+
min_coverage: 85.0
279280

280281
# Graphql-Inspector:
281282
# if: ${{ github.actor != 'dependabot[bot]' }}

docs/docs/auto-docs/App/functions/default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
> **default**(): `JSX.Element`
88
9-
Defined in: [src/App.tsx:74](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/App.tsx#L74)
9+
Defined in: [src/App.tsx:114](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/App.tsx#L114)
1010

1111
This is the main function for our application. It sets up all the routes and components,
1212
defining how the user can navigate through the app. The function uses React Router's `Routes`
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Function: default()
6+
7+
> **default**(`props`): `Element`
8+
9+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:26](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L26)
10+
11+
## Parameters
12+
13+
### props
14+
15+
[`InterfaceCardItem`](../interfaces/InterfaceCardItem.md)
16+
17+
## Returns
18+
19+
`Element`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Interface: InterfaceCardItem
6+
7+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:16](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L16)
8+
9+
Card component to display individual event attendance information
10+
Shows event details including title, date, location and organization
11+
12+
## Param
13+
14+
Organization ID
15+
16+
## Param
17+
18+
Event ID
19+
20+
## Param
21+
22+
Event start date
23+
24+
## Param
25+
26+
Event title
27+
28+
## Param
29+
30+
Event location
31+
32+
## Properties
33+
34+
### creator?
35+
36+
> `optional` **creator**: `string`
37+
38+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:20](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L20)
39+
40+
***
41+
42+
### eventId?
43+
44+
> `optional` **eventId**: `string`
45+
46+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:22](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L22)
47+
48+
***
49+
50+
### location?
51+
52+
> `optional` **location**: `string`
53+
54+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:21](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L21)
55+
56+
***
57+
58+
### orgId?
59+
60+
> `optional` **orgId**: `string`
61+
62+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:23](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L23)
63+
64+
***
65+
66+
### startdate?
67+
68+
> `optional` **startdate**: `string`
69+
70+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:19](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L19)
71+
72+
***
73+
74+
### time?
75+
76+
> `optional` **time**: `string`
77+
78+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:18](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L18)
79+
80+
***
81+
82+
### title
83+
84+
> **title**: `string`
85+
86+
Defined in: [src/components/MemberActivity/Card/EventsAttendedCardItem.tsx:17](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Card/EventsAttendedCardItem.tsx#L17)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Function: default()
6+
7+
> **default**(`__namedParameters`): `JSX.Element`
8+
9+
Defined in: [src/components/MemberActivity/EventsAttendedByMember.tsx:15](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/EventsAttendedByMember.tsx#L15)
10+
11+
## Parameters
12+
13+
### \_\_namedParameters
14+
15+
`InterfaceEventsAttendedByMember`
16+
17+
## Returns
18+
19+
`JSX.Element`
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: errorMocks
6+
7+
> `const` **errorMocks**: `object`[]
8+
9+
Defined in: [src/components/MemberActivity/MemberActivityMocks.ts:42](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/MemberActivityMocks.ts#L42)
10+
11+
## Type declaration
12+
13+
### error
14+
15+
> **error**: `Error`
16+
17+
### request
18+
19+
> **request**: `object`
20+
21+
#### request.query
22+
23+
> **query**: `DocumentNode` = `EVENT_DETAILS`
24+
25+
#### request.variables
26+
27+
> **variables**: `object`
28+
29+
#### request.variables.id
30+
31+
> **id**: `string` = `'event123'`
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: mockEventData
6+
7+
> `const` **mockEventData**: `object`
8+
9+
Defined in: [src/components/MemberActivity/MemberActivityMocks.ts:3](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/MemberActivityMocks.ts#L3)
10+
11+
## Type declaration
12+
13+
### event
14+
15+
> **event**: `object`
16+
17+
#### event.\_id
18+
19+
> **\_id**: `string` = `'event123'`
20+
21+
#### event.allDay
22+
23+
> **allDay**: `boolean` = `false`
24+
25+
#### event.attendees
26+
27+
> **attendees**: `object`[]
28+
29+
#### event.baseRecurringEvent
30+
31+
> **baseRecurringEvent**: `object`
32+
33+
#### event.baseRecurringEvent.\_id
34+
35+
> **\_id**: `string` = `'base123'`
36+
37+
#### event.description
38+
39+
> **description**: `string` = `'Test Description'`
40+
41+
#### event.endDate
42+
43+
> **endDate**: `string` = `'2023-01-02'`
44+
45+
#### event.endTime
46+
47+
> **endTime**: `string` = `'17:00'`
48+
49+
#### event.location
50+
51+
> **location**: `string` = `'Test Location'`
52+
53+
#### event.organization
54+
55+
> **organization**: `object`
56+
57+
#### event.organization.\_id
58+
59+
> **\_id**: `string` = `'org123'`
60+
61+
#### event.organization.members
62+
63+
> **members**: `object`[]
64+
65+
#### event.recurring
66+
67+
> **recurring**: `boolean` = `true`
68+
69+
#### event.startDate
70+
71+
> **startDate**: `string` = `'2023-01-01'`
72+
73+
#### event.startTime
74+
75+
> **startTime**: `string` = `'09:00'`
76+
77+
#### event.title
78+
79+
> **title**: `string` = `'Test Event'`
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: mocks
6+
7+
> `const` **mocks**: `object`[]
8+
9+
Defined in: [src/components/MemberActivity/MemberActivityMocks.ts:30](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/MemberActivityMocks.ts#L30)
10+
11+
## Type declaration
12+
13+
### request
14+
15+
> **request**: `object`
16+
17+
#### request.query
18+
19+
> **query**: `DocumentNode` = `EVENT_DETAILS`
20+
21+
#### request.variables
22+
23+
> **variables**: `object`
24+
25+
#### request.variables.id
26+
27+
> **id**: `string` = `'event123'`
28+
29+
### result
30+
31+
> **result**: `object`
32+
33+
#### result.data
34+
35+
> **data**: `object` = `mockEventData`
36+
37+
#### result.data.event
38+
39+
> **event**: `object`
40+
41+
#### result.data.event.\_id
42+
43+
> **\_id**: `string` = `'event123'`
44+
45+
#### result.data.event.allDay
46+
47+
> **allDay**: `boolean` = `false`
48+
49+
#### result.data.event.attendees
50+
51+
> **attendees**: `object`[]
52+
53+
#### result.data.event.baseRecurringEvent
54+
55+
> **baseRecurringEvent**: `object`
56+
57+
#### result.data.event.baseRecurringEvent.\_id
58+
59+
> **\_id**: `string` = `'base123'`
60+
61+
#### result.data.event.description
62+
63+
> **description**: `string` = `'Test Description'`
64+
65+
#### result.data.event.endDate
66+
67+
> **endDate**: `string` = `'2023-01-02'`
68+
69+
#### result.data.event.endTime
70+
71+
> **endTime**: `string` = `'17:00'`
72+
73+
#### result.data.event.location
74+
75+
> **location**: `string` = `'Test Location'`
76+
77+
#### result.data.event.organization
78+
79+
> **organization**: `object`
80+
81+
#### result.data.event.organization.\_id
82+
83+
> **\_id**: `string` = `'org123'`
84+
85+
#### result.data.event.organization.members
86+
87+
> **members**: `object`[]
88+
89+
#### result.data.event.recurring
90+
91+
> **recurring**: `boolean` = `true`
92+
93+
#### result.data.event.startDate
94+
95+
> **startDate**: `string` = `'2023-01-01'`
96+
97+
#### result.data.event.startTime
98+
99+
> **startTime**: `string` = `'09:00'`
100+
101+
#### result.data.event.title
102+
103+
> **title**: `string` = `'Test Event'`

docs/docs/auto-docs/components/MemberDetail/customTableCell/functions/CustomTableCell.md renamed to docs/docs/auto-docs/components/MemberActivity/Modal/CustomCell/customTableCell/functions/CustomTableCell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
> **CustomTableCell**(`props`, `deprecatedLegacyContext`?): `ReactNode`
88
9-
Defined in: [src/components/MemberDetail/customTableCell.tsx:13](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberDetail/customTableCell.tsx#L13)
9+
Defined in: [src/components/MemberActivity/Modal/CustomCell/customTableCell.tsx:13](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/components/MemberActivity/Modal/CustomCell/customTableCell.tsx#L13)
1010

1111
Custom table cell component to display event details
1212

0 commit comments

Comments
 (0)