Commit 850ba234 authored by Matija Obreza's avatar Matija Obreza
Browse files

Module: GG ui-client moved to @gringlobal/client

parent 07ed0e31
......@@ -14,7 +14,7 @@
},
"workspaces": [
"packages/i18n",
"packages/ui-core"
"packages/client"
],
"devDependencies": {
"lerna": "^3.20.2"
......
{
"name": "@grin-global/ui-core",
"name": "@gringlobal/client",
"version": "0.0.1",
"license": "Apache-2.0",
"scripts": {
......
import { CONFIGURE_APPLICATION, SET_LANG } from '@grin-global/ui-core/constants/applicationConfig';
import { CONFIGURE_APPLICATION, SET_LANG } from '@gringlobal/client/constants/applicationConfig';
export const configure = (config: object) => ({
......
......@@ -2,19 +2,19 @@ import * as cookies from 'es-cookie';
import * as jwt from 'jsonwebtoken';
import { call, put, select, takeEvery } from 'redux-saga/effects';
// action
import navigateTo from '@grin-global/ui-core/action/navigation';
import navigateTo from '@gringlobal/client/action/navigation';
// constants
import {
LOGIN_APP, LOGIN_USER,
LOGIN_APP_SAGA, LOGIN_USER_SAGA, LOGOUT_USER_SAGA,
} from '@grin-global/ui-core/constants/login';
import { ROLE_CLIENT } from '@grin-global/ui-core/constants/userRoles';
} from '@gringlobal/client/constants/login';
import { ROLE_CLIENT } from '@gringlobal/client/constants/userRoles';
// service
import { LoginService } from '@grin-global/ui-core/service/LoginService';
import { LoginService } from '@gringlobal/client/service/LoginService';
// utilities
import { clearCookies, saveCookies } from '@grin-global/ui-core/utilities';
import { log } from '@grin-global/ui-core/utilities/debug';
import { configureBackendApi } from '@grin-global/ui-core/utilities/requestUtils';
import { clearCookies, saveCookies } from '@gringlobal/client/utilities';
import { log } from '@gringlobal/client/utilities/debug';
import { configureBackendApi } from '@gringlobal/client/utilities/requestUtils';
export const loginSagas = [
takeEvery(LOGIN_APP_SAGA, loginAppSaga),
......
import { takeEvery } from 'redux-saga/effects';
import { loginSagas } from '@grin-global/ui-core/action/login';
import { loginSagas } from '@gringlobal/client/action/login';
export const coreSagas = [
......
import AclSid from '@grin-global/ui-core/model/acl/AclSid';
import AclSid from '@gringlobal/client/model/acl/AclSid';
/*
* Defined in Swagger as '#/definitions/AclEntry'
......
import AclClass from '@grin-global/ui-core/model/acl/AclClass';
import AclSid from '@grin-global/ui-core/model/acl/AclSid';
import SidPermissions from '@grin-global/ui-core/model/acl/SidPermissions';
import AclClass from '@gringlobal/client/model/acl/AclClass';
import AclSid from '@gringlobal/client/model/acl/AclSid';
import SidPermissions from '@gringlobal/client/model/acl/SidPermissions';
/*
......
import AclSid from '@grin-global/ui-core/model/acl/AclSid';
import AclSid from '@gringlobal/client/model/acl/AclSid';
/*
* Defined in Swagger as '#/definitions/SidPermissions'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment