Skip to content

Commit

Permalink
fix: align collection bani IDs with GurbaniNow API
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh committed Apr 20, 2024
1 parent e5b9581 commit 800f262
Showing 1 changed file with 32 additions and 36 deletions.
68 changes: 32 additions & 36 deletions src/services/data/collections/default.ts
Original file line number Diff line number Diff line change
@@ -1,43 +1,36 @@
import { CollectionItem } from '~/types/data'

// https://gurbaninow.com/gutka
// https://api.gurbaninow.com/v2/banis
const banis = {
japjiSahib: { id: '1', nameGurmukhi: 'jpu jI swihb', type: 'bani' },
jaapSahib: { id: '2', nameGurmukhi: 'jwpu swihb', type: 'bani' },
tavPrasadSravag: { id: '3', nameGurmukhi: 'qÍ pRswid svXy (sRwvg suD)', type: 'bani' },
bentiChaupai: { id: '4', nameGurmukhi: 'bynqI cOpeI swihb', type: 'bani' },
anandSahib: { id: '5', nameGurmukhi: 'Anµdu swihb', type: 'bani' },
rehrasSahib: { id: '6', nameGurmukhi: 'rhrwis swihb', type: 'bani' },
aarti: { id: '7', nameGurmukhi: 'AwrqI', type: 'bani' },
ardaas: { id: '8', nameGurmukhi: 'Ardws', type: 'bani' },
sohilaSahib: { id: '9', nameGurmukhi: 'soihlw swihb', type: 'bani' },
shabadHazare: { id: '10', nameGurmukhi: 'Sbd hzwry', type: 'bani' },
shabadHazare10: { id: '11', nameGurmukhi: 'Sbd hzwry pwiqSwhI 10', type: 'bani' },
tavPrasadDeenan: { id: '12', nameGurmukhi: 'qÍ pRswid sÍXy (dInn kI)', type: 'bani' },
baraMaha: { id: '13', nameGurmukhi: 'bwrh mwhw (rwgu mwJ)', type: 'bani' },
asaKiVaar: { id: '14', nameGurmukhi: 'Awsw kI vwr', type: 'bani' },
sukhmaniSahib: { id: '15', nameGurmukhi: 'suKmnI swihb', type: 'bani' },
basantKiVar: { id: '16', nameGurmukhi: 'bsMq kI vwr', type: 'bani' },
lavan: { id: '17', nameGurmukhi: 'lwvW (Anµd kwrj)', type: 'bani' },
salokMahla9: { id: '18', nameGurmukhi: 'slok mhlw 9', type: 'bani' },
oankaar: { id: '19', nameGurmukhi: 'EAMkwru', type: 'bani' },
sidhGosht: { id: '20', nameGurmukhi: 'isD gosit', type: 'bani' },
bavanAkhri: { id: '21', nameGurmukhi: 'bwvn AKrI', type: 'bani' },
akalUstat: { id: '22', nameGurmukhi: 'Akwl ausqq', type: 'bani' },
bacitrNatak: { id: '23', nameGurmukhi: 'bicqR nwtk', type: 'bani' },
chandiUkat: { id: '24', nameGurmukhi: 'cMfI cirqR aukiq iblws', type: 'bani' },
chandiCaritr: { id: '25', nameGurmukhi: 'cMfI cirqR', type: 'bani' },
chandiDiVaar: { id: '26', nameGurmukhi: 'cMfI dI vwr', type: 'bani' },
gian: { id: '27', nameGurmukhi: 'igAwn pRboD', type: 'bani' },
teti: { id: '28', nameGurmukhi: '33 svXy', type: 'bani' },
barahMaha: { id: '29', nameGurmukhi: 'bwrh mwhw (rwgu quKwrI)', type: 'bani' },
jetsri: { id: '30', nameGurmukhi: 'jYqsrI kI vwr', type: 'bani' },
maru: { id: '31', nameGurmukhi: 'mwrU kI vwr (mhlw 5)', type: 'bani' },
din: { id: '32', nameGurmukhi: 'idn rYix', type: 'bani' },
kucaji: { id: '33', nameGurmukhi: 'kucjI Aqy sucjI', type: 'bani' },
gunvanti: { id: '34', nameGurmukhi: 'guxvMqI', type: 'bani' },
raamkaliSadu: { id: '35', nameGurmukhi: 'rwmklI sdu', type: 'bani' },
alahnia: { id: '36', nameGurmukhi: 'AlwhxIAw (sog dw gIq)', type: 'bani' },
anandSahibShort: { id: '6', nameGurmukhi: 'Anµdu swihb (6 pauVIAW Aqy sloku)', type: 'bani' },
rehrasSahibS: { id: '7', nameGurmukhi: 'rhrwis swihb (s:)', type: 'bani' },
rehrasSahibT: { id: '8', nameGurmukhi: 'rhrwis swihb (t:)', type: 'bani' },
aarti: { id: '9', nameGurmukhi: 'AwrqI', type: 'bani' },
aartiLong: { id: '10', nameGurmukhi: 'v`fI AwrqI', type: 'bani' },
sohilaSahib: { id: '11', nameGurmukhi: 'soihlw swihb', type: 'bani' },
sukhmaniSahib: { id: '12', nameGurmukhi: 'suKmnI swihb', type: 'bani' },
asaKiVaar: { id: '13', nameGurmukhi: 'Awsw kI vwr', type: 'bani' },
ardaas: { id: '14', nameGurmukhi: 'Ardws', type: 'bani' },
salokMahla9: { id: '15', nameGurmukhi: 'slok mhlw 9', type: 'bani' },
shabadHazare: { id: '16', nameGurmukhi: 'Sbd hzwry', type: 'bani' },
shabadHazare10: { id: '17', nameGurmukhi: 'Sbd hzwry pwiqSwhI 10', type: 'bani' },
tavPrasadDeenan: { id: '18', nameGurmukhi: 'qÍ pRswid sÍXy (dInn kI)', type: 'bani' },
akalUstat: { id: '19', nameGurmukhi: 'Akwl ausqq', type: 'bani' },
bavanAkhri: { id: '20', nameGurmukhi: 'bwvn AKrI', type: 'bani' },
sidhGosht: { id: '21', nameGurmukhi: 'isD gosit', type: 'bani' },
oankaar: { id: '22', nameGurmukhi: 'EAMkwru', type: 'bani' },
baraMaha: { id: '23', nameGurmukhi: 'bwrh mwhw', type: 'bani' },
chandiDiVaar: { id: '24', nameGurmukhi: 'cMfI dI vwr', type: 'bani' },
lavan: { id: '25', nameGurmukhi: 'lwvW (Anµd kwrj)', type: 'bani' },
bhogMundavani: { id: '26', nameGurmukhi: 'sRI gurU gRMQ swihb dy pwT dw Bog (muMdwvxI)', type: 'bani' },
bhogRaagmala: { id: '27', nameGurmukhi: 'sRI gurU gRMQ swihb dy pwT dw Bog (rwgmwlw)', type: 'bani' },
ramkaliSadh: { id: '28', nameGurmukhi: 'rwmklI sdu', type: 'bani' },
alahnia: { id: '29', nameGurmukhi: 'AlwhxIAw (sog dw gIq)', type: 'bani' },
} as const

const defaultCollections: CollectionItem[] = [
Expand All @@ -52,7 +45,8 @@ const defaultCollections: CollectionItem[] = [
banis.tavPrasadSravag,
banis.bentiChaupai,
banis.anandSahib,
banis.rehrasSahib,
banis.rehrasSahibS,
banis.rehrasSahibT,
banis.ardaas,
banis.sohilaSahib,
],
Expand All @@ -68,21 +62,23 @@ const defaultCollections: CollectionItem[] = [
banis.tavPrasadSravag,
banis.bentiChaupai,
banis.anandSahib,
banis.anandSahibShort,
banis.shabadHazare,
banis.baraMaha,
banis.shabadHazare10,
banis.tavPrasadDeenan,
banis.rehrasSahib,
banis.rehrasSahibS,
banis.rehrasSahibT,
banis.ardaas,
banis.aarti,
banis.aartiLong,
banis.sohilaSahib,
banis.sukhmaniSahib,
banis.asaKiVaar,
banis.oankaar,
banis.sidhGosht,
banis.bavanAkhri,
banis.basantKiVar,
banis.barahMaha,
banis.baraMaha,
],
},
{
Expand Down

0 comments on commit 800f262

Please sign in to comment.