UNPKG

@dolittle/sdk.projections

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

20 lines 1.24 kB
"use strict"; // Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. Object.defineProperty(exports, "__esModule", { value: true }); exports.CurrentStateType = void 0; /** * Defines the different types a projection state can have. */ var CurrentStateType; (function (CurrentStateType) { /** * The state was created from the initial state. */ CurrentStateType[CurrentStateType["CreatedFromInitialState"] = 0] = "CreatedFromInitialState"; /** * The state was created from the persisted state. */ CurrentStateType[CurrentStateType["Persisted"] = 1] = "Persisted"; })(CurrentStateType = exports.CurrentStateType || (exports.CurrentStateType = {})); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VycmVudFN0YXRlVHlwZS5qcyIsInNvdXJjZVJvb3QiOiIuLi8iLCJzb3VyY2VzIjpbIlN0b3JlL0N1cnJlbnRTdGF0ZVR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtDQUErQztBQUMvQyxxR0FBcUc7OztBQUVyRzs7R0FFRztBQUNILElBQVksZ0JBU1g7QUFURCxXQUFZLGdCQUFnQjtJQUN4Qjs7T0FFRztJQUNILDZGQUF1QixDQUFBO0lBQ3ZCOztPQUVHO0lBQ0gsaUVBQVMsQ0FBQTtBQUNiLENBQUMsRUFUVyxnQkFBZ0IsR0FBaEIsd0JBQWdCLEtBQWhCLHdCQUFnQixRQVMzQiJ9