From 00e4d5571f104dc284e78b2063dbf5843f42dcd2 Mon Sep 17 00:00:00 2001 From: Pratiksha Khandagale Date: Fri, 19 Jul 2024 11:52:21 +0530 Subject: [PATCH] remove unwanted code --- configuration/environment.dev.ts | 28 +++++++++++--------- src/assets/appConfig/localhost.json | 41 ++++++++++++++++++----------- src/assets/i18n/en.json | 11 ++++---- 3 files changed, 46 insertions(+), 34 deletions(-) diff --git a/configuration/environment.dev.ts b/configuration/environment.dev.ts index 71c37f77..477e3660 100644 --- a/configuration/environment.dev.ts +++ b/configuration/environment.dev.ts @@ -1,23 +1,25 @@ export const environment = { production: true }; - export const config = { api: { - BASE_URL: 'http://152.67.162.156:9000/', - BASE_URL_NEW: 'https://dev.ejp.sunbird.org/', - SEARCH_BASE_URL: 'http://129.154.42.158:8000/', - BOT_BASE_URL: 'http://144.24.130.223:7081/', - STORY_BOT_BASE_URL: 'http://152.67.183.46:7081/', - CONFIG: 'v1/config/read', - PAGE_SEARCH_API: 'v1/page/search', - CONTEXT_SEARCH: 'v1/context', - CONTENT_SEARCH_API: 'v1/content/search', - TELEMETRY_SYNC: 'v1/telemetry', + BASE_URL: 'https://school-api-dev.tekdinext.com/', + BASE_URL_BOT: 'https://school-openai.tekdinext.com/', + TELEMETRY_BASE_URL: 'https://school-dev.tekdinext.com/', + CONFIG: 'seeker/configuration', + PAGE_SEARCH_API: 'content/search', + CONTEXT_SEARCH: 'api/aiutility/v1/context', + CONTENT_SEARCH_API: 'content/search', + TELEMETRY_SYNC: 'telemetry/v1/telemetry', BOT_QUERY_API: 'v1/query', - SEARCH_API: 'api/content/v1/search', + SEARCH_API: 'content/search', + CONFIRM_API: 'confirm', BOT_SAKHI_API_PATH: 'v1/query', - BOT_ACTIVITY_API_PATH: 'v1/query' + BOT_ACTIVITY_API_PATH: 'api/activitybot/v1/query', + + REGISTER_DEVICE_API_PATH: 'api/registerMobileDevice', + KEY: 'myjp-0.1', + SECRET: '7tVOEu0xj0zYQiYtCYbauEkNC3NBXCpM' }, telmetry: { PRODUCER_ID: 'dev.ejp.mobileapp', diff --git a/src/assets/appConfig/localhost.json b/src/assets/appConfig/localhost.json index 63fe3946..f506e6f5 100644 --- a/src/assets/appConfig/localhost.json +++ b/src/assets/appConfig/localhost.json @@ -1,16 +1,17 @@ { - "tenantLogo": "assets/school/P_128x128.svg", - "siteName": "Prajayatna", - "siteByLine": "We learn. We live", - "splashImage": "assets/school/P_152x152.png", + "tenantLogo": "assets/school/DL_128x128.svg", + "siteName": "Dharma Life", + "siteByLine": "Listen, Learn & Grow !!!", + "splashImage": "assets/school/DL_152x152.png", "bots": ["teacher"], + "defaultContentFilter": [ { "agegroup": [ "3-6", "6-8" ], - "language":["Kannada"] + "language":["English", "Hindi"] } ], @@ -58,27 +59,37 @@ ], "languages": [ { - "id": "kn", - "label": "ಕನ್ನಡ", + "id": "en", + "label": "English", "default": true + }, + { + "id": "hi", + "label": "हिंदी", + "default": false } ], - "titleCode": [ "kn" + "titleCode": [ + "en", + "hi" ], - "kn": { - "teacherTaraBotName": "ಅಂಗನವಾಡಿ ಕಾರ್ಯಕರ್ತೆ" + "en": { + "teacherTaraBotName": "Pre-School Teachers" + }, + "hi": { + "teacherTaraBotName": "पूर्व-स्कूल शिक्षक" }, "footerText": "Developed with ❤️ by Tekdi Technologies ", - "headerColor": "#A71028", + "headerColor": "#e98021ff", "headerFontSize": "16", - "footerColor": "#A71028", + "footerColor": "#e98021ff", "footerFontSize": "16", "primaryCss" : { - "primary": "#A71028", - "shade": "#EEAA1F" + "primary": "#e98021ff", + "shade": "#186aaaff" }, "secondaryCss" : { - "secondary": "#EEAA1F", + "secondary": "#186aaaff", "shade": "#e98021ff" } } \ No newline at end of file diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 6845fd9f..02fe2955 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -1,4 +1,6 @@ { + + "e-Jaadui Pitara": "e-Jaadui Pitara", "All": "All", "Rhymes": "Rhymes", @@ -40,11 +42,9 @@ "QR Scan Result": "QR Scan Result", "edit": "Edit", "delete": "Delete", - "WELCOME_TO_STORY_SAKHI": "Wecome to ${botName}! \n I can create a new story about whatever you ask for. \n For example you can ask: \n - Tell a story about a child prodigy\n - Tell a story about a girl who loves her mom\n - Tell a story about a Monkey and a Frog\n Ask me what story do you want. You can type or speak.", - "WELCOME_TO_TEACHER_SAKHI": "Wecome to ${botName}! \n I can suggest you activities that you can do with your students (of age 3 to 8 years) at schools. \n I can also answer your questions about the play based learning suggested in the new NCF for Foundational Stage.\n Here are few examples of what you can ask.\n Examples:\n - What activity can I do with students to teach sorting or counting numbers\n - How can I conduct my class with children with special needs\n - What can I do to engage a child who is always distracted.\n I can answer your questions about the new NCF\n Ask me about anything that you want. You can type or speak.", - "WELCOME_TO_PARENT_SAKHI": "Wecome to ${botName}! \n I can suggest you activities that you can do with your children at home. It can also suggest how to handle certain situations with your child.\n Here are few examples of what you can ask:\n - My child gets irritated easily. What should I do?\n - What activity can I do with my child using vegetables in my kitchen ?\n - Suggest how I can make my child interested in household activities\n - My child is not physically active. He only plays game on mobile\n Ask me about anything that you want me to suggest. You can type or speak.", - - + "WELCOME_TO_STORY_SAKHI": "Welcome to ${botName}! \n I can create a new story about whatever you ask for. \n For example you can ask: \n - Tell a story about a child prodigy\n - Tell a story about a girl who loves her mom\n - Tell a story about a Monkey and a Frog\n Ask me what story do you want. You can type or speak.", + "WELCOME_TO_TEACHER_SAKHI": "Welcome to ${botName}! \n I can suggest you activities that you can do with your students (of age 3 to 8 years) at schools. \n I can also answer your questions about the play based learning suggested in the new NCF for Foundational Stage.\n Here are few examples of what you can ask.\n Examples:\n - What activity can I do with students to teach sorting or counting numbers\n - How can I conduct my class with children with special needs\n - What can I do to engage a child who is always distracted.\n I can answer your questions about the new NCF\n Ask me about anything that you want. You can type or speak.", + "WELCOME_TO_PARENT_SAKHI": "Welcome to ${botName}! \n I can suggest you activities that you can do with your children at home. It can also suggest how to handle certain situations with your child.\n Here are few examples of what you can ask:\n - My child gets irritated easily. What should I do?\n - What activity can I do with my child using vegetables in my kitchen ?\n - Suggest how I can make my child interested in household activities\n - My child is not physically active. He only plays game on mobile\n Ask me about anything that you want me to suggest. You can type or speak.", "Create": "Create", "No contents": "No contents", "Make a Story": "Make a Story", @@ -92,5 +92,4 @@ "Add Youtube URL": "Add Youtube URL", "Name": "Name", "Version": "Version" - } \ No newline at end of file