Skip to content

Commit 103458f

Browse files
committed
Added online installation documentation
1 parent e2e6d7c commit 103458f

File tree

392 files changed

+4619
-5
lines changed

Some content is hidden

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

392 files changed

+4619
-5
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Function: createServer()
6+
7+
> **createServer**(`options`?): `Promise`\<`FastifyInstance`\<`Server`, `IncomingMessage`, `ServerResponse`, `TypeBoxTypeProvider`\>\>
8+
9+
Defined in: [src/createServer.ts:29](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/createServer.ts#L29)
10+
11+
This function is used to set up the fastify server.
12+
13+
## Parameters
14+
15+
### options?
16+
17+
#### envConfig
18+
19+
`Partial`\<\{ `API_ADMINISTRATOR_USER_EMAIL_ADDRESS`: `string`; `API_ADMINISTRATOR_USER_NAME`: `string`; `API_ADMINISTRATOR_USER_PASSWORD`: `string`; `API_BASE_URL`: `string`; `API_COMMUNITY_FACEBOOK_URL`: `string`; `API_COMMUNITY_GITHUB_URL`: `string`; `API_COMMUNITY_INACTIVITY_TIMEOUT_DURATION`: `number`; `API_COMMUNITY_INSTAGRAM_URL`: `string`; `API_COMMUNITY_LINKEDIN_URL`: `string`; `API_COMMUNITY_NAME`: `string`; `API_COMMUNITY_REDDIT_URL`: `string`; `API_COMMUNITY_SLACK_URL`: `string`; `API_COMMUNITY_WEBSITE_URL`: `string`; `API_COMMUNITY_X_URL`: `string`; `API_COMMUNITY_YOUTUBE_URL`: `string`; `API_HOST`: `string`; `API_IS_APPLY_DRIZZLE_MIGRATIONS`: `boolean`; `API_IS_GRAPHIQL`: `boolean`; `API_IS_PINO_PRETTY`: `boolean`; `API_JWT_EXPIRES_IN`: `number`; `API_JWT_SECRET`: `string`; `API_LOG_LEVEL`: `"debug"` \| `"error"` \| `"fatal"` \| `"info"` \| `"trace"` \| `"warn"`; `API_MINIO_ACCESS_KEY`: `string`; `API_MINIO_END_POINT`: `string`; `API_MINIO_PORT`: `number`; `API_MINIO_SECRET_KEY`: `string`; `API_MINIO_USE_SSL`: `boolean`; `API_PORT`: `number`; `API_POSTGRES_DATABASE`: `string`; `API_POSTGRES_HOST`: `string`; `API_POSTGRES_PASSWORD`: `string`; `API_POSTGRES_PORT`: `number`; `API_POSTGRES_SSL_MODE`: `boolean` \| `"allow"` \| `"prefer"` \| `"require"` \| `"verify-full"`; `API_POSTGRES_USER`: `string`; \}\>
20+
21+
Optional custom configuration environment variables that would merge or override the default configuration environment variables used by talawa api.
22+
23+
## Returns
24+
25+
`Promise`\<`FastifyInstance`\<`Server`, `IncomingMessage`, `ServerResponse`, `TypeBoxTypeProvider`\>\>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: advertisementAttachmentMimeTypeEnum
6+
7+
> `const` **advertisementAttachmentMimeTypeEnum**: `ZodEnum`\<\[`"image/avif"`, `"image/jpeg"`, `"image/png"`, `"image/webp"`, `"video/mp4"`, `"video/webm"`\]\>
8+
9+
Defined in: [src/drizzle/enums/advertisementAttachmentMimeType.ts:8](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/advertisementAttachmentMimeType.ts#L8)
10+
11+
Possible variants of the type of an attachement of an advertisement.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: advertisementTypeEnum
6+
7+
> `const` **advertisementTypeEnum**: `ZodEnum`\<\[`"banner"`, `"menu"`, `"pop_up"`\]\>
8+
9+
Defined in: [src/drizzle/enums/advertisementType.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/advertisementType.ts#L6)
10+
11+
Possible variants of the type of an advertisement.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: agendaItemTypeEnum
6+
7+
> `const` **agendaItemTypeEnum**: `ZodEnum`\<\[`"general"`, `"note"`, `"scripture"`, `"song"`\]\>
8+
9+
Defined in: [src/drizzle/enums/agendaItemType.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/agendaItemType.ts#L6)
10+
11+
Possible variants of the type of an agenda item.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: chatMembershipRoleEnum
6+
7+
> `const` **chatMembershipRoleEnum**: `ZodEnum`\<\[`"administrator"`, `"regular"`\]\>
8+
9+
Defined in: [src/drizzle/enums/chatMembershipRole.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/chatMembershipRole.ts#L6)
10+
11+
Possible variants of the role assigned to a user within a chat.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: commentVoteTypeEnum
6+
7+
> `const` **commentVoteTypeEnum**: `ZodEnum`\<\[`"down_vote"`, `"up_vote"`\]\>
8+
9+
Defined in: [src/drizzle/enums/commentVoteType.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/commentVoteType.ts#L6)
10+
11+
Possible variants of the type of of a vote on a comment.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: eventAttachmentMimeTypeEnum
6+
7+
> `const` **eventAttachmentMimeTypeEnum**: `ZodEnum`\<\[`"image/avif"`, `"image/jpeg"`, `"image/png"`, `"image/webp"`, `"video/mp4"`, `"video/webm"`\]\>
8+
9+
Defined in: [src/drizzle/enums/eventAttachmentMimeType.ts:8](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/eventAttachmentMimeType.ts#L8)
10+
11+
Possible variants of the type of an attachement of an event.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: familyMembershipRoleEnum
6+
7+
> `const` **familyMembershipRoleEnum**: `ZodEnum`\<\[`"adult"`, `"child"`, `"head_of_household"`, `"spouse"`\]\>
8+
9+
Defined in: [src/drizzle/enums/familyMembershipRole.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/familyMembershipRole.ts#L6)
10+
11+
Possible variants of the role of a user in a family(if applicable).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: imageMimeTypeEnum
6+
7+
> `const` **imageMimeTypeEnum**: `ZodEnum`\<\[`"image/avif"`, `"image/jpeg"`, `"image/png"`, `"image/webp"`\]\>
8+
9+
Defined in: [src/drizzle/enums/imageMimeType.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/imageMimeType.ts#L6)
10+
11+
Possible variants of the type of an image.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: iso3166Alpha2CountryCodeEnum
6+
7+
> `const` **iso3166Alpha2CountryCodeEnum**: `ZodEnum`\<\[`"ad"`, `"ae"`, `"af"`, `"ag"`, `"ai"`, `"al"`, `"am"`, `"ao"`, `"aq"`, `"ar"`, `"as"`, `"at"`, `"au"`, `"aw"`, `"ax"`, `"az"`, `"ba"`, `"bb"`, `"bd"`, `"be"`, `"bf"`, `"bg"`, `"bh"`, `"bi"`, `"bj"`, `"bl"`, `"bm"`, `"bn"`, `"bo"`\]\>
8+
9+
Defined in: [src/drizzle/enums/iso3166Alpha2CountryCode.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/iso3166Alpha2CountryCode.ts#L6)
10+
11+
Possible variants of the two-letter country code defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. More information at this link: [https://en.wikipedia.org/wiki/List\_of\_ISO\_3166\_country\_codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: iso4217CurrencyCodeEnum
6+
7+
> `const` **iso4217CurrencyCodeEnum**: `ZodEnum`\<\[`"AED"`, `"AFN"`, `"ALL"`, `"AMD"`, `"ANG"`, `"AOA"`, `"ARS"`, `"AUD"`, `"AWG"`, `"AZN"`, `"BAM"`, `"BBD"`, `"BDT"`, `"BGN"`, `"BHD"`, `"BIF"`, `"BMD"`, `"BND"`, `"BOB"`, `"BOV"`, `"BRL"`, `"BSD"`, `"BTN"`, `"BWP"`, `"BYN"`\]\>
8+
9+
Defined in: [src/drizzle/enums/iso4217CurrencyCode.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/iso4217CurrencyCode.ts#L6)
10+
11+
Possible variants of the currency code defined in ISO 4217 standard published by the International Organization for Standardization (ISO) which defines alpha codes and numeric codes for the representation of currencies and provides information about the relationships between individual currencies and their minor units. More information at this link: [https://en.wikipedia.org/wiki/ISO\_4217#Active\_codes\_(list\_one)](https://en.wikipedia.org/wiki/ISO_4217#Active_codes_(list_one)).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: iso639Set1LanguageCodeEnum
6+
7+
> `const` **iso639Set1LanguageCodeEnum**: `ZodEnum`\<\[`"aa"`, `"ab"`, `"ae"`, `"af"`, `"ak"`, `"am"`, `"an"`, `"ar"`, `"as"`, `"av"`, `"ay"`, `"az"`, `"ba"`, `"be"`, `"bg"`, `"bi"`, `"bm"`, `"bn"`, `"bo"`, `"br"`, `"bs"`, `"ca"`, `"ce"`, `"ch"`, `"co"`, `"cr"`, `"cs"`, `"cu"`, `"cv"`\]\>
8+
9+
Defined in: [src/drizzle/enums/iso639Set1LanguageCode.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/iso639Set1LanguageCode.ts#L6)
10+
11+
Possible variants of the two-letter language code defined in ISO 639-1, part of the ISO 639 standard published by the International Organization for Standardization (ISO), to represent natural languages. More information at this link: [https://en.wikipedia.org/wiki/List\_of\_ISO\_639\_language\_codes](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: organizationMembershipRoleEnum
6+
7+
> `const` **organizationMembershipRoleEnum**: `ZodEnum`\<\[`"administrator"`, `"regular"`\]\>
8+
9+
Defined in: [src/drizzle/enums/organizationMembershipRole.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/organizationMembershipRole.ts#L6)
10+
11+
Possible variants of the role assigned to a user within an organization.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: postAttachmentMimeTypeEnum
6+
7+
> `const` **postAttachmentMimeTypeEnum**: `ZodEnum`\<\[`"image/avif"`, `"image/jpeg"`, `"image/png"`, `"image/webp"`, `"video/mp4"`, `"video/webm"`\]\>
8+
9+
Defined in: [src/drizzle/enums/postAttachmentMimeType.ts:8](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/postAttachmentMimeType.ts#L8)
10+
11+
Possible variants of the type of an attachement of a post.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: postVoteTypeEnum
6+
7+
> `const` **postVoteTypeEnum**: `ZodEnum`\<\[`"down_vote"`, `"up_vote"`\]\>
8+
9+
Defined in: [src/drizzle/enums/postVoteType.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/postVoteType.ts#L6)
10+
11+
Possible variants of the type of a vote on a post.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: userEducationGradeEnum
6+
7+
> `const` **userEducationGradeEnum**: `ZodEnum`\<\[`"grade_1"`, `"grade_2"`, `"grade_3"`, `"grade_4"`, `"grade_5"`, `"grade_6"`, `"grade_7"`, `"grade_8"`, `"grade_9"`, `"grade_10"`, `"grade_11"`, `"grade_12"`, `"graduate"`, `"kg"`, `"no_grade"`, `"pre_kg"`\]\>
8+
9+
Defined in: [src/drizzle/enums/userEducationGrade.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/userEducationGrade.ts#L6)
10+
11+
Possible variants of the education grade(if applicable) of a user.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: userEmploymentStatusEnum
6+
7+
> `const` **userEmploymentStatusEnum**: `ZodEnum`\<\[`"full_time"`, `"part_time"`, `"unemployed"`\]\>
8+
9+
Defined in: [src/drizzle/enums/userEmploymentStatus.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/userEmploymentStatus.ts#L6)
10+
11+
Possible variants of the employment status(if applicable) of a user.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: userMaritalStatusEnum
6+
7+
> `const` **userMaritalStatusEnum**: `ZodEnum`\<\[`"divorced"`, `"engaged"`, `"married"`, `"seperated"`, `"single"`, `"widowed"`\]\>
8+
9+
Defined in: [src/drizzle/enums/userMaritalStatus.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/userMaritalStatus.ts#L6)
10+
11+
Possible variants of the martial status(if applicable) of a user.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: userNatalSexEnum
6+
7+
> `const` **userNatalSexEnum**: `ZodEnum`\<\[`"female"`, `"intersex"`, `"male"`\]\>
8+
9+
Defined in: [src/drizzle/enums/userNatalSex.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/userNatalSex.ts#L6)
10+
11+
Possible variants of the sex assigned to a user at birth.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: userRoleEnum
6+
7+
> `const` **userRoleEnum**: `ZodEnum`\<\[`"administrator"`, `"regular"`\]\>
8+
9+
Defined in: [src/drizzle/enums/userRole.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/userRole.ts#L6)
10+
11+
Possible variants of the role assigned to a user.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: venueAttachmentMimeTypeEnum
6+
7+
> `const` **venueAttachmentMimeTypeEnum**: `ZodEnum`\<\[`"image/avif"`, `"image/jpeg"`, `"image/png"`, `"image/webp"`, `"video/mp4"`, `"video/webm"`\]\>
8+
9+
Defined in: [src/drizzle/enums/venueAttachmentMimeType.ts:8](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/venueAttachmentMimeType.ts#L8)
10+
11+
Possible variants of the type of an attachement of an event venue.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: videoMimeTypeEnum
6+
7+
> `const` **videoMimeTypeEnum**: `ZodEnum`\<\[`"video/mp4"`, `"video/webm"`\]\>
8+
9+
Defined in: [src/drizzle/enums/videoMimeType.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/videoMimeType.ts#L6)
10+
11+
Possible variants of the type of a video.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: volunteerGroupAssignmentInviteStatusEnum
6+
7+
> `const` **volunteerGroupAssignmentInviteStatusEnum**: `ZodEnum`\<\[`"accepted"`, `"declined"`, `"no_response"`\]\>
8+
9+
Defined in: [src/drizzle/enums/volunteerGroupAssignmentInviteStatus.ts:6](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/enums/volunteerGroupAssignmentInviteStatus.ts#L6)
10+
11+
Possible variants of the status of the assignment of a user in an event's volunteer group.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: actionCategoriesTable
6+
7+
> `const` **actionCategoriesTable**: `PgTableWithColumns`\<\{\}\>
8+
9+
Defined in: [src/drizzle/tables/actionCategories.ts:16](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/actionCategories.ts#L16)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: actionCategoriesTableRelations
6+
7+
> `const` **actionCategoriesTableRelations**: `Relations`\<`"action_categories"`, \{ `actionsWhereCategory`: `Many`\<`"actions"`\>; `creator`: `One`\<`"users"`, `false`\>; `organization`: `One`\<`"organizations"`, `true`\>; `updater`: `One`\<`"users"`, `false`\>; \}\>
8+
9+
Defined in: [src/drizzle/tables/actionCategories.ts:68](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/actionCategories.ts#L68)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: actionsTable
6+
7+
> `const` **actionsTable**: `PgTableWithColumns`\<\{\}\>
8+
9+
Defined in: [src/drizzle/tables/actions.ts:16](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/actions.ts#L16)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: actionsTableRelations
6+
7+
> `const` **actionsTableRelations**: `Relations`\<`"actions"`, \{ `assignee`: `One`\<`"users"`, `false`\>; `category`: `One`\<`"action_categories"`, `false`\>; `creator`: `One`\<`"users"`, `false`\>; `event`: `One`\<`"events"`, `false`\>; `organization`: `One`\<`"organizations"`, `true`\>; `updater`: `One`\<`"users"`, `false`\>; \}\>
8+
9+
Defined in: [src/drizzle/tables/actions.ts:98](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/actions.ts#L98)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: advertisementAttachmentsTable
6+
7+
> `const` **advertisementAttachmentsTable**: `PgTableWithColumns`\<\{\}\>
8+
9+
Defined in: [src/drizzle/tables/advertisementAttachments.ts:11](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/advertisementAttachments.ts#L11)
10+
11+
Drizzle orm postgres table definition for advertisement attachments.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: advertisementAttachmentsTableInsertSchema
6+
7+
> `const` **advertisementAttachmentsTableInsertSchema**: `BuildSchema`\<`"insert"`, \{ `advertisementId`: `PgColumn`\<\{\}, \{\}\>; `createdAt`: `PgColumn`\<\{\}, \{\}\>; `creatorId`: `PgColumn`\<\{\}, \{\}\>; `mimeType`: `PgColumn`\<\{\}, \{\}\>; `name`: `PgColumn`\<\{\}, \{\}\>; `updatedAt`: `PgColumn`\<\{\}, \{\}\>; `updaterId`: `PgColumn`\<\{\}, \{\}\>; \}, \{ `name`: (`schema`) => `ZodArray`\<ZodArray\<ZodArray\<ZodArray\<ZodArray\<ZodArray\<ZodArray\<ZodArray\<ZodArray\<ZodArray\<ZodArray\<ZodArray\<..., "many"\>, "many"\>, "many"\>, "many"\>, "many"\>, "many"\>, "many"\>, "many"\>, "many"\>, "many"\>, "many"\>\>; \}\>
8+
9+
Defined in: [src/drizzle/tables/advertisementAttachments.ts:106](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/advertisementAttachments.ts#L106)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: advertisementAttachmentsTableRelations
6+
7+
> `const` **advertisementAttachmentsTableRelations**: `Relations`\<`"advertisement_attachments"`, \{ `advertisement`: `One`\<`"advertisements"`, `true`\>; `creator`: `One`\<`"users"`, `false`\>; `updater`: `One`\<`"users"`, `false`\>; \}\>
8+
9+
Defined in: [src/drizzle/tables/advertisementAttachments.ts:75](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/advertisementAttachments.ts#L75)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: advertisementsTable
6+
7+
> `const` **advertisementsTable**: `PgTableWithColumns`\<\{\}\>
8+
9+
Defined in: [src/drizzle/tables/advertisements.ts:20](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/advertisements.ts#L20)
10+
11+
Drizzle orm postgres table definition for advertisements.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: advertisementsTableInsertSchema
6+
7+
> `const` **advertisementsTableInsertSchema**: `BuildSchema`\<`"insert"`, \{ `createdAt`: `PgColumn`\<\{\}, \{\}\>; `creatorId`: `PgColumn`\<\{\}, \{\}\>; `description`: `PgColumn`\<\{\}, \{\}\>; `endAt`: `PgColumn`\<\{\}, \{\}\>; `id`: `PgColumn`\<\{\}, \{\}\>; `name`: `PgColumn`\<\{\}, \{\}\>; `organizationId`: `PgColumn`\<\{\}, \{\}\>; `startAt`: `PgColumn`\<\{\}, \{\}\>; `type`: `PgColumn`\<\{\}, \{\}\>; `updatedAt`: `PgColumn`\<\{\}, \{\}\>; `updaterId`: `PgColumn`\<\{\}, \{\}\>; \}, \{ `endAt`: `ZodTypeAny` \| (`schema`) => `ZodTypeAny`; `name`: `ZodTypeAny` \| (`schema`) => `ZodTypeAny`; `organizationId`: `ZodTypeAny` \| (`schema`) => `ZodTypeAny`; `startAt`: `ZodTypeAny` \| (`schema`) => `ZodTypeAny`; `type`: `ZodTypeAny` \| (`schema`) => `ZodTypeAny`; \}\>
8+
9+
Defined in: [src/drizzle/tables/advertisements.ts:148](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/advertisements.ts#L148)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: advertisementsTableRelations
6+
7+
> `const` **advertisementsTableRelations**: `Relations`\<`"advertisements"`, \{ `attachmentsWhereAdvertisement`: `Many`\<`"advertisement_attachments"`\>; `creator`: `One`\<`"users"`, `false`\>; `organization`: `One`\<`"organizations"`, `true`\>; `updater`: `One`\<`"users"`, `false`\>; \}\>
8+
9+
Defined in: [src/drizzle/tables/advertisements.ts:111](https://github.com/PalisadoesFoundation/talawa-api/blob/c34688c69eb12a5eb721ebc8a0cd60b53e5fbf81/src/drizzle/tables/advertisements.ts#L111)

0 commit comments

Comments
 (0)