@kosko/common-utils
Advanced tools
Comparing version 0.0.0-20240324064444 to 0.0.0-20240324074257
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
export declare function isRecord(value: unknown): value is Record<string | symbol, unknown>; | ||
declare function isRecord(value: unknown): value is Record<string | symbol, unknown>; | ||
/** | ||
@@ -19,3 +19,3 @@ * Transforms `input` into an array, or leave it as-is if `input` is already an array. | ||
*/ | ||
export declare function toArray<T>(input: T | T[]): T[]; | ||
declare function toArray<T>(input: T | T[]): T[]; | ||
/** | ||
@@ -26,3 +26,3 @@ * Returns `code` of an error-like object. | ||
*/ | ||
export declare function getErrorCode(err: unknown): string | undefined; | ||
declare function getErrorCode(err: unknown): string | undefined; | ||
/** | ||
@@ -33,7 +33,7 @@ * Returns the group part of an Kubernetes API version string. | ||
*/ | ||
export declare function apiVersionToGroup(apiVersion: string): string; | ||
declare function apiVersionToGroup(apiVersion: string): string; | ||
/** | ||
* @public | ||
*/ | ||
export interface ManifestMeta { | ||
interface ManifestMeta { | ||
apiVersion: string; | ||
@@ -50,2 +50,5 @@ kind: string; | ||
*/ | ||
export declare function getManifestMeta(value: unknown): ManifestMeta | undefined; | ||
declare function getManifestMeta(value: unknown): ManifestMeta | undefined; | ||
export { type ManifestMeta, apiVersionToGroup, getErrorCode, getManifestMeta, isRecord, toArray }; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@kosko/common-utils", | ||
"version": "0.0.0-20240324064444", | ||
"version": "0.0.0-20240324074257", | ||
"description": "Common utilities used in Kosko.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://kosko.dev", |
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
13575
10
111