This repository was archived by the owner on Feb 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yml
More file actions
484 lines (455 loc) · 12.9 KB
/
config.yml
File metadata and controls
484 lines (455 loc) · 12.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
# This file, in conjuction with your .env file,
# should be used to configure the apollos server.
# Any values you wish to keep secret should be placed in `.env`
# You can access those values (and any other values in your environment)
# using the ${VARIABLE_NAME} syntax
# This file should be checked into version control.
# `.env` should NOT be checked into version control.
APP:
# This variable is used for generating deep links.
# It should match whatver is in your Info.plist `CFBundleURLTypes`
DEEP_LINK_HOST: newspringchurchapp
ROOT_API_URL: ${ROOT_URL}
JOBS_USERNAME: ${JOBS_USERNAME}
JOBS_PASSWORD: ${JOBS_PASSWORD}
FLAG_LIMIT: 2
FORGOT_PASSWORD_URL: https://rock.newspring.cc/page/56
DATABASE:
URL: ${DATABASE_URL}
BUGSNAG:
## Optional, but you'll need to remove references to @apollosproject/bugsnag if you don't wish to use.
API_KEY: ${BUGSNAG_API_KEY}
OPTIONS: {} # In case you want to pass in other Bugsnag configuration options. https://docs.bugsnag.com/platforms/javascript/configuration-options/
ROCK:
VERSION: 12.0
API_URL: ${ROCK_API}
API_TOKEN: ${ROCK_TOKEN}
IMAGE_URL: https://s3.amazonaws.com
SHARE_URL: https://newspring.cc
# This should match the timezone of the Rock server
TIMEZONE: 'America/New_York'
USE_PLUGIN: true
SHOW_INACTIVE_CONTENT: ${ROCK_SHOW_INACTIVE_CONTENT}
# UNIVERSAL_LINKS:
## This should be your app's bundle ID, as found in your info.plist.
# APPLE_APP_ID: com.subsplashstudio31.NewSpring-Church
## This should be your app's team ID, as found in Xcode
# APPLE_TEAM_ID: 7TM8C6252Z
## Where should a user be redirected if they don't have your app installed?
# APP_STORE_LINK: https://apps.apple.com/us/app/newspring-church/id492113528
# PLAY_STORE_LINK: https://play.google.com/store/apps/details?id=cc.newspring.newspringapp
## Your app Id, as found in your app/build.gradle.
# GOOGLE_APP_ID: cc.newspring.newspringapp
## https://docs.getsocial.im/knowledge-base/android-signing-key-sha256/
# GOOGLE_KEYSTORE_SHA256: 2D:C1:2D:18:D9:3A:2C:90:06:E7:68:00:EB:8C:43:EA:04:BF:44:A1:0E:AD:35:00:DE:E9:81:E6:6D:8D:31:9B
ONE_SIGNAL:
APP_ID: fe946d19-cad0-42eb-b32c-078f29c54e41
REST_KEY: ${ONE_SIGNAL_REST_KEY}
CHURCH_ONLINE:
URL: https://live.newspring.cc/api/v1/
MEDIA_URLS: []
WEB_VIEW_URL: https://live.newspring.cc
SUGGESTED_FOLLOWS:
-
id: 01e6cfe3-fe92-4149-a918-6094d17a5e6a # David Hall
-
id: f81efa21-7a26-4348-b9d1-230e13cac5ba # Clayton King
-
id: eeba5347-146e-481b-bc2e-b86d766bdf15 # Meredith Knox
-
id: 9c94f9e0-b37c-4a3d-b743-9b44b2e17cbd # Matt Steelman
campusId: 0d2957a3-d10f-4c6b-99a3-bb508dde4b84 # Aiken
-
email: [email protected]
campusId: 9da744bb-3dd0-48cb-8107-bb8a32264003 # Anderson
-
email: [email protected]
campusId: 58757cd9-f2d2-4bef-bb4e-9b1c0b40be50 # Powdersville
-
email: [email protected]
campusId: 58757cd9-f2d2-4bef-bb4e-9b1c0b40be50 # Powdersville
-
email: [email protected]
campusId: cedf631b-3fda-4484-a218-1530a8645838 # Charleston
-
email: [email protected]
campusId: 052912cf-efbe-4c56-82dc-ce53d8f5f6ff # Clemson
-
id: dda4b6b6-f662-4f55-b817-44fbc7bff7c1 # Alden Ellis
campusId: 4c518a17-119a-4232-a9c1-2d7ccedc0f16 # Columbia
-
email: [email protected]
campusId: b2f57672-0c76-4ce1-8657-1d7e381b6b47 # Eastlan
-
email: [email protected]
campusId: 48ed8e0f-014c-4d46-babe-f591f344acfe # Florence
-
email: [email protected]
campusId: 4f4008a4-0151-4d3c-bea1-bb85ea6a9d0c # Greenwood
-
email: [email protected]
campusId: 25fe7ef1-8aa3-412b-a501-b05088bf4503 # Hilton Head
-
email: [email protected]
campusId: 29e96b55-9351-45a4-8161-5d18f4fdcf02 # Lake Wylie
-
email: [email protected]
campusId: 180712b4-6e70-4ea9-8a89-f1cc421f64e0 # Myrtle Beach
-
email: [email protected]
campusId: 3c028421-df87-4841-8da1-0d7cf3688f67 # Northeast Columbia
LIVING_AS_ONE:
STREAM_URL: https://resi.media/ns/Manifest.m3u8
ALGOLIA:
APPLICATION_ID: ${ALGOLIA_APP_ID}
API_KEY: ${ALGOLIA_API_KEY}
SEARCH_INDEX: ${ALGOLIA_SEARCH_INDEX}
# Configure Algolia custom settings here
# https://www.algolia.com/doc/api-reference/settings-api-parameters/
CONFIGURATION:
searchableAttributes:
- title
- unordered(summary)
#customRankings:
# NOT CURRENTLY INCLUDED
# This just demonstrates what's possible
# To include likedCount (or any other field) override search package
# and add field to config below
#- desc(likedCount)
TWILIO:
ACCOUNT_SID: ${TWILIO_ACCOUNT_SID}
AUTH_TOKEN: ${TWILIO_AUTH_TOKEN}
FROM_NUMBER: ${TWILIO_FROM_NUMBER}
PASS:
TEMPLATES:
CHECKIN: ${PWD}/wallet-passes/checkin.pass
CERTIFICATES:
WWDR: ${PASS_WWDR_CERT}
SIGNER_CERT: ${PASS_SIGNER_CERT}
SIGNER_KEY: ${PASS_SIGNER_KEY}
SIGNER_KEY_PASSPHRASE: ${PASS_SIGNER_PASSPHRASE}
ANALYTICS:
# Filling out these fields will automatically enable analytics tracking
# on the accompanying service
SEGMENT_KEY:
GA_ID:
USE_ROCK: true
# this is for putting interactions in Rock
# USE_ROCK: true
BIBLE_API:
KEY: ${BIBLE_API_KEY}
BIBLE_ID:
ESV: 'f421fe261da7624f-01'
NIV: '71c6eab17ae5b667-01'
CSB: 'a556c5305ee15c3f-01'
WEB: '9879dbb7cfe39e4d-01'
CLOUDINARY:
# Cloudinary is used to improve image loading
# value should look something like
# cloudinary://123123123:adkfnla_adASDv_adAS@test
URL: ${CLOUDINARY_URL}
ENGINE:
API_KEY: ${ENGINE_API_KEY}
# What is this for?
# SCHEMA_TAG: ${ENGINE_SCHEMA_TAG}
WISTIA:
API_URL: https://api.wistia.com/v1/medias
API_KEY: ${WISTIA_API_KEY}
# This key holds various properties that allow our GraphQL server to map to your Rock Instance
ROCK_MAPPINGS:
INTERACTIONS:
# Name of the InteractionChannel that will be created per EntityType
CHANNEL_NAME: Apollos App
# Prefix for the name of the InteractionComponent that will be created per Entity
COMPONENT_NAME: Apollos App Component
PRAYER_REQUEST: Apollos NewSpring Prayer Request
# 1648 is "Mobile Application" in the Interaction Medium defined type
CHANNEL_MEDIUM_TYPE_ID: 1648
CONTENT_ITEM:
ContentSeriesContentItem:
# When resolving "ContentSeriesContentItem" look in rock for a "ContentChannelItem"
EntityType: ContentChannelItem
# Used to define the subset of content channels types that use this specific type.
ContentChannelId: [18, 20]
DevotionalContentItem:
EntityType: ContentChannelItem
ContentChannelId: [17]
MediaContentItem:
EntityType: ContentChannelItem
UniversalContentItem:
EntityType: ContentChannelItem
ContentChannelId: [16, 27, 28]
WeekendContentItem:
ContentChannelId: [19]
EntityType: ContentChannelItem
ContentItem:
EntityType: ContentChannelItem
ENTITY_TYPES:
Prayer: PrayerRequest
DATAVIEW_CATEGORIES:
# Id of the category used to store all persona dataviews
PersonaId: 1349
# Apollos will pull these content channels and expose them in the app on the discover screen.
DISCOVER_CONTENT_CHANNEL_IDS:
- 20 # sermon series
- 18 # studies
- 16 # articles
- 28 # stories
# Apollos will pull content items from these channels and expose them on the user feed
# However, it will not expose the channel itself.
# These channels are also pulled when indexing searchable content.
FEED_CONTENT_CHANNEL_IDS:
- 16 # articles
- 18 # studies
- 19 # sermons
- 28 # stories
CAMPAIGN_CHANNEL_IDS:
- 439
SERMON_CHANNEL_ID: 19
ASSET_STORAGE_PROVIDERS:
'6': ns.assets
'7': ns.downloads
'8': ns.images
'9': ns.videos
SERMON_SERIES_CHANNEL_ID: 20
DEVOTIONAL_SERIES_CHANNEL_ID: 18
GENERAL_PRAYER_CATEGORY_ID: 2
PRAYER_REQUEST_TYPE: PrayerRequest
PRAYER_MENU_CATEGORIES_CHANNEL_ID: 440
WEB_CAMPUS_ID: 20
SERVING_GROUP_TYPE_ID: 23
COMMUNITY_GROUP_TYPE_ID: 25
FAMILY_GROUP_TYPE_ID: 10
FUSE_GROUP_TYPE_ID: 60
RALLY_GROUP_TYPE_ID: 141
MENTORING_GROUP_TYPE_ID: 149
COACHING_GROUP_TYPE_ID: 156
GROUP_HUB_GROUP_TYPE_ID: 157
MOBILE_DEVICE_TYPE_ID: 919
APP_TEST_GROUPS:
- EXPERIMENTAL_GROUP_ID: 1932851
READ_MY_BIBLE_GROUP_ID: 1623483
SUNDAY_SERMON_SCHEDULE_CATEGORY_ID: 1680
BLOCK_COMMENT_NOTE_TYPE_ID: 46
PUBLIC_CALENDAR_ID: 1
HOME_FEATURES:
#- title: FOR YOU
#algorithms: [PERSONA_FEED]
#subtitle: Explore what God calls you to today
- algorithms: [CAMPAIGN_ITEMS]
type: VerticalCardList
isFeatured: true
- subtitle: Next steps
type: ActionList
algorithms:
- type: CONTENT_CHANNEL
arguments:
contentChannelId: 459
limit: 3
- algorithms: [USER_FEED]
type: VerticalCardList
READ_TAB:
- subtitle: Read
algorithms:
- type: CONTENT_CHANNEL
arguments:
contentChannelId: 17
limit: 1
type: VerticalCardList
# - subtitle: Continue Reading
# type: HorizontalCardList
# algorithms:
# - type: SERIES_IN_PROGRESS
# arguments:
# channelIds:
# - 18
- subtitle: More Studies
type: HorizontalCardList
algorithms:
- type: CONTENT_CHANNEL
arguments:
contentChannelId: 18
limit: 3
primaryAction:
action: OPEN_CHANNEL
title: 'View More'
relatedNode:
__typename: ContentChannel
id: 18
name: Studies
DISCOVER_FEATURES:
- algorithms:
- type: CONTENT_CHANNEL
arguments:
contentChannelId: 20
limit: 3
type: HorizontalCardList
subtitle: Sermon Series
primaryAction:
action: OPEN_CHANNEL
title: 'View All'
relatedNode:
__typename: ContentChannel
id: 20
name: Sermon Series
- algorithms:
- type: CONTENT_CHANNEL
arguments:
contentChannelId: 18
limit: 3
type: HorizontalCardList
subtitle: Studies
primaryAction:
action: OPEN_CHANNEL
title: 'View All'
relatedNode:
__typename: ContentChannel
id: 18
name: Studies
- algorithms:
- type: CONTENT_CHANNEL
arguments:
contentChannelId: 16
limit: 3
type: HorizontalCardList
subtitle: Articles
primaryAction:
action: OPEN_CHANNEL
title: 'View All'
relatedNode:
__typename: ContentChannel
id: 16
name: Articles
- algorithms:
- type: CONTENT_CHANNEL
arguments:
contentChannelId: 28
limit: 3
type: HorizontalCardList
subtitle: Stories
primaryAction:
action: OPEN_CHANNEL
title: 'View All'
relatedNode:
__typename: ContentChannel
id: 28
name: Stories
# Default mapping of field types -> ids. There's probably no reason to edit this.
ROCK_CONSTANTS:
TEXT: 1
MULTI_SELECT: 2
BOOLEAN: 3
COLOR: 4
SINGLE_SELECT: 6
INTEGER: 7
PAGE_REFERENCE: 8
IMAGE: 10
DATE: 11
DECIMAL: 14
DEFINED_TYPE: 15
DEFINED_VALUE: 16
PERSON: 18
HTML: 20
MEMO: 21
GROUP_TYPES: 22
GROUP: 23
CAMPUSES: 26
ENTITY_TYPE: 29
CAMPUS: 30
EMAIL_TEMPLATE: 31
FILE: 32
GROUP_TYPE: 33
KEY_VALUE_LIST: 34
BINARY_FILE_TYPE: 35
WORKFLOW_TYPE: 36
BINARY_FILE: 37
FINANCIAL_ACCOUNT: 38
FINANCIAL_ACCOUNTS: 39
COMPONENT: 40
COMPONENTS: 41
CATEGORIES: 42
GROUP_ROLE: 43
CATEGORY: 44
LOCATION: 45
DATE_RANGE: 46
DECIMAL_RANGE: 47
INTEGER_RANGE: 48
TIME: 49
GROUP_LOCATION_TYPE: 50
CODE_EDITOR: 51
PERSON_BADGES: 52
SITE: 53
COMMUNICATION_TEMPLATE: 54
DAY_OF_WEEK: 55
DAYS_OF_WEEK: 56
REMOTE_AUTHS: 57
COMPARISON: 58
METRIC_ENTITY: 59
WORKFLOW_ACTIVITY: 60
WORKFLOW_ATTRIBUTE: 61
METRICS: 62
ENTITY: 63
METRIC_CATEGORIES: 64
WORKFLOW_TEXT_OR_ATTRIBUTE: 65
SLIDING_DATE_RANGE: 66
GROUP_TYPE_GROUP: 67
SECURITY_ROLE: 68
VALUE_LIST: 69
CURRENCY: 70
EMAIL: 71
URL_LINK: 72
WORKFLOW_TYPES: 73
ATTRIBUTE: 74
SCHEDULES: 75
CONTENT_CHANNEL: 76
AUDIO_FILE: 77
AUDIO_URL: 78
VIDEO_FILE: 79
VIDEO_URL: 80
ENCRYPTED_TEXT: 81
FILTER_DATE: 82
DATE_TIME: 83
DEFINED_VALUE_RANGE: 84
RATING: 85
SYSTEM_EMAIL: 86
FINANCIAL_GATEWAY: 87
GROUP_AND_ROLE: 88
NOTE_TYPE: 89
NOTE_TYPES: 90
EVENT_CALENDAR: 91
EVENT_ITEM: 92
CONNECTION_ACTIVITY_TYPE: 93
CONNECTION_OPPORTUNITY: 94
CONNECTION_REQUEST: 95
CONNECTION_STATE: 96
CONNECTION_STATUS: 97
CONNECTION_TYPE: 98
CONNECTION_TYPES: 99
MERGE_TEMPLATE: 100
RANGE_SLIDER: 101
BINARY_FILE_TYPES: 102
MARKDOWN: 103
DATA_VIEW: 104
PHONE_NUMBER: 105
SCHEDULE: 106
LAVA_COMMANDS: 107
ADDRESS: 108
BENEVOLENCE_REQUEST: 109
CONTENT_CHANNEL_TYPES: 110
WORKFLOW: 111
SSN: 112
MATRIX: 113
LAVA: 114
DATA_VIEWS: 115
COMMUNICATION_PREFERENCE: 116
INTERACTION_CHANNEL: 117
GROUP_MEMBER: 118
TIME_ZONE: 119
LABEL: 120
WISTIA: 125
S3_ASSET: 133