@icure/cardinal-sdk 2.0.0-PREVIEW-7 → 2.0.0-PREVIEW-8
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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/api/FormApi.d.mts +0 -1
- package/api/FormBasicApi.d.mts +0 -1
- package/cardinal-sdk-ts.mjs +29523 -29673
- package/cardinal-sdk.mjs +68149 -68308
- package/kotlin-kotlin-stdlib.mjs +5 -5
- package/kotlinx-coroutines-core.mjs +7 -7
- package/model/embed/EmbeddedTimeTableItem.d.mts +1 -0
- package/model/embed/EmbeddedTimeTableItem.mjs +3 -0
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,11 +37,6 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
37
37
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
if (typeof Math.log10 === 'undefined') {
|
|
41
|
-
Math.log10 = function (x) {
|
|
42
|
-
return Math.log(x) * Math.LOG10E;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
40
|
if (typeof Math.clz32 === 'undefined') {
|
|
46
41
|
Math.clz32 = function (log, LN2) {
|
|
47
42
|
return function (x) {
|
|
@@ -53,6 +48,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
53
48
|
};
|
|
54
49
|
}(Math.log, Math.LN2);
|
|
55
50
|
}
|
|
51
|
+
if (typeof Math.log10 === 'undefined') {
|
|
52
|
+
Math.log10 = function (x) {
|
|
53
|
+
return Math.log(x) * Math.LOG10E;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
56
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
57
57
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
58
58
|
var subjectString = this.toString();
|
|
@@ -222,11 +222,6 @@ initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, V
|
|
|
222
222
|
initMetadataForCoroutine($sendCOROUTINE$4, CoroutineImpl);
|
|
223
223
|
initMetadataForCoroutine($receiveCOROUTINE$5, CoroutineImpl);
|
|
224
224
|
initMetadataForCoroutine($receiveCatchingCOROUTINE$6, CoroutineImpl);
|
|
225
|
-
function close$default(cause, $super) {
|
|
226
|
-
cause = cause === VOID ? null : cause;
|
|
227
|
-
return $super === VOID ? this.o1a(cause) : $super.o1a.call(this, cause);
|
|
228
|
-
}
|
|
229
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
230
225
|
function cancel$default_0(cause, $super) {
|
|
231
226
|
cause = cause === VOID ? null : cause;
|
|
232
227
|
var tmp;
|
|
@@ -239,7 +234,12 @@ function cancel$default_0(cause, $super) {
|
|
|
239
234
|
return tmp;
|
|
240
235
|
}
|
|
241
236
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
242
|
-
|
|
237
|
+
function close$default(cause, $super) {
|
|
238
|
+
cause = cause === VOID ? null : cause;
|
|
239
|
+
return $super === VOID ? this.o1a(cause) : $super.o1a.call(this, cause);
|
|
240
|
+
}
|
|
241
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
242
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
243
243
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
244
244
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
245
245
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -249,7 +249,7 @@ initMetadataForCompanion(Companion);
|
|
|
249
249
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
250
250
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
251
251
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
252
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine,
|
|
252
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, ReceiveChannel, SendChannel], [1, 0]);
|
|
253
253
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
254
254
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
255
255
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EmbeddedTimeTableHour } from './EmbeddedTimeTableHour.mjs';
|
|
2
2
|
export declare class EmbeddedTimeTableItem {
|
|
3
3
|
rrule: string;
|
|
4
|
+
rruleStartDate: number | undefined;
|
|
4
5
|
notBeforeInMinutes: number | undefined;
|
|
5
6
|
notAfterInMinutes: number | undefined;
|
|
6
7
|
hours: Array<EmbeddedTimeTableHour>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
export class EmbeddedTimeTableItem {
|
|
2
2
|
constructor(partial) {
|
|
3
|
+
this.rruleStartDate = undefined;
|
|
3
4
|
this.notBeforeInMinutes = undefined;
|
|
4
5
|
this.notAfterInMinutes = undefined;
|
|
5
6
|
this.availabilities = 1;
|
|
6
7
|
this.reservingRights = [];
|
|
7
8
|
this.public = false;
|
|
8
9
|
this.rrule = partial.rrule;
|
|
10
|
+
if ('rruleStartDate' in partial)
|
|
11
|
+
this.rruleStartDate = partial.rruleStartDate;
|
|
9
12
|
if ('notBeforeInMinutes' in partial)
|
|
10
13
|
this.notBeforeInMinutes = partial.notBeforeInMinutes;
|
|
11
14
|
if ('notAfterInMinutes' in partial)
|