@hestia-earth/api 0.18.11 → 0.18.13

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.
@@ -106,6 +106,7 @@ export declare class File extends BaseModel {
106
106
  isPrivate?: boolean;
107
107
  skipValidation?: boolean;
108
108
  study?: File;
109
+ fromDraft?: boolean;
109
110
  readonly isOwner?: boolean;
110
111
  readonly isAuthorized?: boolean;
111
112
  readonly isAssignedToMe?: boolean;
@@ -1,4 +1,9 @@
1
1
  import { BaseModel } from '../../db/model.base';
2
+ export declare enum MigrationType {
3
+ glossary = "glossary",
4
+ schema = "schema"
5
+ }
2
6
  export declare class Migration extends BaseModel {
3
7
  filenames: string[];
8
+ type: MigrationType;
4
9
  }
@@ -15,8 +15,13 @@ var __extends = (this && this.__extends) || (function () {
15
15
  };
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.Migration = void 0;
18
+ exports.Migration = exports.MigrationType = void 0;
19
19
  var model_base_1 = require("../../db/model.base");
20
+ var MigrationType;
21
+ (function (MigrationType) {
22
+ MigrationType["glossary"] = "glossary";
23
+ MigrationType["schema"] = "schema";
24
+ })(MigrationType = exports.MigrationType || (exports.MigrationType = {}));
20
25
  var Migration = (function (_super) {
21
26
  __extends(Migration, _super);
22
27
  function Migration() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/api",
3
- "version": "0.18.11",
3
+ "version": "0.18.13",
4
4
  "description": "Hestia API definitions",
5
5
  "main": "dist/models.js",
6
6
  "typings": "dist/models.d.ts",