build: upgrade to ionic 4 (update dependencies)

Closes #35
This commit is contained in:
Jovan Krunić
2019-01-31 11:16:30 +01:00
parent 63266f588f
commit c819d15386
7 changed files with 240 additions and 133 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -14,11 +14,11 @@
*/
import {Component} from '@angular/core';
import {ActivatedRoute} from '@angular/router';
import {SCThings} from '@openstapps/core';
import {SCThingOriginType, SCThings, SCThingType} from '@openstapps/core';
@Component({
selector: 'stapps-data-detail',
templateUrl: 'data-detail.html'
templateUrl: 'data-detail.html',
})
export class DataDetailComponent {
item: SCThings;
@@ -29,8 +29,9 @@ export class DataDetailComponent {
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'Dummy',
type: SCThingOriginType.Remote,
},
type: 'dish',
type: SCThingType.Dish,
uid: '',
};
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -13,7 +13,7 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {TestBed} from '@angular/core/testing';
import {SCSetting} from '@openstapps/core';
import {SCSetting, SCThingOriginType, SCThingType} from '@openstapps/core';
import {StorageModule} from '../storage/storage.module';
import {StorageProvider} from '../storage/storage.provider';
import {SettingsProvider} from './settings.provider';
@@ -159,6 +159,7 @@ describe('SettingsProvider', () => {
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'Dummy',
type: SCThingOriginType.Remote,
},
translations: {
de: {
@@ -170,7 +171,7 @@ describe('SettingsProvider', () => {
name: 'Username',
},
},
type: 'setting',
type: SCThingType.Setting,
uid: '',
},
{
@@ -185,6 +186,7 @@ describe('SettingsProvider', () => {
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'Dummy',
type: SCThingOriginType.Remote,
},
translations: {
de: {
@@ -196,7 +198,7 @@ describe('SettingsProvider', () => {
name: 'Password',
},
},
type: 'setting',
type: SCThingType.Setting,
uid: '',
},
{
@@ -211,6 +213,7 @@ describe('SettingsProvider', () => {
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'Dummy',
type: SCThingOriginType.Remote,
},
translations: {
de: {
@@ -222,7 +225,7 @@ describe('SettingsProvider', () => {
name: 'Age',
},
},
type: 'setting',
type: SCThingType.Setting,
uid: '',
},
{
@@ -238,6 +241,7 @@ describe('SettingsProvider', () => {
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'Dummy',
type: SCThingOriginType.Remote,
},
translations: {
de: {
@@ -253,7 +257,7 @@ describe('SettingsProvider', () => {
name: 'Group',
},
},
type: 'setting',
type: SCThingType.Setting,
uid: '',
},
{
@@ -269,6 +273,7 @@ describe('SettingsProvider', () => {
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'Dummy',
type: SCThingOriginType.Remote,
},
translations: {
de: {
@@ -282,7 +287,7 @@ describe('SettingsProvider', () => {
name: 'Language',
},
},
type: 'setting',
type: SCThingType.Setting,
uid: '',
},
{
@@ -298,6 +303,7 @@ describe('SettingsProvider', () => {
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'Dummy',
type: SCThingOriginType.Remote,
},
translations: {
de: {
@@ -313,7 +319,7 @@ describe('SettingsProvider', () => {
name: 'Position',
},
},
type: 'setting',
type: SCThingType.Setting,
uid: '',
},
{
@@ -329,6 +335,7 @@ describe('SettingsProvider', () => {
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'Dummy',
type: SCThingOriginType.Remote,
},
translations: {
de: {
@@ -342,7 +349,7 @@ describe('SettingsProvider', () => {
name: 'Numbers',
},
},
type: 'setting',
type: SCThingType.Setting,
uid: '',
},
];

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.