@unyt/datex 0.0.10 → 0.0.11
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/esm/datex-core/datex_core_js.internal.d.ts +255 -271
- package/esm/datex-core/datex_core_js.internal.d.ts.map +1 -1
- package/esm/datex-core/datex_core_js.internal.js +595 -558
- package/esm/datex-core/datex_core_js.wasm +0 -0
- package/esm/deno.json +5 -3
- package/esm/dif/core.d.ts +5 -3
- package/esm/dif/core.d.ts.map +1 -1
- package/esm/dif/core.js +7 -5
- package/esm/dif/definitions.d.ts +45 -34
- package/esm/dif/definitions.d.ts.map +1 -1
- package/esm/dif/definitions.js +14 -9
- package/esm/dif/dif-handler.d.ts +125 -34
- package/esm/dif/dif-handler.d.ts.map +1 -1
- package/esm/dif/dif-handler.js +366 -159
- package/esm/dif/display.d.ts +3 -3
- package/esm/dif/display.d.ts.map +1 -1
- package/esm/dif/display.js +5 -5
- package/esm/dif/js-lib.d.ts +8 -0
- package/esm/dif/js-lib.d.ts.map +1 -0
- package/esm/dif/js-lib.js +3 -0
- package/esm/dif/mod.d.ts +0 -1
- package/esm/dif/mod.d.ts.map +1 -1
- package/esm/dif/mod.js +0 -1
- package/esm/dif/type-registry.d.ts +80 -0
- package/esm/dif/type-registry.d.ts.map +1 -0
- package/esm/dif/type-registry.js +166 -0
- package/esm/global.d.ts +2 -0
- package/esm/global.d.ts.map +1 -0
- package/esm/global.js +1 -0
- package/esm/{runtime/special-core-types.d.ts → lib/special-core-types/endpoint.d.ts} +1 -1
- package/esm/lib/special-core-types/endpoint.d.ts.map +1 -0
- package/esm/refs/ref.d.ts.map +1 -1
- package/esm/refs/ref.js +1 -2
- package/esm/runtime/runtime.d.ts +19 -49
- package/esm/runtime/runtime.d.ts.map +1 -1
- package/esm/runtime/runtime.js +32 -7
- package/esm/utils/exceptions.d.ts +4 -0
- package/esm/utils/exceptions.d.ts.map +1 -0
- package/esm/utils/exceptions.js +9 -0
- package/package.json +1 -1
- package/esm/dif/builders.d.ts +0 -16
- package/esm/dif/builders.d.ts.map +0 -1
- package/esm/dif/builders.js +0 -28
- package/esm/runtime/special-core-types.d.ts.map +0 -1
- /package/esm/{runtime/special-core-types.js → lib/special-core-types/endpoint.js} +0 -0
package/esm/dif/builders.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module
|
|
3
|
-
* @description
|
|
4
|
-
* This module contains helper functions to create DIFUpdate objects.
|
|
5
|
-
*/
|
|
6
|
-
import { type DIFUpdateData } from "./definitions.js";
|
|
7
|
-
import type { DIFHandler } from "./dif-handler.js";
|
|
8
|
-
/**
|
|
9
|
-
* Creates a DIFUpdate object that describes replacing a pointer's value.
|
|
10
|
-
*/
|
|
11
|
-
export declare function DIF_Replace<T>(difHandler: DIFHandler, value: T): DIFUpdateData;
|
|
12
|
-
/**
|
|
13
|
-
* Creates a DIFUpdate object that describes updating a property of a pointer's value.
|
|
14
|
-
*/
|
|
15
|
-
export declare function DIF_UpdateProperty<K, V>(difHandler: DIFHandler, property: K, value: V): DIFUpdateData;
|
|
16
|
-
//# sourceMappingURL=builders.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"builders.d.ts","sourceRoot":"","sources":["../../src/dif/builders.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,kBAAkB,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;GAEG;AACH,wBAAgB,WAAW,CAAC,CAAC,EACzB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,CAAC,GACT,aAAa,CAMf;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EACnC,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE,CAAC,GACT,aAAa,CAQf"}
|
package/esm/dif/builders.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module
|
|
3
|
-
* @description
|
|
4
|
-
* This module contains helper functions to create DIFUpdate objects.
|
|
5
|
-
*/
|
|
6
|
-
import { DIFUpdateKind } from "./definitions.js";
|
|
7
|
-
/**
|
|
8
|
-
* Creates a DIFUpdate object that describes replacing a pointer's value.
|
|
9
|
-
*/
|
|
10
|
-
export function DIF_Replace(difHandler, value) {
|
|
11
|
-
const difValue = difHandler.convertJSValueToDIFValue(value);
|
|
12
|
-
return {
|
|
13
|
-
kind: DIFUpdateKind.Replace,
|
|
14
|
-
value: difValue,
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Creates a DIFUpdate object that describes updating a property of a pointer's value.
|
|
19
|
-
*/
|
|
20
|
-
export function DIF_UpdateProperty(difHandler, property, value) {
|
|
21
|
-
const difKey = difHandler.convertJSValueToDIFValue(property);
|
|
22
|
-
const difValue = difHandler.convertJSValueToDIFValue(value);
|
|
23
|
-
return {
|
|
24
|
-
kind: DIFUpdateKind.Set,
|
|
25
|
-
key: { kind: "value", value: difKey },
|
|
26
|
-
value: difValue,
|
|
27
|
-
};
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"special-core-types.d.ts","sourceRoot":"","sources":["../../src/runtime/special-core-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,QAAQ;;IAIjB,oFAAoF;IACpF,MAAM,CAAC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAa;IAE7D,OAAO;IAKP;;;OAGG;WACW,gBAAgB,CAAC,QAAQ,EAAE,QAAQ;IASjD;;;;OAIG;WACW,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ;IAa7C;;;OAGG;IACI,QAAQ,IAAI,MAAM;CAG5B"}
|
|
File without changes
|