ya-ts-client
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -12,2 +12,3 @@ /** | ||
*/ | ||
import { DeployCommandBody } from './deploy-command-body'; | ||
/** | ||
@@ -21,6 +22,6 @@ * | ||
* | ||
* @type {object} | ||
* @type {DeployCommandBody} | ||
* @memberof DeployCommandAllOf | ||
*/ | ||
deploy: object; | ||
deploy: DeployCommandBody; | ||
} |
@@ -14,2 +14,4 @@ export * from './activity-state'; | ||
export * from './deploy-command-all-of'; | ||
export * from './deploy-command-body'; | ||
export * from './deploy-network'; | ||
export * from './destroy-activity'; | ||
@@ -16,0 +18,0 @@ export * from './error-message'; |
@@ -26,2 +26,4 @@ "use strict"; | ||
__exportStar(require("./deploy-command-all-of"), exports); | ||
__exportStar(require("./deploy-command-body"), exports); | ||
__exportStar(require("./deploy-network"), exports); | ||
__exportStar(require("./destroy-activity"), exports); | ||
@@ -28,0 +30,0 @@ __exportStar(require("./error-message"), exports); |
@@ -19,3 +19,3 @@ /** | ||
/** | ||
* The specification of ExeScript commands format as per Activity API specification. Including TRANSFER command syntax extension described in [this specification](https://github.com/golemfactory/golem-architecture/blob/master/GIPS/GIP-PR0001-multifile-transfer.md). ## Implementation Notes The schemas have been defined to accept a following format of JSON command collections: ``` [ { \"deploy\": {} }, { \"start\": { \"args\": [] } }, { \"transfer\": { \"from\": \"http://34.244.4.185:8000/LICENSE\", \"to\": \"container:/input/file_in\", \"format\": \"zip\", \"depth\": 2, \"fileset\": [{\"desc\":\"all images\", \"includes\": [\"*.jpg\"], \"excludes\": [\"db*.*\"] }] } }, { \"run\": { \"entry_point\": \"rust-wasi-tutorial\", \"args\": [\"/input/file_in\", \"/output/file_cp\"] } }, { \"sign\": {} }, { \"terminate\": {} }, ... ] ``` ### Rust For Rust - this format is a default representation of Rust enum types, as serialized by `serde` library. Therefore it is recommended to use this yaml specification to manually specify Rust enum types rather than depend on automatically-generated code. | ||
* The specification of ExeScript commands format as per Activity API specification. Including TRANSFER command syntax extension described in [this specification](https://github.com/golemfactory/golem-architecture/blob/master/GIPS/GIP-PR0001-multifile-transfer.md). ## Implementation Notes The schemas have been defined to accept a following format of JSON command collections: ``` [ { \"deploy\": { \"net\": [{ \"id\": \"id\", \"ip\": \"10.0.0.2\", \"mask\": \"255.255.0.0\" }], \"hosts\": {\"master\": \"10.0.0.1\"}, \"nodes\": {\"10.0.0.1\": \"0xdeadbeef\"} } }, { \"start\": { \"args\": [] } }, { \"transfer\": { \"from\": \"http://34.244.4.185:8000/LICENSE\", \"to\": \"container:/input/file_in\", \"format\": \"zip\", \"depth\": 2, \"fileset\": [{\"desc\":\"all images\", \"includes\": [\"*.jpg\"], \"excludes\": [\"db*.*\"] }] } }, { \"run\": { \"entry_point\": \"rust-wasi-tutorial\", \"args\": [\"/input/file_in\", \"/output/file_cp\"] } }, { \"sign\": {} }, { \"terminate\": {} }, ... ] ``` ### Rust For Rust - this format is a default representation of Rust enum types, as serialized by `serde` library. Therefore it is recommended to use this yaml specification to manually specify Rust enum types rather than depend on automatically-generated code. | ||
* @type {object} | ||
@@ -22,0 +22,0 @@ * @memberof RuntimeEventKindStartedAllOf |
export * as yaActivity from './dist/ya-activity/'; | ||
export * as yaMarket from './dist/ya-market/'; | ||
export * as yaPayment from './dist/ya-payment/'; | ||
export * as yaNet from './dist/ya-net/'; |
20
index.js
@@ -6,18 +6,22 @@ "use strict"; | ||
exports.yaPayment = exports.yaMarket = exports.yaActivity = void 0; | ||
var _yaActivity = _interopRequireWildcard(require("./dist/ya-activity/")); | ||
exports.yaActivity = _yaActivity; | ||
var _yaMarket = _interopRequireWildcard(require("./dist/ya-market/")); | ||
exports.yaMarket = _yaMarket; | ||
var _yaPayment = _interopRequireWildcard(require("./dist/ya-payment/")); | ||
exports.yaPayment = _yaPayment; | ||
var _yaNet = _interopRequireWildcard(require("./dist/ya-net/")); | ||
exports.yaNet = _yaNet; | ||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "ya-ts-client", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "NodeJS client for Golem", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/mdtanrikulu/ya-ts-client.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1214393
304
20299
1