Module: _internals/utils
Functions
generateUniqueId
▸ generateUniqueId(): string
Returns
string
Defined in
packages/admin-sdk/src/_internals/utils.ts:4
isObject
▸ isObject(value
): value is any
Parameters
Name | Type |
---|---|
value | unknown |
Returns
value is any
Defined in
packages/admin-sdk/src/_internals/utils.ts:9
getLocationId
▸ getLocationId(): string
| null
Returns
string
| null
Defined in
packages/admin-sdk/src/_internals/utils.ts:13
getWindowSrc
▸ getWindowSrc(): string
Returns
string
Defined in
packages/admin-sdk/src/_internals/utils.ts:19
hasType
▸ hasType(type
, obj
): boolean
Parameters
Name | Type |
---|---|
type | string |
obj | any |
Returns
boolean
Defined in
packages/admin-sdk/src/_internals/utils.ts:26
hasOwnProperty
▸ hasOwnProperty(obj
, path
): boolean
Parameters
Name | Type |
---|---|
obj | any |
path | string |
Returns
boolean
Defined in
packages/admin-sdk/src/_internals/utils.ts:30
traverseObject
▸ traverseObject(this
, traversableObject
, processor
, previousKey?
): void
Parameters
Name | Type | Default value |
---|---|---|
this | any | undefined |
traversableObject | any | undefined |
processor | (parentEntry : any , key : string , value : any , previousKey : string ) => void | undefined |
previousKey | string | 'root' |
Returns
void
Defined in
packages/admin-sdk/src/_internals/utils.ts:35
isPrimitive
▸ isPrimitive(value
): boolean
Parameters
Name | Type |
---|---|
value | any |
Returns
boolean
Defined in
packages/admin-sdk/src/_internals/utils.ts:48
removeRoot
▸ removeRoot(path
): string
| number
Removes the root prefix from a path
Parameters
Name | Type |
---|---|
path | string | number |
Returns
string
| number
Defined in
packages/admin-sdk/src/_internals/utils.ts:55
findExtensionByBaseUrl
▸ findExtensionByBaseUrl(baseUrl?
): extension
| undefined
Parameters
Name | Type |
---|---|
baseUrl? | string |
Returns
extension
| undefined
Defined in
packages/admin-sdk/src/_internals/utils.ts:63