UNPKG

@codification/cutwater-aws

Version:

A library providing general functionality for TypeScript based AWS projects.

17 lines 768 B
import { AttributeMap } from '../AttributeMap'; import { CompoundItemId } from './CompoundItemId'; export declare class CompoundKey { readonly itemType: string; readonly compoundItemId: CompoundItemId; static readonly DEFAULT_PARENT = "CMPD_ROOT"; private constructor(); static fromItemId(itemType: string, itemId: string): CompoundKey; static fromAttributeMap(map: AttributeMap, partitionKey?: string, sortKey?: string): CompoundKey; get partitionKey(): string; get sortKey(): string; toKey(partitionKey?: string, sortKey?: string): AttributeMap; private hasParent; static toPartitionKey(parentId?: string): string; static toSortKey(itemType: string, itemId: string): string; } //# sourceMappingURL=CompoundKey.d.ts.map