UNPKG

@launchdarkly/js-server-sdk-common

Version:
13 lines 557 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @internal */ function makeBigSegmentRef(segment) { // The format of Big Segment references is independent of what store implementation is being // used; the store implementation receives only this string and does not know the details of // the data model. The Relay Proxy will use the same format when writing to the store. return `${segment.key}.g${segment.generation}`; } exports.default = makeBigSegmentRef; //# sourceMappingURL=makeBigSegmentRef.js.map