@skipruntime/core 0.0.5 → 0.0.10
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/README.md +20 -0
- package/dist/api.d.ts +561 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +75 -0
- package/dist/api.js.map +1 -0
- package/dist/binding.d.ts +1 -1
- package/dist/binding.d.ts.map +1 -1
- package/dist/binding.js +1 -1
- package/dist/binding.js.map +1 -1
- package/dist/errors.d.ts +46 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +46 -1
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +54 -43
- package/dist/index.js.map +1 -1
- package/dist/utils.d.ts +2 -3
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +2 -2
- package/src/api.ts +665 -0
- package/src/binding.ts +1 -1
- package/src/errors.ts +46 -1
- package/src/index.ts +74 -48
- package/src/utils.ts +2 -3
- package/src/binding.js +0 -14
- package/src/errors.js +0 -26
- package/src/index.js +0 -742
- package/src/internal.js +0 -2
- package/src/utils.js +0 -57
package/src/internal.js
DELETED
package/src/utils.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a, _b, _c, _d;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Count = exports.Max = exports.Min = exports.Sum = void 0;
|
|
5
|
-
var std_1 = require("@skiplang/std");
|
|
6
|
-
/**
|
|
7
|
-
* `Reducer` to maintain the sum of input values.
|
|
8
|
-
*
|
|
9
|
-
* A `Reducer` that maintains the sum of values as they are added and removed from a collection.
|
|
10
|
-
*/
|
|
11
|
-
var Sum = /** @class */ (function () {
|
|
12
|
-
function Sum() {
|
|
13
|
-
this[_a] = "sum";
|
|
14
|
-
}
|
|
15
|
-
return Sum;
|
|
16
|
-
}());
|
|
17
|
-
exports.Sum = Sum;
|
|
18
|
-
_a = std_1.sknative;
|
|
19
|
-
/**
|
|
20
|
-
* `Reducer` to maintain the minimum of input values.
|
|
21
|
-
*
|
|
22
|
-
* A `Reducer` that maintains the minimum of values as they are added and removed from a collection.
|
|
23
|
-
*/
|
|
24
|
-
var Min = /** @class */ (function () {
|
|
25
|
-
function Min() {
|
|
26
|
-
this[_b] = "min";
|
|
27
|
-
}
|
|
28
|
-
return Min;
|
|
29
|
-
}());
|
|
30
|
-
exports.Min = Min;
|
|
31
|
-
_b = std_1.sknative;
|
|
32
|
-
/**
|
|
33
|
-
* `Reducer` to maintain the maximum of input values.
|
|
34
|
-
*
|
|
35
|
-
* A `Reducer` that maintains the maximum of values as they are added and removed from a collection.
|
|
36
|
-
*/
|
|
37
|
-
var Max = /** @class */ (function () {
|
|
38
|
-
function Max() {
|
|
39
|
-
this[_c] = "max";
|
|
40
|
-
}
|
|
41
|
-
return Max;
|
|
42
|
-
}());
|
|
43
|
-
exports.Max = Max;
|
|
44
|
-
_c = std_1.sknative;
|
|
45
|
-
/**
|
|
46
|
-
* `Reducer` to maintain the count of input values.
|
|
47
|
-
*
|
|
48
|
-
* A `Reducer` that maintains the number of values as they are added and removed from a collection.
|
|
49
|
-
*/
|
|
50
|
-
var Count = /** @class */ (function () {
|
|
51
|
-
function Count() {
|
|
52
|
-
this[_d] = "count";
|
|
53
|
-
}
|
|
54
|
-
return Count;
|
|
55
|
-
}());
|
|
56
|
-
exports.Count = Count;
|
|
57
|
-
_d = std_1.sknative;
|