unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
49 lines • 1.08 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class FakeSegmentStore {
count() {
return Promise.resolve(0);
}
create() {
throw new Error('Method not implemented.');
}
async delete() {
return;
}
async deleteAll() {
return;
}
async exists() {
return false;
}
get() {
throw new Error('Method not implemented.');
}
async getAll() {
return [];
}
async getActive() {
return [];
}
async getByStrategy() {
return [];
}
update() {
throw new Error('Method not implemented.');
}
addToStrategy() {
throw new Error('Method not implemented.');
}
removeFromStrategy() {
throw new Error('Method not implemented.');
}
async getAllFeatureStrategySegments() {
return [];
}
async existsByName() {
throw new Error('Method not implemented.');
}
destroy() { }
}
exports.default = FakeSegmentStore;
//# sourceMappingURL=fake-segment-store.js.map