talawa-api / Exports / utilities/createSampleOrganizationUtil
▸ createSampleOrganization(): Promise
<void
>
Promise
<void
>
src/utilities/createSampleOrganizationUtil.ts:215
▸ generateEventData(users
, organizationId
): Promise
<InterfaceEvent
>
Name | Type |
---|---|
users |
InterfaceUser [] |
organizationId |
string |
Promise
<InterfaceEvent
>
src/utilities/createSampleOrganizationUtil.ts:64
▸ generatePostData(users
, organizationId
): Promise
<InterfacePost
& Document
<any
, any
, InterfacePost
>>
Name | Type |
---|---|
users |
InterfaceUser [] |
organizationId |
string |
Promise
<InterfacePost
& Document
<any
, any
, InterfacePost
>>
src/utilities/createSampleOrganizationUtil.ts:128
▸ generateRandomPlugins(numberOfPlugins
, users
): Promise
<Promise
<any
>[]>
Name | Type |
---|---|
numberOfPlugins |
number |
users |
string [] |
Promise
<Promise
<any
>[]>
src/utilities/createSampleOrganizationUtil.ts:185
▸ generateUserData(organizationId
, userType
): Promise
<InterfaceUser
& Document
<any
, any
, InterfaceUser
>>
Name | Type |
---|---|
organizationId |
string |
userType |
string |
Promise
<InterfaceUser
& Document
<any
, any
, InterfaceUser
>>