@misk/common
Advanced tools
Comparing version 0.0.48 to 0.0.49
@@ -1,6 +0,6 @@ | ||
export interface IMiskAction<T, P> { | ||
export interface IAction<T, P> { | ||
readonly type: T; | ||
readonly payload?: P; | ||
} | ||
export declare function createAction<T extends string, P>(type: T, payload: P): IMiskAction<T, P>; | ||
export declare function createAction<T extends string, P>(type: T, payload: P): IAction<T, P>; | ||
export declare const errorMessage: (error: any) => any; |
@@ -1,2 +0,2 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Common=n():(t.Misk=t.Misk||{},t.Misk.Common=n())}("undefined"!=typeof window?window:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=0)}([function(t,n,e){"use strict";var r;Object.defineProperty(n,"__esModule",{value:!0}),e(1).__exportStar(e(2),n),function(t){t.NavTopbarMenu="NavTopbarMenu",t.TabEntry="TabEntry"}(r||(r={})),n.IMiskBinderKeys=r},function(t,n,e){"use strict";e.r(n),e.d(n,"__extends",function(){return o}),e.d(n,"__assign",function(){return u}),e.d(n,"__rest",function(){return i}),e.d(n,"__decorate",function(){return c}),e.d(n,"__param",function(){return f}),e.d(n,"__metadata",function(){return a}),e.d(n,"__awaiter",function(){return l}),e.d(n,"__generator",function(){return s}),e.d(n,"__exportStar",function(){return p}),e.d(n,"__values",function(){return y}),e.d(n,"__read",function(){return d}),e.d(n,"__spread",function(){return b}),e.d(n,"__await",function(){return _}),e.d(n,"__asyncGenerator",function(){return v}),e.d(n,"__asyncDelegator",function(){return h}),e.d(n,"__asyncValues",function(){return m}),e.d(n,"__makeTemplateObject",function(){return w}),e.d(n,"__importStar",function(){return O}),e.d(n,"__importDefault",function(){return j}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Common=n():(t.Misk=t.Misk||{},t.Misk.Common=n())}("undefined"!=typeof window?window:this,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=0)}([function(t,n,e){"use strict";var r;Object.defineProperty(n,"__esModule",{value:!0}),e(1).__exportStar(e(2),n),function(t){t.NavTopbarMenu="NavTopbarMenu",t.TabEntry="TabEntry"}(r||(r={})),n.IBinderKeys=r},function(t,n,e){"use strict";e.r(n),e.d(n,"__extends",function(){return o}),e.d(n,"__assign",function(){return u}),e.d(n,"__rest",function(){return i}),e.d(n,"__decorate",function(){return c}),e.d(n,"__param",function(){return f}),e.d(n,"__metadata",function(){return a}),e.d(n,"__awaiter",function(){return l}),e.d(n,"__generator",function(){return s}),e.d(n,"__exportStar",function(){return p}),e.d(n,"__values",function(){return y}),e.d(n,"__read",function(){return d}),e.d(n,"__spread",function(){return b}),e.d(n,"__await",function(){return _}),e.d(n,"__asyncGenerator",function(){return v}),e.d(n,"__asyncDelegator",function(){return h}),e.d(n,"__asyncValues",function(){return m}),e.d(n,"__makeTemplateObject",function(){return w}),e.d(n,"__importStar",function(){return O}),e.d(n,"__importDefault",function(){return j}); | ||
/*! ***************************************************************************** | ||
@@ -3,0 +3,0 @@ Copyright (c) Microsoft Corporation. All rights reserved. |
@@ -5,4 +5,3 @@ export * from "./actions"; | ||
*/ | ||
interface IMiskAdminTab { | ||
category: string; | ||
interface IWebTab { | ||
name: string; | ||
@@ -12,18 +11,25 @@ slug: string; | ||
} | ||
interface IMiskServiceMetadata { | ||
name: string; | ||
url: string; | ||
interface IDashboardTab extends IWebTab { | ||
category: string; | ||
} | ||
interface IAdminDashboardTab extends IDashboardTab { | ||
roles: string[]; | ||
services: string[]; | ||
} | ||
interface IServiceMetadata { | ||
app_name: string; | ||
environment: string; | ||
admin_dashboard_url: string; | ||
} | ||
declare enum IMiskBinderKeys { | ||
declare enum IBinderKeys { | ||
NavTopbarMenu = "NavTopbarMenu", | ||
TabEntry = "TabEntry" | ||
} | ||
interface IMiskBinder { | ||
multibind: (binder: IMiskBinderKeys, key: string, value: any) => any; | ||
interface IBinder { | ||
multibind: (binder: IBinderKeys, key: string, value: any) => any; | ||
} | ||
interface IMiskWindow extends Window { | ||
interface IWindow extends Window { | ||
__REDUX_DEVTOOLS_EXTENSION_COMPOSE__: any; | ||
Misk: { | ||
Binder: IMiskBinder; | ||
Binder: IBinder; | ||
Common: any; | ||
@@ -39,2 +45,2 @@ Components: any; | ||
} | ||
export { IMiskAdminTab, IMiskServiceMetadata, IMiskBinder, IMiskBinderKeys, IMiskWindow }; | ||
export { IWebTab, IDashboardTab, IAdminDashboardTab, IServiceMetadata, IBinder, IBinderKeys, IWindow }; |
{ | ||
"name": "@misk/common", | ||
"version": "0.0.48", | ||
"version": "0.0.49", | ||
"description": "Microservice Kontainer Common Libraries, Externals, Styles", | ||
@@ -23,4 +23,6 @@ "author": "Square/Misk Authors (https://github.com/square/misk/graphs/contributors)", | ||
"build": "yarn run lib", | ||
"clean": "rm -rf cachedUrls lib node_modules", | ||
"dev": "yarn run lib; yarn run updateDevCache", | ||
"dist": "yarn run lib", | ||
"docker-build": "yarn run refresh; node node_modules/webpack/bin/webpack.js --config webpack.config.js && node node_modules/webpack/bin/webpack.js --config webpack.config.static.js && node node_modules/webpack/bin/webpack.js --config webpack.config.vendors.js", | ||
"gradle": "yarn install && yarn build", | ||
@@ -31,3 +33,3 @@ "lib": "yarn run refresh; webpack --config webpack.config.js && webpack --config webpack.config.static.js && webpack --config webpack.config.vendors.js", | ||
"refresh": "node refreshCachedUrls.js", | ||
"reinstall": "rm -rf node_modules/ && yarn install", | ||
"reinstall": "yarn clean && yarn install", | ||
"updateDevCache": "cd ..; ./updateLocalCache.sh", | ||
@@ -37,4 +39,4 @@ "test": "echo no tests" | ||
"dependencies": { | ||
"@blueprintjs/core": "^3.6.1", | ||
"@blueprintjs/icons": "^3.1.0", | ||
"@blueprintjs/core": "^3.7.0", | ||
"@blueprintjs/icons": "^3.2.0", | ||
"axios": "^0.18.0", | ||
@@ -53,10 +55,10 @@ "connected-react-router": "^4.5.0", | ||
"react-router-redux": "^5.0.0-alpha.9", | ||
"react-transition-group": "^2.4.0", | ||
"react-transition-group": "^2.5.0", | ||
"redux": "^4.0.0", | ||
"redux-saga": "^0.16.0", | ||
"redux-saga": "^0.16.2", | ||
"skeleton-css": "^2.0.4", | ||
"styled-components": "^3.4.9" | ||
"styled-components": "^3.4.10" | ||
}, | ||
"devDependencies": { | ||
"@misk/dev": "^0.0.44", | ||
"@misk/dev": "^0.0.46", | ||
"@misk/tslint": "^0.0.7" | ||
@@ -63,0 +65,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4416473
5000
Updated@blueprintjs/core@^3.7.0
Updated@blueprintjs/icons@^3.2.0
Updatedredux-saga@^0.16.2
Updatedstyled-components@^3.4.10