@guardian/feast-multiplatform-library 3.0.1 → 5.0.0
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/feast-multiplatform-library-library.d.ts +94 -0
- package/kotlin/feast-multiplatform-library-library.js +1767 -2596
- package/kotlin/feast-multiplatform-library-library.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +1911 -1510
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1777 -1777
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1637 -1595
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,99 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
2
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
+
export declare namespace kotlin.collections {
|
|
4
|
+
interface KtList<E> /* extends kotlin.collections.Collection<E> */ {
|
|
5
|
+
asJsReadonlyArrayView(): ReadonlyArray<E>;
|
|
6
|
+
readonly __doNotUseOrImplementIt: {
|
|
7
|
+
readonly "kotlin.collections.KtList": unique symbol;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
abstract class KtList<E> extends KtSingleton<KtList.$metadata$.constructor>() {
|
|
11
|
+
private constructor();
|
|
12
|
+
}
|
|
13
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
14
|
+
namespace KtList.$metadata$ {
|
|
15
|
+
abstract class constructor {
|
|
16
|
+
fromJsArray<E>(array: ReadonlyArray<E>): kotlin.collections.KtList<E>;
|
|
17
|
+
private constructor();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare namespace com.gu.recipe.template {
|
|
22
|
+
interface TemplateElement {
|
|
23
|
+
readonly __doNotUseOrImplementIt: {
|
|
24
|
+
readonly "com.gu.recipe.template.TemplateElement": unique symbol;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
class TemplateConst implements com.gu.recipe.template.TemplateElement {
|
|
28
|
+
constructor(value: string);
|
|
29
|
+
get value(): string;
|
|
30
|
+
copy(value?: string): com.gu.recipe.template.TemplateConst;
|
|
31
|
+
toString(): string;
|
|
32
|
+
hashCode(): number;
|
|
33
|
+
equals(other: Nullable<any>): boolean;
|
|
34
|
+
readonly __doNotUseOrImplementIt: com.gu.recipe.template.TemplateElement["__doNotUseOrImplementIt"];
|
|
35
|
+
}
|
|
36
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
37
|
+
namespace TemplateConst.$metadata$ {
|
|
38
|
+
const constructor: abstract new () => TemplateConst;
|
|
39
|
+
}
|
|
40
|
+
class QuantityPlaceholder implements com.gu.recipe.template.TemplateElement {
|
|
41
|
+
constructor(min: number, max?: Nullable<number>, unit?: Nullable<string>, scale?: boolean);
|
|
42
|
+
get min(): number;
|
|
43
|
+
get max(): Nullable<number>;
|
|
44
|
+
get unit(): Nullable<string>;
|
|
45
|
+
get scale(): boolean;
|
|
46
|
+
copy(min?: number, max?: Nullable<number>, unit?: Nullable<string>, scale?: boolean): com.gu.recipe.template.QuantityPlaceholder;
|
|
47
|
+
toString(): string;
|
|
48
|
+
hashCode(): number;
|
|
49
|
+
equals(other: Nullable<any>): boolean;
|
|
50
|
+
readonly __doNotUseOrImplementIt: com.gu.recipe.template.TemplateElement["__doNotUseOrImplementIt"];
|
|
51
|
+
}
|
|
52
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
53
|
+
namespace QuantityPlaceholder.$metadata$ {
|
|
54
|
+
const constructor: abstract new () => QuantityPlaceholder;
|
|
55
|
+
}
|
|
56
|
+
namespace QuantityPlaceholder {
|
|
57
|
+
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
58
|
+
private constructor();
|
|
59
|
+
}
|
|
60
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
61
|
+
namespace Companion.$metadata$ {
|
|
62
|
+
abstract class constructor {
|
|
63
|
+
private constructor();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
class OvenTemperaturePlaceholder implements com.gu.recipe.template.TemplateElement {
|
|
68
|
+
constructor(temperatureC?: Nullable<number>, temperatureFanC?: Nullable<number>, temperatureF?: Nullable<number>, gasMark?: Nullable<number>);
|
|
69
|
+
get temperatureC(): Nullable<number>;
|
|
70
|
+
get temperatureFanC(): Nullable<number>;
|
|
71
|
+
get temperatureF(): Nullable<number>;
|
|
72
|
+
get gasMark(): Nullable<number>;
|
|
73
|
+
copy(temperatureC?: Nullable<number>, temperatureFanC?: Nullable<number>, temperatureF?: Nullable<number>, gasMark?: Nullable<number>): com.gu.recipe.template.OvenTemperaturePlaceholder;
|
|
74
|
+
toString(): string;
|
|
75
|
+
hashCode(): number;
|
|
76
|
+
equals(other: Nullable<any>): boolean;
|
|
77
|
+
readonly __doNotUseOrImplementIt: com.gu.recipe.template.TemplateElement["__doNotUseOrImplementIt"];
|
|
78
|
+
}
|
|
79
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
80
|
+
namespace OvenTemperaturePlaceholder.$metadata$ {
|
|
81
|
+
const constructor: abstract new () => OvenTemperaturePlaceholder;
|
|
82
|
+
}
|
|
83
|
+
namespace OvenTemperaturePlaceholder {
|
|
84
|
+
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
85
|
+
private constructor();
|
|
86
|
+
}
|
|
87
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
88
|
+
namespace Companion.$metadata$ {
|
|
89
|
+
abstract class constructor {
|
|
90
|
+
private constructor();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
3
95
|
export declare namespace com.gu.recipe.js {
|
|
4
96
|
function scaleRecipe(recipe: string, factor: number, unit: string): string;
|
|
97
|
+
function parseTemplate(templateString: string): kotlin.collections.KtList<com.gu.recipe.template.TemplateElement>;
|
|
98
|
+
function renderTemplate(templateElements: kotlin.collections.KtList<com.gu.recipe.template.TemplateElement>): string;
|
|
5
99
|
}
|