@icure/cardinal-sdk 2.0.0-PREVIEW-10 → 2.0.0-PREVIEW-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.
- package/Kermit-kermit-core.mjs +42 -42
- package/Kermit-kermit.mjs +8 -8
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +3919 -3777
- package/KotlinBigInteger-bignum.mjs +1434 -1470
- package/api/AnonymousHealthcarePartyApi.d.mts +2 -2
- package/cardinal-sdk-ts.d.mts +338 -100
- package/cardinal-sdk-ts.mjs +56590 -56248
- package/cardinal-sdk.mjs +126945 -106218
- package/kerberus.mjs +381 -381
- package/kotlin-kotlin-stdlib.mjs +3412 -2764
- package/kotlinx-atomicfu.mjs +14 -14
- package/kotlinx-coroutines-core.mjs +2690 -2687
- package/kotlinx-io-kotlinx-io-bytestring.mjs +47 -47
- package/kotlinx-io-kotlinx-io-core.mjs +539 -539
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2149 -2111
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +2047 -2029
- package/kryptom-lib.mjs +2065 -2081
- package/ktor-ktor-client-content-negotiation.mjs +217 -217
- package/ktor-ktor-client-core.mjs +2997 -2993
- package/ktor-ktor-events.mjs +8 -8
- package/ktor-ktor-http-cio.mjs +538 -537
- package/ktor-ktor-http.mjs +799 -927
- package/ktor-ktor-io.mjs +1079 -1079
- package/ktor-ktor-serialization-kotlinx-json.mjs +10 -10
- package/ktor-ktor-serialization-kotlinx.mjs +270 -270
- package/ktor-ktor-serialization.mjs +129 -129
- package/ktor-ktor-utils.mjs +614 -600
- package/ktor-ktor-websockets.mjs +751 -750
- package/model.d.mts +0 -1
- package/model.mjs +0 -1
- package/package.json +2 -3
- package/ktor-ktor-client-ktor-client-core.mjs +0 -8986
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +0 -756
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +0 -2
- package/ktor-ktor-http-ktor-http-cio.mjs +0 -1996
- package/ktor-ktor-shared-ktor-events.mjs +0 -79
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +0 -44
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +0 -857
- package/ktor-ktor-shared-ktor-serialization.mjs +0 -371
- package/ktor-ktor-shared-ktor-sse.mjs +0 -2
- package/ktor-ktor-shared-ktor-websocket-serialization.mjs +0 -2
- package/ktor-ktor-shared-ktor-websockets.mjs +0 -2334
- package/model/UserAndHealthcareParty.d.mts +0 -7
- package/model/UserAndHealthcareParty.mjs +0 -6
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
protoOf180f3jzyo7rfj as protoOf,
|
|
3
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
4
|
-
VOID7hggqo3abtya as VOID,
|
|
5
|
-
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
6
|
-
equals2au1ep9vhcato as equals,
|
|
7
|
-
addSuppressedu5jwjfvsc039 as addSuppressed,
|
|
8
|
-
Unit_instance104q5opgivhr8 as Unit_instance,
|
|
9
|
-
} from './kotlin-kotlin-stdlib.mjs';
|
|
10
|
-
import {
|
|
11
|
-
LockFreeLinkedListNode1f5fxflchw0ko as LockFreeLinkedListNode,
|
|
12
|
-
CopyOnWriteHashMap2wz01l72sexe7 as CopyOnWriteHashMap,
|
|
13
|
-
} from './ktor-ktor-utils.mjs';
|
|
14
|
-
//region block: imports
|
|
15
|
-
//endregion
|
|
16
|
-
//region block: pre-declaration
|
|
17
|
-
initMetadataForClass(EventDefinition, 'EventDefinition', EventDefinition);
|
|
18
|
-
initMetadataForClass(HandlerRegistration, 'HandlerRegistration', VOID, LockFreeLinkedListNode);
|
|
19
|
-
initMetadataForClass(Events, 'Events', Events);
|
|
20
|
-
//endregion
|
|
21
|
-
function EventDefinition() {
|
|
22
|
-
}
|
|
23
|
-
function HandlerRegistration() {
|
|
24
|
-
}
|
|
25
|
-
function Events() {
|
|
26
|
-
this.n3b_1 = new CopyOnWriteHashMap();
|
|
27
|
-
}
|
|
28
|
-
protoOf(Events).o3b = function (definition, value) {
|
|
29
|
-
var exception = null;
|
|
30
|
-
var tmp0_safe_receiver = this.n3b_1.g2q(definition);
|
|
31
|
-
if (tmp0_safe_receiver == null)
|
|
32
|
-
null;
|
|
33
|
-
else {
|
|
34
|
-
// Inline function 'io.ktor.util.internal.LockFreeLinkedListHead.forEach' call
|
|
35
|
-
var tmp = tmp0_safe_receiver.h14();
|
|
36
|
-
var cur = tmp instanceof LockFreeLinkedListNode ? tmp : THROW_CCE();
|
|
37
|
-
while (!equals(cur, tmp0_safe_receiver)) {
|
|
38
|
-
if (cur instanceof HandlerRegistration) {
|
|
39
|
-
var registration = cur;
|
|
40
|
-
try {
|
|
41
|
-
var tmp_0 = registration.q3b_1;
|
|
42
|
-
(typeof tmp_0 === 'function' ? tmp_0 : THROW_CCE())(value);
|
|
43
|
-
} catch ($p) {
|
|
44
|
-
if ($p instanceof Error) {
|
|
45
|
-
var e = $p;
|
|
46
|
-
var tmp0_safe_receiver_0 = exception;
|
|
47
|
-
var tmp_1;
|
|
48
|
-
if (tmp0_safe_receiver_0 == null) {
|
|
49
|
-
tmp_1 = null;
|
|
50
|
-
} else {
|
|
51
|
-
addSuppressed(tmp0_safe_receiver_0, e);
|
|
52
|
-
tmp_1 = Unit_instance;
|
|
53
|
-
}
|
|
54
|
-
if (tmp_1 == null) {
|
|
55
|
-
// Inline function 'kotlin.run' call
|
|
56
|
-
exception = e;
|
|
57
|
-
}
|
|
58
|
-
} else {
|
|
59
|
-
throw $p;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
cur = cur.f2r();
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
var tmp1_safe_receiver = exception;
|
|
67
|
-
if (tmp1_safe_receiver == null)
|
|
68
|
-
null;
|
|
69
|
-
else {
|
|
70
|
-
// Inline function 'kotlin.let' call
|
|
71
|
-
throw tmp1_safe_receiver;
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
//region block: exports
|
|
75
|
-
export {
|
|
76
|
-
EventDefinition as EventDefinition1fymk8xrdelhn,
|
|
77
|
-
Events as Events63tfxre48w4z,
|
|
78
|
-
};
|
|
79
|
-
//endregion
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
VOID7hggqo3abtya as VOID,
|
|
3
|
-
Unit_instance104q5opgivhr8 as Unit_instance,
|
|
4
|
-
} from './kotlin-kotlin-stdlib.mjs';
|
|
5
|
-
import { Application_getInstance1d4ly18wdhadx as Application_getInstance } from './ktor-ktor-http.mjs';
|
|
6
|
-
import { serialization1fpeds7cruos4 as serialization } from './ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs';
|
|
7
|
-
import { Jsonsmkyu9xjl7fv as Json } from './kotlinx-serialization-kotlinx-serialization-json.mjs';
|
|
8
|
-
//region block: imports
|
|
9
|
-
//endregion
|
|
10
|
-
//region block: pre-declaration
|
|
11
|
-
//endregion
|
|
12
|
-
function get_DefaultJson() {
|
|
13
|
-
_init_properties_JsonSupport_kt__yf438r();
|
|
14
|
-
return DefaultJson;
|
|
15
|
-
}
|
|
16
|
-
var DefaultJson;
|
|
17
|
-
function json(_this__u8e3s4, json, contentType) {
|
|
18
|
-
json = json === VOID ? get_DefaultJson() : json;
|
|
19
|
-
contentType = contentType === VOID ? Application_getInstance().f2u_1 : contentType;
|
|
20
|
-
_init_properties_JsonSupport_kt__yf438r();
|
|
21
|
-
serialization(_this__u8e3s4, contentType, json);
|
|
22
|
-
}
|
|
23
|
-
function DefaultJson$lambda($this$Json) {
|
|
24
|
-
_init_properties_JsonSupport_kt__yf438r();
|
|
25
|
-
$this$Json.k55_1 = true;
|
|
26
|
-
$this$Json.n55_1 = true;
|
|
27
|
-
$this$Json.y55_1 = true;
|
|
28
|
-
$this$Json.z55_1 = true;
|
|
29
|
-
$this$Json.o55_1 = false;
|
|
30
|
-
$this$Json.a56_1 = false;
|
|
31
|
-
return Unit_instance;
|
|
32
|
-
}
|
|
33
|
-
var properties_initialized_JsonSupport_kt_9cgd93;
|
|
34
|
-
function _init_properties_JsonSupport_kt__yf438r() {
|
|
35
|
-
if (!properties_initialized_JsonSupport_kt_9cgd93) {
|
|
36
|
-
properties_initialized_JsonSupport_kt_9cgd93 = true;
|
|
37
|
-
DefaultJson = Json(VOID, DefaultJson$lambda);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
//region block: exports
|
|
41
|
-
export {
|
|
42
|
-
json as jsonu6qnfo3b405p,
|
|
43
|
-
};
|
|
44
|
-
//endregion
|