@planningcenter/chat-react-native 3.2.0-rc.17 → 3.2.0-rc.19
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/build/hooks/groups/use_group_members_for_new_conversation.d.ts +26 -26
- package/build/hooks/use_api.d.ts +41 -41
- package/build/hooks/use_api.d.ts.map +1 -1
- package/build/hooks/use_api.js.map +1 -1
- package/build/hooks/use_chat_permissions.d.ts +14 -14
- package/build/hooks/use_groups.d.ts +26 -26
- package/build/hooks/use_groups_groups.d.ts +26 -26
- package/build/hooks/use_teams.d.ts +26 -26
- package/build/navigation/index.d.ts +26 -16
- package/build/navigation/index.d.ts.map +1 -1
- package/build/navigation/index.js +11 -0
- package/build/navigation/index.js.map +1 -1
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.js +5 -4
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.js.map +1 -1
- package/build/screens/conversation_filter_recipients/hooks/{use_flattened_array_of_service_types_and_their_teams.d.ts → use_flattened_array_of_service_types_with_teams.d.ts} +2 -2
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/hooks/{use_flattened_array_of_service_types_and_their_teams.js → use_flattened_array_of_service_types_with_teams.js} +2 -2
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.js.map +1 -0
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +8 -0
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.js +65 -0
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.js.map +1 -0
- package/build/screens/conversation_filters/hooks/filters.d.ts +40 -40
- package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts +12 -0
- package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/recipient_link_row.js +61 -0
- package/build/screens/conversation_select_recipients/components/recipient_link_row.js.map +1 -0
- package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts +7 -0
- package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/view_more_link_row.js +21 -0
- package/build/screens/conversation_select_recipients/components/view_more_link_row.js.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts +4 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js +46 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_recipients_screen.d.ts +1 -8
- package/build/screens/conversation_select_recipients/conversation_select_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_recipients_screen.js +26 -56
- package/build/screens/conversation_select_recipients/conversation_select_recipients_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/types/screen_props.d.ts +9 -0
- package/build/screens/conversation_select_recipients/types/screen_props.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/types/screen_props.js +2 -0
- package/build/screens/conversation_select_recipients/types/screen_props.js.map +1 -0
- package/package.json +2 -2
- package/src/hooks/use_api.ts +3 -3
- package/src/navigation/index.tsx +16 -0
- package/src/screens/conversation_filter_recipients/conversation_filter_recipients_screen.tsx +5 -4
- package/src/screens/conversation_filter_recipients/hooks/{use_flattened_array_of_service_types_and_their_teams.tsx → use_flattened_array_of_service_types_with_teams.tsx} +1 -1
- package/src/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.ts +90 -0
- package/src/screens/conversation_select_recipients/components/recipient_link_row.tsx +91 -0
- package/src/screens/conversation_select_recipients/components/view_more_link_row.tsx +30 -0
- package/src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx +76 -0
- package/src/screens/conversation_select_recipients/conversation_select_recipients_screen.tsx +39 -73
- package/src/screens/conversation_select_recipients/types/screen_props.tsx +11 -0
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_and_their_teams.d.ts.map +0 -1
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_and_their_teams.js.map +0 -1
- package/build/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.d.ts +0 -3
- package/build/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.d.ts.map +0 -1
- package/build/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.js +0 -133
- package/build/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.js.map +0 -1
- package/build/screens/conversation_new/utils/fake_member_data.d.ts +0 -3
- package/build/screens/conversation_new/utils/fake_member_data.d.ts.map +0 -1
- package/build/screens/conversation_new/utils/fake_member_data.js +0 -129
- package/build/screens/conversation_new/utils/fake_member_data.js.map +0 -1
- package/src/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.ts +0 -134
- package/src/screens/conversation_new/utils/fake_member_data.ts +0 -130
package/src/screens/conversation_select_recipients/conversation_select_recipients_screen.tsx
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StaticScreenProps, useNavigation } from '@react-navigation/native'
|
|
1
|
+
import { useNavigation } from '@react-navigation/native'
|
|
3
2
|
import React from 'react'
|
|
4
3
|
import { ScrollView, StyleSheet, View } from 'react-native'
|
|
5
|
-
import {
|
|
6
|
-
import { Button, Heading, Icon, Image, Text } from '../../components'
|
|
7
|
-
import { useTheme } from '../../hooks'
|
|
4
|
+
import { Button, Heading } from '../../components'
|
|
8
5
|
import { GroupsGroupResource } from '../../types'
|
|
9
6
|
import { useGroupsGroups } from '../../hooks/use_groups_groups'
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
chat_group_graph_id?: GraphId
|
|
16
|
-
group_source_app_name?: AppName
|
|
17
|
-
}>
|
|
7
|
+
import { pluralize } from '../../utils'
|
|
8
|
+
import { RecipientLinkRow } from './components/recipient_link_row'
|
|
9
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
10
|
+
import { ConversationSelectRecipientsScreenProps } from './types/screen_props'
|
|
11
|
+
import { ViewMoreLinkRow } from './components/view_more_link_row'
|
|
18
12
|
|
|
19
|
-
const
|
|
20
|
-
const THUMBNAIL_WIDTH = 80
|
|
21
|
-
const THUMBNAIL_HEIGHT = THUMBNAIL_WIDTH / ASPECT_RATIO
|
|
13
|
+
const MAX_VISIBLE_GROUPS = 5
|
|
22
14
|
|
|
23
15
|
export const ConversationSelectRecipientsScreen = ({
|
|
24
16
|
route,
|
|
@@ -27,6 +19,8 @@ export const ConversationSelectRecipientsScreen = ({
|
|
|
27
19
|
const navigation = useNavigation()
|
|
28
20
|
const { data: groups = [] } = useGroupsGroups()
|
|
29
21
|
const groupsWithCreatePermission = groups.filter(g => g.canCreateConversation)
|
|
22
|
+
const visibleGroups = groupsWithCreatePermission.slice(0, MAX_VISIBLE_GROUPS)
|
|
23
|
+
const hasMoreGroups = groupsWithCreatePermission.length > MAX_VISIBLE_GROUPS
|
|
30
24
|
|
|
31
25
|
const handleNavigateToConversationNew = (group: GroupsGroupResource) => {
|
|
32
26
|
navigation.navigate('New', {
|
|
@@ -39,41 +33,43 @@ export const ConversationSelectRecipientsScreen = ({
|
|
|
39
33
|
})
|
|
40
34
|
}
|
|
41
35
|
|
|
36
|
+
const handleGroupsViewMore = () => {
|
|
37
|
+
navigation.navigate('New', {
|
|
38
|
+
screen: 'ConversationSelectGroupRecipients',
|
|
39
|
+
params: {
|
|
40
|
+
...route.params,
|
|
41
|
+
},
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
|
|
42
45
|
return (
|
|
43
|
-
<ScrollView
|
|
46
|
+
<ScrollView contentContainerStyle={styles.contentContainer}>
|
|
44
47
|
<View style={styles.section}>
|
|
45
48
|
<View style={styles.sectionHeader}>
|
|
46
49
|
<Heading variant="h3">My groups</Heading>
|
|
47
50
|
</View>
|
|
48
51
|
<View>
|
|
49
|
-
{
|
|
52
|
+
{visibleGroups.map(group => {
|
|
50
53
|
const groupAccessibilityLabel = `Select ${group.name} with ${pluralize(group.membershipsCount, 'member')}`
|
|
51
54
|
|
|
52
55
|
return (
|
|
53
|
-
<
|
|
56
|
+
<RecipientLinkRow
|
|
54
57
|
key={group.id}
|
|
55
|
-
|
|
58
|
+
imageUri={group.headerImage?.thumbnail}
|
|
59
|
+
title={group.name}
|
|
60
|
+
subtitle={`${group.membershipsCount} members`}
|
|
56
61
|
onPress={() => handleNavigateToConversationNew(group)}
|
|
57
|
-
accessibilityRole="link"
|
|
58
62
|
accessibilityLabel={groupAccessibilityLabel}
|
|
59
|
-
accessibilityHint={`Selects group as recipient and navigates to the final screen to finish creating the conversation
|
|
60
|
-
|
|
61
|
-
<Image
|
|
62
|
-
source={{ uri: group.headerImage?.thumbnail }}
|
|
63
|
-
resizeMode="cover"
|
|
64
|
-
style={styles.rowImage}
|
|
65
|
-
alt=""
|
|
66
|
-
/>
|
|
67
|
-
<View style={styles.rowContent}>
|
|
68
|
-
<Text style={styles.rowName} numberOfLines={2}>
|
|
69
|
-
{group.name}
|
|
70
|
-
</Text>
|
|
71
|
-
<Text variant="tertiary">{group.membershipsCount} members</Text>
|
|
72
|
-
</View>
|
|
73
|
-
<Icon name="general.rightChevron" size={16} style={styles.rowIconRight} />
|
|
74
|
-
</PlatformPressable>
|
|
63
|
+
accessibilityHint={`Selects group as recipient and navigates to the final screen to finish creating the conversation`}
|
|
64
|
+
/>
|
|
75
65
|
)
|
|
76
66
|
})}
|
|
67
|
+
{hasMoreGroups && (
|
|
68
|
+
<ViewMoreLinkRow
|
|
69
|
+
onPress={handleGroupsViewMore}
|
|
70
|
+
accessibilityHint="Navigate to a full list of your groups."
|
|
71
|
+
/>
|
|
72
|
+
)}
|
|
77
73
|
</View>
|
|
78
74
|
</View>
|
|
79
75
|
<View style={styles.section}>
|
|
@@ -101,52 +97,22 @@ export const ConversationSelectRecipientsScreen = ({
|
|
|
101
97
|
|
|
102
98
|
const useStyles = () => {
|
|
103
99
|
const { bottom } = useSafeAreaInsets()
|
|
104
|
-
const theme = useTheme()
|
|
105
100
|
|
|
106
101
|
return StyleSheet.create({
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
contentContainer: {
|
|
103
|
+
gap: 24,
|
|
104
|
+
paddingTop: 16,
|
|
105
|
+
paddingBottom: 16 + bottom,
|
|
110
106
|
},
|
|
111
107
|
section: {
|
|
112
|
-
padding: 16,
|
|
113
108
|
flex: 1,
|
|
114
109
|
},
|
|
115
110
|
sectionHeader: {
|
|
116
111
|
flexDirection: 'row',
|
|
117
112
|
justifyContent: 'space-between',
|
|
113
|
+
paddingHorizontal: 16,
|
|
114
|
+
paddingBottom: 4,
|
|
118
115
|
},
|
|
119
116
|
selectTeamsButton: {},
|
|
120
|
-
row: {
|
|
121
|
-
flexDirection: 'row',
|
|
122
|
-
alignItems: 'center',
|
|
123
|
-
gap: 12,
|
|
124
|
-
paddingVertical: 16,
|
|
125
|
-
borderBottomWidth: 1,
|
|
126
|
-
borderColor: theme.colors.fillColorNeutral050Base,
|
|
127
|
-
},
|
|
128
|
-
rowImage: {
|
|
129
|
-
width: THUMBNAIL_WIDTH,
|
|
130
|
-
height: THUMBNAIL_HEIGHT,
|
|
131
|
-
borderRadius: 4,
|
|
132
|
-
},
|
|
133
|
-
rowName: {
|
|
134
|
-
fontWeight: platformFontWeightMedium,
|
|
135
|
-
flexShrink: 1,
|
|
136
|
-
},
|
|
137
|
-
rowContent: {
|
|
138
|
-
flexShrink: 1,
|
|
139
|
-
},
|
|
140
|
-
rowIconRight: {
|
|
141
|
-
marginLeft: 'auto',
|
|
142
|
-
color: theme.colors.fillColorNeutral030,
|
|
143
|
-
},
|
|
144
|
-
routeDebug: {
|
|
145
|
-
alignContent: 'center',
|
|
146
|
-
padding: 16,
|
|
147
|
-
paddingBottom: bottom,
|
|
148
|
-
borderTopWidth: 1,
|
|
149
|
-
borderTopColor: theme.colors.fillColorNeutral050Base,
|
|
150
|
-
},
|
|
151
117
|
})
|
|
152
118
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StaticScreenProps } from '@react-navigation/native'
|
|
2
|
+
import { AppName } from '../../../types/resources/app_name'
|
|
3
|
+
import { GraphId } from '../../../types/resources/group_resource'
|
|
4
|
+
|
|
5
|
+
export type ConversationSelectRecipientsParams = {
|
|
6
|
+
chat_group_graph_id?: GraphId
|
|
7
|
+
group_source_app_name?: AppName
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type ConversationSelectRecipientsScreenProps =
|
|
11
|
+
StaticScreenProps<ConversationSelectRecipientsParams>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use_flattened_array_of_service_types_and_their_teams.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_and_their_teams.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAgB,KAAK,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAExF,UAAU,KAAK;IACb,IAAI,EAAE,oBAAoB,EAAE,CAAA;IAC5B,aAAa,EAAE,SAAS,CAAA;IACxB,YAAY,EAAE,SAAS,CAAA;CACxB;AAED,wBAAgB,4CAA4C,CAAC,EAC3D,IAAI,EACJ,aAAa,EACb,YAAY,GACb,EAAE,KAAK,mBAmCP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use_flattened_array_of_service_types_and_their_teams.js","sourceRoot":"","sources":["../../../../src/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_and_their_teams.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,YAAY,EAAmD,MAAM,UAAU,CAAA;AAQxF,MAAM,UAAU,4CAA4C,CAAC,EAC3D,IAAI,EACJ,aAAa,EACb,YAAY,GACN;IACN,MAAM,aAAa,GAAoB,OAAO,CAC5C,GAAG,EAAE,CACH,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;QACzB,MAAM,qBAAqB,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;QAEpE,OAAO;YACL;gBACE,IAAI,EAAE,YAAY,CAAC,MAAe;gBAClC,IAAI,EAAE;oBACJ,eAAe,EAAE,WAAW,CAAC,IAAI;oBACjC,aAAa,EAAE,WAAW,CAAC,EAAE;oBAC7B,qBAAqB;iBACtB;gBACD,YAAY,EAAE,aAAa;aAC5B;YACD,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE;gBACzC,MAAM,uBAAuB,GAAG,OAAO,KAAK,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAA;gBAExE,OAAO;oBACL,IAAI,EAAE,YAAY,CAAC,IAAa;oBAChC,IAAI,EAAE;wBACJ,QAAQ,EAAE,IAAI,CAAC,IAAI;wBACnB,MAAM,EAAE,IAAI,CAAC,EAAE;wBACf,aAAa,EAAE,WAAW,CAAC,EAAE;qBAC9B;oBACD,YAAY,EAAE,uBAAuB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS;iBACjE,CAAA;YACH,CAAC,CAAC;SACH,CAAA;IACH,CAAC,CAAC,EACJ,CAAC,IAAI,EAAE,aAAa,EAAE,YAAY,CAAC,CACpC,CAAA;IAED,OAAO,aAAa,CAAA;AACtB,CAAC","sourcesContent":["import { useMemo } from 'react'\nimport { type ViewStyle } from 'react-native'\nimport { SectionTypes, type SectionListData, type ServiceTypeWithTeams } from '../types'\n\ninterface Props {\n data: ServiceTypeWithTeams[]\n firstRowStyle: ViewStyle\n lastRowStyle: ViewStyle\n}\n\nexport function useFlattenedArrayOfServiceTypesAndTheirTeams({\n data,\n firstRowStyle,\n lastRowStyle,\n}: Props) {\n const flattenedData: SectionListData = useMemo(\n () =>\n data.flatMap(serviceType => {\n const teamIdsForServiceType = serviceType.teams.map(team => team.id)\n\n return [\n {\n type: SectionTypes.header as const,\n data: {\n serviceTypeName: serviceType.name,\n serviceTypeId: serviceType.id,\n teamIdsForServiceType,\n },\n sectionStyle: firstRowStyle,\n },\n ...serviceType.teams.map((team, teamIdx) => {\n const isLastTeamInServiceType = teamIdx === serviceType.teams.length - 1\n\n return {\n type: SectionTypes.team as const,\n data: {\n teamName: team.name,\n teamId: team.id,\n serviceTypeId: serviceType.id,\n },\n sectionStyle: isLastTeamInServiceType ? lastRowStyle : undefined,\n }\n }),\n ]\n }),\n [data, firstRowStyle, lastRowStyle]\n )\n\n return flattenedData\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fake_service_type_with_teams_data.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C,eAAO,MAAM,iCAAiC,EAAE,oBAAoB,EAmInE,CAAA"}
|
package/build/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.js
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
export const FAKE_SERVICE_TYPE_WITH_TEAMS_DATA = [
|
|
2
|
-
{
|
|
3
|
-
id: 1,
|
|
4
|
-
name: 'Contemporary Service',
|
|
5
|
-
teams: [
|
|
6
|
-
{
|
|
7
|
-
id: 2,
|
|
8
|
-
name: 'Audio Visual',
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
id: 3,
|
|
12
|
-
name: 'Ushers',
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: 4,
|
|
18
|
-
name: 'Traditional Service',
|
|
19
|
-
teams: [
|
|
20
|
-
{
|
|
21
|
-
id: 5,
|
|
22
|
-
name: 'Welcome Team',
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: 6,
|
|
28
|
-
name: 'Celebrate Recovery',
|
|
29
|
-
teams: [
|
|
30
|
-
{
|
|
31
|
-
id: 7,
|
|
32
|
-
name: 'Mens small group leaders',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
id: 8,
|
|
36
|
-
name: 'Womans small group leaders',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: 9,
|
|
40
|
-
name: 'The Landing',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
id: 10,
|
|
44
|
-
name: 'Tech Booth',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
id: 11,
|
|
48
|
-
name: 'Worship Team',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 12,
|
|
52
|
-
name: 'Teaching Team',
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: 13,
|
|
56
|
-
name: 'Step Study Leaders',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: 14,
|
|
60
|
-
name: 'TEAM+',
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
id: 15,
|
|
66
|
-
name: 'Staff',
|
|
67
|
-
teams: [
|
|
68
|
-
{
|
|
69
|
-
id: 16,
|
|
70
|
-
name: 'Facilities',
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
id: 17,
|
|
74
|
-
name: 'Pastors On Call',
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
id: 18,
|
|
78
|
-
name: 'Prayer Team',
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
id: 19,
|
|
84
|
-
name: 'Services type with over 10 teams',
|
|
85
|
-
teams: [
|
|
86
|
-
{
|
|
87
|
-
id: 20,
|
|
88
|
-
name: 'Young Adult Ministry',
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
id: 21,
|
|
92
|
-
name: "Children's Ministry",
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
id: 22,
|
|
96
|
-
name: 'Worship Team',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
id: 23,
|
|
100
|
-
name: 'Audio/Visual Ministry',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
id: 24,
|
|
104
|
-
name: 'Community Outreach',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
id: 25,
|
|
108
|
-
name: 'Small Groups Ministry',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: 26,
|
|
112
|
-
name: 'Missions Ministry',
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
id: 27,
|
|
116
|
-
name: 'Media Ministry',
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
id: 28,
|
|
120
|
-
name: 'Welcome Team',
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
id: 29,
|
|
124
|
-
name: 'Prayer Ministry',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
id: 30,
|
|
128
|
-
name: 'Pastoral Care Team',
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
},
|
|
132
|
-
];
|
|
133
|
-
//# sourceMappingURL=fake_service_type_with_teams_data.js.map
|
package/build/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fake_service_type_with_teams_data.js","sourceRoot":"","sources":["../../../../src/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iCAAiC,GAA2B;IACvE;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,sBAAsB;QAC5B,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,CAAC;gBACL,IAAI,EAAE,cAAc;aACrB;YACD;gBACE,EAAE,EAAE,CAAC;gBACL,IAAI,EAAE,QAAQ;aACf;SACF;KACF;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,CAAC;gBACL,IAAI,EAAE,cAAc;aACrB;SACF;KACF;IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,oBAAoB;QAC1B,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,CAAC;gBACL,IAAI,EAAE,0BAA0B;aACjC;YACD;gBACE,EAAE,EAAE,CAAC;gBACL,IAAI,EAAE,4BAA4B;aACnC;YACD;gBACE,EAAE,EAAE,CAAC;gBACL,IAAI,EAAE,aAAa;aACpB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,YAAY;aACnB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,cAAc;aACrB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,eAAe;aACtB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,oBAAoB;aAC3B;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,OAAO;aACd;SACF;KACF;IACD;QACE,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,OAAO;QACb,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,YAAY;aACnB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,iBAAiB;aACxB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,aAAa;aACpB;SACF;KACF;IACD;QACE,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,kCAAkC;QACxC,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,sBAAsB;aAC7B;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,qBAAqB;aAC5B;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,cAAc;aACrB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,uBAAuB;aAC9B;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,oBAAoB;aAC3B;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,uBAAuB;aAC9B;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,mBAAmB;aAC1B;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,gBAAgB;aACvB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,cAAc;aACrB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,iBAAiB;aACxB;YACD;gBACE,EAAE,EAAE,EAAE;gBACN,IAAI,EAAE,oBAAoB;aAC3B;SACF;KACF;CACF,CAAA","sourcesContent":["import { ServiceTypeWithTeams } from '../types'\n\nexport const FAKE_SERVICE_TYPE_WITH_TEAMS_DATA: ServiceTypeWithTeams[] = [\n {\n id: 1,\n name: 'Contemporary Service',\n teams: [\n {\n id: 2,\n name: 'Audio Visual',\n },\n {\n id: 3,\n name: 'Ushers',\n },\n ],\n },\n {\n id: 4,\n name: 'Traditional Service',\n teams: [\n {\n id: 5,\n name: 'Welcome Team',\n },\n ],\n },\n {\n id: 6,\n name: 'Celebrate Recovery',\n teams: [\n {\n id: 7,\n name: 'Mens small group leaders',\n },\n {\n id: 8,\n name: 'Womans small group leaders',\n },\n {\n id: 9,\n name: 'The Landing',\n },\n {\n id: 10,\n name: 'Tech Booth',\n },\n {\n id: 11,\n name: 'Worship Team',\n },\n {\n id: 12,\n name: 'Teaching Team',\n },\n {\n id: 13,\n name: 'Step Study Leaders',\n },\n {\n id: 14,\n name: 'TEAM+',\n },\n ],\n },\n {\n id: 15,\n name: 'Staff',\n teams: [\n {\n id: 16,\n name: 'Facilities',\n },\n {\n id: 17,\n name: 'Pastors On Call',\n },\n {\n id: 18,\n name: 'Prayer Team',\n },\n ],\n },\n {\n id: 19,\n name: 'Services type with over 10 teams',\n teams: [\n {\n id: 20,\n name: 'Young Adult Ministry',\n },\n {\n id: 21,\n name: \"Children's Ministry\",\n },\n {\n id: 22,\n name: 'Worship Team',\n },\n {\n id: 23,\n name: 'Audio/Visual Ministry',\n },\n {\n id: 24,\n name: 'Community Outreach',\n },\n {\n id: 25,\n name: 'Small Groups Ministry',\n },\n {\n id: 26,\n name: 'Missions Ministry',\n },\n {\n id: 27,\n name: 'Media Ministry',\n },\n {\n id: 28,\n name: 'Welcome Team',\n },\n {\n id: 29,\n name: 'Prayer Ministry',\n },\n {\n id: 30,\n name: 'Pastoral Care Team',\n },\n ],\n },\n]\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fake_member_data.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_new/utils/fake_member_data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,eAAO,MAAM,gBAAgB,EAAE,cAAc,EA+H5C,CAAA"}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
export const FAKE_MEMBER_DATA = [
|
|
2
|
-
{
|
|
3
|
-
type: 'Member',
|
|
4
|
-
id: 1,
|
|
5
|
-
name: 'John Doe',
|
|
6
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/JD.png',
|
|
7
|
-
badges: [{ title: 'Leader' }, { title: 'Conversation owner' }],
|
|
8
|
-
child: false,
|
|
9
|
-
role: 'unknown',
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
type: 'Member',
|
|
13
|
-
id: 2,
|
|
14
|
-
name: 'Jane Smith',
|
|
15
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/JS.png',
|
|
16
|
-
badges: [{ title: 'Leader' }],
|
|
17
|
-
child: false,
|
|
18
|
-
role: 'unknown',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
type: 'Member',
|
|
22
|
-
id: 3,
|
|
23
|
-
name: 'Bob Wilson',
|
|
24
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/BW.png',
|
|
25
|
-
badges: [],
|
|
26
|
-
child: false,
|
|
27
|
-
role: 'unknown',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
type: 'Member',
|
|
31
|
-
id: 4,
|
|
32
|
-
name: 'Sarah Johnson',
|
|
33
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/SJ.png',
|
|
34
|
-
badges: [{ title: 'Leader' }],
|
|
35
|
-
child: false,
|
|
36
|
-
role: 'unknown',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
type: 'Member',
|
|
40
|
-
id: 5,
|
|
41
|
-
name: 'Mike Brown',
|
|
42
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/MB.png',
|
|
43
|
-
badges: [],
|
|
44
|
-
child: false,
|
|
45
|
-
role: 'unknown',
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
type: 'Member',
|
|
49
|
-
id: 6,
|
|
50
|
-
name: 'Emily Davis',
|
|
51
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/ED.png',
|
|
52
|
-
badges: [{ title: 'Leader' }],
|
|
53
|
-
child: false,
|
|
54
|
-
role: 'unknown',
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
type: 'Member',
|
|
58
|
-
id: 7,
|
|
59
|
-
name: 'James Miller',
|
|
60
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/JM.png',
|
|
61
|
-
badges: [],
|
|
62
|
-
child: false,
|
|
63
|
-
role: 'unknown',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
type: 'Member',
|
|
67
|
-
id: 8,
|
|
68
|
-
name: 'Lisa Anderson',
|
|
69
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/LA.png',
|
|
70
|
-
badges: [],
|
|
71
|
-
child: false,
|
|
72
|
-
role: 'unknown',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
type: 'Member',
|
|
76
|
-
id: 9,
|
|
77
|
-
name: 'David Taylor',
|
|
78
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/DT.png',
|
|
79
|
-
badges: [{ title: 'Leader' }],
|
|
80
|
-
child: false,
|
|
81
|
-
role: 'unknown',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
type: 'Member',
|
|
85
|
-
id: 10,
|
|
86
|
-
name: 'Rachel White',
|
|
87
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/RW.png',
|
|
88
|
-
badges: [],
|
|
89
|
-
child: false,
|
|
90
|
-
role: 'unknown',
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
type: 'Member',
|
|
94
|
-
id: 11,
|
|
95
|
-
name: 'Kevin Martin',
|
|
96
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/KM.png',
|
|
97
|
-
badges: [{ title: 'Leader' }],
|
|
98
|
-
child: false,
|
|
99
|
-
role: 'unknown',
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
type: 'Member',
|
|
103
|
-
id: 12,
|
|
104
|
-
name: 'Michelle Lee',
|
|
105
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/ML.png',
|
|
106
|
-
badges: [],
|
|
107
|
-
child: false,
|
|
108
|
-
role: 'unknown',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
type: 'Member',
|
|
112
|
-
id: 13,
|
|
113
|
-
name: 'Daniel Clark',
|
|
114
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/DC.png',
|
|
115
|
-
badges: [],
|
|
116
|
-
child: false,
|
|
117
|
-
role: 'unknown',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
type: 'Member',
|
|
121
|
-
id: 14,
|
|
122
|
-
name: 'Amanda Moore',
|
|
123
|
-
avatar: 'https://avatars.planningcenteronline.com/uploads/initials/AM.png',
|
|
124
|
-
badges: [{ title: 'Leader' }],
|
|
125
|
-
child: false,
|
|
126
|
-
role: 'unknown',
|
|
127
|
-
},
|
|
128
|
-
];
|
|
129
|
-
//# sourceMappingURL=fake_member_data.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fake_member_data.js","sourceRoot":"","sources":["../../../../src/screens/conversation_new/utils/fake_member_data.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAqB;IAChD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,oBAAoB,EAAE,CAAC;QAC9D,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;QAC7B,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;QAC7B,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;QAC7B,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;QAC7B,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;QAC7B,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,kEAAkE;QAC1E,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;QAC7B,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,SAAS;KAChB;CACF,CAAA","sourcesContent":["import { MemberResource } from '../../../types'\n\nexport const FAKE_MEMBER_DATA: MemberResource[] = [\n {\n type: 'Member',\n id: 1,\n name: 'John Doe',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/JD.png',\n badges: [{ title: 'Leader' }, { title: 'Conversation owner' }],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 2,\n name: 'Jane Smith',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/JS.png',\n badges: [{ title: 'Leader' }],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 3,\n name: 'Bob Wilson',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/BW.png',\n badges: [],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 4,\n name: 'Sarah Johnson',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/SJ.png',\n badges: [{ title: 'Leader' }],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 5,\n name: 'Mike Brown',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/MB.png',\n badges: [],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 6,\n name: 'Emily Davis',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/ED.png',\n badges: [{ title: 'Leader' }],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 7,\n name: 'James Miller',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/JM.png',\n badges: [],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 8,\n name: 'Lisa Anderson',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/LA.png',\n badges: [],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 9,\n name: 'David Taylor',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/DT.png',\n badges: [{ title: 'Leader' }],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 10,\n name: 'Rachel White',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/RW.png',\n badges: [],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 11,\n name: 'Kevin Martin',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/KM.png',\n badges: [{ title: 'Leader' }],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 12,\n name: 'Michelle Lee',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/ML.png',\n badges: [],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 13,\n name: 'Daniel Clark',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/DC.png',\n badges: [],\n child: false,\n role: 'unknown',\n },\n {\n type: 'Member',\n id: 14,\n name: 'Amanda Moore',\n avatar: 'https://avatars.planningcenteronline.com/uploads/initials/AM.png',\n badges: [{ title: 'Leader' }],\n child: false,\n role: 'unknown',\n },\n]\n"]}
|
package/src/screens/conversation_filter_recipients/utils/fake_service_type_with_teams_data.ts
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { ServiceTypeWithTeams } from '../types'
|
|
2
|
-
|
|
3
|
-
export const FAKE_SERVICE_TYPE_WITH_TEAMS_DATA: ServiceTypeWithTeams[] = [
|
|
4
|
-
{
|
|
5
|
-
id: 1,
|
|
6
|
-
name: 'Contemporary Service',
|
|
7
|
-
teams: [
|
|
8
|
-
{
|
|
9
|
-
id: 2,
|
|
10
|
-
name: 'Audio Visual',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
id: 3,
|
|
14
|
-
name: 'Ushers',
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
id: 4,
|
|
20
|
-
name: 'Traditional Service',
|
|
21
|
-
teams: [
|
|
22
|
-
{
|
|
23
|
-
id: 5,
|
|
24
|
-
name: 'Welcome Team',
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
id: 6,
|
|
30
|
-
name: 'Celebrate Recovery',
|
|
31
|
-
teams: [
|
|
32
|
-
{
|
|
33
|
-
id: 7,
|
|
34
|
-
name: 'Mens small group leaders',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: 8,
|
|
38
|
-
name: 'Womans small group leaders',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: 9,
|
|
42
|
-
name: 'The Landing',
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
id: 10,
|
|
46
|
-
name: 'Tech Booth',
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: 11,
|
|
50
|
-
name: 'Worship Team',
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
id: 12,
|
|
54
|
-
name: 'Teaching Team',
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
id: 13,
|
|
58
|
-
name: 'Step Study Leaders',
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
id: 14,
|
|
62
|
-
name: 'TEAM+',
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
id: 15,
|
|
68
|
-
name: 'Staff',
|
|
69
|
-
teams: [
|
|
70
|
-
{
|
|
71
|
-
id: 16,
|
|
72
|
-
name: 'Facilities',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
id: 17,
|
|
76
|
-
name: 'Pastors On Call',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
id: 18,
|
|
80
|
-
name: 'Prayer Team',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
id: 19,
|
|
86
|
-
name: 'Services type with over 10 teams',
|
|
87
|
-
teams: [
|
|
88
|
-
{
|
|
89
|
-
id: 20,
|
|
90
|
-
name: 'Young Adult Ministry',
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
id: 21,
|
|
94
|
-
name: "Children's Ministry",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
id: 22,
|
|
98
|
-
name: 'Worship Team',
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
id: 23,
|
|
102
|
-
name: 'Audio/Visual Ministry',
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
id: 24,
|
|
106
|
-
name: 'Community Outreach',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
id: 25,
|
|
110
|
-
name: 'Small Groups Ministry',
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
id: 26,
|
|
114
|
-
name: 'Missions Ministry',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
id: 27,
|
|
118
|
-
name: 'Media Ministry',
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
id: 28,
|
|
122
|
-
name: 'Welcome Team',
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
id: 29,
|
|
126
|
-
name: 'Prayer Ministry',
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
id: 30,
|
|
130
|
-
name: 'Pastoral Care Team',
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
},
|
|
134
|
-
]
|