From 8ae3d05298d4e37d462030c69f79dff4a9ce6e9c Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Fri, 30 Jun 2023 22:19:58 +0400 Subject: [PATCH] [FIX]: change all_disengaged_were_consistenly_active to all_disengaged_were_consistently_active --- README.md | 2 +- __tests__/unit/models/memberActivity.model.test.ts | 1 + package.json | 2 +- src/interfaces/MemberActivity.interface.ts | 2 +- src/models/schemas/MemberActivity.schema.ts | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d0b5165..fa59a28 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ memberactivities { all_dropped: Array, all_joined: Array, all_disengaged_were_newly_active: Array, - all_disengaged_were_consistenly_active: Array, + all_disengaged_were_consistently_active: Array, all_disengaged_were_vital: Array, } ``` diff --git a/__tests__/unit/models/memberActivity.model.test.ts b/__tests__/unit/models/memberActivity.model.test.ts index ec5f711..f26eef5 100644 --- a/__tests__/unit/models/memberActivity.model.test.ts +++ b/__tests__/unit/models/memberActivity.model.test.ts @@ -43,6 +43,7 @@ describe('MemberActivity model', () => { 'Ene SS Rawa#0855', ], all_still_active: [], + all_disengaged_were_consistently_active: [], }; }); diff --git a/package.json b/package.json index f20e82a..dd1ba32 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@togethercrew.dev/db", - "version": "2.4.5", + "version": "2.4.6", "description": "All interactions with DB", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/interfaces/MemberActivity.interface.ts b/src/interfaces/MemberActivity.interface.ts index a93a17d..994288c 100644 --- a/src/interfaces/MemberActivity.interface.ts +++ b/src/interfaces/MemberActivity.interface.ts @@ -16,7 +16,7 @@ export interface IMemberActivity { all_joined?: string[]; all_dropped?: string[]; all_disengaged_were_newly_active?: string[]; - all_disengaged_were_consistenly_active?: string[]; + all_disengaged_were_consistently_active?: string[]; all_disengaged_were_vital?: string[]; } diff --git a/src/models/schemas/MemberActivity.schema.ts b/src/models/schemas/MemberActivity.schema.ts index 55a44e9..e574713 100644 --- a/src/models/schemas/MemberActivity.schema.ts +++ b/src/models/schemas/MemberActivity.schema.ts @@ -76,7 +76,7 @@ const MemberActivitySchema = new Schema({ type: String, }, ], - all_disengaged_were_consistenly_active: [ + all_disengaged_were_consistently_active: [ { type: String, },