From cfca19dc681a511d9df04ac0b892c34710b54afc Mon Sep 17 00:00:00 2001 From: sercan Date: Sun, 23 May 2021 07:11:58 +0300 Subject: [PATCH] (mockApi) Removed typings from data files --- src/app/mock-api/common/messages/data.ts | 3 +-- src/app/mock-api/common/notifications/data.ts | 3 +-- src/app/mock-api/common/shortcuts/data.ts | 4 +--- src/app/mock-api/common/user/data.ts | 2 +- src/app/mock-api/pages/activities/data.ts | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/app/mock-api/common/messages/data.ts b/src/app/mock-api/common/messages/data.ts index cc85818e..1c824d6e 100644 --- a/src/app/mock-api/common/messages/data.ts +++ b/src/app/mock-api/common/messages/data.ts @@ -1,8 +1,7 @@ /* eslint-disable */ import * as moment from 'moment'; -import { Message } from 'app/layout/common/messages/messages.types'; -export const messages: Message[] = [ +export const messages = [ { id : '832276cc-c5e9-4fcc-8e23-d38e2e267bc9', image : 'assets/images/avatars/male-01.jpg', diff --git a/src/app/mock-api/common/notifications/data.ts b/src/app/mock-api/common/notifications/data.ts index 7f056fe1..373e1c1e 100644 --- a/src/app/mock-api/common/notifications/data.ts +++ b/src/app/mock-api/common/notifications/data.ts @@ -1,8 +1,7 @@ /* eslint-disable */ import * as moment from 'moment'; -import { Notification } from 'app/layout/common/notifications/notifications.types'; -export const notifications: Notification[] = [ +export const notifications = [ { id : '493190c9-5b61-4912-afe5-78c21f1044d7', icon : 'heroicons_outline:star', diff --git a/src/app/mock-api/common/shortcuts/data.ts b/src/app/mock-api/common/shortcuts/data.ts index bb56e940..38acd3d9 100644 --- a/src/app/mock-api/common/shortcuts/data.ts +++ b/src/app/mock-api/common/shortcuts/data.ts @@ -1,7 +1,5 @@ /* eslint-disable */ -import { Shortcut } from 'app/layout/common/shortcuts/shortcuts.types'; - -export const shortcuts: Shortcut[] = [ +export const shortcuts = [ { id : 'a1ae91d3-e2cb-459b-9be9-a184694f548b', label : 'Changelog', diff --git a/src/app/mock-api/common/user/data.ts b/src/app/mock-api/common/user/data.ts index 6f0f751b..9a51752a 100644 --- a/src/app/mock-api/common/user/data.ts +++ b/src/app/mock-api/common/user/data.ts @@ -1,5 +1,5 @@ /* eslint-disable */ -export const user: any = { +export const user = { id : 'cfaad35d-07a3-4447-a6c3-d8c3d54fd5df', name : 'Brian Hughes', email : 'hughes.brian@company.com', diff --git a/src/app/mock-api/pages/activities/data.ts b/src/app/mock-api/pages/activities/data.ts index 5f777ccb..7edee0e1 100644 --- a/src/app/mock-api/pages/activities/data.ts +++ b/src/app/mock-api/pages/activities/data.ts @@ -1,8 +1,7 @@ /* eslint-disable */ import * as moment from 'moment'; -import { Activity } from 'app/modules/admin/pages/activities/activities.types'; -export const activities: Activity[] = [ +export const activities = [ { id : '493190c9-5b61-4912-afe5-78c21f1044d7', icon : 'heroicons_solid:star',