import { initOrUpdateIndex } from '../property/property.decorator';
import { IndexType } from './index-type.enum';
export function GSISortKey(indexName) {
    return function (target, propertyKey) {
        if (typeof propertyKey === 'string') {
            initOrUpdateIndex(IndexType.GSI, { name: indexName, keyType: 'RANGE' }, target, propertyKey);
        }
    };
}
//# sourceMappingURL=gsi-sort-key.decorator.js.map