@icure/cardinal-sdk 2.0.0-PREVIEW-8 → 2.0.0-PREVIEW-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/Kermit-kermit-core.mjs +36 -36
- package/Kermit-kermit.mjs +6 -6
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1637 -1637
- package/KotlinBigInteger-bignum.mjs +1083 -1083
- package/api/AnonymousAgendaApi.d.mts +1 -1
- package/api/AnonymousHealthcarePartyApi.d.mts +2 -2
- package/cardinal-sdk-ts.mjs +34025 -33914
- package/cardinal-sdk.mjs +97334 -97082
- package/crypto/CryptoStrategies.d.mts +1 -1
- package/kerberus.mjs +236 -236
- package/kotlin-kotlin-stdlib.mjs +692 -670
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2213 -2232
- package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
- package/kotlinx-io-kotlinx-io-core.mjs +541 -355
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1935 -1939
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1913 -1910
- package/kryptom-lib.mjs +990 -990
- package/ktor-ktor-client-content-negotiation.mjs +756 -0
- package/ktor-ktor-client-core.mjs +8847 -0
- package/ktor-ktor-client-websockets.mjs +2 -0
- package/ktor-ktor-events.mjs +79 -0
- package/ktor-ktor-http-cio.mjs +2236 -0
- package/ktor-ktor-http.mjs +697 -659
- package/ktor-ktor-io.mjs +805 -790
- package/ktor-ktor-serialization-kotlinx-json.mjs +44 -0
- package/ktor-ktor-serialization-kotlinx.mjs +857 -0
- package/ktor-ktor-serialization.mjs +371 -0
- package/ktor-ktor-sse.mjs +2 -0
- package/ktor-ktor-utils.mjs +539 -502
- package/ktor-ktor-websocket-serialization.mjs +2 -0
- package/ktor-ktor-websockets.mjs +2334 -0
- package/model/Agenda.d.mts +1 -0
- package/model/Agenda.mjs +3 -0
- package/model/CalendarItem.d.mts +13 -0
- package/model/CalendarItem.mjs +20 -0
- package/model/HealthcareParty.d.mts +1 -0
- package/model/HealthcareParty.mjs +3 -0
- package/model/embed/Measure.d.mts +2 -0
- package/model/embed/Measure.mjs +3 -0
- package/model/embed/ValueWithPrecision.d.mts +5 -0
- package/model/embed/ValueWithPrecision.mjs +7 -0
- package/model/embed/form/template/Field.d.mts +1 -1
- package/model/filter/predicate/Predicate.d.mts +1 -1
- package/model.d.mts +1 -1
- package/model.mjs +1 -1
- package/package.json +1 -1
package/Kermit-kermit-core.mjs
CHANGED
|
@@ -36,7 +36,7 @@ function formatMessage(severity, tag, message) {
|
|
|
36
36
|
return _Message___get_message__impl__3t69n4(message);
|
|
37
37
|
var sb = StringBuilder_init_$Create$();
|
|
38
38
|
if (!(severity == null)) {
|
|
39
|
-
sb.r8(this.
|
|
39
|
+
sb.r8(this.f7i(severity)).r8(' ');
|
|
40
40
|
}
|
|
41
41
|
var tmp_1;
|
|
42
42
|
var tmp_2 = tag;
|
|
@@ -48,7 +48,7 @@ function formatMessage(severity, tag, message) {
|
|
|
48
48
|
tmp_1 = false;
|
|
49
49
|
}
|
|
50
50
|
if (tmp_1) {
|
|
51
|
-
sb.r8(this.
|
|
51
|
+
sb.r8(this.g7i(tag)).r8(' ');
|
|
52
52
|
}
|
|
53
53
|
sb.r8(_Message___get_message__impl__3t69n4(message));
|
|
54
54
|
return sb.toString();
|
|
@@ -67,18 +67,18 @@ function get_DEFAULT_MIN_SEVERITY() {
|
|
|
67
67
|
}
|
|
68
68
|
var DEFAULT_MIN_SEVERITY;
|
|
69
69
|
function BaseLogger(config) {
|
|
70
|
-
this.
|
|
70
|
+
this.a7i_1 = config;
|
|
71
71
|
}
|
|
72
|
-
protoOf(BaseLogger).
|
|
73
|
-
return this.
|
|
72
|
+
protoOf(BaseLogger).w3q = function () {
|
|
73
|
+
return this.a7i_1;
|
|
74
74
|
};
|
|
75
|
-
protoOf(BaseLogger).
|
|
75
|
+
protoOf(BaseLogger).b7i = function (severity, tag, throwable, message) {
|
|
76
76
|
// Inline function 'kotlin.collections.forEach' call
|
|
77
|
-
var _iterator__ex2g4s = this.
|
|
77
|
+
var _iterator__ex2g4s = this.w3q().c7i().q();
|
|
78
78
|
while (_iterator__ex2g4s.r()) {
|
|
79
79
|
var element = _iterator__ex2g4s.s();
|
|
80
|
-
if (element.
|
|
81
|
-
element.
|
|
80
|
+
if (element.e7i(tag, severity)) {
|
|
81
|
+
element.d7i(severity, message, tag, throwable);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
};
|
|
@@ -91,7 +91,7 @@ function _init_properties_BaseLogger_kt__lobnq7() {
|
|
|
91
91
|
}
|
|
92
92
|
function LogWriter() {
|
|
93
93
|
}
|
|
94
|
-
protoOf(LogWriter).
|
|
94
|
+
protoOf(LogWriter).e7i = function (tag, severity) {
|
|
95
95
|
return true;
|
|
96
96
|
};
|
|
97
97
|
function MessageStringFormatter() {
|
|
@@ -117,21 +117,21 @@ function Tag__hashCode_impl_848yrc($this) {
|
|
|
117
117
|
function Tag__equals_impl_6ocp5g($this, other) {
|
|
118
118
|
if (!(other instanceof Tag))
|
|
119
119
|
return false;
|
|
120
|
-
if (!($this === (other instanceof Tag ? other.
|
|
120
|
+
if (!($this === (other instanceof Tag ? other.i7i_1 : THROW_CCE())))
|
|
121
121
|
return false;
|
|
122
122
|
return true;
|
|
123
123
|
}
|
|
124
124
|
function Tag(tag) {
|
|
125
|
-
this.
|
|
125
|
+
this.i7i_1 = tag;
|
|
126
126
|
}
|
|
127
127
|
protoOf(Tag).toString = function () {
|
|
128
|
-
return Tag__toString_impl_tvevk7(this.
|
|
128
|
+
return Tag__toString_impl_tvevk7(this.i7i_1);
|
|
129
129
|
};
|
|
130
130
|
protoOf(Tag).hashCode = function () {
|
|
131
|
-
return Tag__hashCode_impl_848yrc(this.
|
|
131
|
+
return Tag__hashCode_impl_848yrc(this.i7i_1);
|
|
132
132
|
};
|
|
133
133
|
protoOf(Tag).equals = function (other) {
|
|
134
|
-
return Tag__equals_impl_6ocp5g(this.
|
|
134
|
+
return Tag__equals_impl_6ocp5g(this.i7i_1, other);
|
|
135
135
|
};
|
|
136
136
|
function _Message___init__impl__p3e8y6(message) {
|
|
137
137
|
return message;
|
|
@@ -182,11 +182,11 @@ function ConsoleWriter_init_$Create$(messageStringFormatter) {
|
|
|
182
182
|
}
|
|
183
183
|
function ConsoleWriter(messageStringFormatter, console) {
|
|
184
184
|
LogWriter.call(this);
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
185
|
+
this.j7i_1 = messageStringFormatter;
|
|
186
|
+
this.k7i_1 = console;
|
|
187
187
|
}
|
|
188
|
-
protoOf(ConsoleWriter).
|
|
189
|
-
var output = this.
|
|
188
|
+
protoOf(ConsoleWriter).d7i = function (severity, message, tag, throwable) {
|
|
189
|
+
var output = this.j7i_1.h7i(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
|
|
190
190
|
if (throwable == null)
|
|
191
191
|
null;
|
|
192
192
|
else {
|
|
@@ -196,29 +196,29 @@ protoOf(ConsoleWriter).e7i = function (severity, message, tag, throwable) {
|
|
|
196
196
|
switch (severity.w2_1) {
|
|
197
197
|
case 5:
|
|
198
198
|
case 4:
|
|
199
|
-
this.
|
|
199
|
+
this.k7i_1.l7i(output);
|
|
200
200
|
break;
|
|
201
201
|
case 3:
|
|
202
|
-
this.
|
|
202
|
+
this.k7i_1.m2t(output);
|
|
203
203
|
break;
|
|
204
204
|
case 2:
|
|
205
|
-
this.
|
|
205
|
+
this.k7i_1.m7i(output);
|
|
206
206
|
break;
|
|
207
207
|
case 1:
|
|
208
208
|
case 0:
|
|
209
|
-
this.
|
|
209
|
+
this.k7i_1.n7i(output);
|
|
210
210
|
break;
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
function JsMutableLoggerConfig(logWriters) {
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
214
|
+
this.o7i_1 = get_DEFAULT_MIN_SEVERITY();
|
|
215
|
+
this.p7i_1 = logWriters;
|
|
216
216
|
}
|
|
217
|
-
protoOf(JsMutableLoggerConfig).
|
|
218
|
-
return this.
|
|
217
|
+
protoOf(JsMutableLoggerConfig).q7i = function () {
|
|
218
|
+
return this.o7i_1;
|
|
219
219
|
};
|
|
220
|
-
protoOf(JsMutableLoggerConfig).
|
|
221
|
-
return this.
|
|
220
|
+
protoOf(JsMutableLoggerConfig).c7i = function () {
|
|
221
|
+
return this.p7i_1;
|
|
222
222
|
};
|
|
223
223
|
function mutableLoggerConfigInit(logWriters) {
|
|
224
224
|
return new JsMutableLoggerConfig(logWriters);
|
|
@@ -229,16 +229,16 @@ function platformLogWriter(messageStringFormatter) {
|
|
|
229
229
|
}
|
|
230
230
|
function ConsoleActual() {
|
|
231
231
|
}
|
|
232
|
-
protoOf(ConsoleActual).
|
|
232
|
+
protoOf(ConsoleActual).l7i = function (output) {
|
|
233
233
|
console.error(output);
|
|
234
234
|
};
|
|
235
|
-
protoOf(ConsoleActual).
|
|
235
|
+
protoOf(ConsoleActual).m2t = function (output) {
|
|
236
236
|
console.warn(output);
|
|
237
237
|
};
|
|
238
|
-
protoOf(ConsoleActual).
|
|
238
|
+
protoOf(ConsoleActual).m7i = function (output) {
|
|
239
239
|
console.info(output);
|
|
240
240
|
};
|
|
241
|
-
protoOf(ConsoleActual).
|
|
241
|
+
protoOf(ConsoleActual).n7i = function (output) {
|
|
242
242
|
console.log(output);
|
|
243
243
|
};
|
|
244
244
|
var ConsoleActual_instance;
|
|
@@ -246,9 +246,9 @@ function ConsoleActual_getInstance() {
|
|
|
246
246
|
return ConsoleActual_instance;
|
|
247
247
|
}
|
|
248
248
|
//region block: post-declaration
|
|
249
|
-
protoOf(DefaultFormatter).
|
|
250
|
-
protoOf(DefaultFormatter).
|
|
251
|
-
protoOf(DefaultFormatter).
|
|
249
|
+
protoOf(DefaultFormatter).f7i = formatSeverity;
|
|
250
|
+
protoOf(DefaultFormatter).g7i = formatTag;
|
|
251
|
+
protoOf(DefaultFormatter).h7i = formatMessage;
|
|
252
252
|
//endregion
|
|
253
253
|
//region block: init
|
|
254
254
|
DefaultFormatter_instance = new DefaultFormatter();
|
package/Kermit-kermit.mjs
CHANGED
|
@@ -20,7 +20,7 @@ function Companion() {
|
|
|
20
20
|
Companion_instance = this;
|
|
21
21
|
Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
|
|
22
22
|
}
|
|
23
|
-
protoOf(Companion).
|
|
23
|
+
protoOf(Companion).t7i = function () {
|
|
24
24
|
return get_defaultTag();
|
|
25
25
|
};
|
|
26
26
|
var Companion_instance;
|
|
@@ -33,13 +33,13 @@ function Logger(config, tag) {
|
|
|
33
33
|
Companion_getInstance();
|
|
34
34
|
tag = tag === VOID ? '' : tag;
|
|
35
35
|
BaseLogger.call(this, config);
|
|
36
|
-
this.
|
|
36
|
+
this.v7i_1 = tag;
|
|
37
37
|
}
|
|
38
|
-
protoOf(Logger).
|
|
39
|
-
return this.
|
|
38
|
+
protoOf(Logger).t7i = function () {
|
|
39
|
+
return this.v7i_1;
|
|
40
40
|
};
|
|
41
|
-
protoOf(Logger).
|
|
42
|
-
return new Logger(this.
|
|
41
|
+
protoOf(Logger).w7i = function (tag) {
|
|
42
|
+
return new Logger(this.w3q(), tag);
|
|
43
43
|
};
|
|
44
44
|
function get_defaultTag() {
|
|
45
45
|
return defaultTag;
|