@revisium/core 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revisium/core",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Revisium is a tool (UI/API) inspired by JSON (JSON Schema) and Git, designed to provide a flexible and low-level headless CMS solution.",
5
5
  "private": false,
6
6
  "homepage": "https://revisium.io",
@@ -5,10 +5,12 @@ export type RowModelContext = {
5
5
  tableId: string;
6
6
  };
7
7
  export declare class RowModel {
8
+ createdId: string;
9
+ id: string;
8
10
  versionId: string;
9
11
  createdAt: Date;
12
+ updatedAt: Date;
10
13
  readonly: boolean;
11
- id: string;
12
14
  data: Prisma.JsonValue;
13
15
  rowForeignKeysTo: RowsConnection;
14
16
  countForeignKeysTo: number;
@@ -17,6 +17,14 @@ const rows_connection_model_1 = require("./rows-connection.model");
17
17
  let RowModel = class RowModel {
18
18
  };
19
19
  exports.RowModel = RowModel;
20
+ __decorate([
21
+ (0, graphql_1.Field)(),
22
+ __metadata("design:type", String)
23
+ ], RowModel.prototype, "createdId", void 0);
24
+ __decorate([
25
+ (0, graphql_1.Field)(),
26
+ __metadata("design:type", String)
27
+ ], RowModel.prototype, "id", void 0);
20
28
  __decorate([
21
29
  (0, graphql_1.Field)(),
22
30
  __metadata("design:type", String)
@@ -25,14 +33,14 @@ __decorate([
25
33
  (0, graphql_1.Field)(() => Date),
26
34
  __metadata("design:type", Date)
27
35
  ], RowModel.prototype, "createdAt", void 0);
36
+ __decorate([
37
+ (0, graphql_1.Field)(() => Date),
38
+ __metadata("design:type", Date)
39
+ ], RowModel.prototype, "updatedAt", void 0);
28
40
  __decorate([
29
41
  (0, graphql_1.Field)(() => Boolean),
30
42
  __metadata("design:type", Boolean)
31
43
  ], RowModel.prototype, "readonly", void 0);
32
- __decorate([
33
- (0, graphql_1.Field)(),
34
- __metadata("design:type", String)
35
- ], RowModel.prototype, "id", void 0);
36
44
  __decorate([
37
45
  (0, graphql_1.Field)(() => graphql_type_json_1.default),
38
46
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"row.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/row/model/row.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAyD;AACzD,2CAAwC;AACxC,yDAA4C;AAC5C,mEAAqF;AAQ9E,IAAM,QAAQ,GAAd,MAAM,QAAQ;CA0BpB,CAAA;AA1BY,4BAAQ;AAEnB;IADC,IAAA,eAAK,GAAE;;2CACU;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;2CAAC;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;0CACH;AAGlB;IADC,IAAA,eAAK,GAAE;;oCACG;AAGX;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAW,CAAC;;sCACF;AAGvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;8BACV,sCAAc;kDAAC;AAGjC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;oDACU;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;8BACV,sCAAc;kDAAC;mBAvBtB,QAAQ;IADpB,IAAA,oBAAU,GAAE;GACA,QAAQ,CA0BpB"}
1
+ {"version":3,"file":"row.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/row/model/row.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAyD;AACzD,2CAAwC;AACxC,yDAA4C;AAC5C,mEAAqF;AAQ9E,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAgCpB,CAAA;AAhCY,4BAAQ;AAEnB;IADC,IAAA,eAAK,GAAE;;2CACU;AAGlB;IADC,IAAA,eAAK,GAAE;;oCACG;AAGX;IADC,IAAA,eAAK,GAAE;;2CACU;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;2CAAC;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;2CAAC;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;0CACH;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAW,CAAC;;sCACF;AAGvB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;8BACV,sCAAc;kDAAC;AAGjC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;oDACU;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;8BACV,sCAAc;kDAAC;mBA7BtB,QAAQ;IADpB,IAAA,oBAAU,GAAE;GACA,QAAQ,CAgCpB"}
@@ -5,10 +5,12 @@ export type TableModelContext = {
5
5
  revisionId: string;
6
6
  };
7
7
  export declare class TableModel {
8
+ createdId: string;
9
+ id: string;
8
10
  versionId: string;
9
11
  createdAt: Date;
12
+ updatedAt: Date;
10
13
  readonly: boolean;
11
- id: string;
12
14
  rows: RowsConnection;
13
15
  count: number;
14
16
  schema: Prisma.JsonValue;
@@ -18,6 +18,14 @@ const table_connection_model_1 = require("./table-connection.model");
18
18
  let TableModel = class TableModel {
19
19
  };
20
20
  exports.TableModel = TableModel;
21
+ __decorate([
22
+ (0, graphql_1.Field)(),
23
+ __metadata("design:type", String)
24
+ ], TableModel.prototype, "createdId", void 0);
25
+ __decorate([
26
+ (0, graphql_1.Field)(),
27
+ __metadata("design:type", String)
28
+ ], TableModel.prototype, "id", void 0);
21
29
  __decorate([
22
30
  (0, graphql_1.Field)(),
23
31
  __metadata("design:type", String)
@@ -26,14 +34,14 @@ __decorate([
26
34
  (0, graphql_1.Field)(() => Date),
27
35
  __metadata("design:type", Date)
28
36
  ], TableModel.prototype, "createdAt", void 0);
37
+ __decorate([
38
+ (0, graphql_1.Field)(() => Date),
39
+ __metadata("design:type", Date)
40
+ ], TableModel.prototype, "updatedAt", void 0);
29
41
  __decorate([
30
42
  (0, graphql_1.Field)(() => Boolean),
31
43
  __metadata("design:type", Boolean)
32
44
  ], TableModel.prototype, "readonly", void 0);
33
- __decorate([
34
- (0, graphql_1.Field)(),
35
- __metadata("design:type", String)
36
- ], TableModel.prototype, "id", void 0);
37
45
  __decorate([
38
46
  (0, graphql_1.Field)(() => rows_connection_model_1.RowsConnection),
39
47
  __metadata("design:type", rows_connection_model_1.RowsConnection)
@@ -1 +1 @@
1
- {"version":3,"file":"table.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/table/model/table.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAyD;AACzD,2CAAwC;AACxC,yDAA4C;AAE5C,iFAAqF;AACrF,qEAA0F;AAOnF,IAAM,UAAU,GAAhB,MAAM,UAAU;CAmCtB,CAAA;AAnCY,gCAAU;AAErB;IADC,IAAA,eAAK,GAAE;;6CACU;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;6CAAC;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;4CACH;AAGlB;IADC,IAAA,eAAK,GAAE;;sCACG;AAGX;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;8BACtB,sCAAc;wCAAC;AAGrB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;yCACH;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAW,CAAC;;0CACA;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yCAAgB,CAAC;8BACf,yCAAgB;iDAAC;AAGhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;sDACU;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yCAAgB,CAAC;8BACf,yCAAgB;iDAAC;AAGhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;sDACU;qBAhChB,UAAU;IADtB,IAAA,oBAAU,GAAE;GACA,UAAU,CAmCtB"}
1
+ {"version":3,"file":"table.model.js","sourceRoot":"","sources":["../../../../../../src/api/graphql-api/table/model/table.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAyD;AACzD,2CAAwC;AACxC,yDAA4C;AAE5C,iFAAqF;AACrF,qEAA0F;AAOnF,IAAM,UAAU,GAAhB,MAAM,UAAU;CAyCtB,CAAA;AAzCY,gCAAU;AAErB;IADC,IAAA,eAAK,GAAE;;6CACU;AAGlB;IADC,IAAA,eAAK,GAAE;;sCACG;AAGX;IADC,IAAA,eAAK,GAAE;;6CACU;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;6CAAC;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;6CAAC;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;4CACH;AAGlB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;8BACtB,sCAAc;wCAAC;AAGrB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;yCACH;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,2BAAW,CAAC;;0CACA;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yCAAgB,CAAC;8BACf,yCAAgB;iDAAC;AAGhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;sDACU;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,yCAAgB,CAAC;8BACf,yCAAgB;iDAAC;AAGhC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,CAAC;;sDACU;qBAtChB,UAAU;IADtB,IAAA,oBAAU,GAAE;GACA,UAAU,CAyCtB"}
@@ -1,8 +1,10 @@
1
1
  import { Prisma } from '@prisma/client';
2
2
  export declare class RowModel {
3
- versionId: string;
3
+ createdId: string;
4
4
  id: string;
5
+ versionId: string;
5
6
  createdAt: Date;
7
+ updatedAt: Date;
6
8
  readonly: boolean;
7
9
  data: Prisma.JsonValue;
8
10
  }
@@ -19,15 +19,23 @@ exports.RowModel = RowModel;
19
19
  __decorate([
20
20
  (0, swagger_1.ApiProperty)(),
21
21
  __metadata("design:type", String)
22
- ], RowModel.prototype, "versionId", void 0);
22
+ ], RowModel.prototype, "createdId", void 0);
23
23
  __decorate([
24
24
  (0, swagger_1.ApiProperty)(),
25
25
  __metadata("design:type", String)
26
26
  ], RowModel.prototype, "id", void 0);
27
+ __decorate([
28
+ (0, swagger_1.ApiProperty)(),
29
+ __metadata("design:type", String)
30
+ ], RowModel.prototype, "versionId", void 0);
27
31
  __decorate([
28
32
  (0, swagger_1.ApiProperty)({ type: Date }),
29
33
  __metadata("design:type", Date)
30
34
  ], RowModel.prototype, "createdAt", void 0);
35
+ __decorate([
36
+ (0, swagger_1.ApiProperty)({ type: Date }),
37
+ __metadata("design:type", Date)
38
+ ], RowModel.prototype, "updatedAt", void 0);
31
39
  __decorate([
32
40
  (0, swagger_1.ApiProperty)(),
33
41
  __metadata("design:type", Boolean)
@@ -1 +1 @@
1
- {"version":3,"file":"row.model.js","sourceRoot":"","sources":["../../../../../../src/api/rest-api/row/model/row.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,2CAAwC;AACxC,uEAAyE;AAEzE,MAAa,QAAQ;CAepB;AAfD,4BAeC;AAbC;IADC,IAAA,qBAAW,GAAE;;2CACI;AAGlB;IADC,IAAA,qBAAW,GAAE;;oCACH;AAGX;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;2CAAC;AAGhB;IADC,IAAA,qBAAW,GAAE;;0CACI;AAGlB;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;sCACT;AAGzB,MAAa,cAAe,SAAQ,IAAA,2BAAS,EAAC,QAAQ,EAAE,UAAU,CAAC;CAAG;AAAtE,wCAAsE"}
1
+ {"version":3,"file":"row.model.js","sourceRoot":"","sources":["../../../../../../src/api/rest-api/row/model/row.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,2CAAwC;AACxC,uEAAyE;AAEzE,MAAa,QAAQ;CAqBpB;AArBD,4BAqBC;AAnBC;IADC,IAAA,qBAAW,GAAE;;2CACI;AAGlB;IADC,IAAA,qBAAW,GAAE;;oCACH;AAGX;IADC,IAAA,qBAAW,GAAE;;2CACI;AAGlB;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;2CAAC;AAGhB;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;2CAAC;AAGhB;IADC,IAAA,qBAAW,GAAE;;0CACI;AAGlB;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;sCACT;AAGzB,MAAa,cAAe,SAAQ,IAAA,2BAAS,EAAC,QAAQ,EAAE,UAAU,CAAC;CAAG;AAAtE,wCAAsE"}
@@ -3,9 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.transformFromPaginatedPrismaToRowModel = exports.transformFromPrismaToRowModel = void 0;
4
4
  const transformFromPrismaToRowModel = (data) => {
5
5
  return {
6
- versionId: data.versionId,
6
+ createdId: data.createdId,
7
7
  id: data.id,
8
+ versionId: data.versionId,
8
9
  createdAt: data.createdAt,
10
+ updatedAt: data.updatedAt,
9
11
  readonly: data.readonly,
10
12
  data: data.data,
11
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"transformFromPrismaToRowModel.js","sourceRoot":"","sources":["../../../../../../src/api/rest-api/share/utils/transformFromPrismaToRowModel.ts"],"names":[],"mappings":";;;AAIO,MAAM,6BAA6B,GAAG,CAAC,IAAS,EAAY,EAAE;IACnE,OAAO;QACL,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,IAAI,EAAE,IAAI,CAAC,IAAI;KAChB,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,6BAA6B,iCAQxC;AAEK,MAAM,sCAAsC,GAAG,CAAC,EACrD,QAAQ,EACR,UAAU,EACV,KAAK,GACe,EAA4B,EAAE;IAClD,OAAO;QACL,QAAQ;QACR,UAAU;QACV,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC1B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAA,qCAA6B,EAAC,IAAI,CAAC,IAAI,CAAC;SAC/C,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC,CAAC;AAbW,QAAA,sCAAsC,0CAajD"}
1
+ {"version":3,"file":"transformFromPrismaToRowModel.js","sourceRoot":"","sources":["../../../../../../src/api/rest-api/share/utils/transformFromPrismaToRowModel.ts"],"names":[],"mappings":";;;AAIO,MAAM,6BAA6B,GAAG,CAAC,IAAS,EAAY,EAAE;IACnE,OAAO;QACL,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,IAAI,EAAE,IAAI,CAAC,IAAI;KAChB,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,6BAA6B,iCAUxC;AAEK,MAAM,sCAAsC,GAAG,CAAC,EACrD,QAAQ,EACR,UAAU,EACV,KAAK,GACe,EAA4B,EAAE;IAClD,OAAO;QACL,QAAQ;QACR,UAAU;QACV,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC1B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAA,qCAA6B,EAAC,IAAI,CAAC,IAAI,CAAC;SAC/C,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC,CAAC;AAbW,QAAA,sCAAsC,0CAajD"}
@@ -3,9 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.transformFromPaginatedPrismaToTableModel = exports.transformFromPrismaToTableModel = void 0;
4
4
  const transformFromPrismaToTableModel = (data) => {
5
5
  return {
6
- versionId: data.versionId,
6
+ createdId: data.createdId,
7
7
  id: data.id,
8
+ versionId: data.versionId,
8
9
  createdAt: data.createdAt,
10
+ updatedAt: data.updatedAt,
9
11
  readonly: data.readonly,
10
12
  };
11
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"transformFromPrismaToTableModel.js","sourceRoot":"","sources":["../../../../../../src/api/rest-api/share/utils/transformFromPrismaToTableModel.ts"],"names":[],"mappings":";;;AAIO,MAAM,+BAA+B,GAAG,CAAC,IAAW,EAAc,EAAE;IACzE,OAAO;QACL,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;KACxB,CAAC;AACJ,CAAC,CAAC;AAPW,QAAA,+BAA+B,mCAO1C;AAEK,MAAM,wCAAwC,GAAG,CAAC,EACvD,QAAQ,EACR,UAAU,EACV,KAAK,GACiB,EAA8B,EAAE;IACtD,OAAO;QACL,QAAQ;QACR,UAAU;QACV,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC1B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAA,uCAA+B,EAAC,IAAI,CAAC,IAAI,CAAC;SACjD,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC,CAAC;AAbW,QAAA,wCAAwC,4CAanD"}
1
+ {"version":3,"file":"transformFromPrismaToTableModel.js","sourceRoot":"","sources":["../../../../../../src/api/rest-api/share/utils/transformFromPrismaToTableModel.ts"],"names":[],"mappings":";;;AAIO,MAAM,+BAA+B,GAAG,CAAC,IAAW,EAAc,EAAE;IACzE,OAAO;QACL,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;KACxB,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,+BAA+B,mCAS1C;AAEK,MAAM,wCAAwC,GAAG,CAAC,EACvD,QAAQ,EACR,UAAU,EACV,KAAK,GACiB,EAA8B,EAAE;IACtD,OAAO;QACL,QAAQ;QACR,UAAU;QACV,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC1B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAA,uCAA+B,EAAC,IAAI,CAAC,IAAI,CAAC;SACjD,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC,CAAC;AAbW,QAAA,wCAAwC,4CAanD"}
@@ -1,7 +1,9 @@
1
1
  export declare class TableModel {
2
- versionId: string;
2
+ createdId: string;
3
3
  id: string;
4
+ versionId: string;
4
5
  createdAt: Date;
6
+ updatedAt: Date;
5
7
  readonly: boolean;
6
8
  }
7
9
  declare const TablesConnection_base: import("@nestjs/common").Type<any>;
@@ -18,15 +18,23 @@ exports.TableModel = TableModel;
18
18
  __decorate([
19
19
  (0, swagger_1.ApiProperty)(),
20
20
  __metadata("design:type", String)
21
- ], TableModel.prototype, "versionId", void 0);
21
+ ], TableModel.prototype, "createdId", void 0);
22
22
  __decorate([
23
23
  (0, swagger_1.ApiProperty)(),
24
24
  __metadata("design:type", String)
25
25
  ], TableModel.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, swagger_1.ApiProperty)(),
28
+ __metadata("design:type", String)
29
+ ], TableModel.prototype, "versionId", void 0);
26
30
  __decorate([
27
31
  (0, swagger_1.ApiProperty)({ type: Date }),
28
32
  __metadata("design:type", Date)
29
33
  ], TableModel.prototype, "createdAt", void 0);
34
+ __decorate([
35
+ (0, swagger_1.ApiProperty)({ type: Date }),
36
+ __metadata("design:type", Date)
37
+ ], TableModel.prototype, "updatedAt", void 0);
30
38
  __decorate([
31
39
  (0, swagger_1.ApiProperty)(),
32
40
  __metadata("design:type", Boolean)
@@ -1 +1 @@
1
- {"version":3,"file":"table.model.js","sourceRoot":"","sources":["../../../../../../src/api/rest-api/table/model/table.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,uEAAyE;AAEzE,MAAa,UAAU;CAYtB;AAZD,gCAYC;AAVC;IADC,IAAA,qBAAW,GAAE;;6CACI;AAGlB;IADC,IAAA,qBAAW,GAAE;;sCACH;AAGX;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;6CAAC;AAGhB;IADC,IAAA,qBAAW,GAAE;;4CACI;AAGpB,MAAa,gBAAiB,SAAQ,IAAA,2BAAS,EAAC,UAAU,EAAE,YAAY,CAAC;CAAG;AAA5E,4CAA4E"}
1
+ {"version":3,"file":"table.model.js","sourceRoot":"","sources":["../../../../../../src/api/rest-api/table/model/table.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,uEAAyE;AAEzE,MAAa,UAAU;CAkBtB;AAlBD,gCAkBC;AAhBC;IADC,IAAA,qBAAW,GAAE;;6CACI;AAGlB;IADC,IAAA,qBAAW,GAAE;;sCACH;AAGX;IADC,IAAA,qBAAW,GAAE;;6CACI;AAGlB;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;6CAAC;AAGhB;IADC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;6CAAC;AAGhB;IADC,IAAA,qBAAW,GAAE;;4CACI;AAGpB,MAAa,gBAAiB,SAAQ,IAAA,2BAAS,EAAC,UAAU,EAAE,YAAY,CAAC;CAAG;AAA5E,4CAA4E"}