@contember/engine-common
Advanced tools
Comparing version 0.12.0-beta.2 to 1.0.0-alpha.0
@@ -1,3 +0,2 @@ | ||
export * from './validation'; | ||
export * from './Project'; | ||
export * as Typesafe from './Typesafe'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./validation"), exports); | ||
__exportStar(require("./Project"), exports); | ||
exports.Typesafe = void 0; | ||
exports.Typesafe = require("./Typesafe"); | ||
//# sourceMappingURL=index.js.map |
@@ -13,2 +13,3 @@ import { EventType } from './EventType'; | ||
readonly createdAt: Date; | ||
readonly appliedAt: Date; | ||
readonly identityId: string; | ||
@@ -22,3 +23,3 @@ readonly transactionId: string; | ||
readonly type = EventType.update; | ||
constructor(id: string, createdAt: Date, identityId: string, transactionId: string, rowId: string[], tableName: string, values: { | ||
constructor(id: string, createdAt: Date, appliedAt: Date, identityId: string, transactionId: string, rowId: string[], tableName: string, values: { | ||
[column: string]: any; | ||
@@ -30,2 +31,3 @@ }); | ||
readonly createdAt: Date; | ||
readonly appliedAt: Date; | ||
readonly identityId: string; | ||
@@ -39,3 +41,3 @@ readonly transactionId: string; | ||
readonly type = EventType.create; | ||
constructor(id: string, createdAt: Date, identityId: string, transactionId: string, rowId: string[], tableName: string, values: { | ||
constructor(id: string, createdAt: Date, appliedAt: Date, identityId: string, transactionId: string, rowId: string[], tableName: string, values: { | ||
[column: string]: any; | ||
@@ -47,2 +49,3 @@ }); | ||
readonly createdAt: Date; | ||
readonly appliedAt: Date; | ||
readonly identityId: string; | ||
@@ -53,4 +56,4 @@ readonly transactionId: string; | ||
readonly type = EventType.delete; | ||
constructor(id: string, createdAt: Date, identityId: string, transactionId: string, rowId: string[], tableName: string); | ||
constructor(id: string, createdAt: Date, appliedAt: Date, identityId: string, transactionId: string, rowId: string[], tableName: string); | ||
} | ||
//# sourceMappingURL=Event.d.ts.map |
@@ -6,5 +6,6 @@ "use strict"; | ||
class UpdateEvent { | ||
constructor(id, createdAt, identityId, transactionId, rowId, tableName, values) { | ||
constructor(id, createdAt, appliedAt, identityId, transactionId, rowId, tableName, values) { | ||
this.id = id; | ||
this.createdAt = createdAt; | ||
this.appliedAt = appliedAt; | ||
this.identityId = identityId; | ||
@@ -20,5 +21,6 @@ this.transactionId = transactionId; | ||
class CreateEvent { | ||
constructor(id, createdAt, identityId, transactionId, rowId, tableName, values) { | ||
constructor(id, createdAt, appliedAt, identityId, transactionId, rowId, tableName, values) { | ||
this.id = id; | ||
this.createdAt = createdAt; | ||
this.appliedAt = appliedAt; | ||
this.identityId = identityId; | ||
@@ -34,5 +36,6 @@ this.transactionId = transactionId; | ||
class DeleteEvent { | ||
constructor(id, createdAt, identityId, transactionId, rowId, tableName) { | ||
constructor(id, createdAt, appliedAt, identityId, transactionId, rowId, tableName) { | ||
this.id = id; | ||
this.createdAt = createdAt; | ||
this.appliedAt = appliedAt; | ||
this.identityId = identityId; | ||
@@ -39,0 +42,0 @@ this.transactionId = transactionId; |
export * from './config'; | ||
export * from './events'; | ||
export * from './Logger'; | ||
export * from './utils'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,2 +16,3 @@ "use strict"; | ||
__exportStar(require("./Logger"), exports); | ||
__exportStar(require("./utils"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@contember/engine-common", | ||
"version": "0.12.0-beta.2", | ||
"version": "1.0.0-alpha.0", | ||
"license": "Apache-2.0", | ||
@@ -11,4 +11,4 @@ "main": "dist/src/index.js", | ||
"devDependencies": { | ||
"@types/node": "^15.12.5" | ||
"@types/node": "^17.0.5" | ||
} | ||
} |
@@ -1,2 +0,1 @@ | ||
export * from './validation' | ||
export * from './Project' | ||
export * as Typesafe from './Typesafe' |
@@ -20,2 +20,3 @@ import { EventType } from './EventType' | ||
public readonly createdAt: Date, | ||
public readonly appliedAt: Date, | ||
public readonly identityId: string, | ||
@@ -35,2 +36,3 @@ public readonly transactionId: string, | ||
public readonly createdAt: Date, | ||
public readonly appliedAt: Date, | ||
public readonly identityId: string, | ||
@@ -50,2 +52,3 @@ public readonly transactionId: string, | ||
public readonly createdAt: Date, | ||
public readonly appliedAt: Date, | ||
public readonly identityId: string, | ||
@@ -52,0 +55,0 @@ public readonly transactionId: string, |
export * from './config' | ||
export * from './events' | ||
export * from './Logger' | ||
export * from './utils' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
69975
56
674