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