Merge pull request #3220 from NoelDeMartin/MOBILE-3833

MOBILE-3833: Fix manual completion & update dependencies
main
Dani Palou 2022-03-31 16:56:14 +02:00 committed by GitHub
commit 74660541ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 720 additions and 1272 deletions

1981
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -114,7 +114,7 @@
"core-js": "3.9.1",
"es6-promise-plugin": "4.2.2",
"hammerjs": "2.0.8",
"jszip": "3.5.0",
"jszip": "3.7.1",
"mathjax": "2.7.7",
"moment": "2.29.0",
"nl.kingsquare.cordova.background-audio": "1.0.1",
@ -137,7 +137,7 @@
"@angular/compiler-cli": "10.0.14",
"@angular/language-service": "10.0.14",
"@ionic/angular-toolkit": "2.3.3",
"@ionic/cli": "6.14.1",
"@ionic/cli": "6.19.0",
"@types/faker": "5.1.3",
"@types/node": "12.12.64",
"@types/resize-observer-browser": "0.1.5",

View File

@ -109,7 +109,7 @@ export const OFFLINE_SITE_SCHEMA: CoreSiteSchema = {
type: 'TEXT',
},
{
name: 'timeaccess',
name: 'timecompleted',
type: 'INTEGER',
},
],

View File

@ -12,18 +12,21 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import { CoreApp, CoreAppProvider } from '@services/app';
import { CoreConfig, CoreConfigProvider } from '@services/config';
import { CoreDB, CoreDbProvider } from '@services/db';
import { CoreCustomURLSchemes, CoreCustomURLSchemesProvider } from '@services/urlschemes';
import { CoreConstants } from '../constants';
type DevelopmentWindow = Window & {
appProvider?: CoreAppProvider;
configProvider?: CoreConfigProvider;
dbProvider?: CoreDbProvider;
urlSchemes?: CoreCustomURLSchemesProvider;
};
function initializeDevelopmentWindow(window: DevelopmentWindow) {
window.appProvider = CoreApp.instance;
window.configProvider = CoreConfig.instance;
window.dbProvider = CoreDB.instance;
window.urlSchemes = CoreCustomURLSchemes.instance;