@fernir2/saas-kit-cli 0.1.20 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base-repo/app-constants/aliases.cjs.js +1 -1
- package/base-repo/app-constants/aliases.js +1 -1
- package/level2/cli/create-saas-kit-app/bin/index.cjs.js +4 -4
- package/level2/cli/create-saas-kit-app/bin/index.js +3 -3
- package/level2/fd-toolbox/api/api-client.cjs.js +1 -1
- package/level2/fd-toolbox/api/api-client.js +1 -1
- package/level2/fd-toolbox/api/api-path-names.cjs.js +2 -2
- package/level2/fd-toolbox/api/api-paths.cjs.js +1 -1
- package/level2/fd-toolbox/api/api-paths.js +1 -1
- package/level2/fd-toolbox/api/base-api.cjs.js +1 -1
- package/level2/fd-toolbox/api/base-api.js +1 -1
- package/level2/fd-toolbox/auth/login-states.cjs.js +1 -1
- package/level2/fd-toolbox/auth/login-states.js +1 -1
- package/level2/fd-toolbox/auth/session-storage.cjs.js +1 -1
- package/level2/fd-toolbox/auth/session-storage.js +1 -1
- package/level2/fd-toolbox/auth/tokens.cjs.js +1 -1
- package/level2/fd-toolbox/auth/tokens.js +1 -1
- package/level2/fd-toolbox/constants/constants.cjs.js +1 -1
- package/level2/fd-toolbox/constants/constants.js +1 -1
- package/level2/fd-toolbox/enums/enums.cjs.js +1 -1
- package/level2/fd-toolbox/enums/enums.js +1 -1
- package/level2/fd-toolbox/errors/error-handler.cjs.js +1 -1
- package/level2/fd-toolbox/errors/error-handler.js +1 -1
- package/level2/fd-toolbox/errors/errors.cjs.js +1 -1
- package/level2/fd-toolbox/errors/errors.js +1 -1
- package/level2/fd-toolbox/errors/problem-details.cjs.js +1 -1
- package/level2/fd-toolbox/errors/problem-details.js +1 -1
- package/level2/fd-toolbox/functions/value-checking-functions.cjs.js +1 -1
- package/level2/fd-toolbox/functions/value-checking-functions.js +1 -1
- package/level2/fd-toolbox/http/url/urls.cjs.js +1 -1
- package/level2/fd-toolbox/http/url/urls.js +1 -1
- package/level2/fd-toolbox/infra/env-config.cjs.js +2 -2
- package/level2/fd-toolbox/infra/env-config.js +2 -2
- package/level2/fd-toolbox/infra/env-functions.cjs.js +1 -1
- package/level2/fd-toolbox/infra/env-functions.js +1 -1
- package/level2/fd-toolbox/infra/env-schema.cjs.js +2 -2
- package/level2/fd-toolbox/infra/env-schema.js +2 -2
- package/level2/fd-toolbox/infra/env-store.cjs.js +1 -1
- package/level2/fd-toolbox/infra/env-store.js +1 -1
- package/level2/fd-toolbox/lib/environments.cjs.js +1 -1
- package/level2/fd-toolbox/lib/environments.js +1 -1
- package/level2/fd-toolbox/lib/utils.cjs.js +1 -1
- package/level2/fd-toolbox/lib/utils.js +1 -1
- package/level2/fd-toolbox/local-storage/local-storage.cjs.js +1 -1
- package/level2/fd-toolbox/local-storage/local-storage.js +1 -1
- package/level2/fd-toolbox/logging/loggers.cjs.js +1 -1
- package/level2/fd-toolbox/logging/loggers.js +1 -1
- package/level2/fd-toolbox/notifications.cjs.js +2 -2
- package/level2/fd-toolbox/notifications.js +2 -2
- package/level2/fd-toolbox/odata/odata-constants.cjs.js +1 -1
- package/level2/fd-toolbox/odata/odata-constants.js +1 -1
- package/level2/fd-toolbox/odata/odatas.cjs.js +1 -1
- package/level2/fd-toolbox/odata/odatas.js +1 -1
- package/level2/fd-toolbox/odata/services/odata-filters.cjs.js +1 -1
- package/level2/fd-toolbox/odata/services/odata-filters.js +1 -1
- package/level2/fd-toolbox/paths/paths-names.cjs.js +2 -2
- package/level2/fd-toolbox/paths/paths-names.js +1 -1
- package/level2/fd-toolbox/routing/login-routers.cjs.js +1 -1
- package/level2/fd-toolbox/routing/login-routers.js +1 -1
- package/level2/fd-toolbox/routing/paths.cjs.js +1 -1
- package/level2/fd-toolbox/routing/paths.js +1 -1
- package/level2/fd-toolbox/strings/strings-constants.cjs.js +1 -1
- package/level2/fd-toolbox/strings/strings-constants.js +1 -1
- package/level2/fd-toolbox/strings/strings.cjs.js +1 -1
- package/level2/fd-toolbox/strings/strings.js +1 -1
- package/level2/fd-toolbox/types/ensure-type.cjs.js +1 -1
- package/level2/fd-toolbox/types/ensure-type.js +1 -1
- package/level2/fd-toolbox-core/core/name-of.cjs.js +1 -1
- package/level2/fd-toolbox-core/core/name-of.js +1 -1
- package/level2/fd-toolbox-core/types/resource-with-id.cjs.js +1 -1
- package/level2/fd-toolbox-core/types/resource-with-id.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _0x379520 = require('path');
|
|
5
5
|
|
|
6
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
6
|
+
var __defProp=Object['defineProperty'],__name=(_0x483545,_0x374fae)=>__defProp(_0x483545,'name',{'value':_0x374fae,'configurable':!![]});function getFileNameWithExtension(_0x52390f,_0xabc1cd){if(!_0xabc1cd['startsWith']('.'))return _0x52390f+'.'+_0xabc1cd;return _0x52390f+_0xabc1cd;}__name(getFileNameWithExtension,'getFileNameWithExtension');function getFullFilePath(_0x2bdd31,_0x2d66a5,..._0x529463){const _0x2e0a75=getFileNameWithExtension(_0x2bdd31,_0x2d66a5);return _0x379520.join(..._0x529463,_0x2e0a75);}__name(getFullFilePath,'getFullFilePath');
|
|
7
7
|
|
|
8
8
|
exports.getFileNameWithExtension = getFileNameWithExtension;
|
|
9
9
|
exports.getFullFilePath = getFullFilePath;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import { join } from 'path';
|
|
3
3
|
|
|
4
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
4
|
+
var __defProp=Object['defineProperty'],__name=(_0x483545,_0x374fae)=>__defProp(_0x483545,'name',{'value':_0x374fae,'configurable':!![]});function getFileNameWithExtension(_0x52390f,_0xabc1cd){if(!_0xabc1cd['startsWith']('.'))return _0x52390f+'.'+_0xabc1cd;return _0x52390f+_0xabc1cd;}__name(getFileNameWithExtension,'getFileNameWithExtension');function getFullFilePath(_0x2bdd31,_0x2d66a5,..._0x529463){const _0x2e0a75=getFileNameWithExtension(_0x2bdd31,_0x2d66a5);return join(..._0x529463,_0x2e0a75);}__name(getFullFilePath,'getFullFilePath');
|
|
5
5
|
|
|
6
6
|
export { getFileNameWithExtension, getFullFilePath };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var routes = require('./routes.cjs.js');
|
|
5
5
|
|
|
6
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
6
|
+
var __defProp=Object['defineProperty'],__name=(_0x21864d,_0x35ba59)=>__defProp(_0x21864d,'name',{'value':_0x35ba59,'configurable':!![]});function getRelativeLoginUrl(){return '/'+routes.routes['login'];}__name(getRelativeLoginUrl,'getRelativeLoginUrl');function getLoginUrl(){return window['location']['origin']+getRelativeLoginUrl();}__name(getLoginUrl,'getLoginUrl');function goToLogin(){window['location']['href']=getRelativeLoginUrl();}__name(goToLogin,'goToLogin');
|
|
7
7
|
|
|
8
8
|
exports.getLoginUrl = getLoginUrl;
|
|
9
9
|
exports.getRelativeLoginUrl = getRelativeLoginUrl;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import { routes } from './routes.js';
|
|
3
3
|
|
|
4
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
4
|
+
var __defProp=Object['defineProperty'],__name=(_0x21864d,_0x35ba59)=>__defProp(_0x21864d,'name',{'value':_0x35ba59,'configurable':!![]});function getRelativeLoginUrl(){return '/'+routes['login'];}__name(getRelativeLoginUrl,'getRelativeLoginUrl');function getLoginUrl(){return window['location']['origin']+getRelativeLoginUrl();}__name(getLoginUrl,'getLoginUrl');function goToLogin(){window['location']['href']=getRelativeLoginUrl();}__name(goToLogin,'goToLogin');
|
|
5
5
|
|
|
6
6
|
export { getLoginUrl, getRelativeLoginUrl, goToLogin };
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
var utils = require('../lib/utils.cjs.js');
|
|
5
5
|
|
|
6
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
6
|
+
var __defProp=Object['defineProperty'],__name=(_0x1e31e0,_0x4ce054)=>__defProp(_0x1e31e0,'name',{'value':_0x4ce054,'configurable':!![]});function addQueryParamsToPath(_0x17462e,_0x5424b9){let _0x287489=_0x17462e;if(_0x5424b9&&Array['isArray'](_0x5424b9))_0x287489+=convertQueryParamsArrayToString(_0x5424b9);else _0x5424b9&&utils.isPlainObject(_0x5424b9)&&(_0x287489+=convertQueryParamsObjectToString(_0x5424b9));return _0x287489;}__name(addQueryParamsToPath,'addQueryParamsToPath');function convertQueryParamsArrayToString(_0x4536e2){const _0x1211e1=_0x4536e2['map'](_0x411e82=>_0x411e82['name']+'='+_0x411e82['value'])['join']('&');return _0x1211e1?'?'+_0x1211e1:'';}__name(convertQueryParamsArrayToString,'convertQueryParamsArrayToString');function convertQueryParamsObjectToString(_0x412bf6){const _0x46c258=Object['entries'](_0x412bf6)['map'](([_0x36fcdb,_0x41e2db])=>_0x36fcdb+'='+_0x41e2db)['join']('&');return _0x46c258?'?'+_0x46c258:'';}__name(convertQueryParamsObjectToString,'convertQueryParamsObjectToString');
|
|
7
7
|
|
|
8
8
|
exports.addQueryParamsToPath = addQueryParamsToPath;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import { isPlainObject } from '../lib/utils.js';
|
|
3
3
|
|
|
4
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
4
|
+
var __defProp=Object['defineProperty'],__name=(_0x1e31e0,_0x4ce054)=>__defProp(_0x1e31e0,'name',{'value':_0x4ce054,'configurable':!![]});function addQueryParamsToPath(_0x17462e,_0x5424b9){let _0x287489=_0x17462e;if(_0x5424b9&&Array['isArray'](_0x5424b9))_0x287489+=convertQueryParamsArrayToString(_0x5424b9);else _0x5424b9&&isPlainObject(_0x5424b9)&&(_0x287489+=convertQueryParamsObjectToString(_0x5424b9));return _0x287489;}__name(addQueryParamsToPath,'addQueryParamsToPath');function convertQueryParamsArrayToString(_0x4536e2){const _0x1211e1=_0x4536e2['map'](_0x411e82=>_0x411e82['name']+'='+_0x411e82['value'])['join']('&');return _0x1211e1?'?'+_0x1211e1:'';}__name(convertQueryParamsArrayToString,'convertQueryParamsArrayToString');function convertQueryParamsObjectToString(_0x412bf6){const _0x46c258=Object['entries'](_0x412bf6)['map'](([_0x36fcdb,_0x41e2db])=>_0x36fcdb+'='+_0x41e2db)['join']('&');return _0x46c258?'?'+_0x46c258:'';}__name(convertQueryParamsObjectToString,'convertQueryParamsObjectToString');
|
|
5
5
|
|
|
6
6
|
export { addQueryParamsToPath };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var stringsConstants = require('./strings-constants.cjs.js');
|
|
5
5
|
var valueCheckingFunctions = require('../functions/value-checking-functions.cjs.js');
|
|
6
6
|
|
|
7
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
7
|
+
var __defProp=Object['defineProperty'],__name=(_0x479915,_0x590c99)=>__defProp(_0x479915,'name',{'value':_0x590c99,'configurable':!![]});function shortenWithEllipsis(_0x2a9fbd,_0x119fa8=stringsConstants.shortTextLength){if(valueCheckingFunctions.isNullOrUndefined(_0x2a9fbd))return '';return _0x2a9fbd['length']<-0x2616+-0x25d3+0x4beb?_0x2a9fbd['length']<=_0x119fa8?_0x2a9fbd:_0x2a9fbd['substring'](-0x24ba*0x1+-0x525+0x1b*0x18d,_0x119fa8):_0x2a9fbd['length']<=_0x119fa8?_0x2a9fbd:_0x2a9fbd['substring'](-0x1*0xa8d+-0x3c7*0x1+0xe54,_0x119fa8-(-0x1b37*0x1+0x1*-0x1df7+0x392f))+stringsConstants.ellipsis;}__name(shortenWithEllipsis,'shortenWithEllipsis');function trimCharacter(_0x1587a5,_0x18179e){let _0xb07454=_0x1587a5;if(Array['isArray'](_0x18179e))for(let _0x408868 of _0x18179e){(_0x1587a5['startsWith'](_0x408868)||_0x1587a5['endsWith'](_0x408868))&&(_0xb07454=trimOneCharacter(_0x1587a5,_0x408868));}else _0xb07454=trimOneCharacter(_0x1587a5,_0x18179e);return _0xb07454;}__name(trimCharacter,'trimCharacter');function trimOneCharacter(_0x304002,_0x1579af){let _0x5e69d7=_0x304002;return _0x5e69d7?.['startsWith'](_0x1579af)&&(_0x5e69d7=_0x5e69d7['substring'](-0x165d+0x1*0x2620+-0xfc2)),_0x5e69d7?.['endsWith'](_0x1579af)&&(_0x5e69d7=_0x5e69d7['substring'](-0x1991+0x162a+0x367,_0x5e69d7['lastIndexOf'](_0x1579af))),_0x5e69d7;}__name(trimOneCharacter,'trimOneCharacter');
|
|
8
8
|
|
|
9
9
|
exports.shortenWithEllipsis = shortenWithEllipsis;
|
|
10
10
|
exports.trimCharacter = trimCharacter;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { shortTextLength, ellipsis } from './strings-constants.js';
|
|
3
3
|
import { isNullOrUndefined } from '../functions/value-checking-functions.js';
|
|
4
4
|
|
|
5
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
5
|
+
var __defProp=Object['defineProperty'],__name=(_0x479915,_0x590c99)=>__defProp(_0x479915,'name',{'value':_0x590c99,'configurable':!![]});function shortenWithEllipsis(_0x2a9fbd,_0x119fa8=shortTextLength){if(isNullOrUndefined(_0x2a9fbd))return '';return _0x2a9fbd['length']<-0x2616+-0x25d3+0x4beb?_0x2a9fbd['length']<=_0x119fa8?_0x2a9fbd:_0x2a9fbd['substring'](-0x24ba*0x1+-0x525+0x1b*0x18d,_0x119fa8):_0x2a9fbd['length']<=_0x119fa8?_0x2a9fbd:_0x2a9fbd['substring'](-0x1*0xa8d+-0x3c7*0x1+0xe54,_0x119fa8-(-0x1b37*0x1+0x1*-0x1df7+0x392f))+ellipsis;}__name(shortenWithEllipsis,'shortenWithEllipsis');function trimCharacter(_0x1587a5,_0x18179e){let _0xb07454=_0x1587a5;if(Array['isArray'](_0x18179e))for(let _0x408868 of _0x18179e){(_0x1587a5['startsWith'](_0x408868)||_0x1587a5['endsWith'](_0x408868))&&(_0xb07454=trimOneCharacter(_0x1587a5,_0x408868));}else _0xb07454=trimOneCharacter(_0x1587a5,_0x18179e);return _0xb07454;}__name(trimCharacter,'trimCharacter');function trimOneCharacter(_0x304002,_0x1579af){let _0x5e69d7=_0x304002;return _0x5e69d7?.['startsWith'](_0x1579af)&&(_0x5e69d7=_0x5e69d7['substring'](-0x165d+0x1*0x2620+-0xfc2)),_0x5e69d7?.['endsWith'](_0x1579af)&&(_0x5e69d7=_0x5e69d7['substring'](-0x1991+0x162a+0x367,_0x5e69d7['lastIndexOf'](_0x1579af))),_0x5e69d7;}__name(trimOneCharacter,'trimOneCharacter');
|
|
6
6
|
|
|
7
7
|
export { shortenWithEllipsis, trimCharacter };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
4
|
+
var __defProp=Object['defineProperty'],__name=(_0x1f1777,_0x16f426)=>__defProp(_0x1f1777,'name',{'value':_0x16f426,'configurable':!![]});function ensureString(_0x38ad5e){return isString(_0x38ad5e)?_0x38ad5e:String(_0x38ad5e);}__name(ensureString,'ensureString');function ensureNumber(_0x400501){if(isNumber(_0x400501))return _0x400501;else {if(isString(_0x400501))return parseFloat(_0x400501);else return NaN;}}__name(ensureNumber,'ensureNumber');function ensureObjectArray(_0x5b310b){if(Array['isArray'](_0x5b310b)&&_0x5b310b['length']>0x457*0x9+0x15ed+-0x3cfc&&isObject(_0x5b310b[0x12ec+0x230b*-0x1+0x101f])){const _0x540675=[];for(const _0x33c515 of _0x5b310b){if(isObject(_0x33c515))_0x540675['push'](_0x33c515);}return _0x540675;}return [];}__name(ensureObjectArray,'ensureObjectArray');function ensureWithIndexer(_0x1cf8fd){let _0x4453f5={};return isWithIndexer(_0x1cf8fd)&&(_0x4453f5=_0x1cf8fd),_0x4453f5;}__name(ensureWithIndexer,'ensureWithIndexer');const types={'object':'object','string':'string','number':'number'};const stripeConflictResponseProperties={'detail':'detail'};function isObject(_0x46d5d3){return typeof _0x46d5d3===types['object']&&_0x46d5d3!==null;}__name(isObject,'isObject');function isString(_0x4e9f20){return typeof _0x4e9f20===types['string'];}__name(isString,'isString');function isNumber(_0x42811f){return typeof _0x42811f===types['number'];}__name(isNumber,'isNumber');function isWithIndexer(_0x5bbd4d){return isObject(_0x5bbd4d)&&!Array['isArray'](_0x5bbd4d);}__name(isWithIndexer,'isWithIndexer');function isArray(_0x5ccab8){return isObject(_0x5ccab8)&&Array['isArray'](_0x5ccab8);}__name(isArray,'isArray');function isErrorResponseWithDetail(_0x54ba4b){return isObject(_0x54ba4b)&&stripeConflictResponseProperties['detail']in _0x54ba4b;}__name(isErrorResponseWithDetail,'isErrorResponseWithDetail');function isBoolean(_0x919a9b){return typeof _0x919a9b==='boolean';}__name(isBoolean,'isBoolean');
|
|
5
5
|
|
|
6
6
|
exports.ensureNumber = ensureNumber;
|
|
7
7
|
exports.ensureObjectArray = ensureObjectArray;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
2
|
+
var __defProp=Object['defineProperty'],__name=(_0x1f1777,_0x16f426)=>__defProp(_0x1f1777,'name',{'value':_0x16f426,'configurable':!![]});function ensureString(_0x38ad5e){return isString(_0x38ad5e)?_0x38ad5e:String(_0x38ad5e);}__name(ensureString,'ensureString');function ensureNumber(_0x400501){if(isNumber(_0x400501))return _0x400501;else {if(isString(_0x400501))return parseFloat(_0x400501);else return NaN;}}__name(ensureNumber,'ensureNumber');function ensureObjectArray(_0x5b310b){if(Array['isArray'](_0x5b310b)&&_0x5b310b['length']>0x457*0x9+0x15ed+-0x3cfc&&isObject(_0x5b310b[0x12ec+0x230b*-0x1+0x101f])){const _0x540675=[];for(const _0x33c515 of _0x5b310b){if(isObject(_0x33c515))_0x540675['push'](_0x33c515);}return _0x540675;}return [];}__name(ensureObjectArray,'ensureObjectArray');function ensureWithIndexer(_0x1cf8fd){let _0x4453f5={};return isWithIndexer(_0x1cf8fd)&&(_0x4453f5=_0x1cf8fd),_0x4453f5;}__name(ensureWithIndexer,'ensureWithIndexer');const types={'object':'object','string':'string','number':'number'};const stripeConflictResponseProperties={'detail':'detail'};function isObject(_0x46d5d3){return typeof _0x46d5d3===types['object']&&_0x46d5d3!==null;}__name(isObject,'isObject');function isString(_0x4e9f20){return typeof _0x4e9f20===types['string'];}__name(isString,'isString');function isNumber(_0x42811f){return typeof _0x42811f===types['number'];}__name(isNumber,'isNumber');function isWithIndexer(_0x5bbd4d){return isObject(_0x5bbd4d)&&!Array['isArray'](_0x5bbd4d);}__name(isWithIndexer,'isWithIndexer');function isArray(_0x5ccab8){return isObject(_0x5ccab8)&&Array['isArray'](_0x5ccab8);}__name(isArray,'isArray');function isErrorResponseWithDetail(_0x54ba4b){return isObject(_0x54ba4b)&&stripeConflictResponseProperties['detail']in _0x54ba4b;}__name(isErrorResponseWithDetail,'isErrorResponseWithDetail');function isBoolean(_0x919a9b){return typeof _0x919a9b==='boolean';}__name(isBoolean,'isBoolean');
|
|
3
3
|
|
|
4
4
|
export { ensureNumber, ensureObjectArray, ensureString, ensureWithIndexer, isArray, isBoolean, isErrorResponseWithDetail, isNumber, isObject, isString, isWithIndexer, stripeConflictResponseProperties, types };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
4
|
+
var __defProp=Object['defineProperty'],__name=(_0x5b132a,_0x15cbf6)=>__defProp(_0x5b132a,'name',{'value':_0x15cbf6,'configurable':!![]});const nameOf=__name(_0x347c87=>_0x347c87['toString'](),'nameOf');const deepNameOf=__name((_0x9f9f41,_0x2d0d2b)=>_0x9f9f41+'.'+_0x2d0d2b,'deepNameOf');const nameOfWithType=__name(_0x64299e=>_0x64299e,'nameOfWithType');
|
|
5
5
|
|
|
6
6
|
exports.deepNameOf = deepNameOf;
|
|
7
7
|
exports.nameOf = nameOf;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
2
|
+
var __defProp=Object['defineProperty'],__name=(_0x5b132a,_0x15cbf6)=>__defProp(_0x5b132a,'name',{'value':_0x15cbf6,'configurable':!![]});const nameOf=__name(_0x347c87=>_0x347c87['toString'](),'nameOf');const deepNameOf=__name((_0x9f9f41,_0x2d0d2b)=>_0x9f9f41+'.'+_0x2d0d2b,'deepNameOf');const nameOfWithType=__name(_0x64299e=>_0x64299e,'nameOfWithType');
|
|
3
3
|
|
|
4
4
|
export { deepNameOf, nameOf, nameOfWithType };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var nameOf = require('../core/name-of.cjs.js');
|
|
5
5
|
|
|
6
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
6
|
+
var __defProp=Object['defineProperty'],__name=(_0x364a81,_0x45a54f)=>__defProp(_0x364a81,'name',{'value':_0x45a54f,'configurable':!![]});const withIdProps={'id':nameOf.nameOf('id')};function isResourceWithId(_0x1df04c){return _0x1df04c&&typeof _0x1df04c==='object'&&typeof _0x1df04c['id']==='string';}__name(isResourceWithId,'isResourceWithId');
|
|
7
7
|
|
|
8
8
|
exports.isResourceWithId = isResourceWithId;
|
|
9
9
|
exports.withIdProps = withIdProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
import { nameOf } from '../core/name-of.js';
|
|
3
3
|
|
|
4
|
-
var __defProp=Object['defineProperty'],__name=(
|
|
4
|
+
var __defProp=Object['defineProperty'],__name=(_0x364a81,_0x45a54f)=>__defProp(_0x364a81,'name',{'value':_0x45a54f,'configurable':!![]});const withIdProps={'id':nameOf('id')};function isResourceWithId(_0x1df04c){return _0x1df04c&&typeof _0x1df04c==='object'&&typeof _0x1df04c['id']==='string';}__name(isResourceWithId,'isResourceWithId');
|
|
5
5
|
|
|
6
6
|
export { isResourceWithId, withIdProps };
|