@quatrain/core 1.1.0 → 1.1.2

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.
@@ -224,7 +224,7 @@ class DataObject {
224
224
  return Reflect.get(this._properties, key).val(transform);
225
225
  }
226
226
  else {
227
- throw new Error(`Unknown property '${key}'`);
227
+ return undefined;
228
228
  }
229
229
  }
230
230
  toJSON(params = false) {
package/lib/statuses.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export declare const CREATED = "created";
2
+ export declare const DOWNLOADING = "downloading";
3
+ export declare const DOWNLOADED = "downloaded";
2
4
  export declare const PENDING = "pending";
3
5
  export declare const PROCESSING = "processing";
4
6
  export declare const ACTIVE = "active";
@@ -7,4 +9,5 @@ export declare const DELETABLE = "deletable";
7
9
  export declare const DELETED = "deleted";
8
10
  export declare const COMPLETED = "completed";
9
11
  export declare const DONE = "done";
12
+ export declare const KO = "ko";
10
13
  export declare const UNKNOWN = "unknown";
package/lib/statuses.js CHANGED
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UNKNOWN = exports.DONE = exports.COMPLETED = exports.DELETED = exports.DELETABLE = exports.ERROR = exports.ACTIVE = exports.PROCESSING = exports.PENDING = exports.CREATED = void 0;
3
+ exports.UNKNOWN = exports.KO = exports.DONE = exports.COMPLETED = exports.DELETED = exports.DELETABLE = exports.ERROR = exports.ACTIVE = exports.PROCESSING = exports.PENDING = exports.DOWNLOADED = exports.DOWNLOADING = exports.CREATED = void 0;
4
4
  exports.CREATED = 'created';
5
+ exports.DOWNLOADING = 'downloading';
6
+ exports.DOWNLOADED = 'downloaded';
5
7
  exports.PENDING = 'pending';
6
8
  exports.PROCESSING = 'processing';
7
9
  exports.ACTIVE = 'active';
@@ -10,4 +12,5 @@ exports.DELETABLE = 'deletable';
10
12
  exports.DELETED = 'deleted';
11
13
  exports.COMPLETED = 'completed';
12
14
  exports.DONE = 'done';
15
+ exports.KO = 'ko';
13
16
  exports.UNKNOWN = 'unknown';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/core",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Core objects for business apps",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",